/* ==========================================================================
   1st Choice Urgent Care — Design System
   Author: front-end build
   Structure: tokens -> base -> layout -> components -> sections -> motion -> a11y
   Brand: light-first, blue = trust/structure, red = urgency/action.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------------- */
:root {
  /* Brand palette (OKLCH kept close to the supplied hex sources) */
  --red: #d81f26;
  --red-600: #b81219;
  --red-050: #fdecec;
  --blue: #3367b1;
  --blue-700: #274f8a;
  --blue-900: #12294f;
  --blue-050: #eef3fb;
  --ink: #070505;
  --ink-700: #33383f;
  --ink-500: #5b626c;

  /* Surfaces */
  --bg: #f9fafb;
  --surface: #ffffff;
  --surface-tint: #f2f5fa;
  --line: #e4e8ef;

  /* Semantic roles */
  --text: var(--ink);
  --text-muted: var(--ink-500);
  --text-on-blue: #ffffff;
  --text-on-red: #ffffff;
  --focus: #ffb703;

  /* Typography */
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.25rem);
  --text-xl: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.45rem + 1.3vw, 2.5rem);
  --text-3xl: clamp(2.25rem, 1.7rem + 2.4vw, 3.75rem);
  --text-hero: clamp(2.6rem, 1.9rem + 3.4vw, 5rem);

  /* Spacing scale (4/8 rhythm) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-section: clamp(3.5rem, 2.5rem + 4vw, 7rem);

  /* Radius */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadows (soft, medical-clean) */
  --shadow-sm: 0 1px 2px rgba(7, 5, 5, 0.06), 0 1px 3px rgba(7, 5, 5, 0.05);
  --shadow: 0 10px 30px -12px rgba(18, 41, 79, 0.22);
  --shadow-lg: 0 30px 60px -24px rgba(18, 41, 79, 0.32);
  --shadow-red: 0 12px 26px -10px rgba(216, 31, 38, 0.5);

  /* Motion */
  --dur-fast: 150ms;
  --dur: 260ms;
  --dur-slow: 620ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.1rem, 0.6rem + 2.4vw, 2.5rem);

  /* Z-index scale */
  --z-base: 1;
  --z-sticky: 100;
  --z-header: 200;
  --z-overlay: 300;
  --z-modal: 400;
}

/* ---------------------------------------------------------------------------
   2. Base / reset
   --------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Contain any horizontal bleed on the content column, NOT on an ancestor of the
   sticky nav (the nav is a sibling of <main> inside .masthead), so sticking works. */
.masthead > main {
  overflow-x: clip;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}

a {
  color: var(--blue-700);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: var(--z-modal);
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus {
  top: var(--space-4);
}

/* ---------------------------------------------------------------------------
   3. Layout helpers
   --------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--space-section);
}

.section--tint {
  background: var(--surface-tint);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--blue-700);
  letter-spacing: 0.01em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--red);
}

.section-head {
  max-width: 46rem;
  margin-bottom: var(--space-7);
}
.section-head h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-top: 0.6rem;
}
.section-head p {
  color: var(--text-muted);
  font-size: var(--text-lg);
  max-width: 60ch;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow {
  justify-content: center;
}

.lede {
  font-size: var(--text-lg);
  color: var(--ink-700);
}

/* ---------------------------------------------------------------------------
   4. Buttons
   --------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  line-height: 1;
  padding: 0.95rem 1.6rem;
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.btn svg {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

.btn--emergency {
  --btn-bg: var(--red);
  box-shadow: var(--shadow-red);
}
.btn--emergency:hover {
  --btn-bg: var(--red-600);
  box-shadow: 0 16px 34px -10px rgba(216, 31, 38, 0.6);
}

.btn--primary {
  --btn-bg: var(--blue);
  box-shadow: 0 12px 26px -12px rgba(51, 103, 177, 0.55);
}
.btn--primary:hover {
  --btn-bg: var(--blue-700);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--blue-900);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--blue);
  background: var(--blue-050);
}

.btn--block {
  width: 100%;
}

/* A pulsing dot to signal live / urgency on emergency buttons */
.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  position: relative;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-ring 1.8s var(--ease-out) infinite;
}

/* ---------------------------------------------------------------------------
   5. Announcement bar
   --------------------------------------------------------------------------- */
