/* RESET BÁSICO */
/* ------------------ */
*, *::before, *::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul, ol { 
  padding: 0.6em; 
}

ul.links, ul.menu {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

:root {
  scroll-padding-top: 120px;
}

/* ------------------ */
/* TIPOGRAFÍAS */
/* ------------------ */

@font-face {
  font-display: swap;
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 300;
  src: url('https://www.estepas.com/fonts/work-sans-v23-latin-300.woff2') format('woff2'),
       url('https://www.estepas.com/fonts/work-sans-v23-latin-300.woff') format('woff');
}

@font-face {
  font-display: swap;
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  src: url('https://www.estepas.com/fonts/work-sans-v23-latin-regular.woff2') format('woff2'),
       url('https://www.estepas.com/fonts/work-sans-v23-latin-regular.woff') format('woff');
}

/* ------------------ */
/* GENERAL */
/* ------------------ */
body {
  background-color: #e8e8e6;
  font-weight: 400;
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-family: Georgia, "Times New Roman", serif;
}

.container { 
  max-width: 96%; 
  margin: 0 auto;
  position: relative;
  z-index: 1000;
}

/* ------------------ */
/* HEADER */
/* ------------------ */
header[role="banner"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ------------------ */
/* LOGO */
/* ------------------ */
#logo-container {
  z-index: 1001;
}

#logo-container img {
  height: 70px;
  width: auto;
  filter: brightness(1.1);
}

/* LOGO EN HERO SOLO VISIBLE EN MOBILE */
#logo-hero-mobile {
  display: block; /* Visible por defecto en mobile */
  text-align: center;
  margin-bottom: 3em;
}

#logo-hero-mobile img {
  height: auto;  
  max-width: 70px;
  margin: 1rem auto;
}

@media (min-width: 769px) {
  #logo-hero-mobile {
    display: none;
  }
}

/* ------------------ */
/* MENU DESKTOP */
/* ------------------ */
.menu-container {
  display: none; /* Oculto por defecto en mobile */
  justify-content: center;
  align-items: center;
}

@media (min-width: 769px) {
  .menu-container {
    display: flex;
  }
}

.menu-main-menu-container { 
  text-align: center;
  font-family: "Work Sans", helvetica, sans-serif; 
  font-weight: 500;
  display: none;
  justify-content: center;
  align-items: center;
}

@media(min-width: 769px) {
  .menu-main-menu-container {
    display: flex;
  }
}

.menu {
  display: flex;
  gap: 1.7em;
}

.menu li {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .8rem;
  text-decoration: none; 
}

.menu li a {
  color: #fbf9ec;
  transition: color 0.4s ease;
  text-decoration: none;
}

.menu li a:hover {
  color: #6c83a0;
}

/* ------------------ */
/* MENU MOBILE */
/* ------------------ */
@media (max-width: 768px) {
  .mobile-menu-button {
    position: fixed;
    bottom: 0; 
    left: 0;
    width: 100%;
    background: #6c83a0;
    text-align: center;
    padding: 1.2em;
    border: none;
    border-top: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    font-family: "Work Sans", sans-serif;
    font-weight: 500;
    font-size: .78rem;
    color: white;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    z-index: 1000;
    transition: background 0.3s ease, color 0.3s ease;
  }

  .mobile-menu-button:hover {
    background: #9C9C9C;
    color: #fbf9ec;
  }

  .mobile-menu-overlay {
    background: #6c83a0;
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(100%); 
    transition: transform 0.3s ease;
    z-index: 9999;
    padding: 0 1em;
    box-sizing: border-box;
  }

  .mobile-menu-overlay.open {
    transform: translateY(0);
  }

  .mobile-menu-overlay ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
  }

  .mobile-menu-overlay li {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 2rem !important;
    line-height: 0.7em;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0.3em 0;
    white-space: nowrap;
  }

  .mobile-menu-overlay li a {
    color: #fbf9ec;
    text-decoration: none;
    transition: color 0.4s ease;
    display: inline-block;
    padding: 0.2em 0.5em;
  }

  .mobile-menu-overlay li a:hover {
    color: #333;
  }
}

/* ------------------ */
/* HERO SLIDER */
/* ------------------ */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 75vh;
  overflow: hidden;
  z-index: 1;
}

/* SLIDES */
.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 2;
}

/* HERO CONTENT */
.hero-slider .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  color: white;
  z-index: 10;
}

.hero-slider .hero-content h1.titulo {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  font-weight: 100;
  text-align: center;
  margin: 0 auto;
  text-transform: uppercase;
  letter-spacing: .3em;
  display: block;
  color: #fcf9ec;
  position: relative;
}

