/* 🔁 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;
  padding-right: 7rem;
}


.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;
}


/* SECCION MENU PROYECTOS*/

.proyectosIntro {
  width: 100%;
  padding: 2rem 1rem;
}

.tittleProyectos {
  text-align: left;
  font-size: 2.6rem;
  font-family: 'Host Grotesk', sans-serif;
  color: #5b3d2b;
  padding-left: 1rem;
  padding-top: 3rem;
}

.fraseProyectosContenedor {
  text-align: right;
  padding-right: 2rem;
}

.fraseProyectos {
  color: #5b3d2b;
  font-family: 'Host Grotesk', sans-serif;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.5;
}




/* Contenedor general */
.proyectos {
  max-width: 1700px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background-color: #EEDFCF; /* color de fondo */
}

/* Grid responsive: hasta 3 columnas */
.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Cada tarjeta (enlace) */
.proyecto-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

/* Thumb cuadrado */
.proyecto-thumb {
  position: relative;
  width: 100%;
  padding-bottom: 100%;  /* esto fuerza un contenedor 1:1 */
  overflow: hidden;
  border-radius: 8px;
}
.proyecto-thumb img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

}
/* .proyecto-thumb:hover img {
  transform: translateY(-12px);
  transition: transform 0.2s ease;
  border-radius: 8px;
} */

/* Texto debajo de la imagen */
.proyecto-info {
  margin-top: .5rem;
  font-family: 'Host Grotesk', sans-serif;
}
.proyecto-nombre {
  font-weight: bold;
  margin-bottom: .25rem;
}
.proyecto-lugar {
  font-size: .9rem;
  opacity: .8;
}
.proyecto-lugar span {
  display: block;
  font-weight: bold;
  opacity: 1;
}


/* ----------------------------
   Hover circle “Ver proyecto”
   ---------------------------- */
.proyecto-thumb {
  position: relative;
  overflow: hidden;
}

.overlay-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: rgba(0,0,0,1);
  color: white;
 font-family: 'Host Grotesk', sans-serif;
  font-weight: bold;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}





/* === 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;
  }
}




/* MENU HAMBURGUESA */


/* 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%;
  }
}

/* ====== FIX: evitar scroll horizontal en mobile ====== */
html,
body { overflow-x: hidden; }

/* ===== Loops: mantener frames en 100vw y evitar scroll lateral ===== */

/* cada imagen ocupa exactamente el ancho del viewport */
.loop-scroll img,
.loop-scroll2 img {
  width: 100vw;
  height: auto;
  flex: 0 0 auto;
  max-width: none;
}

/* el contenedor NO aporta padding horizontal y recorta cualquier desborde */
.loop-contenedor,
.loop-contenedor2 {
  padding-left: 0;
  padding-right: 0;
  overflow-x: clip;     /* evita scroll por transform/100vw sin afectar el layout */
}

@supports not (overflow-x: clip) {
  .loop-contenedor,
  .loop-contenedor2 { overflow-x: hidden; }
}

/* pequeña compensación por redondeos de 100vw en iOS/Android que crean 1-2px de “gap” */
.loop-scroll,
.loop-scroll2 {
  will-change: transform;
  margin-left: calc((100% - 100vw) / 2);
  margin-right: calc((100% - 100vw) / 2);
}


/* 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 */
}


/* 📱 Ajuste para que en mobile la grilla de proyectos tenga 2 columnas */
@media (max-width: 768px) {
  .proyectos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem; /* opcional: menos espacio entre imágenes */
  }
}


/* 📱 Ajustes responsive para Proyectos */
@media (max-width: 768px) {
  /* Título principal */
  .tittleProyectos {
    font-size: clamp(1.6rem, 4.5vw + 0.6rem, 2rem);
    padding-left: 1rem; /* igual que tenías */
    padding-top: 2rem;
    padding-bottom: 0.5rem;
  }

  .fraseProyectos {
    font-size: clamp(1rem, 2.8vw + 0.4rem, 1.2rem);
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  /* Grid → 1 columna en móviles muy chicos */
  .proyectos-grid {
    grid-template-columns: 1fr;
  }

  .tittleProyectos {
    font-size: 1.8rem;
  }

  .fraseProyectos {
    font-size: 1rem;
  }
}



.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1100;
}

.whatsapp-icon {
  width: 56px;   /* ajustá al tamaño que quieras */
  height: auto;
  display: block;
}

.whatsapp-float:hover .whatsapp-icon {
  transform: scale(1.05);
  transition: transform .2s ease;
}





/* 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; }
