/* VANHALLA VANS · estilos compartidos por todas las páginas
   - Pie de página unificado
   - Botón flotante de WhatsApp
   - Avisos de los formularios
   Los colores y tipografías son los de la marca (verde #2D3D2A, arena #D4B86A, Anton / Oswald / Crimson Pro). */

/* ───────── PIE DE PÁGINA ───────── */
footer.site-footer {
  display: block;
  background: #0d0f0c;
  border-top: 1px solid rgba(212,184,106,0.14);
  padding: 3.5rem 2.5rem 1.6rem;
  margin: 0;
  text-align: left;
  color: #faf7f2;
  font-family: 'Crimson Pro', Georgia, serif;
}
.site-footer .sf-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: start;
}
.site-footer .sf-logo {
  display: block;
  height: 34px;
  width: auto;
  margin-bottom: 0.9rem;
  opacity: 0.92;
}
.site-footer .sf-tagline {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(250,247,242,0.55);
  margin: 0 0 0.4rem;
}
.site-footer .sf-place {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212,184,106,0.55);
  margin: 0;
}
.site-footer .sf-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D4B86A;
  margin: 0 0 0.9rem;
}
.site-footer ul.sf-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.5rem;
}
.site-footer .sf-contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.site-footer .sf-links a,
.site-footer .sf-contact a {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8d49a;
  text-decoration: none;
  transition: color 0.25s;
}
.site-footer .sf-links a:hover,
.site-footer .sf-contact a:hover,
.site-footer .sf-links a:focus-visible,
.site-footer .sf-contact a:focus-visible { color: #D4B86A; }
.site-footer .sf-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(212,184,106,0.1);
  display: flex;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  flex-wrap: wrap;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.32);
  padding-right: 4.5rem; /* deja libre el botón flotante de WhatsApp */
}
@media (max-width: 820px) {
  footer.site-footer { padding: 2.5rem 1.5rem 1.4rem; }
  .site-footer .sf-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ───────── WHATSAPP FLOTANTE ───────── */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
  animation: waPulseShared 2.5s ease infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
@keyframes waPulseShared {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
}

/* ───────── AVISOS DE FORMULARIO ───────── */
.envio-status {
  margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.02rem;
  line-height: 1.5;
  border-left: 3px solid #D4B86A;
  background: rgba(212,184,106,0.09);
  color: #e8d49a;
}
.envio-status.ok { border-color: #25D366; background: rgba(37,211,102,0.09); color: #cfeedd; }
.envio-status.error { border-color: #d9694f; background: rgba(217,105,79,0.11); color: #f2c2b6; }
.envio-status a { color: #D4B86A; text-decoration: underline; }

/* ───────── TEXTO SOLO PARA BUSCADORES Y LECTORES DE PANTALLA ───────── */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ───────── MENÚ: mismo comportamiento en todas las páginas ───────── */
/* Ningún enlace del menú se parte en dos líneas */
.nav-links a { white-space: nowrap; }
/* En pantallas medianas se reduce el espacio entre enlaces para que quepan en una línea */
@media (min-width: 769px) and (max-width: 1100px) {
  .nav-links { gap: 1.5rem !important; }
}
/* Por debajo de 768 px, todas las páginas pasan al menú móvil (botón de tres rayas) */
@media (max-width: 768px) {
  .nav-bottom-bar { display: none !important; }
  .nav-top-bar .hamburger { display: flex !important; }
  .nav-tagline { display: none; }
}

/* ───────── ENCABEZADO ÚNICO ─────────
   Copia exacta del encabezado de la página de inicio.
   Va con "html body" delante para que mande sobre los estilos propios de cada página
   y el menú se vea igual (tamaño, tipografía, colores) en toda la web. */
html body nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0; margin: 0;
  display: flex; flex-direction: column; line-height: normal; height: auto; border: 0; box-shadow: none; }
html body nav ul, html body nav li { margin: 0; padding: 0; list-style: none; }
html body nav .nav-top-bar { background: #2D3D2A; padding: 0.55rem 2.5rem; margin: 0; display: flex;
  justify-content: space-between; align-items: center; border-bottom: 2px solid #D4B86A; min-height: 0; height: auto; }
html body nav .nav-logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; margin: 0; padding: 0; }
html body nav .nav-top-bar .nav-logo img { height: 32px; width: auto; max-height: none; display: block; filter: brightness(1.1); }
html body nav .nav-tagline { font-family: 'Crimson Pro', serif; font-style: italic; font-weight: 400; font-size: 0.78rem;
  color: rgba(212,184,106,0.5); letter-spacing: 0.05em; text-transform: none; }
html body nav .nav-bottom-bar { background: rgba(13,15,12,0.97); padding: 0.6rem 2.5rem; margin: 0; display: flex;
  justify-content: flex-end; align-items: center; gap: 0; border-bottom: 1px solid rgba(212,184,106,0.08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); min-height: 0; height: auto; }
html body nav .nav-links { display: flex; gap: 2.5rem; align-items: center; }
html body nav .nav-links > li > a { font-family: 'Oswald', sans-serif; font-weight: 300; font-size: 0.85rem; font-style: normal;
  letter-spacing: 0.2em; text-transform: uppercase; color: #e8d49a; text-decoration: none; line-height: normal;
  padding: 0; margin: 0; border: 0; background: none; white-space: nowrap; transition: color 0.3s; }
html body nav .nav-links > li > a:hover, html body nav .nav-links > li > a.active { color: #D4B86A; }
html body nav .nav-links li.has-dropdown { position: relative; }
html body nav .nav-dropdown { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 0.6rem; z-index: 200; }
html body nav .nav-links li.has-dropdown:hover .nav-dropdown { display: block; }
html body nav .nav-dropdown-inner { background: rgba(13,15,12,0.98); border: 1px solid rgba(212,184,106,0.15); min-width: 250px; padding: 0.5rem 0; }
html body nav .nav-dropdown li a { display: block; padding: 0.65rem 1.4rem; font-family: 'Oswald', sans-serif; font-size: 0.78rem;
  font-weight: 300; letter-spacing: 0.08em; text-transform: none; color: #e8d49a; text-decoration: none; white-space: nowrap;
  transition: background 0.2s, color 0.2s; }
html body nav .nav-dropdown li a:hover { background: rgba(212,184,106,0.08); color: #D4B86A; }
html body nav .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
html body nav .hamburger span { width: 22px; height: 2px; background: #D4B86A; display: block; margin: 0; transition: all 0.3s; }
@media (min-width: 769px) and (max-width: 1100px) {
  html body nav .nav-links { gap: 1.5rem; }
}
@media (max-width: 768px) {
  html body nav .nav-top-bar { padding: 0.6rem 1.2rem; }
  html body nav .nav-bottom-bar, html body nav .nav-tagline { display: none !important; }
  html body nav .nav-top-bar .hamburger { display: flex !important; }
}
/* Menú móvil a pantalla completa, igual que en el inicio */
html body .mobile-menu { display: none; position: fixed; inset: 0; background: rgba(13,15,12,0.98); z-index: 99;
  flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; }
html body .mobile-menu.open { display: flex; }
html body .mobile-menu a { font-family: 'Anton', sans-serif; font-weight: 400; font-size: 2rem; letter-spacing: 0.1em;
  color: #e8d49a; text-decoration: none; text-transform: none; transition: color 0.3s; }
html body .mobile-menu a:hover { color: #D4B86A; }
html body .mobile-close { position: absolute; top: 1.2rem; right: 1.5rem; background: rgba(212,184,106,0.1);
  border: 1px solid rgba(212,184,106,0.3); color: #D4B86A; font-size: 1.4rem; cursor: pointer; line-height: 1;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
html body .mobile-close:hover { background: rgba(212,184,106,0.2); }
