/* ==========================================================================
   GOLD CLINIC — Clínica Veterinaria
   Hoja de estilos principal
   --------------------------------------------------------------------------
   Índice
   01. Tokens de diseño
   02. Reset y base
   03. Layout y utilidades
   04. Motor de animaciones (reveal, keyframes)
   05. Botones
   06. Navbar y menú mobile
   07. Hero
   08. Cinta de servicios (marquee)
   09. Quiénes somos + contadores
   10. Encabezados de sección
   11. Tarjetas (servicios / equipo / instalaciones)
   12. Galería + lightbox
   13. Reseñas
   14. Contacto
   15. Footer
   16. UI flotante (WhatsApp, subir, barra de progreso)
   17. Cortina de intro
   18. Accesibilidad, movimiento reducido e impresión
   ========================================================================== */

/* ==========================================================================
   01. TOKENS DE DISEÑO
   ========================================================================== */

:root {
  /* --- Marca --- */
  --gold: #d1a535;
  --gold-soft: #e3c069;
  --gold-bright: #f2d98a;
  --gold-deep: #8f6f1c;

  /* --- Superficies --- */
  --bg: #0a0a0a;
  --bg-alt: #0f0f0f;
  --bg-raise: #141414;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* --- Texto --- */
  --ink: #f6f4ef;
  --ink-soft: #cfcac1;
  --ink-muted: #9d978c;

  /* --- Tipografía --- */
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --step--2: clamp(0.69rem, 0.67rem + 0.1vw, 0.75rem);
  --step--1: clamp(0.81rem, 0.78rem + 0.15vw, 0.88rem);
  --step-0: clamp(0.95rem, 0.92rem + 0.2vw, 1.06rem);
  --step-1: clamp(1.1rem, 1.03rem + 0.35vw, 1.3rem);
  --step-2: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
  --step-3: clamp(1.7rem, 1.4rem + 1.5vw, 2.6rem);
  --step-4: clamp(2.1rem, 1.5rem + 3vw, 3.9rem);
  --step-5: clamp(2.6rem, 1.6rem + 4.6vw, 5.4rem);

  /* --- Espaciado --- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.75rem;
  --sp-8: 3.5rem;
  --sp-9: 5rem;
  --sp-10: 7rem;

  --section-y: clamp(4.5rem, 3rem + 6vw, 8rem);
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  --wrap: 1180px;
  --wrap-wide: 1320px;

  /* --- Formas --- */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* --- Sombras --- */
  --sh-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --sh-md: 0 14px 40px rgba(0, 0, 0, 0.45);
  --sh-lg: 0 28px 70px rgba(0, 0, 0, 0.6);
  --sh-gold: 0 14px 38px rgba(209, 165, 53, 0.28);

  /* --- Movimiento --- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 180ms;
  --t-mid: 320ms;
  --t-slow: 700ms;

  /* --- Métricas --- */
  --nav-h: 84px;
  --z-float: 950;
  --z-drawer: 1000;
  /* La navbar va por encima del drawer para que el botón X siga visible. */
  --z-nav: 1010;
  --z-lightbox: 1100;
  --z-intro: 1200;
}

@media (max-width: 860px) {
  :root { --nav-h: 68px; }
}

/* ==========================================================================
   02. RESET Y BASE
   ========================================================================== */

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

* { margin: 0; }

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

body {
  background-color: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  border-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  font-weight: 600;
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul { list-style: none; padding: 0; }

::selection {
  background: var(--gold);
  color: #0a0a0a;
}

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Barra de desplazamiento */
@supports (scrollbar-color: red blue) {
  html { scrollbar-color: rgba(209, 165, 53, 0.45) var(--bg); scrollbar-width: thin; }
}
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(209, 165, 53, 0.35);
  border-radius: var(--r-pill);
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: rgba(209, 165, 53, 0.6); }