.announce {
  background: var(--red);
  color: var(--text-on-red);
  font-size: var(--text-sm);
  text-align: center;
}
.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.6rem var(--gutter);
}
.announce__tag {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
}
.announce__msg {
  font-weight: 500;
  /* Cap to the bar width so the promo copy wraps instead of clipping when
     the flex container centers (rather than stretches) its items. */
  max-width: 100%;
}
.announce__msg strong {
  font-weight: 700;
}
.countdown {
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: var(--ink);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
}

/* ---------------------------------------------------------------------------
   6. Header / navigation
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}
.site-header__row {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding-block: 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.brand img {
  height: 46px;
  width: auto;
}

/* Quick info strip inside the header */
.header-info {
  display: none;
  align-items: center;
  gap: 1.25rem;
  margin-left: 0.5rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
  color: var(--ink-700);
  font-size: var(--text-sm);
}
.header-info__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.header-info__item svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex: none;
}
.header-info__item strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.primary-nav {
  margin-left: auto;
}
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.primary-nav a {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ink-700);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out);
}
.primary-nav a:hover {
  color: var(--blue-900);
  background: var(--blue-050);
}
.primary-nav a[aria-current="page"] {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
}
.header-actions .btn {
  padding: 0.7rem 1.15rem;
  min-height: 44px;
  font-size: var(--text-sm);
}

/* Mobile nav toggle */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------------------------------------------------------------------------
   7. Hero
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) var(--space-section);
  overflow: hidden;
}
/* Structured background blocks (biofarma-style geometry) */
.hero::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -20%;
  width: 46vw;
  height: 46vw;
  max-width: 640px;
  max-height: 640px;
  background: radial-gradient(circle at 40% 40%, var(--blue-050), transparent 62%);
  z-index: 0;
}
.hero__grid {
  position: relative;
  z-index: var(--z-base);
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.95rem 0.45rem 0.55rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-700);
  margin-bottom: 1.4rem;
}
.hero__badge b {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--red);
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero h1 .accent {
  color: var(--blue);
}
.hero__sub {
  font-size: var(--text-lg);
  color: var(--ink-700);
  max-width: 34ch;
  margin-bottom: 1.8rem;
}

/* Value props as a checked list */
.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  margin-bottom: 2rem;
}
.value-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--blue-900);
}
.value-list svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex: none;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}
.hero__cta-note {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Hero media with layered depth */
.hero__media {
  position: relative;
  isolation: isolate;
}
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
/* Signature red "speed" wedge behind the photo */
.hero__media::after {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 62%;
  height: 62%;
  background: var(--red);
  border-radius: var(--radius-lg);
  z-index: -1;
  clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
  opacity: 0.12;
}
/* Floating open-now chip on the photo */
.hero__chip {
  position: absolute;
  left: -14px;
  bottom: 22px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 15rem;
}
.hero__chip .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
  flex: none;
}
.hero__chip b {
  font-family: var(--font-display);
  display: block;
  font-size: var(--text-sm);
  color: var(--ink);
}
.hero__chip span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ---------------------------------------------------------------------------
   8. Trust / stats band (drenched blue for contrast)
   --------------------------------------------------------------------------- */
.trust-band {
  background: var(--blue-900);
  color: var(--text-on-blue);
}
.trust-band__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.trust-stat {
  background: var(--blue-900);
  padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem);
  text-align: center;
}
.trust-stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
  line-height: 1;
  color: #fff;
  white-space: nowrap; /* keep compound figures like "3-in-1" on one line */
}
.trust-stat b .u {
  color: #ff9ea1;
}
.trust-stat span {
  display: block;
  margin-top: 0.4rem;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.78);
}

