/*
Theme Name: VIP Travel
Theme URI: https://viptravelchile.com
Author: Rodrigo Berroeta - Agencia iTango
Author URI:
Description: Tema a medida para VIP Travel (Agencia de Viajes). Paleta y tipografías según manual de marca 2026.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: viptravel
Tags: elementor, custom-menu, featured-images, translation-ready
*/

/* =============================================================================
 * VARIABLES DE MARCA  —  Manual de marca VIP Travel 2026
 * ============================================================================= */
:root {
  /* Paleta oficial */
  --vt-accent: #5694a9;
  /* celeste — color de acento de la marca */
  --vt-accent-dark: #427a8d;
  --vt-black: #1a1a1a;
  /* negro principal */
  --vt-gray: #808080;
  /* gris medio */
  --vt-taupe: #a59b8f;
  /* taupe / neutro cálido */
  --vt-gray-light: #b6b6b4;
  /* gris claro */

  /* Roles semánticos */
  --vt-primary: #1a1a1a;
  --vt-dark: #1a1a1a;
  --vt-light: #f5f6f7;
  --vt-white: #ffffff;
  --vt-text: #1a1a1a;
  --vt-muted: #808080;
  --vt-border: #e6e7e8;

  /* Tipografías (sistema complementario del manual) */
  --vt-font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --vt-font-heading: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --vt-font-display: 'Playfair Display', Georgia, serif;
  /* títulos destacados */
  --vt-font-logo: 'Anton', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --vt-container: 1200px;
  --vt-radius: 12px;
  --vt-header-h: 68px;
  /* Separación de la pastilla flotante respecto al borde de la pantalla. */
  --vt-header-gap: 12px;
  /* Espacio total que ocupa el header: lo usan el contenido y el hero. */
  --vt-header-space: calc(var(--vt-header-h) + (var(--vt-header-gap) * 2));
  --vt-shadow: 0 6px 24px rgba(26, 26, 26, .08);
  --vt-transition: .25s ease;
}

/* =============================================================================
 * RESET / BASE
 * ============================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--vt-font-body);
  color: var(--vt-text);
  background: var(--vt-white);
  line-height: 1.65;
  font-size: 16px;
  /* Evita el scroll horizontal que provoca el truco de ancho completo (100vw)
     de los heroes. 'clip' es preferible a 'hidden': no crea un contenedor de
     scroll, por lo que no rompe position:sticky. */
  overflow-x: hidden;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--vt-accent);
  text-decoration: none;
  transition: color var(--vt-transition);
}

a:hover {
  color: var(--vt-accent-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--vt-font-heading);
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--vt-black);
  font-weight: 700;
}

.vt-display {
  font-family: var(--vt-font-display);
}

/* clase utilitaria para títulos serif destacados */
ul,
ol {
  margin: 0;
  padding: 0;
}

.vt-container {
  width: 100%;
  max-width: var(--vt-container);
  margin-inline: auto;
  padding-inline: 20px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  background: var(--vt-black);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--vt-radius) 0;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* Botón base de marca */
.vt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--vt-accent);
  color: #fff !important;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid var(--vt-accent);
  cursor: pointer;
  transition: var(--vt-transition);
}

.vt-btn:hover {
  background: var(--vt-accent-dark);
  border-color: var(--vt-accent-dark);
}

.vt-btn--ghost {
  background: transparent;
  color: var(--vt-white) !important;
  border-color: rgba(255, 255, 255, .7);
}

.vt-btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
}

/* =============================================================================
 * HEADER
 * ============================================================================= */
/* Header en dos estados, con .is-scrolled como interruptor (lo pone main.js):
   1. Arriba del todo → pastilla flotante de vidrio esmerilado sobre el hero,
      con los textos en blanco.
   2. Al bajar → barra blanca sólida a todo el ancho, con los textos oscuros. */
