/* Fuentes corporativas */


@import url('https://fonts.googleapis.com/css2?family=Lato:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Orbitron:wght@400..900&family=Special+Elite&family=Stack+Sans+Notch:wght@200..700&display=swap');

/* =========================================================
   Estudio Manfreda Colores Corporativos
   ========================================================= */
:root {
  --azul_manfreda:#007388; /*Color para logo, y enlaces corporativos.*/
  --verde_manfreda:#1cb097; /*Segundo color corporativo. Detalles de checkbox, y casillas*/
  --gris_manfreda:#7d7b80; /*Gris claro para fondos y textos*/
  --perl:#FCFCF7;
  --blanco_humo:#f5f5f5; /*Fondo para contrastes sutiles*/
  --gris_texto:#212121; /*Gris para fondos alto contraste*/
  --oscuro:#0c2b31;
  --borde:#e3e1dc; /*Bordes sutiles para formularios y botones*/
  --Terracota : #D85A30; /*Llamados a acción. Uno por página para que no compita con el azul manfreda*/ 
  --negro: rgba(28, 26, 23, 0.16);
  --header-h: 80px;
  --footer-h: 51px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

/*Formato del cuerpo*/
body {
  
  font-family: "Lato", sans-serif;
  color: var(--gris_texto);
  background: white;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; } /*Le quito la decoración a los enlaces y el color por defectos*/
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; }
img { max-width: 100%; display: block; } /*La doy formato a las imágenes*/

:focus-visible {
  outline: 3px solid var(--borde);
  outline-offset: 2px;
}

/* =========================================================
   Header (fijo)
   ========================================================= */
.site-header {
  height: var(--header-h); /*Altura del Header*/
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gris_texto);
  border-bottom: 1px solid var(--gray-light);
}

.logo img{height: 20px; } /*Altura del Logo en el header*/


/* =========================================================
   Layout principal: header y footer fijos, contenido entre
   medio con altura fija. La columna izquierda NO scrollea;
   la columna derecha (negra) scrollea de forma independiente.
   ========================================================= */
.site-main {
  width: 69vw;
  margin: 0 auto;
  height: calc(100vh - var(--header-h) - var(--footer-h));
  display: flex;
  overflow: hidden;
}
.site-cel{
  display: none; 
}

.col-left,
.col-right {
  height: 100%;
}

.col-left {
  width: 45%;
  min-width: 380px;
   overflow-y: auto; 
   overflow-x: hidden;
  /*overflow: hidden; /* el menú y el formulario no se mueven */
  display: flex;
  flex-direction: column;
  padding: 12px 40px 0;
}

.col-right {
  width: 55%;
  background: var(--gris_texto);
  color: var(--white);
  overflow-y: auto;      /* único elemento que scrollea */
  overflow-x: hidden;
  padding: 48px 56px;
  scroll-behavior: smooth;
}

.col-right.is-loading { opacity: 0.6; }

.contacto_2{
    display: none;
}

.contacto_1{
    display: block;
}
/* =========================================================
   Hero
   ========================================================= */
.hero__title {
  font-family: "Stack Sans Notch", sans-serif;
  font-weight: 700;
  font-size: 60px;
  line-height: 1.05;
  color: var(--azul_manfreda);

}

.hero__subtitle {
  margin-top: 5px;
  font-size: 22px;
  line-height: 1.4;
  color: var(--gris_texto);
}

/* =========================================================
   Menú
   ========================================================= */
.menu {
  display: flex;
  gap: 56px;
  margin-top: 0px;
}

.menu__heading {
  display: block;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 5px;
}
.menu__link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 16px;
  color: var(--text-soft);
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}

.descarga {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-size: 16px;
    padding-top: 5px;
    padding-bottom: 5px;
    
}

.catalogo {
    width: 18 px; /* ajusto el tamaño del icono */
    height: 18px;
}

.descarga:hover{
  color: var(--Terracota);
}
.menu__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  object-fit: contain;
}

.menu__link:hover { color: var(--Terracota); }

.menu__link.is-active {
  color: var(--gris_texto);
  font-weight: 600;
  border-color: var(--teal);
}

.menu__col ul li { margin-bottom: 3px; }


