/* Dulce Hogar Spanish Immersion — site styles
   Layout: warm "house" pages: cream ground, one green band per page, terracotta ring motif, pill buttons.
   Every colour comes from the Dulce Hogar brand kit (sampled from Rocio's logo). */
:root {
  --bosque: #424E30;      /* primary brand green (wordmark) */
  --hoja: #606C48;        /* leaf green */
  --salvia: #5A6648;      /* muted text */
  --terracota: #CC785A;   /* signature ring */
  --action: #B05A3C;      /* buttons, links */
  --action-hover: #974A30;
  --sol: #F0BA54;         /* sun */
  --sol-tint: #FBEBC7;
  --rosa: #E4967E;        /* hearts */
  --rosa-tint: #F8E1D8;
  --azul: #84A29C;        /* front door */
  --crema: #FDF9EE;       /* ground */
  --crema-200: #F4EBD6;
  --ink: #3F4A2E;
  --white: #FFFFFF;
  --placeholder-bg: #FFF3C4;
  --placeholder-fg: #6B4B00;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Segoe Print", "Comic Sans MS", cursive;

  --radius-sm: 8px; --radius-md: 16px; --radius-lg: 28px; --pill: 999px;
  --shadow: 0 6px 20px rgba(66, 78, 48, 0.10);
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--crema); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--action); text-underline-offset: 3px; }
a:hover { color: var(--action-hover); }
:focus-visible { outline: 3px solid var(--bosque); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.65; max-width: 60ch; }
.eyebrow { font-family: var(--font-body); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--salvia); }
.hand { font-family: var(--font-hand); font-weight: 500; font-size: 1.7rem; line-height: 1.1; color: var(--hoja); }
.muted { color: var(--salvia); }
.small { font-size: 0.9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Placeholders Rocio still needs to fill in: deliberately loud so none go live by accident */
.ph { background: var(--placeholder-bg); color: var(--placeholder-fg); border-radius: 4px; padding: 0 0.25em; font-style: normal; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tint { background: var(--crema-200); }
.section--green { background: var(--bosque); color: var(--crema); }
.section--green h2, .section--green h3 { color: var(--crema); }
.section--green .eyebrow { color: #C9D1B4; }
.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: 28px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: var(--pill); font-family: var(--font-body); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s ease, transform .15s ease; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--action); color: var(--white); }
.btn--primary:hover { background: var(--action-hover); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--terracota); }
.btn--ghost:hover { background: var(--rosa-tint); color: var(--ink); }
.btn--light { background: var(--crema); color: var(--bosque); }
.btn--light:hover { background: var(--sol-tint); color: var(--bosque); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Announcement bar */
.announce { background: var(--sol); color: var(--ink); font-weight: 700; font-size: 0.95rem; text-align: center; padding: 10px var(--gutter); }
.announce a { color: var(--ink); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--crema); border-bottom: 2px solid var(--terracota); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bosque); }
.brand img { width: 56px; height: 56px; border-radius: 50%; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1; display: block; }
.brand-sub { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--salvia); display: block; margin-top: 4px; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.nav a { display: block; padding: 8px 12px; border-radius: var(--pill); color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--crema-200); color: var(--bosque); }
.header-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: var(--pill); border: 2px solid var(--terracota); background: var(--crema); color: var(--ink); font: 700 0.95rem var(--font-body); cursor: pointer; }
.mobile-nav { border-top: 1px solid var(--crema-200); padding-block: 8px 20px; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: grid; }
.mobile-nav a { display: block; padding: 12px 4px; font-size: 1.1rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--crema-200); }
.mobile-nav .btn { margin-top: 16px; width: 100%; }
@media (min-width: 980px) {
  .nav, .header-cta { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* Sticky mobile CTA */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--crema); border-top: 2px solid var(--terracota); box-shadow: 0 -4px 16px rgba(66,78,48,.08); }
.mobile-cta .btn { flex: 1; min-height: 46px; padding-inline: 12px; }
body { padding-bottom: 76px; }
@media (min-width: 980px) { .mobile-cta { display: none; } body { padding-bottom: 0; } }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 88px); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy .micro { font-size: 0.92rem; color: var(--salvia); }
.hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; min-height: 300px; }
.hero-art .sun { position: absolute; left: 50%; bottom: 6%; width: min(82%, 380px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--sol); }
.hero-art .sun::before { content: ""; position: absolute; inset: -9%; border-radius: 50%; border: 3px dashed var(--sol); opacity: .7; }
.hero-art .ground { position: absolute; left: 0; right: 0; bottom: 0; height: 13%; background: var(--hoja); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.hero-art img { position: relative; width: min(46%, 220px); }
.hero-art img + img { margin-left: -6%; }
@media (min-width: 880px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }

/* Divider with heart (from the logo) */
.heart-rule { display: flex; align-items: center; gap: 14px; color: var(--rosa); max-width: 420px; }
.heart-rule::before, .heart-rule::after { content: ""; flex: 1; height: 2px; background: var(--terracota); }
.heart-rule svg { width: 18px; height: 18px; fill: var(--rosa); }
.center .heart-rule { margin-inline: auto; }

/* Cards & grids */
.grid { display: grid; gap: 20px; }
.grid-2 { display: grid; gap: 28px; }
@media (min-width: 720px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; } }
@media (min-width: 720px) and (max-width: 979px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border: 1.5px solid var(--crema-200); border-radius: var(--radius-md); padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.section--tint .card { border-color: transparent; }
.card .icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sol-tint); }
.card .icon svg { width: 28px; height: 28px; }
.card p { color: var(--ink); }
.card--ring { border: 2px solid var(--terracota); background: var(--crema); }

