/* ============================================================
   CLÍNICA PODOLÓGICA LUCÍA MORENO · styles.css v20260524
   Archetype: Premium Medical Editorial
   Paleta: Navy #1A1C6E + Verde Salud #27AE60 + Crema #F8F5F0
============================================================ */

/* ── VARIABLES ───────────────────────────────────────────── */
:root {
  --navy:        #1A1C6E;
  --navy-mid:    #23267A;
  --navy-light:  #2D3190;
  --navy-deep:   #0D0F42;
  --green:       #27AE60;
  --green-dark:  #1A7A4A;
  --green-mid:   #1E9052;
  --green-pale:  #E8F8EF;
  --white:       #FFFFFF;
  --cream:       #F8F5F0;
  --cream-2:     #EDE8E1;
  --gray-100:    #F3F4F8;
  --gray-200:    #E4E7EF;
  --gray-400:    #9CA3AF;
  --gray-600:    #4B5563;
  --gray-800:    #1F2937;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --sh-sm:  0 1px 4px rgba(26,28,110,.06), 0 1px 2px rgba(26,28,110,.04);
  --sh-md:  0 4px 20px rgba(26,28,110,.09);
  --sh-lg:  0 16px 48px rgba(26,28,110,.13);
  --sh-xl:  0 32px 72px rgba(26,28,110,.18);

  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  40px;

  --ease:     cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(0,.55,.45,1);
  --t:        .35s var(--ease);
  --t-slow:   .65s var(--ease);

  --nav-h: 72px;

  --glass-bg:     rgba(255,255,255,.07);
  --glass-border: rgba(255,255,255,.12);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; image-orientation: from-image; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }
button { font-family: inherit; cursor: pointer; }

/* ── SCROLL PROGRESS ─────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  height: 3px; background: rgba(39,174,96,.15);
}
.scroll-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--navy-light));
  width: 0%;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── CUSTOM CURSOR ───────────────────────────────────────── */
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 8999;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.cursor.is-ready { opacity: 1; }
.cursor__dot {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: transform .1s var(--ease), background .2s var(--ease);
}
.cursor__ring {
  position: absolute;
  width: 38px; height: 38px;
  border: 1.5px solid rgba(39,174,96,.55);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s var(--ease), transform .08s linear;
}
.cursor.is-hovering .cursor__dot { transform: translate(-50%,-50%) scale(1.5); background: var(--navy); }
.cursor.is-hovering .cursor__ring { width: 56px; height: 56px; border-color: var(--green); }