/* ==========================================================================
   03. LAYOUT Y UTILIDADES
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--wide { max-width: var(--wrap-wide); }

.section {
  position: relative;
  padding-block: var(--section-y);
  scroll-margin-top: var(--nav-h);
  isolation: isolate;
}

.section--alt { background: var(--bg-alt); }

/* Resplandor dorado ambiental detrás de las secciones */
.section--glow::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -10%;
  height: 60%;
  z-index: -1;
  background: radial-gradient(60% 100% at 50% 0%, rgba(209, 165, 53, 0.09), transparent 70%);
  pointer-events: none;
}

.brand-rule {
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #2a2a2a 35%, #ffffff 50%, #2a2a2a 65%, var(--gold));
  background-size: 200% 100%;
  animation: rule-flow 9s linear infinite;
}

.eyebrow {
  display: inline-block;
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.gold { color: var(--gold); }

/* Texto con degradado dorado animado */
.shine {
  background: linear-gradient(100deg, var(--gold) 20%, var(--gold-bright) 40%, var(--gold) 60%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 0; left: 50%;
  transform: translate(-50%, -120%);
  z-index: 2000;
  background: var(--gold);
  color: #0a0a0a;
  font-weight: 700;
  font-size: var(--step--1);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--r-md) var(--r-md);
  transition: transform var(--t-mid) var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ==========================================================================
   04. MOTOR DE ANIMACIONES
   ========================================================================== */

@keyframes rule-flow {
  to { background-position: 200% 0; }
}

@keyframes shine {
  to { background-position: 220% center; }
}

@keyframes ken-burns {
  0%   { transform: scale(1.06) translate3d(0, 0, 0); }
  100% { transform: scale(1.19) translate3d(-1.5%, -1.5%, 0); }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

@keyframes pulse-ring {
  0%   { transform: scale(0.9); opacity: 0.75; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes scroll-cue {
  0%   { transform: translateY(0); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

@keyframes marquee {
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes pop-in {
  0%   { transform: scale(0.4); opacity: 0; }
  70%  { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fade-slide-in {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to   { opacity: 1; transform: none; }
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

/* --- Reveal on scroll -----------------------------------------------------
   Las reglas que ocultan sólo se aplican si JS está activo (clase .js en
   <html>). Si JS falla o está deshabilitado, todo el contenido es visible.
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease),
    clip-path var(--t-slow) var(--ease);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}

.js [data-reveal="left"]  { transform: translate3d(-44px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(44px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(0.93); }
.js [data-reveal="clip"]  { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); }
.js [data-reveal="blur"]  { filter: blur(12px); transition-property: opacity, transform, filter; }

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
  clip-path: inset(0 0 0 0);
  will-change: auto;
}

/* Entrada escalonada del hero */
.hero [data-enter] {
  opacity: 0;
  animation: fade-slide-in 0.95s var(--ease) forwards;
  animation-delay: var(--ed, 0ms);
}

/* ==========================================================================
   05. BOTONES
   ========================================================================== */

.btn {
  --btn-bg: var(--gold);
  --btn-fg: #12100a;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform var(--t-mid) var(--ease),
    box-shadow var(--t-mid) var(--ease),
    background-color var(--t-mid) var(--ease),
    color var(--t-mid) var(--ease),
    border-color var(--t-mid) var(--ease);
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  transition: transform var(--t-mid) var(--ease);
}

/* Destello que barre el botón al pasar el mouse */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.45) 50%, transparent 75%);
  transform: translateX(-110%);
  transition: transform 0.75s var(--ease);
}

.btn:hover::before,
.btn:focus-visible::before { transform: translateX(110%); }

.btn--primary {
  box-shadow: var(--sh-gold);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--gold-soft);
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(209, 165, 53, 0.42);
}
.btn--primary:hover svg { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.95);
  color: #0a0a0a;
  border-color: #fff;
  transform: translateY(-3px);
}

.btn--lg {
  padding: 1.1rem 2.25rem;
  font-size: var(--step-0);
}

.btn--sm {
  padding: 0.7rem 1.35rem;
  font-size: var(--step--1);
}

.btn:active { transform: translateY(-1px) scale(0.985); }

/* Enlace con subrayado animado */
.link-underline {
  position: relative;
  color: var(--gold);
  font-weight: 600;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-mid) var(--ease);
}
.link-underline:hover::after,
.link-underline:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ==========================================================================
   06. NAVBAR Y MENÚ MOBILE
   ========================================================================== */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  transition: background-color var(--t-mid) var(--ease-soft),
              box-shadow var(--t-mid) var(--ease-soft),
              border-color var(--t-mid) var(--ease-soft);
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.35));
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  height: var(--nav-h);
  transition: height var(--t-mid) var(--ease-soft);
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
  padding-block: 0.8rem;
  transition: transform var(--t-mid) var(--ease);
}
.nav__logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  transition: filter var(--t-mid) var(--ease);
}
.nav__logo:hover { transform: scale(1.04); }
.nav__logo:hover img { filter: drop-shadow(0 0 14px rgba(209, 165, 53, 0.55)); }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.4rem + 1.4vw, 2rem);
}

