/* Tipografias autoalojadas (Inter + Lora, subset latin, licencia SIL OFL 1.1).
   Evitan cargar desde fonts.googleapis.com y transferir la IP del visitante a Google LLC (EE.UU.).
   El subset latin cubre todo el castellano y el simbolo del euro. */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/inter-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Lora';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/lora-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Lora';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/lora-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* ============================================================
   CuidaConnect Morón — Hoja de estilos principal
   Premium scroll-animation site
   ============================================================ */

:root {
  --color-primary: #2d5a87;
  --color-primary-dark: #1f3d5c;
  --color-primary-light: #4a7ba8;
  --color-primary-soft: #e8f0f8;
  --color-accent: #f4b942;
  --color-accent-dark: #d99c1f;

  --color-bg: #ffffff;
  --color-bg-soft: #f7f9fc;
  --color-bg-darker: #1f3d5c;
  --color-bg-cream: #faf6ef;

  --color-text: #18222e;
  --color-text-soft: #3a4a5c;
  --color-muted: #6b7c90;
  --color-border: #e1e7ee;
  --color-border-soft: #eef2f7;

  --color-success: #16a34a;
  --color-success-soft: #e9f7ee;
  --color-danger: #c53030;
  --color-danger-soft: #fdecec;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Lora', Georgia, serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(24, 34, 46, 0.06);
  --shadow: 0 4px 16px rgba(24, 34, 46, 0.07);
  --shadow-lg: 0 16px 48px rgba(24, 34, 46, 0.10);
  --shadow-xl: 0 24px 64px rgba(24, 34, 46, 0.14);

  --container: 1180px;
  --container-narrow: 880px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 720ms;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-primary-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.005em; }
h4 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 700; }
p { color: var(--color-text-soft); }
.lead { font-size: 1.15rem; color: var(--color-text-soft); }

ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-soft { background: var(--color-bg-soft); }
.section-cream { background: var(--color-bg-cream); }
.section-dark { background: var(--color-bg-darker); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.78); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.section-dark .eyebrow { color: var(--color-accent); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-header.left { text-align: left; margin-left: 0; }
.section-header p { margin-top: 14px; font-size: 1.08rem; }

/* ───── Botones ───── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s, background .25s, color .25s, border-color .25s;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; box-shadow: var(--shadow-lg); }
.btn-accent { background: var(--color-accent); color: var(--color-primary-dark); box-shadow: var(--shadow); }
.btn-accent:hover { background: var(--color-accent-dark); color: var(--color-primary-dark); }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn-ghost:hover { border-color: var(--color-primary); background: var(--color-primary-soft); }
.btn-light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.25); backdrop-filter: blur(10px); }
.btn-light:hover { background: rgba(255,255,255,0.20); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* ───── Header / Nav ───── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, padding .3s;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.94);
  border-bottom-color: var(--color-border-soft);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  transition: padding .25s var(--ease-out);
}
.site-header.scrolled .nav-wrap { padding: 10px 0; }
.nav-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 60px; width: auto; display: block; flex-shrink: 0; transition: height .25s var(--ease-out); }
.site-header.scrolled .nav-logo img { height: 50px; }
@media (max-width: 980px) {
  .nav-logo img { height: 52px; }
  .site-header.scrolled .nav-logo img { height: 44px; }
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-links a {
  padding: 8px 11px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-soft);
  border-radius: 8px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--color-primary); background: var(--color-primary-soft); }
.nav-links a.active { color: var(--color-primary); background: transparent; font-weight: 600; }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-tel {
  font-size: 0.9rem; font-weight: 600;
  color: var(--color-primary);
  padding: 8px 10px;
  white-space: nowrap;
}
.nav-tel:hover { color: var(--color-primary-dark); }
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span {
  width: 22px; height: 2px; background: var(--color-text);
  transition: transform .3s, opacity .3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Tablet pequeña / portátil 13" — el menú completo ya no entra */
@media (max-width: 1180px) {
  .nav-tel { display: none; }
}
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav-links, .nav-tel { display: none; }
  .nav-cta .btn:not(.menu-toggle) { display: none; }
  .nav-cta .menu-toggle { display: inline-flex; }
  .site-header.nav-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--color-border-soft);
    padding: 14px 24px 22px; gap: 4px;
    box-shadow: var(--shadow-lg);
  }
  .site-header.nav-open .nav-links a { padding: 12px 14px; font-size: 1rem; white-space: normal; }
}

