/* Anita Care · landing page
   Paleta y tipografía heredadas del pitch (marzo 2026): verde profundo, durazno, crema, tierra.
   Fuentes alojadas localmente (OFL): Playfair Display + Outfit. */

@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/playfair.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/playfair-italic.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(fonts/outfit.woff2) format('woff2'); }

:root {
  --verde: #1B4332;
  --verde-m: #2D6A4F;
  --verde-l: #40916C;
  --verde-xl: #74C69D;
  --verde-xxl: #D8F3DC;
  --verde-tint: #EEF6F0;
  --durazno: #FF8C61;
  --durazno-l: #FFD4BA;
  --durazno-xl: #FFF1E8;
  --crema: #FDFAF6;
  --crema-d: #F4ECE1;
  --tierra: #3D2314;
  --tierra-m: #6B3F2A;
  --tierra-l: #B07355;
  --blanco: #FFFFFF;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px rgba(27, 67, 50, 0.08);
  --shadow-h: 0 14px 40px rgba(27, 67, 50, 0.14);
  --header-h: 64px;
}

/* ── i18n: show only the active language ── */
html[data-lang="es"] .i18n[lang="en"],
html[data-lang="en"] .i18n[lang="es"] { display: none !important; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.65; background: var(--crema); color: var(--tierra); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--verde-m); }
ul, ol { list-style: none; }
strong { font-weight: 600; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

:focus-visible { outline: 3px solid var(--durazno); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--verde); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(27, 67, 50, 0.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 2px 20px rgba(0,0,0,0.12); }
.nav { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.logo { text-decoration: none; color: #fff; display: inline-flex; align-items: center; white-space: nowrap; }
.logo-text { font-family: var(--serif); font-size: 22px; color: #fff; letter-spacing: -0.2px; }
.logo-text em { color: var(--durazno); font-style: italic; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { color: rgba(255,255,255,0.82); text-decoration: none; font-size: 14.5px; padding: 6px 10px; border-radius: 20px; transition: background .2s, color .2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.lang-switch { display: inline-flex; background: rgba(255,255,255,0.1); border-radius: 24px; padding: 3px; flex-shrink: 0; }
.lang-switch button { font: 600 13px var(--sans); letter-spacing: .5px; border: 0; background: transparent; color: rgba(255,255,255,0.8); padding: 6px 12px; border-radius: 20px; cursor: pointer; min-width: 44px; min-height: 32px; }
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--verde); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 16px var(--sans); text-decoration: none; padding: 15px 32px; border-radius: 50px; transition: transform .25s, box-shadow .25s; }
.btn-peach { background: var(--durazno); color: var(--tierra); box-shadow: 0 8px 28px rgba(255,140,97,0.35); }
.btn-peach:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(255,140,97,0.45); }

/* ── Hero ── */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; background: var(--verde); color: #fff; overflow: hidden; padding: 72px 0 88px; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(116,198,157,0.16) 0%, transparent 70%), radial-gradient(ellipse 45% 45% at 85% 85%, rgba(255,140,97,0.10) 0%, transparent 60%); pointer-events: none; }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 50px; padding: 7px 18px; font-size: 13px; color: var(--verde-xl); letter-spacing: 1px; text-transform: uppercase; font-weight: 500; margin-bottom: 28px; }
.dot { width: 7px; height: 7px; background: var(--durazno); border-radius: 50%; flex-shrink: 0; animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.8); } }
.hero-logo { font-family: var(--serif); font-size: clamp(52px, 10vw, 96px); line-height: 1; margin-bottom: 22px; }
.hero-logo em { color: var(--durazno); }
.hero h1 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(24px, 3.6vw, 36px); line-height: 1.3; max-width: 760px; margin-bottom: 14px; }
.hero-sub { font-size: clamp(15px, 2.2vw, 19px); color: rgba(255,255,255,0.75); font-weight: 300; max-width: 640px; margin-bottom: 36px; }
.hero-story { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 26px 30px; max-width: 580px; text-align: left; margin-bottom: 38px; }
.hero-story blockquote p { font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.92); margin-bottom: 10px; }
.hero-story figcaption { font-size: 14px; color: var(--verde-xl); font-weight: 500; }

