@import url("/fonts/fonts.css");

/* Morning at home: a soft morning sky, the sun coming up behind the old red
   phone, the kitchen oilcloth. Big readable type and big buttons, for the
   family and for the elders who read over their shoulder. */
:root {
  --sky: #E6F1FB;
  --sun: #FFC93C;
  --sun-soft: #FFEDB3;
  --ink: #16215C;
  --muted: #3F4A78;
  --line: #C9D6EC;
  --phone-red: #E5372C;
  --white: #FFFFFF;
  --bubble: #D9FDD3;
  --leaf: #0B6B3A;
  --display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --gap: clamp(48px, 7vw, 96px);
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.25rem/1.6 var(--body); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 8.6vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 6vw, 2.9rem); }
h3 { font-size: 1.45rem; line-height: 1.25; }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--phone-red); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow > * { max-width: 720px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; background: var(--ink); color: var(--white); font: 700 1.2rem/1.2 var(--body); padding: 16px 28px; border: 0; border-radius: 999px; text-decoration: none; cursor: pointer; }
.btn:hover { background: #24317A; }
.btn-small { min-height: 46px; padding: 10px 18px; font-size: 1.05rem; white-space: nowrap; }
.btn-ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--sky); }
.btn[disabled] { opacity: .6; cursor: default; }
.btn-link { color: var(--ink); font-weight: 700; text-decoration: none; }
.btn-link:hover { text-decoration: underline; }

/* Header: part of the morning sky. */
.top { background: var(--sky); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.top nav { display: flex; align-items: center; gap: 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 1.45rem/1 var(--display); text-decoration: none; }
.mark { width: 36px; height: 36px; flex: none; }
.m-sun { fill: var(--sun); }
.m-handset, .m-base { fill: var(--phone-red); }
@media (max-width: 759px) { .top .btn-link { display: none; } }

/* Hero */
.hero { background: var(--sky); padding-block: clamp(16px, 4vw, 48px) 0; overflow: hidden; }
.hero-grid { display: grid; gap: 28px; }
.hero-copy { padding-bottom: 8px; }
.hero h1 { margin-bottom: 14px; }
.lead { font-size: clamp(1.25rem, 3.4vw, 1.45rem); line-height: 1.45; margin: 0 0 16px; max-width: 32ch; }
.hero-points { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; font-weight: 600; }
.hero-points li { padding-left: 34px; position: relative; }
.hero-points li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 18px; height: 10px; border-left: 3px solid var(--leaf); border-bottom: 3px solid var(--leaf); transform: rotate(-45deg); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0; }
.hero-note { font-size: 1.1rem; color: var(--muted); margin: 12px 0 0; }
.hero-consent { font-weight: 600; margin: 14px 0 0; max-width: 40ch; }

/* The sun rises behind the phone; the call sits on the windowsill. */
.hero-scene { position: relative; padding-top: 110px; }
.hero-scene::before { content: ""; position: absolute; top: 6px; right: -30px; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle, var(--sun) 0 58%, var(--sun-soft) 59% 100%); }
.phone { position: absolute; top: 0; right: 14px; width: 170px; height: auto; z-index: 2; transform-origin: 50% 90%; animation: ring 1.1s ease-in-out .5s 2; }
.handset path, .phone-base { fill: var(--phone-red); }
.dial { fill: var(--white); }
.dial-holes circle { fill: var(--sun); }
.dial-center { fill: var(--phone-red); }
.ring-lines path { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; opacity: 0; animation: ring-lines 1.1s ease-in-out .5s 2 both; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-5deg); } 30% { transform: rotate(5deg); } 45% { transform: rotate(-4deg); } 60% { transform: rotate(4deg); } 75% { transform: rotate(-2deg); } }
@keyframes ring-lines { 0%, 100% { opacity: 0; } 20%, 70% { opacity: 1; } }

