body {
  font-family: "Monserrat", system-ui, sans-serif;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: #ffffff;
}

h1,
h2,
h3 {
  text-rendering: geometricPrecision;
}


.bg-navy{ background-color:#00537A !important; }
.bg-gold{ background-color:#FAB95B !important; }
.bg-sand{ background-color:#E8E2DB !important; }
.bg-pearl{ background-color:#F7F7F8 !important; }
.bg-mist{ background-color:#EEF0F3 !important; }
.bg-ink{ background-color:#0B0B0B !important; }

.text-ink{ color:#0B0B0B !important; }
.text-navy{ color:#00537A !important; }
.text-gold{ color:#FAB95B !important; }

/* opcional: que los bordes grises se vean como tailwind */
.border-gray-200{ border-color: rgba(0,0,0,.12) !important; }
.border-gray-300{ border-color: rgba(0,0,0,.18) !important; }

/* FIX nav: caja estable con la nueva fuente */
#siteHeader .nav-link{
  display:inline-flex;
  align-items:center;
  line-height:1;
}
.title-sec {
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.nav-link {
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-ui {
  letter-spacing: 0.01em;
}

.soft-strong {
  font-weight: 700;
  color: #0b0b0b;
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(250, 185, 91, 0.75);
}

/* ====== Carousel: scrollbar oculto ====== */
.pk-row::-webkit-scrollbar {
  height: 0px;
}

.pk-row {
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.pk-row.grabbing {
  cursor: grabbing;
}

.pk-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Dots */
.pk-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.pk-dot.active {
  width: 22px;
  background: rgba(0, 0, 0, 0.75);
}

@media (max-width: 640px) {
  .pk-btn {
    display: none;
  }
}

/* ====== Ticker ====== */
.ticker {
  max-width: 100%;
  overflow: hidden;
}

.ticker-track {
  width: max-content;
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  gap: 14px;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: tickerMove 18s linear infinite;
  width: max-content;
  padding-right: 24px;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes tickerMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* Por defecto (claro) */
.logo-dark {
  display: none;
}

.logo-light {
  display: block;
}


img,
video,
iframe {
  filter: none !important;
}

.no-overflow,
.no-overflow * {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ===== Separación visual entre secciones (dark & light) ===== */

/* LIGHT: alterna fondos */
#confianza {
  background: #ffffff;
}

#paquetes {
  background: #F7F7F8;
}

/* tu pearl */

/* Un “divisor” suave entre secciones (sirve en ambos modos) */
.section-sep {
  position: relative;
}

.section-sep::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .10), transparent);
}

.section-sep::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .10), transparent);
}

/* Tokens */
:root {
  --btn-h: 48px;
  /* altura estándar (touch-friendly) */
  --btn-r: 16px;
  /* radio estándar (rounded-2xl vibe) */
  --btn-px: 22px;
  /* padding horizontal */
  --btn-gap: 10px;
  --btn-font: 700;
  /* peso por defecto (se ve “premium”) */
  --btn-border: rgba(0, 0, 0, .12);
  --btn-shadow: 0 10px 24px rgba(0, 0, 0, .08);
  --btn-shadow-soft: 0 6px 18px rgba(0, 0, 0, .10);
  --btn-focus: 0 0 0 4px rgba(250, 185, 91, .28);
  /* gold glow */
}

/* Base: aplica a <a class="btn-ui"> y <button class="btn-ui"> */
.btn-ui {
  /* layout */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--btn-gap);

  /* size */
  min-height: var(--btn-h);
  padding: 0 var(--btn-px);
  border-radius: var(--btn-r);

  /* typography */
  letter-spacing: 0.01em;
  font-weight: var(--btn-font);
  line-height: 1;

  /* visuals */
  border: 1px solid transparent;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;

  /* motion */
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease,
    background-color .15s ease, border-color .15s ease, color .15s ease;
}

/* Hover/active: sutil, moderno */
.btn-ui:hover {
  transform: translateY(-1px);
}

.btn-ui:active {
  transform: translateY(0px);
}

/* Accesibilidad: focus visible */
.btn-ui:focus,
.btn-ui:focus-visible {
  outline: none;
  box-shadow: var(--btn-focus);
}

/* Botones “contenidos” (primary/solid) -> detecta por clases bg- */
.btn-ui[class*="bg-"]:not([class*="bg-white/"]):not([class*="bg-white "]):not([class*="bg-white\t"]) {
  box-shadow: var(--btn-shadow-soft);
}

/* Botones tipo "card/ghost" (bg-white/10, bg-white/95, etc.) */
.btn-ui[class*="bg-white/"],
.btn-ui.bg-white {
  border-color: var(--btn-border);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
}

/* Si es outline (tienes border-...), que se vea consistente */
.btn-ui[class*="border-"] {
  border-width: 1px;
}

/* Mantén los botones full width bonitos */
.btn-ui.w-full {
  width: 100%;
}

/* Tamaños: si usas text-sm/text-base, ajusta altura en móvil */
.btn-ui.text-sm {
  min-height: 44px;
}

.btn-ui.text-base {
  min-height: 48px;
}

.btn-ui.text-lg {
  min-height: 52px;
}

/* Evitar que los iconos o imágenes estiren el botón */
.btn-ui img,
.btn-ui svg {
  flex: 0 0 auto;
}

/* ===========================
   EXCEPCIONES (NO romper)
=========================== */

/* Botón flotante redondo: NO lo forces a 48px ni a radio fijo */
.btn-ui.rounded-full {
  min-height: unset;
  padding: unset;
  border-radius: 9999px;
}

/* pk-btn (flechas carrusel) no deberían heredar estilos btn-ui */
.pk-btn {
  transition: box-shadow .2s ease, background-color .2s ease;
}

.pk-btn:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* FIX: botón flotante (no se aplasta) */
.whatsapp-link.btn-ui {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  white-space: nowrap;
}


/* Forzar ocultar CTA en móvil/tablet */
.hide-cta {
  display: none !important;
}

@media (min-width: 1024px) {

  /* lg */
  .hide-cta {
    display: inline-flex !important;
  }
}

/* ===== Carrusel Paquetes: mejoras ===== */
.pk-row {
  scroll-snap-type: x mandatory;
  scroll-padding-left: 16px;
  /* para que el primer card no quede cortado */
  scroll-behavior: smooth;
}

.pk-card {
  scroll-snap-align: start;
}

/* Flechas siempre centradas respecto al carrusel */
.pk-btn {
  top: 50% !important;
  transform: translateY(-50%);
}

/* “Zona” del carrusel con altura estable para centrar flechas */
.pk-wrap {
  position: relative;
}

.pk-dot {
  border: 0;
  cursor: pointer;
}

.pk-btn:disabled {
  pointer-events: none;
}

/* ===== Cards Paquetes (pro 2026) ===== */
.pk-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 24px;
  /* consistente */
  overflow: hidden;
  will-change: transform;
}

.pk-card .pk-media {
  position: relative;
  height: 220px;
  /* estable en todas */
  overflow: hidden;
}

.pk-card .pk-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .35s ease;
}

.pk-card:hover .pk-media img {
  transform: scale(1.04);
}

.pk-card .pk-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, .08),
      rgba(0, 0, 0, .00) 40%,
      rgba(0, 0, 0, .28));
  pointer-events: none;
}