main { padding-top: 128px; }
@media (max-width: 980px) { main { padding-top: 98px; } }

/* ───── Hero ───── */
.hero {
  position: relative;
  padding: clamp(72px, 12vw, 140px) 0 clamp(56px, 9vw, 100px);
  background: linear-gradient(180deg, var(--color-primary-soft) 0%, #ffffff 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(45,90,135,0.10) 0%, transparent 40%),
    radial-gradient(circle at 82% 80%, rgba(244,185,66,0.10) 0%, transparent 45%);
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--color-text-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); box-shadow: 0 0 0 4px rgba(22,163,74,0.18); }
.hero-badge .sep { color: var(--color-border); margin: 0 4px; }

.hero h1 { max-width: 900px; margin-bottom: 22px; color: var(--color-primary-dark); }
.hero h1 em { font-style: normal; color: var(--color-primary); }
.hero p.lead { max-width: 720px; margin-bottom: 36px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero-meta {
  font-size: 0.88rem; color: var(--color-muted);
  padding-top: 24px; border-top: 1px solid var(--color-border);
  max-width: 720px;
}

.hero-visual {
  margin: clamp(36px, 5vw, 60px) 0 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16/8;
  position: relative;
  background: var(--color-primary-soft);
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.hero-visual:hover img { transform: scale(1.03); }
.hero-visual::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 35%;
  background: linear-gradient(to top, rgba(31,61,92,0.35), transparent);
  pointer-events: none;
}

/* Section banner — imagen full-width inline en una sección */
.section-banner {
  margin: 0 auto clamp(40px, 5vw, 64px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 21/9;
  max-width: 1100px;
  position: relative;
}
.section-banner img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.8s var(--ease-out);
}
.section-banner:hover img { transform: scale(1.04); }
.section-banner .overlay-text {
  position: absolute; inset: auto 0 0 0;
  padding: clamp(24px, 4vw, 44px);
  background: linear-gradient(to top, rgba(31,61,92,0.85), rgba(31,61,92,0.0));
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-style: italic;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0,0,0,0.20);
  line-height: 1.35;
}
.section-banner .overlay-text small {
  display: block; margin-top: 8px;
  font-family: var(--font-sans); font-style: normal; font-weight: 500;
  font-size: 0.86rem; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.78);
}

/* Split image + content (50/50) */
.split-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.split-visual.reverse { direction: rtl; }
.split-visual.reverse > * { direction: ltr; }
.split-visual .img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 5/4;
}
.split-visual .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease-out);
}
.split-visual:hover .img-wrap img { transform: scale(1.04); }
@media (max-width: 880px) {
  .split-visual, .split-visual.reverse { grid-template-columns: 1fr; }
  .split-visual.reverse { direction: ltr; }
  .split-visual .img-wrap { aspect-ratio: 4/3; }
}

/* ───── Stats ───── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(48px, 6vw, 80px);
}
.stat {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat .label { margin-top: 10px; font-size: 0.9rem; color: var(--color-muted); }

@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ───── Story / Sobre ───── */
.story {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.story-photo {
  position: sticky; top: 100px;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--color-primary-soft), var(--color-bg-cream));
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.story-photo .placeholder {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.86rem;
  padding: 24px;
  line-height: 1.5;
}
.story-photo .placeholder .icon { font-size: 2.4rem; display: block; margin-bottom: 12px; opacity: 0.5; }