.call { position: relative; z-index: 1; background: var(--white); border: 2px solid var(--ink); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; padding: 22px 20px 26px; }
.call-head { font-size: 1rem; color: var(--muted); margin-bottom: 14px; max-width: none; padding-right: 150px; }
.line { margin: 0 0 12px; max-width: none; }
.line b { display: block; font: 700 1rem/1.3 var(--display); }
.line.rocio b { color: var(--phone-red); }
.line.elder { padding-left: 22px; }
.line:last-child { margin-bottom: 0; }

/* Summary: the kitchen oilcloth, softer. */
.summary { background-color: var(--white); background-image: linear-gradient(90deg, rgba(229, 55, 44, .10) 50%, transparent 50%), linear-gradient(rgba(229, 55, 44, .10) 50%, transparent 50%); background-size: 48px 48px; border-top: 2px solid var(--ink); padding-block: var(--gap); overflow-x: clip; }
.summary-grid { display: grid; gap: 28px; align-items: center; }
.summary-grid > div:first-child { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 26px 22px 10px; }
.summary h2 { margin-bottom: 16px; }
.bubble { background: var(--bubble); border: 2px solid var(--ink); border-radius: var(--radius) var(--radius) var(--radius) 6px; padding: 20px 20px 8px; max-width: 440px; transform: rotate(-1deg); box-shadow: 6px 6px 0 var(--ink); }
.bubble p { margin-bottom: .6em; }
.bubble-from { font: 700 1.05rem/1.2 var(--display); color: var(--leaf); }

/* Steps */
.steps { padding-block: var(--gap); }
.steps h2, .limits h2, .faq h2, .features h2, .why h2, .audience h2 { margin-bottom: 28px; }
.step-list { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 28px; }
.step-list li { counter-increment: step; position: relative; padding-left: 72px; }
.step-list li::before { content: counter(step); position: absolute; left: 0; top: -4px; width: 54px; height: 54px; display: grid; place-items: center; background: var(--sun); border-radius: 50%; font: 700 1.6rem/1 var(--display); }
.step-list h3 { margin-bottom: 6px; }
.step-list p { margin: 0; }

/* Does / does not */
.limits { background: var(--sky); padding-block: var(--gap); }
.limits-grid { display: grid; gap: 20px; }
.limits-grid > div { background: var(--white); border-radius: var(--radius); padding: 24px 22px 12px; }
.limits-grid h3 { font-size: 2rem; margin-bottom: 12px; }
.does h3 { color: var(--leaf); }
.does-not h3 { color: var(--phone-red); }
.limits-grid ul { margin: 0; padding-left: 1.1em; }
.limits-grid li { margin-bottom: 10px; }

