/* ===================================================== */
/* BASE GLOBAL – CEPATAGONIA                             */
/* Paleta original: beige + verde salvia                 */
/* Versión estable para presentación                     */
/* ===================================================== */

/* ===================================================== */
/* VARIABLES GLOBALES                                    */
/* ===================================================== */
:root{
  /* Colores base */
  --color-fondo: #f6f3ea;
  --verde-header: #6f8f73;
  --verde-principal: #5f7f63;
  --verde-suave: #8fae94;

  --texto-principal: #2e2e2e;
  --texto-secundario: #555555;

  /* Tipografías */
  --fuente-titulos: "Cinzel", serif;
  --fuente-texto: "Playfair Display", serif;

  /* Layout */
  --container: 1200px;
  --radius: 22px;
  --shadow: 0 8px 24px rgba(0,0,0,.12);
}

/* ===================================================== */
/* RESET + BASE                                          */
/* ===================================================== */
*{ box-sizing: border-box; }

html, body{ height: 100%; }

body{
  margin: 0;
  background: var(--color-fondo);
  color: var(--texto-principal);
  font-family: var(--fuente-texto);
  line-height: 1.6;

  /* ✅ IMPORTANTE: como el header es FIXED, empujamos el contenido */
  padding-top: 110px; /* desktop */
}

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

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

/* ===================================================== */
/* LAYOUT                                                */
/* ===================================================== */
.container{
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section{
  padding: 60px 0;
}

.card{
  background: #ffffff;
  border-radius: 40px;
  box-shadow: var(--shadow);
  padding: 50px 40px;
}

/* ===================================================== */
/* HEADER – FIJO SIEMPRE VISIBLE                         */
/* ===================================================== */
.site-header{
  position: fixed;        /* ✅ fijo real */
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  background: var(--verde-header);
}

/* Contenedor del header */
.header-container{
  width: min(100% - 32px, var(--container));
  margin: 0 auto;

  /* ✅ franja controlada: NO gigante */
  padding: 10px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

/* ===================================================== */
/* LOGO (GRANDE)                                         */
/* ===================================================== */
.logo{
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

/* ✅ LOGO GRANDE DESKTOP */
.logo img{
  height: 84px;     /* ⬅ más grande y visible */
  width: auto;
}

/* ===================================================== */
/* NAV                                                   */
/* ===================================================== */
.nav{
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a{
  font-family: var(--fuente-titulos);
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.9;
  transition: opacity .2s ease;
}

.nav a:hover{
  opacity: 1;
}

/* ===================================================== */
/* BOTONES                                               */
/* ===================================================== */
.btn{
  padding: 14px 34px;
  border-radius: 40px;
  font-family: var(--fuente-titulos);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s ease;
}

.btn.primary{
  background: var(--verde-principal);
  color: #ffffff;
  border: none;
}

.btn.primary:hover{
  background: #4e6f54;
}

.btn.secondary{
  background: transparent;
  color: var(--verde-principal);
  border: 2px solid var(--verde-principal);
}

.btn.secondary:hover{
  background: var(--verde-principal);
  color: #ffffff;
}

/* ===================================================== */
/* MODAL – ADQUIRÍ TU PASE                               */
/* ===================================================== */
.modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  padding: 18px;
}
.modal.show{ display: flex; }

.modal-content{
  background: #fff;
  padding: 40px 30px;
  border-radius: 30px;
  text-align: center;
  max-width: 420px;
  width: calc(100% - 32px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.modal-logo{
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

/* ===================================================== */
/* RESPONSIVE                                            */
/* ===================================================== */
@media (max-width: 900px){
  .header-container{
    gap: 16px;
  }

  .nav{
    gap: 18px;
  }

  /* logo grande también en tablets */
  .logo img{
    height: 78px;
  }

  body{
    padding-top: 112px;
  }
}

@media (max-width: 768px){
  .header-container{
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
    gap: 10px;
  }

  /* ✅ LOGO GRANDE MOBILE */
  .logo img{
    height: 84px; /* ⬅ grande en celu */
  }

  .nav{
    justify-content: center;
    gap: 12px;
  }

  .nav a{
    font-size: 0.85rem;
    letter-spacing: 1.6px;
  }

  /* ✅ El header en mobile es más alto: empujamos contenido */
  body{
    padding-top: 170px;
  }

  .section{
    padding: 40px 0;
  }

  .card{
    padding: 35px 25px;
    border-radius: 28px;
  }
}

/* ===================================================== */
/* FIN BASE GLOBAL                                       */
/* ===================================================== */
