/* ==========================================================================
   SECTIONS — Nibiru Medical Center v4
   ========================================================================== */

/* Anchor offset for the sticky header */
:root { --header-h: 72px; }
[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

/* ---------- TOP BAR ---------- */
.topbar { background: var(--night); color: rgba(255,255,255,.72); font-size: .8rem; 
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar svg { width: 15px; height: 15px; color: var(--teal-bright); flex: none; }
.topbar p { margin: 0; }
.topbar__loc { display: inline-flex; align-items: center; gap: 8px; line-height: 1.25; }
.topbar__meta { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px 18px; }
.topbar__hours { display: inline-flex; align-items: center; gap: 7px; }
.topbar__hours b { color: rgba(255,255,255,.92); font-weight: 600; }
.topbar a { color: rgba(255,255,255,.72); 
    display: flex;
    align-items: center;
    line-height: normal;
    gap: 3px;
}
.topbar a:hover { color: #fff; }

@media (max-width: 1450px) and (min-width: 1300px) {
  .topbar, .topbar p {
    font-size: 11px;
  }
  .topbar__meta {
    gap: 10px 25px;
  }

}

@media (max-width: 860px) { .topbar__loc { display: none; } .topbar__meta { gap: 16px; margin-inline: auto; } }
@media (max-width: 560px) { .topbar__mail { display: none; } }

/* ---------- HEADER (contained glass pill) ---------- */
.site-header {
  position: sticky; top: 55px; z-index: 100;
  padding-inline: var(--edge);
  margin-top: 14px;
  background: transparent; border: none;
  transition: all .2s ease-in-out;

   .site-header__inner{
      transition: all .3s ease-in-out;
    }
}

.site-header.scrolled{
  padding: 0px;
    top: 40px;
    border-radius: 0px;


    .site-header__inner{
      border-radius: 0px;
    }
}

/* the pill itself — overrides .container's edge padding with its own inner padding */
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 72px;
  padding-inline: clamp(16px, 1.6vw, 26px);
  background: var(--white);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 34px rgba(18,35,52,.14);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled .site-header__inner { background: var(--white); box-shadow: 0 12px 36px rgba(18,35,52,.18); }

.logo { display: inline-flex; align-items: center; color: var(--ink); }
.logo__img { height: clamp(40px, 3.8vw, 50px); width: auto; aspect-ratio: 1394 / 395; object-fit: contain; display: block; }

@media (max-width: 560px) {
  .logo__img { height: 42px; }
}

@media (max-width: 380px) {
  .logo__img { height: 38px; }
}

.main-nav { display: flex; align-items: flex-start; gap: clamp(18px, 1.25vw, 24px); }
.main-nav a { display: flex; align-items: flex-start; justify-content: center; min-height: 2.25em; color: var(--ink); font-size: .93rem; font-weight: 500; line-height: 1.15; text-align: center; opacity: .82; position: relative; padding: 6px 0; }
.main-nav a:nth-child(2) { width: 72px; }
.main-nav a:nth-child(3) { width: 154px; }
.main-nav a:nth-child(4) { width: 132px; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--teal); transition: right .25s ease; }
.main-nav a:hover, .main-nav a.active { opacity: 1; color: var(--teal); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: .82em 1.35em; font-size: .92rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* Nav collapse: hide inline links, then the ghost call button */
@media (max-width: 1180px) { .main-nav { display: none; } .nav-toggle { display: inline-flex; } }
@media (max-width: 560px) { .header-call { display: none; } .header-cta .btn { padding: .78em 1.15em; } }
/* On small phones the inline "Schedule" CTA + hamburger no longer fit beside the
   logo, which pushed the toggle off-screen (unreachable menu). Drop the header CTA
   here — scheduling stays available in the drawer and the sticky quick-actions bar. */
@media (max-width: 480px) { .header-cta .btn-primary { display: none; } }

/* Mobile drawer */
.mobile-nav { position: fixed; inset: 0 0 auto 0; top: calc(var(--header-h) + 40px); z-index: 99;
  background: var(--stone); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: 22px var(--edge) 30px; display: flex; flex-direction: column; gap: 20px;
  transform: translateY(-12px); opacity: 0; transition: transform .25s ease, opacity .25s ease; height: 100vh;}
/* When closed, the drawer keeps `display:flex` for its open/close transition,
   so the `hidden` attribute's default `display:none` is overridden. Without the
   rule below it would linger as a fixed, opacity:0 overlay across the top of the
   page that still captures clicks — silently hijacking taps on the hero/cards and
   navigating to whichever hidden nav link sat under the pointer. Make the closed
   drawer fully inert (no hit-testing, out of the a11y tree). */
.mobile-nav[hidden] { visibility: hidden; pointer-events: none; }
.mobile-nav:not([hidden]) { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a { padding: 13px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav .btn-row .btn { flex: 1; }

/* ---------- HERO (cookie-cutter card) ---------- */
.hero-full {
  position: relative;
  min-height: clamp(600px, 88vh, 880px);
  background: var(--stone);
  padding-top: clamp(10px, 1.6vw, 22px);   /* separation between header and image */
}
/* Rounded image card, inset on all sides → every corner is rounded */
.hero-media { position: absolute; top: clamp(10px,1.6vw,22px); left: var(--edge); right: var(--edge); bottom: var(--edge); border-radius: 34px; overflow: hidden; background: var(--stone-deep); }
.js .hero-media { opacity: 0; }
.js .hero-media.is-ready { opacity: 1; }
.hero-video { position: absolute; inset: 0; overflow: hidden; background: var(--stone-deep); }
.hero-video__fallback,
.hero-video__item { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-video__fallback { z-index: 0; }
.hero-video__item { z-index: 1; opacity: 0; transition: opacity 1.2s ease; }
.hero-video__item.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-video__item { display: none; } }
.hero-media__scrim { position: absolute; z-index: 1; inset: 0; pointer-events: none; background:
    linear-gradient(180deg, rgba(18,35,52,.34) 0%, rgba(18,35,52,0) 18%),
    linear-gradient(0deg, rgba(18,35,52,.44) 0%, rgba(18,35,52,.06) 34%, transparent 52%); }
@media (max-width: 1450px) and (min-width: 1300px) {
  .hero-aside__sub {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  video.hero-video__item:nth-child(2) {
    object-position: -30px 0;
  }
}
/* Floating glass chips (frosted pill + radio dot) */
.hero-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,.5);
  color: #fff;
  border-radius: var(--radius-pill); padding: .7em 1em .7em 1.25em;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  box-shadow: 0 10px 30px rgba(18,35,52,.22);
  text-shadow: 0 1px 10px rgba(18,35,52,.45); white-space: nowrap;
  animation: heroIn .6s cubic-bezier(.22,1,.36,1) both, chipFloat 6s ease-in-out infinite;
  animation-delay: calc(var(--d,0)*140ms + 260ms), calc(var(--d,0)*140ms + 1000ms);
}
.chip-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.65); position: relative; flex: none; }
.chip-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.hero-chip--1 { top: 24%; left: 32%; }
.hero-chip--2 { top: 43%; left: 51%; }
.hero-chip--3 { top: 18%; right: 8%; }
@keyframes chipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Scroll progress hairline */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--signature); z-index: 130; border-radius: 0 2px 2px 0; }
@media (prefers-reduced-motion: reduce) { .scroll-progress { display: none; } }

