/* ==========================================================================
   Components and sections
   ========================================================================== */

/* ---------- Preloader (first view per session only, see main.js) ---------- */
.preloader { position: fixed; inset: 0; z-index: var(--z-loader); display: none; place-content: center; justify-items: center; gap: 22px; background: var(--color-surface); }
.has-loader .preloader { display: grid; }
.preloader.is-done { opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s; }
.preloader__dots { display: flex; gap: 8px; }
.preloader__dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--color-accent); animation: pl-dot 1s var(--ease) infinite; }
.preloader__dots i:nth-child(2) { animation-delay: 0.12s; background: var(--color-primary); }
.preloader__dots i:nth-child(3) { animation-delay: 0.24s; background: var(--color-navy); }
.preloader__dots i:nth-child(4) { animation-delay: 0.36s; background: var(--color-gold); }
.preloader__word { display: flex; gap: 0.06em; font: 700 clamp(3rem, 2rem + 4vw, 5rem)/1 var(--font); letter-spacing: 0.04em; }
.preloader__word span { color: transparent; -webkit-text-stroke: 1.5px rgb(7 44 68 / 0.2); position: relative; }
.preloader__word span { background: linear-gradient(var(--color-primary), var(--color-primary)) no-repeat 0 100% / 100% 0; -webkit-background-clip: text; background-clip: text; animation: pl-fill 1.1s var(--ease) infinite alternate; }
.preloader__word span:nth-child(2) { animation-delay: 0.15s; }
.preloader__word span:nth-child(3) { animation-delay: 0.3s; background-image: linear-gradient(var(--color-gold), var(--color-gold)); }
.preloader__word span:nth-child(4) { animation-delay: 0.45s; background-image: linear-gradient(var(--color-accent), var(--color-accent)); }
@keyframes pl-dot { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-10px); opacity: 1; } }
@keyframes pl-fill { to { background-size: 100% 100%; } }

/* ---------- Buttons (pill with arrow that travels on hover) ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; min-height: 56px; padding: 6px 64px 6px 28px;
  border: 0; border-radius: var(--r-pill); background: var(--color-primary); color: var(--color-white);
  font: 600 1rem/1.2 var(--font); text-decoration: none; white-space: nowrap;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.btn__label { transition: transform 0.5s var(--ease); }
.btn__arrow, .btn::before {
  position: absolute; top: 6px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-white); color: var(--color-primary); display: grid; place-items: center;
  transition: transform 0.5s var(--ease);
}
.btn__arrow { right: 6px; }
.btn__arrow .ico { width: 18px; height: 18px; }
.btn::before {
  content: ""; left: 6px; transform: scale(0);
  background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23036fb1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.btn:hover, .btn:focus-visible { background: var(--color-navy); color: var(--color-white); }
.btn:hover .btn__label, .btn:focus-visible .btn__label { transform: translateX(36px); }
.btn:hover .btn__arrow, .btn:focus-visible .btn__arrow { transform: scale(0); }
.btn:hover::before, .btn:focus-visible::before { transform: scale(1); }
.btn--light { background: var(--color-white); color: var(--color-heading); }
.btn--light .btn__arrow { background: var(--color-primary); color: var(--color-white); }
.btn--light::before { background-color: var(--color-primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E"); }
.btn--light:hover, .btn--light:focus-visible { background: var(--color-accent-soft); color: var(--color-heading); }
.btn--wa { background: var(--color-whatsapp); }
.btn--wa .btn__arrow { color: var(--color-whatsapp); }
.btn--block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; color: var(--color-heading); text-decoration: none; }
.link-arrow .ico { width: 1em; height: 1em; color: var(--color-primary); transition: transform 0.4s var(--ease); }
.link-arrow:hover { color: var(--color-primary); }
.link-arrow:hover .ico { transform: translate(3px, -3px); }

/* ---------- Pill subtitle + section heads ---------- */
.sub { display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 16px; border-radius: var(--r-pill); background: var(--color-surface); color: var(--color-heading); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: capitalize; }
.sub::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }
.dark .sub { background: rgb(255 255 255 / 0.08); color: #dbe8f0; }
.on-white .sub { background: var(--color-background); }
.shead { display: grid; gap: 18px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.shead--center { justify-items: center; text-align: center; }
.shead--center .lead { margin-inline: auto; }
.shead h2 { max-width: 20ch; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: var(--z-header); padding: calc(var(--inset) + 12px) calc(var(--inset) + var(--gutter)) 0; transition: background-color 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.bar { display: flex; align-items: center; gap: var(--s-5); max-width: 1500px; margin-inline: auto; min-height: 76px; }
.brand { position: relative; display: block; flex: none; width: 128px; }
.brand__logo { width: 100%; transition: opacity 0.3s var(--ease); }
.brand__logo--dark { position: absolute; inset: 0; opacity: 0; }
.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; padding: 6px; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav__group { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; min-height: 42px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: none; color: var(--color-white); font: 500 0.95rem/1 var(--font); text-decoration: none; white-space: nowrap; transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.nav__link:hover, .nav__toggle[aria-expanded="true"] { background: rgb(255 255 255 / 0.16); color: var(--color-white); }
.nav__link[aria-current="page"] { background: var(--color-white); color: var(--color-heading); }
.nav__toggle .ico { transition: transform 0.3s var(--ease); }
.nav__toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 14px); left: 0; min-width: 270px; padding: 10px; border-radius: var(--r-card); background: var(--color-surface); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s; }
.nav__toggle[aria-expanded="true"] + .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--color-heading); font-weight: 500; text-decoration: none; transition: background-color 0.3s var(--ease), color 0.3s var(--ease), padding 0.3s var(--ease); }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--color-accent-soft); color: var(--color-primary); padding-left: 20px; }
.call { display: flex; align-items: center; gap: 12px; flex: none; color: var(--color-white); text-decoration: none; }
.call__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--color-accent); color: var(--color-white); transition: transform 0.4s var(--ease); }
.call:hover .call__icon { transform: rotate(-12deg) scale(1.05); }
.call__text { display: grid; line-height: 1.3; font-size: 0.85rem; opacity: 0.9; }
.call__text strong { font-size: 1.02rem; font-weight: 600; opacity: 1; }
.call:hover { color: var(--color-white); }
.menu-btn { display: none; margin-left: auto; width: 50px; height: 50px; place-items: center; border: 1px solid rgb(255 255 255 / 0.35); border-radius: 50%; background: rgb(255 255 255 / 0.1); color: var(--color-white); }