/* ── LOADER ──────────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
  animation: loaderSafety .01s 5s forwards;
}
@keyframes loaderSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner { text-align: center; }
.loader__logo {
  width: 80px; height: 80px; object-fit: contain;
  margin: 0 auto 28px;
  animation: lPulse 1.4s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(39,174,96,.5));
}
@keyframes lPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.08); opacity: .85; }
}
.loader__bar { width: 180px; height: 2px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; margin: 0 auto 16px; }
.loader__fill { height: 100%; background: var(--green); border-radius: 99px; animation: lFill 2.2s var(--ease) forwards; }
@keyframes lFill { from { width: 0 } to { width: 100% } }
.loader__text { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.4); }

/* ── NAVIGATION ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 3px; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
.nav.scrolled {
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  box-shadow: var(--sh-md);
}
.nav__container {
  max-width: 1240px; margin: 0 auto;
  padding: 0 28px; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo img {
  height: 46px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter var(--t);
}
.nav.scrolled .nav__logo img { filter: none; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link {
  font-size: .875rem; font-weight: 500; letter-spacing: .02em;
  color: rgba(255,255,255,.9);
  position: relative; transition: color var(--t);
}
.nav__link::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px; background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav.scrolled .nav__link { color: var(--navy); }
.nav__cta {
  font-size: .82rem; font-weight: 700;
  padding: 10px 22px;
  background: var(--green); color: var(--white);
  border-radius: 99px;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  box-shadow: 0 4px 14px rgba(39,174,96,.35);
}
.nav__cta:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(39,174,96,.45); }
.nav.scrolled .nav__cta { background: var(--navy); color: var(--white); }
.nav.scrolled .nav__cta:hover { background: var(--navy-light); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform var(--t), opacity var(--t), background var(--t); }
.nav.scrolled .nav__burger span { background: var(--navy); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; min-height: 100svh;
  background: linear-gradient(140deg, var(--navy) 0%, #14165A 55%, var(--navy-deep) 100%);
  display: flex; align-items: center;
  position: relative; overflow: clip;
  padding-top: var(--nav-h);
}
.hero__grain {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 200px 200px;
}
.hero__orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero__orb--1 {
  width: 55vw; height: 55vw; max-width: 720px; max-height: 720px;
  top: -20%; right: -12%;
  background: radial-gradient(circle, rgba(39,174,96,.25), transparent 65%);
  animation: orbFloat1 12s ease-in-out infinite;
}
.hero__orb--2 {
  width: 30vw; height: 30vw; max-width: 400px; max-height: 400px;
  bottom: -15%; left: 3%;
  background: radial-gradient(circle, rgba(45,49,144,.6), transparent 70%);
  animation: orbFloat2 16s ease-in-out infinite;
}
.hero__orb--3 {
  width: 20vw; height: 20vw; max-width: 280px; max-height: 280px;
  top: 30%; left: 20%;
  background: radial-gradient(circle, rgba(39,174,96,.1), transparent 70%);
  animation: orbFloat1 20s ease-in-out infinite reverse;
}
@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(20px,-30px) scale(1.06); }
  66%     { transform: translate(-15px,20px) scale(.96); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(30px,-20px); }
}
.hero__particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__particle {
  position: absolute; border-radius: 50%;
  background: var(--green); opacity: 0;
  animation: particleFloat var(--dur,8s) ease-in-out var(--del,0s) infinite;
}
@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(0) scale(.8); }
  20%  { opacity: .4; }
  80%  { opacity: .2; }
  100% { opacity: 0; transform: translateY(-80px) scale(1.1); }
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 1240px; margin: 0 auto;
  padding: 80px 28px 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 64px;
  width: 100%;
}
.hero__text { color: var(--white); }
.hero__eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 20px; display: block;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.6rem);
  font-weight: 300; line-height: 1.04;
  margin-bottom: 28px; text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--green); }
.hero__title .split-word {
  display: inline-block;
  opacity: 0; transform: translateY(40px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.hero__title .split-word.visible { opacity: 1; transform: translateY(0); }
.hero__title[data-split] { opacity: 1; transform: none; }
/* Defensive: data-split + reveal must never be invisible */
.reveal[data-split] { opacity: 1; transform: none; }

.hero__desc {
  font-size: 1.05rem; line-height: 1.75;
  color: rgba(255,255,255,.72); max-width: 480px;
  margin-bottom: 44px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }

/* Pills (replace stats) */
.hero__pills {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero__pill {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 99px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: .78rem; font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: background var(--t), border-color var(--t);
}
.hero__pill:hover { background: rgba(39,174,96,.15); border-color: rgba(39,174,96,.4); }
.hero__pill-icon { font-size: .9rem; }

/* Hero image */
.hero__img-wrap {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 560px;
}
.hero__img-bg {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 82%; height: 88%;
  background: rgba(39,174,96,.06);
  border: 1px solid rgba(39,174,96,.16);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero__img-ring {
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  width: 76%; height: 80%;
  border: 1px solid rgba(39,174,96,.1);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.hero__img-ring--2 { width: 68%; height: 72%; bottom: -16px; border-color: rgba(39,174,96,.05); }
.hero__img {
  position: relative; z-index: 1;
  width: 100%; max-width: 460px;
  height: clamp(460px, 62vh, 660px);
  object-fit: cover; object-position: top center;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,.45));
  will-change: transform;
}
.hero__badge {
  position: absolute; top: 32px; right: -12px; z-index: 3;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  padding: 10px 16px; border-radius: var(--r-md);
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 500;
  animation: badgeFloat 4s ease-in-out infinite;
}
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(74,222,128,.3);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes badgeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 0 2px rgba(74,222,128,.3); }
  50%     { box-shadow: 0 0 0 5px rgba(74,222,128,.15); }
}
.hero__scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center;
}
.hero__scroll-line {
  display: block; width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  80%  { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
  100% { transform: scaleY(0); opacity: 0; }
}

/* ── TRUST STRIP ─────────────────────────────────────────── */
.trust {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.trust__container {
  max-width: 1240px; margin: 0 auto;
  padding: 26px 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.trust__item { display: flex; align-items: center; gap: 14px; }
.trust__icon { color: var(--green); flex-shrink: 0; }
.trust__text strong {
  display: block; font-size: .84rem; font-weight: 600;
  color: var(--white); margin-bottom: 2px;
}
.trust__text span { font-size: .73rem; color: rgba(255,255,255,.45); }
.trust__divider { width: 1px; height: 44px; background: rgba(255,255,255,.1); flex-shrink: 0; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 99px;
  font-family: var(--font-body); font-size: .875rem; font-weight: 600;
  letter-spacing: .015em; border: none;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn--large { padding: 16px 36px; font-size: .95rem; }
.btn--primary { background: var(--green); color: var(--white); box-shadow: 0 6px 22px rgba(39,174,96,.3); }
.btn--primary:hover { background: var(--green-dark); box-shadow: 0 10px 30px rgba(39,174,96,.45); }
.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.28); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--whatsapp { background: #25D366; color: var(--white); box-shadow: 0 6px 22px rgba(37,211,102,.3); }
.btn--whatsapp:hover { background: #1ebe5a; box-shadow: 0 10px 28px rgba(37,211,102,.4); }
.btn--magnetic { display: inline-flex; }

/* ── SECTION LAYOUT ──────────────────────────────────────── */
.section { padding: 108px 0; }
.section--alt { background: var(--cream); }
.section__container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section__eyebrow {
  display: block; font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: 14px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 400; line-height: 1.1;
  color: var(--navy); margin-bottom: 20px;
}
.section__title em { font-style: italic; color: var(--green-dark); }
.section__title--center { text-align: center; }
.section__subtitle {
  font-size: 1rem; color: var(--gray-600); line-height: 1.75;
  max-width: 580px; margin: 0 auto 56px; text-align: center;
}

/* ── REVEAL ──────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
/* Defensive: data-split must never be hidden by reveal */
.reveal[data-split] { opacity: 1; transform: none; }

/* ── SERVICES ────────────────────────────────────────────── */
.services__grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; margin-bottom: 52px;
}
[data-tilt] { transform-style: preserve-3d; }
.service-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 30px 26px;
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t), border-color var(--t);
  position: relative; overflow: hidden;
  will-change: transform;
}
.service-card__glow {
  position: absolute; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(39,174,96,.3), transparent 70%);
  pointer-events: none; opacity: 0;
  transition: opacity .3s var(--ease); transform: translate(-50%,-50%);
}
.service-card:hover .service-card__glow { opacity: 1; }
.service-card:hover { box-shadow: var(--sh-lg); border-color: var(--green); }
.service-card__icon {
  width: 52px; height: 52px;
  background: var(--green-pale);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--navy);
  transition: background var(--t), color var(--t), transform var(--t);
}
.service-card:hover .service-card__icon { background: var(--navy); color: var(--green); transform: scale(1.1) rotate(-5deg); }
.service-card__title { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.service-card__desc { font-size: .86rem; color: var(--gray-600); line-height: 1.65; }
.service-card__tag {
  display: inline-block; margin-top: 14px;
  padding: 3px 10px; border-radius: 99px;
  background: var(--green-pale); color: var(--green-dark);
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.services__cta { text-align: center; }

/* ── ABOUT ───────────────────────────────────────────────── */
.about__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; }
.about__img-frame { position: relative; }
.about__img-accent {
  position: absolute; top: -18px; left: -18px; right: 22px; bottom: 22px;
  border: 2px solid var(--green); border-radius: var(--r-lg);
  opacity: .2; z-index: 0; transition: opacity var(--t);
}
.about__img-frame:hover .about__img-accent { opacity: .45; }
.about__img {
  position: relative; z-index: 1;
  width: 100%; height: 560px;
  object-fit: cover; object-position: top center;
  border-radius: var(--r-lg); box-shadow: var(--sh-xl);
}
.about__badge {
  position: absolute; bottom: -22px; right: -14px; z-index: 2;
  background: var(--navy); color: var(--white);
  padding: 13px 18px; border-radius: var(--r-md);
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--sh-lg); font-size: .82rem; font-weight: 600;
}
.about__badge img { filter: brightness(0) invert(1); width: 26px; height: 26px; object-fit: contain; }
.about__intro { font-size: .97rem; line-height: 1.85; color: var(--gray-600); margin-bottom: 32px; }
.about__intro strong { color: var(--navy); font-weight: 600; }