/* =========================================================
   Panel negro — contenido dinámico
   ========================================================= */

.panel-content h2 {
  font-family: "Stack Sans Notch", sans-serif;
  color: var(--blanco_humo);
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 21px;
  text-align: center;
}

.panel-content p {
  font-family: 'Lato',serif;
  font-size: 18px;
  text-align: justify;
  line-height: 1.65;
  color: var(--blanco_humo);
  margin: 0 0 16px;
}

.panel-content ul{
  
  list-style-image: url('/assets/img/icon/hand.svg');
  

}
.panel-content__list {
  

    font-size: 16px;
   padding-left: 35%;
  
 
}

.panel-content__list li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--blanco_humo);
  
  margin-bottom: 6px;
}

.panel-content__figure {
  margin-top: 28px;
  border-radius: 4px;
  overflow: hidden;
}

.panel-content__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.project-card img {
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #2b2b2b;
}

.project-card h3 {
  font-size: 20px;
  margin-top: 10px;
}

.project-card p {
  font-size: 16px;
  color: #a8a8a8;
  margin: 2px 0 0;
}

.faq-item {
  border-top: 1px solid #333;
  padding: 18px 0;
 
}

.faq-item:first-of-type { border-top: none; }


.faq-item h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.visible {
    display: flex;
}

.modal-box {
    position: relative;
    width: min(700px, 90vw);
    height: min(600px, 85vh);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-cerrar {
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 1;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
/* =========================================================
   Footer (fijo)
   ========================================================= */
.site-footer {
  height: var(--footer-h);
  width: 68vw;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 40px;
  border-top: 1px solid var(--gray-light);
  font-size: 16px;
  color: var(--text-soft);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a:hover { color: var(--teal-dark); }

.footer__social {
  display: flex;
  gap: 14px;
}

.nav-link img{
  width: 25px;
  height: auto;
}

.footer__social a { color: var(--text); }
.footer__social a:hover { color: var(--teal); }

.footer__copy { white-space: nowrap; }

.fiscal img{
  width: 32px;
  height: auto;
}

/* =========================================================
   Responsive: por debajo de 900px se apila todo y la página
   vuelve a scrollear de forma normal (el layout de dos
   columnas con paneles fijos es una interacción de escritorio).
   ========================================================= */
@media (max-width: 900px) {
  html, body { height: auto; }

  .site-header { position: static; }

  .site-main {
    height: auto;
    flex-direction: column;
    overflow: visible;
  }

  .contacto_1{
    display: none;
  }
    .contacto_2{ 
    display: block;
    max-width: 60vw;
    margin:  0 auto;
  } 
 
  .col-left,
  .col-right {
    width: 100%;
    height: auto;
    overflow: visible;
  }

  .col-left { min-width: 0; padding: 24px 20px 0; }

  .contact {
    margin-left: -20px;
    margin-right: -20px;
    padding: 20px;
  }

  .contact__body { flex-direction: column; }
  .contact__info { width: 100%; }

  .col-right { padding: 32px 20px; }

  .panel-content__grid { grid-template-columns: 1fr; }

  .menu { flex-wrap: wrap; gap: 12px 32px; }

  /* evita que iOS haga zoom automático al enfocar un input con font-size < 16px */
  .field input[type="text"],
  .field input[type="email"],
  .field textarea {
    font-size: 18px;
  }

  .site-footer {
    height: auto;
    flex-wrap: wrap;
    padding: 16px 20px;
  }

  .panel-content h2 {
  
  font-size: 30px;
  
}
}

/* Celulares chicos: todo un poco más compacto y el menú en una sola columna */
@media (max-width: 600px) {
  :root { --header-h: 68px; }

  .logo { font-size: 22px; }

  .col-left { padding: 20px 16px 0; }

  .hero__title { font-size: 28px; }
  .hero__subtitle { font-size: 14px; }

  .menu { flex-direction: column; gap: 18px; }

  .contacto_2 {
   margin: 0 auto;
   padding: 18px 16px; }
  .contact { margin-left: -16px; margin-right: -16px; padding: 18px 16px; }
  .col-right { padding: 28px 16px; }

  .site-footer { justify-content: center; text-align: center; }
  .footer__copy { white-space: normal; }
}