/* Scrolled: solid white bar */
.site-header.is-scrolled { padding-top: 0; padding-inline: var(--gutter); background: var(--color-surface); box-shadow: 0 10px 30px -20px rgb(7 44 68 / 0.4); }
.site-header.is-scrolled .brand__logo--light { opacity: 0; }
.site-header.is-scrolled .brand__logo--dark { opacity: 1; }
.site-header.is-scrolled .nav__list { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-scrolled .nav__link { color: var(--color-heading); }
.site-header.is-scrolled .nav__link:hover, .site-header.is-scrolled .nav__toggle[aria-expanded="true"] { background: var(--color-accent-soft); color: var(--color-primary); }
.site-header.is-scrolled .nav__link[aria-current="page"] { background: var(--color-primary); color: var(--color-white); }
.site-header.is-scrolled .call { color: var(--color-heading); }
.site-header.is-scrolled .call__text strong { color: var(--color-primary); }
.site-header.is-scrolled .menu-btn { color: var(--color-heading); border-color: var(--color-border); background: var(--color-surface); }
body.menu-open .site-header { background: var(--color-surface); padding-top: 0; padding-inline: var(--gutter); }
body.menu-open .brand__logo--light { opacity: 0; }
body.menu-open .brand__logo--dark { opacity: 1; }
body.menu-open .menu-btn { color: var(--color-heading); border-color: var(--color-border); }

.mobile-menu { position: fixed; inset: var(--mm-top, 76px) 0 0 0; z-index: var(--z-menu); overflow-y: auto; overscroll-behavior: contain; background: var(--color-surface); padding: var(--s-4) var(--gutter) var(--s-8); }
.mm__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--color-border); color: var(--color-heading); font-size: 1.2rem; font-weight: 500; text-decoration: none; }
.mm__head { margin-top: var(--s-5); color: var(--color-accent); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.mm__actions { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu:not([hidden]) { animation: mm-in 0.45s var(--ease); }
  @keyframes mm-in { from { opacity: 0; transform: translateY(-12px); } }
}
@media (max-width: 1240px) { .call__text { display: none; } }
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .call { margin-left: auto; }
  .site-header { padding-inline: calc(var(--inset) + var(--gutter)); }
}
@media (max-width: 560px) { .call { display: none; } .brand { width: 104px; } .bar { min-height: 66px; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; margin: var(--inset) var(--inset) 0; border-radius: var(--r-section); overflow: hidden; min-height: min(100svh - var(--inset), 980px); display: grid; align-items: end; color: var(--color-white); background: var(--color-navy); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 30%; }
@media (min-width: 761px) { .hero__bg img { object-position: 0% 30%; } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(4 26 41 / 0.86) 0%, rgb(4 26 41 / 0.55) 48%, rgb(4 26 41 / 0.15) 100%), linear-gradient(0deg, rgb(4 26 41 / 0.7) 0%, rgb(4 26 41 / 0) 45%); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s-7); align-items: end; width: 100%; max-width: 1500px; margin-inline: auto; padding: 170px clamp(1.25rem, 0.5rem + 3vw, 3.5rem) clamp(2rem, 1rem + 3vw, 3.5rem); }
.hero__title { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -0.03em; color: var(--color-white); max-width: 17ch; }
.hero__text { margin-top: var(--s-5); max-width: 52ch; color: #dbe7ee; font-size: 1.125rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--s-6); }
.hero .sub { background: rgb(255 255 255 / 0.12); color: var(--color-white); margin-bottom: var(--s-5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-card { display: block; padding: 12px; border-radius: var(--r-card); background: rgb(255 255 255 / 0.14); border: 1px solid rgb(255 255 255 / 0.2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--color-white); text-decoration: none; }
.hero-card img { aspect-ratio: 4 / 3; object-fit: contain; width: 100%; padding: 10px; transition: transform 0.6s var(--ease); }
.hero-card__img { display: block; overflow: hidden; border-radius: 14px; background: var(--color-white); }
.hero-card:hover img { transform: scale(1.04); }
.hero-card__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 4px 2px; font-size: 1.1rem; font-weight: 600; }
.hero-card__go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-accent); transition: transform 0.4s var(--ease); }
.hero-card:hover { color: var(--color-white); }
.hero-card:hover .hero-card__go { transform: rotate(45deg); }