.nav__link {
  position: relative;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: 0.4rem;
  transition: color var(--t-mid) var(--ease);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid) var(--ease);
}
.nav__link:hover,
.nav__link:focus-visible,
.nav__link.is-active { color: var(--gold); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__cta { flex-shrink: 0; }

.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  transition: background-color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
}
.nav__burger:hover { background: var(--surface); border-color: rgba(209, 165, 53, 0.4); }
.nav__burger span {
  display: block;
  width: 19px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--t-mid) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) 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(-6.8px) rotate(-45deg); }

/* --- Drawer mobile --- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  display: grid;
  grid-template-rows: var(--nav-h) 1fr;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-mid) var(--ease), visibility var(--t-mid);
}
.drawer.is-open { opacity: 1; visibility: visible; }

.drawer__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  padding: var(--gutter);
  padding-bottom: calc(var(--gutter) + 2rem);
  overflow-y: auto;
}

.drawer__link {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.3rem);
  font-weight: 600;
  color: var(--ink);
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  opacity: 0;
  transform: translateY(26px);
  transition: color var(--t-mid) var(--ease);
}
.drawer.is-open .drawer__link {
  animation: fade-slide-in 0.55s var(--ease) forwards;
  animation-delay: var(--dd, 0ms);
}
.drawer__link span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.drawer__link:hover,
.drawer__link:focus-visible { color: var(--gold); }

.drawer__foot {
  margin-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  opacity: 0;
}
.drawer.is-open .drawer__foot {
  animation: fade-slide-in 0.55s var(--ease) forwards;
  animation-delay: 420ms;
}
.drawer__foot .btn { width: 100%; }
.drawer__meta {
  font-size: var(--step--1);
  color: var(--ink-muted);
  text-align: center;
}

@media (max-width: 1080px) {
  .nav__links,
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

@media (min-width: 1081px) {
  .drawer { display: none; }
}

/* ==========================================================================
   07. HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: grid;
  place-items: center;
  padding-top: var(--nav-h);
  padding-bottom: clamp(4rem, 8vh, 7rem);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  animation: ken-burns 26s var(--ease-soft) infinite alternate;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 50% 55%, transparent 20%, rgba(0, 0, 0, 0.55) 75%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.32) 35%, rgba(0, 0, 0, 0.55) 70%, rgba(10, 10, 10, 0.96) 100%);
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: 62rem;
  padding-inline: var(--gutter);
}

.hero__eyebrow {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: var(--sp-5);
}
.hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 0.7rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse-ring 2.4s ease-out infinite;
  vertical-align: middle;
}

.hero__title {
  font-size: var(--step-5);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: var(--sp-5);
}
.hero__title em {
  display: block;
  font-style: italic;
  font-weight: 300;
  font-size: 0.82em;
  margin-top: 0.12em;
}

.hero__rule {
  width: 74px;
  height: 1px;
  margin: 0 auto var(--sp-5);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero__lede {
  font-size: var(--step-1);
  color: rgba(255, 255, 255, 0.86);
  max-width: min(34rem, 100%);
  margin: 0 auto var(--sp-7);
  font-weight: 300;
  letter-spacing: 0.01em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
}

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 3vh, 2.5rem);
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  transition: opacity var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
}
.hero__cue:hover { color: var(--gold); }
.hero__cue i {
  display: block;
  width: 22px;
  height: 36px;
  border: 1.5px solid currentColor;
  border-radius: var(--r-pill);
  position: relative;
}
.hero__cue i::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: currentColor;
  animation: scroll-cue 1.9s var(--ease) infinite;
}
.hero.is-past .hero__cue { opacity: 0; pointer-events: none; }

@media (max-width: 560px) {
  .hero__actions .btn { width: 100%; }
}

/* ==========================================================================
   08. CINTA DE SERVICIOS (MARQUEE)
   ========================================================================== */

