/* ==========================================================================
   Dr. Carlos Escobar — Static site styles
   Future-proof notes:
   - Single stylesheet, no vendor deps
   - CSS variables enable theming and easy redesign
   ========================================================================== */

:root {
  color-scheme: light dark;

  --bg: #0b1220;
  --bg-elev: rgba(255, 255, 255, 0.06);
  --text: #e9eefc;
  --muted: rgba(233, 238, 252, 0.78);
  --border: rgba(233, 238, 252, 0.14);

  /* Brand (Pantone 315 C) */
  --brand: #006487; /* rgb(0,100,135) */
  /* Secondary brand highlight (derived) */
  --brand-2: #00a7c6;
  --accent: #70ffdd;

  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --container: 1120px;
  --gutter: 20px;

  /* Header height offset used for layout + section sizing */
  --header-offset: 76px;
  /* Space reserved when the footer bar is visible */
  --footer-offset: 56px;

  --focus: 0 0 0 3px color-mix(in srgb, var(--brand) 55%, transparent);
}

/* Explicit light theme (also used when user toggles) */
html[data-theme="light"] {
  --bg: #f7f9ff;
  --bg-elev: rgba(16, 24, 40, 0.06);
  --text: #0e172b;
  --muted: rgba(14, 23, 43, 0.74);
  --border: rgba(14, 23, 43, 0.14);
  --shadow: 0 18px 55px rgba(14, 23, 43, 0.18);
}

/* Automatic when no explicit theme set */
@media (prefers-color-scheme: light) {
  html:not([data-theme]) {
    --bg: #f7f9ff;
    --bg-elev: rgba(16, 24, 40, 0.06);
    --text: #0e172b;
    --muted: rgba(14, 23, 43, 0.74);
    --border: rgba(14, 23, 43, 0.14);
    --shadow: 0 18px 55px rgba(14, 23, 43, 0.18);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--header-offset);
  /* Always reserve space for the fixed footer (prevents CTA overlap). */
  padding-bottom: calc(var(--footer-offset) + 24px + env(safe-area-inset-bottom, 0px));
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.55;
  background: radial-gradient(1000px 600px at 25% 10%, rgba(47, 107, 255, 0.28), transparent 55%),
    radial-gradient(900px 650px at 90% 25%, rgba(25, 194, 255, 0.22), transparent 55%),
    radial-gradient(700px 450px at 70% 100%, rgba(112, 255, 221, 0.12), transparent 55%), var(--bg);
  color: var(--text);
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 10px;
}

.container {
  width: min(var(--container), calc(100% - (2 * var(--gutter))));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  border-radius: 12px;
}

.skip-link:focus {
  left: 12px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  /* Fallback first, then the fancy translucent mix */
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.brand__logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 30px color-mix(in srgb, var(--brand) 25%, transparent);
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--border));
}

.brand__logo svg {
  width: 22px;
  height: 22px;
  color: white;
}

.brand__logo-img {
  width: 22px;
  height: 22px;
  display: block;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__title {
  font-weight: 720;
  letter-spacing: -0.02em;
}

.brand__subtitle {
  font-size: 0.92rem;
  color: var(--muted);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  text-decoration: none !important;
  cursor: pointer;
  user-select: none;
  font-weight: 640;
}

.btn:hover {
  text-decoration: none;
  border-color: color-mix(in srgb, var(--brand) 55%, var(--border));
  background: color-mix(in srgb, var(--bg-elev) 70%, transparent);
}

.btn--primary {
  background: var(--brand);
  border-color: transparent;
  color: white;
  box-shadow: 0 18px 45px color-mix(in srgb, var(--brand) 24%, transparent);
}

.btn--primary:hover {
  background: color-mix(in srgb, var(--brand) 85%, transparent);
}

.btn--ghost {
  background: transparent;
  box-shadow: none;
}

.icon-btn {
  width: 44px;
  height: 44px;
  padding: 0;
}

.icon {
  width: 18px;
  height: 18px;
}

/* Nav */
.nav-toggle {
  display: inline-flex;
}

.nav {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  transform: translateX(102%);
  transition: transform 220ms ease;
  padding: 20px;
  border-left: 1px solid var(--border);
  backdrop-filter: blur(16px);
  /* Must sit above the fixed header (z-index: 100) so the close button is visible */
  z-index: 200;
  /* If the panel is taller than the viewport, allow scrolling so bottom items (e.g. social links) are reachable */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav[data-open="true"] {
  transform: translateX(0);
}

.nav__panel {
  margin-left: auto;
  width: min(520px, 100%);
  background: color-mix(in srgb, var(--bg) 84%, white 6%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px;
  /* Keep the menu within the viewport; make its contents scroll when needed */
  max-height: calc(100vh - 40px);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.nav__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.nav__title {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.nav__list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}

.nav__list a {
  display: block;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none !important;
}

.nav__list a:hover,
.nav__list a[aria-current="page"] {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--border));
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.nav__note {
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  color: var(--muted);
}

.social {
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
  flex-wrap: wrap;
}

.social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none !important;
}

.social a:hover {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--border));
}