/* Info strip under hero */
.info { position: relative; z-index: 2; margin-top: -40px; }
.info__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 20px; }
.info__card { border-radius: var(--r-card); padding: 28px; }
.info__card--white { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; background: var(--color-surface); box-shadow: var(--shadow); }
.info__card--white img { border-radius: 14px; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.info__card--accent { background: var(--color-primary); color: #e4f2fb; }
.info__card--navy { background: var(--color-navy); color: #c9d8e2; }
.info__card h2 { font-size: 1.35rem; margin-bottom: 10px; }
.info__card--accent h2, .info__card--navy h2 { color: var(--color-white); }
.info__card p { font-size: 0.98rem; line-height: 1.7; }
.info__phone { display: flex; gap: 12px; align-items: center; margin-top: 16px; color: var(--color-heading); text-decoration: none; }
.info__phone .call__icon { width: 44px; height: 44px; }
.info__phone small { display: block; color: var(--color-muted); }
.info__phone strong { font-weight: 600; }
.info__link { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; color: var(--color-white); font-weight: 600; text-decoration: none; }
.info__link:hover { color: var(--color-white); }
.info__link .ico { transition: transform 0.4s var(--ease); }
.info__link:hover .ico { transform: translateX(4px); }
.hours { display: grid; gap: 0; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgb(255 255 255 / 0.12); font-size: 0.98rem; }
.hours dt { color: #c9d8e2; }
.hours dd { color: var(--color-white); font-weight: 600; }
.hours__em { display: block; margin-top: 14px; color: var(--color-white); font-weight: 600; text-decoration: none; }
.hours__em:hover { color: var(--color-gold); }

/* ---------- About block ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5.5rem); align-items: center; }
.about__media { position: relative; padding: 0 22% 14% 0; }
.about__media img { width: 100%; border-radius: var(--r-card); object-fit: cover; }
.about__main { aspect-ratio: 4 / 4.4; object-position: 55% 30%; }
.about__inset { position: absolute; right: 0; bottom: 0; width: 52%; padding: 10px; border-radius: 26px; background: var(--color-background); }
.about__inset img { aspect-ratio: 4 / 4.6; object-position: 40% 50%; }
.about__badge { position: absolute; left: -10px; top: 26px; display: grid; gap: 2px; padding: 16px 20px; border-radius: 16px; background: var(--color-primary); color: var(--color-white); box-shadow: var(--shadow); }
.about__badge strong { font-size: 1.9rem; line-height: 1; font-weight: 700; }
.about__badge span { font-size: 0.85rem; }
.about__copy > * + * { margin-top: var(--s-5); }
.about__copy .h2 { margin-top: var(--s-4); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: var(--s-5) 0; border-block: 1px solid var(--color-border); }
.feature { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start; }
.feature__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--color-surface); color: var(--color-accent); box-shadow: 0 8px 20px -12px rgb(7 44 68 / 0.4); transition: background-color 0.4s var(--ease), color 0.4s var(--ease); }
.feature:hover .feature__icon { background: var(--color-primary); color: var(--color-white); }
.feature h3 { font-size: 1.1rem; }
.feature p { font-size: 0.95rem; line-height: 1.6; }
.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.mini-call { display: flex; align-items: center; gap: 12px; padding-left: 28px; border-left: 1px solid var(--color-border); color: var(--color-heading); text-decoration: none; }
.mini-call .call__icon { width: 48px; height: 48px; background: var(--color-navy); }
.mini-call small { display: block; color: var(--color-muted); font-size: 0.85rem; }
.mini-call strong { font-weight: 600; }

/* ---------- Service cards (notched corner) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.svc { --notch: var(--color-background); position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-card); background: var(--color-surface); text-decoration: none; color: var(--color-text); transition: background-color 0.5s var(--ease); }
.svc__plus { position: absolute; top: 0; right: 0; width: 70px; height: 70px; padding: 0 0 12px 12px; border-bottom-left-radius: 24px; background: var(--notch); }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; width: 20px; height: 20px; background: radial-gradient(circle at 0 100%, transparent 19.5px, var(--notch) 20px); }
.svc__plus::before { top: 0; left: -20px; }
.svc__plus::after { right: 0; bottom: -20px; }
.svc__plus span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--color-primary); color: var(--color-white); transition: background-color 0.5s var(--ease), transform 0.5s var(--ease); }
.svc h3 { min-height: 2.7em; padding-right: 56px; font-size: 1.25rem; transition: color 0.5s var(--ease); }
.svc__img { display: block; position: relative; margin-top: 18px; border-radius: 16px; overflow: hidden; }
.svc__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.8s var(--ease); }
.svc__icon { position: absolute; left: 14px; bottom: 14px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--color-accent); color: var(--color-white); }
.svc ul { margin: 18px 0 0; padding: 0 0 0 1.1em; font-size: 0.98rem; line-height: 1.9; }
.svc li::marker { color: var(--color-accent); }
.svc__more { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-heading); }
.svc__more::before { content: ""; flex: 1; height: 1px; background: var(--color-border); transition: background-color 0.5s var(--ease); }
.svc:hover { background: var(--color-navy); color: #c9d8e2; }
.svc:hover h3, .svc:hover .svc__more { color: var(--color-white); }
.svc:hover .svc__more::before { background: rgb(255 255 255 / 0.2); }
.svc:hover .svc__plus span { background: var(--color-navy); transform: rotate(90deg); }
.svc:hover .svc__img img { transform: scale(1.07); }
.on-white .svc { --notch: var(--color-surface); background: var(--color-card); }
.on-white .svc:hover { background: var(--color-navy); }

/* ---------- Why choose ---------- */
.why__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.arch { position: relative; }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 58% 50%; border-radius: 999px 999px var(--r-card) var(--r-card); }
.arch__tag { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; gap: 12px; align-items: center; padding: 10px 20px 10px 10px; border-radius: var(--r-pill); background: var(--color-surface); box-shadow: var(--shadow); white-space: nowrap; color: var(--color-heading); font-weight: 600; }
.arch__tag .call__icon { width: 40px; height: 40px; }
.why__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-card { padding: 28px; border-radius: var(--r-card); background: var(--color-surface); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--color-navy); color: var(--color-white); transition: background-color 0.4s var(--ease); }
.why-card:hover .why-card__icon { background: var(--color-primary); }
.why-card h3 { margin-top: 20px; font-size: 1.2rem; }
.why-card p { margin-top: 8px; font-size: 0.98rem; line-height: 1.7; }
.checks { margin-top: 14px !important; display: grid; gap: 6px; }
.checks li { display: flex; gap: 8px; align-items: center; color: var(--color-heading); font-size: 0.95rem; font-weight: 500; }
.checks .ico { color: var(--color-accent); width: 18px; height: 18px; }

/* ---------- Video banner ---------- */
.vbanner { position: relative; display: grid; place-items: center; min-height: clamp(420px, 30vw + 200px, 640px); text-align: center; color: var(--color-white); }
.vbanner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vbanner::after { content: ""; position: absolute; inset: 0; background: rgb(4 26 41 / 0.6); }
.vbanner__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 28px; padding: var(--s-8) var(--gutter); }
.vbanner h2 { color: var(--color-white); font-size: var(--fs-h1); max-width: 16ch; }
.play { position: relative; display: grid; place-items: center; width: 96px; height: 96px; border: 0; border-radius: 50%; background: var(--color-white); color: var(--color-primary); }
.play .ico { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.play::before, .play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.6); }
@media (prefers-reduced-motion: no-preference) {
  .play::before, .play::after { animation: ripple 2.4s var(--ease) infinite; }
  .play::after { animation-delay: 1.2s; }
  @keyframes ripple { from { transform: scale(1); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
}

/* ---------- Video cards (team-card style) ---------- */
.vcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.vcard { display: block; width: 100%; padding: 10px; border: 0; border-radius: var(--r-card); background: var(--color-surface); text-align: left; color: var(--color-text); }
.vcard__img { display: block; position: relative; overflow: hidden; border-radius: 14px; background: var(--color-card); }
.vcard__img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform 0.8s var(--ease); }
.vcard__img::after { content: ""; position: absolute; inset: 0; background: rgb(4 26 41 / 0.0); transition: background-color 0.5s var(--ease); }
.vcard__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 8px 6px; }
.vcard__row strong { color: var(--color-heading); font-weight: 600; font-size: 1.02rem; line-height: 1.4; }
.vcard__row small { display: block; color: var(--color-muted); font-size: 0.85rem; }
.vcard__go { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--color-accent-soft); color: var(--color-primary); transition: background-color 0.4s var(--ease), color 0.4s var(--ease); }
.vcard:hover .vcard__img img { transform: scale(1.06); }
.vcard:hover .vcard__img::after { background: rgb(4 26 41 / 0.2); }
.vcard:hover .vcard__go { background: var(--color-primary); color: var(--color-white); }