.ticker {
  position: relative;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(209, 165, 53, 0.09), rgba(209, 165, 53, 0.03) 50%, rgba(209, 165, 53, 0.09));
  padding-block: 1rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding-inline: 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.25rem);
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.ticker__item svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  opacity: 0.85;
}

/* ==========================================================================
   09. QUIÉNES SOMOS + CONTADORES
   ========================================================================== */

.about__grid {
  display: grid;
  gap: clamp(2.5rem, 1rem + 5vw, 4.5rem);
  align-items: center;
}

@media (min-width: 880px) {
  .about__grid { grid-template-columns: 0.85fr 1fr; }
}

.about__figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 26rem;
  box-shadow: var(--sh-lg);
}
.about__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.about__figure:hover img { transform: scale(1.05); }
.about__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

/* Marco dorado desplazado, puro adorno */
.about__frame {
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid rgba(209, 165, 53, 0.45);
  border-radius: var(--r-lg);
  z-index: -1;
}

.about__media { position: relative; }

.about__body p + p { margin-top: var(--sp-4); }

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__num .gold { font-size: 0.75em; }
.stat__label {
  display: block;
  margin-top: 0.45rem;
  font-size: var(--step--1);
  color: var(--ink-muted);
  line-height: 1.35;
}

/* ==========================================================================
   10. ENCABEZADOS DE SECCIÓN
   ========================================================================== */

.head {
  max-width: 46rem;
  margin: 0 auto clamp(2.5rem, 1.5rem + 3vw, 4rem);
  text-align: center;
}

.head--left {
  margin-inline: 0;
  text-align: left;
}

.head__title {
  font-size: var(--step-4);
  margin-top: var(--sp-3);
  letter-spacing: -0.02em;
}

.head__sub {
  margin-top: var(--sp-4);
  color: var(--ink-muted);
  font-size: var(--step-0);
}

.head__rule {
  width: 60px;
  height: 2px;
  margin: var(--sp-5) auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--gold));
  transform-origin: center;
}
.head--left .head__rule { margin-inline: 0; }
.js .head__rule { transform: scaleX(0); transition: transform 0.9s var(--ease) 0.25s; }
.js .head__rule.is-in,
.js .is-in .head__rule { transform: scaleX(1); }

/* ==========================================================================
   11. TARJETAS
   ========================================================================== */

.grid {
  display: grid;
  gap: clamp(1.1rem, 0.6rem + 1.4vw, 1.75rem);
}

.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); }

/* Exactamente dos columnas: auto-fit encajaría una tercera y rompe el ritmo. */
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  isolation: isolate;
  transition:
    transform var(--t-slow) var(--ease),
    border-color var(--t-mid) var(--ease),
    box-shadow var(--t-slow) var(--ease),
    background-color var(--t-mid) var(--ease);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(209, 165, 53, 0.38);
  background: var(--surface-hover);
  box-shadow: var(--sh-md), 0 0 0 1px rgba(209, 165, 53, 0.12);
}

/* Foco luminoso que sigue al cursor */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(209, 165, 53, 0.16), transparent 65%);
  transition: opacity var(--t-mid) var(--ease);
}
.card:hover::before { opacity: 1; }

.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-raise);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.05s var(--ease), filter var(--t-slow) var(--ease);
}
.card:hover .card__media img {
  transform: scale(1.07);
  filter: saturate(1.08);
}
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 10, 10, 0.75));
  opacity: 0.85;
  transition: opacity var(--t-mid) var(--ease);
}
.card:hover .card__media::after { opacity: 0.6; }