.story h2 { margin-bottom: 22px; }
.story p + p { margin-top: 18px; }
@media (max-width: 880px) { .story { grid-template-columns: 1fr; gap: 36px; } .story-photo { position: static; aspect-ratio: 4/3; } }

/* ───── Cards (services / steps) ───── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cards.cols-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 980px) {
  .cards, .cards.cols-2 { grid-template-columns: 1fr 1fr; }
  .cards.cols-4, .cards.cols-5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cards, .cards.cols-2, .cards.cols-4, .cards.cols-5 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--color-primary-soft); }
.card .ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-radius: 14px;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.97rem; }
.card.dark { background: var(--color-bg-darker); color: #fff; border-color: transparent; }
.card.dark h3 { color: #fff; }
.card.dark p { color: rgba(255,255,255,0.78); }
.card.dark .ico { background: rgba(255,255,255,0.10); color: var(--color-accent); }

/* steps numbered */
.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--color-primary);
  line-height: 1;
  font-weight: 700;
  margin-bottom: 14px;
  display: inline-block;
}

/* ───── Promises (sí/no) ───── */
.promises {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 760px) { .promises { grid-template-columns: 1fr; } }

.promise-col h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.promise-col h3 .pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 1rem; font-weight: 700;
}
.promise-col.yes h3 .pill { background: var(--color-success-soft); color: var(--color-success); }
.promise-col.no h3 .pill { background: var(--color-danger-soft); color: var(--color-danger); }
.promise-item {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-left: 3px solid;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.promise-col.yes .promise-item { border-left-color: var(--color-success); }
.promise-col.no .promise-item { border-left-color: var(--color-danger); }

/* ───── Pricing ───── */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 820px) { .pricing { grid-template-columns: 1fr; } }
.price-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 38px 34px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease-out);
}
.price-card.featured {
  background: var(--color-primary-dark);
  color: #fff;
  border-color: var(--color-primary-dark);
  transform: scale(1.02);
}
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card.featured p, .price-card.featured li { color: rgba(255,255,255,0.85); }
.price-card .ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--color-accent); color: var(--color-primary-dark);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 7px 14px; border-radius: 999px;
  box-shadow: var(--shadow);
}
.price-card h3 { margin-bottom: 6px; }
.price-card .subtitle { font-size: 0.92rem; color: var(--color-muted); margin-bottom: 24px; }
.price-card.featured .subtitle { color: rgba(255,255,255,0.7); }
.price-card .price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.price-card .price small { font-size: 0.95rem; font-weight: 400; color: var(--color-muted); font-family: var(--font-sans); }
.price-card.featured .price small { color: rgba(255,255,255,0.7); }
.price-card .price-tag { font-size: 0.84rem; color: var(--color-muted); margin: 8px 0 28px; }
.price-card.featured .price-tag { color: rgba(255,255,255,0.7); }
.price-features { margin: 0 0 28px; }
.price-features li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 0.95rem;
  color: var(--color-text-soft);
  border-bottom: 1px solid var(--color-border-soft);
}
.price-card.featured .price-features li { color: rgba(255,255,255,0.88); border-bottom-color: rgba(255,255,255,0.10); }
.price-features li:last-child { border-bottom: none; }
.price-features li::before {
  content: '✓';
  position: absolute; left: 0; top: 9px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-success-soft);
  color: var(--color-success);
  font-size: 0.72rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.price-card.featured .price-features li::before { background: rgba(244,185,66,0.18); color: var(--color-accent); }