/* Video modal */
.vmodal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: var(--gutter); background: rgb(4 26 41 / 0.85); }
.vmodal__box { position: relative; width: min(1000px, 100%); aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: #000; }
.vmodal__box iframe { width: 100%; height: 100%; border: 0; }
.vmodal__close { position: absolute; top: -56px; right: 0; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--color-white); color: var(--color-heading); }

/* ---------- Milestones (navy, two big cards) ---------- */
.cases { padding-block: var(--section); }
.cases__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.case { display: block; padding: 14px; border-radius: 26px; background: var(--color-surface); color: var(--color-text); text-decoration: none; }
.case__img { display: block; overflow: hidden; border-radius: 18px; }
.case__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.8s var(--ease); }
.case__body { display: block; padding: 22px 12px 12px; text-align: center; }
.case .h3 { display: block; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); transition: color 0.4s var(--ease); }
.case__body p { margin-top: 8px; font-size: 0.98rem; }
.tags { display: flex; margin-top: 14px; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px !important; }
.tags span { padding: 4px 14px; border-radius: var(--r-pill); background: var(--color-card); font-size: 0.82rem; color: var(--color-heading); }
.case:hover .case__img img { transform: scale(1.06); }
.case:hover .h3 { color: var(--color-primary); }

/* ---------- Testimonials (masonry) ---------- */
.source-note { margin-top: 10px; font-size: var(--fs-small); color: var(--color-muted); max-width: 70ch; }

/* ---------- FAQ (navy panel) ---------- */
.faqs { padding-block: var(--section); }
.faqs__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5rem); }
.faqs__grid > div:first-child { padding-right: clamp(0px, 2vw, 2.5rem); border-right: 1px solid rgb(255 255 255 / 0.12); }
.blobs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 360px; margin-top: var(--s-7); }
.blobs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.blobs img:nth-child(2) { object-position: 30% 50%; }
.blobs img:nth-child(3) { object-position: 70% 50%; }
.faq { display: grid; gap: 14px; }
.faq__item { border-radius: 16px; background: transparent; border: 1px solid rgb(127 127 127 / 0.28); transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease); }
.faq__q { margin: 0; font: inherit; }
.faq__btn { display: flex; justify-content: space-between; align-items: center; gap: 18px; width: 100%; padding: 20px 22px; border: 0; background: none; text-align: left; color: var(--color-heading); font: 500 1.08rem/1.45 var(--font); }
.faq__icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgb(127 127 127 / 0.15); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: currentColor; transition: transform 0.4s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__btn[aria-expanded="true"] .faq__icon::after { transform: rotate(0); }
.faq__btn[aria-expanded="true"] .faq__icon { background: var(--color-white); color: var(--color-primary); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq__panel > div { overflow: hidden; }
.faq__panel p { padding: 0 22px 22px; line-height: 1.75; }
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.no-js .faq__panel { grid-template-rows: 1fr; }
.faq__item.is-open { background: var(--color-primary); border-color: var(--color-primary); }
.faq__item.is-open .faq__btn, .faq__item.is-open p { color: var(--color-white); }
.dark .faq__btn { color: var(--color-white); }
.dark .faq__item { border-color: rgb(255 255 255 / 0.16); }
.dark .faq__icon { background: rgb(255 255 255 / 0.1); }
.light-faq .faq__item { background: var(--color-surface); border-color: var(--color-border); }
.light-faq .faq__item.is-open { background: var(--color-primary); border-color: var(--color-primary); }

/* ---------- News / press cards (blog style) ---------- */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post { display: flex; flex-direction: column; height: 100%; padding: 12px; border-radius: var(--r-card); background: var(--color-surface); text-decoration: none; color: var(--color-text); }
.post__img { display: block; position: relative; overflow: hidden; border-radius: 14px; }
.post__img img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; transition: transform 0.8s var(--ease); }
.post__date { position: absolute; left: 14px; top: 14px; display: grid; place-items: center; min-width: 58px; padding: 8px 10px; border-radius: 10px; background: var(--color-primary); color: var(--color-white); font-size: 1.3rem; font-weight: 600; line-height: 1; transition: background-color 0.4s var(--ease); }
.post__date small { font-size: 0.7rem; font-weight: 500; margin-top: 4px; }
.post__body { display: flex; flex-direction: column; flex: 1; padding: 22px 16px 14px; }
.post__pub { display: block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-accent); }
.post__title { display: block; margin-top: 8px; font-size: 1.22rem; transition: color 0.4s var(--ease); }
.post__text { display: block; margin-top: 10px; font-size: 0.96rem; line-height: 1.7; }
.post__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; color: var(--color-heading); font-weight: 600; font-size: 0.95rem; }
.post__more .ico { width: 16px; height: 16px; color: var(--color-primary); transition: transform 0.4s var(--ease); }
.post:hover .post__img img { transform: scale(1.06); }
.post:hover .post__date { background: var(--color-navy); }
.post:hover .post__title { color: var(--color-primary); }
.post:hover .post__more .ico { transform: translate(3px, -3px); }
.post--text .post__body { padding-top: 14px; }

