/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --blue: #243C8F;
  --blue-dark: #1A2C6B;
  --red: #C44A36;
  --red-dark: #A53B2A;
  --white: #FFFFFF;
  --gray: #F5F7FA;
  --text: #1F2937;
  --green: #25D366;
  --green-dark: #1DA851;
  --gutter: 1.25rem;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(31,41,55,.06);
  --shadow-md: 0 12px 32px rgba(31,41,55,.10);
  --shadow-lg: 0 24px 60px rgba(31,41,55,.16);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --nav-h: 76px;
  --mobilebar-h: 60px;
  --serif: "Poppins", sans-serif;
  --sans: "Inter", sans-serif;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  padding-bottom: var(--mobilebar-h);
}
@media (min-width: 960px) { body { padding-bottom: 0; } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--serif); text-wrap: balance; line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; }
ul { list-style: none; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--blue); color: var(--white);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.section { padding-block: 4rem; }
@media (min-width: 960px) { .section { padding-block: 6rem; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--red); display: inline-block; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; max-width: 26ch; }
.section-lede { font-size: 1.1rem; color: #4B5563; max-width: 60ch; margin-bottom: 2rem; }
.center { text-align: center; margin-inline: auto; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .3s var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-call { background: var(--red); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-call:hover { background: var(--red-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-whatsapp { background: var(--green); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-whatsapp:hover { background: var(--green-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6); }
.btn-outline-white:hover { background: var(--white); color: var(--blue); }
.btn-blue { background: var(--blue); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-blue:hover { background: var(--blue-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.02rem; }
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* =============================================================
   5. Header / Nav
   ============================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(31,41,55,.06);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .65rem; font-family: var(--serif); font-weight: 800; font-size: 1.15rem; color: var(--blue); flex-shrink: 0; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo small { display: block; font-family: var(--sans); font-weight: 600; font-size: .65rem; color: var(--red); letter-spacing: .04em; }

.nav-menu { display: none; align-items: center; gap: 1.8rem; }
.nav-menu a { font-weight: 600; font-size: .95rem; color: var(--text); position: relative; padding-block: .3rem; }
.nav-menu a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--red); transition: width .3s var(--ease-out); }
.nav-menu a:hover::after, .nav-menu a.is-active::after { width: 100%; }
.nav-menu a.is-active { color: var(--blue); }
@media (min-width: 960px) { .nav-menu { display: flex; } }

.nav-cta { display: none; align-items: center; gap: .6rem; }
@media (min-width: 960px) { .nav-cta { display: flex; } }
.nav-cta .btn { padding: .65rem 1.2rem; font-size: .85rem; }

.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
}
@media (min-width: 960px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 24px; height: 24px; color: var(--blue); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 999;
  background: var(--white); transform: translateX(100%); transition: transform .4s var(--ease-out);
  overflow-y: auto; padding: 2rem var(--gutter);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a { display: block; padding: .9rem 0; font-size: 1.15rem; font-weight: 700; font-family: var(--serif); border-bottom: 1px solid var(--gray); }
.mobile-menu .btn-row { margin-top: 1.5rem; flex-direction: column; }
.mobile-menu .btn { width: 100%; }

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  background: linear-gradient(120deg, var(--blue-dark), var(--blue) 55%, #2C4BB0);
  color: var(--white); overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 80% 20%, rgba(196,74,54,.35), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; position: relative; z-index: 1; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero-pill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-size: .82rem; font-weight: 700;
  margin-bottom: 1.3rem; letter-spacing: .02em;
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6);} 70% { box-shadow: 0 0 0 9px rgba(74,222,128,0);} 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0);} }
.hero-title { font-size: clamp(2.1rem, 5.2vw, 3.6rem); max-width: 16ch; margin-bottom: 1.2rem; }
.hero-text { font-size: 1.15rem; color: rgba(255,255,255,.86); max-width: 46ch; margin-bottom: 2rem; }
.hero-figure {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure .badge {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: var(--radius-sm);
  padding: .9rem 1.1rem; display: flex; align-items: center; gap: .7rem; color: var(--text);
}
.hero-figure .badge svg { width: 28px; height: 28px; color: var(--red); flex-shrink: 0; }
.hero-figure .badge strong { display: block; font-size: .95rem; }
.hero-figure .badge span { font-size: .78rem; color: #6B7280; }

/* =============================================================
   7. Confianza cards
   ============================================================= */
.trust-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2,1fr); }
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 960px) { .trust-grid { grid-template-columns: repeat(6,1fr); } }
.trust-card {
  background: var(--gray); border-radius: var(--radius-sm); padding: 1.4rem 1rem; text-align: center;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); background: var(--white); }
.trust-card svg { width: 34px; height: 34px; color: var(--blue); margin-inline: auto; margin-bottom: .7rem; }
.trust-card p { font-size: .88rem; font-weight: 600; }

/* =============================================================
   8. Urgencias banner
   ============================================================= */
