/* ==========================================================================
   Guardian Box — Hoja de estilos principal
   Todo el diseño del sitio vive aquí. Para cambiar un color de marca,
   una tipografía o un radio de borde, edita solo las variables de :root.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens de diseño (variables)
   -------------------------------------------------------------------------- */
:root {
  /* Marca */
  --gb-accent:   #ec7822;   /* naranja principal */
  --gb-accent-d: #d2660f;   /* naranja al pasar el ratón */

  /* Neutros */
  --gb-dark:    #2b2a28;    /* secciones oscuras */
  --gb-darker:  #1f1e1c;    /* pie de página */
  --gb-text:    #3a3a3a;
  --gb-heading: #262626;
  --gb-muted:   #6a6a6a;
  --gb-soft:    #a8a8a8;
  --gb-line:    #ececec;
  --gb-panel:   #f3f2f0;    /* fondo claro de paneles */
  --gb-slot:    #e9e7e3;    /* fondo de marcadores de imagen */

  /* Formas y medidas */
  --gb-r: 4px;              /* radio de borde base */
  --gb-maxw: 1240px;        /* ancho máximo del contenido */
  --gb-pad: 40px;           /* padding horizontal de página */

  /* Tipografías */
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #ffffff;
  font-family: var(--font-body);
  color: var(--gb-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a       { color: inherit; }
button  { font-family: inherit; }
img     { max-width: 100%; display: block; }

h1, h2, h3 { margin: 0; }

/* Contenedor centrado reutilizable */
.container {
  max-width: var(--gb-maxw);
  margin: 0 auto;
  padding: 0 var(--gb-pad);
}

/* Utilidades tipográficas */
.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gb-soft);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--gb-heading);
}
.accent { color: var(--gb-accent); }

/* --------------------------------------------------------------------------
   3. Botones
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 34px;
  border: none;
  border-radius: var(--gb-r);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.btn--accent { background: var(--gb-accent); color: #fff; }
.btn--accent:hover { background: var(--gb-accent-d); }

.btn--dark { background: var(--gb-heading); color: #fff; }
.btn--dark:hover { background: #111; }

.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .6);
  padding: 14px 32px;
}
.btn--outline:hover { background: rgba(255, 255, 255, .14); }

.btn--sm {
  font-size: 12px;
  padding: 14px 24px;
}

/* --------------------------------------------------------------------------
   4. Cabecera / navegación
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--gb-line);
  box-shadow: 0 1px 14px rgba(0, 0, 0, .04);
}
.site-header__inner {
  max-width: var(--gb-maxw);
  margin: 0 auto;
  padding: 0 var(--gb-pad);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.logo img { height: 46px; width: auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.logo__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .04em;
  color: var(--gb-heading);
}
.logo__tag {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: .3em;
  color: #adadad;
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--gb-text);
  padding: 8px 0;
  transition: color .18s ease;
}
.nav-link:hover { color: var(--gb-accent); }
.nav-link.is-active { color: var(--gb-heading); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gb-accent);
}

/* Botón hamburguesa (solo visible en móvil) */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--gb-heading);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. Secciones genéricas
   -------------------------------------------------------------------------- */
.section { max-width: var(--gb-maxw); margin: 0 auto; padding: 100px var(--gb-pad); }
.section--tight { padding: 84px var(--gb-pad) 44px; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 60px; }
.section-head p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gb-muted);
  margin: 18px 0 0;
}

/* Marcadores de imagen (sustituyen a las fotos que aún no existen).
   Para poner una foto real: reemplaza el <div class="placeholder"> por
   <img src="assets/img/tu-foto.jpg" alt="..."> en el HTML. */
.placeholder {
  background: var(--gb-slot);
  border-radius: var(--gb-r);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #9a938a;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
}
.placeholder--rect { border-radius: 0; }
/* Al sustituir un marcador por una foto real, mantén class="placeholder" en la
   etiqueta <img>: hereda el tamaño del hueco y la imagen se recorta para encajar
   sin deformarse (object-fit: cover). */
img.placeholder { padding: 0; object-fit: cover; }
/* Añade la clase "is-contain" cuando quieras ver la foto ENTERA (sin recortar):
   la imagen se muestra completa sobre un fondo blanco limpio. */