.pill { display: inline-block; padding: 4px 12px; border-radius: var(--pill); background: var(--sol-tint); color: var(--ink); font-size: 0.82rem; font-weight: 700; }

/* Problem/why list */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.checks li svg { width: 24px; height: 24px; margin-top: 3px; }

/* Steps (a real sequence, so numbered) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: var(--crema); border-radius: var(--radius-md); padding: 26px 24px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--sol); color: var(--ink); font: 600 1.3rem var(--font-display); display: grid; place-items: center; }
.section--green .steps li { color: var(--ink); }
.section--green .steps li h3 { color: var(--ink); }

/* Day rhythm */
.rhythm { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 3px solid var(--terracota); margin-left: 10px; }
.rhythm li { position: relative; padding: 0 0 22px 26px; }
.rhythm li::before { content: ""; position: absolute; left: -11px; top: 6px; width: 19px; height: 19px; border-radius: 50%; background: var(--crema); border: 3px solid var(--terracota); }
.rhythm li:last-child { padding-bottom: 0; }
.rhythm .es { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--bosque); }
.rhythm .en { font-size: 0.92rem; color: var(--salvia); }

/* Photo slots: honest placeholders until Rocio's own photos arrive */
.photo-slot { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius-lg); background: var(--crema-200); border: 2px dashed var(--terracota); display: grid; place-items: center; text-align: center; padding: 20px; color: var(--salvia); font-weight: 600; font-size: 0.95rem; }
.photo-slot svg { width: 44px; height: 44px; margin: 0 auto 8px; fill: var(--terracota); }
.photo-slot--portrait { aspect-ratio: 4 / 5; }

/* Founder */
.founder { display: grid; gap: 32px; align-items: center; }
@media (min-width: 820px) { .founder { grid-template-columns: 0.8fr 1.2fr; } }
.quote { font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.35; color: var(--bosque); }

/* Mascots */
.mascots { display: grid; gap: 20px; }
@media (min-width: 720px) { .mascots { grid-template-columns: 1fr 1fr; } }
.mascot { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; background: var(--white); border-radius: var(--radius-md); padding: 18px; }
.mascot img { width: 120px; }
.mascot .disc { border-radius: 50%; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--white); border-radius: var(--radius-md); border: 1.5px solid var(--crema-200); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--sol-tint); display: grid; place-items: center; font: 700 1.2rem/1 var(--font-body); color: var(--action); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 22px 20px; display: grid; gap: 10px; max-width: 68ch; }

/* Phrase table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); background: var(--white); }
table { border-collapse: collapse; width: 100%; min-width: 480px; }
th, td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--crema-200); vertical-align: top; }
th { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--salvia); background: var(--crema); }
td:first-child { font-family: var(--font-display); font-weight: 600; color: var(--bosque); }

/* Page heading band */
.page-head { padding-block: clamp(44px, 6vw, 72px) clamp(36px, 5vw, 56px); background: var(--crema-200); border-bottom: 2px solid var(--terracota); }
.page-head .wrap { display: grid; gap: 14px; }

/* Forms */
.form { display: grid; gap: 18px; background: var(--white); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); border: 2px solid var(--terracota); min-width: 0; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--salvia); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid #CDBFA0; border-radius: var(--radius-sm); background: var(--crema); color: var(--ink); font: 400 1rem var(--font-body); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--sol); outline-offset: 0; border-color: var(--bosque); background: var(--white); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid #CDBFA0; border-radius: var(--pill); background: var(--crema); font-weight: 600; cursor: pointer; }
.choices input { width: 18px; height: 18px; min-height: 0; accent-color: var(--action); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 600; padding: 12px 16px; border-radius: var(--radius-sm); }
.form-status[data-state="error"] { background: var(--rosa-tint); color: #7A2E18; }
.form-status[data-state="sending"] { background: var(--sol-tint); }
.aside-list { display: grid; gap: 14px; }

/* Contact block */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.contact-list svg { width: 22px; height: 22px; fill: var(--terracota); margin-top: 3px; }

/* CTA band */
.cta-band { background: var(--bosque); color: var(--crema); border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 64px); display: grid; gap: 22px; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--crema); max-width: 22ch; }
.cta-band p { max-width: 54ch; color: #E8E3D2; }
.cta-band .sun-dot { position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--sol); opacity: .9; }
.cta-band > *:not(.sun-dot) { position: relative; }

/* Footer */
.site-footer { background: var(--bosque); color: #E8E3D2; padding-block: 56px 32px; margin-top: 0; }
.site-footer a { color: var(--crema); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h3 { color: var(--crema); font-size: 1.1rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-brand { display: grid; gap: 12px; }
.footer-brand .hand { color: var(--sol); }
.footer-mascots { display: flex; gap: 10px; }
.footer-mascots img { width: 64px; height: 64px; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(253,249,238,.2); font-size: 0.85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