/* ---------- Consultation (form) ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; align-content: start; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--color-heading); font-weight: 600; font-size: 0.98rem; }
.opt { color: var(--color-muted); font-weight: 400; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: 54px; padding: 0 20px; border: 1.5px solid transparent; border-radius: 30px; background: var(--color-background); color: var(--color-heading); font-size: 1rem; transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease); }
.field textarea { min-height: 120px; padding: 16px 20px; border-radius: 22px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230b2433' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-border); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--color-primary); background: var(--color-surface); }
.field [aria-invalid="true"] { border-color: var(--color-error) !important; }
.field__hint { font-size: 0.88rem; color: var(--color-muted); }
.field__err { display: flex; gap: 6px; align-items: center; font-size: 0.92rem; font-weight: 600; color: var(--color-error); }
.field__err::before { content: "!"; display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--color-error); color: var(--color-white); font-size: 0.75rem; }
.field--check { grid-column: 1 / -1; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--color-primary); }
.field--check label { font-weight: 400; font-size: 0.95rem; line-height: 1.55; color: var(--color-text); }
.field--check .field__err { grid-column: 2; }
.form__submit { grid-column: 1 / -1; justify-self: start; }
.form__status { grid-column: 1 / -1; font-size: 0.98rem; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--color-success); font-weight: 600; }
.form__status.is-err { color: var(--color-error); font-weight: 600; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- CTA band ---------- */
.cta { margin: 0 var(--inset); border-radius: var(--r-section); background: var(--color-primary); color: #e4f2fb; overflow: hidden; position: relative; }
.cta::before { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; border: 70px solid rgb(255 255 255 / 0.07); }
.cta__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-6); padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.cta h2 { color: var(--color-white); max-width: 22ch; }
.cta p { margin-top: 10px; color: #e4f2fb; max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta .btn { background: var(--color-white); color: var(--color-heading); }
.cta .btn .btn__arrow { background: var(--color-primary); color: var(--color-white); }
.cta .btn:hover { background: var(--color-navy); color: var(--color-white); }
.cta .btn--outline { background: transparent; color: var(--color-white); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.5); }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: var(--inset); margin-bottom: var(--inset); padding-top: clamp(4rem, 3rem + 3vw, 6rem); }
.site-footer::before { content: ""; position: absolute; inset: auto 0 0 0; height: 60%; background: radial-gradient(ellipse at 100% 100%, rgb(4 147 220 / 0.25), transparent 60%); pointer-events: none; }
.footer__grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: clamp(2rem, 1rem + 4vw, 5rem); }
.footer__brand img { width: 150px; }
.footer__brand p { margin-top: 20px; max-width: 36ch; }
.footer__big { display: grid; gap: 4px; margin-top: 26px !important; }
.footer__big a { color: var(--color-white); font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem); font-weight: 500; text-decoration: none; }
.footer__big a:hover { color: #8fc4e6; }
.social { display: flex; gap: 10px; margin-top: 26px !important; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / 0.1); color: var(--color-white); transition: background-color 0.3s var(--ease), transform 0.3s var(--ease); }
.social a:hover { background: var(--color-accent); color: var(--color-white); transform: translateY(-3px); }
.social .ico { width: 18px; height: 18px; }
.light-social .social a { background: var(--color-surface); color: var(--color-heading); }
.light-social .social a:hover { background: var(--color-primary); color: var(--color-white); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); align-content: start; }
.footer__h { margin-bottom: 18px; font-size: 1.2rem; font-weight: 500; color: var(--color-white); }
.footer__col ul { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.footer__col a { color: #c9d8e2; text-decoration: none; display: inline-block; padding-block: 2px; transition: color 0.3s var(--ease), transform 0.3s var(--ease); }
.footer__col a:hover { color: var(--color-white); transform: translateX(4px); }
.footer__col address, .footer__col p { font-size: 0.98rem; line-height: 1.75; }
.footer__col p { margin-top: 12px; }
.footer__wa { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 62px; padding: 8px 8px 8px 28px; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.08); color: #c9d8e2; text-decoration: none; transition: background-color 0.3s var(--ease); }
.footer__wa:hover { background: rgb(255 255 255 / 0.14); color: var(--color-white); }
.footer__wa-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--color-whatsapp); color: var(--color-white); }
.footer__base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: clamp(3rem, 2rem + 3vw, 5rem); padding-block: 26px; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 0.95rem; }
.footer__base p:last-child { display: flex; gap: 28px; }
.footer__base a { color: #c9d8e2; }
.footer__base a:hover { color: var(--color-white); }

/* ---------- Floating controls ---------- */
.wa-float { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: var(--z-float); display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px 0 16px; border-radius: var(--r-pill); background: var(--color-whatsapp); color: var(--color-white); font-weight: 600; font-size: 0.95rem; text-decoration: none; box-shadow: 0 14px 30px -12px rgb(7 44 68 / 0.6); transition: transform 0.4s var(--ease), background-color 0.3s; }
.wa-float .ico { width: 24px; height: 24px; }
.wa-float:hover { color: var(--color-white); background: #0e7a40; transform: translateY(-3px); }
.to-top { position: fixed; right: max(26px, env(safe-area-inset-right)); bottom: 88px; z-index: var(--z-float); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--color-primary); color: var(--color-white); box-shadow: 0 10px 24px -10px rgb(7 44 68 / 0.6); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s, background-color 0.3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--color-navy); color: var(--color-white); }
.to-top .ico { width: 20px; height: 20px; }
@media (prefers-reduced-motion: no-preference) { .wa-float { animation: rise 0.7s var(--ease) 1.4s both; } @keyframes rise { from { opacity: 0; transform: translateY(20px); } } }
@media (max-width: 640px) {
  .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .to-top { right: 26px; bottom: 90px; }
}
body.is-locked .wa-float, body.is-locked .to-top { display: none; }