/* ── Sections ── */
.section { padding: 96px 0; }
.eyebrow { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--verde-m); margin-bottom: 14px; }
.eyebrow.light { color: var(--verde-xl); }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.18; letter-spacing: -0.3px; color: var(--tierra); margin-bottom: 22px; max-width: 860px; }
h2 em { font-style: italic; font-weight: 400; color: var(--verde-m); }
h3 { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--tierra); }
.section-intro { font-size: 18px; color: var(--tierra-m); max-width: 760px; margin-bottom: 44px; font-weight: 300; }
.section-outro { font-size: 17px; color: var(--tierra-m); margin-top: 26px; font-style: italic; }
.fineprint { font-size: 14px; color: var(--tierra-m); margin-top: 22px; }

/* ── Story ── */
.story { background: var(--crema); }
.story-timeline { position: relative; margin: 36px 0 56px; padding-left: 36px; }
.story-timeline::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--durazno-l), var(--verde-xxl)); }
.story-timeline li { position: relative; padding-bottom: 38px; }
.story-timeline li:last-child { padding-bottom: 0; }
.st-dot { position: absolute; left: -36px; top: 5px; width: 18px; height: 18px; border-radius: 50%; border: 4px solid var(--crema); box-shadow: 0 0 0 2px var(--durazno-l); }
.st-dot.peach { background: var(--durazno); }
.st-dot.earth { background: var(--tierra-l); box-shadow: 0 0 0 2px var(--crema-d); }
.st-dot.green { background: var(--verde-l); box-shadow: 0 0 0 2px var(--verde-xxl); }
.st-when { font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--tierra-m); font-weight: 600; margin-bottom: 4px; }
.story-timeline h3 { font-size: 23px; margin-bottom: 8px; }
.story-timeline li:nth-child(3) h3 { font-style: italic; font-weight: 400; color: var(--verde-m); font-size: 26px; }
.story-timeline p:not(.st-when) { color: var(--tierra-m); }
.mission-card { background: var(--verde); color: #fff; border-radius: var(--radius); padding: 36px 40px; box-shadow: var(--shadow); }
.mission-text { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 25px); line-height: 1.5; }