.card__body {
  position: relative;
  z-index: 3;
  padding: clamp(1.15rem, 0.9rem + 0.7vw, 1.6rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.35rem;
  border-radius: var(--r-pill);
  color: var(--gold);
  background: rgba(209, 165, 53, 0.12);
  border: 1px solid rgba(209, 165, 53, 0.22);
  transition: transform var(--t-slow) var(--ease), background-color var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
}
.card__icon svg { width: 21px; height: 21px; }
.card:hover .card__icon {
  transform: translateY(-3px) rotate(-8deg) scale(1.08);
  background: var(--gold);
  color: #12100a;
}

.card__title {
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card__text {
  font-size: var(--step--1);
  color: var(--ink-muted);
  line-height: 1.65;
}

.card__role {
  font-size: var(--step--1);
  color: var(--gold);
  font-weight: 500;
}

/* Variante instalación: media más ancha */
.card--place .card__media { aspect-ratio: 16 / 11; }

/* --- Variante servicio: sin foto, ícono + número --- */
.card--svc { padding: clamp(1.5rem, 1.2rem + 1vw, 2.15rem); }
.card--svc .card__body { padding: 0; gap: 0.6rem; }
.card--svc .card__icon {
  width: 54px;
  height: 54px;
  margin-bottom: 0.6rem;
}
.card--svc .card__icon svg { width: 25px; height: 25px; }
.card--svc .card__title { font-size: var(--step-2); }

.card__num {
  position: absolute;
  top: 0.35rem;
  right: 1.15rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  transition: color var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.card--svc:hover .card__num {
  color: rgba(209, 165, 53, 0.15);
  transform: translateY(-4px);
}

/* Línea dorada que se dibuja en el borde inferior al pasar el mouse */
.card--svc::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease);
}
.card--svc:hover::after { transform: scaleX(1); }

/* ==========================================================================
   11a. SERVICIO DESTACADO (hotel para perros)
   ========================================================================== */

.feature {
  position: relative;
  display: grid;
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(209, 165, 53, 0.28);
  background:
    linear-gradient(135deg, rgba(209, 165, 53, 0.12), rgba(209, 165, 53, 0.03) 45%, transparent 75%),
    var(--bg-raise);
  box-shadow: var(--sh-md);
  transition: border-color var(--t-mid) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.feature:hover {
  border-color: rgba(209, 165, 53, 0.5);
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(209, 165, 53, 0.14);
}

@media (min-width: 900px) {
  .feature { grid-template-columns: 1.02fr 1fr; }
}

.feature__media {
  position: relative;
  min-height: clamp(240px, 34vw, 420px);
  overflow: hidden;
  background: var(--bg-raise);
}
.feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.feature:hover .feature__media img { transform: scale(1.05); }

/* Degradado que funde la foto con el panel de texto */
.feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 20, 20, 0.9));
}
@media (min-width: 900px) {
  .feature__media::after {
    background: linear-gradient(90deg, transparent 55%, rgba(20, 20, 20, 0.9));
  }
}

.feature__badge {
  position: absolute;
  z-index: 2;
  top: clamp(0.9rem, 2vw, 1.4rem);
  left: clamp(0.9rem, 2vw, 1.4rem);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: #12100a;
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: var(--sh-gold);
  animation: float-y 4.5s var(--ease-soft) infinite;
}
.feature__badge svg { width: 15px; height: 15px; }

.feature__body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: var(--sp-4);
  padding: clamp(1.6rem, 1rem + 2.6vw, 3rem);
}

.feature__title {
  font-size: var(--step-3);
  letter-spacing: -0.02em;
}

.feature__lede {
  color: var(--ink-soft);
  font-size: var(--step-0);
}

.feature__list {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.25rem;
}
@media (min-width: 520px) {
  .feature__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.feature__item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
  line-height: 1.45;
}
.feature__item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}

.feature__cta { margin-top: var(--sp-3); justify-self: start; }

@media (max-width: 519px) {
  .feature__cta { justify-self: stretch; }
}

/* ==========================================================================
   11b. EQUIPO (banda editorial)
   ========================================================================== */

