/* 🔁 Reset de márgenes y cajas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 🔤 Fuente general */
body {
  font-family: 'Host Grotesk', sans-serif;
  background-color: #EEDFCF;
  color: #5b3d2b;
  line-height: 1.6;
  padding-top: 70px;
}


/* Fuente Subtitulo */
h2 {
  font-family: 'Allura', cursive;
  font-size: 2.8rem;
  font-weight: normal;
  color: #5a3e2b;
}

/* 🧱 Estructura del header */
header {
  border-bottom: 1px solid #EEDFCF;
  background-color: #EEDFCF;
  position: fixed;      /* Lo deja fijo en la ventana */
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;         /* mismo alto que ya tenés */
  z-index: 9999;        /* asegura que quede por encima de todo */
  border-bottom: 1px solid #EEDFCF;
}

.header-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1rem 2rem;
  height: 70px;
  max-width: 100%;
  font-weight: lighter;
}

/* Logo a la izquierda */
.logo-img {
  height: 40px;
  object-fit: contain;
  display: block;
}


.logo a {
  text-decoration: none;
  color: rgb(138, 110, 90);
  font-weight: bold;
  font-size: 1.5rem;
}

.logo a:hover {
  opacity: 0.8;
}

/* Menú centrado */
.menu {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

/* 📋 Enlaces del menú */
.menu a{
  text-decoration: none;
  color: #5b3d2b;
  font-weight: bold;
  font-size: 1.2rem;
  font-weight: lighter;
}

.presupuesto-link-container a {
  text-decoration: none;
  color: #5b3d2b;
  font-weight: bold;
  font-size: 1.2rem;
}

.menu a:hover,
.presupuesto-link-container a:hover {
  color: #000;
}

/* Contenedor del botón de presupuesto a la derecha */
.presupuesto-link-container {
  margin-left: auto;
}


/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;                       /* top/right/bottom/left = 0 */
  background-color: rgba(0,0,0,0.6);
  z-index: 100;
}

/* --------------------------------------------------------- */
/*  Panel deslizable desde la derecha                        */
/* --------------------------------------------------------- */
/* panel full-screen */
.modal .panel {
  position: fixed;
  top: 0;
  right: 0;                  /* siempre a la derecha */
  width: 100vw;              /* ocupa todo el ancho */
  height: 100vh;             /* ocupa toda la altura */
  background: #000000;         
  color: #ffffff;               
  overflow-y: auto;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 0.7s ease;
}

/* al abrir, lo traemos */
.modal.open .panel {
  transform: translateX(0);
}

/* cabecera */
.modal .panel h2 {
  font-family: 'Host Grotesk', sans-serif;
  font-style: normal; 
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-align: center;
  padding: 2rem;
  padding-top: 80px;
}

.modal .panel form {
  max-width: 400px;     /* ancho fijo razonable */
  margin: 0 auto;       /* lo centra horizontalmente */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: #ffffff;
}

/* cierre (“X”) */
.modal .panel .cerrar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.6rem;
  color: #ccc;
  padding-top: 70px;
}
.modal .panel .cerrar:hover {
  color: #fff;
}

/* inputs y textarea */
.modal .panel input,
.modal .panel textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #ffffff;
  padding: 0.8rem 0;
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 1rem;
  font-family: 'Host Grotesk', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.modal .panel input:focus,
.modal .panel textarea:focus {
  border-color: #fff;
}

/* placeholder más tenue */
.modal .panel ::placeholder {
  color: rgba(255,255,255,0.5);
}

/* checkbox y label */
.modal .panel label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}
.modal .panel input[type="checkbox"] {
  width: auto;
  margin: 0;
}

/* botón enviar */
.modal .panel .enviar {
  width: 100%;
  padding: 1rem;
  background: #ffffff;
  color: #000000;
  border: none;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s;
  margin-bottom: 1rem;
}
.modal .panel .enviar:hover {
  background: #aaa;
}

/* “Cerrar” textual */
.modal .panel .cerrar-texto {
  display: block;
  text-align: center;
  color: #aaa;
  margin-top: 1rem;
  cursor: pointer;
}
.modal .panel .cerrar-texto:hover {
  color: #fff;
}







/* === Encabezado === */
.proyectos-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;   /* tres columnas: izquierda, centro, derecha */
  grid-template-rows: auto auto;         /* dos filas: (1) título y subtítulo, (2) autor */
  align-items: center;
  padding: 3rem 1rem;
  gap: 0.5rem  /* espacio vertical entre filas */;
}

/* Título en columna 1, fila 1 */
.proyectos-titulo {
  grid-column: 1;
  grid-row: 1;
  font-family: 'Host Grotesk', sans-serif;
  font-size: 2.6rem;
  color: #5B3D2B;
  margin: 0;
}

/* Autor en columna 1, fila 2 */
.proyecto-author {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;  /* opcional: izquierda */
  font-family: 'Host Grotesk', sans-serif;
  font-size: 1.5rem;
  font-style: italic;
  color: #805d47;
  margin: 0;
}