.urgent-band {
  background: linear-gradient(120deg, var(--red-dark), var(--red));
  color: var(--white); border-radius: var(--radius); position: relative; overflow: hidden;
  padding: 2.8rem 1.6rem; text-align: center;
}
@media (min-width: 720px) { .urgent-band { padding: 3.5rem 3rem; } }
.urgent-band::before {
  content: ""; position: absolute; inset: -50% -10%; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 60%);
}
.urgent-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: .8rem; position: relative; }
.urgent-band p { color: rgba(255,255,255,.9); max-width: 50ch; margin-inline: auto; margin-bottom: 1.6rem; position: relative; }
.urgent-band .btn-row { justify-content: center; position: relative; }

/* =============================================================
   9. Services grid / cards
   ============================================================= */
.services-grid { display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 960px) { .services-grid { grid-template-columns: repeat(3,1fr); } }
.service-card {
  background: var(--white); border: 1px solid #E5E9F2; border-radius: var(--radius); padding: 1.8rem;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
  display: flex; flex-direction: column; height: 100%;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card .icon {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: var(--white); margin-bottom: 1.2rem;
}
.service-card.is-urgent .icon { background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.service-card .icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.service-card p { color: #4B5563; font-size: .95rem; margin-bottom: 1.1rem; flex-grow: 1; }
.service-card .link { font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; }
.service-card .link svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.service-card .link:hover svg { transform: translateX(3px); }

/* =============================================================
   10. Procedure cards (endoscopia / colonoscopia)
   ============================================================= */
.procedure-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .procedure-grid { grid-template-columns: repeat(2,1fr); } }
.procedure-card {
  border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out); border: 1px solid #E5E9F2;
}
.procedure-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.procedure-card .figure { aspect-ratio: 16/10; overflow: hidden; }
.procedure-card .figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.procedure-card:hover .figure img { transform: scale(1.05); }
.procedure-card .body { padding: 1.6rem; }
.procedure-card h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.procedure-card ul { margin: 1rem 0 1.3rem; display: grid; gap: .5rem; }
.procedure-card ul li { display: flex; gap: .55rem; font-size: .92rem; color: #4B5563; }
.procedure-card ul li svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; margin-top: 2px; }

/* =============================================================
   11. Belize section
   ============================================================= */
.belize-section { background: var(--blue); color: var(--white); border-radius: var(--radius); overflow: hidden; }
.belize-grid { display: grid; gap: 0; }
@media (min-width: 860px) { .belize-grid { grid-template-columns: 1fr 1fr; } }
.belize-figure { aspect-ratio: 16/10; }
@media (min-width: 860px) { .belize-figure { aspect-ratio: auto; height: 100%; } }
.belize-figure img { width: 100%; height: 100%; object-fit: cover; }
.belize-content { padding: 2.4rem; }
@media (min-width: 860px) { .belize-content { padding: 3.4rem; } }
.belize-content .flag { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: #93A5E8; font-weight: 700; margin-bottom: .8rem; }
.belize-content h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 1rem; }
.belize-content p { color: rgba(255,255,255,.85); margin-bottom: 1.6rem; }
.belize-content p + p { margin-top: -.8rem; }

/* =============================================================
   12. Location / Map
   ============================================================= */
.location-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
@media (min-width: 960px) { .location-grid { grid-template-columns: 1fr 1fr; } }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; border: 0; width: 100%; }
.location-card { background: var(--gray); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.location-card .row { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1.2rem; }
.location-card .row svg { width: 26px; height: 26px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.location-card .row strong { display: block; font-size: 1rem; margin-bottom: .15rem; }
.location-card .row span { color: #4B5563; font-size: .92rem; }

/* =============================================================
   13. FAQ accordion
   ============================================================= */
.faq-list { display: grid; gap: .8rem; max-width: 760px; }
.faq-item { background: var(--gray); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.4rem; font-weight: 700; text-align: left; font-size: 1rem;
}
.faq-q svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform .3s var(--ease-out); color: var(--blue); }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-out); }
.faq-a-inner { padding: 0 1.4rem 1.3rem; color: #4B5563; font-size: .94rem; }
.faq-item.is-open .faq-a { max-height: 400px; }

/* =============================================================
   14. Process steps
   ============================================================= */
.steps-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .steps-grid { grid-template-columns: repeat(4,1fr); } }
.step-card { position: relative; padding-top: 1rem; }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 800;
  margin-bottom: 1rem;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step-card p { font-size: .9rem; color: #4B5563; }

/* =============================================================
   15. Symptom chips / Generic content blocks
   ============================================================= */
.chip-grid { display: grid; gap: .8rem; grid-template-columns: repeat(2,1fr); }
@media (min-width: 720px) { .chip-grid { grid-template-columns: repeat(3,1fr); } }
.chip {
  display: flex; align-items: center; gap: .7rem; background: var(--white); border: 1px solid #E5E9F2;
  border-radius: var(--radius-sm); padding: 1rem 1.1rem; font-weight: 600; font-size: .92rem;
}
.chip svg { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; }

.split-block { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .split-block { grid-template-columns: 1fr 1fr; } }
.split-block .figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.split-block .figure img { width: 100%; height: 100%; object-fit: cover; }
.split-block.is-reverse { direction: rtl; }
.split-block.is-reverse > * { direction: ltr; }

/* =============================================================
   16. Blog
   ============================================================= */
.blog-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1100px) { .blog-grid { grid-template-columns: repeat(3,1fr); } }
.blog-card { background: var(--white); border: 1px solid #E5E9F2; border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card .figure { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.blog-card .figure img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .category-tag { position: absolute; top: .8rem; left: .8rem; background: var(--blue); color: var(--white); font-size: .72rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.blog-card .body { padding: 1.4rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card .meta { display: flex; gap: .8rem; font-size: .78rem; color: #6B7280; margin-bottom: .6rem; flex-wrap: wrap; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.blog-card p { color: #4B5563; font-size: .9rem; flex-grow: 1; margin-bottom: 1rem; }
.blog-card .link { font-weight: 700; color: var(--red); font-size: .88rem; }
.blog-filters { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.blog-filter { padding: .55rem 1.1rem; border-radius: 999px; background: var(--gray); font-weight: 600; font-size: .85rem; transition: background .25s, color .25s; }
.blog-filter.is-active, .blog-filter:hover { background: var(--blue); color: var(--white); }

/* =============================================================
   17. Contact form
   ============================================================= */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.1fr .9fr; } }