/* Hero headline word-by-word reveal (spans injected by JS) */
.hw { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.hw__i { display: inline-block; transform: translateY(112%); animation: wordUp .75s cubic-bezier(.22,1,.36,1) forwards; animation-delay: var(--wd, 0ms); }
@keyframes wordUp { to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hw__i { transform: none; animation: none; } }

/* Title sits in the cut-out notch, on the page background (image is clipped away here) */
.hero-corner {
  position: absolute; z-index: 4; left: var(--edge); bottom: var(--edge);
  max-width: min(42%, 500px);
  padding: clamp(22px,2.4vw,36px) clamp(28px,3vw,50px) clamp(18px,2vw,30px) clamp(6px,1vw,16px);
  animation: heroIn .7s cubic-bezier(.22,1,.36,1) both; animation-delay: 160ms;
}
.hero-corner .eyebrow { margin-bottom: 14px; }
.hero-corner h1 { font-size: clamp(2.1rem, 3.6vw, 3.6rem); margin: 0; }
/* Fallback if clip-path is unsupported: keep a stone panel so the title stays legible */
@supports not (clip-path: path("M0 0 Z")) {
  .hero-corner { background: var(--stone); border-radius: 40px 40px 40px 0; padding-left: clamp(22px,2vw,36px); }
}

/* Right-side block — subtitle above, actions below */
.hero-aside {
  position: absolute; z-index: 3; right: clamp(22px,3vw,44px); bottom: clamp(30px,4vw,54px);
  max-width: min(40%, 400px);
  display: flex; flex-direction: column; align-items: flex-end; gap: 22px; text-align: right;
  animation: heroIn .7s cubic-bezier(.22,1,.36,1) both; animation-delay: 300ms;
}
.hero-aside__sub { color: #fff; font-size: var(--fs-lead); line-height: 1.55; margin: 0; text-shadow: 0 2px 16px rgba(18,35,52,.6); }
.hero-aside .btn-row { justify-content: flex-end; gap: 16px; align-items: center; }
/* Outlined secondary action over the hero photo (was a bare text link) */
.hero-aside__link { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-display); font-weight: 600; color: #fff;
  min-height: 52px; border: 1.5px solid rgba(255,255,255,.5); border-radius: var(--radius-pill); padding: 0 1.35em;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.hero-aside__link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.hero-aside__link:hover, .hero-aside__link:focus-visible { border-color: #fff; background: rgba(255,255,255,.12); transform: translateY(-2px); }
.hero-aside__link:hover svg { transform: translateX(4px); }

@keyframes heroIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero-chip, .hero-corner, .hero-aside { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* Hero responsive */
@media (max-width: 1000px) {
  .hero-media > img { object-position: 60% 40%; }
  .hero-chip--2 { top: 40%; left: auto; right: 8%; }
  .hero-corner { max-width: 60%; }
  .hero-aside { max-width: 44%; }
}
@media (max-width: 720px) {
  .hero-full { display: flex; flex-direction: column; min-height: 0; padding: 6px var(--edge) var(--edge); gap: 16px; }
  .hero-media { position: relative; order: 2; inset: auto; top: auto; left: auto; right: auto; bottom: auto; margin: 0; height: 58vh; min-height: 380px; border-radius: 28px; clip-path: none !important; -webkit-clip-path: none !important; }
  .hero-media > img { position: absolute; inset: 0; }
  .hero-media__scrim { background: linear-gradient(0deg, rgba(18,35,52,.82) 0%, rgba(18,35,52,.3) 46%, transparent 72%); }
  .hero-chip { display: none; }
  .hero-corner { position: static; order: 1; max-width: none; padding: 6px 4px 0; text-align: center;}
  .hero-corner h1 { font-size: clamp(2rem, 8vw, 2.7rem); }
  .hero-aside { position: absolute; left: 0; right: auto; bottom: 0; width: 100%; max-width: none; align-items: flex-start; text-align: left; padding: 16px clamp(18px,4vw,24px) 22px; gap: 16px; text-align: center;}
  .hero-aside .btn-row { justify-content: center; }
}

/* ---------- TRUST BAR ---------- */
.trust { padding-block: clamp(14px, 2vw, 22px); }
.trust__inner { display: flex; justify-content: center; }
.trust__pill {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.58);
  background: color-mix(in srgb, var(--stone) 70%, transparent);
  -webkit-backdrop-filter: saturate(145%) blur(14px);
  backdrop-filter: saturate(145%) blur(14px);
  box-shadow: 0 10px 28px rgba(18,35,52,.11);
  padding-block: clamp(13px, 1.5vw, 18px);
}
.trust__marquee {
  display: flex;
  width: max-content;
  animation: trustMarquee 68s linear infinite;
}
.trust__group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 58px);
  padding-inline: clamp(28px, 4vw, 58px);
  min-width: max-content;
}
.trust__item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-content);
  line-height: 1;
  letter-spacing: .01em;
  color: var(--ink);
}
.trust__dot {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue) 76%, var(--teal));
  opacity: .78;
}
@keyframes trustMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .trust__marquee { animation: none; transform: translateX(0); }
}
@media (max-width: 760px) {
  .trust { padding-block: 12px; }
  .trust__pill { width: 100%; padding-block: 13px; }
  .trust__group { gap: 26px; padding-inline: 26px; }
}