.hero-slider .hero-content h2.oficial {
  font-family: Georgia, "Times New Roman", serif;
  margin: 1em auto;
  padding: 0;
  color: #fcf9ec;
  letter-spacing: .5em;
  font-weight: 400;
  font-variant: small-caps;
  position: relative;
}

/* Base (mobile first) */
.hero-slider .hero-content h1.titulo {
  font-size: 10vw; /* texto grande en pantallas pequeñas */
}

.hero-slider .hero-content h2.oficial {
  font-size: 0.9rem;
}

/* Pantallas ≥480px (mobile mediano) */
@media (min-width: 480px) {
  .hero-slider .hero-content h1.titulo {
    font-size: 8vw;
  }
  .hero-slider .hero-content h2.oficial {
    font-size: 1.1rem;
  }
}

/* Pantallas ≥769px (tablet) */
@media (min-width: 769px) {
  .hero-slider .hero-content h1.titulo {
    font-size: 4vw;
  }
  .hero-slider .hero-content h2.oficial {
    font-size: 1.3rem;
    letter-spacing: .4em;
  }
}

/* Pantallas ≥1100px (desktop) */
@media (min-width: 1100px) {
  .hero-slider .hero-content h1.titulo {
    font-size: 4rem; /* fijo para mantener consistencia */
  }
  .hero-slider .hero-content h2.oficial {
    font-size: 1.5rem;
    letter-spacing: .5em;
  }
}

/* Pantallas muy grandes ≥1600px (opcional) */
@media (min-width: 1600px) {
  .hero-slider .hero-content h1.titulo {
    font-size: 5rem;
  }
  .hero-slider .hero-content h2.oficial {
    font-size: 1.8rem;
  }
}

/* PHOTO CREDITS */
.hero-slider .photo_credit {
  position: absolute;
  bottom: 20px;
  right: 30px;
  color: white;
  z-index: 10;
  font-size: 0.54em;
  background: rgba(0,0,0,0.3);
  padding: 5px 10px;
  font-family: Work Sans, system-ui, sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: .15em;
}

/* ASEGURAR QUE EL CONTENIDO DESPUÉS DEL HERO TENGA ESPACIO */
#main {
  position: relative;
  z-index: 100;
  margin-top: 65vh;
  background: #e8e8e6;
}

/* ------------------ */
/* INTRO */
/* ------------------ */
.frase {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.3rem;
  line-height: 1.35;
  color: #6184a3;
  margin: 0 auto;
  padding: 1em 1.7em 1em;
  margin-top: 1.1em;
  text-align: center;
  margin: 1.5em auto;
  max-width: 80%;
  font-weight: 300;
}

/* Celulares pequeños */
@media (max-width: 480px) {
  .frase {
    font-size: 1.6rem;  
    line-height: 1.3;
    padding: 2.5em 1em 0; 
  }
}

/* Mobile mediano (481-768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .frase {
    font-size: 1.6rem;
    line-height: 1.35;
    padding: 2em 1.2em 0; 
  }
}

/* Tablet */
@media (min-width: 769px) {
  .frase { 
    font-size: 1.8rem; 
    padding: 0; 
  }
}

/* Desktop */
@media (min-width: 1100px) {
  .frase { 
    font-size: 2.2rem; 
    padding: 0; 
  }
}

.home p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.44rem;
  line-height: 1.4;
  text-align: center;
  max-width: 60%;
  padding: 1em 0em;
  margin: 1em auto;
  color: rgba(0, 0, 0, .5);
}

/* Pantallas medianas (tablets) */
@media (max-width: 1024px) {
  .home p {
    font-size: 1.2rem;
    padding: 0.8em 0em;
  }
}

/* Pantallas pequeñas (celulares) */
@media (max-width: 768px) {
  .home p {
    font-size: 1.2rem;
    padding: 0.5em 1em; 
    max-width: 95%;  
  }
}

.home #main::after {
  content: "";
  display: block;
  width: 200px;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  margin: 3rem auto 0;
}

.home #elcalafate::after{
  content: "";
  display: block;
  width: 200px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin: 3rem auto 0;
}

.home #masterplan::after {
  content: "";
  display: block;
  width: 200px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin: 3rem auto 0;
}

.home #detalles::after {
  content: "";
  display: block;
  width: 200px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin: 3rem auto 0;
}

.home #ubicacion::after {
  content: "";
  display: block;
  width: 200px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin: 3rem auto 0;
}