/* ---------------------------------------------------------------------------
   9. About / mission
   --------------------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.about__media {
  position: relative;
}
.about__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.about__media .badge-care {
  position: absolute;
  right: 12px;
  top: -14px;
  max-width: calc(100% - 24px);
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-sm);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-red);
  transform: rotate(3deg);
}
.about__body h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
}
.about__quote {
  font-size: var(--text-lg);
  color: var(--ink-700);
  border-radius: var(--radius);
}
.about__signature {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue-900);
}
.about__signature span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ---------------------------------------------------------------------------
   10. Services grid
   --------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 0.6rem + 1vw, 1.5rem);
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  transition: transform var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--blue-050);
  color: var(--blue);
  margin-bottom: 1rem;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.service-card:hover .service-card__icon {
  background: var(--blue);
  color: #fff;
}
.service-card__icon svg {
  width: 30px;
  height: 30px;
}
.service-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}
.service-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  color: var(--red-600);
  background: var(--red-050);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
}

.services-note {
  margin-top: var(--space-6);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--blue-050);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: var(--text-sm);
  color: var(--blue-900);
}
.services-note svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
  flex: none;
  margin-top: 1px;
}

/* ---------------------------------------------------------------------------
   11. Locations
   --------------------------------------------------------------------------- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.25rem, 0.8rem + 1.5vw, 2rem);
}
.location-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.location-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.location-card__head {
  position: relative;
  padding: 1.5rem 1.6rem 1.3rem;
  color: #fff;
  background: var(--blue);
}
.location-card--primary .location-card__head {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-700) 100%);
}
.location-card__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
}
.location-card__head h3 {
  color: #fff;
  font-size: var(--text-xl);
  font-weight: 800;
  margin: 0.35rem 0 0;
}
.location-card__flag {
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: var(--shadow-red);
}
.location-card__body {
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.location-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: var(--text-base);
  color: var(--ink-700);
}
.location-row svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex: none;
  margin-top: 3px;
}
.location-row a {
  color: var(--ink);
  font-weight: 600;
}
.location-row a:hover {
  color: var(--blue);
}
.location-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: auto;
  padding: 0 1.6rem 1.6rem;
}
.location-card__actions .btn {
  padding: 0.75rem 1rem;
  min-height: 46px;
  font-size: var(--text-sm);
}

/* ---------------------------------------------------------------------------
   12. Insurance & payments
   --------------------------------------------------------------------------- */
.insurance {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 1rem + 2vw, 3rem);
  box-shadow: var(--shadow-sm);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--blue-900);
  background: var(--blue-050);
  border: 1px solid #dbe5f5;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
}
.chip svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
}
.pay-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* ---------------------------------------------------------------------------
   13. CTA strip
   --------------------------------------------------------------------------- */
.cta-strip {
  position: relative;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.4rem + 3vw, 3.5rem);
  overflow: hidden;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.16), transparent 45%);
}
.cta-strip > * {
  position: relative;
}
.cta-strip h2 {
  color: #fff;
  font-size: var(--text-2xl);
  font-weight: 800;
  margin: 0;
}
.cta-strip p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0.5rem 0 0;
  max-width: 46ch;
}
.cta-strip .btn--emergency {
  --btn-bg: #fff;
  --btn-fg: var(--red-600);
  box-shadow: 0 14px 30px -12px rgba(7, 5, 5, 0.4);
}
.cta-strip .btn--emergency:hover {
  --btn-bg: #fff;
  --btn-fg: var(--red);
}

/* ---------------------------------------------------------------------------
   14. Footer
   --------------------------------------------------------------------------- */
.site-footer {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.82);
  padding-block: var(--space-8) var(--space-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
/* Text wordmark used on dark surfaces (the logo image is light-only) */
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
}
.wordmark .num {
  color: #ff5b60;
}
.wordmark .sup {
  font-size: 0.7em;
  color: #fff;
  transform: translateY(-0.35em);
}
.wordmark .word {
  color: #fff;
}
.footer-about p {
  margin-top: 1rem;
  font-size: var(--text-sm);
  max-width: 34ch;
}
.footer-col h4 {
  color: #fff;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-sm);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-col a:hover {
  color: #fff;
}
.footer-col .muted {
  font-size: var(--text-sm);
  line-height: 1.6;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding-top: var(--space-5);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.62);
}

/* ---------------------------------------------------------------------------
   15. Page hero (internal pages)
   --------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  background: var(--blue-900);
  color: #fff;
  /* Pull up beneath the sticky nav, then pad the top so content clears it */
  margin-top: clamp(-88px, -6vw, -66px);
  padding-block: clamp(6.5rem, 5rem + 4vw, 8.5rem) clamp(3rem, 2rem + 4vw, 5rem);
  overflow: hidden;
}
/* Background photo sits at the very back */
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Semi-transparent blue layer over the photo keeps white text readable */
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    118deg,
    rgba(18, 41, 79, 0.95) 0%,
    rgba(18, 41, 79, 0.85) 42%,
    rgba(51, 103, 177, 0.72) 100%
  );
}
/* Red accent glow floats above the blue layer */
.page-hero::before {
  content: "";
  position: absolute;
  right: -6%;
  top: -30%;
  z-index: 2;
  width: 30vw;
  height: 30vw;
  max-width: 380px;
  max-height: 380px;
  background: radial-gradient(circle, rgba(216, 31, 38, 0.4), transparent 60%);
}
.page-hero__inner {
  position: relative;
  z-index: 3;
  max-width: 52rem;
}
.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}
.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
}
.breadcrumbs a:hover {
  color: #fff;
}
.page-hero h1 {
  color: #fff;
  font-size: var(--text-3xl);
  font-weight: 800;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-lg);
  max-width: 52ch;
  margin: 0;
}