/* ---------- ABOUT ---------- */
.about { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.about__media { position: relative; }
.about__media .photo { aspect-ratio: 1/1; }
.about__accent { position: absolute; right: -18px; bottom: -18px; width: 46%; height: 46%; border-radius: var(--radius-lg); background: var(--signature); opacity: .12; z-index: -1; }
.about__copy h2 { margin-top: .5rem; }
.about__values { margin-top: 20px; }
.about__values b { color: var(--ink); font-weight: 600; }
.about .link-more { margin-top: 20px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__media { max-width: 460px; } }

/* ---------- SERVICES ---------- */
.svc-card__kicker { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }

/* ---------- DARK SECTION SHARED ---------- */
.on-night { background: var(--night); color: rgba(255,255,255,.82); position: relative; overflow: hidden; }
.on-night h2 { color: #fff; }
.on-night p { color: rgba(255,255,255,.72); }
.tms__glow, .why__glow { position: absolute; inset: 0; background: var(--glow-teal); pointer-events: none; }

/* ---------- TMS FEATURE ---------- */
.tms__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.tms__copy { max-width: 620px; }
.tms__copy h2 { margin-top: .4rem; }
.tms__list { margin: 4px 0 0; }
.tms .btn-row { margin-top: 26px; }
.tms__media { position: relative; }
.tms__media .photo { aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.tms__chip { position: absolute; left: -12px; bottom: 22px; display: inline-flex; align-items: center; gap: .5em; background: rgba(18,35,52,.85); backdrop-filter: blur(6px); border: 1px solid var(--line-dark); color: #fff; border-radius: var(--radius-pill); padding: .6em 1.1em; font-family: var(--font-display); font-weight: 600; font-size: .85rem; }
.tms__chip svg { width: 16px; height: 16px; color: var(--teal-bright); }
@media (max-width: 900px) { .tms__grid { grid-template-columns: 1fr; } .tms__media { max-width: 440px; } }

/* ---------- NEUROTECH ---------- */
.neuro .section-head { max-width: 850px; }

/* Spravato banner */
.spravato-section { padding-block: 0; }
.spravato { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(30px, 4vw, 44px) clamp(24px, 3.5vw, 38px); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--surface) 82%, var(--white)); border: 1px solid var(--line); }
.spravato__tag { display: inline-flex; margin-bottom: 12px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--teal); padding: .5em 1em; border-radius: var(--radius-pill); }
.spravato__copy { flex: 1; min-width: 260px; }
.spravato__copy h2 { font-size: clamp(1.35rem, 2vw, 1.8rem); margin-bottom: .35rem; }
.spravato p { margin: 0; color: var(--ink-soft); }
.spravato b { color: var(--ink); }

@media(max-width:768px){
  .spravato{
    text-align: center;

    .btn{
      white-space: normal;
    }
  }
}

/* ---------- WELLNESS TABS ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.tab { display: inline-flex; align-items: center; gap: .55em; min-height: 52px; font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--ink-soft); background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); padding: 0 1.3em; cursor: pointer; transition: all .2s ease; }
.tab svg { width: 17px; height: 17px; }
.tab:hover { border-color: var(--teal); color: var(--teal); }
.tab.is-active { background: var(--ink); color: #fff; border-color: rgba(23,38,49,.72); }
.tabpanel { display: none; animation: fade .4s ease; }
.tabpanel.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tabpanel__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.tabpanel__media { aspect-ratio: 4/5; box-shadow: var(--shadow-md); }
.tabpanel__copy .chip-row { margin: 18px 0; }
.tabpanel__copy .btn-row { margin-top: 22px; }
@media (max-width: 880px) { .tabpanel__grid { grid-template-columns: 1fr; } .tabpanel__media { order: -1; max-width: 420px; } }

/* ---------- PRIMARY CARE ---------- */
.primary__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.primary__media .photo { aspect-ratio: 1/1; box-shadow: var(--shadow-md); }
.primary .btn-row { margin-top: 26px; }
.primary__head .btn-row { justify-content: center; }
.primary .primary__actions { justify-content: center; margin-top: clamp(24px, 3vw, 36px); }
@media (max-width: 860px) { .primary__grid { grid-template-columns: 1fr; } .primary__media { order: -1; max-width: 440px; } 
.btn-row button, .btn-row a{
  width: 100%;
  text-align: center;
  justify-content: center;

}
}

/* ---------- TECH (BrainsWay) ---------- */
.tech__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.tech__media { position: relative; aspect-ratio: 3/2; box-shadow: var(--shadow-md); }
.tech__media .tms__chip { left: auto; right: 16px; bottom: 16px; }
.tech__body h2 { margin-top: .55rem; }
.tech__specs { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.tech__spec { display: flex; align-items: flex-start; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px 20px; font-family: var(--font-display); font-weight: 600; font-size: .98rem; }
.tech__spec svg { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 2px; }
.tech__spec-txt b { display: block; }
.tech__spec-txt span { display: block; margin-top: 3px; font-family: var(--font-body); font-weight: 400; font-size: var(--fs-content); line-height: 1.4; color: var(--ink-mute); }
.section.tech.band-stone .tech__inner::before {
	opacity: 0;
}
@media (max-width: 820px) { .tech__inner { grid-template-columns: 1fr; } 
  .tech__media{
    order: 2;
  }
  .tech__body{
    order: 1;
    text-align: center;
  }
}

.tech__spec{
    display:flex;
    align-items:flex-start;
    gap:14px;

    padding:16px 20px;

    background:var(--surface);
    border:1px solid var(--line);
    border-radius:var(--radius-md);

    font-family:var(--font-display);
    font-weight:600;
    font-size:.98rem;

    transition:
        background .35s ease,
        border-color .35s ease,
        box-shadow .35s ease,
        color .35s ease;
}

.tech__spec svg{
    width:22px;
    height:22px;
    color:var(--primary);

    flex:none;
    margin-top:2px;

    transition:
        color .25s ease,
        transform .35s ease;
}

.tech__spec-txt b{
    display:block;
    color:var(--ink);

    transition:color .25s ease;
}

.tech__spec-txt span{
    display:block;
    margin-top:3px;

    font-family:var(--font-body);
    font-weight:400;
    font-size:var(--fs-content);
    line-height:1.4;

    color:var(--ink-mute);

    transition:color .25s ease;
}

.tech__spec:hover{

    background:linear-gradient(
        135deg,
        #1D5FA8 0%,
        #2C78C8 100%
    );

    border-color:#2C78C8;

    box-shadow:
        0 12px 30px rgba(29,95,168,.22);
}

.tech__spec:hover svg{
    color:#fff;
    transform:scale(1.08);
}

.tech__spec:hover b{
    color:#fff;
}

.tech__spec:hover span{
    color:rgba(255,255,255,.82);
}


/* ---------- PROVIDERS ---------- */
.providers__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.providers__nav { display: flex; gap: 10px; }
.providers__scroller { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); margin-top: -10px; padding: 10px var(--edge) 12px; }
.providers__scroller::-webkit-scrollbar { display: none; }
.providers__track { display: flex; gap: clamp(16px, 2vw, 24px); width: max-content; }
.prov-card {
  position: relative;
  cursor: pointer;
  width: clamp(286px, 29vw, 382px);
  height: clamp(430px, 48vw, 540px);
  flex: none;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 24px;
  background: var(--night);
  box-shadow: 0 7px 8px rgba(18,35,52,.08);
  isolation: isolate;
  outline: none;
  transition: transform .32s cubic-bezier(.22,1,.36,1), box-shadow .32s ease, border-color .32s ease;
}
.prov-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(18,35,52,.58) 62%, rgba(18,35,52,.78));
  pointer-events: none;
}
.prov-card:hover,
.prov-card:focus-visible,
.prov-card.is-active { transform: translateY(-5px); border-color: rgba(78,145,207,.42); box-shadow: var(--shadow-md); }
.prov-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.96) contrast(1.02);
  transform: scale(1.01);
  transition: transform .55s cubic-bezier(.22,1,.36,1), filter .55s ease;
}
.prov-card:hover img,
.prov-card:focus-visible img,
.prov-card.is-active img { transform: scale(1.045); filter: saturate(1.02) contrast(1.04); }
.prov-card__glass {
  position: absolute;
  left: clamp(14px, 1.7vw, 22px);
  right: clamp(14px, 1.7vw, 22px);
  bottom: clamp(14px, 1.7vw, 22px);
  z-index: 2;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(18,35,52,.78), rgba(25,49,72,.58));
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  backdrop-filter: blur(16px) saturate(1.12);
  color: #fff;
  box-shadow: 0 8px 8px rgba(10,18,17,.18);
  transition: background .32s ease, border-color .32s ease, transform .32s cubic-bezier(.22,1,.36,1);
}
.prov-card:hover .prov-card__glass,
.prov-card:focus-visible .prov-card__glass,
.prov-card.is-active .prov-card__glass {
  background: linear-gradient(135deg, rgba(18,35,52,.86), rgba(22,74,126,.62));
  border-color: rgba(255,255,255,.25);
  transform: translateY(-2px);
}
.prov-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.prov-card__top h3 { margin: 0; color: #fff; font-size: clamp(1.28rem, 1.7vw, 1.62rem); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.prov-card__top span {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  transition: transform .32s cubic-bezier(.22,1,.36,1), background .32s ease;
}
.prov-card__top svg { width: 17px; height: 17px; transform: rotate(-45deg); }
.prov-card:hover .prov-card__top span,
.prov-card:focus-visible .prov-card__top span,
.prov-card.is-active .prov-card__top span { transform: rotate(45deg); background: rgba(78,145,207,.22); }
.prov-card__role {
  margin: 10px 0 0;
  color: rgba(255,255,255,.70);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.prov-card__reveal {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(8px);
  transition: grid-template-rows .36s cubic-bezier(.22,1,.36,1), opacity .24s ease, transform .36s cubic-bezier(.22,1,.36,1);
}
.prov-card__bio {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: rgba(255,255,255,.78);
  font-size: clamp(.94rem, .95vw, 1.02rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.prov-card:hover .prov-card__reveal,
.prov-card:focus-visible .prov-card__reveal,
.prov-card.is-active .prov-card__reveal { grid-template-rows: 1fr; opacity: 1; transform: translateY(0); margin-top: 18px; }
@media (max-width: 980px) {
  .prov-card { width: clamp(280px, 42vw, 340px); height: 470px; }
}
@media (max-width: 680px) {
  .providers__head { align-items: flex-start; flex-direction: column; text-align: center; justify-content: center; align-items: center;}
  .providers__scroller { scroll-padding-inline: 20px; padding-inline: 20px; }
  .prov-card { width: min(86vw, 340px); height: 468px; border-radius: 22px; }
  .prov-card__glass { left: 14px; right: 14px; bottom: 14px; }
}

@media (max-width:680px){

    .providers__scroller{
        padding-inline:20px;
        scroll-padding-inline:20px;
    }

    .providers__track{
        gap:20px;
    }

    .prov-card{
        flex:0 0 calc(100vw - 40px);
        width:calc(100vw - 40px);
        max-width:none;
    }

}
@media (prefers-reduced-motion: reduce) {
  .prov-card,
  .prov-card img,
  .prov-card__glass,
  .prov-card__top span,
  .prov-card__reveal { transition: none; }
}

/* ---------- WHY NIBIRU ---------- */
.why {
  isolation: isolate;
  background: var(--night);
  padding-block: var(--section-y);
}

.why-before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-size: cover;
  background-position: center 38%;
  opacity: .28;
  filter: saturate(.86) contrast(1.04);
}

.why::before,
.why::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.why::after {
  z-index: 1;
  background:
    radial-gradient(circle at 82% 18%, rgba(78,145,207,.24), transparent 38%),
    radial-gradient(circle at 12% 86%, rgba(28,90,151,.16), transparent 34%),
    linear-gradient(90deg, rgba(18,35,52,.96) 0%, rgba(18,35,52,.88) 45%, rgba(18,35,52,.80) 100%);
}
.why__glow { z-index: 2; opacity: .62; mix-blend-mode: screen; }
.why__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(380px, .72fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.why__copy { max-width: 690px; }
.why__copy h2 { max-width: 10.4em; font-size: clamp(2.2rem, 4vw, 4.15rem); line-height: 1; }
.why__copy > p { max-width: 62ch; color: rgba(255,255,255,.78); font-size: var(--fs-content); line-height: 1.58; margin-bottom: 0; }
.why__copy > p + p { margin-top: 14px; }
.why__manifesto {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 22px;
}
.why__manifesto article {
  position: relative;
  padding: 15px 18px 15px 44px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.035));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform .28s cubic-bezier(.22,1,.36,1), border-color .28s ease, background .28s ease;
}
.why__manifesto article::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 6px rgba(78,145,207,.12);
}
.why__manifesto article:hover {
  transform: translateY(-3px);
  border-color: rgba(78,145,207,.34);
  background: linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.045));
}
.why__manifesto b { display: block; color: #fff; font-family: var(--font-display); font-size: 1.02rem; line-height: 1.24; }
.why__manifesto span { display: block; color: rgba(255,255,255,.68); font-size: .9rem; line-height: 1.42; margin-top: 5px; }
.why__support { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.why__support span {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.78);
  padding: .58em .9em;
  font-size: .84rem;
  font-weight: 700;
}
.why__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
.why__cta .btn { border-color: rgba(255,255,255,.28); box-shadow: none; }
.why__cta .btn:hover { border-color: rgba(255,255,255,.48); }


.why__proof {
  position: relative;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(18,35,52,.74), rgba(25,49,72,.50)),
    rgba(255,255,255,.04);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  backdrop-filter: blur(18px) saturate(1.08);
  box-shadow: 0 8px 8px rgba(7,15,14,.18);
}
.why__proof::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(78,145,207,.18), transparent 36%, rgba(184,155,110,.10));
  pointer-events: none;
}
.why__proof-head {
  position: relative;
  display: grid;
  gap: 5px;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.why__proof-head span,
.stat__micro {
  color: var(--teal-bright);
  font-family: var(--font-display);
  font-size: var(--fs-content);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.why__proof-head b { color: #fff; font-family: var(--font-display); font-size: clamp(1.18rem, 1.5vw, 1.5rem); line-height: 1.18; max-width: 18em; }
.why__stats { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.why .stat.on-night {
  min-height: 132px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
}

.why .stat.on-night{
    position:relative;
    overflow:hidden;

    min-height:132px;
    padding:14px;

    border:1px solid rgba(255,255,255,.12);
    border-radius:14px;

    background:rgba(255,255,255,.06);

    transition:
        background .35s ease,
        border-color .35s ease,
        box-shadow .35s ease,
        transform .35s ease;
}

/* brillo interior */
.why .stat.on-night::before{
    content:"";
    position:absolute;
    inset:0;

    border-radius:inherit;

    background:
        radial-gradient(
            circle at top left,
            rgba(94,168,255,.18),
            transparent 65%
        );

    opacity:0;

    transition:opacity .35s ease;

    pointer-events:none;
}

/* línea inferior */
.why .stat.on-night::after{
    content:"";
    position:absolute;

    left:18px;
    right:18px;
    bottom:0;

    height:2px;

    background:linear-gradient(
        90deg,
        transparent,
        #66B3FF,
        transparent
    );

    transform:scaleX(0);
    transform-origin:center;

    transition:transform .35s ease;
}

.why .stat.on-night:hover{

    background:linear-gradient(
        135deg,
        rgba(49,84,122,.82),
        rgba(38,65,97,.96)
    );

    border-color:rgba(102,179,255,.45);

    box-shadow:
        0 14px 32px rgba(0,0,0,.22),
        0 0 0 1px rgba(102,179,255,.08);

    transform:translateY(-4px);
}

.why .stat.on-night:hover::before{
    opacity:1;
}

.why .stat.on-night:hover::after{
    transform:scaleX(1);
}

.why .stat .n { margin-top: 13px; color: #fff; font-size: clamp(1.72rem, 2.35vw, 2.55rem); }
.why .stat .n b { color: #fff; }
.why .stat .l { color: rgba(255,255,255,.66); font-size: var(--fs-content); line-height: 1.36; margin-top: 7px; }
@media (max-width: 1080px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__proof { max-width: 720px; }
}

@media(max-width: 768px){
  .why__copy{
    text-align: center;
  }

  .why__copy .why__cta button, .why__copy .why__cta a{
    width: 100%;
    justify-content: center;

  }

  .why__cta{
    justify-content: center;
  }

  .why__proof{
    text-align: center;
  }
}
@media (max-width: 620px) {
  .why { padding-block: 46px; }
  .why::after { background: linear-gradient(180deg, rgba(18,35,52,.96), rgba(18,35,52,.86)); }
  .why__copy h2 { font-size: clamp(2.05rem, 10vw, 3rem); }
  .why__manifesto article { padding: 16px 16px 16px 42px; }
  .why__manifesto article::before { left: 17px; top: 21px; }
  .why__stats { grid-template-columns: 1fr; }
  .why .stat.on-night { min-height: 0; }

  
}

/* ---------- INSURANCE ---------- */
.insurance__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 64px); align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); }
.insurance__copy .btn { margin-top: 24px; }
.insurance__chips { display: flex; flex-wrap: wrap; gap: 12px; }
.insurance__chips .chip { padding: .8em 1.3em; font-size: 1rem; }
/* Coverage tiles — organized grid that fills the column and reads as real info */
.insurance__coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cov-tile { background: rgba(28,90,151,.14); border: 1px solid rgba(28,90,151,.28); border-radius: var(--radius-md); padding: 16px 18px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .22s ease, border-color .22s ease, transform .22s ease; }
.cov-tile:hover { border-color: rgba(28,90,151,.42); transform: translateY(-2px); }
.cov-tile svg { width: 22px; height: 22px; color: var(--teal); }
.cov-tile b { display: block; margin-top: 24px; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.14; color: var(--ink); }
.cov-tile span { display: block; margin-top: 3px; font-size: var(--fs-content); color: var(--ink-mute); line-height: 1.4; }
.cov-tile--wide { grid-column: 1 / -1; }
/* Let grid tracks shrink below their content's min width so a long nowrap CTA
   can't push the column (and the coverage tiles) past the viewport on mobile. */
.insurance__inner > * { min-width: 0; }
@media (max-width: 820px) { .insurance__inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .insurance__copy .btn { white-space: normal; } }
@media (max-width: 420px) { .insurance__coverage { grid-template-columns: 1fr; } .cov-tile--wide { grid-column: auto; } }

/* ---------- REVIEWS ---------- */
/* ---------- REVIEWS ---------- */
.reviews__rating{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-top:14px;
    color:var(--ink-soft);
}

.reviews__rating b{
    color:var(--ink);
}

.stars{
    display:inline-flex;
    gap:2px;
    color:#E4A93C;
}

.stars svg{
    width:18px;
    height:18px;
}

.reviews__head{
    position:relative;
}

.reviews__head .section-head{
    margin-bottom:clamp(30px,4vw,46px);
}

.reviews__nav{
    position:absolute;
    right:0;
    bottom:clamp(30px,4vw,46px);
    display:flex;
    gap:10px;
}

.reviews__scroller{
    overflow-x:auto;
    overflow-y:hidden;
    scroll-behavior:smooth;
    scrollbar-width:none;
}

.reviews__scroller::-webkit-scrollbar{
    display:none;
}

.reviews__track{
    display:flex;
    gap:20px;
    padding:4px 0 14px;
}

.review{
    flex:0 0 calc((100% - 40px) / 3);
    min-height:280px;
    padding:28px;
    display:flex;
    flex-direction:column;
    gap:13px;
    background:linear-gradient(
        180deg,
        var(--surface),
        color-mix(in srgb,var(--surface) 78%,var(--white))
    );
}

.review__preview{
    align-self:flex-start;
    font-family:var(--font-mono);
    font-size:.62rem;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:var(--teal);
}

.review blockquote{
    margin:0;
    font-family:var(--font-display);
    font-weight:500;
    font-size:1.18rem;
    line-height:1.4;
    letter-spacing:-.01em;
    color:var(--ink);
}

.review footer{
    display:flex;
    flex-direction:column;
    gap:2px;
    margin-top:auto;
    color:var(--ink-mute);
    font-size:.88rem;
}

.review footer b{
    color:var(--ink);
    font-family:var(--font-display);
}

.reviews__footer{
    display:flex;
    justify-content:center;
    margin-top:24px;
}
@media (max-width:1080px){

    .review{
        flex:0 0 calc((100% - 20px)/2);
    }

}

@media (max-width:767px){

    .reviews__head .section-head{
        margin-bottom:24px;
    }

    .reviews__footer .btn-ghost{
      width: 100%;
    }

    .reviews__nav{
        position:static;
        justify-content:flex-end;
        margin-bottom:16px;
    }

    .review{
        flex:0 0 100%;
        min-height:300px;
    }

}
/* ---------- RESOURCES + FAQ ---------- */
.resources__side { max-width: none; }
.resources__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.resources__side h2 { margin-top: .5rem; margin-bottom: 30px; }
.resources__nav { display: flex; gap: 10px; margin-bottom: 30px; flex: none; }
.resources__scroller { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-behavior: smooth; cursor: grab; touch-action: pan-y; }
.resources__scroller::-webkit-scrollbar { display: none; }
.resources__scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.res-cards { display: flex; gap: 18px; width: max-content; padding: 3px 3px 12px; }
.res-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; flex: 0 0 clamp(260px, 23vw, 360px); min-height: 180px; text-align: left; cursor: pointer; padding: 26px; scroll-snap-align: start; border-radius: var(--radius-md); background: rgba(28,90,151,.13); border: 0; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1rem; transition: background-color .26s ease, color .26s ease; }
.res-card:hover,
.res-card:focus-visible { background: var(--teal); color: var(--white); }
.res-card > svg:first-child { width: 44px; height: 44px; color: var(--teal); flex: none; }
.res-card span { flex: 1; }
.res-card b { font-size: 1.18rem; line-height: 1.2; }
.res-card small { display: block; margin-top: 6px; color: var(--ink-soft); font-family: var(--font-body); font-weight: 400; line-height: 1.45; }
.res-arr { position: absolute; top: 26px; right: 26px; width: 22px; height: 22px; color: var(--teal); }
.res-card:hover > svg,
.res-card:focus-visible > svg,
.res-card:hover small,
.res-card:focus-visible small { color: var(--white); }

@media (max-width: 680px) {

  .resources__head {
    align-items: flex-start;
    text-align: center;
  }

  .resources__nav {
    margin-top: 8px;
    margin-bottom: 0px;
  }

/*   .resources__scroller {
    padding-inline: 20px;
    scroll-padding-inline: 20px;
  }
 */
 .resources__scroller {
    padding-inline: 0;
    scroll-padding-inline: 0;
  }
  .res-cards {
    gap: 15px;
    width: max-content;
    padding: 20px;
  }

 /*  .res-card {
    flex: 0 0 calc(100vw - 40px);
    width: calc(100vw - 40px);
    max-width: none;
    box-sizing: border-box;
  } */
   .res-card {
    flex: 0 0 calc(100vw - 50px);
    width: 100vw;
    max-width: none;
    box-sizing: border-box;
  }

}

.faq { max-width: none; display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: clamp(34px, 6vw, 86px); align-items: start; }
.faq__h { margin-top: .5rem; margin-bottom: 20px; }
.faq__intro { align-self: center; }
.faq__intro .prose { margin-bottom: 26px; }
.faq__questions { min-width: 0; }
.accordion { display: flex; flex-direction: column; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:first-child { border-top: 1px solid var(--line); }
.acc-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: 0; cursor: pointer; text-align: left; padding: 20px 4px; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-content); color: var(--ink); }
.acc-q svg { width: 20px; height: 20px; color: var(--teal); flex: none; transition: transform .3s ease; }
.acc-q[aria-expanded="true"] svg { transform: rotate(180deg); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s ease; }
.acc-a__inner { overflow: hidden; }
.acc-item.open .acc-a { grid-template-rows: 1fr; }
.acc-a__inner p { color: var(--ink-soft); padding: 0 4px 20px; margin: 0; max-width: 60ch; }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- AREAS ---------- */
.areas { padding-block: clamp(32px, 3.5vw, 44px); }
.areas__layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(360px, .72fr); gap: clamp(42px, 7vw, 104px); align-items: center; }
.areas__copy { max-width: 680px; }
.areas__copy h2 { margin-top: .5rem; }
.areas__note { margin-top: 24px; color: var(--ink-mute); }
.areas__cta { margin-top: 28px; }
.areas__visual { position: relative; height: clamp(350px, 30vw, 400px); overflow: hidden; border-radius: 28px; background: var(--night); box-shadow: var(--shadow-lg); }
.areas__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 28, 25, .08) 20%, rgba(9, 28, 25, .9) 100%); pointer-events: none; }
.areas__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.areas__visual:hover img { transform: scale(1.025); }
.areas__overlay { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; display: grid; gap: 20px; padding: clamp(24px, 4vw, 40px); }
.areas__label { margin-bottom: 10px; color: rgba(255,255,255,.72); font-family: var(--font-mono); font-size: var(--fs-content); letter-spacing: .14em; text-transform: uppercase; }
.areas__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.areas__tags .chip { min-height: 38px; padding: 8px 14px; border-color: rgba(255,255,255,.32); background: rgba(9, 28, 25, .48); color: var(--white); backdrop-filter: blur(10px); 
  transition:
        background .35s ease,
        border-color .35s ease,
        color .35s ease,
        transform .35s ease,
        box-shadow .35s ease;
}
.areas__tags .chip svg { color: var(--white); }