.form-card { background: var(--gray); border-radius: var(--radius); padding: 2rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .5rem; }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm); border: 1px solid #D1D5DB;
  font: inherit; background: var(--white); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,60,143,.15); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .82rem; color: #6B7280; margin-top: .5rem; }

/* =============================================================
   18. Footer
   ============================================================= */
.site-footer { background: var(--blue-dark); color: rgba(255,255,255,.8); }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr; padding-block: 3rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(4,1fr); } }
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.footer-grid ul { display: grid; gap: .65rem; }
.footer-grid a { font-size: .9rem; transition: color .25s; }
.footer-grid a:hover { color: var(--white); }
.footer-brand .logo { color: var(--white); margin-bottom: .9rem; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.65); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.4rem; text-align: center; font-size: .82rem; color: rgba(255,255,255,.55); }

/* =============================================================
   19. Floating mobile bar + WhatsApp button
   ============================================================= */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; height: var(--mobilebar-h); z-index: 998;
  display: grid; grid-template-columns: repeat(3,1fr); background: var(--white);
  box-shadow: 0 -4px 20px rgba(31,41,55,.12);
}
@media (min-width: 960px) { .mobile-bar { display: none; } }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; font-size: .68rem; font-weight: 700; }
.mobile-bar a:nth-child(1) { color: var(--red); }
.mobile-bar a:nth-child(2) { color: var(--green); }
.mobile-bar a:nth-child(3) { color: var(--blue); }
.mobile-bar svg { width: 22px; height: 22px; }

.whatsapp-float {
  position: fixed; bottom: calc(var(--mobilebar-h) + 1rem); right: 1.1rem; z-index: 997;
  width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  transition: transform .3s var(--ease-out);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }
@media (min-width: 960px) { .whatsapp-float { bottom: 1.6rem; } }

/* =============================================================
   20. Breadcrumb / Page hero (sub-pages)
   ============================================================= */
.page-hero {
  padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 3rem;
  background: linear-gradient(120deg, var(--blue-dark), var(--blue));
  color: var(--white); position: relative; overflow: hidden;
}
.page-hero::before { content:""; position:absolute; inset:-50% -10%; background: radial-gradient(circle, rgba(196,74,54,.25), transparent 60%); }
.page-hero .breadcrumb { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; position: relative; }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3rem); max-width: 22ch; position: relative; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 56ch; margin-top: 1rem; font-size: 1.05rem; position: relative; }
.page-hero .btn-row { margin-top: 1.6rem; position: relative; }

.lang-toggle { display: inline-flex; gap: .4rem; background: rgba(255,255,255,.12); border-radius: 999px; padding: .25rem; }
.lang-toggle a { padding: .4rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.lang-toggle a.is-active { background: var(--white); color: var(--blue); }

/* =============================================================
   21. Bg variants
   ============================================================= */
.bg-gray { background: var(--gray); }
.bg-blue { background: var(--blue); color: var(--white); }

/* =============================================================
   22. View transitions
   ============================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
::view-transition-old(root) { animation-name: fadeOutUp; }
::view-transition-new(root) { animation-name: fadeInUp; }
@keyframes fadeOutUp { to { opacity: 0; transform: translateY(-10px); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } }

/* =============================================================
   23. Reduced motion — only intrusive
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-pill .dot { animation: none; }
  .urgent-band::before { display: none; }
}