.placeholder.is-contain,
.carousel__slide.is-contain { object-fit: contain; background: #fff; }

/* --------------------------------------------------------------------------
   6. Portada (hero)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gb-dark);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 1; }
.hero__media .placeholder { width: 100%; height: 100%; }

/* Pase de fotos con fundido automático (reutilizable: hero, tarjetas, etc.).
   Rellena el contenedor en el que se coloca; el autoplay lo controla main.js. */
.slideshow { position: relative; width: 100%; height: 100%; overflow: hidden; }
.slideshow__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.slideshow__img.is-active { opacity: 1; }
.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(20, 18, 16, .68);
  z-index: 2;
}
.hero__inner {
  position: relative;
  z-index: 3;
  padding: 100px var(--gb-pad);
  color: #fff;
  max-width: 900px;
}
.hero__kicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gb-accent);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(44px, 6.6vw, 82px);
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.hero__sub {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(15px, 1.8vw, 20px);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  margin: 22px 0 8px;
}
.hero__note {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Flecha animada al pie de la portada */
.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  animation: gb-bob 2s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}
@keyframes gb-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* Hero compacto (páginas interiores) */
.hero--compact { min-height: 0; padding: 82px var(--gb-pad) 74px; display: block; }
.hero--compact .hero__overlay { background: rgba(20, 18, 16, .78); }
.hero--compact .hero__inner {
  padding: 0;
  margin: 0 auto;
  max-width: var(--gb-maxw);
  text-align: center;
}
.hero--compact .hero__title { font-size: clamp(36px, 5vw, 60px); }
.hero__lead {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
  margin: 20px auto 0;
  max-width: 60ch;
}

/* --------------------------------------------------------------------------
   7. Barra de ventajas (bajo la portada)
   -------------------------------------------------------------------------- */
.feature-bar { background: var(--gb-dark); }
.feature-bar__grid {
  max-width: var(--gb-maxw);
  margin: 0 auto;
  padding: 0 var(--gb-pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.feature {
  padding: 34px 24px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-right: 1px solid rgba(255, 255, 255, .09);
}
.feature:last-child { border-right: none; }
.feature__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #fff;
}
.feature__desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  margin-top: 3px;
}
.feature svg { flex: none; }

/* --------------------------------------------------------------------------
   8. Bloque "Quiénes somos" (texto + imagen)
   -------------------------------------------------------------------------- */
.split {
  max-width: var(--gb-maxw);
  margin: 0 auto;
  padding: 100px var(--gb-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split p {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.8;
  color: #5a5a5a;
  margin: 24px 0 0;
}
.split .placeholder { width: 100%; height: 500px; border-radius: 6px; }

/* --------------------------------------------------------------------------
   9. "Por qué nosotros" (rejilla de 3 columnas)
   -------------------------------------------------------------------------- */
.why { background: var(--gb-panel); border-top: 1px solid #e6e5e2; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 34px;
}
.why-card { text-align: center; padding: 0 12px; }
.why-card svg { margin: 0 auto; }
.why-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--gb-heading);
  margin: 20px 0 10px;
}
.why-card p {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--gb-muted);
}

/* --------------------------------------------------------------------------
   10. Instalaciones (galería de 4)
   -------------------------------------------------------------------------- */
.facility-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facility .placeholder { width: 100%; height: 260px; border-radius: 6px; }
.facility .slideshow { height: 260px; border-radius: 6px; }
.facility__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gb-heading);
  text-align: center;
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   11. Cifras destacadas
   -------------------------------------------------------------------------- */
.stats { background: var(--gb-dark); }
.stats__grid {
  max-width: var(--gb-maxw);
  margin: 0 auto;
  padding: 74px var(--gb-pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(38px, 4.4vw, 56px);
  color: var(--gb-accent);
  line-height: 1;
}
.stat__num span { font-size: .42em; color: #fff; }
.stat__label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .7);
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   12. Franja de llamada a la acción (CTA)
   -------------------------------------------------------------------------- */
.cta-band { background: var(--gb-accent); }
.cta-band__inner {
  max-width: var(--gb-maxw);
  margin: 0 auto;
  padding: 70px var(--gb-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
}
.cta-band p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .9);
  margin: 12px 0 0;
  max-width: 52ch;
}
.cta-band__actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cta-band__phone {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, .92);
  text-decoration: none;
  padding-left: 2px;
}