.price-features li.strong { font-weight: 600; color: var(--color-text); }
.price-card.featured .price-features li.strong { color: #fff; }

/* ───── Calculator ───── */
.calc {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid var(--color-border-soft);
}
.calc h3 { margin-bottom: 6px; }
.calc .calc-sub { color: var(--color-muted); font-size: 0.92rem; margin-bottom: 28px; }
.calc-group { margin-bottom: 22px; }
.calc-group label { font-size: 0.9rem; font-weight: 600; color: var(--color-text); display: block; margin-bottom: 10px; }
.calc-toggle { display: flex; gap: 8px; background: var(--color-bg-soft); padding: 5px; border-radius: 12px; }
.calc-toggle button {
  flex: 1;
  padding: 12px 16px;
  border: none; background: transparent;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600;
  color: var(--color-text-soft);
  border-radius: 9px;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.calc-toggle button.active { background: #fff; color: var(--color-primary); box-shadow: var(--shadow-sm); }
.calc-range { width: 100%; -webkit-appearance: none; appearance: none; height: 6px; background: var(--color-border); border-radius: 3px; outline: none; }
.calc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; background: var(--color-primary); border-radius: 50%; cursor: pointer; box-shadow: 0 2px 8px rgba(45,90,135,0.4); }
.calc-range::-moz-range-thumb { width: 22px; height: 22px; background: var(--color-primary); border-radius: 50%; cursor: pointer; border: none; box-shadow: 0 2px 8px rgba(45,90,135,0.4); }
.calc-range-labels { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--color-muted); margin-top: 8px; }
.calc-check { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--color-bg-soft); border-radius: var(--radius); font-size: 0.93rem; cursor: pointer; }
.calc-check input { accent-color: var(--color-primary); width: 18px; height: 18px; }
.calc-results { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--color-border-soft); }
.calc-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 0.95rem; color: var(--color-text-soft); }
.calc-row.total {
  margin-top: 14px; padding: 18px 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.1rem;
}
.calc-row.total .val { font-family: var(--font-display); font-size: 1.5rem; }
.calc-row.sub { font-weight: 600; color: var(--color-text); border-top: 1px dashed var(--color-border); padding-top: 14px; margin-top: 6px; }
.calc-row.hourly { color: var(--color-muted); font-size: 0.86rem; padding-top: 10px; }
.calc-note { margin-top: 26px; font-size: 0.78rem; color: var(--color-muted); line-height: 1.6; padding: 18px; background: var(--color-bg-soft); border-radius: var(--radius); }

/* ───── Forms ───── */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--color-text); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit; color: var(--color-text);
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-soft);
}
.field-check { display: flex; align-items: flex-start; gap: 12px; font-size: 0.86rem; color: var(--color-text-soft); }
.field-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--color-primary); flex-shrink: 0; }
.form-meta { font-size: 0.84rem; color: var(--color-muted); padding: 14px 16px; background: var(--color-bg-soft); border-radius: var(--radius); }

/* Two-form layout (familias / cuidadoras) */
.dual-forms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 980px) { .dual-forms { grid-template-columns: 1fr; } }
.form-card {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-xl);
  padding: 36px 34px;
  box-shadow: var(--shadow);
}
.form-card.dark { background: var(--color-primary-dark); border-color: transparent; color: #fff; }
.form-card.dark h3, .form-card.dark label { color: #fff; }
.form-card.dark p, .form-card.dark .form-meta { color: rgba(255,255,255,0.82); background: rgba(255,255,255,0.08); }
.form-card.dark .field input, .form-card.dark .field select { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.20); color: #fff; }
.form-card.dark .field input::placeholder { color: rgba(255,255,255,0.55); }
.form-card .form-tag {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-primary);
  margin-bottom: 12px;
}
.form-card.dark .form-tag { color: var(--color-accent); }
.form-card h3 { margin-bottom: 8px; }
.form-card > p { margin-bottom: 22px; }

/* ───── CTA banner ───── */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: -50% -20% auto auto;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(244,185,66,0.20) 0%, transparent 70%);
  z-index: 0;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto 28px; }