/* Subtítulo (ubicación) en columna 3, fila 1 */
.proyectos-subtitulo {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  font-family: 'Host Grotesk', sans-serif;
  color: #805d47;
  font-size: 1.6rem;
  margin: 0;
}





/* PROYECTOS */

.proyectos {
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  background-color: #EEDFCF;
}

/* Grid genérico para cada fila */
.proyectos-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
  justify-content: center;
}




/* 2) Slider de dos imágenes, centrado */

/* Hacer que todas las filas se apilen en columna */
.proyecto-slider,
.proyectos-row {
  display: flex;
  flex-direction: column; /* apila verticalmente */
  align-items: center;    /* centra horizontalmente */
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Ajuste general de imágenes */
.slider-img,
.proyecto-card img {
  width: 100%;        /* ocupan todo el ancho disponible */
  height: auto;       /* mantienen proporción */
  object-fit: contain;
}



.slider-img {
  width: 100%;        
  max-width: 1000px;
  height: auto;
  object-fit: contain;
  display: block;
}

.sliderMiami-img {
  width: 100%;        
  max-width: 1000px;
  max-height: 900px;
  object-fit: contain;
  display: block;
}









/* === CTA BANNER === */
.cta-banner {
  background: url('../img/Banner.jpg') center/cover;
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
  position: relative;
}

.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
}

.cta-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}

.cta-pretitle {
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.cta-title {
  color: #fff;
  font-family: 'Helvetica Neue', sans-serif;
  font-style: normal;
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.cta-title strong {
  font-weight: bold;
}

.cta-button {
  display: inline-block;
  background: #E8D7C2;
  color: #5B3D2B;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #d1bfae;
}


/* === FOOTER === */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 1rem;
  background: #EEDFCF;
  color: #5B3D2B;
  font-family: 'Helvetica Neue', sans-serif;
}

.footer-links {
  flex: 1;
  min-width: 300px;
  font-size: 1.5rem;
}

.footer-links a {
  display: block;
  padding-left: 3rem;
  margin: 0.5rem 0;
  color: #5B3D2B;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-address {
  margin: 1.5rem 0;
  padding-left: 3rem;
  font-size: 1.5rem;
  line-height: 1.5;
}

.footer-social {
  display: flex;       /* convierte al contenedor en fila */
  gap: 0.8rem;         /* espacio entre cada enlace */
  align-items: center; /* los centra verticalmente */
  margin-left: 3rem;
}

.footer-social a {
  margin: 0;
  padding: 0;    
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-social a img {
  width: 28px;         /* ajusta al tamaño que quieras */
  height: auto;
  display: block;      /* elimina espacios blancos debajo de la imagen */
}



.footer-newsletter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;  
  gap: 1rem;                
  padding: 3rem 5rem;
  padding-right: 5rem;        
  background: #EEDFCF;
}

.footer-newsletter > * {
  max-width: 320px;  
  width: 100%;
}


.newsletter-title {
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-newsletter form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-newsletter input {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 0.5rem;
  font-size: 1rem;
  outline: none;
}

.footer-newsletter button {
  background: #E8D7C2;
  color: #5B3D2B;
  border: none;
  padding: 0.8rem;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
}

.footer-newsletter button:hover {
  background: #d1bfae;
}

.newsletter-note {
  font-size: 1rem;
  margin-top: 1rem;
}

/* === Responsive === */
@media (max-width: 768px) {
  .site-footer {
    flex-direction: column;
  }
  .cta-title {
    font-size: 1.5rem;
  }
}







/* Cada imagen siempre al 100% de su celda, altura proporcional */
.imagenes-lavalle img {
  width: 100%;
  height: auto;
  padding-left: 1rem;  
  padding-right: 1rem;
  padding-bottom: 1rem;
  max-height: 1500px;
  object-fit: cover;
  display: block;

}






/* Estructura base */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 1rem 2rem;
}

.header-item {
  flex: 1;
  display: flex;
  align-items: center;
}

/* Centrado especial solo en la del medio */
.header-item.center {
  justify-content: center;
}
.header-item.left {
  justify-content: flex-start;
}
.header-item.right {
  justify-content: flex-end;
}


/* Estética botón hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}
.hamburger .bar {
  height: 3px;
  width: 100%;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* Menú navegación */
.menu {
  display: flex;
  gap: 3rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  
}

@media (max-width: 768px) {
  /* Mostrar hamburguesa */
  .hamburger {
    display: flex;
  }

  /* Reorganizar menú */
:root { --header-h: 70px; } /* alto real del header en mobile */

header {
  position: fixed;
  top: 0;
  z-index: 1000;            /* por encima del panel */
  background: #EEDFCF;      /* tu color de header */
}

@media (max-width: 768px) {
  .menu {
    position: fixed;
    top: var(--header-h);    /* NO tapa el header */
    right: 0;
    height: calc(100vh - var(--header-h));
    width: 100vw;            /* pantalla completa; si querés drawer: 85vw o 320px */
    background: #EEDFCF;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    overflow-y: auto;
    z-index: 999;   
    justify-content: flex-start;
    left: 20%;

    /* estado cerrado: fuera de pantalla hacia la derecha */
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -10px 0 24px rgba(0,0,0,.18);
  }

  .menu a{border-bottom: 1px solid rgba(0,0,0,.08);}

  /* abierto: entra */
  .menu.show { transform: translateX(0); }

  /* Overlay detrás del panel, también respetando el header visible */
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: var(--header-h) 0 0 0; /* empieza debajo del header */
    background: rgba(0,0,0,.28);
    backdrop-filter: blur(2px);
    z-index: 998;
  }

  /* bloquear scroll del fondo */
  body.menu-open { overflow: hidden; }

  /* el botón hamburguesa (que se vuelve X) sigue en el header */
  .hamburger { display: flex; z-index: 1001; } /* por encima del panel */
}


}