/* ---------------------------------------------------------------------------
   16. Feature / why-us list (about page)
   --------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 0.6rem + 1vw, 1.75rem);
}
.feature {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--red-050);
  color: var(--red);
  margin-bottom: 0.9rem;
}
.feature__icon svg {
  width: 26px;
  height: 26px;
}
.feature h3 {
  font-size: var(--text-lg);
  margin-bottom: 0.4rem;
}
.feature p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

/* Full service catalog list */
.catalog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.catalog-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.catalog-item:hover {
  border-color: #cdd8ea;
  box-shadow: var(--shadow-sm);
}
.catalog-item svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
  flex: none;
  margin-top: 2px;
}
.catalog-item b {
  font-family: var(--font-display);
  display: block;
  font-size: var(--text-base);
  color: var(--ink);
}
.catalog-item span {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ---------------------------------------------------------------------------
   17. Motion — reveal on scroll (enhances already-visible content)
   --------------------------------------------------------------------------- */
@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

.reveal {
  opacity: 1;
  transition: opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}
/* Only hide when JS confirms it will animate them back in */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(22px);
}
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 {
  transition-delay: 80ms;
}
.reveal-delay-2 {
  transition-delay: 160ms;
}
.reveal-delay-3 {
  transition-delay: 240ms;
}

/* ---------------------------------------------------------------------------
   18. Responsive — mobile-first breakpoints
   --------------------------------------------------------------------------- */

/* Tablet nav still collapsed; reveal header quick-info earlier on wide screens */
@media (max-width: 960px) {
  .primary-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 84vw);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    padding: 5.5rem 1.5rem 2rem;
    transform: translateX(102%);
    transition: transform var(--dur) var(--ease-out);
    z-index: var(--z-overlay);
    overflow-y: auto;
  }
  .primary-nav.is-open {
    transform: translateX(0);
  }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }
  .primary-nav a {
    font-size: var(--text-lg);
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
  }
  .nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(7, 5, 5, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease-out), visibility var(--dur);
    z-index: var(--z-sticky);
  }
  .nav-scrim.is-open {
    opacity: 1;
    visibility: visible;
  }
}

@media (min-width: 961px) {
  .nav-toggle {
    display: none;
  }
  .nav-scrim {
    display: none;
  }
}

/* Small phones: stack tight rows so nothing clips at the viewport edge */
@media (max-width: 640px) {
  /* Column layout lets the promo line wrap to container width reliably */
  .announce__inner {
    flex-direction: column;
    gap: 0.35rem;
    padding-block: 0.55rem;
  }
  .announce__msg {
    text-align: center;
  }
}

@media (max-width: 520px) {
  .value-list {
    flex-direction: column;
    gap: 0.65rem;
  }
  .hero__cta .btn {
    flex: 1 1 100%;
  }
}