.cta-banner .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ───── Footer ───── */
.site-footer {
  background: var(--color-bg-darker);
  color: rgba(255,255,255,0.72);
  padding: 60px 0 30px;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; margin-bottom: 16px; font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-grid a { color: rgba(255,255,255,0.72); display: block; padding: 4px 0; }
.footer-grid a:hover { color: #fff; }
.footer-logo img { height: 36px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.65); }
.footer-bottom a:hover { color: #fff; }
.compliance-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.compliance-pills span {
  background: rgba(255,255,255,0.06);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

/* ───── WhatsApp floating ───── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 80;
  width: 56px; height: 56px;
  background: #25d366; color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.40);
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; box-shadow: 0 12px 32px rgba(37,211,102,0.50); }
.wa-float svg { width: 28px; height: 28px; }

/* ───── Cookie banner ───── */
.cookie-banner {
  position: fixed; bottom: 18px; left: 18px; right: 18px;
  max-width: 520px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-xl);
  z-index: 90;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner h4 { margin-bottom: 8px; }
.cookie-banner p { font-size: 0.88rem; margin-bottom: 16px; }
.cookie-banner .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .actions .btn { padding: 10px 18px; font-size: 0.88rem; }

/* ───── Breadcrumb ───── */
.breadcrumb {
  font-size: 0.86rem; color: var(--color-muted);
  padding: 14px 0 0;
}
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ───── Article / blog body ───── */
.article-hero {
  padding: 100px 0 60px;
  background: linear-gradient(180deg, var(--color-primary-soft) 0%, #fff 100%);
}
.article-hero .tag {
  display: inline-block; background: var(--color-primary); color: #fff;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.10em;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
  margin-bottom: 18px;
}
.article-hero h1 { max-width: 880px; margin-bottom: 18px; }
.article-hero .meta { color: var(--color-muted); font-size: 0.92rem; }
.article-hero .featured-img {
  margin-top: 40px; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 16/8;
}
.article-hero .featured-img img { width: 100%; height: 100%; object-fit: cover; }

.article-body { padding: 60px 0 80px; }
.article-body h2 { margin: 48px 0 18px; }
.article-body h3 { margin: 32px 0 12px; }
.article-body p { margin-bottom: 18px; font-size: 1.05rem; line-height: 1.78; }
.article-body ul, .article-body ol { margin: 0 0 22px 1.4em; }
.article-body ul li, .article-body ol li { margin-bottom: 8px; color: var(--color-text-soft); font-size: 1.02rem; }
.article-body strong { color: var(--color-text); }
.article-body blockquote {
  background: var(--color-primary-soft);
  border-left: 4px solid var(--color-primary);
  padding: 20px 26px;
  border-radius: var(--radius);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-primary-dark);
  margin: 24px 0;
}
.article-body .callout {
  background: var(--color-bg-cream);
  border: 1px solid #e8dec5;
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 24px 0;
}
.article-body .callout strong { color: var(--color-accent-dark); }
.article-body .checklist-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border-soft);
}
.article-body .checklist-item:last-child { border-bottom: none; }
.article-body .checklist-item .check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--color-success-soft);
  color: var(--color-success);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.article-body .checklist-item h4 { margin-bottom: 4px; }
.article-body .checklist-item p { margin: 0; font-size: 0.97rem; }

.cost-table {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 24px 0;
}
.cost-table h4 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 14px; }
.cost-table .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--color-border-soft); font-size: 0.96rem; }
.cost-table .row:last-child { border-bottom: none; padding-top: 14px; font-weight: 700; color: var(--color-primary); font-size: 1.08rem; }