/* Contenido alineado */
.pk-card .pk-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  flex: 1;
}

.pk-card .pk-title {
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.pk-card .pk-meta {
  font-size: 13px;
  color: rgba(0, 0, 0, .55);
}

.pk-card .pk-rowline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
}

/* “precio / incluye” */
.pk-card .pk-price {
  font-size: 14px;
  color: rgba(0, 0, 0, .72);
}

.pk-card .pk-price strong {
  color: rgba(0, 0, 0, .92);
}

.pk-card .pk-inc {
  font-size: 12px;
  color: rgba(0, 0, 0, .55);
  text-align: right;
}

/* Botón siempre abajo */
.pk-card .pk-cta {
  margin-top: auto;
}

/* Badge más pro */
.pk-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(0, 0, 0, .10);
  backdrop-filter: blur(10px);
}

/* Hover suave del card (sin “brinco” exagerado) */
.pk-card {
  transition: transform .25s ease, box-shadow .25s ease;
}

.pk-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .10);
}



/* ===== CONTACTO overlays (coherentes con Hero) ===== */
#contacto .contact-overlay-base {
  background: rgba(11, 11, 11, .45);
}

#contacto .contact-overlay-grad {
  background: linear-gradient(to bottom,
      rgba(11, 11, 11, .70) 0%,
      rgba(11, 11, 11, .40) 45%,
      rgba(11, 11, 11, .72) 100%);
}


