/* ==============================================
   REDISEÑO TOTAL - ESTILO PARQUE NATURAL (TANTAUCO)
   Enfoque: Orgánico, Sofisticado, Natural y Sereno.
   ============================================== */

:root {
  /* ===== PALETA NATURALEZA PREMIUM ===== */
  --p-dark: #1A302B;
  /* Verde Bosque Profundo */
  --p-green: #3D5A46;
  /* Verde Alerce */
  --p-light: #7E9680;
  /* Verde Musgo Suave */
  --p-earth: #AD8A64;
  /* Tierra / Madera */
  --p-sand: #F9F7F2;
  /* Arena / Fondo Claro */
  --p-white: #FFFFFF;

  --sea-blue: #2A4B5D;
  /* Azul Pacífico */
  --accent: #D48C45;
  /* Ocre Atardecer */

  /* ===== TIPOGRAFÍA ===== */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-alt: 'Montserrat', sans-serif;

  /* ===== OTROS ===== */
  --radius: 24px;
  --shadow: 0 15px 45px rgba(26, 48, 43, 0.05);
  --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ==============================================
   ESTILOS BASE
   ============================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--p-dark);
  background-color: var(--p-sand);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

/* ==============================================
   TIPOGRAFÍAimpactante (PARQUE)
   ============================================== */
h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--p-white);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--p-dark);
  margin-bottom: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  color: var(--p-green);
}

p {
  font-size: 1.05rem;
  color: #555;
  max-width: 55ch;
  line-height: 1.6;
}

.text-accent {
  color: var(--accent);
}

.text-white {
  color: var(--p-white);
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

/* ==============================================
   HEADER & NAVIGATION
   ============================================== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 2rem 0;
  transition: var(--transition);
}

.header.scrolled {
  position: fixed;
  background: var(--p-white);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo-img {
  width: 55px;
}

.logo-main {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--p-white);
}

.logo-sub {
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--accent);
}

.header.scrolled .logo-main {
  color: var(--p-dark);
}

.nav {
  display: flex;
  gap: 2.5rem;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--p-white);
  transition: var(--transition);
}

.header.scrolled .nav a {
  color: var(--p-dark);
}

.nav a:hover {
  color: var(--accent) !important;
}

/* ==============================================
   HERO SECTION
   ============================================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
  /* Espacio para el header absoluto */
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 48, 43, 0.4), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin-top: 5rem;
  /* Separación extra del header */
}

.hero-tags {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-tags span {
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
}

/* ==============================================
   BUTTONS
   ============================================== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  font-family: var(--font-alt);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--p-green);
  color: #fff;
  box-shadow: 0 10px 20px rgba(61, 90, 70, 0.2);
}

.btn-primary:hover {
  background: var(--p-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(26, 48, 43, 0.3);
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  margin-left: 1rem;
}

.btn-outline:hover {
  background: #fff;
  color: var(--p-dark);
}

/* ==============================================
   SECTION STYLES
   ============================================== */
.section-nature {
  background-color: var(--p-sand);
}

.section-dark {
  background-color: var(--p-dark);
  color: var(--p-white);
}

.section-dark h2 {
  color: var(--p-white);
}

.section-dark p {
  color: #ccc;
}

/* ==============================================
   CARDS & GRID
   ============================================== */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

@media (max-width: 1024px) {
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border: 1px solid #f2f2f2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.card i {
  font-size: 2.5rem;
  color: var(--p-green);
  margin-bottom: 0.5rem;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin: 1.5rem 0 1rem;
}

/* ==============================================
   VIDEO & MEDIA
   ============================================== */
.video-wrapper {
  max-width: 900px;
  margin: 4rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 8px solid #fff;
  background: #fff;
}

.video-wrapper video {
  width: 100%;
  display: block;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.video-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow);
}

.video-item.vertical {
  aspect-ratio: 9/16;
  max-width: 200px;
}

.video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  font-weight: 700;
  text-align: center;
}

