/* ========== RESET & VARIABLES ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:      #5366ad;
  --brand-dark: #3d4f96;
  --dark-bg:    #1a1a2e;
  --footer-bg:  #111122;
  --text-light: #e8e8e8;
  --accent:     #c8002c;
  --font-head:  'Exo', sans-serif;
  --font-body:  'Playfair Display', serif;
  --max-w:      1200px;
  --header-h:   80px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-head); color: #222; background: #fff; overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* ========== HEADER ========== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(26,26,46,0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(83,102,173,0.3);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}

.logo img { height: 55px; width: auto; object-fit: contain; }

nav ul { display: flex; gap: 4px; }

nav ul li a {
  color: var(--text-light);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 3px;
  transition: color 0.2s;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 0.2s;
}

nav ul li a:hover { color: #fff; }
nav ul li a:hover::after { transform: scaleX(1); }
nav ul li.active a { color: var(--brand); }
nav ul li.active a::after { transform: scaleX(1); }

/* ========== HAMBURGER ========== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-light); transition: 0.3s; }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: rgba(26,26,46,0.98);
  padding: 16px 0;
  z-index: 998;
  flex-direction: column;
  border-top: 1px solid rgba(83,102,173,0.3);
}
.mobile-nav.open { display: flex; }
.mobile-nav li a {
  display: block;
  padding: 12px 30px;
  color: var(--text-light);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-nav li a:hover { color: var(--brand); padding-left: 40px; }
.mobile-nav li.active a { color: var(--brand); }

/* ========== HERO con caption ========== */
.hero {
  position: relative;
  width: 100%;
  margin-top: var(--header-h);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  aspect-ratio: 21/10;
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: heroZoom 8s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(26,26,46,0.15) 0%,
    rgba(26,26,46,0.5) 60%,
    rgba(26,26,46,0.72) 100%);
}

.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-caption h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(20px, 4vw, 52px);
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
  border: 3px solid rgba(255,255,255,0.65);
  padding: 16px 40px;
  text-align: center;
}

/* ========== CONTACT BAND (dark, 2 cols) ========== */
.contact-band {
  background: var(--dark-bg);
  width: 100%;
}

.contact-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.contact-info {
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.contact-item h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item h3 .icon {
  width: 32px;
  height: 32px;
  background: #c4c4c4;
  border: 1px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.contact-item p,
.contact-item a {
  font-size: 15px;
  color: #ccc;
  line-height: 1.9;
  padding-left: 42px;
}

.contact-item .closed-day { color: var(--accent); font-weight: 700; }
.contact-item .note-small { font-size: 13px; font-style: italic; color: #888; }
.contact-item a:hover { color: var(--brand); }

.contact-map {
  position: relative;
  overflow: hidden;
  min-height: 380px;
}

.contact-map a {
  display: block;
  width: 100%;
  height: 100%;
}

.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.contact-map:hover img { transform: scale(1.04); }

.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.contact-map:hover .map-overlay { background: rgba(26,26,46,0.25); }

.map-cta {
  background: var(--brand);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 3px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

.contact-map:hover .map-cta { opacity: 1; transform: translateY(0); }

/* ========== CENTER LOGO ========== */
.center-logo {
  display: flex;
  justify-content: center;
  padding: 40px 20px 50px;
  background: black;
}

.center-logo img {
  max-width: 280px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ========== DIVIDER ========== */
.divider { height: 1px; background: #e8e8e8; }

/* ========== FOOTER INFO GRID ========== */
.footer-info {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 50px 0;
}

.footer-info .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-col h3 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.footer-col p,
.footer-col li,
.footer-col a {
  font-size: 13px;
  color: #aaa;
  line-height: 2;
}

.footer-col a:hover { color: var(--brand); }
.footer-col .closed { color: var(--accent); font-weight: 700; }
.footer-col .note   { font-size: 11px; color: #777; font-style: italic; margin-top: 6px; }

/* ========== SOCKET ========== */
.socket {
  background: var(--footer-bg);
  padding: 18px 30px;
  text-align: center;
  font-size: 12px;
  color: #555;
  letter-spacing: 1px;
  font-family: var(--font-head);
}

/* ========== WHATSAPP BUTTON (footer) ========== */
.footer-col-whatsapp {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.whatsapp-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: #b8860b;
  color: #fff !important;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 3px;
  border: 2px solid #b8860b;
  line-height: 1;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
.whatsapp-btn:hover { background: transparent; color: #b8860b !important; transform: translateY(-2px); }
.whatsapp-btn svg { flex-shrink: 0; width: 16px; height: 16px; }

@media (max-width: 900px) {
  .footer-col-whatsapp { justify-content: center; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  nav { display: none; }
  .hamburger { display: flex; }

  .hero-image { aspect-ratio: 4/3; }
  .hero-caption h2 { font-size: clamp(18px, 5vw, 32px); padding: 12px 22px; letter-spacing: 2px; }

  .contact-band-inner { grid-template-columns: 1fr; }
  .contact-info { padding: 40px 30px; gap: 24px; }
  .contact-map { min-height: 280px; }

  .footer-info .container { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 550px) {
  .footer-info .container {
    grid-template-columns: 1fr;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }
  .footer-col { width: 100%; }
  .footer-col-whatsapp { justify-content: center; }
  .hero-image { aspect-ratio: 3/2; }
  .contact-info { padding: 30px 20px; }
}

/* ========== COOKIESCRIPT - BOTÓN ACEPTAR TODO ========== */
#cookiescript_accept,
.cookiescript_accept {
  background: #b8860b !important;
  border-color: #b8860b !important;
  color: #fff !important;
}

#cookiescript_accept:hover,
.cookiescript_accept:hover {
  background: transparent !important;
  color: #b8860b !important;
}