/* CTA centrada en caja (Material) */
.cta-box {
  background: var(--gb-accent);
  border-radius: var(--gb-r);
  padding: 56px;
  text-align: center;
}
.cta-box h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  margin: 0 auto;
  max-width: 26ch;
}
.cta-box p {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255, 255, 255, .92);
  margin: 14px auto 28px;
  max-width: 56ch;
}
.cta-box__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   13. Mapa (ubicación)
   -------------------------------------------------------------------------- */
.map { position: relative; }
.map iframe { width: 100%; height: 460px; border: 0; display: block; }
.map--rounded iframe { height: 340px; border-radius: var(--gb-r); }
.map__btn {
  position: absolute;
  right: 22px; bottom: 22px;
  background: #fff;
  color: var(--gb-heading);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: var(--gb-r);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  transition: background .18s ease, color .18s ease;
}
.map__btn:hover { background: var(--gb-accent); color: #fff; }

/* --------------------------------------------------------------------------
   14. Pie de página
   -------------------------------------------------------------------------- */
.site-footer { background: var(--gb-darker); color: #b8b4ae; }
.site-footer__top {
  max-width: var(--gb-maxw);
  margin: 0 auto;
  padding: 70px var(--gb-pad) 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .04em;
  color: #fff;
}
.footer-brand__tag {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: .3em;
  color: #7a766f;
  margin-top: 6px;
}
.footer-brand p {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: #94908a;
  margin: 20px 0 0;
  max-width: 34ch;
}
.footer-brand__social {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: #94908a;
  margin-top: 16px;
}
.footer-col__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gb-accent);
  margin-bottom: 16px;
}
.footer-col__body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: #b8b4ae;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; align-items: flex-start; }
.footer-links a {
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  color: #b8b4ae;
  transition: color .18s ease;
}
.footer-links a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer__bottom .container {
  padding: 20px var(--gb-pad);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal, .footer-copyright {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: #7a766f;
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: #b8b4ae; }

/* --------------------------------------------------------------------------
   15. Botón flotante de WhatsApp
   -------------------------------------------------------------------------- */
.whatsapp-fab {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 80;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .18s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* --------------------------------------------------------------------------
   16. Página Reserva
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step__num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gb-accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.step h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--gb-heading);
  margin: 0 0 8px;
}
.step p {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--gb-muted);
}

/* Reserva online integrada (widget de BoxBosses) */
.booking {
  background: #fff;
  border: 1px solid #e8e7e4;
  border-radius: var(--gb-r);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .06);
}
.booking__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 24px;
  background: var(--gb-dark);
}
.booking__brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}
.booking__hint {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .55);
}
.booking__frame {
  display: block;
  width: 100%;
  height: clamp(600px, 78vh, 860px);
  border: 0;
  background: var(--gb-panel);
}

.note {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.5;
  color: #9a9a9a;
  margin: 16px 0 0;
}
.note--center { text-align: center; max-width: 72ch; margin: 18px auto 0; }
.note strong { color: var(--gb-heading); }

/* --------------------------------------------------------------------------
   17. Formularios
   -------------------------------------------------------------------------- */
.form-panel {
  background: var(--gb-panel);
  border: 1px solid #e6e5e2;
  border-radius: var(--gb-r);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.form-panel h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--gb-heading);
}
.form-panel > div > p {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: #5a5a5a;
  margin: 18px 0 0;
}
.form { display: flex; flex-direction: column; gap: 13px; }
.form input, .form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 15px 18px;
  border: 1px solid #dcdad6;
  border-radius: var(--gb-r);
  background: #fff;
  color: var(--gb-heading);
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gb-accent); }
.form__hint { font-family: var(--font-body); font-size: 12px; color: #9a9a9a; margin: 2px 0 0; }
.form__note { margin-top: 4px; }

/* Mensaje de confirmación / error tras enviar el formulario */
.form-status {
  margin: 4px 0 0;
  padding: 13px 16px;
  border-radius: var(--gb-r);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
}
.form-status[hidden] { display: none; }
.form-status.is-ok { background: #e7f4ec; color: #1c6b3f; border: 1px solid #bfe3cc; }
.form-status.is-error { background: #fbe9e7; color: #a3271b; border: 1px solid #f2c3bd; }

/* --------------------------------------------------------------------------
   18. Tarjetas de producto (Material)
   -------------------------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  background: #fff;
  border: 1px solid #e8e7e4;
  border-radius: var(--gb-r);
  overflow: hidden;
}
.product-card .placeholder { width: 100%; height: 230px; }
.product-card__body { padding: 22px 26px; }
.product-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--gb-heading);
  margin: 0 0 6px;
}
.product-card p {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gb-muted);
}

/* Carrusel de fotos dentro de una tarjeta de producto */
.carousel { position: relative; }
.carousel__viewport {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: var(--gb-slot);
}
.carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease;
}
.carousel__slide.is-active { opacity: 1; visibility: visible; }

.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .9);
  color: var(--gb-heading);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .16);
  transition: background .18s ease, color .18s ease;
  z-index: 2;
}
.carousel__nav:hover { background: var(--gb-accent); color: #fff; }
.carousel__nav--prev { left: 12px; }
.carousel__nav--next { right: 12px; }

.carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  gap: 7px;
  justify-content: center;
  z-index: 2;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  transition: background .18s ease, transform .18s ease;
}
.carousel__dot.is-active { background: var(--gb-accent); transform: scale(1.25); }

