/* =============================================
   BEADORA — Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ─── Design tokens ─── */
:root {
  --cream: #FAF7F2;
  --cream-dark: #F0E8DC;
  --cream-mid: #EDE3D5;
  --brown: #2C1A10;
  --brown-mid: #5A3D2B;
  --brown-light: #8B6650;
  --rust: #B86040;
  --rust-dark: #9A4D30;
  --rust-pale: #F5DDD6;
  --rust-light: #E8B5A5;
  --gold: #C8983C;
  --gold-pale: #F7EDDA;
  --border: #D9CAB8;
  --border-light: #EDE3D5;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(44,26,16,.06);
  --shadow-md: 0 4px 16px rgba(44,26,16,.10);
  --shadow-lg: 0 8px 32px rgba(44,26,16,.12);
  --radius: 10px;
  --radius-lg: 18px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --container: 1080px;
  --section-py: 80px;
}

/* ─── Reset & base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--brown);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--brown);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; }

p { color: var(--brown-mid); line-height: 1.75; }

.section-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: .75rem;
}

/* ─── Container ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--rust);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--rust-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184,96,64,.25);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--rust);
  border: 1.5px solid var(--rust);
}

.btn-outline:hover {
  background: var(--rust-pale);
}

.btn-lg {
  padding: 17px 40px;
  font-size: 1.05rem;
  border-radius: 10px;
}

/* ─── Cookie banner ─── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 680px;
  background: var(--brown);
  color: rgba(255,255,255,.9);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: opacity .3s, transform .3s;
}

.cookie-banner.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}

.cookie-banner p {
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  flex: 1;
}

.cookie-banner a { color: var(--rust-light); text-decoration: underline; }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-accept {
  background: var(--rust);
  color: var(--white);
  border: none;
  border-radius: 7px;
  padding: 9px 18px;
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}

.cookie-accept:hover { background: var(--rust-dark); }

.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 7px;
  padding: 9px 16px;
  font-size: .875rem;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.cookie-decline:hover { background: rgba(255,255,255,.08); }

/* ─── Header ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow .2s;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: -.01em;
}

.logo span { color: var(--rust); }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: .9rem;
  font-weight: 400;
  color: var(--brown-mid);
  transition: color .2s;
}

.nav-link:hover { color: var(--rust); }

.nav-cta {
  padding: 10px 22px;
  font-size: .875rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: all .25s;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 24px;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-md);
}

.mobile-menu.open { display: flex; }

.mobile-menu .nav-link {
  font-size: 1rem;
  padding: 4px 0;
}

/* ─── Hero ─── */
.hero {
  padding: 72px 0 80px;
  background: var(--cream);
  overflow: hidden;
}

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

.hero-content { max-width: 520px; }

.hero-tag {
  display: inline-block;
  background: var(--rust-pale);
  color: var(--rust-dark);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--rust);
}

.hero-sub {
  font-size: 1.05rem;
  margin-bottom: 36px;
  color: var(--brown-mid);
  max-width: 460px;
}

.hero-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.hero-form-label {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--brown);
}

.hero-form-sub {
  font-size: .85rem;
  color: var(--brown-light);
  margin-bottom: 20px;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrap img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.hero-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-icon {
  width: 36px;
  height: 36px;
  background: var(--rust-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.badge-text strong {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--brown);
}

.badge-text span {
  font-size: .75rem;
  color: var(--brown-light);
}

/* ─── Form ─── */
.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--brown-mid);
  margin-bottom: 5px;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  color: var(--brown);
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(184,96,64,.1);
}

.form-input.error {
  border-color: #d03030;
}

.form-error {
  font-size: .78rem;
  color: #c42828;
  margin-top: 4px;
  display: none;
}

.form-error.visible { display: block; }

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 18px;
  margin-top: 4px;
}

.form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--rust);
  cursor: pointer;
}

.form-consent label {
  font-size: .8rem;
  color: var(--brown-light);
  cursor: pointer;
  line-height: 1.5;
}

.form-consent a {
  color: var(--rust);
  text-decoration: underline;
}

.form-submit { width: 100%; }

/* ─── Problems ─── */
.problems {
  padding: var(--section-py) 0;
  background: var(--cream-dark);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-header .section-label { text-align: center; }

.section-header p {
  margin-top: 12px;
  font-size: 1.05rem;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: box-shadow .2s;
}

.problem-card:hover { box-shadow: var(--shadow-md); }

.problem-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--rust-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.problem-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.problem-card p {
  font-size: .88rem;
  color: var(--brown-light);
}

/* ─── Benefits ─── */
.benefits {
  padding: var(--section-py) 0;
  background: var(--cream);
}

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

.benefits-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.benefits-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.benefit-item p {
  font-size: .875rem;
  color: var(--brown-light);
}

/* ─── Curriculum ─── */
.curriculum {
  padding: var(--section-py) 0;
  background: var(--cream-dark);
}

.curriculum-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.module-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow .2s;
}