/* Timeline */
.timeline { position: relative; padding-left: 32px; margin-bottom: 32px; }
.timeline::before {
  content: ''; position: absolute;
  left: 0; top: 4px; bottom: 4px; width: 2px;
  background: linear-gradient(to bottom, var(--green), rgba(39,174,96,.1));
  border-radius: 2px;
}
.timeline__item { position: relative; padding-bottom: 28px; padding-left: 16px; }
.timeline__item::before {
  content: ''; position: absolute;
  left: -36px; top: 4px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--white); border: 2.5px solid var(--green);
  box-shadow: 0 0 0 4px rgba(39,174,96,.12);
  transition: background var(--t), box-shadow var(--t);
}
.timeline__item:hover::before { background: var(--green); box-shadow: 0 0 0 6px rgba(39,174,96,.18); }
.timeline__year { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 4px; }
.timeline__content strong { display: block; font-size: .92rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.timeline__content p { font-size: .84rem; color: var(--gray-600); line-height: 1.6; }
.about__creds { display: flex; flex-direction: column; gap: 12px; }
.about__cred {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 14px 18px;
  background: var(--green-pale); border-left: 3px solid var(--green);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  transition: background var(--t), transform var(--t);
}
.about__cred:hover { background: #d0f4e0; transform: translateX(4px); }
.about__cred-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
.about__cred strong { display: block; font-size: .87rem; font-weight: 600; color: var(--navy); }
.about__cred span   { font-size: .77rem; color: var(--gray-400); }

/* ── GALLERY ─────────────────────────────────────────────── */
.gallery {
  background: var(--navy-deep);
  padding-bottom: 0;
}
.gallery .section__container { padding-bottom: 40px; }
.gallery .section__eyebrow { color: rgba(255,255,255,.45); }
.gallery .section__title { color: var(--white); }
.gallery .section__title em { color: var(--green); }

.gallery__wrapper {
  overflow-x: auto;
  overflow-y: visible; /* B.1 fix: prevents decoration clip */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 28px 48px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.gallery__wrapper::-webkit-scrollbar { display: none; }
.gallery__wrapper:active { cursor: grabbing; }

.gallery__track {
  display: flex; gap: 16px;
  width: max-content;
  padding: 8px 0 12px;
}
.gallery__item {
  flex: none;
  width: clamp(260px, 27vw, 380px);
  height: clamp(200px, 22vw, 300px);
  border-radius: var(--r-lg); overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  transition: transform var(--t), box-shadow var(--t);
  position: relative;
}
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,15,66,.45) 0%, transparent 50%);
  opacity: 0; transition: opacity var(--t);
  pointer-events: none;
}
.gallery__item:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease); pointer-events: none;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__hint {
  text-align: center; padding: 0 0 48px;
  color: rgba(255,255,255,.25);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
}

/* ── HYGIENE ─────────────────────────────────────────────── */
.hygiene__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hygiene__body { font-size: .97rem; line-height: 1.82; color: var(--gray-600); margin-bottom: 28px; }
.hygiene__body strong { color: var(--navy); font-weight: 600; }
.hygiene__list { display: flex; flex-direction: column; gap: 14px; }
.hygiene__list li { display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; color: var(--gray-600); line-height: 1.5; }
.hygiene__check {
  flex-shrink: 0; width: 22px; height: 22px;
  background: var(--green); color: var(--white);
  border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 800; margin-top: 1px;
}
.hygiene__photos { position: relative; min-height: 420px; }
.hygiene__photo-main img {
  width: 100%; height: 400px;
  object-fit: cover; object-position: center;
  border-radius: var(--r-lg); box-shadow: var(--sh-xl);
}
.hygiene__photo-float { position: absolute; bottom: -28px; right: -20px; }
.hygiene__photo-float img {
  width: 200px; height: 170px;
  object-fit: cover; object-position: center;
  border-radius: var(--r-md);
  border: 4px solid var(--white); box-shadow: var(--sh-lg);
}