.site-header {
  position: fixed;
  top: var(--vt-header-gap);
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--vt-container), calc(100% - (var(--vt-header-gap) * 2)));
  z-index: 100;
  /* Flotante: sin fondo, se funde con el video del hero. El vidrio y la barra
     blanca aparecen sólo al hacer scroll (.is-scrolled). */
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 16px;
  box-shadow: none;
  transition: top .3s ease, width .3s ease, border-radius .3s ease,
    box-shadow .3s ease, background .3s ease, border-color .3s ease;
}

/* Anclado arriba, a todo el ancho. Mantenemos left/transform para que no salte:
   con width 100% el centrado da exactamente el mismo resultado. */
.site-header.is-scrolled {
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, .95);
  border-radius: 0;
  border-color: transparent;
  border-bottom-color: var(--vt-border);
  box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
}

/* --- Estado flotante: todo en blanco para que se lea sobre la foto --- */
/* Sólo el primer nivel: los submenús son paneles blancos y siguen en oscuro. */
.site-header:not(.is-scrolled) .main-nav>ul>li>a {
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
}

.site-header:not(.is-scrolled) .main-nav>ul>li>a:hover,
.site-header:not(.is-scrolled) .main-nav>ul>li.current-menu-item>a,
.site-header:not(.is-scrolled) .main-nav>ul>li.current_page_item>a {
  color: #fff;
  background: rgba(255, 255, 255, .2);
}

.site-header:not(.is-scrolled) .nav-toggle {
  color: #fff;
}

/* El contenido arranca bajo el header. */
.has-fixed-header .site-content {
  padding-top: var(--vt-header-space);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--vt-header-h);
}

.site-branding__logo {
  display: inline-flex;
  align-items: center;
}

.site-branding__logo img {
  height: 50px;
  width: auto;
}

/* Logo blanco mientras el header flota sobre la foto; de color al anclarse. */
.site-branding__logo .logo--light {
  display: none;
}

.site-header:not(.is-scrolled) .site-branding__logo .logo--dark {
  display: none;
}

.site-header:not(.is-scrolled) .site-branding__logo .logo--light {
  display: block;
  filter: drop-shadow(0 1px 10px rgba(0, 0, 0, .4));
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Navegación principal */
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--vt-black);
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
}

.main-nav a:hover,
.main-nav .current-menu-item>a,
.main-nav .current_page_item>a {
  color: var(--vt-accent);
}

/* Submenús */
.main-nav .sub-menu {
  position: absolute;
  display: flex;
  min-width: 220px;
  background: var(--vt-white);
  box-shadow: var(--vt-shadow);
  border-radius: var(--vt-radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--vt-transition);
  flex-direction: column;
  /* Sin esto hereda el align-items:center de .main-nav ul y en columna centra
     los items, dejando huecos a los lados. Estirados ocupan todo el ancho. */
  align-items: stretch;
  gap: 2px;
  z-index: 10;
}

.main-nav li {
  position: relative;
}

.main-nav li:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .sub-menu a {
  font-size: 14px;
  color: var(--vt-black);
}

/* Botón CTA header: logo de Webpay en una pastilla blanca.
   El PNG no tiene transparencia (fondo blanco sólido), por eso la pastilla va
   en blanco: así el logo se integra sin recortes visibles. */
.vt-header-cta {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--vt-border);
  border-radius: 10px;
  padding: 7px 14px;
  transition: var(--vt-transition);
}

.vt-header-cta img {
  height: 30px;
  width: auto;
  display: block;
}

.vt-header-cta:hover {
  border-color: var(--vt-accent);
  box-shadow: 0 4px 14px rgba(86, 148, 169, .22);
  transform: translateY(-1px);
}

/* CTA de texto dentro del menú (clase 'vt-cta' en el ítem de menú) */
.main-nav .vt-cta>a {
  background: var(--vt-accent);
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
}

.main-nav .vt-cta>a:hover {
  background: var(--vt-accent-dark);
}

/* Toggle móvil */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--vt-black);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: var(--vt-transition);
}