/* brillo */
.areas__tags .chip::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;

    background:
        radial-gradient(
            circle at top left,
            rgba(94,168,255,.18),
            transparent 70%
        );

    opacity:0;

    transition:opacity .35s ease;

    pointer-events:none;
}

.areas__tags .chip svg{
    transition:
        color .35s ease,
        transform .35s ease;
}

.areas__tags .chip:hover{

    background:var(--blue);

    border-color:#6AB5FF;

    color:#fff;

    transform:translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0,0,0,.22),
        0 0 0 1px rgba(106,181,255,.15);
}

.areas__tags .chip:hover::before{
    opacity:1;
}

.areas__tags .chip:hover svg{

    color:#9ED0FF;

    transform:scale(1.1);
}
@media (max-width: 900px) {
  .areas__layout { grid-template-columns: 1fr; }
  .areas__copy { max-width: 720px; text-align: center;}
  .areas__copy .areas__cta a, .areas__copy .areas__cta button{
    text-align: center;
    width: 100%;
    justify-content: center;
  }
  .areas__visual { width: min(100%, 620px); height: 500px; justify-self: center; }
  .areas__tags{
    justify-content: center;
  }
  .areas__label{
    text-align: center;
  }
}
@media (max-width: 560px) {
  .areas__visual { height: 520px; border-radius: 22px; }
  .areas__overlay { gap: 16px; padding: 22px; }
  .areas__tags .chip { min-height: 34px; padding: 7px 11px; font-size: .78rem; flex: 40%;         text-align: center;
        justify-content: center;}
}
@media (prefers-reduced-motion: reduce) { .areas__visual img { transition: none; } }