.team {
  display: grid;
  gap: clamp(2.5rem, 1rem + 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .team { grid-template-columns: 1fr 1fr; }
}

.team__media { position: relative; }

.team__figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line);
}
.team__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.team__media:hover .team__figure img { transform: scale(1.05); }

.float-card {
  position: absolute;
  right: clamp(-14px, -1vw, 0px);
  bottom: -22px;
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1.3rem;
  border-radius: var(--r-md);
  background: rgba(14, 14, 14, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  box-shadow: var(--sh-md);
  animation: float-y 5.5s var(--ease-soft) infinite;
}
.float-card b {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--ink);
  line-height: 1;
}
.float-card span { font-size: var(--step--2); color: var(--ink-muted); }

@media (max-width: 620px) {
  .float-card { right: 10px; bottom: -16px; padding: 0.7rem 1rem; }
}

.values {
  display: grid;
  gap: 1.15rem;
  margin-top: var(--sp-6);
}

.value {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.value__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: var(--r-pill);
  color: var(--gold);
  background: rgba(209, 165, 53, 0.12);
  border: 1px solid rgba(209, 165, 53, 0.22);
  transition: background-color var(--t-mid) var(--ease), color var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
.value__icon svg { width: 19px; height: 19px; }
.value:hover .value__icon { background: var(--gold); color: #12100a; transform: rotate(-8deg) scale(1.06); }
.value h3 { font-size: var(--step-0); font-weight: 600; margin-bottom: 0.15rem; }
.value p { font-size: var(--step--1); color: var(--ink-muted); line-height: 1.6; }

/* ==========================================================================
   12. GALERÍA + LIGHTBOX
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.7rem, 0.4rem + 1vw, 1.1rem);
}
@media (min-width: 780px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  transition: transform var(--t-slow) var(--ease), border-color var(--t-mid) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.shot:hover,
.shot:focus-visible {
  transform: translateY(-6px) scale(1.012);
  border-color: rgba(209, 165, 53, 0.45);
  box-shadow: var(--sh-md);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.shot:hover img { transform: scale(1.09); }

.shot__cap {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 8, 0.92));
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  text-align: left;
  transform: translateY(12px);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
.shot:hover .shot__cap,
.shot:focus-visible .shot__cap { opacity: 1; transform: none; }

.shot__zoom {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: var(--r-pill);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
.shot__zoom svg { width: 15px; height: 15px; }
.shot:hover .shot__zoom,
.shot:focus-visible .shot__zoom { opacity: 1; transform: none; }

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-mid) var(--ease), visibility var(--t-mid);
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__figure {
  position: relative;
  max-width: min(96vw, 820px);
  display: grid;
  gap: 1rem;
  justify-items: center;
  transform: scale(0.94);
  opacity: 0;
  transition: transform var(--t-slow) var(--ease), opacity var(--t-mid) var(--ease);
}
.lightbox.is-open .lightbox__figure { transform: none; opacity: 1; }

.lightbox__figure img {
  max-height: min(76vh, 720px);
  width: auto;
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
}

.lightbox__cap {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--ink);
  text-align: center;
}
.lightbox__count {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.lightbox__btn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-strong);
  color: #fff;
  transition: background-color var(--t-mid) var(--ease), transform var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
}
.lightbox__btn:hover {
  background: var(--gold);
  color: #12100a;
  transform: scale(1.08);
}
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__btn--prev { top: 50%; left: clamp(0.5rem, 2vw, 2rem); transform: translateY(-50%); }
.lightbox__btn--next { top: 50%; right: clamp(0.5rem, 2vw, 2rem); transform: translateY(-50%); }
.lightbox__btn--prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__btn--next:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__btn--close { top: clamp(0.75rem, 2vw, 1.5rem); right: clamp(0.75rem, 2vw, 1.5rem); }

@media (max-width: 640px) {
  .lightbox__btn--prev { left: 0.5rem; }
  .lightbox__btn--next { right: 0.5rem; }
  .lightbox__btn { width: 42px; height: 42px; }
}

/* ==========================================================================
   13. RESEÑAS
   ========================================================================== */

.rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--sp-5);
}