.nav-toggle span+span {
  margin-top: 6px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =============================================================================
 * MENÚ MÓVIL (OFFCANVAS)
 * -----------------------------------------------------------------------------
 * Panel lateral que replica el menú principal. Vive fuera del <header> porque
 * éste usa transform para centrarse y eso rompe el position:fixed de sus hijos.
 * Cerrado queda con visibility:hidden, así tampoco entra en el orden de tabulación.
 * ============================================================================= */
.vt-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}

.vt-offcanvas.is-open {
  visibility: visible;
  pointer-events: auto;
}

.vt-offcanvas__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, .5);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .3s ease;
}

.vt-offcanvas.is-open .vt-offcanvas__backdrop {
  opacity: 1;
}

.vt-offcanvas__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  display: flex;
  flex-direction: column;
  background: var(--vt-white);
  box-shadow: -8px 0 32px rgba(26, 26, 26, .18);
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
  /* Respeta la barra inferior del navegador y el notch en iOS. */
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.vt-offcanvas.is-open .vt-offcanvas__panel {
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {

  .vt-offcanvas__panel,
  .vt-offcanvas__backdrop {
    transition: none;
  }
}

/* --- Cabecera del panel --- */
.vt-offcanvas__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--vt-border);
}

.vt-offcanvas__logo img {
  height: 42px;
  width: auto;
  display: block;
}

.vt-offcanvas__close {
  flex: none;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  border-radius: 10px;
  color: var(--vt-black);
  cursor: pointer;
  transition: var(--vt-transition);
}

.vt-offcanvas__close:hover {
  background: var(--vt-light);
  color: var(--vt-accent);
}

.vt-offcanvas__close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* --- Navegación --- */
.vt-offcanvas__nav {
  flex: 1 1 auto;
  padding: 12px 8px;
}

.vt-offcanvas__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vt-offcanvas__nav li {
  position: relative;
}

.vt-offcanvas__nav a {
  display: block;
  padding: 14px 16px;
  /* Espacio para el botón de desplegar de los ítems con submenú. */
  padding-right: 56px;
  color: var(--vt-black);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  border-radius: 10px;
}

.vt-offcanvas__nav a:hover,
.vt-offcanvas__nav .current-menu-item>a,
.vt-offcanvas__nav .current_page_item>a,
.vt-offcanvas__nav .current-menu-ancestor>a {
  color: var(--vt-accent);
  background: var(--vt-light);
}

/* Separador entre ítems de primer nivel. */
.vt-offcanvas__nav>ul>li+li {
  border-top: 1px solid var(--vt-border);
}

/* Botón de desplegar (lo inserta main.js en los ítems con submenú). */
.vt-offcanvas__sub-toggle {
  position: absolute;
  top: 4px;
  right: 6px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  border-radius: 10px;
  color: var(--vt-muted);
  cursor: pointer;
  transition: var(--vt-transition);
}

.vt-offcanvas__sub-toggle:hover {
  background: var(--vt-light);
  color: var(--vt-accent);
}

.vt-offcanvas__sub-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--vt-transition);
}

.vt-offcanvas__sub-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Submenú plegable: por defecto cerrado. */
.vt-offcanvas__nav .sub-menu {
  display: none;
  padding: 4px 0 10px 12px;
  margin-left: 12px;
  border-left: 2px solid var(--vt-border);
}

.vt-offcanvas__nav li.is-expanded>.sub-menu {
  display: block;
}

.vt-offcanvas__nav .sub-menu a {
  font-size: 15px;
  font-weight: 500;
  padding: 11px 14px;
  color: var(--vt-muted);
}

.vt-offcanvas__nav .sub-menu a:hover {
  color: var(--vt-accent);
}

/* --- Pie del panel (Webpay) --- */
.vt-offcanvas__foot {
  padding: 16px;
  border-top: 1px solid var(--vt-border);
}

.vt-header-cta--block {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Bloqueo del scroll de fondo mientras el panel está abierto. */
body.vt-menu-open {
  overflow: hidden;
}

/* El offcanvas es sólo para móvil/tablet: sobre el breakpoint no se muestra. */
@media (min-width: 783px) {
  .vt-offcanvas {
    display: none;
  }
}

/* =============================================================================
 * BARRA FLOTANTE INFERIOR (menú WP · ubicación "Barra flotante")
 * ============================================================================= */
.vt-floating-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 8px;
  border-radius: 14px;
  box-shadow: var(--vt-shadow);
  max-width: calc(100vw - 32px);
}