/* ------------------ */
/* SISTEMA DE COLUMNAS MODULAR */
/* ------------------ */

/* Contenedor principal de secciones */
section {
  width: 90%;
  margin: 0 auto; /* centra horizontalmente */
  box-sizing: border-box;
}

/* Contenedor de columnas */
.columns-container {
  display: flex;
  flex-wrap: wrap; /* permite que las columnas bajen en móviles */
  gap: 1.5em; /* espacio entre columnas */
  width: 100%;
  margin: 2% auto;
  padding: 0;
  box-sizing: border-box;
}

/* Columnas */
.column {
  flex: 1 1 280px; 
  max-width: 100%;
  padding: 0.5em 1em; 
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(0,0,0,0.1);
  box-sizing: border-box;
}

/* Última columna sin borde derecho */
.column:last-child {
  border-right: none;
}

/* Imagen dentro de la columna */
.column__image {
  width: 100%;
  height: auto;
  min-height: 150px;
  margin-bottom: 1em;
  text-align: center;
}

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

/* Títulos y texto */
.column__title {
  margin-bottom: 0.5em;
  font-size: 1.5rem;
  text-align: left;
}

.column__text {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 1em;
}

/* Ajustes para 2 y 3 columnas en desktop */
@media (min-width: 768px) {
  .columns-container--two .column {
    flex: 1 1 48%; /* dos columnas */
  }
  
  .columns-container--three .column {
    flex: 1 1 32%; /* tres columnas */
  }
}

/* Ajustes para móviles */
@media (max-width: 767px) {
  .column {
    flex: 1 1 100%; /* cada columna ocupa toda la fila */
    border-right: none; /* quitar bordes verticales */
    padding: 0.5em; /* más compacto */
  }

  .column__title {
    font-size: 1.2rem;
  }

  .column__text {
    font-size: 0.95rem;
  }
}

/* Bullets estilo columna */
.column ul.bullets {
  list-style: none; /* quita bullets por defecto */
  padding-left: 0;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  text-align: left;
  line-height: 1.35;
  margin: 0 0 .5em;
  padding: 0;
  font-size: 1rem;
  color: rgba(0, 0, 0, .6);
  font-weight: 300;
}

/* Crear bullets cuadrados azules */
.column ul.bullets li {
  position: relative;
  padding-left: 1.1em; /* espacio para el bullet */
  margin-bottom: 0.3em;
}

.column ul.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em; /* centra verticalmente con texto */
  width: 0.3em;
  height: 0.3em;
  background-color: #6184a3;
}

/* Responsive para móviles */
@media (max-width: 767px) {
  .column ul.bullets {
    /* ligeramente más chico para móviles */
    line-height: 1.3;
  }

  .column ul.bullets li {
    padding-left: 1.2em;
    margin-bottom: 0.4em;
  }

  .column ul.bullets li::before {
    width: 0.2em;
    height: 0.2em;
    top: 0.55em; /* ajusta verticalmente */
  }
}

.column ul.bullets li a {
  color: #6184a3;
  text-decoration: none; /* opcional, sin subrayado */
}

/* Hover opcional para enlaces */
.column ul.bullets li a:hover {
  text-decoration: underline; /* subrayado al pasar el mouse */
}

/* TIPOGRAFÍA PARA COLUMNAS */
.column__title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #6184a3;
  line-height: 1.6;
  font-size: 1.80rem;
  margin: 0 0 .5em;
  padding: 0;
  text-align: left;
  text-transform: none;
  letter-spacing: 0.01em;
}

.column__subtitle {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.1rem;
  margin: .5em auto -0.05em;
  width: 100%;
  color: rgba(0, 0, 0, .8);
  padding-bottom: 0.46em;
  line-height: 1.7;
}

.column__text {
  font-family: Georgia, 'Times New Roman', serif;
  text-align: left;
  line-height: 1.35;
  margin: 0 0 .5em;
  padding: 0;
  font-size: 1rem;
  color: rgba(0, 0, 0, .6);
  font-weight: 300;
}

.column__text a{
  color: rgba(0, 0, 0, .6);
  text-decoration: none;
}

.column__text a:hover {
  text-decoration: underline;
  color: #6184a3;
}

/* FOOTER DE COLUMNAS */
.column__footer {
  align-self: flex-end;
  text-align: left;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0 0 .5em;
}

.column__footer-title {
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
  font-size: 1.35rem;
  margin: .5em auto -0.05em;
  width: 100%;
  font-weight: 400;
  color: rgba(0, 0, 0, .85);
  padding-bottom: 0.1em;
}