/* ---------- CONTACT ---------- */
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 66px); align-items: start; }
.contact__info h2 { margin-top: .5rem; }
.contact__list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.contact__list li { display: flex; align-items: flex-start; gap: 14px; color: var(--ink-soft); }
.contact__list svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 3px; }
.contact__list a { color: var(--ink-soft); }
.contact__list a:hover { color: var(--teal); }
/* "What happens next" reassurance under the contact details */
.contact__next { margin-top: 26px; }
.contact__next-h { font-family: var(--font-mono); font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; }
.contact__form { padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px;}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-content); color: var(--ink); }
.field input, .field select, .field textarea { font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: 12px; padding: .85em 1em; width: 100%; transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(28,90,151,.14); }
.field textarea { resize: vertical; }
.contact__form .btn { margin-top: 6px; }
.contact__disclaimer { font-size: .78rem; color: var(--ink-mute); margin: 0; }
.contact__fax { font-size: .85rem; color: var(--ink-mute); }
.form-success { margin: 4px 0 0; padding: 14px 16px; border-radius: var(--radius-md); background: rgba(28,90,151,.08); border: 1px solid rgba(28,90,151,.22); color: var(--teal-deep); font-weight: 500; font-size: .95rem; }
@media (max-width: 780px) { .contact__grid { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } 
  .contact__info{
    text-align: center;
  }

  .contact__disclaimer{
    text-align: center;
  }

  .contact__info ul{
    text-align: start;
  }
}

/* ---------- REDESIGNED SECTION SYSTEMS ---------- */
.about {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .78fr);
  grid-template-areas: "story media";
  align-items: center;
  padding-block: var(--section-y);
}
.about__story { grid-area: story; max-width: 820px; }
.about__story h2 { font-size: var(--fs-h2); line-height: 1.05; max-width: 14em; margin-top: .55rem; }
.about__continuation { max-width: var(--measure); margin-top: 22px; color: var(--ink-soft); }
.pillar-card__tags span,
.tech__chips span,
.prov-card__tag {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--surface) 82%, #fff);
  color: var(--ink-soft);
  font-size: .84rem;
  font-weight: 600;
  padding: .55em .9em;
}
.about__media { grid-area: media; align-self: stretch; min-height: 480px; }
.about__photo { height: 100%; min-height: 460px; border-radius: 28px; }
.about__orbit {
  position: absolute; inset: 8% auto auto -16%;
  width: 58%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(28,90,151,.24);
  pointer-events: none;
}
.about__orbit::before,
.about__orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(28,90,151,.18); }
.about__orbit::before { inset: 18%; }
.about__orbit::after { width: 9px; height: 9px; right: 13%; top: 20%; background: var(--teal); border: 0; }
.about__note {
  position: absolute; right: -18px; bottom: 34px;
  width: min(260px, 72%);
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--night);
  color: rgba(255,255,255,.72);
  box-shadow: 0 8px 8px rgba(18,35,52,.16);
}
.about__note b { display: block; color: #fff; font-family: var(--font-display); margin-bottom: 4px; }
.about__note span { display: block; font-size: var(--fs-content); line-height: 1.45; }
.about__values { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.about__values li { min-width: 0; padding: 0 20px; }
.about__values li:first-child { padding-left: 0; }
.about__values li + li { border-inline-start: 1px solid var(--line); }
.about__values b { display: block; margin-bottom: 5px; }
.about__values span { color: var(--ink-soft); font-size: var(--fs-content); line-height: 1.45; }
.about__cta { margin-top: 20px; }

@media(max-width:768px){
  .about__story{
    text-align: center;
  }

  .btn.btn-primary.about__cta{
    width: 100%;
  }
}

/* Directional entrance reserved for the About composition. */
.js .about .reveal-from-left { transform: translateX(-52px); }
.js .about .reveal-from-right { transform: translateX(52px); }
.js .about .reveal-from-left.is-visible,
.js .about .reveal-from-right.is-visible { transform: none; }

.pillar-system {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  padding: 8px;
  margin: -8px;
}

@media(max-width:768px){

  .pillar-system {

    gap: clamp(32px, 2vw, 26px);

  }
}
.pillar-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(580px, 36vw, 593px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--night);
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  transition: transform .36s cubic-bezier(.22,1,.36,1), border-color .3s ease;
}
.pillar-card:hover,
.pillar-card:focus-within { transform: scale(1.018); border-color: rgba(255,255,255,.42); }
.pillar-card__media { position: absolute; inset: 0; z-index: -2; border-radius: 0; min-height: 0; }
.pillar-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,35,52,.18) 8%, rgba(18,35,52,.62) 43%, rgba(18,35,52,.98) 100%);
}
.pillar-card__media img { transition: transform .7s cubic-bezier(.22,1,.36,1); }
.pillar-card:hover .pillar-card__media img,
.pillar-card:focus-within .pillar-card__media img { transform: scale(1.055); }
.pillar-card__num {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  line-height: 1;
  letter-spacing: 0;
  color: #fff;
  background: rgba(18,35,52,.54);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: var(--radius-pill);
  padding: .7em 1em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.pillar-card__body {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  padding: clamp(24px, 2.5vw, 36px);
  color: rgba(255,255,255,.82);
}

@media(max-width:768px){
  .pillar-card__body{
    text-align: center;
  }
}
.pillar-card .svc-card__kicker { color: #fff; font-size: var(--fs-content); text-shadow: 0 1px 3px rgba(18,35,52,.72); }
.pillar-card__body h3 { color: #fff; font-size: clamp(1.55rem, 2.25vw, 2.25rem); margin-bottom: .45rem; text-shadow: 0 2px 5px rgba(18,35,52,.72); }
.pillar-card__body p { color: rgba(255,255,255,.92); max-width: 48ch; text-shadow: 0 1px 3px rgba(18,35,52,.7); }
.pillar-card__for { margin: 10px 0 0; font-size: var(--font-content); color: rgba(255,255,255,.9); }
.pillar-card__for span { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-bright); margin-right: .6em; }
.pillar-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.pillar-card__tags span { background: rgba(18,35,52,.52); border-color: rgba(255,255,255,.28); color: #fff; }
.pillar-card__actions { display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; margin-top: 22px; }
.pillar-card__actions .btn,
.pillar-card__actions .more-btn {
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
  justify-content: center;
  padding-inline: clamp(8px, .8vw, 14px);
  font-size: var(--fs-content);
  white-space: nowrap;
  flex: 1;
}

.pillar-card .more-btn { color: #fff; background: rgba(18,35,52,.34); border-color: rgba(255,255,255,.38); }
.pillar-card .more-btn:hover,
.pillar-card .more-btn:focus-visible { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.64); }

.tms { padding-block: var(--section-y); }
.tms__grid { grid-template-columns: minmax(0, .9fr) minmax(360px, .72fr); }
.tms__copy { max-width: 715px; }
.tms__copy h2 { font-size: var(--fs-h2); max-width: 12em; }
.tms__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.tms__tiles div { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.065); border: 1px solid var(--line-dark); }
.tms__tiles b { display: block; color: #fff; font-family: var(--font-display); font-size: 1rem; }
.tms__tiles span { display: block; margin-top: 5px; color: rgba(255,255,255,.62); font-size: var(--fs-content); line-height: 1.35; }
.tms__media .photo { height: clamp(460px, 42vw, 560px); border-radius: 28px; aspect-ratio: auto; }
.tms__media .photo img {
  object-fit: cover;
  object-position: center;
}

.tms__tiles{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin:20px 0;
}

.tms__tiles > div{
    position:relative;
    overflow:hidden;
    padding:14px;
    border-radius:16px;
    background:rgba(255,255,255,.065);
    border:1px solid var(--line-dark);

    transition:
        transform .35s ease,
        border-color .35s ease,
        background .35s ease,
        box-shadow .35s ease;
}

/* brillo superior */
.tms__tiles > div::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;

    background:
        radial-gradient(circle at top left,
        rgba(94,170,255,.22),
        transparent 60%);

    opacity:0;
    transition:opacity .35s ease;
    pointer-events:none;
}

/* línea inferior */
.tms__tiles > div::after{
    content:"";
    position:absolute;
    left:18px;
    right:18px;
    bottom:0;
    height:2px;

    background:linear-gradient(
        90deg,
        transparent,
        var(--primary),
        transparent
    );

    transform:scaleX(0);
    transform-origin:center;
    transition:transform .35s ease;
}

.tms__tiles > div:hover{
    transform:translateY(-6px);

    background:rgba(255,255,255,.085);

    border-color:rgba(94,170,255,.45);

    box-shadow:
        0 18px 35px rgba(0,0,0,.28),
        0 0 0 1px rgba(94,170,255,.12) inset;
}

.tms__tiles > div:hover::before{
    opacity:1;
}

.tms__tiles > div:hover::after{
    transform:scaleX(1);
}

.tms__tiles b{
    display:block;
    color:#fff;
    font-family:var(--font-display);
    font-size:1rem;

    transition:color .3s ease;
}

.tms__tiles span{
    display:block;
    margin-top:5px;
    color:rgba(255,255,255,.62);
    font-size:var(--fs-content);
    line-height:1.35;

    transition:color .3s ease;
}

.tms__tiles > div:hover b{
    color:var(--primary);
}

.tms__tiles > div:hover span{
    color:rgba(255,255,255,.82);
}

.care-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 14px;
  align-items: stretch;
  counter-reset: care-step;
}
.care-path__rail {
  position: absolute; left: 8%; right: 8%; top: 42px; height: 2px;
  background: linear-gradient(90deg, rgba(28,90,151,.18), rgba(28,90,151,.46), rgba(28,90,151,.18));
}
.care-step {
  position: relative;
  min-height: 300px;
  padding: 22px 18px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .28s cubic-bezier(.22,1,.36,1), border-color .28s ease;
}
.care-step { counter-increment: care-step; }
.care-step:hover { transform: translateY(-5px); border-color: rgba(28,90,151,.42); }
/* Ordinal label makes the Eval → Talk → Calm → Train → TMS sequence explicit */
.care-step__content h3::before {
  content: "Step " counter(care-step, decimal-leading-zero);
  display: block; margin-bottom: 6px;
  font-family: var(--font-mono); font-size: .6rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal);
}
.care-step--deep .care-step__content h3::before { color: var(--teal-bright); }
.care-step__num {
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--night); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: .76rem;
  margin-bottom: 26px;
}
.care-step--deep { background: linear-gradient(150deg, var(--night), var(--night-2)); color: rgba(255,255,255,.78); }
.care-step--deep h3 { color: #fff; }
.care-step--deep p { color: rgba(255,255,255,.68); }
.care-step--deep .pillar-card__tags span { background: rgba(255,255,255,.07); color: rgba(255,255,255,.84); border-color: var(--line-dark); }
.care-step__content { display: flex; flex-direction: column; flex: 1; }
.care-step__content p { color: var(--ink-soft); font-size: .94rem; line-height: 1.55; }
.care-step--deep .care-step__content p { color: rgba(255,255,255,.68); }
.care-step .more-btn { margin-top: auto; }
.care-path__image { display: none; }

.neuro-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}
.neuro-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 550px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--night);
  transition: transform .34s cubic-bezier(.22,1,.36,1), border-color .28s ease;
}
.neuro-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18,35,52,.08) 4%, rgba(18,35,52,.5) 38%, rgba(18,35,52,.98) 82%);
}
.neuro-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.neuro-card:hover,
.neuro-card:focus-within { transform: scale(1.012); border-color: rgba(28,90,151,.52); }
.neuro-card:hover > img,
.neuro-card:focus-within > img { transform: scale(1.045); }
.neuro-card__body { width: 100%; padding: clamp(24px, 3vw, 40px); color: rgba(255,255,255,.9); }
.neuro-card__label {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-bright);
      background: white;
    padding: 0.2rem .8rem;
    border-radius: var(--radius-pill);
    font-weight: 800;
}