/* Hero */
.hero {
  padding: 56px 0 18px;
  background-color: var(--bg);
  /* Brand-tinted background image (placeholder) + overlays for readability */
  background-image:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--bg) 28%, transparent) 0%,
      color-mix(in srgb, var(--bg) 72%, transparent) 48%,
      var(--bg) 100%
    ),
    radial-gradient(
      900px 600px at 20% 12%,
      color-mix(in srgb, var(--brand) 34%, transparent),
      transparent 62%
    ),
    radial-gradient(
      800px 560px at 86% 20%,
      color-mix(in srgb, var(--brand-2) 28%, transparent),
      transparent 65%
    ),
    url("/assets/images/hero-bg.webp");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border);
  min-height: calc(100vh - var(--header-offset));
  min-height: calc(100svh - var(--header-offset));
  display: flex;
}

/* Variant hero backgrounds (e.g., landing pages) */
.hero--laser-holep {
  background-image:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--bg) 28%, transparent) 0%,
      color-mix(in srgb, var(--bg) 72%, transparent) 48%,
      var(--bg) 100%
    ),
    radial-gradient(
      900px 600px at 20% 12%,
      color-mix(in srgb, var(--brand) 34%, transparent),
      transparent 62%
    ),
    radial-gradient(
      800px 560px at 86% 20%,
      color-mix(in srgb, var(--brand-2) 28%, transparent),
      transparent 65%
    ),
    url("/assets/images/laser-holep-bg.jpeg");
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  flex: 1;
}

.hero__content {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6px 0;
}

.badge {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 84%, white 6%);
  color: var(--muted);
  width: fit-content;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--brand-2));
  box-shadow: 0 0 0 5px rgba(112, 255, 221, 0.12);
}

.hero__title {
  margin: 14px 0 8px;
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 860;
  text-wrap: balance;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

/* Keep the hero title solid white in dark mode */
html:not([data-theme="light"]) .hero__title {
  color: #fff;
}

/* Optional accent gradient (light theme only) */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  html[data-theme="light"] .hero__title {
    background-image: linear-gradient(
      135deg,
      color-mix(in srgb, var(--text) 92%, white 8%),
      color-mix(in srgb, var(--accent) 30%, var(--text))
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero__subtitle {
  margin: 0;
  font-size: clamp(1.12rem, 2.2vw, 1.4rem);
  color: var(--muted);
  max-width: 60ch;
  text-wrap: balance;
}

.hero__lead {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  max-width: 72ch;
}

.fade-rotator {
  position: relative;
  min-height: 3.3em;
}

.fade-rotator__item {
  opacity: 0;
  transform: translateY(12px);
  position: absolute;
  inset: 0;
  transition: opacity 900ms cubic-bezier(0.2, 0.75, 0.2, 1), transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1);
  margin: 0;
  color: color-mix(in srgb, var(--text) 92%, var(--muted));
  font-size: clamp(1.12rem, 2.3vw, 1.35rem);
  line-height: 1.55;
  text-wrap: balance;
}

.fade-rotator__item[data-active="true"] {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 18px;
  justify-content: center;
}

.card {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 82%, white 6%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.portrait__img {
  aspect-ratio: 4/5;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand) 25%, transparent),
    color-mix(in srgb, var(--brand-2) 14%, transparent)
  );
  overflow: hidden;
}