.module-item.open { box-shadow: var(--shadow-md); }

.module-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  transition: background .15s;
}

.module-header:hover { background: var(--cream); }

.module-num {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rust);
  min-width: 28px;
}

.module-title {
  font-weight: 600;
  font-size: 1rem;
  flex: 1;
  color: var(--brown);
}

.module-arrow {
  font-size: .75rem;
  color: var(--brown-light);
  transition: transform .25s;
  flex-shrink: 0;
}

.module-item.open .module-arrow {
  transform: rotate(180deg);
}

.module-body {
  display: none;
  padding: 0 24px 20px 68px;
  font-size: .9rem;
  color: var(--brown-mid);
}

.module-body.open { display: block; }

.module-body ul {
  list-style: disc;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* ─── Audience ─── */
.audience {
  padding: var(--section-py) 0;
  background: var(--cream);
}

.audience-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.audience-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}

.audience-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.audience-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.audience-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.audience-card p {
  font-size: .875rem;
  color: var(--brown-light);
}

/* ─── Process ─── */
.process {
  padding: var(--section-py) 0;
  background: var(--brown);
}

.process .section-label { color: var(--rust-light); }
.process .section-header h2 { color: var(--white); }
.process .section-header p { color: rgba(255,255,255,.65); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 1px;
  background: rgba(255,255,255,.15);
}

.step-item {
  text-align: center;
  padding: 0 8px;
}

.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--rust-light);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step-item h3 {
  font-size: .975rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.step-item p {
  font-size: .84rem;
  color: rgba(255,255,255,.6);
}

/* ─── Portfolio strip ─── */
.portfolio {
  padding: var(--section-py) 0;
  background: var(--cream-dark);
}

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

.portfolio-text .section-label { text-align: left; }

.portfolio-text h2 { margin-bottom: 16px; }

.portfolio-text p {
  font-size: 1rem;
  margin-bottom: 28px;
}

.portfolio-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.portfolio-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ─── FAQ ─── */
.faq {
  padding: var(--section-py) 0;
  background: var(--cream);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 500;
  font-size: .975rem;
  color: var(--brown);
  transition: background .15s;
  user-select: none;
}

.faq-question:hover { background: var(--cream); }

.faq-chevron {
  font-size: .7rem;
  color: var(--brown-light);
  transition: transform .25s;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: .9rem;
  color: var(--brown-mid);
  line-height: 1.75;
}

.faq-item.open .faq-answer { display: block; }

/* ─── Lead form section ─── */
.lead-section {
  padding: var(--section-py) 0;
  background: var(--cream-dark);
}

.lead-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.lead-inner h2 { margin-bottom: 12px; }
.lead-inner > p {
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.lead-form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  text-align: left;
}

/* ─── Footer ─── */
.footer {
  background: var(--brown);
  padding: 56px 0 32px;
}

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

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand .logo span { color: var(--rust-light); }

.footer-brand p {
  color: rgba(255,255,255,.55);
  font-size: .875rem;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  transition: color .2s;
}

.footer-col ul li a:hover { color: var(--rust-light); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  line-height: 1.7;
  max-width: 560px;
}

.footer-legal a {
  color: rgba(255,255,255,.5);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-copy {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  white-space: nowrap;
}

/* ─── Legal pages ─── */
.legal-page {
  min-height: 80vh;
  padding: 64px 0 80px;
}

.legal-page h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}

.legal-page .legal-meta {
  font-size: .85rem;
  color: var(--brown-light);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 14px;
  font-size: .95rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.legal-content ul li {
  font-size: .95rem;
  color: var(--brown-mid);
}

/* ─── Success page ─── */
.success-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.success-card {
  max-width: 500px;
  width: 100%;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  box-shadow: var(--shadow-lg);
}

.success-icon {
  width: 72px;
  height: 72px;
  background: var(--rust-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
}

.success-card h1 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.success-card p {
  color: var(--brown-mid);
  margin-bottom: 32px;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  :root { --section-py: 60px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content { max-width: 100%; }

  .hero-image-wrap img { height: 320px; }

  .benefits-inner,
  .portfolio-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .benefits-image img,
  .portfolio-image img { height: 280px; }

  .problems-grid { grid-template-columns: 1fr; }

  .audience-cards { grid-template-columns: 1fr 1fr; }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .process-steps::before { display: none; }

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

  .footer-brand { grid-column: 1 / -1; }

  nav.nav { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  :root { --section-py: 48px; }

  .audience-cards { grid-template-columns: 1fr; }

  .process-steps { grid-template-columns: 1fr; }

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

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

  .hero-form-wrap { padding: 22px 20px; }

  .success-card { padding: 36px 24px; }

  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    width: calc(100% - 32px);
    bottom: 16px;
  }

  .cookie-actions { width: 100%; }

  .cookie-accept,
  .cookie-decline { flex: 1; text-align: center; }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}
