/* Sitio viejo de Weiss Chemicals — hoja propia.
   Escrita desde cero midiendo el sitio original en el navegador (15/nov/2026):
   colores, tamaños y posiciones. No se copió ninguna hoja de Squarespace.
   Las medidas del original crecen con el ancho de la pantalla; por eso casi
   todo va en vw. Corte entre celular y computadora: 768 px. */

@font-face { font-family: "Pontano Sans"; font-weight: 300 700; font-display: swap;
  src: url(/fuentes/pontano-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB; }
@font-face { font-family: "Pontano Sans"; font-weight: 300 700; font-display: swap;
  src: url(/fuentes/pontano-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Epilogue"; font-weight: 500; font-display: swap;
  src: url(/fuentes/epilogue-500-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB; }
@font-face { font-family: "Epilogue"; font-weight: 500; font-display: swap;
  src: url(/fuentes/epilogue-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }

:root {
  --oscuro: rgb(56, 56, 59);
  --boton: rgb(168, 166, 161);
  --margen: 6vw;
  /* escalas del original: (rem − 1) × 2.6vw + 1rem en celular, × 1.2vw en computadora */
  --k: 2.6vw;
  --t-p2: calc(16px + 0.4 * var(--k));
  --t-h4: calc(16px + 0.6 * var(--k));
  --t-h3: calc(16px + 1.2 * var(--k));
  --t-h2g: calc(16px + 1.8 * var(--k));
  --t-h1: calc(16px + 3 * var(--k));
  --cabecera: 82px;
}
@media (min-width: 768px) {
  :root { --margen: 4vw; --k: 1.2vw; --cabecera: 85px; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--oscuro); color: #000; font: 400 16px/24px "Pontano Sans", sans-serif; min-height: 100vh; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: "Epilogue", sans-serif; font-weight: 500; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.solo-lector { position: absolute; left: -10000px; }

.boton { display: inline-flex; align-items: center; justify-content: center; background: var(--boton); color: #fff;
  font: 400 16px "Pontano Sans", sans-serif; text-decoration: none; text-align: center; padding: 0 32px; border: 0; }
.boton:hover { opacity: 0.8; }

/* ───── Páginas de documentos (lotes y productos): sin cabecera ni pie ───── */
.doc { background: #fff; padding: 14.4vw var(--margen) 54px; text-align: center; }
.doc .logo { width: 100%; height: 62.4vw; object-fit: cover; margin-bottom: 11px; }
.doc p { font-size: var(--t-p2); line-height: 1.5; margin-bottom: 16px; }
.doc .botones { display: flex; flex-direction: column; align-items: center; gap: 11px; margin-top: -5px; }
.doc .boton { width: 160px; height: 59px; }
@media (min-width: 768px) {
  .doc { padding: 6.56vw 0 calc(15vw + 38px); }
  .doc .logo { width: 45.55vw; height: 13.36vw; margin: 0 auto 0.86vw; }
  .doc .botones { flex-direction: row; justify-content: space-between; width: 68.75vw; margin: 3.98vw auto 0; gap: 0; }
  .doc .boton { width: 14.6vw; height: 4.84vw; min-width: 120px; padding: 0 8px; }
}

/* ───── Cabecera (portada, About, Contact) ───── */
.cabecera { position: fixed; inset: 0 0 auto 0; height: var(--cabecera); background: #fff; z-index: 10;
  display: flex; align-items: center; justify-content: center; padding: 0 var(--margen); }
.cabecera .marca img { width: 202px; height: auto; }
.cabecera nav { display: none; }
.cabecera .hamburguesa { position: absolute; left: var(--margen); top: 23px; width: 50px; height: 37px; cursor: pointer; }
.cabecera .hamburguesa::before, .cabecera .hamburguesa::after { content: ""; position: absolute; left: 7px; width: 35px; height: 1px; background: #000; transition: transform .25s; }
.cabecera .hamburguesa::before { top: 13px; }
.cabecera .hamburguesa::after { top: 24px; }
#menu { position: absolute; opacity: 0; pointer-events: none; }
#menu:checked ~ .hamburguesa::before { transform: translateY(5.5px) rotate(45deg); }
#menu:checked ~ .hamburguesa::after { transform: translateY(-5.5px) rotate(-45deg); }
.menu-celular { display: none; position: fixed; inset: var(--cabecera) 0 0 0; background: #fff; z-index: 9;
  align-items: center; justify-content: center; }
#menu:checked ~ .menu-celular { display: flex; }
.menu-celular a { font-size: 8.5vw; line-height: 1.2; text-decoration: none; }
@media (min-width: 768px) {
  .cabecera { justify-content: space-between; }
  .cabecera .marca img { width: 23.3vw; min-width: 200px; }
  .cabecera nav { display: block; }
  .cabecera nav a { text-decoration: none; }
  .cabecera nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
  .cabecera .hamburguesa, #menu:checked ~ .menu-celular { display: none; }
}

/* ───── Secciones ───── */
.banda { position: relative; }
.banda.foto { background: #000; color: #fff; overflow: hidden; }
.banda.foto > img.fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banda.foto::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.15); }
.banda.foto > .dentro { position: relative; z-index: 1; }
.banda.blanca { background: #fff; }
.banda.oscura { background: var(--oscuro); color: #fff; }
.pantalla { height: 100vh; min-height: 480px; }

/* Portada */
.frase { padding: 96px 13px 95px; text-align: center; }
.frase h2 { font-size: var(--t-h3); line-height: 1.1136; }
.tres { padding: 27px var(--margen) 44px; }
.tres article { margin-bottom: 52px; }
.tres article:last-child { margin-bottom: 0; }
.tres img { width: 100%; height: 109vw; object-fit: cover; }
.tres article:nth-child(1) img { border-radius: 40px; }
.tres article:nth-child(2) img { border-radius: 500px; object-position: 53.5858% 96.8061%; }
.tres article:nth-child(3) img { border-radius: 10px 10px 400px 10px; height: 118.4vw; }
.tres h4 { font-size: var(--t-h4); line-height: 1.1712; margin: 16px 0 31px; }
.tres article:nth-child(n+2) h4 { margin-top: 28px; }
.tres article:nth-child(2) { margin-bottom: 64px; }
@media (min-width: 768px) {
  .frase { padding: 5.8vw 6.8vw 5.86vw; }
  .tres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9vw; padding: 3.3vw var(--margen) 3.3vw; }
  .tres article, .tres article:nth-child(2) { margin: 0; }
  .tres img, .tres article:nth-child(3) img { height: 33.2vw; }
  .tres h4, .tres article:nth-child(n+2) h4 { margin: 3.7vw 0 2.5vw; }
}

/* About */
.about-portada { padding: calc(var(--cabecera) + 89px) var(--margen) 88px; }
.about-portada .tarjeta { background: rgba(255, 255, 255, 0.55); -webkit-backdrop-filter: blur(34px); backdrop-filter: blur(34px);
  color: #000; text-align: center; padding: 9px 9px 11px; }
.about-portada h2 { font-size: var(--t-h2g); line-height: 1.1136; margin-bottom: 72px; }
.about-portada p { font-size: var(--t-p2); line-height: 1.5; }
.texto-centro { text-align: center; padding: 27px var(--margen) 79px; }
.texto-centro h3 { font-size: var(--t-h3); line-height: 1.1424; margin-bottom: 32px; }
.texto-centro .grande { font-size: var(--t-p2); line-height: 1.5; }
.texto-centro ul { margin: 16px 0 0; padding-left: 40px; font-size: var(--t-p2); line-height: 1.5; }
.texto-centro li { margin-bottom: 11px; }
.texto-centro li:last-child { margin-bottom: 0; }
.texto-centro.oscura { padding-bottom: 158px; }
.franja { height: 536px; }
.franja > img.fondo { object-position: 50.4498% 22.4014%; }
.infra { padding: 97px var(--margen) 62px; }
.infra .foto-infra { position: relative; height: 339px; margin-bottom: 11px; }
.infra .foto-infra img { width: 100%; height: 100%; object-fit: cover; object-position: 24.4654% 71.2045%; }
.infra h3 { font-size: var(--t-h3); line-height: 1.1424; margin-bottom: 32px; }
.infra p { font-size: var(--t-p2); line-height: 1.5; }
@media (min-width: 768px) {
  .about-portada { padding: 15.7vw 0 7.05vw; }
  .about-portada .tarjeta { width: 45.55vw; margin: 0 auto; padding: 1.7vw 1.37vw 2.7vw; }
  .about-portada h2 { margin-bottom: 5.7vw; }
  .texto-centro { padding: 3.67vw 0 3.9vw; }
  .texto-centro.oscura { padding-top: 3.28vw; }
  .texto-centro ul { list-style-position: inside; }
  .texto-centro li p { display: inline; }
  .texto-centro > *, .texto-centro ul { width: 68.75vw; margin-left: auto; margin-right: auto; }
  .texto-centro h3 { margin-bottom: 2.5vw; }
  .texto-centro.oscura { padding-bottom: 11.9vw; }
  .franja { height: 41.25vw; }
  .infra { display: grid; grid-template-columns: 41.7vw 41.7vw; column-gap: 8.6vw; align-items: center; padding: 9vw var(--margen) 3.3vw; }
  .infra .foto-infra { height: 41.7vw; margin: 0; }
  .infra .texto { padding-bottom: 2.9vw; }
  .infra h3 { margin-bottom: 2.6vw; }
}

/* Contact */
.contacto { background: #000; color: #fff; text-align: center; padding: 295px var(--margen) 0; }
.contacto h1 { font-size: var(--t-h1); line-height: 1.056; margin-bottom: 32px; }
.contacto .boton { height: 59px; margin-top: 34px; }
@media (min-width: 768px) {
  .contacto { padding-top: 267px; }
  .contacto h1 { margin-bottom: 31px; }
  .contacto p { width: 45.55vw; margin: 0 auto; }
  .contacto .boton { margin-top: 92px; }
}

/* Pie */
.pie { background: var(--oscuro); color: #fff; padding: 27px var(--margen) 27px; min-height: 416px; display: flex; flex-direction: column; }
.pie .ligas { margin: 116px 0 0 calc(50% + 5.5px); }
.pie .ligas p { margin-bottom: 16px; }
.pie .redes { display: flex; justify-content: flex-end; gap: 18px; margin-top: 30px; }
.pie .redes a { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.pie .redes svg { width: 27px; height: 27px; fill: #fff; }
@media (min-width: 768px) {
  .pie { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; min-height: 328px; padding: 42px var(--margen) 49px; align-content: start; }
  .pie .ligas { grid-area: 1 / 1; margin: 0; }
  .pie .derechos { grid-area: 2 / 1; margin-top: -14px; }
  .pie .redes { grid-area: 1 / 2; margin: 0; align-self: start; justify-content: end; }
}