.vt-floating-bar .menu {
  display: flex;
  gap: 4px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.vt-floating-bar .menu::-webkit-scrollbar {
  display: none;
}

.vt-floating-bar a {
  display: block;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  background: transparent;
  color: var(--vt-muted);
  transition: var(--vt-transition);
}

.vt-floating-bar a:hover {
  color: var(--vt-accent);
  background: rgba(86, 148, 169, .08);
}

/* Página actual (WP marca el ítem automáticamente) */
.vt-floating-bar .current-menu-item>a,
.vt-floating-bar .current_page_item>a,
.vt-floating-bar .current-menu-ancestor>a {
  background: var(--vt-accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(86, 148, 169, .35);
}

/* =============================================================================
 * CONTENIDO
 * ============================================================================= */
.site-content {
  min-height: 40vh;
}

.vt-entry {
  padding-block: 56px;
}

.vt-entry .vt-container>* {
  max-width: 820px;
  margin-inline: auto;
}

.vt-entry img {
  border-radius: var(--vt-radius);
}

.vt-page-title {
  text-align: center;
  margin-bottom: 32px;
}

/* =============================================================================
 * 404
 * -----------------------------------------------------------------------------
 * Pantalla completa con foto de fondo. El margin-top negativo anula el espacio
 * que .site-content reserva para el header fijo, así la imagen llega hasta arriba
 * y el header flotante (blanco) queda encima. El overlay oscuro da contraste
 * para que tanto el header como el contenido se lean sobre la playa luminosa.
 * ============================================================================= */
.vt-404 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: calc(-1 * var(--vt-header-space));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.vt-404__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Tinte de marca (negro → azul) más un oscurecido central para el texto. */
  background:
    radial-gradient(ellipse at center, rgba(12, 16, 26, .55) 0%, rgba(12, 16, 26, .2) 70%),
    linear-gradient(135deg, rgba(12, 16, 26, .8), rgba(40, 78, 100, .62));
}

.vt-404__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 40px 24px;
  color: #fff;
}

.vt-404__code {
  display: block;
  font-family: var(--vt-font-display);
  font-weight: 900;
  font-size: clamp(3.2rem, 9vw, 6rem);
  line-height: .9;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .45);
  margin-bottom: 6px;
}

.vt-404__title {
  font-family: var(--vt-font-display);
  font-weight: 900;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  color: #fff;
  margin: 0 0 12px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .4);
}

.vt-404__text {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .9);
  margin: 0 0 28px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

.vt-404__actions {
  margin: 0;
}

/* =============================================================================
 * FOOTER
 * ============================================================================= */
.site-footer {
  background: var(--vt-black);
  color: rgba(255, 255, 255, .8);
  padding-block: 60px 0;
}

.site-footer a {
  color: rgba(255, 255, 255, .8);
}

.site-footer a:hover {
  color: var(--vt-accent);
}

.site-footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 18px;
  letter-spacing: .3px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 48px;
}

.site-footer__brand img {
  height: 56px;
  width: auto;
  margin-bottom: 18px;
}

.site-footer__brand p {
  max-width: 320px;
  font-size: 14px;
  color: rgba(255, 255, 255, .65);
}

.site-footer .menu,
.site-footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.site-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.site-footer__social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  transition: var(--vt-transition);
  font-size: 13px;
  text-transform: lowercase;
  font-weight: 600;
}

.site-footer__social a:hover {
  background: var(--vt-accent);
  border-color: var(--vt-accent);
  color: #fff;
}

/* Sellos / certificaciones */
.site-footer__seals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.seal-chip {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 7px 14px;
  border-radius: 999px;
}

/* Sello en imagen (SERNATUR): pastilla blanca para que la tinta oscura del
   logo se lea sobre el footer negro. */