/* ---------- Inner page banner ---------- */
.banner { position: relative; margin: var(--inset) var(--inset) 0; border-radius: var(--r-section); overflow: hidden; min-height: clamp(380px, 22vw + 250px, 520px); display: grid; align-items: end; background: var(--color-navy); color: var(--color-white); }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 35%); }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(4 26 41 / 0.88), rgb(4 26 41 / 0.45) 70%, rgb(4 26 41 / 0.25)); }
.banner__inner { position: relative; z-index: 1; width: 100%; max-width: 1500px; margin-inline: auto; padding: 150px clamp(1.25rem, 0.5rem + 3vw, 3.5rem) clamp(2.25rem, 1.5rem + 2vw, 3.25rem); }
.banner h1 { color: var(--color-white); max-width: 18ch; }
.h1-kicker { display: block; max-width: 44ch; margin-top: 12px; color: #cfe3ef; font-size: clamp(1.1rem, 0.95rem + 0.7vw, 1.5rem); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.banner .lead { margin-top: 18px; color: #dbe7ee; }
.banner__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0 0 18px; padding: 0; list-style: none; font-size: 0.95rem; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: 0.5; }
.crumbs a { color: #dbe7ee; text-decoration: none; }
.crumbs a:hover { color: var(--color-white); text-decoration: underline; }
.crumbs [aria-current] { color: #8fc4e6; font-weight: 600; }

/* ---------- Article layout ---------- */
.article { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.toc { padding: 26px; border-radius: var(--r-card); background: var(--color-surface); }
.toc__title { margin-bottom: 12px; color: var(--color-heading); font-weight: 600; font-size: 1.1rem; }
.toc ol { display: grid; gap: 4px; }
.toc a { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 12px; color: var(--color-text); text-decoration: none; font-size: 0.98rem; transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.toc a:hover { background: var(--color-background); color: var(--color-heading); }
.toc a.is-active { background: var(--color-primary); color: var(--color-white); }
.aside-cta { padding: 28px; border-radius: var(--r-card); background: var(--color-navy); color: #c9d8e2; }
.aside-cta__title { color: var(--color-white); font-size: 1.35rem; font-weight: 600; line-height: 1.3; }
.aside-cta p { margin-top: 8px; font-size: 0.96rem; line-height: 1.7; }
.aside-cta .btn { margin-top: 18px; }
.aside-cta a.aside-tel { display: block; margin-top: 14px; color: var(--color-white); font-weight: 600; text-decoration: none; }
.card-block { padding: clamp(1.5rem, 1rem + 2vw, 3rem); border-radius: var(--r-card); background: var(--color-surface); }
.callout { padding: 24px 26px; border-radius: 16px; background: var(--color-accent-soft); }
.callout > * + * { margin-top: 10px; }
.callout h3 { font-size: 1.15rem; }
.callout--navy { background: var(--color-navy); color: #c9d8e2; }
.callout--navy h3 { color: var(--color-white); }
.callout--navy a { color: #8fc4e6; }
.figure { overflow: hidden; border-radius: var(--r-card); }
.figure img { width: 100%; border-radius: var(--r-card); }
.figure figcaption { margin-top: 10px; font-size: var(--fs-small); color: var(--color-muted); }
.figure--contain img { background: var(--color-surface); object-fit: contain; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 !important; list-style: none; }
.two-col li { margin: 0 !important; padding: 18px 20px; border-radius: 16px; background: var(--color-background); line-height: 1.6; font-size: 0.98rem; transition: background-color 0.4s var(--ease), color 0.4s var(--ease); }
.two-col li:hover { background: var(--color-navy); color: #c9d8e2; }
.two-col li:hover strong { color: var(--color-white); }
.two-col strong { display: block; margin-bottom: 4px; color: var(--color-heading); font-weight: 600; transition: color 0.4s var(--ease); }
.timeline { position: relative; display: grid; gap: 14px; padding: 0 !important; list-style: none; }
.timeline li { position: relative; margin: 0 !important; padding: 18px 20px 18px 64px; border-radius: 16px; background: var(--color-background); }
.timeline li::before { content: ""; position: absolute; left: 22px; top: 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--color-surface); box-shadow: inset 0 0 0 6px var(--color-accent); }
.timeline li:last-child::before { box-shadow: inset 0 0 0 6px var(--color-primary); background: var(--color-gold); }
.timeline strong { display: block; color: var(--color-heading); font-weight: 600; }
.timeline span { font-size: 0.96rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.gallery figure { grid-column: span 2; overflow: hidden; border-radius: var(--r-card); background: var(--color-surface); padding: 8px; }
.gallery figure.is-wide { grid-column: span 3; }
.gallery .g-img { overflow: hidden; border-radius: 14px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { padding: 10px 8px 4px; font-size: 0.92rem; color: var(--color-heading); font-weight: 500; }

/* Press grid (media page) */
.press-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* Location */
.location { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: var(--r-section); overflow: hidden; background: var(--color-surface); }
.location > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.location__body { padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); }
.location__body > * + * { margin-top: 18px; }
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; }
.contact-list .call__icon { width: 48px; height: 48px; }
.contact-list small { display: block; color: var(--color-muted); font-size: 0.88rem; }
.contact-list a { color: var(--color-heading); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--color-primary); }
.loc-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Treatments directory */
.tgroups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tgroup { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-card); background: var(--color-surface); }
.tgroup__top { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.tgroup__top .why-card__icon { flex: none; }
.tgroup__top p { font-size: 0.95rem; }
.tgroup__list { display: grid; gap: 8px; }
.tgroup__list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--color-background); color: var(--color-heading); font-weight: 500; text-decoration: none; transition: background-color 0.4s var(--ease), color 0.4s var(--ease); }
.tgroup__list a small { color: var(--color-muted); font-size: 0.85rem; font-weight: 400; transition: color 0.4s var(--ease); }
.tgroup__list a:hover { background: var(--color-primary); color: var(--color-white); }
.tgroup__list a:hover small { color: #dbeefa; }
.tgroup .link-arrow { margin-top: 18px; }

.err-page { min-height: 70vh; display: grid; place-content: center; text-align: center; justify-items: center; gap: 18px; padding: 160px var(--gutter) var(--section); }
.err-page .big { font-size: clamp(6rem, 4rem + 10vw, 12rem); font-weight: 700; line-height: 1; color: var(--color-primary); letter-spacing: -0.04em; }
.err-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.err-links a { padding: 10px 20px; border-radius: var(--r-pill); background: var(--color-surface); color: var(--color-heading); text-decoration: none; font-weight: 500; }
.err-links a:hover { background: var(--color-primary); color: var(--color-white); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .svc-grid, .vcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info__grid { grid-template-columns: 1fr 1fr; }
  .info__card--white { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .about__grid, .why__grid, .faqs__grid, .footer__grid, .article { grid-template-columns: minmax(0, 1fr); }
  .faqs__grid > div:first-child { border-right: 0; padding-right: 0; }
  .blobs { display: none; }
  .news, .press-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aside { position: static; }
  .arch { max-width: 460px; }
  .tgroups { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero { min-height: 640px; }
  .hero__inner { padding-top: 130px; }
  .info { margin-top: 20px; }
  .info__grid, .svc-grid, .why__cards, .vcards, .cases__grid, .news, .press-grid, .two-col, .features, .footer__cols, .location { grid-template-columns: minmax(0, 1fr); }
  .info__card--white { grid-template-columns: 1fr; }
  .about__media { padding: 0 14% 12% 0; }
  .mini-call { padding-left: 0; border-left: 0; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure, .gallery figure.is-wide { grid-column: auto; }
  .footer__base p:last-child { gap: 18px; }
  .shead h2 { max-width: none; }
}

/* ---------- Motion (content visible without JS) ---------- */
.js-anim [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js-anim [data-reveal].is-in { opacity: 1; transform: none; }
.js-anim [data-reveal="zoom"] { transform: scale(0.94); }
.js-anim [data-reveal="zoom"].is-in { transform: none; }
.split-line { display: block; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js-anim [data-reveal] { opacity: 1; transform: none; }
}
@media print { .site-header, .wa-float, .to-top, .book, .cta, .preloader { display: none !important; } }

/* Small utilities used by page templates (no inline styles: CSP blocks them) */
.mt-4 { margin-top: 18px; }
.center { text-align: center; }
.dark .link-arrow { color: var(--color-white); }
.dark .link-arrow .ico { color: #8fc4e6; }
.faq > p { margin-top: 10px; }
.section--book { padding-block: calc(var(--section) * 0.4) var(--section); }
.more-row { margin-top: 36px; text-align: center; }
.scroll-mark { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; }
.word { display: inline-block; }

/* Pages without a dark banner (404) use the solid header from the start */
body[data-page="none"] .site-header { padding-top: 0; padding-inline: var(--gutter); background: var(--color-surface); box-shadow: 0 10px 30px -20px rgb(7 44 68 / 0.4); }
body[data-page="none"] .brand__logo--light { opacity: 0; }
body[data-page="none"] .brand__logo--dark { opacity: 1; }
body[data-page="none"] .nav__list { background: transparent; border-color: transparent; }
body[data-page="none"] .nav__link, body[data-page="none"] .call { color: var(--color-heading); }
body[data-page="none"] .menu-btn { color: var(--color-heading); border-color: var(--color-border); }
.banner__creds { margin-top: 14px; color: #8fc4e6; font-weight: 500; font-size: 0.98rem; }
/* Contact page cards */
.info--flat { margin-top: calc(var(--section) * 0.5); }
.info__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info__card--white-solo { background: var(--color-surface); }
.info__card .why-card__icon { margin-bottom: 18px; }
.why-card__icon--wa { background: var(--color-whatsapp); }
.why-card__icon--light { background: rgb(255 255 255 / 0.12); }
.info__big { display: block; margin-top: 10px; color: var(--color-heading); font-size: 1.45rem; font-weight: 600; text-decoration: none; }
.info__big--light, .info__mail { color: var(--color-white); }
.info__mail { font-weight: 600; text-decoration: none; }
.info__big:hover { color: var(--color-primary); }
.info__big--light:hover, .info__mail:hover { color: #dbeefa; }
.sub.on-grey { background: var(--color-background); }
.btn--bordered { box-shadow: inset 0 0 0 1.5px var(--color-border); }
.light-social .social { margin-top: 8px !important; }
@media (max-width: 1200px) { .info__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .info__grid--3 { grid-template-columns: minmax(0, 1fr); } }
.vcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .vcards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .vcards--3 { grid-template-columns: minmax(0, 1fr); } }
.framed.on-white, .on-white.section { background: var(--color-surface); }
.dropdown ul, .toc ol { list-style: none; margin: 0; padding: 0; }


/* ---------- Patient stories: intro + scroll-snap carousel ---------- */
.stories__grid { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.stories__intro { position: sticky; top: 120px; }
.stories__intro p { margin-top: var(--s-5); max-width: 40ch; }
.stories__intro .btn { margin-top: var(--s-6); }
.carousel { min-width: 0; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 22px) / 1.6); gap: 22px; margin: 0; padding: 4px 2px 6px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > li { scroll-snap-align: start; }
.carousel__track:focus-visible { outline: 3px solid var(--color-gold); outline-offset: 4px; border-radius: var(--r-card); }
.carousel__bar { display: flex; align-items: center; gap: 12px; margin-top: var(--s-6); }
.carousel__progress { flex: 1; height: 2px; border-radius: 2px; background: var(--color-border); overflow: hidden; }
.carousel__progress > span { display: block; height: 100%; width: var(--w, 30%); transform: translateX(var(--x, 0%)); background: var(--color-primary); transition: transform 0.3s var(--ease); }
.carousel__btn { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-heading); cursor: pointer; transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease); }
.carousel__btn:hover:not(:disabled) { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }
.carousel__btn:disabled { opacity: 0.4; cursor: default; }
.carousel .source-note { margin-top: var(--s-5); }

.tcard { position: relative; display: flex; flex-direction: column; padding: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem); border-radius: var(--r-card); background: var(--color-surface); border: 1px solid var(--color-border); transition: border-color 0.4s var(--ease), transform 0.5s var(--ease); }
.tcard:hover { border-color: var(--color-accent); transform: translateY(-4px); }
.tcard__mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--color-primary); color: var(--color-white); }
.tcard__mark .ico { width: 22px; height: 22px; }
.tcard__tag { margin-top: var(--s-5); color: var(--color-primary); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; }
.tcard__quote { flex: 1; margin: 10px 0 0; }
.tcard__quote p { color: var(--color-heading); font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem); line-height: 1.7; }
.tcard__who { display: flex; gap: 14px; align-items: center; margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--color-border); }
.tcard__avatar { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--color-accent-soft); color: var(--color-primary); font-weight: 700; font-size: 1.15rem; }
.tcard__who strong { display: block; color: var(--color-heading); font-weight: 600; }
.tcard__who span span { font-size: 0.92rem; }
.tgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }

/* Gallery carousel */
.carousel--gallery .carousel__track { grid-auto-columns: min(62%, 820px); }
.gslide figure { margin: 0; }
.gslide__img { display: block; overflow: hidden; border-radius: var(--r-card); background: var(--color-card); }
.gslide__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.9s var(--ease); }
.gslide:hover .gslide__img img { transform: scale(1.04); }
.gslide figcaption { display: flex; gap: 14px; align-items: baseline; padding: 16px 4px 0; color: var(--color-heading); font-weight: 600; font-size: 1.1rem; }
.gslide__n { color: var(--color-accent); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em; }

/* ---------- Booking: photo panel + form panel ---------- */
.book { margin: 0 var(--inset); border-radius: var(--r-section); overflow: hidden; background: var(--color-surface); }
.book__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.book__visual { position: relative; display: flex; align-items: flex-end; min-height: 640px; color: #d4e2ea; background: var(--color-navy); isolation: isolate; }
.book__visual > img { position: absolute; inset: 0 0 auto; z-index: -2; width: 100%; height: 62%; object-fit: cover; object-position: 46% 18%; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
.book__visual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(7 44 68 / 0) 30%, rgb(7 44 68 / 0.55) 55%, rgb(7 44 68 / 0) 70%); }
.book__intro { padding: clamp(2rem, 1rem + 3vw, 3.5rem); }
.book__intro .sub { background: rgb(255 255 255 / 0.12); color: var(--color-white); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.book__intro h2 { margin-top: var(--s-5); color: var(--color-white); }
.book__intro h2 .tone { color: #9fd3f2; }
.book__intro > p { margin-top: var(--s-4); max-width: 46ch; }
.book__intro .book__facts { display: grid; gap: 14px; margin: var(--s-6) 0 0; padding: var(--s-5) 0 0; list-style: none; border-top: 1px solid rgb(255 255 255 / 0.16); }
.book__facts li { display: flex; gap: 14px; align-items: flex-start; color: var(--color-white); font-weight: 500; line-height: 1.5; }
.book__facts small { display: block; color: #a9c1cf; font-weight: 400; font-size: 0.88rem; }
.book__facts a { color: var(--color-white); text-decoration: none; }
.book__facts a:hover { text-decoration: underline; }
.book__ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--color-accent); color: var(--color-white); }
.book__ico .ico { width: 18px; height: 18px; }
.book__panel { padding: clamp(2rem, 1rem + 3vw, 3.5rem); align-self: center; }
.book__formtitle { font-size: var(--fs-h3); color: var(--color-heading); }
.book__note { margin: 8px 0 var(--s-6); font-size: 0.92rem; color: var(--color-muted); }

/* Aside consultation card with photo */
.aside-cta { overflow: hidden; padding: 0 28px 28px; }
.aside-cta__img { display: block; width: calc(100% + 56px); max-width: none; margin: 0 -28px 22px; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 22%; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }

@media (max-width: 1100px) {
  .stories__grid { grid-template-columns: minmax(0, 1fr); }
  .stories__intro { position: static; }
  .carousel__track { grid-auto-columns: calc((100% - 22px) / 1.8); }
  .book__grid { grid-template-columns: minmax(0, 1fr); }
  .book__visual { min-height: 760px; }
  .book__visual > img { height: 58%; object-position: 50% 15%; }
}
@media (max-width: 760px) {
  .carousel__track { grid-auto-columns: 86%; }
  .carousel--gallery .carousel__track { grid-auto-columns: 86%; }
  .tgrid { grid-template-columns: minmax(0, 1fr); }
  .book__visual { min-height: 0; padding-top: 300px; }
  .book__visual > img { height: 380px; object-position: 50% 10%; }
  .book__visual::before { background: none; }
  .carousel__btn { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .carousel__track { scroll-behavior: auto; } }