@media (min-width: 700px) {
  .trust-band__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .cta-strip {
    grid-template-columns: 1.4fr auto;
  }
  .insurance {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

@media (min-width: 860px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .about__grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  }
}

@media (min-width: 1120px) {
  .header-info {
    display: flex;
  }
}

/* ---------------------------------------------------------------------------
   19. Accessibility — reduced motion
   --------------------------------------------------------------------------- */
/* ==========================================================================
   20. Biofarma-style masthead — floating nav + full-bleed hero + card ticker
   ========================================================================== */

/* Floating rounded navbar (sits over the hero, like biofarma.com.ar) */
.masthead {
  position: relative;
}
/* Sticky (not absolute) keeps the pill at viewport width — no overflow — while
   still floating; the hero is pulled up beneath it to get the overlap look. */
.floating-nav {
  position: sticky;
  top: clamp(0.6rem, 0.3rem + 1vw, 1rem);
  margin-top: clamp(0.6rem, 0.3rem + 1vw, 1rem);
  max-width: 100vw;
  z-index: var(--z-header);
}
.floating-nav__inner {
  width: min(var(--container), calc(100vw - 2 * var(--gutter)));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(150%) blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 40px -18px rgba(18, 41, 79, 0.35);
  padding: 0.55rem 0.7rem 0.55rem 1.35rem;
}
.floating-nav .brand img {
  height: 42px;
}
/* Phone icon only appears in the compact mobile nav */
.nav-call__icon {
  display: none;
}
.floating-nav .primary-nav {
  margin-left: auto;
}
/* On mobile the nav collapses to a fixed drawer, so push the actions right */
@media (max-width: 960px) {
  .floating-nav .header-actions {
    margin-left: auto;
  }
}

/* Full-bleed hero with a bright clinical photo and left-aligned copy */
.hero-bf {
  position: relative;
  min-height: clamp(620px, 88vh, 940px);
  display: flex;
  align-items: center;
  /* Pull up beneath the sticky nav so the photo sits behind the floating pill */
  margin-top: clamp(-88px, -6vw, -66px);
  /* Top clears the floating nav; bottom reserves room for the overlapping ticker */
  padding-block: clamp(7rem, 6rem + 6vw, 11rem) clamp(160px, 14vw, 240px);
  overflow: hidden;
  isolation: isolate;
}
.hero-bf__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bf__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
/* Left-to-right scrim keeps the dark headline readable over the photo */
.hero-bf__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(249, 250, 251, 0.97) 0%,
    rgba(249, 250, 251, 0.9) 28%,
    rgba(249, 250, 251, 0.55) 48%,
    rgba(249, 250, 251, 0) 68%
  );
}
.hero-bf__content {
  max-width: 34rem;
}
.hero-bf__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--blue-700);
  margin-bottom: 1.1rem;
}
.hero-bf__kicker .pulse-dot {
  color: var(--red);
}
.hero-bf h1 {
  font-size: clamp(2.5rem, 1.7rem + 3.6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.03;
  color: var(--blue-900);
  margin-bottom: 1.2rem;
}
.hero-bf h1 .accent {
  color: var(--red);
}
.hero-bf__sub {
  font-size: var(--text-lg);
  color: var(--ink-700);
  max-width: 32ch;
  margin-bottom: 1.9rem;
}
.hero-bf__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Card ticker that overlaps the bottom edge of the hero */
.ticker {
  position: relative;
  z-index: 3;
  margin-top: clamp(-190px, -13vw, -150px);
  padding-bottom: var(--space-7);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 4%,
    #000 96%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 4%,
    #000 96%,
    transparent 100%
  );
}
.ticker__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding-inline: var(--gutter);
  animation: ticker-scroll 46s linear infinite;
}
.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track {
  animation-play-state: paused;
}
@keyframes ticker-scroll {
  to {
    transform: translateX(-50%);
  }
}

.tick-card {
  flex: 0 0 clamp(240px, 24vw, 310px);
  height: clamp(280px, 26vw, 330px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  background: var(--surface);
}
/* Stat / info card (white) */
.tick-card--stat {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 1.6rem;
  border: 1px solid var(--line);
}
.tick-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--blue);
  margin-bottom: auto;
}
.tick-card__top svg {
  width: 30px;
  height: 30px;
}
.tick-card__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 2rem + 2.4vw, 3.9rem);
  line-height: 0.95;
  color: var(--blue-900);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.tick-card__num small {
  font-size: 0.4em;
  font-weight: 700;
  color: var(--ink-500);
  letter-spacing: 0;
}
.tick-card__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin: 0.9rem 0 0.3rem;
}
.tick-card__text {
  font-size: var(--text-sm);
  color: var(--ink-700);
  margin: 0;
}
/* Photo card */
.tick-card--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tick-card--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 16, 34, 0.82) 0%,
    rgba(7, 16, 34, 0.25) 42%,
    rgba(7, 16, 34, 0) 70%
  );
}
.tick-card__caption {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.35rem;
  z-index: 2;
  color: #fff;
}
.tick-card__caption .cap-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ff9ea1;
  display: block;
  margin-bottom: 0.25rem;
}
.tick-card__caption b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  line-height: 1.15;
  display: block;
}