.rating__score {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-display);
}
.rating__score b {
  font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem);
  color: var(--ink);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.rating__score span {
  font-size: var(--step-0);
  color: var(--ink-muted);
  font-family: var(--font-body);
}

.stars {
  display: inline-flex;
  gap: 3px;
  color: var(--gold);
}
.stars svg { width: 16px; height: 16px; }
.js .is-in .stars svg {
  animation: pop-in 0.5s var(--ease) backwards;
}
.js .is-in .stars svg:nth-child(1) { animation-delay: 0.05s; }
.js .is-in .stars svg:nth-child(2) { animation-delay: 0.12s; }
.js .is-in .stars svg:nth-child(3) { animation-delay: 0.19s; }
.js .is-in .stars svg:nth-child(4) { animation-delay: 0.26s; }
.js .is-in .stars svg:nth-child(5) { animation-delay: 0.33s; }

.stars--lg svg { width: 22px; height: 22px; }

.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: clamp(1.35rem, 1rem + 1vw, 2rem);
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform var(--t-slow) var(--ease), border-color var(--t-mid) var(--ease), box-shadow var(--t-slow) var(--ease), background-color var(--t-mid) var(--ease);
}
.quote:hover {
  transform: translateY(-7px);
  border-color: rgba(209, 165, 53, 0.35);
  background: var(--surface-hover);
  box-shadow: var(--sh-md);
}

.quote::after {
  content: "\201D";
  position: absolute;
  top: 0.1rem; right: 1.1rem;
  font-family: var(--font-display);
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(209, 165, 53, 0.16);
  pointer-events: none;
  transition: color var(--t-mid) var(--ease), transform var(--t-slow) var(--ease);
}
.quote:hover::after { color: rgba(209, 165, 53, 0.3); transform: translateY(-3px); }

.quote__who {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.quote__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(209, 165, 53, 0.35);
  transition: border-color var(--t-mid) var(--ease), transform var(--t-slow) var(--ease);
}
.quote:hover .quote__avatar { border-color: var(--gold); transform: scale(1.05); }
.quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote__name {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.quote__meta { font-size: var(--step--2); color: var(--ink-muted); }
.quote__text {
  font-size: var(--step--1);
  line-height: 1.7;
  color: var(--ink-soft);
  font-style: italic;
}

/* ==========================================================================
   14. CONTACTO
   ========================================================================== */

.banner {
  position: relative;
  min-height: clamp(340px, 46vh, 520px);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.banner__media {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
  will-change: transform;
}
.banner__media img { width: 100%; height: 100%; object-fit: cover; }
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.82), rgba(10, 10, 10, 0.5) 45%, rgba(10, 10, 10, 0.95));
}
.banner__inner { width: 100%; max-width: 48rem; padding: var(--sp-8) var(--gutter); }
.banner__title {
  font-size: var(--step-4);
  color: #fff;
  letter-spacing: -0.02em;
  margin-top: var(--sp-4);
}
.banner__title em {
  display: block;
  font-style: italic;
  font-weight: 300;
  font-size: 0.78em;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.1em;
}

.contact__grid {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: 1fr 1fr; }
}

.contact__list {
  display: grid;
  gap: var(--sp-4);
  margin-block: var(--sp-5);
}
.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.contact__item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold);
}
.contact__item b {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: var(--step--1);
}
.contact__item a:hover { color: var(--gold); }

.map {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
  aspect-ratio: 4 / 3;
  min-height: 300px;
  transition: border-color var(--t-mid) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.map:hover { border-color: rgba(209, 165, 53, 0.35); box-shadow: var(--sh-lg); }
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
  transition: filter var(--t-slow) var(--ease);
}
.map:hover iframe { filter: none; }

.note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step--2);
  color: var(--ink-muted);
}
.note::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-ring 2.4s ease-out infinite;
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.footer { background: var(--bg-alt); border-top: 1px solid var(--line); }

.footer__grid {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 3rem);
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}

.footer__brand { display: grid; gap: 0.85rem; align-content: start; justify-items: start; }
.footer__brand img { height: 68px; width: auto; object-fit: contain; }

.footer__tag {
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer__motto {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-muted);
  font-size: var(--step--1);
}