/* ── WHY ─────────────────────────────────────────────────── */
.why__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 52px; }
.why__card {
  text-align: center; padding: 40px 20px;
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); border: 1.5px solid var(--gray-200);
  transition: box-shadow var(--t), border-color var(--t);
  will-change: transform;
}
.why__card:hover { box-shadow: var(--sh-lg); border-color: var(--green); }
.why__icon { font-size: 2.4rem; display: block; margin-bottom: 16px; transition: transform var(--t); }
.why__card:hover .why__icon { transform: scale(1.15) rotate(-5deg); }
.why__card h3 { font-size: .95rem; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.why__card p  { font-size: .85rem; color: var(--gray-600); line-height: 1.65; }

/* ── GOOGLE REVIEWS ──────────────────────────────────────── */
.reviews__google { max-width: 640px; margin: 0 auto; }
.reviews__google-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 44px 52px;
  box-shadow: var(--sh-xl);
  border: 1.5px solid var(--gray-200);
  text-align: center;
  transition: box-shadow var(--t);
}
.reviews__google-card:hover { box-shadow: 0 40px 80px rgba(26,28,110,.15); }
.reviews__google-header {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 24px; text-align: left;
}
.reviews__g-logo { flex-shrink: 0; }
.reviews__google-name {
  font-size: .9rem; font-weight: 600;
  color: var(--navy); margin-bottom: 5px;
}
.reviews__stars-row {
  display: flex; align-items: center; gap: 8px; margin-bottom: 3px;
}
.reviews__stars {
  color: #FBBF24; font-size: 1.25rem; letter-spacing: .04em;
  line-height: 1;
}
.reviews__score {
  font-size: 1.5rem; font-weight: 700; color: var(--navy);
  font-family: var(--font-display); line-height: 1;
}
.reviews__google-sub { font-size: .75rem; color: var(--gray-400); }
.reviews__google-body {
  font-size: .97rem; color: var(--gray-600);
  line-height: 1.75; margin-bottom: 32px;
}
.reviews__google-cta { display: inline-flex; margin: 0 auto; }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 60px; align-items: start; }
.contact__item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact__icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 1px; }
.contact__item strong { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.contact__item a, .contact__item p { display: block; font-size: .9rem; color: var(--gray-600); line-height: 1.65; transition: color var(--t); }
.contact__item a:hover { color: var(--green-dark); }
.contact__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; padding-top: 28px; border-top: 1.5px solid var(--gray-200); }
.contact__map iframe { border-radius: var(--r-lg); box-shadow: var(--sh-md); display: block; }

/* ── POLÍTICA DE CANCELACIÓN ─────────────────────────────── */
.cancellation__card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 48px 52px;
  border-left: 5px solid var(--green);
  box-shadow: 0 4px 32px rgba(0,0,0,.07);
}
.cancellation__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.cancellation__icon {
  width: 52px; height: 52px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.cancellation__title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--navy);
  margin: 0;
}
.cancellation__text {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 24px;
}
.cancellation__rule {
  background: var(--green-pale);
  border-radius: 10px;
  padding: 20px 28px;
  margin-bottom: 24px;
  border-left: 3px solid var(--green);
}
.cancellation__rule p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--navy);
  margin: 0;
}
.cancellation__thanks {
  font-size: .9rem;
  color: #888;
  margin: 0;
}
@media (max-width: 640px) {
  .cancellation__card { padding: 32px 24px; }
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 72px 0 0; }
.footer__container {
  max-width: 1240px; margin: 0 auto;
  padding: 0 28px 56px;
  display: grid; grid-template-columns: 2fr 1fr 1.6fr; gap: 64px;
}
.footer__brand img { filter: brightness(0) invert(1); height: 46px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: .875rem; line-height: 1.72; color: rgba(255,255,255,.5); margin-bottom: 24px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.06); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: background var(--t), color var(--t), transform var(--t);
}
.footer__social a:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }
.footer__nav, .footer__contact { display: flex; flex-direction: column; }
.footer__nav h4, .footer__contact h4 {
  font-size: .7rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--green); margin-bottom: 20px;
}
.footer__nav a { font-size: .87rem; color: rgba(255,255,255,.6); margin-bottom: 10px; transition: color var(--t), padding-left var(--t); }
.footer__nav a:hover { color: var(--white); padding-left: 4px; }
.footer__contact address,
.footer__contact a,
.footer__contact p { font-size: .87rem; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 6px; transition: color var(--t); }
.footer__contact a:hover { color: var(--green); }
.footer__hours { margin-top: 8px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 22px 28px;
  max-width: 1240px; margin: 0 auto; width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.footer__bottom p { font-size: .76rem; color: rgba(255,255,255,.3); }

/* ── FLOAT BUTTONS ───────────────────────────────────────── */
.float-btn {
  position: fixed; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
  transition: transform var(--t), box-shadow var(--t), opacity var(--t);
  opacity: 0; pointer-events: none;
}
.float-btn:hover { transform: scale(1.1) translateY(-2px); }
.float-btn--wa {
  bottom: 28px; right: 28px;
  background: #25D366; color: var(--white);
  box-shadow: 0 6px 22px rgba(37,211,102,.45);
  animation: waPulse 3.5s ease-in-out infinite;
}
.float-btn--wa:hover { box-shadow: 0 12px 32px rgba(37,211,102,.55); }
.float-btn--tel {
  bottom: 96px; right: 28px;
  background: var(--navy); color: var(--white);
  box-shadow: 0 6px 22px rgba(26,28,110,.3);
  animation: waPulse 3.5s ease-in-out 1s infinite;
}
.float-btn--tel:hover { box-shadow: 0 12px 32px rgba(26,28,110,.45); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 6px 22px rgba(37,211,102,.45); }
  50%     { box-shadow: 0 8px 28px rgba(37,211,102,.65); }
}

