/* ============================================================
   CLÍNICA ASAYA · Podología en Arrecife
   style.css — complementa Tailwind con el diseño custom
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --color-primary: #2C8B54;      /* verde de marca (extraído del logo) */
  --color-primary-dark: #1E6B3D;
  --color-primary-deep: #0E3A22;
  --color-accent: #C68A4E;       /* caramelo cálido — tonos reales de la clínica */
  --color-accent-soft: #E7CBA6;
  --color-mint: #E1EFE5;         /* superficie con tinte verde */
  --color-mint-2: #EDF5EE;
  --color-sand: #F3EEE6;
  --color-bg: #F6F3EC;           /* crema cálido, nunca blanco puro */
  --color-surface: #FFFFFF;
  --color-text: #17291E;         /* casi negro con matiz verde */
  --color-muted: #5E6E62;

  /* Escala tipográfica */
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;
  --fs-4xl: clamp(2.5rem, 6vw, 5rem);

  --maxw: 1200px;
  --radius: 18px;
  --shadow-soft: 0 18px 40px -22px rgba(15, 118, 110, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  font-size: var(--fs-base);
  line-height: 1.7;
  cursor: none;                 /* cursor personalizado */
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

/* ---------- Scrollbar personalizada ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-mint); }
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-primary-dark); }
html { scrollbar-color: var(--color-primary) var(--color-mint); scrollbar-width: thin; }

/* ---------- Cursor personalizado ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;              /* z-index máximo de la página */
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--color-primary);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(15, 118, 110, 0.55);
  transition: width .25s var(--ease), height .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease);
}
.cursor-ring.is-hover {
  width: 52px; height: 52px;
  background: rgba(229, 138, 94, 0.16);
  border-color: var(--color-accent);
}
.cursor-dot.is-hover { background: var(--color-accent); }

