/* 🔁 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-family: 'Host Grotesk', sans-serif;
  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;
}




/* ===== Sección “Nosotros” ===== */
.nosotros {
  background-color: #633e23;
  color: #EEDFCF;
  font-family: 'MuseoModerno', sans-serif;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* --- Parte de la cita --- */
.seccion-nosotros {
  background-color: #633e23;
  padding: 4rem 2rem;
}

.nosotros-cita {
  display: flex;
  align-items: center;
  justify-content: center;   /* centra ambos bloques */
  gap: 3rem;                  /* espacio entre dibujo y texto */
  max-width: 1200px;
  margin: 0 auto;
}



.nosotros-cita-illu img {
  width: 100%;
  max-width: 1200px;           /* límite razonable */
  height: auto;
  display: block;

}
.nosotros-cita-texto {
  flex: 0 0 25%;              /* ocupa 25% del ancho */
  color: #EEDFCF;
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 900;            /* más ancho */
  letter-spacing: 0.05rem;      /* amplia un poco las letras */
  font-size: 1.4rem;          /* tamaño cómodo de lectura */
  line-height: 1.4;
  text-align: left;           /* pegado al dibujo */
  margin: 0;
}






/* --- Contenido principal --- */
.porque .nosotros-contenido {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  
}

/* Título “¿Por qué perspecta?” */
.porque-titulo {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  color: #EEDFCF;
  margin-bottom: 0rem;
  padding-bottom: 1rem;
}
.porque-titulo span {
  font-weight: 700;
}

/* Grid para texto + dibujo */
.nosotros-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

/* Párrafos del texto */
.nosotros-texto p {
  font-family: 'Host Grotesk', sans-serif;
  margin: 0 0 1rem;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.2;
}

/* Ilustración final de la sección */
.nosotros-illu img {
  width: 200%;
  max-width: 680px;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* =============
   RESPONSIVE
   ============= */
@media (max-width: 768px){
  .nosotros-cita-texto h1{
    font-size: clamp(1.1rem, 4.6vw, 1.3rem);
    line-height: 1.25;
    text-align: center;      /* opcional */
    max-width: 32ch;         /* ajustá a 28–34ch para lograr 3 líneas exactas */
    margin: 0 auto;          /* centrar el bloque */
  }
  .nosotros-cita-texto h1 span{ 
    display: inline; 
  }
  /* agrega espacio entre spans cuando son inline */
  .nosotros-cita-texto h1 span::after{ content: " "; }
  .nosotros-cita-texto h1 span:last-child::after{ content: ""; }
}



/*––– Sección “Nuestro equipo” –––*/
.nosotros-equipo {
  background-color: #633e23;
  color: #EEDFCF;
  font-family: 'Host Grotesk', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Lista de roles en una sola columna, centrada */
.equipo-lista {
  list-style: none;
  padding: 0;
  display: grid;
  row-gap: 1.5rem;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.4;
}

/* Bloque imagen + headline */
.equipo-fold {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}
.equipo-illu img {
  width: 100%;
  max-width: 600px;
  display: block;
  border-radius: 8px;
}
.equipo-titulo2 {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: 'MuseoModerno', sans-serif;
  color: #EEDFCF;
  line-height: 1.2;
  margin: 0;
}
.equipo-titulo2 strong {
  display: block;
  margin-top: 0.5rem;
}



.equipo-relaciones {
  max-width: 700px;        /* o el ancho que necesites */
  margin: 2rem auto 0;     /* 2rem de separación arriba, centrado horizontal */
  padding: 0 1rem; 
  text-align: left;
  font-size: 1.3rem;
  line-height: 1.3;
  display: grid;
}
.equipo-relaciones p {
  margin: 0;
}
.equipo-relaciones strong {
  font-weight: 900;
}

.equipo-relaciones p:last-child {
  grid-column: 1 / -1;       /* ocupa ambas “columnas” del grid */
  max-width: 700px;          /* ancho máximo razonable */
  margin: 1rem auto 0;       /* 2rem de espacio arriba, centrado horizontalmente */
  text-align: left;          /* alineado a la izquierda dentro de ese bloque */
}

.nosotros3 img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  padding: 4rem 2rem;
  object-fit: contain;
  max-height: 700px;
  display: block;
}

/* Responsive: apilar en móvil */
@media (max-width: 768px) {
  .equipo-fold,
  .equipo-relaciones {
    grid-template-columns: 1fr;
  }
  .equipo-lista {
    font-size: 1rem;
  }
  .equipo-titulo2 {
    font-size: 2rem;
  }
}



.final-section {
  background-color: #3B281B;
  color: #EEDFCF;
  padding: 4rem 2rem;
}

.final-content {
  max-width: 800px;
  margin: 0 auto;       /* centra el bloque en la página */
  text-align: left;     /* alinea el texto a la izquierda */
  padding: 0 1rem;      /* opcional, para respirar en móvil */
}

.final-content h2 {
  font-family: 'MuseoModerno', sans-serif;
  color: #EEDFCF;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 1rem;   
}

.final-content p {
  font-family: 'Rubik', sans-serif;
  font-size: 1.1rem;
  line-height: 1.5;     /* un poco más compacto */
  margin: 0.25rem 0;    /* menos espacio entre oraciones */
}

/* los párrafos intermedios más tenues */
.final-content p.subtle {
  color: #85614b;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
  
}

/* el último párrafo destacado */
.final-content p.highlight {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0.5rem 0 1.5rem;
}

/* botón centrado */
.btn-consulta {
  display: block;
  width: max-content;
  margin: 2rem auto 0;
  padding: 0.8rem 2rem;
  border: 1px solid #EEDFCF;
  border-radius: 30px;
  color: #EEDFCF;
  text-decoration: none;
  font-family: 'Rubik', sans-serif;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}

.btn-consulta:hover {
  background-color: #EEDFCF;
  color: #633e23;
}




/* === 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%;
  }
}

/* ============================
   NOSOTROS – ajustes responsive
   ============================ */

/* Tamaños fluidos (evita textos gigantes en móvil) */
.porque-titulo{
  font-size: clamp(1.8rem, 3.5vw + 1rem, 3rem);
}
.nosotros-texto p{
  font-size: clamp(1rem, 1.2vw + 0.9rem, 1.5rem);
  line-height: 1.5;
}
.nosotros-cita-texto{
  font-size: clamp(1rem, 0.8vw + 0.9rem, 1.4rem);
}

/* Tablet: reducimos padding y acomodamos grillas */
@media (max-width: 1024px){
  .nosotros,
  .seccion-nosotros{ padding: 3rem 1.5rem; }

  .nosotros-body{
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .equipo-fold{
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Móvil: apilar, centrar y limitar anchos para lectura cómoda */
@media (max-width: 768px){
  /* OJO: .nosotros-cita es FLEX, no grid */
  .nosotros-cita{
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .nosotros-cita-texto{
    flex: 0 1 auto;
    max-width: 42ch;         /* evita renglones larguísimos */
    margin: 0 auto;
    text-align: center;
  }

  .nosotros-cita-illu img,
  .nosotros-illu img{
    max-width: 520px;
    width: 100%;
    height: auto;
  }

  .nosotros,
  .seccion-nosotros{ padding: 2.25rem 1rem; }

  .equipo-lista{ font-size: 1rem; }
  .equipo-titulo2{ font-size: clamp(1.4rem, 3.5vw + .6rem, 2rem); }

  .equipo-relaciones{
    padding: 0 1rem;
    font-size: 1.05rem;
    line-height: 1.45;
  }

  .final-section{ padding: 3rem 1rem; }
  .final-content{ padding: 0; }
  .final-content h2{
    font-size: clamp(1.2rem, 3.5vw + .6rem, 1.6rem);
  }
  .final-content p{
    font-size: 1rem;
    line-height: 1.5;
  }
  .final-content p.subtle,
  .final-content p.highlight{
    font-size: clamp(1.1rem, 3.5vw + .5rem, 1.4rem);
    line-height: 1.4;
  }
}

/* Móviles muy chicos: un poco más de aire */
@media (max-width: 420px){
  .nosotros,
  .seccion-nosotros{ padding: 1.75rem .85rem; }
  .nosotros-texto p{ line-height: 1.55; }
}


/* 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 */
}



.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; }