/* ── RESPONSIVE TABLET ───────────────────────────────────── */
@media (max-width: 1024px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 0 0;
    flex-direction: column; justify-content: center;
    background: var(--navy); gap: 26px;
    transform: translateX(100%); transition: transform var(--t-slow);
    z-index: 190; overflow-y: auto;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__link { color: var(--white) !important; font-size: 1.25rem; }
  .nav__cta  { background: var(--green) !important; color: var(--white) !important; font-size: 1rem; }

  .hero__content { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .hero__desc { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__pills { justify-content: center; }
  .hero__img-wrap { max-width: 380px; margin: 0 auto; min-height: auto; }
  .hero__img { height: 460px; }
  .hero__badge { display: none; }

  .trust__divider { display: none; }
  .trust__container { justify-content: center; gap: 24px; }

  .about__grid { grid-template-columns: 1fr; gap: 52px; }
  .about__img { height: 420px; }

  .services__grid { grid-template-columns: repeat(2,1fr); }
  .hygiene__grid { grid-template-columns: 1fr; gap: 48px; }
  .hygiene__photos { min-height: 320px; }
  .hygiene__photo-main img { height: 320px; }

  .why__grid { grid-template-columns: repeat(2,1fr); }
  .reviews__google-card { padding: 32px 28px; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__container { grid-template-columns: 1fr 1fr; gap: 44px; }
}

/* ── RESPONSIVE MOBILE ───────────────────────────────────── */
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .section { padding: 72px 0; }
  .section__container { padding: 0 20px; }

  .hero__content { padding: 52px 20px 44px; }
  .hero__title { font-size: 2.5rem; }
  .hero__img { height: 340px; }
  .hero__img-wrap { max-width: 280px; }
  .hero__pills { gap: 8px; }
  .hero__pill { font-size: .73rem; padding: 7px 12px; }

  .trust__container { padding: 20px; gap: 16px; }
  .trust__item { gap: 10px; }
  .trust__text strong { font-size: .8rem; }
  .trust__text span { font-size: .68rem; }

  .services__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .gallery__wrapper { padding: 8px 16px 40px; }
  .gallery__item { width: clamp(220px, 75vw, 300px); height: 200px; }

  .hygiene__photo-float { bottom: -12px; right: -8px; }
  .hygiene__photo-float img { width: 150px; height: 130px; }

  .reviews__google-card { padding: 28px 20px; }
  .reviews__google-header { flex-direction: column; text-align: center; align-items: center; }
  .reviews__stars-row { justify-content: center; }

  .contact__ctas { flex-direction: column; }
  .contact__ctas .btn { justify-content: center; }

  .footer__container { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .float-btn { width: 50px; height: 50px; }
  .float-btn--wa { bottom: 20px; right: 20px; }
  .float-btn--tel { bottom: 80px; right: 20px; }

  .cursor { display: none; }
}

@media (hover: none) {
  [data-tilt] { transform: none !important; }
  .cursor { display: none; }
}