/* ==============================================
   QUINCHO / EVENTOS
   ============================================== */
.quincho-box {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  /* Cambiado a stretch para que la imagen cubra todo el alto */
  min-height: 600px;
}

.quincho-content {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quincho-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bullet-list {
  list-style: none;
  margin: 2rem 0;
}

.bullet-list li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
}

.bullet-list li::before {
  content: '✓';
  color: var(--p-green);
  font-weight: 900;
}

/* Estilos para Mapa y Reseñas */
.map-container {
  width: 100%;
  height: 450px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 3rem;
  border: 8px solid #fff;
  background: #eee;
  position: relative;
  /* Para el overlay */
}

.directions-overlay {
  position: absolute;
  bottom: 20px;
  left: 100px;
  /* Posicionado después de los selectores de capa */
  background: var(--p-green);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  z-index: 5;
  font-size: 0.9rem;
}

.directions-overlay:hover {
  background: var(--accent);
  transform: translateY(-3px) scale(1.05);
  color: #fff;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
  text-align: left;
}

.contact-card {
  padding: 2.5rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(26, 48, 43, 0.08);
}

.contact-card i {
  font-size: 2rem;
  color: var(--p-green);
  margin-bottom: 1.5rem;
}

.contact-card h3 {
  margin-bottom: 1rem;
  color: var(--p-dark);
}

.contact-card p,
.contact-card a {
  color: var(--p-green);
  opacity: 0.8;
  font-weight: 500;
  text-decoration: none;
}

.review-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.review-btn:hover {
  gap: 1.2rem;
  color: var(--p-green);
}

/* ==============================================
   SOCIAL & FOOTER
   ============================================== */
.social-bar {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 1000;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--p-white);
  color: var(--p-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--p-green);
  color: #fff;
  transform: scale(1.1);
}

.footer {
  padding: 80px 0 40px;
  background-color: var(--p-dark);
  color: var(--p-white);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25D366;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
}

/* ==============================================
   ANIMATIONS
   ============================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 900px) {
  .quincho-box {
    grid-template-columns: 1fr;
  }

  .quincho-content {
    padding: 2rem;
  }

  .nav {
    display: none;
  }

  .social-bar {
    right: 1rem;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2.2rem;
  }

  .btn {
    width: 100%;
    margin: 10px 0 !important;
    text-align: center;
  }
}

/* ==============================================
   MODAL PROMOCIONAL
   ============================================== */
.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  backdrop-filter: blur(10px);
}

.promo-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: auto;
  min-width: 300px;
  max-width: 95vw;
  max-height: 98vh;
  position: relative;
  transform: scale(0.8);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.95);
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 50px rgba(0, 0, 0, 1);
}

.promo-modal.active .modal-content {
  transform: scale(1);
}

.modal-video-container {
  width: auto;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.modal-video-container video {
  max-width: 100%;
  max-height: 82vh;
  /* Video protagonista */
  height: auto;
  border-radius: 12px;
  display: block;
  transition: all 0.5s ease;
}

/* Estado cuando el video se agranda al reproducir */
.promo-modal.is-playing .modal-video-container video {
  max-height: 94vh;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  transform: rotate(90deg) scale(1.2);
  color: var(--accent);
}

.modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
  width: 100%;
  transition: opacity 0.5s ease, margin 0.5s ease, transform 0.5s ease;
}

/* Ocultar letras al darle play */
.promo-modal.is-playing .modal-header {
  opacity: 0;
  margin-bottom: 0;
  transform: translateY(-20px);
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

.modal-header h2 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  margin: 0;
  line-height: 1.1;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.modal-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  margin-top: 0.5rem;
  font-family: var(--font-main);
  font-style: italic;
}

@media (max-width: 600px) {
  .modal-video-container {
    aspect-ratio: 9/16;
  }

  .modal-header h2 {
    font-size: 1.8rem;
  }

  .modal-header p {
    font-size: 1rem;
  }
}