/* Large statement / phrase section (biofarma "Somos un ecosistema...") */
.phrase {
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
}
.phrase__inner {
  max-width: 60rem;
}
.phrase p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 1.1rem + 2.4vw, 3rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--blue-900);
  text-wrap: balance;
  margin: 0;
}
.phrase p .hl-red {
  color: var(--red);
}
.phrase p .hl-blue {
  color: var(--blue);
}
.phrase .phrase__meta {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--blue-900);
}
.phrase__meta span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Two-tone section headings (accent word in red) */
.h-tone .tone-red {
  color: var(--red);
}

/* Nav offset for internal pages whose hero is not full-bleed */
.has-floating-nav {
  padding-top: clamp(5.5rem, 4.5rem + 3vw, 7rem);
}

@media (max-width: 860px) {
  .hero-bf__bg img {
    object-position: 78% center;
  }
  .hero-bf__scrim {
    background: linear-gradient(
      170deg,
      rgba(249, 250, 251, 0.97) 0%,
      rgba(249, 250, 251, 0.85) 40%,
      rgba(249, 250, 251, 0.55) 70%,
      rgba(249, 250, 251, 0.35) 100%
    );
  }
}

@media (max-width: 640px) {
  .floating-nav__inner {
    padding: 0.4rem 0.5rem 0.4rem 0.85rem;
    gap: 0.5rem;
  }
  .floating-nav .brand img {
    height: 34px;
  }
  .floating-nav .header-actions {
    gap: 0.45rem;
  }
  /* Nav "Call Now" collapses to a round icon button to fit narrow screens */
  .floating-nav .nav-call {
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex: none;
  }
  .floating-nav .nav-call .pulse-dot,
  .floating-nav .nav-call__text {
    display: none;
  }
  .floating-nav .nav-call__icon {
    display: block;
    width: 20px;
    height: 20px;
  }
  .ticker {
    margin-top: -120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  /* Content never depends on a transition to appear */
  .js-reveal .reveal {
    opacity: 1;
    transform: none;
  }
  .pulse-dot::after {
    display: none;
  }
  /* Ticker becomes a manually scrollable row instead of auto-marquee */
  .ticker {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .ticker__track {
    animation: none;
    width: max-content;
  }
  .tick-card {
    scroll-snap-align: center;
  }
}

@media print {
  .announce,
  .site-header,
  .cta-strip,
  .nav-toggle {
    display: none;
  }
}

/* ==========================================================================
   21. Reference-matched content sections (showcase, brands, geo map, FAQ)
   ========================================================================== */

/* Red uppercase kicker, as used across the reference sections */
.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
}

/* --- Showcase: big light headline + tall image cards (areas reference) --- */
.showcase__head {
  max-width: 60rem;
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.5rem);
}
.showcase__head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 1.3rem + 3.2vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--blue-900);
  max-width: 18ch;
}
.showcase__sub {
  font-size: var(--text-lg);
  color: var(--ink-700);
  max-width: 62ch;
  margin-top: 1.3rem;
}
.showcase__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
.showcard {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 3.7;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.showcard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 640ms var(--ease-out);
}
.showcard:hover img {
  transform: scale(1.06);
}
.showcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 16, 34, 0.85) 0%,
    rgba(7, 16, 34, 0.28) 45%,
    rgba(7, 16, 34, 0.05) 100%
  );
}
.showcard__mark {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  color: var(--red);
  box-shadow: var(--shadow-sm);
}
.showcard__mark svg {
  width: 22px;
  height: 22px;
}
.showcard__label {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.35rem;
  z-index: 2;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: 1.1;
}

/* --- Brands / services carousel (partners reference) --- */
.brands__head {
  max-width: 62rem;
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3rem);
}
.brands__head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--blue-900);
}
.brands__head p {
  font-size: var(--text-lg);
  color: var(--ink-700);
  max-width: 68ch;
  margin-top: 0.85rem;
}
.brand-carousel {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.brand-carousel__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding-inline: var(--gutter);
  animation: ticker-scroll 54s linear infinite;
}
.brand-carousel:hover .brand-carousel__track,
.brand-carousel:focus-within .brand-carousel__track {
  animation-play-state: paused;
}
.brand-card {
  flex: 0 0 clamp(228px, 22vw, 272px);
  height: clamp(212px, 19vw, 240px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.brand-card:hover {
  border-color: #cdd8ea;
  box-shadow: var(--shadow);
}
.brand-card__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.brand-card__check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-900);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.brand-card__check svg {
  width: 14px;
  height: 14px;
}
.brand-card__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-700);
}
.brand-card__icon {
  margin: auto;
  color: var(--blue);
}
.brand-card__icon svg {
  width: 58px;
  height: 58px;
}
.brand-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--blue-900);
  text-align: center;
}