.portrait__meta {
  display: grid;
  gap: 6px;
}

.portrait__name {
  font-weight: 820;
  letter-spacing: -0.02em;
}

.portrait__note {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Sections */
.section {
  padding: 56px 0 18px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  min-height: calc(100vh - var(--header-offset));
  min-height: calc(100svh - var(--header-offset));
}

/* Ensure anchor navigation doesn't hide under fixed header */
section[id] {
  scroll-margin-top: calc(var(--header-offset) + 12px);
}

.section--alt {
  /* Keep the same clean panel background, without the previous gradient band */
  background: var(--bg);
}

.section.section--about-hero {
  /* Keep the original `.section` layout, only add hero-like background */
  background-color: var(--bg);
  background-image:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--bg) 28%, transparent) 0%,
      color-mix(in srgb, var(--bg) 72%, transparent) 48%,
      var(--bg) 100%
    ),
    radial-gradient(
      900px 600px at 20% 12%,
      color-mix(in srgb, var(--brand) 34%, transparent),
      transparent 62%
    ),
    radial-gradient(
      800px 560px at 86% 20%,
      color-mix(in srgb, var(--brand-2) 28%, transparent),
      transparent 65%
    ),
    url("/assets/images/hero-bg-about.webp");
  background-size: cover;
  background-position: center;
}

.section__head {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.kicker {
  font-weight: 740;
  color: color-mix(in srgb, var(--brand-2) 60%, var(--muted));
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.6vw, 2.1rem);
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  font-size: clamp(1.06rem, 1.15vw, 1.18rem);
  line-height: 1.62;
  color: var(--muted);
  max-width: 70ch;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.about__grid {
  grid-template-columns: 1.25fr 0.75fr;
}

.about__grid > :last-child {
  align-self: start;
}

.prose {
  color: var(--muted);
  font-size: clamp(1.02rem, 0.9vw, 1.12rem);
  line-height: 1.7;
}

.prose p {
  margin: 0 0 12px;
}

.pill-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--bg) 82%, white 6%);
  color: var(--muted);
}

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.diseases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.disease {
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 84%, white 6%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
}

.disease__icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-inline: auto;
  /* Neutral surface so blue-ish PNG icons stand out */
  background: color-mix(in srgb, white 88%, var(--bg) 12%);
  border: 1px solid color-mix(in srgb, var(--border) 70%, rgba(0, 0, 0, 0.22));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.disease__icon img {
  width: 22px;
  height: 22px;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.22));
}

.disease__title {
  margin: 0;
  font-weight: 780;
  letter-spacing: -0.01em;
  line-height: 1.25;
  /* Keep titles aligned across the grid (reserve up to 2 lines) */
  min-height: 2.5em;
  text-align: center;
}

.disease__desc {
  margin: 0;
  color: var(--muted);
  text-align: left;
}

.service {
  padding: 16px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 84%, white 6%);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.service__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 55%, transparent), rgba(255, 255, 255, 0.05));
  border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--border));
}

.service__title {
  margin: 0;
  font-weight: 760;
  letter-spacing: -0.01em;
}

.service__desc {
  margin: 6px 0 0;
  color: var(--muted);
}

/* FAQ */
.accordion {
  display: grid;
  gap: 12px;
}

.accordion__item {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 84%, white 6%);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.accordion__button {
  width: 100%;
  background: transparent;
  color: inherit;
  border: 0;
  padding: 16px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 720;
  font-size: 1.1rem;
  line-height: 1.25;
  text-align: left;
}

.accordion__button:hover {
  background: color-mix(in srgb, var(--brand) 8%, transparent);
}

.accordion__content {
  padding: 0 16px 16px;
  color: var(--muted);
  display: none;
}

.accordion__item[data-open="true"] .accordion__content {
  display: block;
}

.chev {
  transition: transform 180ms ease;
}

