/* ============================================================
   HOMEWEARSEW — styles.css
   Palette: warm cream, sage, deep brown, dusty rose accent
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #f7f3ee;
  --cream-dark: #ede7de;
  --sage: #7d9e88;
  --sage-dark: #5f7d6a;
  --brown: #2e1f14;
  --brown-mid: #5c3e2e;
  --accent: #c27a5b;
  --accent-light: #f0e0d6;
  --text: #2e1f14;
  --text-muted: #7a6555;
  --border: #ddd4c8;

  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --radius: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 2px 8px rgba(46,31,20,0.07);
  --shadow-md: 0 6px 24px rgba(46,31,20,0.10);
  --transition: 0.22s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-dark, #a0634a); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 80px 0; }
.bg-warm { background: var(--cream-dark); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: normal;
  color: var(--brown);
  margin-bottom: 16px;
  line-height: 1.25;
}
.section-title.center { text-align: center; }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.section-sub.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  letter-spacing: 0.01em;
  text-align: center;
}
.btn-primary:hover {
  background: #a8613f;
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-ghost:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; display: block; text-align: center; }


/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brown);
  color: #f0ebe5;
  z-index: 1000;
  padding: 16px 0;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.cookie-banner.visible { transform: translateY(0); }

.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-inner p { font-size: 0.9rem; flex: 1; min-width: 200px; }
.cookie-inner a { color: #e8c4a8; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 238, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--brown);
  font-weight: normal;
  letter-spacing: 0.02em;
}
.logo:hover { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta { color: #fff; }
.nav-links .nav-cta:hover { color: #fff; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
}
.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
}
.mobile-nav a.btn-primary {
  margin-top: 12px;
  border-bottom: none;
  text-align: center;
}
.mobile-nav.open { display: flex; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(46,31,20,0.72) 0%, rgba(46,31,20,0.38) 60%, rgba(46,31,20,0.12) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero-text {
  max-width: 560px;
  color: #fff;
}

.hero-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8c4a8;
  margin-bottom: 16px;
  font-weight: 600;
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: normal;
  line-height: 1.18;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 480px;
}

/* ---- FOR WHOM ---- */
.whom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.whom-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.whom-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.whom-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.whom-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: normal;
  color: var(--brown);
  margin-bottom: 10px;
}

.whom-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- RESULTS ---- */
.results-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.results-text .section-title { margin-bottom: 12px; }

.results-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}
.results-list li {
  padding: 10px 0 10px 24px;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 0.97rem;
  color: var(--text-muted);
}
.results-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--sage);
  border-radius: 50%;
}

.results-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}

/* ---- PROGRAM / MODULES ---- */
.modules {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
}

.module {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.module:last-child { border-bottom: none; }

.module-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent-light, #f0e0d6);
  font-weight: normal;
  min-width: 52px;
  line-height: 1;
  padding-top: 4px;
  -webkit-text-stroke: 1.5px var(--accent);
  color: transparent;
}

.module-body h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: normal;
  color: var(--brown);
  margin-bottom: 8px;
}
.module-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- FORMAT ---- */
.format-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.format-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
}

.format-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}

.format-card h3 {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: normal;
  color: var(--brown);
  margin-bottom: 8px;
}

.format-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.format-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 380px;
}
.format-image-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center top;
}

/* ---- PROCESS ---- */
.process-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.process-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}

.process-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: normal;
  color: var(--brown);
  margin-bottom: 20px;
}

.process-text p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.process-text .btn-outline { margin-top: 12px; }

/* ---- LEAD FORM ---- */
.lead-form-section {
  background: var(--brown);
}

.lead-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.lead-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: normal;
  color: #fff;
  margin-bottom: 16px;
}

.lead-text p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.lead-note {
  font-size: 0.85rem !important;
  color: rgba(255,255,255,0.45) !important;
  margin-top: 8px !important;
}

.lead-form {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a6555' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.form-check label {
  font-size: 0.85rem;
  font-weight: normal;
  color: var(--text-muted);
  cursor: pointer;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.4;
}

.faq-arrow {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform var(--transition);
}

.faq-q.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
  display: none;
  padding-bottom: 20px;
}
.faq-a.open { display: block; }

.faq-a p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--brown);
  color: rgba(255,255,255,0.7);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  color: #fff !important;
  display: block;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.footer-domain {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-links,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links h4,
.footer-legal h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 600;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }

.footer-legal p {
  font-size: 0.88rem;
}

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

/* ---- LEGAL PAGES ---- */
.legal-page {
  max-width: 760px;
  margin: 100px auto 80px;
  padding: 0 24px;
}

.legal-page h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: normal;
  color: var(--brown);
  margin-bottom: 8px;
}

.legal-page .legal-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: normal;
  color: var(--brown);
  margin: 32px 0 10px;
}

.legal-page p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-page ul {
  padding-left: 20px;
  margin-bottom: 14px;
}
.legal-page ul li {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* ---- SUCCESS PAGE ---- */
.success-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.success-inner {
  max-width: 520px;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--accent);
}

.success-inner h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: normal;
  color: var(--brown);
  margin-bottom: 16px;
}

.success-inner p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.success-inner .btn-outline { margin-top: 24px; }

/* ---- SIMPLE HEADER (legal/success pages) ---- */
.simple-header {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.simple-header .header-inner { height: 64px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .whom-grid { grid-template-columns: 1fr; gap: 16px; }
  .results-inner { grid-template-columns: 1fr; gap: 40px; }
  .results-image { order: -1; }
  .process-inner { grid-template-columns: 1fr; gap: 36px; }
  .lead-inner { grid-template-columns: 1fr; gap: 36px; }
  .format-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .section-pad { padding: 56px 0; }

  .nav-links { display: none; }
  .burger { display: flex; }

  .hero { min-height: 100svh; }
  .hero-text h1 { font-size: 1.8rem; }

  .modules .module { flex-direction: column; gap: 12px; }
  .module-num { font-size: 1.5rem; }

  .lead-form { padding: 24px 20px; }

  .footer-inner { grid-template-columns: 1fr; }

  .whom-grid { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-sub { font-size: 0.97rem; }
  .hero-eyebrow { font-size: 0.75rem; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
}