@media (max-width: 768px) {
  .presupuesto-link-container {
    margin: 0;
    padding-top: 2rem;
    width: 100%;
  }
}

/* Footer: alineación a la izquierda en mobile */
@media (max-width: 768px){
  .site-footer{ padding: 2rem 1rem; }             /* mismo gutter que el resto */

  .footer-links a{ padding-left: 1rem; }          /* antes 3rem */
  .footer-address{ padding-left: 1rem; }          /* antes 3rem */
  .footer-social{ margin-left: 1rem; }            /* antes 3rem */

  .footer-newsletter{ padding: 2rem 1rem; }       /* antes 3rem 5rem */
}






/* =========================
   PROYECTOS — Responsive
   (pegar al FINAL del CSS)
   ========================= */

/* Tablet chica / desktop angosto */
@media (max-width: 1200px){
  .proyectos-header{ padding: 2.25rem 1rem; }
  .proyectos-titulo{ font-size: clamp(2rem, 3vw, 2.4rem); }
  .proyectos-subtitulo{ font-size: clamp(1.1rem, 2.2vw, 1.4rem); }
  .proyecto-author{ font-size: clamp(1rem, 2vw, 1.2rem); }
}

/* Tablet: grilla a 2, menos aire lateral */
@media (max-width: 1024px){
  .proyectos{ padding-left: 1rem; padding-right: 1rem; }
  .proyectos-row--3{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proyectos-row{ justify-content: stretch; }
  .proyecto-slider{ gap: .75rem; }
}

/* Mobile: tipografías y layout en columna, grilla a 2 */
@media (max-width: 768px){
  /* Encabezado: apilar y alinear a la izquierda */
  .proyectos-header{
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: .25rem;
    text-align: left;
    padding: 2rem 1rem;
  }
  .proyectos-titulo{ font-size: clamp(1.6rem, 6vw, 2rem); }
  .proyectos-subtitulo{ justify-self: start; font-size: clamp(1rem, 4.2vw, 1.15rem); }
  .proyecto-author{ justify-self: start; font-size: clamp(.95rem, 4vw, 1.05rem); }

  /* Filas: menos separación */
  .proyectos-row{ margin-bottom: 1.5rem; }

  /* Grilla de tarjetas: 2 columnas en mobile */
  .proyectos-row--3{ grid-template-columns: repeat(2, 1fr); }

  /* Tarjeta cuadrada (se mantiene 1:1) */
  .proyecto-card{ aspect-ratio: 1 / 1; }

  /* Slider: uno debajo del otro y full width */
  .proyecto-slider{
    flex-direction: column;
    gap: .75rem;
    margin-bottom: 1.5rem;
  }
  .slider-img{ max-width: 100%; }

  /* Imágenes sueltas: sin padding lateral para evitar scroll */
  .imagenes-lavalle img{
    padding-left: 0;
    padding-right: 0;
  }
}

/* Mobile chico: 1 columna para máxima legibilidad */
@media (max-width: 480px){
  .proyectos{ padding-left: .85rem; padding-right: .85rem; }
  .proyectos-header{ padding: 1.5rem .85rem; }
  .proyectos-row--3{ grid-template-columns: 1fr; }
}






/* divisores finitos como en el boceto */
.presu-div{ border:0; border-top:1px solid rgba(255,255,255,.35); margin: 1rem 0; }

/* títulos de bloque */
.legend{ font-weight:700; margin:.4rem 0 .6rem; }
.sublegend{ font-weight:600; opacity:.9; margin:.6rem 0 .4rem; }

/* grillas de opciones */
.checks, .radios{
  display:grid; gap:.4rem .8rem;
  grid-template-columns: repeat(2, minmax(0,1fr));
}
@media (max-width:640px){ .checks, .radios{ grid-template-columns: 1fr; } }

.inline{ display:flex; align-items:center; gap:.5rem; grid-column:1/-1; }
.small{
  width:220px; background:transparent; color:#fff;
  border:0; border-bottom:1px solid rgba(255,255,255,.35); padding:.5rem .2rem;
}

.consent{ display:flex; gap:.5rem; align-items:center; color:#ccc; margin:.6rem 0 1rem; }
.nota{ color:#ccc; text-align:center; margin-top:.6rem; }