@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Utilidades de sección ---------- */
main section { padding: clamp(3.5rem, 8vw, 7rem) 1.5rem; }
.section-head { max-width: var(--maxw); margin: 0 auto 3rem; text-align: center; }
.section-label {
  display: inline-block;
  font-family: "Plus Jakarta Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: var(--fs-4xl);
  max-width: 16ch;
  margin-inline: auto;
}
.section-head .section-title { margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--fs-base);
  border: 1.5px solid transparent;
  transition: transform .3s var(--ease), background .3s var(--ease),
              color .3s var(--ease), box-shadow .3s var(--ease);
  cursor: none;
}
.btn i { transition: transform .3s var(--ease); }
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover { background: var(--color-primary-dark); transform: translateY(-3px); }
.btn--primary:hover i { transform: translateX(4px); }
.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: rgba(15, 118, 110, 0.35);
}
.btn--ghost:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 0.55rem 0;
}
.site-header.scrolled {
  background: rgba(244, 248, 246, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px -20px rgba(8, 46, 43, 0.5);
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo real (isotipo verde) + wordmark tipográfico */
.brand { display: flex; align-items: center; gap: 0.7rem; line-height: 1; }
.logo-img {
  height: 40px;              /* logo cuadrado (ratio 1:1) → categoría "cuadrado" */
  width: auto;
  object-fit: contain;
  display: block;
}
.brand-word { display: flex; flex-direction: column; }
.brand-word__name {
  font-family: "Instrument Serif", serif;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
.brand-word__sub {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 3px;
  font-weight: 600;
}
.logo-img--menu { height: 38px; }
.logo-img--footer {           /* lockup completo: más alto para legibilidad del nombre */
  height: 120px;
  width: auto;
  margin-bottom: 0.4rem;
}
@media (min-width: 768px) {
  .logo-img { height: 48px; }
  .logo-img--menu { height: 40px; }
  .logo-img--footer { height: 136px; }
}
@media (min-width: 1024px) {
  .logo-img { height: 56px; }
  .logo-img--footer { height: 150px; }
}

.main-nav { display: none; gap: 2rem; }
.main-nav a {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width .3s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(15, 118, 110, 0.25);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.header-phone:hover { background: var(--color-primary); color: #fff; }

/* Hamburguesa */
.hamburger {
  width: 46px; height: 46px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--color-surface);
  border: 1px solid rgba(15,118,110,0.15);
  border-radius: 12px;
  cursor: none;
  box-shadow: 0 6px 18px -12px rgba(8,46,43,0.6);
}
.hamburger span {
  width: 20px; height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

/* ---------- Menú móvil ---------- */
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(8, 46, 43, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
  z-index: 950;
}
.mobile-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(82vw, 340px);
  background: var(--color-surface);
  z-index: 960;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  box-shadow: -20px 0 50px -30px rgba(8,46,43,0.8);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.mobile-menu__close {
  width: 42px; height: 42px;
  border: none; background: var(--color-mint);
  border-radius: 12px;
  color: var(--color-primary);
  font-size: 1.2rem;
  cursor: none;
}
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.9rem 0.25rem;
  color: var(--color-text);
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.mobile-menu__nav a:hover { color: var(--color-primary); padding-left: 8px; }
.mobile-menu__nav hr { border: none; border-top: 1px solid rgba(15,118,110,0.12); margin: 0; }
.mobile-menu__phone {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  padding: 0.9rem;
  border-radius: 999px;
}

/* ============================================================
   1 · HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(7rem, 14vw, 9rem) !important;
  padding-bottom: clamp(4rem, 8vw, 6rem) !important;
  background:
    radial-gradient(120% 90% at 85% 5%, var(--color-mint-2) 0%, rgba(234,244,240,0) 55%),
    linear-gradient(180deg, var(--color-mint) 0%, var(--color-bg) 60%);
  overflow: hidden;
}
.hero__bg-word {
  position: absolute;
  top: 46%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Instrument Serif", serif;
  font-size: clamp(6rem, 26vw, 24rem);
  color: rgba(15, 118, 110, 0.05);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  font-style: italic;
}
.hero__grid {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(15,118,110,0.15);
  color: var(--color-primary);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.4rem;
}
.hero__title {
  font-size: var(--fs-4xl);
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}
.hero__title em { font-style: italic; color: var(--color-accent); }
.hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--color-muted);
  max-width: 44ch;
  margin-bottom: 2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-weight: 500;
  color: var(--color-text);
}
.hero__meta i { color: var(--color-accent); margin-right: 0.4rem; }
.hero__meta a:hover { color: var(--color-primary); }

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: 26px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 40px 80px -40px rgba(8, 46, 43, 0.6);
}
.hero__badge {
  position: absolute;
  left: -0.5rem; bottom: 1.5rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 20px 45px -25px rgba(8,46,43,0.7);
}
.hero__badge i {
  font-size: 1.4rem;
  color: var(--color-primary);
  background: var(--color-mint);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
}
.hero__badge strong { display: block; font-size: 0.95rem; }
.hero__badge span { font-size: 0.75rem; color: var(--color-muted); }

/* ---------- Footprints (elemento creativo temático) ---------- */
.footprints {
  position: absolute;
  bottom: 1.2rem; left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 6vw, 4rem);
  z-index: 1;
  pointer-events: none;
}
.footprints i {
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: var(--color-primary);
  opacity: 0;
  animation: walk 4.5s linear infinite;
}
.footprints i:nth-child(even) { transform: rotate(180deg) scaleX(-1); }
.footprints i:nth-child(1) { animation-delay: 0s; }
.footprints i:nth-child(2) { animation-delay: .45s; }
.footprints i:nth-child(3) { animation-delay: .9s; }
.footprints i:nth-child(4) { animation-delay: 1.35s; }
.footprints i:nth-child(5) { animation-delay: 1.8s; }
.footprints i:nth-child(6) { animation-delay: 2.25s; }
@keyframes walk {
  0%   { opacity: 0; }
  12%  { opacity: 0.55; }
  55%  { opacity: 0.55; }
  75%  { opacity: 0; }
  100% { opacity: 0; }
}

/* ============================================================
   2 · SOBRE NOSOTROS
   ============================================================ */
.about { background: var(--color-bg); }
.about__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.about__media { position: relative; }
.about__media img {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}
.about__quote {
  position: absolute;
  right: -0.5rem; bottom: -1.5rem;
  background: var(--color-primary);
  color: #fff;
  padding: 1.4rem 1.6rem;
  border-radius: 18px;
  max-width: 250px;
  box-shadow: 0 25px 50px -25px rgba(8,46,43,0.8);
}
.about__quote-mark {
  font-family: "Instrument Serif", serif;
  font-size: 3.5rem;
  line-height: 0.4;
  display: block;
  color: var(--color-accent-soft);
}
.about__quote p { margin: 0.5rem 0 0; font-size: 1.05rem; font-style: italic; }
.about__content .section-title { text-align: left; max-width: 18ch; margin: 0.5rem 0 1.3rem; }
.about__content p { color: var(--color-muted); margin: 0 0 1rem; }
.about__content p strong { color: var(--color-text); }
.about__list { margin-top: 1.5rem; display: grid; gap: 0.7rem; }
.about__list li { display: flex; align-items: center; gap: 0.7rem; font-weight: 500; }
.about__list i {
  color: var(--color-primary);
  background: var(--color-mint);
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ============================================================
   MARQUEE — base común (títulos y galería)
   ============================================================ */
.marquee-wrapper {
  overflow: hidden;         /* oculta lo que sale del viewport */
  white-space: nowrap;      /* impide salto de línea */
  width: 100%;
}
.marquee-track {
  display: inline-flex;     /* mide el ancho real de sus hijos */
  width: max-content;       /* CRÍTICO para el bucle sin huecos */
  align-items: center;
  will-change: transform;
  animation: marquee-left 32s linear infinite;
}
@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.marquee-track:hover { animation-play-state: paused; }

/* ---------- 3 · Marquee de títulos ---------- */
.title-marquee {
  background: var(--color-primary);
  padding: 1.6rem 0 !important;
}
.title-marquee .marquee-item {
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: #fff;
  padding: 0 1.4rem;
  font-style: italic;
}
.title-marquee .marquee-dot { color: var(--color-accent-soft); font-size: 0.9rem; padding: 0 0.2rem; }

/* ============================================================
   4 · SERVICIOS
   ============================================================ */
.services { background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-mint-2) 100%); }
.services__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.service-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  border: 1px solid rgba(15,118,110,0.08);
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 100%; width: 4px;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .4s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 55px -35px rgba(8,46,43,0.55);
  border-color: rgba(15,118,110,0.2);
}
.service-card:hover::before { transform: scaleY(1); }
.service-card__icon {
  display: inline-grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--color-mint);
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.service-card:hover .service-card__icon {
  background: var(--color-primary);
  color: #fff;
  transform: rotate(-6deg);
}
.service-card h3 { font-size: 1.7rem; margin-bottom: 0.5rem; }
.service-card p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }

/* ============================================================
   5 · GALERÍA
   ============================================================ */
.gallery { background: var(--color-mint-2); overflow: hidden; }
.gallery-row { padding: 0.6rem 0; }
.gallery-track { gap: 1rem; }
.gallery-track--right { animation-name: marquee-right; animation-duration: 46s; }
.gallery-track--left  { animation-name: marquee-left;  animation-duration: 46s; }

.gallery-item {
  flex: 0 0 auto;
  border: none;
  padding: 0;
  background: none;
  border-radius: 16px;
  overflow: hidden;
  cursor: none;
  box-shadow: 0 20px 40px -30px rgba(8,46,43,0.7);
  line-height: 0;
}
.gallery-item img {
  height: 280px;
  width: auto;
  min-width: 240px;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }

/* ============================================================
   6 · POR QUÉ ELEGIRNOS + STATS
   ============================================================ */
.why { background: var(--color-primary-deep); color: #fff; }
.why .section-label { color: var(--color-accent-soft); }
.why .section-title { color: #fff; }
.why__grid {
  max-width: var(--maxw);
  margin: 0 auto 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.why__item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.why__item:hover { transform: translateY(-6px); background: rgba(255,255,255,0.08); }
.why__icon {
  display: inline-grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.why__item h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.why__item p { color: rgba(255,255,255,0.7); margin: 0; font-size: 0.95rem; }

.stats {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 3rem;
  text-align: center;
}
.stat__num {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.8rem, 7vw, 4rem);
  line-height: 1;
  color: var(--color-accent);
  display: block;
}
.stat__label {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

/* ============================================================
   7 · CONTACTO
   ============================================================ */
.contact { background: var(--color-bg); }
.contact__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.contact__info .section-title { text-align: left; max-width: none; margin: 0.4rem 0 1rem; }
.contact__lead { color: var(--color-muted); margin-bottom: 2rem; max-width: 42ch; }
.contact__list { display: grid; gap: 1.3rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__ico {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--color-mint);
  color: var(--color-primary);
  display: grid; place-items: center;
  font-size: 1.2rem;
}
.contact__list strong { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-muted); margin-bottom: 2px; }
.contact__list a:hover { color: var(--color-primary); }

.contact__form {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(15,118,110,0.1);
  box-shadow: var(--shadow-soft);
}
.form-field { margin-bottom: 1.2rem; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1.5px solid rgba(15,118,110,0.18);
  background: var(--color-bg);
  font-family: inherit;
  font-size: var(--fs-base);
  color: var(--color-text);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  cursor: none;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(15,118,110,0.12);
}
.form-note {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  background: var(--color-mint);
  border-radius: 12px;
  color: var(--color-primary-dark);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================================
   8 · FOOTER
   ============================================================ */
.site-footer { background: var(--color-primary-deep); color: rgba(255,255,255,0.85); padding: 4rem 1.5rem 2rem; }
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.site-footer__brand p { margin: 0.6rem 0 1.2rem; max-width: 32ch; color: rgba(255,255,255,0.65); }
.social { display: flex; gap: 0.7rem; }
.social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.social a:hover { background: var(--color-accent); transform: translateY(-3px); }
.site-footer__col h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 1rem;
}
.site-footer__col a,
.site-footer__col span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  color: rgba(255,255,255,0.7);
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.site-footer__col i { color: var(--color-accent-soft); width: 18px; }
.site-footer__col a:hover { color: #fff; padding-left: 5px; }
.site-footer__bottom {
  max-width: var(--maxw);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.site-footer__bottom .disclaimer { font-style: italic; }

/* ============================================================
   9 · WHATSAPP FLOTANTE
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 1.3rem; bottom: 1.3rem;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.7rem;
  z-index: 800;
  box-shadow: 0 15px 35px -12px rgba(37, 211, 102, 0.7);
  cursor: none;
  animation: waPulse 2.6s ease-in-out infinite;
  transition: transform .3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 15px 35px -12px rgba(37,211,102,0.7), 0 0 0 0 rgba(37,211,102,0.5); }
  50%      { box-shadow: 0 15px 35px -12px rgba(37,211,102,0.7), 0 0 0 14px rgba(37,211,102,0); }
}

/* ============================================================
   POP-UP KORA
   ============================================================ */
.kora-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 46, 43, 0.72);
  backdrop-filter: blur(4px);
  z-index: 99000;                 /* por debajo del cursor (999999) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
  cursor: none;
}
.kora-modal.open { opacity: 1; visibility: visible; }
.kora-modal * { cursor: none; }   /* suprime el cursor nativo sobre el modal */
.kora-modal__card {
  background: var(--color-surface);
  border-radius: 22px;
  padding: 2.5rem 2rem;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
  transform: translateY(20px) scale(0.96);
  transition: transform .45s var(--ease);
  pointer-events: auto;
}
.kora-modal.open .kora-modal__card { transform: translateY(0) scale(1); }
.kora-modal__badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.kora-modal__title { font-size: 2.2rem; margin-bottom: 0.8rem; color: var(--color-primary); }
.kora-modal__text { color: var(--color-muted); font-size: 0.98rem; margin: 0 0 1.8rem; }
.kora-modal__btn {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: var(--fs-base);
  cursor: none;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.kora-modal__btn:hover { background: var(--color-primary-dark); transform: translateY(-2px); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 46, 43, 0.92);
  z-index: 98000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8);
  transform: scale(0.94);
  transition: transform .35s var(--ease);
}
.lightbox.open .lightbox__img { transform: scale(1); }
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: none;
  display: grid; place-items: center;
  transition: background .25s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--color-accent); }
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__nav--prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__counter {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

/* ============================================================
   REVEAL AL HACER SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE — tablet ≥768px
   ============================================================ */
@media (min-width: 768px) {
  .brand-word__name { font-size: 1.7rem; }
  .header-phone { display: inline-flex; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .about__grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .site-footer__inner { grid-template-columns: 2fr 1fr 1.3fr; }
  .site-footer__bottom { flex-direction: row; justify-content: space-between; }
  .gallery-item img { height: 300px; }
}

/* ============================================================
   RESPONSIVE — desktop ≥1024px
   ============================================================ */
@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .hamburger { display: none; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(4, 1fr); }
  .brand-word__name { font-size: 1.85rem; }
}

/* ============================================================
   PREFERENCIA: MENOS MOVIMIENTO
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