@media(max-width: 768px){

  .neuro-card::after{
    background: linear-gradient(180deg, rgba(18, 35, 52, .08) 1%, rgba(18, 35, 52, .5) 22%, rgba(18, 35, 52, .98) 103%);
  }
}
.neuro-card h3 { max-width: 18em; color: #fff; font-size: clamp(1.65rem, 2.5vw, 2.45rem); line-height: 1.08; }
.neuro-card p { max-width: 62ch; color: rgba(255,255,255,.88); font-size: var(--fs-content); line-height: 1.55; }
.neuro-card h4 { margin: 20px 0 10px; color: #fff; font-size: var(--fs-content); letter-spacing: 0; }
.neuro-card__benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 20px; margin-bottom: 22px; }
.neuro-card__benefits li { position: relative; padding-left: 16px; color: rgba(255,255,255,.9); font-size: var(--fs-content); line-height: 1.4; }
.neuro-card__benefits li::before { content: ""; position: absolute; left: 0; top: .58em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-bright); }
.neuro-card .more-btn { color: #fff; background: rgba(18,35,52,.4); border-color: rgba(255,255,255,.4); }
.neuro-card .more-btn:hover,
.neuro-card .more-btn:focus-visible { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.68); }

@media(max-width:768px){
  .neuro-card .more-btn{
    width: 100%;
  }

  .more-btn{
    max-width: 350px;
  }
}

.wellness__program-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(440px, 1.18fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: end;
  min-height: 680px;
  padding: clamp(34px, 5vw, 70px);
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark);
  background: var(--night);
  color: #fff;
}
.wellness__program-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--wellness-bg);
  background-position: 68% center;
  background-size: cover;
}
.wellness__program-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7,38,34,.74) 0%, rgba(7,38,34,.58) 48%, rgba(7,38,34,.7) 100%);
}
.wellness__program-shell > * { position: relative; z-index: 2; }
.wellness__program-shell.is-changing::before { animation: wellnessBgIn .6s cubic-bezier(.22,1,.36,1); }
@keyframes wellnessBgIn { from { opacity: .45; transform: scale(1.015); } to { opacity: 1; transform: none; } }
.wellness__intro { align-self: center; max-width: 560px; }
.wellness__intro,
.wellness__content { text-shadow: 0 2px 16px rgba(0,0,0,.62); }
.wellness__intro h2 { margin-top: .55rem; color: #fff; font-size: var(--fs-h2); }
.wellness__intro p { max-width: 46ch; color: rgba(255,255,255,.94); }
.wellness__content { align-self: end; min-width: 0; }
.wellness-tabs {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.17fr) minmax(0, 1.39fr) minmax(0, 1.45fr);
  gap: 0;
  width: 100%;
  padding: 5px;
  margin: 0 0 28px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-pill);
  background: rgba(7,38,34,.28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
}
.wellness-tabs .tab {
  width: 100%;
  min-width: 0;
  justify-content: center;
  min-height: 46px;
  padding-inline: clamp(8px, 1vw, 16px);
  border-radius: var(--radius-pill);
  border: 0;
  color: rgba(255,255,255,.82);
  background: transparent;
  font-size: clamp(.72rem, .78vw, .88rem);
  white-space: nowrap;
}
.wellness-tabs .tab:hover {
  color: #fff;
  background: radial-gradient(ellipse at center, rgba(78,145,207,.16), transparent 72%);
}
.wellness-tabs .tab.is-active {
  color: #fff;
  background: radial-gradient(ellipse at center, rgba(78,145,207,.3) 0%, rgba(78,145,207,.12) 42%, transparent 74%);
  box-shadow: none;
  text-shadow: 0 0 12px rgba(78,145,207,.88), 0 1px 8px rgba(0,0,0,.5);
}
@media (max-width: 680px) {
  .wellness-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; border-radius: 18px; scrollbar-width: none; flex-direction: column;}
  .wellness-tabs::-webkit-scrollbar { display: none; }
  .wellness-tabs .tab { flex: 0 0 auto; width: auto; padding-inline: 16px; }
  .wellness-tabs .tab{
    min-height: 30px;
  }
}

.wellness-tabs .tab{
    position:relative;
    width:100%;
    min-width:0;
    justify-content:center;
    min-height:46px;
    padding-inline:clamp(8px,1vw,16px);
    border-radius:var(--radius-pill);
    border:0;
    background:transparent;
    color:rgba(255,255,255,.82);
    font-size:clamp(.72rem,.78vw,.88rem);
    white-space:nowrap;
    overflow:hidden;

    transition:
        color .3s ease,
        background .3s ease;
}

/* Línea inferior */
.wellness-tabs .tab::after{
    content:"";
    position:absolute;

    left:18px;
    right:18px;
    bottom:8px;

    height:2px;
    border-radius:999px;

    background:linear-gradient(
        90deg,
        #1C5A97,
        #6EA8E0
    );

    transform:scaleX(0);
    transform-origin:left center;

    opacity:.9;

    transition:transform .35s cubic-bezier(.22,1,.36,1);
}

.wellness-tabs .tab:hover{
    color:#fff;
    background:radial-gradient(
        ellipse at center,
        rgba(78,145,207,.16),
        transparent 72%
    );
}