/* Price: a warm morning band with two plain plan cards. */
.price { background: var(--sun-soft); padding-block: var(--gap); }
.price-terms { font-size: 1.3rem; margin: 14px 0 0; max-width: 44ch; }
.plans { display: grid; gap: 20px; margin-top: 32px; }
.plan { background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.plan-main { border: 3px solid var(--ink); }
.plan h3 { font-size: 1.7rem; }
.plan-price { font-family: var(--display); font-weight: 700; font-size: 2.8rem; line-height: 1; margin: 4px 0 0; }
.plan-price span { font-family: var(--body); font-weight: 600; font-size: 1.15rem; }
.plan p { margin: 0; }
.plan ul { padding-left: 1.2em; margin: 4px 0 10px; }
.plan li { margin-block: 4px; }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plan-tag { font-weight: 700; font-size: 1rem; background: var(--sun); color: var(--ink); align-self: flex-start; padding: 4px 14px; border-radius: 999px; margin: 0; }
.price-foot { margin: 24px 0 0; font-weight: 600; }

/* Companies */
.business { background: var(--sky); padding-block: var(--gap); }
.business h2 { margin-bottom: 14px; }
.business ul { padding-left: 1.2em; }
.business li { margin-block: 6px; }

/* FAQ */
.faq { padding-block: var(--gap); }
details { border-top: 2px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 2px solid var(--line); }
summary { font: 700 1.3rem/1.3 var(--display); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.8rem; line-height: .8; flex: none; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; }

/* Contact */
.contact { background: var(--sun-soft); padding-block: var(--gap); }
.contact h2 { margin-bottom: 12px; }
form { display: grid; gap: 18px; margin-top: 22px; }
label { display: grid; gap: 6px; font-weight: 700; }
input, select { font: 400 1.25rem/1.3 var(--body); color: var(--ink); background: var(--white); border: 2px solid var(--ink); border-radius: 16px; padding: 14px 16px; width: 100%; min-height: 58px; }
input[aria-invalid="true"] { border-color: var(--phone-red); border-width: 3px; }
.interest { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.interest legend { font-weight: 700; margin-bottom: 6px; }
.interest label { display: flex; gap: 12px; align-items: center; font-weight: 400; }
.interest input { width: 24px; height: 24px; min-height: 0; accent-color: var(--ink); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha { min-height: 65px; }
form .btn { justify-self: start; }
.form-msg { background: var(--white); border: 2px solid var(--ink); border-radius: 16px; padding: 12px 14px; font-weight: 600; margin: 0; }
.form-legal { font-size: 1.05rem; margin: 0; }

/* Footer */
footer { background: var(--ink); color: var(--white); padding-block: 24px; font-size: 1.05rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* Shared bits for the new sections. */
.section-lead { font-size: 1.3rem; margin: 14px 0 28px; max-width: 50ch; }
.soon { display: inline-block; vertical-align: middle; background: var(--sun); color: var(--ink); font: 700 .85rem/1.2 var(--body); letter-spacing: .02em; padding: 3px 10px; border-radius: 999px; margin: 0 4px 0 0; white-space: nowrap; }
p.soon { margin: 0 0 10px; }

/* Daily timeline: relative moments, never clock times. */
.daily { background: var(--white); border-top: 2px solid var(--ink); padding-block: var(--gap); }
.daily h2 { margin-bottom: 6px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 30px; border-left: 4px solid var(--sun); display: grid; gap: 26px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -43px; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 4px solid var(--ink); }
.timeline li.alert::before { background: var(--phone-red); border-color: var(--phone-red); }
.timeline h3 { margin-bottom: 6px; }
.timeline p { margin: 0; }
.timeline .when { font-weight: 700; color: var(--muted); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }

/* Feature groups */
.features { background: var(--sky); padding-block: var(--gap); }
.feature-groups { display: grid; gap: 20px; }
.feature-group { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px 22px 14px; }
.feature-group h3 { font-size: 1.7rem; margin-bottom: 12px; }
.feature-group ul { list-style: none; margin: 0; padding: 0; }
.feature-group li { margin-bottom: 14px; }
.feature-group li b { display: block; font-family: var(--display); font-size: 1.2rem; line-height: 1.3; }
.feature-group li b + .soon { margin: 4px 0; }

/* What's coming: every «Próximamente» feature, together near the end. */
.coming { background: var(--white); border-top: 2px solid var(--ink); padding-block: var(--gap); }
.coming h2 { margin-bottom: 6px; }
.coming h3 { margin-bottom: 10px; }
.audios-grid { display: grid; gap: 28px; align-items: center; }
.coming-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 20px; }
.coming-list li { background: var(--sky); border-radius: var(--radius); padding: 22px 22px 16px; }
.coming-list h3 { font-size: 1.3rem; margin-bottom: 6px; }
.coming-list p { margin: 0 0 10px; }
.coming-list .btn { margin-top: 4px; }
.audio-chat { display: grid; gap: 14px; max-width: 440px; }
.audio-msg { background: var(--bubble); border: 2px solid var(--ink); border-radius: var(--radius) var(--radius) var(--radius) 6px; padding: 16px 18px; margin: 0; display: grid; gap: 6px; box-shadow: 6px 6px 0 var(--ink); }
.audio-back { background: var(--sun-soft); border-radius: var(--radius) var(--radius) 6px var(--radius); justify-self: end; }
.audio-from { font: 700 1.05rem/1.2 var(--display); color: var(--leaf); }
.audio-back .audio-from { color: var(--phone-red); }
.audio-wave { height: 22px; border-radius: 999px; background: repeating-linear-gradient(90deg, var(--leaf) 0 4px, transparent 4px 9px); opacity: .55; max-width: 220px; }

/* Why us: the points we do better, said loud. */
.why { padding-block: var(--gap); }
.why h2 { margin-bottom: 6px; }
.why-grid { display: grid; gap: 18px; }
.why-grid > div { background: var(--sun-soft); border: 2px solid var(--ink); border-radius: var(--radius); padding: 20px 20px 18px; }
.why-grid a { font-weight: 700; }

/* Who is behind */
.owner { background: var(--sun-soft); padding-block: var(--gap); }
.owner-card { display: grid; gap: 20px; align-items: center; }
.owner h2 { margin-bottom: 12px; }
.owner p { margin-bottom: .6em; }
.owner-face { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--phone-red); color: var(--white); font: 700 2.2rem/1 var(--display); margin: 0; }

/* Chosen plan, shown above the two-field form. */
.form-choice { background: var(--white); border-left: 6px solid var(--sun); border-radius: 8px; padding: 10px 14px; font-weight: 600; margin: 0; }

/* Mobile sticky button: only below 760px, with room left so it never covers the footer. */
.sticky-cta { display: none; }
@media (max-width: 759px) {
  .has-sticky footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .sticky-cta { display: flex; position: fixed; z-index: 20; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 6px 0 rgba(22, 33, 92, .25); transition: opacity .2s, visibility .2s; }
  .sticky-cta.is-hidden { opacity: 0; visibility: hidden; }
}
.why-grid h3 { margin-bottom: 6px; }
.why-grid p { margin: 0; }
.why-more { margin: 30px 0 0; font-weight: 600; }

/* Inner pages (companies) */
.page-hero { background: var(--sky); padding-block: clamp(28px, 6vw, 72px); }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { max-width: 44ch; }
.eyebrow { font-weight: 700; color: var(--phone-red); text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; margin-bottom: 10px; }
.audience { padding-block: var(--gap); }
.audience-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.audience-list li { background: var(--sun-soft); border-radius: var(--radius); padding: 18px 20px; }
.audience-list b { display: block; font-family: var(--display); font-size: 1.25rem; }
.doc .lead { max-width: 50ch; }

/* Legal and 404 pages */
.doc { padding-block: var(--gap); }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(2.2rem, 8vw, 3.4rem); margin-bottom: 18px; }
.doc h2 { font-size: 1.5rem; margin: 30px 0 10px; line-height: 1.25; }
.doc ul { padding-left: 1.1em; }
.nobody { font: 700 clamp(3rem, 14vw, 6rem)/1 var(--display); color: var(--phone-red); margin-bottom: 18px; }

@media (min-width: 760px) {
  .plans { grid-template-columns: 1fr 1fr; gap: 28px; }
  .why-grid, .audience-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: end; gap: 48px; }
  .hero-copy { padding-bottom: 56px; }
  .hero-scene { padding-top: 180px; }
  .hero-scene::before { top: 10px; right: -40px; width: 380px; height: 380px; }
  .phone { width: 290px; right: 20px; }
  .call { padding: 28px 28px 32px; }
  .call-head { padding-right: 250px; }
  .summary-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .bubble { justify-self: center; }
  .step-list { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .step-list li { padding-left: 0; padding-top: 72px; }
  .step-list li::before { top: 0; }
  .limits-grid { grid-template-columns: 1fr 1fr; }
  .feature-groups { grid-template-columns: repeat(3, 1fr); }
  .audios-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .coming-list { grid-template-columns: repeat(2, 1fr); }
  .owner-card { grid-template-columns: auto 1fr; gap: 32px; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline { padding-left: 40px; }
  .timeline li::before { left: -53px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone, .ring-lines path { animation: none; }
}