/* ───── Legal / privacy long pages ───── */
.legal-body { padding: 100px 0 80px; }
.legal-body h1 { margin-bottom: 14px; }
.legal-body .legal-meta { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 36px; }
.legal-body h2 { margin: 40px 0 14px; font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
.legal-body h3 { margin: 24px 0 12px; }
.legal-body p { margin-bottom: 14px; font-size: 0.99rem; line-height: 1.72; }
.legal-body ul { margin: 0 0 18px 1.4em; list-style: disc; }
.legal-body ul li { margin-bottom: 6px; color: var(--color-text-soft); font-size: 0.97rem; }
.legal-body table {
  width: 100%; border-collapse: collapse; margin: 18px 0 24px;
  font-size: 0.92rem;
}
.legal-body th, .legal-body td {
  padding: 12px 14px; text-align: left;
  border-bottom: 1px solid var(--color-border-soft);
  vertical-align: top;
}
.legal-body th {
  background: var(--color-bg-soft);
  font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--color-text);
}
.legal-body .data-grid {
  display: grid; grid-template-columns: 220px 1fr; gap: 10px 20px;
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 16px 0 28px;
  font-size: 0.94rem;
}
.legal-body .data-grid dt { font-weight: 700; color: var(--color-text); }
.legal-body .data-grid dd { color: var(--color-text-soft); }
@media (max-width: 640px) { .legal-body .data-grid { grid-template-columns: 1fr; } .legal-body .data-grid dt { margin-top: 6px; } }

/* ───── Contact split ───── */
.contact-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 980px) { .contact-split { grid-template-columns: 1fr; gap: 36px; } }
.contact-info-list { margin-top: 28px; }
.contact-info-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--color-border-soft);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--color-primary-soft); color: var(--color-primary);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.contact-info-item h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-muted); margin-bottom: 4px; font-weight: 600; }
.contact-info-item .val { font-size: 1.02rem; font-weight: 600; color: var(--color-text); }
.contact-info-item .val a { color: var(--color-text); }
.contact-info-item .val a:hover { color: var(--color-primary); }

/* ───── Service area ───── */
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.area-tags span {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--color-text-soft);
  font-weight: 500;
}
.area-tags span:first-child { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ───── Scroll-revealed animations ───── */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1.is-visible { transition-delay: 100ms; }
.reveal.delay-2.is-visible { transition-delay: 200ms; }
.reveal.delay-3.is-visible { transition-delay: 300ms; }
.reveal.delay-4.is-visible { transition-delay: 400ms; }
.reveal.delay-5.is-visible { transition-delay: 500ms; }
.reveal.from-left { transform: translateX(-40px); }
.reveal.from-left.is-visible { transform: translateX(0); }
.reveal.from-right { transform: translateX(40px); }
.reveal.from-right.is-visible { transform: translateX(0); }
.reveal.scale { transform: scale(0.96); }
.reveal.scale.is-visible { transform: scale(1); }

/* parallax */
[data-parallax] { will-change: transform; }

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-grid.featured-row { grid-template-columns: 1fr; margin-bottom: 28px; }
@media (max-width: 880px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card .img { aspect-ratio: 16/10; overflow: hidden; background: var(--color-bg-soft); }
.blog-card .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.blog-card:hover .img img { transform: scale(1.05); }
.blog-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card .blog-tag {
  display: inline-block;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.10em;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase;
  margin-bottom: 14px; align-self: flex-start;
}
.blog-card h3 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; margin-bottom: 12px; }
.blog-card h3 a { color: var(--color-text); }
.blog-card h3 a:hover { color: var(--color-primary); }
.blog-card p { font-size: 0.94rem; line-height: 1.6; flex: 1; }
.blog-card .meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--color-border-soft);
  font-size: 0.82rem; color: var(--color-muted);
}
.blog-card .meta a { color: var(--color-primary); font-weight: 600; font-size: 0.88rem; }

/* Featured (first) card variant */
.blog-card.featured { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; }
.blog-card.featured .img { aspect-ratio: auto; }
.blog-card.featured .body { padding: 40px 44px; justify-content: center; }
.blog-card.featured h3 { font-size: 1.75rem; }
.blog-card.featured p { font-size: 1rem; }
@media (max-width: 760px) { .blog-card.featured { grid-template-columns: 1fr; } .blog-card.featured .img { aspect-ratio: 16/10; } .blog-card.featured .body { padding: 24px 26px 28px; } .blog-card.featured h3 { font-size: 1.3rem; } }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 12px; }
.mt-4 { margin-top: 24px; }
.mb-4 { margin-bottom: 24px; }
.hidden { display: none !important; }