.seal-chip--logo {
  background: #fff;
  border-color: #fff;
  padding: 6px;
  border-radius: 50%;
}

.seal-chip--logo img {
  width: 56px;
  height: 56px;
  display: block;
}

.site-footer__bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

/* Sólo si la barra flotante está activa hace falta despejar el fondo para que
   no tape el copyright. Así el espacio se ajusta solo. */
body:has(.vt-floating-bar) .site-footer__bottom {
  padding-bottom: 96px;
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.menu--inline {
  display: flex;
  flex-direction: row;
  gap: 18px;
  list-style: none;
}

.menu--inline a {
  color: rgba(255, 255, 255, .55);
}

.menu--inline a:hover {
  color: var(--vt-accent);
}

/* =============================================================================
 * RESPONSIVE
 * ============================================================================= */
@media (max-width: 992px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 782px) {
  .nav-toggle {
    display: block;
  }

  .site-header__actions .vt-header-cta {
    display: none;
  }

  /* En móvil el menú del header se reemplaza por el offcanvas. */
  .main-nav {
    display: none;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  /* Barra flotante: full-width y desplazable en móvil */
  .vt-floating-bar {
    left: 16px;
    right: 16px;
    transform: none;
    bottom: 16px;
    max-width: none;
    border-radius: 12px;
    padding: 6px;
  }

  .vt-floating-bar a {
    padding: 9px 14px;
    font-size: 12.5px;
  }
}

/* =============================================================================
 * WHATSAPP — botón flotante + contacto en el footer
 * ============================================================================= */

/* --- Botón flotante (esquina inferior derecha) --- */
.vt-wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* Panel con el horario: aparece al pasar el mouse (escritorio). */
.vt-wa-float__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  max-width: 0;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--vt-white, #fff);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(26, 26, 26, .18);
  opacity: 0;
  transform: translateX(12px);
  transition: max-width .3s ease, opacity .3s ease, transform .3s ease, padding .3s ease;
}

.vt-wa-float:hover .vt-wa-float__panel,
.vt-wa-float:focus-visible .vt-wa-float__panel {
  max-width: 260px;
  padding: 10px 16px;
  opacity: 1;
  transform: translateX(0);
}

.vt-wa-float__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--vt-black, #1a1a1a);
  line-height: 1.2;
}

.vt-wa-float__hours {
  font-size: 12px;
  color: var(--vt-muted, #808080);
  line-height: 1.2;
}

.vt-wa-float__btn {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
  transition: background .25s ease, transform .25s ease;
}

.vt-wa-float:hover .vt-wa-float__btn {
  background: #1da851;
  transform: scale(1.05);
}

.vt-wa-float__icon {
  width: 30px;
  height: 30px;
}

/* Anillo pulsante suave para llamar la atención. */
.vt-wa-float__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: .55;
  z-index: -1;
  animation: vt-wa-pulse 2.4s ease-out infinite;
}

.vt-wa-float__btn {
  position: relative;
  z-index: 0;
}

@keyframes vt-wa-pulse {
  0% {
    transform: scale(1);
    opacity: .55;
  }

  70% {
    transform: scale(1.6);
    opacity: 0;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vt-wa-float__btn::before {
    animation: none;
    display: none;
  }

  .vt-wa-float:hover .vt-wa-float__btn {
    transform: none;
  }
}

/* En móvil sólo el botón (sin panel; el horario va en el aria-label y el footer). */
@media (max-width: 600px) {
  .vt-wa-float {
    right: 16px;
    bottom: 16px;
  }

  .vt-wa-float__panel {
    display: none;
  }

  .vt-wa-float__btn {
    width: 52px;
    height: 52px;
  }

  .vt-wa-float__icon {
    width: 27px;
    height: 27px;
  }
}

/* --- Contacto WhatsApp en el footer --- */
.site-footer__wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.site-footer__wa-icon {
  width: 15px;
  height: 15px;
  color: #25d366;
  flex-shrink: 0;
}

.site-footer__wa-hours {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
}