.wellness-tabs .tab:hover::after{
    transform:scaleX(1);
}

.wellness-tabs .tab.is-active{
    color:#fff;

    background:
        radial-gradient(
            ellipse at center,
            rgba(78,145,207,.30) 0%,
            rgba(78,145,207,.12) 42%,
            transparent 74%
        );

    text-shadow:
        0 0 12px rgba(78,145,207,.88),
        0 1px 8px rgba(0,0,0,.5);
}

.wellness-tabs .tab.is-active::after{
    transform:scaleX(1);
}
.wellness-panels { min-height: 360px; }
.wellness .tabpanel__copy {
  max-width: 720px;
  padding: 0;
}
.wellness .tabpanel__copy h3 { max-width: 19em; color: #fff; font-size: clamp(1.65rem, 2.7vw, 2.45rem); }
.wellness .tabpanel__copy p { max-width: 58ch; color: rgba(255,255,255,.94); }
.wellness-bullets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 20px 0 24px; }
.wellness-bullets li { position: relative; padding-left: 17px; color: #fff; font-size: var(--fs-content); }
.wellness-bullets li::before { content: ""; position: absolute; left: 0; top: .67em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-bright); }
.wellness__program-shell .more-btn { color: #fff; background: rgba(18,35,52,.34); border-color: rgba(255,255,255,.4); }
.wellness__program-shell .more-btn:hover,
.wellness__program-shell .more-btn:focus-visible { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.68); }

.primary__grid { grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: clamp(28px, 4vw, 58px); }
.primary__copy h2 { font-size: clamp(2rem, 4vw, 3.75rem); }
.primary__matrix { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 26px 0 4px; }
.primary-tile { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: transform .26s cubic-bezier(.22,1,.36,1), border-color .26s ease, box-shadow .26s ease; }
.primary-tile:hover { transform: translateY(-3px); border-color: rgba(28,90,151,.42); box-shadow: var(--shadow-sm); }
.primary-tile span { display: block; font-family: var(--font-display); font-size: .82rem; font-weight: 800; color: var(--teal); margin-bottom: 20px; }
.primary-tile b { display: block; font-family: var(--font-display); color: var(--ink); }
.primary-tile p { margin: 6px 0 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.45; }
.primary__media .photo { border-radius: 28px; }
.primary__card-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); min-width: 0; }
.primary-picture-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--night);
}
.primary-picture-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18,35,52,.18) 0%, rgba(18,35,52,.72) 34%, rgba(18,35,52,.98) 100%);
}
.primary-picture-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.primary-picture-card:hover > img { transform: scale(1.035); }
.primary-picture-card__body { width: 100%; padding: clamp(22px, 2.6vw, 34px); color: rgba(255,255,255,.9); }
.primary-picture-card__label { display: block; margin-bottom: 8px; font-family: var(--font-mono); font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-bright); }
.primary-picture-card h3 { max-width: 22em; margin-bottom: .4rem; color: #fff; font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.1; }
.primary-picture-card p { max-width: 72ch; margin-bottom: 14px; color: rgba(255,255,255,.86); font-size: var(--fs-content); line-height: 1.48; }
.primary-picture-card h4 { margin: 15px 0; color: #fff; font-size: 18px; letter-spacing: 0; }
.primary-picture-card__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 22px; }
.primary-picture-card__list li { position: relative; padding-left: 14px; color: rgba(255,255,255,.86); font-size: var(--fs-content); line-height: 1.38; }
.primary-picture-card__list li::before { content: ""; position: absolute; left: 0; top: .52em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-bright); }
.primary-picture-card__list b { display: block; color: #fff; font-family: var(--font-display); font-size: var(--fs-content); }
.primary-picture-card__list span { display: block; margin-top: 2px; }
.primary-picture-card__list--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.tech { overflow: hidden; }
.tech__inner { position: relative; }
.tech__inner::before {
  content: ""; position: absolute; inset: 12% 0 auto 42%;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(28,90,151,.42), transparent);
}
.tech__media { border-radius: 28px; }
.tech__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tech__chips span { padding: .58em .86em; border-radius: 999px; background: rgba(28,90,151,.08); border: 1px solid rgba(28,90,151,.16); color: var(--teal); font-size: .86rem; font-weight: 800; }
.tech__spec { border-radius: 18px; }

@media(max-width:768px){
  .tech__chips{
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .tech__chips span{
    max-width: 300px;
    width: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
  }
  .tech__spec{
    text-align: start;
  }

  .primary-picture-card__list li::before{
    display: none;
  }
}

.providers__head .lead { margin-top: 10px; color: var(--ink-soft); max-width: 62ch; }

.insurance__inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
}

.insurance__inner-before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  inset: -10px;
  filter: blur(4px);
  transform: scale(1.025);
}

.insurance__inner::before,
.insurance__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.insurance__inner::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(247,245,240,.9), rgba(247,245,240,.76));
}

@media(max-width:768px){
  .insurance__inner{
    text-align: center;
  }

  .insurance__inner .btn.btn-primary{
    text-align: center;
    width: 100%;
    justify-content: center;
  }
}
.insurance__chips .chip { background: var(--white); }

.reviews__grid .review { min-height: 220px; background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 78%, var(--white))); }

