:root {
  --gold: #c9922e;
  --gold-light: #e0ac4f;
  --black: #111111;
  --dark: #1a1a1a;
  --gray-100: #f5f5f5;
  --gray-300: #e2e2e2;
  --gray-600: #6b6b6b;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --transition: 0.25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--black);
  line-height: 1.5;
  background: var(--white);
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.5px; }

a { text-decoration: none; color: inherit; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 6px 20px rgba(201, 146, 46, 0.4);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo img { height: 48px; width: auto; }

.logo-fallback {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 1px;
}
.logo-fallback::before { content: "GOL "; color: var(--gold); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  padding: 140px 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.85) 0%, rgba(17, 17, 17, 0.55) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 20px;
}

.hero p {
  color: var(--gray-300);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* Destinos populares */
.populares { padding: 90px 0; }

.populares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.popular-card {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: none;
  font-family: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.popular-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.popular-card:hover img { transform: scale(1.08); }

.popular-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 55%);
}

.popular-card span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  z-index: 1;
}

/* Destinos */
.destinos { padding: 90px 0; }

.destinos h2, .servicios h2, .contacto h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  margin-top: 10px;
  margin-bottom: 40px;
}

.region-banner {
  position: relative;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}

.region-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 14s ease-in-out infinite alternate;
}

.region-banner-img.restart { animation: none; }

@keyframes kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(-2%, -2%); }
}

.region-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.15) 0%, rgba(17, 17, 17, 0.55) 100%);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.tab-btn {
  background: var(--gray-100);
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.tab-btn:hover { background: var(--gray-300); }

.tab-btn.active {
  background: var(--gold);
  color: var(--black);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.35s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.destino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.destino-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}

.destino-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
  background: var(--white);
}

/* Hoteles */
.hoteles { background: var(--gray-100); padding: 90px 0; text-align: center; }

.hoteles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 40px 0;
  text-align: left;
}

.hotel-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.hotel-card h3 { color: var(--gold); margin-bottom: 10px; font-size: 1.1rem; }
.hotel-card p { color: var(--gray-600); }

.hoteles-cta-text {
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto 24px;
}

.hoteles-destacados {
  margin-top: 64px;
  text-align: left;
}

.hoteles-destacados h3 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.hoteles-destacados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.hotel-destacado-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hotel-destacado-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.hotel-destacado-card-body { padding: 16px 18px; }

.hotel-destacado-card h4 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.hotel-destacado-card .estrellas {
  color: var(--gold);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 6px;
}

.hotel-destacado-card .ubicacion {
  color: var(--gray-600);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 12px;
}

.hotel-destacado-card .ver-detalle {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

/* Servicios */
.servicios { background: var(--gray-100); padding: 90px 0; }

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.servicio-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
}

.servicio-card h3 {
  color: var(--gold);
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.servicio-card p { color: var(--gray-600); }

/* Nosotros / CEO */
.nosotros { padding: 90px 0; background: var(--gray-100); }

.nosotros h2 { text-align: center; margin-bottom: 40px; }

.ceo-card {
  display: flex;
  gap: 32px;
  align-items: center;
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.ceo-photo {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--black);
}

.ceo-photo img { width: 100%; height: 100%; object-fit: cover; }

.ceo-photo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 800;
  font-size: 2.2rem;
}

.ceo-info h3 { font-size: 1.3rem; margin-bottom: 4px; }

.ceo-cargo {
  display: block;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.ceo-info p { color: var(--gray-600); }

@media (max-width: 600px) {
  .ceo-card { flex-direction: column; text-align: center; }
}

/* Contacto */
.contacto {
  padding: 100px 0;
  text-align: center;
}

.contacto-inner p {
  color: var(--gray-600);
  margin: 16px 0 32px;
  font-size: 1.05rem;
}

.contacto-form {
  max-width: 520px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.contacto-form-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.contacto-form-row input { flex: 1; min-width: 200px; }

.contacto-form input,
.contacto-form textarea {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--gray-300);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}

.contacto-form button { align-self: center; }

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--gray-300);
  text-align: center;
  padding: 24px 0;
  font-size: 0.9rem;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: transform var(--transition);
}

.whatsapp-float:hover { transform: scale(1.08); }

/* Modal de destino */
.destino-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.destino-modal.open { display: block; }

.destino-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.destino-modal-panel {
  position: relative;
  background: var(--white);
  max-width: 1100px;
  width: min(95vw, 1100px);
  max-height: 92vh;
  overflow-y: auto;
  margin: 4vh auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.destino-modal-close {
  position: sticky;
  top: 12px;
  left: 100%;
  margin-right: 12px;
  transform: translateX(-100%);
  background: var(--black);
  color: var(--white);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

.destino-modal-body { padding: 8px 44px 44px; }

.destino-modal-body h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.destino-modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.destino-modal-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

.destino-modal-video { margin-bottom: 20px; }

.destino-modal-video video {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.destino-modal-hoteles {
  background: var(--gray-100);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.destino-modal-hoteles h4 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.destino-modal-hoteles p { color: var(--gray-600); }

.hotel-modal-panel .destino-modal-body { text-align: center; }

.hotel-modal-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.hotel-modal-estrellas {
  color: var(--gold);
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.hotel-modal-ubicacion {
  color: var(--gray-600);
  display: block;
  margin-bottom: 16px;
}

.hotel-modal-nota {
  color: var(--gray-600);
  font-size: 0.85rem;
  font-style: italic;
  max-width: 460px;
  margin: 0 auto 24px;
}

.destino-hoteles-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.destino-hotel-item {
  background: var(--white);
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.destino-hotel-item .estrellas {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}

.destino-hotel-item .nombre-hotel {
  font-weight: 700;
  display: block;
}

.destino-hoteles-nota {
  font-size: 0.85rem;
  font-style: italic;
}

/* Responsive */
@media (max-width: 820px) {
  .nav-toggle { display: flex; }

  .main-nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-300);
    display: none;
  }

  .main-nav ul.open { display: flex; }

  .hero { padding: 70px 0; }
  .destinos, .servicios, .contacto { padding: 60px 0; }
}