.footer__title {
  font-size: var(--step-0);
  font-weight: 600;
  margin-bottom: var(--sp-4);
  color: var(--ink);
}

.footer__col { display: grid; gap: 0.55rem; align-content: start; }
.footer__col a,
.footer__col p {
  font-size: var(--step--1);
  color: var(--ink-muted);
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.footer__col a { width: fit-content; }
.footer__col a:hover { color: var(--gold); transform: translateX(4px); }

.footer__hours { margin-top: 0.5rem; display: grid; gap: 0.2rem; }
.footer__hours dt {
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.footer__hours dd { margin: 0; font-size: var(--step--1); color: var(--ink-muted); }
.footer__hours dd b { color: var(--gold); font-weight: 600; }

.socials { display: flex; gap: 0.65rem; }
.social {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  transition: transform var(--t-mid) var(--ease), background-color var(--t-mid) var(--ease), color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
}
.social svg { width: 18px; height: 18px; }
.social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #12100a;
  transform: translateY(-4px) rotate(-6deg);
}

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  justify-content: space-between;
  font-size: var(--step--2);
  color: var(--ink-muted);
}

/* ==========================================================================
   16. UI FLOTANTE
   ========================================================================== */

.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-bright));
  z-index: calc(var(--z-nav) + 5);
  pointer-events: none;
}

.wa {
  position: fixed;
  right: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  z-index: var(--z-float);
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: var(--r-pill);
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 34px rgba(37, 211, 102, 0.4);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.wa svg { width: 30px; height: 30px; }
.wa::before,
.wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(37, 211, 102, 0.65);
  animation: pulse-ring 2.6s var(--ease-soft) infinite;
  pointer-events: none;
}
.wa::after { animation-delay: 1.3s; }
.wa:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 18px 44px rgba(37, 211, 102, 0.55);
}
.wa:hover::before,
.wa:hover::after { animation-play-state: paused; opacity: 0; }

/* Globo de texto que aparece al pasar el mouse */
.wa__tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  background: var(--bg-raise);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: var(--step--2);
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-pill);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
.wa:hover .wa__tip { opacity: 1; transform: translateY(-50%); }

.totop {
  position: fixed;
  right: clamp(1rem, 2vw, 1.75rem);
  bottom: calc(clamp(1rem, 2vw, 1.75rem) + 70px);
  z-index: var(--z-float);
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease), visibility var(--t-mid), background-color var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
}
.totop svg { width: 17px; height: 17px; }
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--gold); color: #12100a; border-color: var(--gold); }

@media (max-width: 560px) {
  .wa { width: 52px; height: 52px; }
  .wa svg { width: 26px; height: 26px; }
  .wa__tip { display: none; }
  .totop { bottom: calc(clamp(1rem, 2vw, 1.75rem) + 62px); }
}

/* ==========================================================================
   17. CORTINA DE INTRO
   ========================================================================== */

.intro {
  position: fixed;
  inset: 0;
  z-index: var(--z-intro);
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro__logo {
  width: min(280px, 62vw);
  opacity: 0;
  animation: fade-slide-in 0.9s var(--ease) 0.1s forwards;
}

.intro__bar {
  position: absolute;
  bottom: 24%;
  left: 50%;
  transform: translateX(-50%);
  width: min(180px, 40vw);
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.intro__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left;
  animation: intro-load 1.1s var(--ease) 0.15s forwards;
}
@keyframes intro-load { to { transform: scaleX(1); } }

/* ==========================================================================
   18. ACCESIBILIDAD, MOVIMIENTO REDUCIDO E IMPRESIÓN
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal],
  .hero [data-enter],
  .drawer__link,
  .drawer__foot,
  .intro__logo {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }

  .js .head__rule { transform: scaleX(1) !important; }
  .hero__media img { animation: none; transform: scale(1.06); }
  .intro { display: none; }
}

@media print {
  .nav, .drawer, .wa, .totop, .progress, .intro, .lightbox, .hero__cue, .ticker { display: none !important; }
  body { background: #fff; color: #000; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .section { padding-block: 1.5rem; }
}