.accordion__item[data-open="true"] .chev {
  transform: rotate(180deg);
}

/* Footer */
.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  border-top: 1px solid var(--border);
  padding: 10px 0;
  color: var(--muted);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  transition: transform 220ms ease, opacity 220ms ease;
}

.footer[data-visible="false"] {
  transform: translateY(115%);
  opacity: 0;
  pointer-events: none;
}

.footer__row {
  display: grid;
  gap: 0;
  margin-top: 0;
  font-size: 0.95rem;
}

/* Floating WhatsApp */
.fab {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, #25d366 40%, var(--border));
  background: color-mix(in srgb, var(--bg) 86%, white 8%);
  box-shadow: var(--shadow);
  text-decoration: none !important;
}

.footer[data-visible="true"] ~ .fab {
  bottom: calc(18px + var(--footer-offset) + env(safe-area-inset-bottom, 0px));
}

.fab__dot {
  position: relative;
  z-index: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #25d366;
  box-shadow:
    0 0 0 6px rgba(37, 211, 102, 0.14),
    0 0 14px rgba(37, 211, 102, 0.55);
  animation: fabDotPulse 1400ms ease-in-out infinite;
  will-change: transform, box-shadow, filter;
}

.fab__dot::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: rgba(37, 211, 102, 0.2);
  filter: blur(0.5px);
  pointer-events: none;
  z-index: -1;
  animation: fabDotRing 1400ms ease-out infinite;
  will-change: transform, opacity;
}

.fab:hover .fab__dot {
  animation-duration: 1100ms;
}

.fab:hover .fab__dot::before {
  animation-duration: 1100ms;
}

@keyframes fabDotPulse {
  0%,
  100% {
    transform: scale(1);
    filter: saturate(1);
    box-shadow:
      0 0 0 6px rgba(37, 211, 102, 0.14),
      0 0 14px rgba(37, 211, 102, 0.55);
  }
  50% {
    transform: scale(1.16);
    filter: saturate(1.15);
    box-shadow:
      0 0 0 9px rgba(37, 211, 102, 0.08),
      0 0 22px rgba(37, 211, 102, 0.75);
  }
}

@keyframes fabDotRing {
  0% {
    transform: scale(0.65);
    opacity: 0.55;
  }
  60% {
    opacity: 0.12;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.fab__label {
  font-weight: 740;
}

/* Small screens */
@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .diseases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .diseases {
    grid-template-columns: 1fr;
  }

  .brand__subtitle {
    display: none;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   Clínica del VPH (page-scoped)
   ========================================================================== */

.vph-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.vph-grid--single {
  grid-template-columns: 1fr;
}

@media (max-width: 980px) {
  .vph-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero-like background (theme-blended) */
.hero--vph {
  /* Pull the hero under the fixed header so there's no visible gap */
  margin-top: calc(-1 * var(--header-offset));
  padding-top: calc(56px + var(--header-offset));
  /* Since we pull the hero up, ensure it still fills the viewport */
  min-height: 100vh;
  min-height: 100svh;
  background-image:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--bg) 28%, transparent) 0%,
      color-mix(in srgb, var(--bg) 72%, transparent) 48%,
      var(--bg) 100%
    ),
    radial-gradient(
      900px 600px at 20% 12%,
      color-mix(in srgb, var(--brand) 34%, transparent),
      transparent 62%
    ),
    radial-gradient(
      800px 560px at 86% 20%,
      color-mix(in srgb, var(--brand-2) 28%, transparent),
      transparent 65%
    ),
    url("/assets/images/hero-vph-bg.webp");
}

/* Simple carousel (scroll-snap) */
.vph-carousel {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 84%, white 6%);
}

.vph-carousel__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.vph-carousel__track::-webkit-scrollbar {
  display: none;
}

.vph-carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.vph-carousel__img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.vph-carousel__nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
}

.vph-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-elev) 70%, transparent);
  display: inline-block;
  cursor: pointer;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.vph-carousel__dot:hover {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--border));
}

@media (max-width: 980px) {
  .vph-carousel__img {
    height: 280px;
  }
}