.column__footer-subtitle {
  font-family: Georgia, "Times New Roman", serif;
  margin: 0 0;
  font-size: .95rem;
  font-weight: 400;
  color: rgba(0, 0, 0, .5);
  display: block;
  width: 100%;
}

.column__footer-text {
  letter-spacing: .02em;
  font-weight: 100;
  font-size: .85rem;
  font-style: normal;
  margin: 0;
  padding: 0;
  width: 100%;
  color: rgba(0, 0, 0, .5);
}

/* BOTONES Y ENLACES */
.column__links {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  width: 100%;
  margin: .5em 0 0;
}

.column__links li {
  margin: 0 .5em 0 0;
}

.column__links a {
  border: 1px solid #6184a3;
  display: inline-block;
  text-align: center;
  font-family: system-ui, -apple-system, sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .7rem;
  font-weight: 500;
  padding: .2em 1em;
  color: #6184a3;
  text-decoration: none;
  transition: all .3s ease-out;
}

.column__links a:hover {
  background: #6184a3;
  color: #fcf9ec;
}

/* UTILIDADES */
.text-center {
  text-align: center;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: #6184a3;
  margin: 2em 0 1em;
  font-family: Georgia, serif;
}

/* ------------------ */
/* FOOTER */
/* ------------------ */
.footer-container {
  padding: 2em 0;
  text-align: center;
}

.footer-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1em;
}

/* Logo en footer */
.footer-logo-container img {
  max-width: 200px;
  height: auto;
}

/* Celulares pequeños */
@media (max-width: 480px) {
  .footer-logo-container img {
    max-width: 120px;  /* ✅ más visible */
  }
}

/* Celulares medianos */
@media (min-width: 481px) and (max-width: 768px) {
  .footer-logo-container img {
    max-width: 150px;  /* ✅ se adapta mejor */
  }
}


.global2 {
  margin: 0em auto 0em;
  padding: 1em 0 1em;
  text-align: center;
  clear: both;
  color: #6184a3;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.1em;
  padding: 0em 0.9em 0.5em;
  line-height: 1.4;
  font-family: Georgia, "Times New Roman", serif;
}

.global {
  margin: 0em auto 0em;
  padding: 0;
  text-align: center;
  clear: both;
  font-family: Work Sans, system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  padding-top: 0.5em;
  padding-bottom: 2em;
}

.global .copyright {
  color: rgba(0, 0, 0, .8);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin: 0 auto .3em;
  text-transform: uppercase;
}

.global .legal {
  color: rgba(0, 0, 0, .4);
  font-size: 0.6rem;
  padding: 0 1.5em;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 auto .5em;
  max-width: 50em;
}

.socials {
  display: flex;
  padding: 0;
  margin: 10px 0 0 0;
  order: 2;
  align-items: center;
  justify-content: center;
}

.socials svg {
  width: 30px;
  height: auto;
  margin: 0 5px 0 0;
  transition: all .3s ease-out;
  fill: #6184a3;
}

.socials svg:hover {
  fill: #81b0d9;
}

/* ------------------ */
/* RESPONSIVE QUERIES */
/* ------------------ */

/* MOBILE PEQUEÑO */
@media (max-width: 480px) {
  /* Header oculto en mobile */
  header[role="banner"] {
    display: none;
  }
  
  /* Logo mobile visible */
  #logo-hero-mobile {
    display: block;
  }
  
  #logo-hero-mobile img {
    height: 60px;
  }
  
  /* Menu mobile visible */
  .mobile-menu-button {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #6c83a0;
    text-align: center;
    padding: 1.2em;
    border: none;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-radius: 0;
    top: auto;
    right: auto;
  }
  
  .mobile-menu-overlay {
    display: flex;
  }
  
  .hero-slider .photo_credit {
    bottom: 10px;
    right: 10px;
    font-size: 0.7em;
    padding: 3px 6px;
  }
  
  /* Footer ajustado */
  .footer-logo-container img {
    max-width: 60px;
  }
}

/* MOBILE MEDIANO */
@media (min-width: 481px) and (max-width: 768px) {
  /* Header oculto */
  header[role="banner"] {
    display: none;
  }
  
  /* Logo mobile visible */
  #logo-hero-mobile {
    display: block;
  }
  
  /* Menu mobile */
  .mobile-menu-button {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #6c83a0;
    text-align: center;
    padding: 1.2em;
    border: none;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-radius: 0;
    top: auto;
    right: auto;
  }
  
  .mobile-menu-overlay {
    display: flex;
  }
}