/* --- Geo / locations coverage map (Presencia regional reference) --- */
.geo__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.geo__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
  color: var(--blue-900);
  margin: 0;
}
.geo__title .tone-red {
  color: var(--red);
}
.geo__sub {
  font-size: var(--text-lg);
  color: var(--ink-700);
  max-width: 32ch;
  margin: 1.2rem 0 1.9rem;
}
.geo__map {
  position: relative;
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 60% 40%, #eaf0fb 0%, #f5f2f6 60%, #fbeff0 100%);
  padding: clamp(1rem, 0.5rem + 2vw, 2rem);
  overflow: hidden;
}
.geo__map img {
  width: 100%;
  height: auto;
  display: block;
}
/* Pin badges overlaid on the map */
.geo-pin {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 0.32rem 0.7rem 0.32rem 0.34rem;
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  color: var(--blue-900);
  white-space: nowrap;
}
.geo-pin__dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  flex: none;
}
.geo-pin__dot svg {
  width: 13px;
  height: 13px;
  color: #fff;
}
.geo-pin--a {
  top: 58%;
  left: 40%;
}
.geo-pin--b {
  top: 71%;
  left: 30%;
}

/* --- FAQ (accordion + aside card) --- */
.faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  align-items: start;
}
.faq__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  letter-spacing: -0.025em;
  color: var(--blue-900);
  margin: 0 0 clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item[open] {
  border-color: #cdd8ea;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--blue-900);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .chev {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--blue);
  transition: transform var(--dur) var(--ease-out);
}
.faq-item[open] summary .chev {
  transform: rotate(180deg);
}
.faq-item__body {
  padding: 0 1.4rem 1.25rem;
  color: var(--ink-700);
  font-size: var(--text-base);
  max-width: 68ch;
}
.faq-item__body p {
  margin: 0;
}
.faq-aside {
  background: var(--blue-050);
  border: 1px solid #dbe5f5;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.2rem);
}
.faq-aside h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--blue-900);
  margin: 0 0 0.75rem;
}
.faq-aside p {
  color: var(--ink-700);
  font-size: var(--text-base);
  margin: 0 0 1.4rem;
}

@media (min-width: 820px) {
  .geo__grid {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .faq__grid {
    grid-template-columns: 1.7fr 1fr;
  }
}

/* Reduced motion: brand carousel becomes a manual scroll row */
@media (prefers-reduced-motion: reduce) {
  .brand-carousel {
    overflow-x: auto;
  }
  .brand-carousel__track {
    animation: none;
  }
}

/* ==========================================================================
   22. Blog / articles (novedades reference)
   ========================================================================== */
.blog-intro {
  max-width: 60rem;
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3rem);
}
.blog-intro p {
  font-size: var(--text-lg);
  color: var(--ink-700);
  max-width: 60ch;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(1.25rem, 1rem + 1.5vw, 2rem);
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.post-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 620ms var(--ease-out);
}
.post-card:hover .post-card__media img {
  transform: scale(1.05);
}
.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.4rem 1.5rem 1.5rem;
}
.post-card__tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.6rem;
}
.post-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: 1.15;
  color: var(--blue-900);
  margin: 0 0 0.6rem;
}
.post-card__excerpt {
  font-size: var(--text-sm);
  color: var(--ink-700);
  margin: 0 0 1.2rem;
  flex: 1;
}
.post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--red-600);
}
.post-card__more svg {
  width: 18px;
  height: 18px;
  transition: transform var(--dur) var(--ease-out);
}
.post-card:hover .post-card__more svg {
  transform: translateX(3px);
}

/* Split CTA band (image + gradient card), as on the reference */
.cta-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.cta-band__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 240px;
}
.cta-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-band__panel {
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 1.2rem + 3vw, 3rem);
  background: linear-gradient(135deg, #eaf0fb 0%, #f3eef6 55%, #fbeef0 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-band__panel h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--blue-900);
  margin: 0 0 1.6rem;
}
@media (min-width: 820px) {
  .cta-band {
    grid-template-columns: 1fr 1fr;
  }
}