/* ===== Header: ocultar al bajar, mostrar al subir ===== */
#siteHeader {
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
  will-change: transform;
}

/* oculto */
#siteHeader.is-hidden {
  transform: translateY(-110%);
}

/* ===== Header hide/show (scroll) ===== */
#siteHeader {
  transform: translateY(0);
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
  will-change: transform;
}

#siteHeader.is-hidden {
  transform: translateY(-110%);
}

#siteHeader.is-elevated {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .10);
}

/* Respeta usuarios con “reduced motion” */
@media (prefers-reduced-motion: reduce) {
  #siteHeader {
    transition: none;
  }
}

/* HERO: overlay integrado (sin “card”) */
.hero-scrim {
  position: absolute;
  inset: 0;
  /* Izquierda más oscura (para texto), derecha más limpia (para ver la foto/video) */
  background: linear-gradient(90deg,
      rgba(255, 255, 255, .78) 0%,
      rgba(255, 255, 255, .55) 35%,
      rgba(255, 255, 255, .22) 55%,
      rgba(255, 255, 255, .00) 75%);
}

/* En móvil conviene degradado vertical */
@media (max-width: 640px) {
  .hero-scrim {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, .78) 0%,
        rgba(255, 255, 255, .55) 45%,
        rgba(255, 255, 255, .30) 70%,
        rgba(255, 255, 255, .55) 100%);
  }
}

/* HERO: overlay integrado (sin “card”) */
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, .78) 0%,
      rgba(255, 255, 255, .55) 35%,
      rgba(255, 255, 255, .22) 55%,
      rgba(255, 255, 255, .00) 75%);
}

/* En móvil conviene degradado vertical */
@media (max-width: 640px) {
  .hero-scrim {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, .78) 0%,
        rgba(255, 255, 255, .55) 45%,
        rgba(255, 255, 255, .30) 70%,
        rgba(255, 255, 255, .55) 100%);
  }
}

.hero-copy {
  position: relative;
}

.hero-mark {
  position: absolute;
  left: -10px;
  top: -18px;
  width: 210px;
  height: 210px;
  background: url("../img/fondoLogo.png") center / contain no-repeat;
  opacity: .10;
  filter: grayscale(1);
  pointer-events: none;
}

@media (max-width: 640px) {
  .hero-mark {
    width: 160px;
    height: 160px;
    opacity: .08;
    top: -8px;
  }
}

.qa-item {
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.qa-diamond {
  width: 44px;
  height: 44px;
  background: #00537A;
  border-radius: 14px;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .10);
  flex: 0 0 auto;
}

.qa-ico {
  width: 22px;
  height: 22px;
  color: #FFFFFF;
  transform: rotate(-45deg);
}

/* Hover / focus */
.qa-item:hover,
.qa-item:focus-within {
  background: rgba(0, 83, 122, .06);
  border-color: rgba(0, 83, 122, .20);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}

.qa-item:hover .qa-title,
.qa-item:focus-within .qa-title {
  color: #00537A;
}

.qa-item:hover .qa-diamond,
.qa-item:focus-within .qa-diamond {
  box-shadow: 0 16px 34px rgba(0, 0, 0, .14);
}

/* ===========================
   FORZAR LIGHT SIEMPRE
   (pegar AL FINAL)
=========================== */