/* --------------------------------------------------------------------------
   19. Página Contacto
   -------------------------------------------------------------------------- */
.contact-strip { background: var(--gb-dark); padding: 60px var(--gb-pad); }
.contact-strip__inner {
  max-width: var(--gb-maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.contact-strip h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  text-transform: uppercase;
  color: #fff;
}
.contact-strip p { font-family: var(--font-body); font-size: 15px; color: rgba(255, 255, 255, .7); margin: 14px 0 0; }
.phone-card {
  text-align: center;
  text-decoration: none;
  background: var(--gb-accent);
  border-radius: var(--gb-r);
  padding: 22px 42px;
}
.phone-card__label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.phone-card__num { font-family: var(--font-head); font-weight: 800; font-size: 32px; color: #fff; margin-top: 4px; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.contact-info h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.04;
  text-transform: uppercase;
  color: var(--gb-heading);
}
.contact-info > p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: #5a5a5a;
  margin: 18px 0 32px;
  max-width: 46ch;
}
.contact-item {
  padding: 18px 0;
  border-top: 1px solid var(--gb-line);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-item:last-child { border-bottom: 1px solid var(--gb-line); }
.contact-item svg { margin-top: 2px; flex: none; }
.contact-item__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gb-soft);
  margin-bottom: 4px;
}
.contact-item__value, .contact-item a {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--gb-text);
  text-decoration: none;
  line-height: 1.5;
}
.contact-form-panel {
  background: var(--gb-panel);
  border: 1px solid #e6e5e2;
  border-radius: var(--gb-r);
  padding: 40px;
}

/* --------------------------------------------------------------------------
   20. Animación de aparición al hacer scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue { animation: none; }
}

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */

/* Tablet grande */
@media (max-width: 1040px) {
  .feature-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: none; }
  .feature { border-bottom: 1px solid rgba(255, 255, 255, .09); }
  .facility-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}

/* Tablet / móvil: navegación colapsable */
@media (max-width: 900px) {
  :root { --gb-pad: 24px; }

  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 80px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--gb-line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    padding: 8px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav.is-open { max-height: 340px; }
  .nav-link {
    padding: 14px var(--gb-pad);
    border-bottom: 1px solid #f4f3f1;
  }
  .nav-link.is-active::after { display: none; }
  .nav-link.is-active { color: var(--gb-accent); }
  .header-cta { display: none; }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .split .placeholder { height: 360px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-panel { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Móvil */
@media (max-width: 620px) {
  .section { padding: 64px var(--gb-pad); }
  .section--tight { padding: 56px var(--gb-pad) 32px; }
  .split, .stats__grid, .feature-bar__grid { padding-left: var(--gb-pad); padding-right: var(--gb-pad); }
  .split { padding-top: 64px; padding-bottom: 64px; }

  .feature-bar__grid { grid-template-columns: 1fr; }
  .feature { border-right: none; }
  .facility-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1fr; gap: 32px; }

  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .contact-strip__inner { flex-direction: column; align-items: flex-start; }
  .phone-card { align-self: stretch; }
  .form-panel, .cta-box, .contact-form-panel { padding: 28px; }
  .card { padding: 22px; }

  .whatsapp-fab { right: 16px; bottom: 16px; }
  .hero__inner { padding: 80px var(--gb-pad); }
  .booking__hint { display: none; }
}