.res-card span { display: flex; flex-direction: column; gap: 5px; }
.res-card small { color: var(--ink-soft); font-family: var(--font-body); font-size: .95rem; font-weight: 500; line-height: 1.4; }
.faq { padding: clamp(22px, 3vw, 34px); border-radius: 26px; background: var(--night); border: 1px solid var(--line-dark); }
.faq .eyebrow { color: var(--teal-bright); }
.faq .faq__h { color: #fff; }
.faq__intro .prose { color: rgba(255,255,255,.76); }
.faq .acc-item { border-color: var(--line-dark); }
.faq .acc-q { color: rgba(255,255,255,.92); }
.faq .acc-q svg { color: var(--teal-bright); }
.faq .acc-q:hover { color: var(--teal-bright); }
.faq .acc-a__inner p { color: rgba(255,255,255,.72); }


@media(max-width:768px){
  .faq__intro{
    text-align: center;
  }
  .faq__intro a{
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .faq__intro .btn-primary{
    width: 100%;
  }
}

.areas { overflow: hidden; }
.contact__form { border-radius: 28px; background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 80%, #fff)); }

@media (max-width: 1080px) {
  .pillar-system { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar-card { min-height: 680px; }
  .pillar-card:last-child { grid-column: 1 / -1; min-height: 580px; }
  .pillar-card:last-child .pillar-card__body { max-width: 680px; }
  .care-path { grid-template-columns: 1fr; }
  .care-path__rail { left: 24px; right: auto; top: 38px; bottom: 38px; width: 2px; height: auto; background: linear-gradient(180deg, rgba(28,90,151,.18), rgba(28,90,151,.46), rgba(28,90,151,.18)); }
  .care-step { min-height: 0; padding-left: 82px; }
  .care-step__num { position: absolute; left: 16px; top: 20px; }
  .why__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; grid-template-areas: "story" "media"; }
  .about__media { min-height: 0; }
  .about__photo { min-height: 360px;         aspect-ratio: auto !important;
        max-height: 400px;}
  .about__note { right: 14px; bottom: 14px; }
  .pillar-system { grid-template-columns: 1fr; }
  .pillar-card,
  .pillar-card:last-child { grid-column: auto; min-height: 640px; }
  .pillar-card:last-child .pillar-card__body { max-width: none; }
  .pillar-card__num { font-size: .82rem; }
  .pillar-card__media { min-height: 0; }
  .neuro-cards { grid-template-columns: 1fr; }
  .neuro-card { min-height: 640px; }
  .wellness__program-shell { grid-template-columns: 1fr; align-items: start; min-height: 820px; }
  .wellness__content { align-self: end; }
  .tms__grid,
  .primary__grid { grid-template-columns: 1fr; text-align: center;}
  .tms__media .photo { height: 360px; }
  .tms__tiles { grid-template-columns: 1fr; }
  .wellness .tabpanel__grid { grid-template-columns: 1fr; min-height: 0; }
  .primary__media { order: -1; }
  .primary__card-stack { grid-template-columns: 1fr; margin-top: 8px; }
  .primary-picture-card { min-height: 420px; }
}

@media (max-width: 560px) {
  .pillar-card__actions { flex-direction: column; align-items: stretch; }
  .pillar-card__actions .btn,
  .pillar-card__actions .more-btn { width: 100%; font-size: var(--fs-content); }
  .primary__copy h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .about { padding-block: 46px; }
  .about__values { grid-template-columns: 1fr; padding-top: 8px; }
  .about__values li { padding: 14px 0; }
  .about__values li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
  .neuro-card { min-height: 680px; text-align: center;}
  ul.neuro-card__benefits{
    text-align: start;
  }
  .neuro-card__body { padding: 24px 20px; }
  .neuro-card__benefits { grid-template-columns: 1fr; gap: 6px; }
  .wellness__program-shell { min-height: 920px; padding: 30px 22px; text-align: center; }
  .wellness__program-shell ul{text-align: start;}
  .wellness-tabs .tab { min-width: 0; }
  .wellness-panels { min-height: 500px; }
  .wellness-bullets { grid-template-columns: 1fr; gap: 6px; }
  .primary__matrix,
  .why__manifesto { grid-template-columns: 1fr; }
  .primary-picture-card:first-child { min-height: 720px; }
  .primary-picture-card:last-child { min-height: 590px; }
  .primary-picture-card__body { padding: 24px 20px; text-align: center;}

  .primary-picture-card__list,
  .primary-picture-card__list--compact { grid-template-columns: 1fr; }
  .care-step { padding-left: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .about .reveal-from-left,
  .js .about .reveal-from-right { transform: none; }
  .pillar-card:hover,
  .pillar-card:focus-within,
  .pillar-card:hover .pillar-card__media img,
  .pillar-card:focus-within .pillar-card__media img { transform: none; }
  .neuro-card:hover,
  .neuro-card:focus-within,
  .neuro-card:hover > img,
  .neuro-card:focus-within > img { transform: none; }
  .wellness__program-shell.is-changing::before { animation: none; }
  .primary-picture-card:hover > img { transform: none; }
}

/* ---------- FOOTER ---------- */
.footer { background: var(--night); color: rgba(255,255,255,.66); padding-top: clamp(50px, 6vw, 78px); margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: minmax(280px, 1.55fr) 1fr 1fr 1.2fr; gap: clamp(30px, 4vw, 58px); padding-bottom: 30px; align-items: start; }
.footer__brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer__name { display: inline-block; width: fit-content; padding: 8px 12px; background: var(--white); border-radius: 12px; }
.footer__logo { display: block; width: clamp(220px, 19vw, 280px); height: auto; transition: opacity .25s ease; }
.footer__name:hover .footer__logo { opacity: .82; }
.footer__tag { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: rgba(255,255,255,.7); margin: 16px 0 0; }
.footer__col h4 { font-family: var(--font-display); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.9); margin: 0 0 16px; }
.footer__col a, .footer__contact p { display: block; color: rgba(255,255,255,.66); font-size: .95rem; margin-bottom: 10px; }
.footer__contact-line { display: flex !important; align-items: center; gap: 8px; }
.footer__contact-line svg, .footer__hours svg { width: 16px; height: 16px; color: var(--teal-bright); flex: none; }
.footer__col a:hover { color: var(--teal-bright); }
.footer__contact p { margin-bottom: 14px; }
.footer__hours { line-height: 1.55; }
.footer__hours b { color: rgba(255,255,255,.9); }
.footer__disclaimer { display: flex; justify-content: center; padding-bottom: 18px; text-align: center; }
.footer__disclaimer p { margin: 0; max-width: 125ch; font-size: .8rem; line-height: 1.5; color: rgba(255,255,255,.48); }
.footer__disclaimer b { color: rgba(255,255,255,.72); font-weight: 600; }
.footer__base { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.footer__base p { margin: 0; text-align: center; }
.footer__legal { display: flex; gap: 22px; }
.footer__legal button { background: none; border: none; padding: 0; cursor: pointer; font: inherit; color: rgba(255,255,255,.66); }
.footer__legal button:hover { color: #fff; }

@media(max-width: 768px){
  .footer__col a{
    justify-content: center;
    text-align: center;

  }
}

/* ---------- MOBILE QUICK ACTIONS ---------- */
.quick-actions {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: none; gap: 10px;
  padding: 10px calc(10px + env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) calc(10px + env(safe-area-inset-left));
  background: color-mix(in srgb, var(--night) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line-dark); border-radius: 20px;
  box-shadow: 0 18px 44px rgba(18,35,52,.35);
  transform: translateY(calc(100% + 24px));
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.quick-actions.is-visible { transform: none; }
.quick-actions .btn { flex: 1; padding: .95em 1em; font-size: .93rem; }
.quick-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.quick-actions .btn-ghost:hover { color: #fff; border-color: #fff; }
@media (max-width: 720px) { .quick-actions:not([hidden]) { display: flex; } }
@media (prefers-reduced-motion: reduce) { .quick-actions { transition: none; } }
@media (max-width: 820px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    justify-items: center;
    text-align: center;
  }
  .footer__brand,
  .footer__col { width: 100%; text-align: center; }
  .footer__name { margin-inline: auto; }
  .footer__base { flex-direction: column-reverse; justify-content: center; text-align: center; }
  .footer__legal { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }


@media(max-width:768px){
  .component-mobile{
    display: block;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
  }
  .component-pc{
    display: none;
  }
}

@media(min-width:769px){
  .component-mobile{
    display: none;
  }
  .component-pc{
    display: block;
  }
}



.field--acceptance input[type="checkbox"]{
    appearance: none;
    -webkit-appearance: none;
    width: auto;
    height: 20px;
    margin: .15rem 0 0;
    border: 2px solid var(--blue);
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: .2s;
    padding: 8px;
}

.field--acceptance input[type="checkbox"]:checked{
    background: var(--blue);
}

.field--acceptance input[type="checkbox"]:checked::after{
    content: "";

    position: absolute;
    left: 6px;
    top: 2px;

    width: 4px;
    height: 9px;

    border: solid #fff;
    border-width: 0 2px 2px 0;

    transform: rotate(45deg);
}

.wpcf7-list-item{
  margin: 0px;
}

#dlg-quote .field.field--acceptance{
  margin-block: 1.5rem;
}

.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item label{
      display: flex;
    gap: 6px;
    font-weight: 400;


    button{
      border: none;
      background: transparent;
      outline: none;
      cursor: pointer;
      font-weight: 600;
      padding: 0px;
      color: var(--blue);
      transition: all .3s ease-in;

      &:hover{
        color: var(--navi);
      }
    }
}

.location-to-bar{
  display: flex;
  align-items: center;
  gap: 3px;
}

.location-to-bar span{
  line-height: normal;
}


@media(max-width:768px){
  .component-contact-mobile{
    display: block;
  }
  .component-contact-pc{
    display: none;
  }

  .contact__next-h{
    text-align: center;
  }
  .contact__list{
    margin-top: 0px;
  }
}

@media(min-width:769px){
  .component-contact-mobile{
    display: none;
  }
  .component-contact-pc{
    display: block;
  }
}


@media(max-width: 768px){
  .location-to-bar, .topbar__hours, .topbar a.topbar__mail{
    display: none;
  }
  .cov-tile b{
    font-size: 18px;
    margin-top: 0px;
  }
}

/*============ Wellness Mobile ==============*/

.wellness-select{
    display:none;
    position:relative;
    width:100%;
    margin-bottom:22px;
}

@media (max-width:768px){

    .wellness-tabs{
        display:none;
    }

    .wellness-select{
        display:block;
    }

}

/* ---------- Trigger ---------- */

.wellness-select__trigger{

    display:flex;
    justify-content:space-between;
    align-items:center;

    width:100%;
    min-height:56px;

    padding:0 18px;

    border:none;
    outline:none;

    border-radius:18px;

    background:rgba(20,34,44,.42);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.12);

    color:#fff;

    cursor:pointer;

    transition:
        background .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
        font-size: 17px;
}

.wellness-select__trigger:hover{

    background:rgba(26,44,56,.9);

    border-color:rgba(94,168,255,.35);

    box-shadow:
        0 10px 24px rgba(0,0,0,.18);

}

.wellness-select__current{

    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;

    font-weight:500;
}

/* ---------- Chevron ---------- */

.wellness-select__trigger svg{

    width:18px;
    height:18px;

    transition:
        transform .35s ease;
}

.wellness-select.is-open
.wellness-select__trigger svg{

    transform:rotate(180deg);

}

/* ---------- Menu ---------- */

.wellness-select__menu{

    position:absolute;

    top:calc(100% + 10px);

    left:0;
    right:0;

    z-index:50;

    overflow:hidden;

    border-radius:18px;

    background:rgba(20,34,44,.95);

    backdrop-filter:blur(22px);

    border:1px solid rgba(255,255,255,.12);

    box-shadow:
        0 18px 45px rgba(0,0,0,.28);

    opacity:0;
    visibility:hidden;

    transform:translateY(12px);

    transition:
        opacity .35s ease,
        transform .35s ease,
        visibility .35s;
}

.wellness-select.is-open .wellness-select__menu{

    opacity:1;

    visibility:visible;

    transform:none;

}

/* ---------- Options ---------- */

.wellness-option{

    display:flex;
    align-items:center;
    justify-content:space-between;

    width:100%;

    padding:15px 18px;

    border:none;
    outline:none;

    background:none;

    color:rgba(255,255,255,.82);

    text-align:left;

    cursor:pointer;

    transition:
        background .25s ease,
        color .25s ease;
}

.wellness-option + .wellness-option{

    border-top:1px solid rgba(255,255,255,.05);

}

.wellness-option:hover{

    background:rgba(94,168,255,.12);

    color:#fff;

}

.wellness-option.is-active{

    background:rgba(94,168,255,.18);

    color:#fff;

}

/* Check */

.wellness-option.is-active::after{

    content:"✓";

    color:#74BCFF;

    font-size:.9rem;

}

@media(max-width:768px){
  /* Contenedor del video */
.hero-media{
    overflow:hidden;
    isolation:isolate;
    transform:translateZ(0);
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
    will-change:clip-path;
}

/* Contenedor de los videos */
.hero-video{
    position:relative;
    width:100%;
    height:100%;
    overflow:hidden;

    transform:translateZ(0);
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
}

/* Videos */
.hero-video__item{

    position:absolute;
    inset:-2px;              /* evita líneas de 1px */

    width:calc(100% + 4px);
    height:calc(100% + 4px);

    object-fit:cover;

    transform:translateZ(0) scale(1.01);

    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;

    will-change:opacity,transform;

    image-rendering:auto;

    background:#0f1d29;      /* color similar al fondo */
}

/* Overlay */
.hero-media__scrim{

    pointer-events:none;

    transform:translateZ(0);

    backface-visibility:hidden;
}
}