/* Evita que el sitio cambie por prefers-color-scheme */
@media (prefers-color-scheme: dark) {
  html, body { background: #ffffff !important; color: #0B0B0B !important; }

  /* textos */
  .text-ink { color: #0B0B0B !important; }
  .text-gray-700 { color: rgba(17,24,39,.9) !important; }
  .text-gray-600 { color: rgba(75,85,99,.95) !important; }
  .text-gray-500 { color: rgba(107,114,128,.95) !important; }

  /* fondos */
  .bg-white, .bg-gray-50, .bg-pearl { background-color: #ffffff !important; }
  .bg-white\/90, .bg-white\/85, .bg-white\/95 { background-color: rgba(255,255,255,.90) !important; }

  /* bordes */
  .border-gray-200 { border-color: rgba(0,0,0,.12) !important; }
  .border-gray-300 { border-color: rgba(0,0,0,.18) !important; }

  /* logos: siempre light */
  .logo-light { display: block !important; }
  .logo-dark { display: none !important; }

  /* overlays que se vuelven oscuros en dark */
  .hero-scrim {
    background: linear-gradient(90deg,
      rgba(255, 255, 255, .78) 0%,
      rgba(255, 255, 255, .55) 35%,
      rgba(255, 255, 255, .22) 55%,
      rgba(255, 255, 255, .00) 75%) !important;
  }
}

/* ===========================
   UI Polish: CTA + Text
   (Añadido para unificar botones y subir legibilidad)
=========================== */

/* FIX typo: Montserrat */
/* Montserrat para todo… */
body { font-family: "Montserrat", system-ui, sans-serif; }

/* …pero NO para el nav del header */
#siteHeader nav,
#siteHeader nav *{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

:root{
  --cta-primary: #00537A; /* navy */
  --cta-primary-hover: #0B0B0B; /* ink */
  --cta-secondary: #FAB95B; /* gold */
  --muted-strong: rgba(55,65,81,.88); /* gris premium */
  --muted-soft: rgba(75,85,99,.78);
}

/* Primario (acción principal: Cotizar / WhatsApp) */
.btn-primary{
  background: var(--cta-primary) !important;
  color: #fff !important;
}
.btn-primary:hover{ background: var(--cta-primary-hover) !important; }

/* Secundario (alternativa / navegación destacada) */
.btn-secondary{
  background: var(--cta-secondary) !important;
  color: #0B0B0B !important;
}
.btn-secondary:hover{ opacity: .92 !important; }

/* Ghost / outline (acciones secundarias: Llamar / Ver más) */
.btn-ghost{
  background: rgba(255,255,255,.95) !important;
  color: #0B0B0B !important;
  border-color: rgba(0,0,0,.18) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.06) !important;
}
.btn-ghost:hover{
  background: #ffffff !important;
  border-color: rgba(0,0,0,.26) !important;
}

/* Texto secundario más legible */
.p-muted{
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-strong) !important;
}
@media (min-width: 640px){
  .p-muted{ font-size: 16px; }
}
.p-small{
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted-soft) !important;
}


.hero-dim{
  position:absolute;
  inset:0;
  background: rgba(90, 89, 89, 0.205); /* aprox bg-black/30 */
}

/* En móvil un poquito más fuerte */
@media (max-width: 640px){
  .hero-dim{ background: rgba(0,0,0,.38); } /* aprox bg-black/40 */
}

/* HERO video: baja contraste y saturación para que el texto mande */
.hero-video{
  width:100%;
  height:100%;
  object-fit:cover;
  filter: saturate(.85) contrast(.9) brightness(.92);
}

@media (min-width: 1024px){
  .hero-video{ filter: saturate(.85) contrast(.9) brightness(.92) blur(0.6px); }
}

/* Mobile fallback: imagen fija (poster) para rendimiento */
@media (max-width: 640px){
  #inicio .hero-bg{
    background: url("../img/hero-poster.jpg") center/cover no-repeat;
  }
  #inicio .hero-video{
    display:none;
  }
}