/* ── Cards ── */
.cards { display: grid; gap: 18px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); border: 1.5px solid transparent; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); border-color: var(--verde-xxl); }
.card p { color: var(--tierra-m); font-size: 16px; }
.card-kicker { font-family: var(--serif); font-size: 21px; font-weight: 600; color: #A8461F !important; margin-bottom: 10px; line-height: 1.25; }
.problem { background: #fff; }
.problem .card { background: var(--crema); box-shadow: none; border-color: var(--crema-d); }

/* ── Behavioral science ── */
.behavior { background: var(--verde); color: #fff; }
.behavior h2 { color: #fff; }
.behavior h2 em { color: var(--durazno); }
.behavior .section-intro { color: rgba(255,255,255,0.78); }
.ideas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 36px; }
.ideas li { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 22px 20px; }
.idea-num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--durazno); color: var(--tierra); font-weight: 700; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 15px; }
.ideas p { color: rgba(255,255,255,0.82); font-size: 16px; line-height: 1.5; }
.ideas strong { color: #fff; display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; margin-bottom: 2px; }
.note-light { color: rgba(255,255,255,0.7); font-size: 15px; max-width: 760px; border-left: 3px solid var(--durazno); padding-left: 16px; }

/* ── Solution ── */
.solution { background: var(--crema); }
.feature-icon { font-size: 28px; display: block; margin-bottom: 14px; }
.feature h3 { margin-bottom: 8px; }
.boundaries { margin-top: 44px; background: var(--durazno-xl); border: 1.5px solid var(--durazno-l); border-radius: var(--radius); padding: 30px 34px; }
.boundaries h3 { margin-bottom: 8px; }
.boundaries > p { color: var(--tierra-m); margin-bottom: 16px; }
.boundaries ul { display: flex; flex-wrap: wrap; gap: 10px; }
.boundaries li { background: #fff; border-radius: 50px; padding: 8px 16px 8px 36px; position: relative; font-weight: 500; font-size: 15px; }
.boundaries li::before { content: '✕'; position: absolute; left: 14px; color: #B5441B; font-weight: 700; }

/* ── Prototype ── */
.prototype { background: var(--verde-tint); }
.proto-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.proto-copy > p { color: var(--tierra-m); margin-bottom: 16px; }
.proto-warning { background: #fff; border-left: 4px solid var(--durazno); border-radius: var(--radius-sm); padding: 14px 18px; font-size: 15px; color: var(--tierra) !important; }
.phone-wrap { position: relative; display: flex; justify-content: center; padding-top: 18px; }
.proto-badge { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 2; background: var(--tierra); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: 1.2px; padding: 6px 14px; border-radius: 50px; white-space: nowrap; }
.phone { width: 100%; max-width: 340px; background: var(--crema); border: 10px solid var(--tierra); border-radius: 40px; box-shadow: var(--shadow-h); overflow: hidden; min-height: 560px; }
.phone-top { background: var(--verde-m); padding: 22px 18px 14px; text-align: center; }
.logo-text.small { font-size: 18px; }
.phone-tabs { display: flex; gap: 4px; background: var(--verde-m); padding: 0 12px 12px; }
.phone-tabs button { flex: 1; font: 500 13px var(--sans); border: 0; border-radius: 20px; padding: 7px 4px; cursor: pointer; background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); min-height: 34px; }
.phone-tabs button[aria-selected="true"] { background: #fff; color: var(--verde-m); }
.phone-panel { padding: 18px 16px 22px; }
.phone-panel:focus-visible { outline-offset: -3px; }
.greeting { background: linear-gradient(135deg, var(--verde-m), var(--verde-l)); color: #fff; border-radius: 16px; padding: 16px 16px 18px; margin-bottom: 16px; }
.greeting-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.15); border-radius: 20px; padding: 3px 10px; font-size: 12px; margin-bottom: 8px; }
.greeting-title { font-family: var(--serif); font-size: 19px; line-height: 1.3; }
.mini-label { font-size: 11.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--tierra-m); margin: 6px 0 8px; }
.mini-list li { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: var(--radius-sm); padding: 9px 12px; margin-bottom: 6px; font-size: 14px; box-shadow: 0 1px 6px rgba(27,67,50,0.06); }
.check { width: 20px; height: 20px; flex-shrink: 0; border-radius: 6px; background: var(--verde-xxl); color: var(--verde-m); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.check.off { background: transparent; border: 1.5px solid var(--tierra-l); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--durazno-xl); border: 1px solid var(--durazno-l); border-radius: 20px; padding: 4px 10px; font-size: 13px; }
.steps li, .people li { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--radius-sm); padding: 11px 12px; margin-bottom: 8px; box-shadow: 0 1px 6px rgba(27,67,50,0.06); }
.steps li > div, .people li > div { flex: 1; min-width: 0; }
.tl-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.tl-dot.green { background: var(--verde-l); } .tl-dot.peach { background: var(--durazno); } .tl-dot.grey { background: #C9BFB6; }
.step-title { font-weight: 600; font-size: 14px; line-height: 1.3; }
.step-meta { font-size: 12.5px; color: var(--tierra-m); }
.pill { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 10px; white-space: nowrap; }
.pill.ok { background: var(--verde-xxl); color: var(--verde); }
.pill.wait { background: var(--durazno-xl); color: #9A3A14; }
.pill.ask { background: var(--crema-d); color: var(--tierra-m); }
.mini-note { font-size: 13px; color: var(--tierra-m); background: var(--crema-d); border-radius: var(--radius-sm); padding: 10px 12px; margin-top: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; color: var(--tierra); }
.a1 { background: var(--durazno-l); } .a2 { background: var(--verde-xxl); } .a3 { background: var(--crema-d); }
.toggle { width: 38px; height: 22px; border-radius: 20px; background: #D9D0C7; position: relative; flex-shrink: 0; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .2s; }
.toggle.on { background: var(--verde-l); }
.toggle.on::after { left: 19px; }

/* ── Circle ── */
.circle { background: var(--crema); }
.circle-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px 56px; align-items: center; }
.circle-visual { max-width: 400px; justify-self: center; width: 100%; }
.circle-svg { width: 100%; height: auto; overflow: visible; }
.ring { fill: none; stroke-width: 1.5; }
.ring-1 { stroke: var(--durazno-l); fill: rgba(255,212,186,0.18); }
.ring-2 { stroke: var(--verde-xxl); stroke-dasharray: 4 6; }
.ring-3 { stroke: #E6DCCF; stroke-dasharray: 2 8; }
.links line { stroke: var(--tierra-l); stroke-opacity: .28; stroke-width: 1.2; }
.node-center { fill: var(--verde); }
.label-center { fill: #fff; font: 600 15px var(--serif); text-anchor: middle; }
.label-small-center { fill: var(--durazno); font: 500 12px var(--sans); text-anchor: middle; }
.node circle { stroke: #fff; stroke-width: 3; }
.node text { font-size: 20px; text-anchor: middle; }
.node-family circle { fill: var(--durazno-l); }
.node-friend circle { fill: var(--verde-xxl); }
.node-trust circle { fill: var(--crema-d); }
.node-trust text { font-size: 15px; }
.ring-label { fill: var(--tierra-m); font: 500 12.5px var(--sans); text-anchor: middle; letter-spacing: .5px; }
.roles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.role { background: #fff; border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.role h3 { margin-bottom: 8px; font-size: 20px; }
.role > p.i18n { color: var(--tierra-m); font-size: 15.5px; flex: 1; margin-bottom: 18px; }
.role-patient { background: var(--verde); }
.role-patient h3 { color: #fff; }
.role-patient > p.i18n { color: rgba(255,255,255,0.82); }
.access { height: 6px; background: var(--crema-d); border-radius: 6px; overflow: hidden; }
.access span { display: block; height: 100%; background: var(--verde-l); border-radius: 6px; }
.role-patient .access { background: rgba(255,255,255,0.15); }
.role-patient .access span { background: var(--durazno); }
.access-label { font-size: 13px; font-weight: 600; color: var(--verde-m); margin-top: 8px; text-transform: uppercase; letter-spacing: .8px; }
.role-patient .access-label { color: var(--durazno-l); }
.circle .fineprint { grid-column: 1 / -1; }

/* ── Progress ── */
.progress { background: #fff; }
.progress-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.progress-card { background: var(--crema); border: 1.5px solid var(--crema-d); border-radius: var(--radius); padding: 28px 26px; }
.big-num { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--verde-m); line-height: 1.1; margin-bottom: 12px; }
.progress-card h3 { margin-bottom: 6px; }
.progress-card p.i18n { color: var(--tierra-m); font-size: 16px; }
.next-card { margin-top: 18px; background: var(--verde-tint); border-radius: var(--radius); padding: 28px 30px; border-left: 4px solid var(--verde-l); }
.next-card h3 { margin-bottom: 6px; }
.next-card p { color: var(--tierra-m); }

/* ── Team ── */
.team { background: var(--crema); }
.team-group { font-family: var(--sans); font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--tierra-m); margin: 34px 0 14px; }
.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.person { display: flex; gap: 18px; align-items: center; background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.person-avatar { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font: 600 20px var(--serif); color: var(--tierra); }
.p1 { background: linear-gradient(135deg, var(--durazno-l), var(--durazno)); }
.p2 { background: linear-gradient(135deg, var(--verde-xxl), var(--verde-xl)); }
.p3 { background: var(--durazno-xl); border: 2px solid var(--durazno-l); }
.p4 { background: var(--verde-tint); border: 2px solid var(--verde-xxl); }
.person h4 { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.3; }
.person p { color: var(--tierra-m); font-size: 15.5px; }

/* ── Contact ── */
.contact { background: var(--verde); color: #fff; }
.contact h2 { color: #fff; margin-left: auto; margin-right: auto; }
.contact h2 em { color: var(--durazno); }
.contact p { color: rgba(255,255,255,0.8); margin-bottom: 28px; font-size: 18px; }
.contact .fineprint { font-size: 14px; color: rgba(255,255,255,0.65); margin: 22px 0 0; }

/* ── Footer ── */
.site-footer { background: #12301F; color: rgba(255,255,255,0.72); padding: 48px 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.site-footer .logo-text { margin-bottom: 8px; }
.disclaimer p { margin-bottom: 10px; }
.copy { color: rgba(255,255,255,0.5); }

/* ── Responsive ── */
@media (max-width: 1020px) {
  .cards-4, .roles { grid-template-columns: repeat(2, 1fr); }
  .ideas { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .lang-switch { margin-left: auto; }
}
@media (max-width: 820px) {
  .proto-grid, .circle-grid, .footer-grid { grid-template-columns: 1fr; }
  .progress-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .cards-4, .roles, .ideas { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .hero-story { padding: 22px 20px; }
  .hero-story blockquote p { font-size: 17px; }
  .mission-card, .boundaries { padding: 26px 22px; }
  .section-intro { font-size: 17px; }
  .btn { padding: 14px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
