/* =========================================================
   Triturados Puerto Blanco — hoja de estilos
   Réplica fiel del diseño original (Elementor, 2025):
   medidas, colores y tipografías tomados de la web en vivo.
   ========================================================= */

@font-face { font-family: "Prompt"; font-weight: 200; font-display: swap; src: url("../fonts/prompt-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: "Prompt"; font-weight: 300; font-display: swap; src: url("../fonts/prompt-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Prompt"; font-weight: 400; font-display: swap; src: url("../fonts/prompt-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Prompt"; font-weight: 500; font-display: swap; src: url("../fonts/prompt-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Prompt"; font-weight: 600; font-display: swap; src: url("../fonts/prompt-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Prompt"; font-weight: 700; font-display: swap; src: url("../fonts/prompt-latin-700-normal.woff2") format("woff2"); }

:root {
  --azul: #2554B2;
  --azul-oscuro: #152D5F;
  --gris-oscuro: #2D3543;
  --gris-texto: #6E737D;
  --gris-medio: #A8B0BD;
  --gris-borde: #DADEE7;
  --fondo-claro: #F4F6FB;
  --fondo-fila: #E8ECF4;
  --rojo: #B03A2E;
  --negro-pie: #1F2631;
  --sombra: 0 6px 66px -32px rgba(45, 53, 67, .18);
  --ancho: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 300 16px/1.5 "Prompt", sans-serif; color: var(--gris-texto); background: #fff; }
img, video { max-width: 100%; display: block; }
a { color: var(--azul); text-decoration: none; transition: color .3s; }
h1, h2, h3, h4, h5 { font-weight: 600; margin: 0; }
p { margin: 0 0 14px; }
ul { margin: 0; padding: 0; list-style: none; }
.contenedor { width: min(var(--ancho), 100% - 40px); margin-inline: auto; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografía de secciones ---------- */
.antetitulo { display: block; font-size: 16px; font-weight: 600; line-height: 24px; letter-spacing: 3px; text-transform: uppercase; color: var(--rojo); margin-bottom: 8px; }
.titulo { font-size: 50px; font-weight: 600; line-height: 1.1; color: var(--azul-oscuro); }
.titulo-2 { font-size: 38px; font-weight: 600; line-height: 1.1; color: var(--gris-oscuro); }
.centrado { text-align: center; }

/* ---------- Botones ---------- */
.boton {
  display: inline-block; max-width: 100%; text-align: center; padding: 15px 30px; border-radius: 4px; border: 1px solid var(--azul);
  background: var(--azul); color: #fff; cursor: pointer;
  font: 700 11px/1.5 "Prompt", sans-serif; letter-spacing: 3px; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}
.boton:hover { background: var(--azul-oscuro); border-color: var(--azul-oscuro); color: #fff; }
.boton--pequeno { padding: 12px 24px; border: 0; }
.boton--blanco { background: transparent; border-color: #fff; color: #fff; }
.boton--blanco:hover { background: #fff; color: var(--azul-oscuro); border-color: #fff; }
.leer-mas { font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: 3px; text-transform: uppercase; color: var(--rojo); }

/* ---------- Cabecera ---------- */
.cabecera { position: fixed; inset: 0 0 auto; z-index: 50; height: 100px; transition: background .4s; }
.cabecera .barra { height: 100%; padding: 0 8%; display: flex; align-items: center; gap: 40px; }
.cabecera .logo img { width: 240px; height: auto; }
.cabecera .logo .logo-color { display: none; }
.menu { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 36px; white-space: nowrap; }
.menu > ul { display: flex; gap: 36px; }
.menu a { font-size: 16px; font-weight: 500; line-height: 24px; color: #fff; padding: 5px 0; display: inline-block; }
.menu a:hover { color: #c9d4ee; }
.idiomas { position: relative; }
.idiomas summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 500; color: #fff; }
.idiomas summary::-webkit-details-marker { display: none; }
.idiomas summary .flecha { width: 10px; height: 10px; margin-left: 4px; }
.bandera { width: 18px; height: 12px; display: inline-block; vertical-align: middle; }
.idiomas ul { position: absolute; top: 34px; left: 0; background: #fff; min-width: 170px; box-shadow: 0 6px 20px rgba(0,0,0,.12); padding: 6px 0; }
.idiomas ul a { color: var(--azul-oscuro); display: flex; align-items: center; gap: 8px; padding: 6px 16px; font-size: 15px; }
.idiomas ul a:hover { background: var(--fondo-claro); color: var(--azul); }
.menu .boton { padding: 12px 24px; border: 0; margin-left: 10px; font-size: 11px; font-weight: 700; line-height: 1.5; color: #fff; }
.menu .boton:hover { color: #fff; }
/* En portada: transparente con letras blancas; al bajar, azul */
.con-portada .cabecera.solida { background: rgba(21, 45, 95, .92); }
/* En páginas interiores: blanca con logotipo a color */
.interior .cabecera { background: rgba(255, 255, 255, .9); box-shadow: 0 0 20px rgba(0,0,0,.05); }
.interior .cabecera .logo-blanco { display: none; }
.interior .cabecera .logo .logo-color { display: block; }
.interior .menu > ul a, .interior .idiomas summary { color: var(--azul-oscuro); }
.interior .menu > ul a:hover { color: var(--azul); }
.boton-menu { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.boton-menu span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: .25s; }
.interior .boton-menu span { background: var(--azul-oscuro); }

@media (max-width: 1100px) {
  .cabecera { height: 80px; }
  .cabecera .barra { padding: 0 20px; }
  .cabecera .logo img { width: 190px; }
  .boton-menu { display: block; }
  .menu { position: fixed; inset: 80px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--azul-oscuro);
          padding: 10px 24px 26px; transform: translateY(-130%); transition: transform .35s; max-height: calc(100vh - 80px); overflow: auto; }
  .menu > ul { flex-direction: column; gap: 0; }
  .menu > ul a, .interior .menu > ul a { color: #fff; display: block; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .idiomas { padding: 13px 0; }
  .interior .idiomas summary { color: #fff; }
  .idiomas ul { position: static; background: none; box-shadow: none; }
  .idiomas ul a { color: #fff; padding: 6px 0; }
  .menu .boton { margin: 14px 0 0; text-align: center; }
  .menu-abierto .menu { transform: none; }
  .menu-abierto .cabecera { background: var(--azul-oscuro); }
  .interior.menu-abierto .cabecera { background: #fff; }
}

/* ---------- Portada con vídeo ---------- */
.portada { position: relative; height: 100vh; min-height: 560px; display: grid; place-items: center; overflow: hidden; background: #24324d center / cover no-repeat; }
.portada video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portada::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .25); }
.portada .contenido { position: relative; z-index: 1; text-align: center; padding: 0 40px; }
.portada h1 { font-size: 68px; line-height: 1; color: #fff; margin-bottom: 40px; }

/* ---------- Valores ---------- */
.valores { padding: 90px 0 80px; }
.valores .titulo { margin-bottom: 40px; }
.tarjetas-valores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 39px; }
.tarjeta-valor { background: #fff; box-shadow: var(--sombra); padding: 48px 30px; text-align: center; }
.tarjeta-valor img { width: 88px; height: 88px; margin: 0 auto 24px; }
.tarjeta-valor h3 { font-size: 21px; line-height: 1.4; color: var(--gris-oscuro); margin-bottom: 14px; }
.tarjeta-valor p { margin: 0; }

/* ---------- Sectores (4 columnas a todo el ancho) ---------- */
.sectores { padding: 60px 0 80px; }
.sectores .titulo { margin-bottom: 40px; }
.franja-sectores { display: grid; grid-template-columns: repeat(4, 1fr); }
.sector-col .foto { height: 350px; overflow: hidden; }
.sector-col .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s; }
.sector-col:hover .foto img { transform: scale(1.2); }
.sector-col .texto { padding: 35px; }
.sector-col h3 { font-size: 22px; line-height: 1.2; color: var(--azul-oscuro); margin-bottom: 20px; }
.sectores .acciones { text-align: center; margin-top: 20px; }

/* ---------- Quiénes somos (bloque con sombra) ---------- */
.quienes { padding: 60px 0 100px; }
.bloque-quienes { box-shadow: var(--sombra); }
.fila-quienes { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; }
.fila-quienes .foto { overflow: hidden; }
.fila-quienes .foto img { width: 100%; height: 100%; object-fit: cover; }
.fila-quienes .texto { padding: 64px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.fila-quienes .titulo { margin-bottom: 30px; }
.fila-quienes p { margin-bottom: 40px; }
.fila-quienes .azul { background: var(--azul-oscuro); }
.fila-quienes .azul .titulo { color: #fff; }
.checks li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.checks li svg { position: absolute; left: 0; top: 6px; width: 12px; height: 12px; color: var(--rojo); }
.fila-quienes .azul .checks { color: #fff; margin-bottom: 40px; }

/* ---------- Cifras ---------- */
.franja-gris { background: var(--fondo-claro); padding: 80px 0 128px; }
.franja-gris .titulo { max-width: 1000px; margin: 0 auto; }
.cifras { margin-top: -128px; position: relative; z-index: 1; }
.caja-cifras { background: #fff; box-shadow: var(--sombra); padding: 48px 0; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.cifra .numero { display: inline-flex; align-items: center; gap: 12px; font-size: 60px; font-weight: 600; line-height: 1.1; color: var(--azul-oscuro); }
.cifra .numero svg { width: 46px; height: 46px; color: var(--gris-medio); }
.cifra .etiqueta { display: block; font-size: 21px; font-weight: 500; color: var(--gris-texto); }

/* ---------- Presencia global ---------- */
.mapa { position: relative; height: 750px; margin-top: -105px; background: #0a1017 center / cover no-repeat; }
.mapa .caja { position: absolute; right: 0; top: 225px; width: 400px; background: rgba(0, 0, 0, .72); padding: 30px 50px; }
.mapa .antetitulo { font-size: 14px; }
.mapa li { position: relative; padding-left: 28px; color: #fff; font-size: 21px; font-weight: 400; line-height: 1.8; }
.mapa li svg { position: absolute; left: 0; top: 13px; width: 13px; height: 13px; color: var(--rojo); }

/* ---------- Blog en portada ---------- */
.blog-portada { padding: 90px 0 100px; }
.blog-portada .titulo { margin-bottom: 50px; }
.rejilla-blog { display: grid; grid-template-columns: 616px 1fr; gap: 50px; }
.destacada { position: relative; min-height: 680px; background: #ddd center / cover no-repeat; }
.destacada .tarjeta { position: absolute; left: 48px; right: 48px; bottom: 90px; background: #fff; padding: 40px 48px; }
.entrada-lista { display: grid; grid-template-columns: 202px 1fr; gap: 30px; margin-bottom: 40px; }
.entrada-lista .foto img { width: 202px; height: 202px; object-fit: cover; }
.entrada h3 { font-size: 21px; line-height: 1.4; color: var(--azul-oscuro); margin-bottom: 18px; }
.entrada h3 a { color: inherit; }
.entrada h3 a:hover { color: var(--azul); }
.fecha { display: block; font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gris-medio); margin-bottom: 14px; }
.entrada p { margin-bottom: 14px; }

/* ---------- Llamada sobre foto (¿Sabías que…? / ¿Interesado…?) ---------- */
.llamada { position: relative; height: 550px; background: #333 center / cover no-repeat; }
.llamada::before { content: ""; position: absolute; inset: 0; background: rgba(21, 45, 95, .2); }
.llamada .caja { position: absolute; top: 0; bottom: 0; left: 80px; width: 650px; padding: 0 50px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: rgba(21, 45, 95, .79); color: #fff; }
.llamada--gris .caja { background: rgba(45, 53, 67, .71); }
.llamada .titulo { color: #fff; margin-bottom: 30px; }
.llamada p { margin-bottom: 30px; }

/* ---------- Contacto ---------- */
.contacto { padding: 100px 0; }
.contacto .contenedor { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contacto .izquierda { text-align: center; }
.contacto .titulo { margin-bottom: 30px; }
.contacto .nota { display: flex; gap: 18px; align-items: center; justify-content: center; text-align: left; }
.contacto .nota svg { flex: none; width: 46px; height: 46px; color: var(--gris-texto); }
.formulario { display: grid; gap: 22px; }
.formulario input[type=text], .formulario input[type=email], .formulario textarea {
  width: 100%; background: var(--fondo-claro); border: 2px solid var(--fondo-fila); border-radius: 3px; padding: 8px 16px;
  font: 400 15px/21px "Prompt", sans-serif; color: #1f2124; min-height: 41px;
}
.formulario textarea { height: 100px; resize: vertical; }
.formulario ::placeholder { color: var(--gris-texto); opacity: 1; }
.formulario .casilla { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #1f2124; }
.formulario .boton { width: 173px; border: 0; }
.formulario .trampa { position: absolute; left: -9999px; }
.aviso-formulario { font-size: 14px; padding: 10px 14px; border-radius: 3px; }
.aviso-formulario.ok { background: #e6f4ea; color: #1e6b35; }
.aviso-formulario.error { background: #fbeaea; color: #8a2a20; }

/* ---------- Pie ---------- */
.pie { background: var(--gris-oscuro); color: var(--gris-medio); }
.pie .columnas { padding: 90px 0 80px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.pie .marca { position: relative; text-align: center; }
.pie .marca::before { content: ""; position: absolute; inset: -40px 0; background: url("../img/mapa-pie.png") center / contain no-repeat; opacity: .06; }
.pie .marca > * { position: relative; }
.pie .marca img { width: 295px; margin: 0 auto 22px; }
.pie .lema { font-size: 14px; font-weight: 600; text-transform: uppercase; color: var(--gris-medio); }
.pie h3 { font-size: 21px; color: #fff; margin-bottom: 14px; }
.pie li { margin-bottom: 8px; }
.pie a { color: var(--gris-borde); }
.pie a:hover { color: #fff; }
.pie .datos li { display: flex; gap: 10px; color: var(--gris-medio); }
.pie .datos svg { flex: none; width: 14px; height: 14px; margin-top: 5px; color: var(--gris-medio); }
.pie .datos a { color: var(--gris-medio); }
.pie .inferior { background: var(--negro-pie); }
.pie .inferior .contenedor { width: min(1360px, 100% - 40px); min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pie .inferior p { margin: 0; }
.redes { display: flex; gap: 6px; }
.redes a { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; }
.redes a:hover { color: var(--azul); }
.redes svg { width: 17px; height: 17px; }
.pie .configurar { background: none; border: 0; padding: 0; font: inherit; color: var(--gris-borde); cursor: pointer; }

/* ---------- Páginas interiores: cabecera con foto ---------- */
.banner { position: relative; height: 550px; background: #333 center / cover no-repeat; display: flex; align-items: flex-end; }
.banner::before { content: ""; position: absolute; inset: 0; background: rgb(21, 45, 95); mix-blend-mode: multiply; opacity: var(--velo, .7); }
.banner .contenedor { position: relative; padding-bottom: 56px; }
.banner .subtitulo { font-size: 18px; font-weight: 300; line-height: 24px; color: #fff; margin: 24px 0 0; max-width: 1240px; }
.banner--fecha .contenedor { padding-bottom: 28px; }
.banner .fecha-banner { font-size: 18px; font-weight: 300; color: var(--gris-borde); margin: 24px 0 0; }
.migas { font-size: 15px; color: #fff; margin-bottom: 20px; }
.migas a { color: #fff; font-weight: 300; }
.migas a:hover { color: #c9d4ee; }
.migas strong { font-weight: 500; }
.banner h1 { font-size: 70px; line-height: 1; color: #fff; }

/* ---------- Ficha de producto ---------- */
.ficha { padding: 90px 0 0; }
.ficha .descripcion { font-size: 23px; font-weight: 200; line-height: 32px; color: var(--gris-medio); margin: 30px 0 70px; }
.dos-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.ficha .foto-producto img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.ficha .titulo-2 { margin-bottom: 26px; }
.lista-check li { position: relative; padding-left: 22px; margin-bottom: 14px; font-size: 18px; line-height: 24px; color: #000; }
.lista-check li svg { position: absolute; left: 0; top: 6px; width: 13px; height: 13px; color: var(--rojo); }
.lista-check + .titulo-2 { margin-top: 70px; }
.tabla-esp { border-collapse: separate; border-spacing: 0 4px; width: 500px; max-width: 100%; }
.tabla-esp th, .tabla-esp td { background: var(--fondo-fila); padding: 4px 12px; line-height: 24px; text-align: left; vertical-align: top; }
.tabla-esp th { width: 220px; font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--azul-oscuro); }
.tabla-esp td { font-size: 16px; color: var(--negro-pie); }
.presentacion { margin-top: 90px; }
.presentacion .intro strong { color: var(--azul-oscuro); font-weight: 600; }
.puntos li { position: relative; padding-left: 16px; margin-bottom: 8px; }
.puntos li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--azul); }
.lista-check.pequena li { font-size: 16px; color: var(--gris-oscuro); }
.bloque-sectores { margin-top: 90px; }
.mosaico { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 26px; }
.tesela { position: relative; height: 350px; overflow: hidden; display: flex; align-items: flex-end; padding: 30px; }
.tesela img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s; }
.tesela::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.75)); }
.tesela:hover img { transform: scale(1.1); }
.tesela h3 { position: relative; z-index: 1; font-size: 22px; font-weight: 500; line-height: 1.33; color: #fff; }
.relacionados { padding: 90px 0 110px; }
.tarjetas-producto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 40px; }
.tarjeta-producto { background: #fff; border: 16px solid #fff; border-radius: 4px; box-shadow: var(--sombra); }
.tarjeta-producto img { width: 100%; height: auto; aspect-ratio: 1.17; object-fit: cover; }
.tarjeta-producto .texto { padding: 35px 32px 36px; }
.tarjeta-producto h3 { font-size: 22px; line-height: 1.2; color: var(--gris-oscuro); margin-bottom: 10px; min-height: 53px; display: flex; align-items: flex-end; }
.tarjeta-producto p { margin-bottom: 30px; line-height: 16px; }
.blog-gris { background: var(--fondo-claro); padding: 120px 0 130px; }
.blog-gris .titulo { margin-bottom: 40px; }
.tres-entradas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.tres-entradas .foto img { width: 100%; height: auto; aspect-ratio: 1.24; object-fit: cover; margin-bottom: 26px; }

/* ---------- Empresa ---------- */
.sobre { padding: 96px 0 0; }
.sobre__video { align-self: end; }
.sobre__texto { align-self: start; padding-bottom: 96px; }
.sobre__rejilla { display: grid; grid-template-columns: minmax(0, 559px) minmax(0, 582px); column-gap: 40px; justify-content: space-between; }
.video-lightbox { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.video-lightbox img { width: 100%; height: 689px; object-fit: cover; }
.video-lightbox .play { position: absolute; left: 50%; top: 50%; width: 100px; height: 100px; transform: translate(-50%, -50%); opacity: .85; transition: opacity .3s, transform .3s; }
.video-lightbox:hover .play { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
.sobre .titulo { margin-bottom: 24px; }
.entradilla { font-size: 21px; font-weight: 200; line-height: 29.4px; margin-bottom: 50px; }
.contador { display: grid; grid-template-columns: 96px 210px 1fr; align-items: center; margin-bottom: 48px; }
.contador:last-child { margin-bottom: 0; }
.contador__icono { width: 96px; height: 96px; border-radius: 50%; background: var(--azul); color: #fff; display: grid; place-items: center; }
.contador__icono svg { width: 40px; height: 40px; }
.contador__numero { font-size: 50px; font-weight: 100; line-height: 55px; color: var(--gris-oscuro); text-align: center; }
.contador h5 { font-size: 21px; line-height: 29.4px; color: var(--gris-oscuro); margin-bottom: 8px; }
.contador p { margin: 0; }
.hitos-cabecera { background: var(--fondo-claro); padding: 110px 0 134px; }
.hito { padding: 80px 0; }
.hito--gris { background: var(--fondo-claro); }
.hito__rejilla { display: grid; grid-template-columns: 256px 1fr; gap: 0 98px; }
.hito--foto-derecha { grid-template-columns: 304px 440px 1fr; gap: 0 50px; }
.hito__cabeza { max-width: 256px; }
.insignia { display: inline-block; padding: 10px 25px; border-radius: 4px; background: var(--azul); color: #fff; font-size: 20px; font-weight: 600; line-height: 30px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; }
.hito h3 { font-size: 38px; line-height: 45.6px; color: var(--gris-oscuro); }
.hito__texto p { font-size: 18px; font-weight: 200; line-height: 25.2px; margin-bottom: 18px; }
.hito__texto img { width: 100%; height: auto; margin-top: 30px; }
.hito__foto img { width: 100%; height: auto; }
.visor-video { width: min(1100px, 92vw); padding: 0; border: 0; background: #000; overflow: visible; }
.visor-video::backdrop { background: rgba(0, 0, 0, .85); }
.visor-video video { width: 100%; height: auto; }
.visor-video .cerrar { position: absolute; right: -6px; top: -44px; background: none; border: 0; color: #fff; font-size: 36px; line-height: 1; cursor: pointer; }

/* ---------- Bloques foto + texto (Calidad, Sostenibilidad) ---------- */
.foto-texto { padding: 96px 0; }
.foto-texto--gris { background: var(--fondo-claro); }
.foto-texto__rejilla { display: grid; grid-template-columns: minmax(0, 559px) minmax(0, 582px); column-gap: 40px; justify-content: space-between; align-items: center; }
.foto-texto__foto img { width: 100%; height: auto; }
.foto-texto .titulo { margin-bottom: 24px; }
.foto-texto .entradilla { margin-bottom: 0; }
.foto-texto .entradilla p { margin-bottom: 29px; }
.foto-texto .entradilla p:last-child { margin-bottom: 0; }
.entradilla strong { font-weight: 500; color: var(--gris-oscuro); }
.antetitulo--15 { font-size: 15px; line-height: 22.5px; }
.intro { margin: 30px 0 0; }
.intro p { margin: 0; }
.intro strong { font-weight: 500; color: var(--gris-oscuro); }

/* ---------- Calidad e Innovación ---------- */
.procesos { padding: 96px 0 0; }
.procesos .titulo { margin-top: 16px; }
.procesos .intro { margin-top: 30px; }
.subgrupo { font-size: 25px; line-height: 32.5px; color: var(--gris-oscuro); margin: 34px 0 29px; }
.tarjetas-3 + .subgrupo { margin-top: 48px; }
.tarjetas-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tarjeta-foto .foto { height: 200px; overflow: hidden; }
.tarjeta-foto .foto img { width: 100%; height: 100%; object-fit: cover; }
.tarjeta-foto .texto { padding: 35px; }
.tarjeta-foto h5 { font-size: 21px; line-height: 29.4px; color: var(--azul-oscuro); margin-bottom: 14px; }
.tarjeta-foto p { margin: 0; }
.rueda { padding: 50px 0 80px; }
.contenedor-ancho { width: min(1280px, 100% - 40px); margin-inline: auto; }
.rueda img { width: 100%; height: auto; }
.certificaciones { background: var(--fondo-claro); padding: 96px 0; }
.certificaciones .titulo { margin-top: 16px; }
.dos-columnas-texto { column-count: 2; column-gap: 16px; margin-top: 30px; }
.dos-columnas-texto p { margin: 0 0 14px; break-inside: avoid-column; }
.logos { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; justify-items: center; margin-top: 60px; }
.logo-cert { width: 250px; height: auto; }
.logo-cert--3 { width: 100px; }
.politica { padding: 96px 0 0; }
.politica .intro { margin-top: 30px; }
.lista-circulos { margin-top: 54px; }
.lista-circulos li { display: flex; gap: 16px; padding-bottom: 15px; margin-bottom: 15px; font-size: 21px; font-weight: 200; line-height: 29.4px; }
.lista-circulos svg { flex: none; width: 25px; height: 25px; color: var(--rojo); margin-top: 2px; }
.innovacion { padding: 60px 0 96px; }
.innovacion .intro { margin: 30px 0 50px; }

/* ---------- Sostenibilidad ---------- */
.foto-texto__rejilla--sost { grid-template-columns: minmax(0, 541px) minmax(0, 621px); column-gap: 40px; }
.foto-texto__rejilla--sost .foto-texto__foto img, .foto-texto__rejilla--invertida .foto-texto__foto img { height: 750px; object-fit: cover; }
.foto-texto__rejilla--invertida { grid-template-columns: minmax(0, 621px) minmax(0, 541px); column-gap: 40px; }
.foto-texto__rejilla--invertida .foto-texto__foto img { height: 800px; }
.foto-texto .texto-normal p { font-size: 16px; font-weight: 300; line-height: 24px; margin-bottom: 24px; }
.restauracion { padding: 96px 0; }
.restauracion .intro { margin-bottom: 50px; }
.tres-fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tres-fotos img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Tarjetas con sombra (Sectores, Categorías) ---------- */
.listado { padding: 96px 0 120px; }
.listado .titulo { margin-bottom: 50px; }
.listado .entradilla { margin: -20px 0 60px; }
.listado .entradilla strong { font-weight: 400; color: #000; }
.tarjetas-sombra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tarjetas-sombra--48 { gap: 48px; }
.tarjeta-sector { background: #fff; border: 16px solid #fff; box-shadow: var(--sombra); }
.tarjeta-sector .foto { position: relative; height: 300px; overflow: hidden; }
.tarjeta-sector .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s; }
.tarjeta-sector:hover .foto img { transform: scale(1.1); }
.tarjeta-sector .texto { padding: 32px 32px 40px; }
.tarjeta-sector h3 { font-size: 22px; line-height: 26.4px; color: var(--azul-oscuro); margin-bottom: 16px; }
.tarjeta-sector p { margin: 0; }

/* ---------- Contacto ---------- */
.pagina-contacto { padding: 120px 0 96px; }
.pagina-contacto__rejilla { display: grid; grid-template-columns: minmax(0, 552px) minmax(0, 552px); column-gap: 40px; justify-content: space-between; align-items: start; }
.pagina-contacto__intro { margin: 24px 0 31px; }
.datos-contacto li { display: flex; align-items: center; gap: 17px; margin-bottom: 15px; color: var(--gris-oscuro); }
.datos-contacto svg { flex: none; width: 20px; height: 20px; color: var(--azul); }
.datos-contacto a { color: var(--gris-oscuro); }
.datos-contacto a:hover { color: var(--azul); }
.explotaciones-titulo { font-size: 28px; font-weight: 500; line-height: 36.4px; color: var(--gris-oscuro); margin: 48px 0 15px; }
.acordeon details { border-bottom: 1px solid var(--gris-borde); }
.acordeon summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-weight: 700; color: var(--gris-texto); }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary svg { width: 14px; height: 14px; color: var(--azul); transition: transform .3s; }
.acordeon details[open] summary svg { transform: rotate(180deg); }
.acordeon summary:hover { color: var(--azul); }
.acordeon .contenido { padding: 0 0 24px; }
.acordeon .contenido img { width: 100%; height: auto; }
.mapa-diferido { height: 225px; margin-bottom: 48px; background: #e9ecf1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23dde2ea' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 40px 40px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 20px 30px; text-align: center; }
.mapa-diferido p { margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--gris-oscuro); }
.mapa-diferido small { font-size: 12px; line-height: 17px; color: var(--gris-texto); }
.mapa-diferido.cargado { padding: 0; background: none; display: block; }
.mapa-diferido iframe { width: 100%; height: 225px; border: 0; display: block; }
.pagina-contacto .formulario input[type=text], .pagina-contacto .formulario input[type=email], .pagina-contacto .formulario textarea { background: #fff; border: 1px solid var(--gris-borde); border-radius: 3px; padding: 5px 14px; }
.pagina-contacto .formulario textarea { height: 98px; }
.franja-texto { background: var(--fondo-claro); padding: 96px 0; }
.franja-texto .titulo { max-width: 1302px; margin: 16px auto 0; }
.blog-blanco { padding: 126px 0 130px; }
.blog-blanco .titulo { margin-bottom: 40px; }

/* ---------- Blog ---------- */
.listado-blog { padding: 96px 0 80px; }
.listado-blog .titulo { margin-bottom: 50px; }
.mosaico-blog { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: start; }
.entrada-blog { margin-bottom: 60px; }
.entrada-blog .foto img { width: 100%; height: auto; margin-bottom: 30px; }
.entrada-blog p { margin-bottom: 14px; }
.paginacion { display: flex; justify-content: center; gap: 10px; font-size: 15px; }
.paginacion a, .paginacion span { padding: 2px 6px; }
.paginacion span { color: var(--gris-oscuro); font-weight: 600; }
.franja-foto { position: relative; padding: 86px 0; background: var(--fondo-claro) center / cover no-repeat; }
.franja-foto::before { content: ""; position: absolute; inset: 86px 0; background: rgba(21, 45, 95, .3); }
.franja-foto .contenedor { position: relative; min-height: 792px; display: flex; align-items: center; }
.franja-foto .caja { width: 100%; background: rgba(45, 53, 67, .71); padding: 124px; text-align: center; }
.franja-foto .antetitulo { color: var(--gris-medio); }
.franja-foto p { font-size: 50px; font-weight: 600; line-height: 60px; color: #fff; margin: 16px auto 0; max-width: 994px; }

/* ---------- Noticia ---------- */
.noticia { width: min(840px, 100% - 40px); margin: 0 auto; padding: 96px 0 110px; }
.noticia__cuerpo p { font-size: 18px; line-height: 28.8px; margin-bottom: 26px; }
.noticia__cuerpo strong { font-weight: 500; color: #000; }
.noticia__cuerpo em { font-style: italic; }
.noticia__cuerpo img { width: 100%; height: auto; }
.noticia__cuerpo figure { margin: 0 0 16px; }
.galeria { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 26px !important; }
.galeria > figure { flex: 1 0 calc(33.333% - 11px); margin: 0 !important; display: flex; }
.galeria > figure img { height: 100%; object-fit: cover; }
.rejilla-noticia { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(22rem, 100%), 1fr)); gap: 16px; margin-bottom: 26px; }
.rejilla-noticia .galeria { margin: 0 !important; }
.compartir { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 60px; }
.compartir a { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; color: #fff; font-size: 12px; font-weight: 600; }
.compartir svg { width: 16px; height: 16px; }
.compartir .facebook { background: #3b5998; } .compartir .x { background: #000; } .compartir .linkedin { background: #0077b5; } .compartir .pinterest { background: #bd081c; }
.compartir a:hover { opacity: .9; color: #fff; }
.anterior-siguiente { display: flex; justify-content: space-between; gap: 30px; background: #f3f3f3; padding: 48px; margin-top: 45px; }
.anterior-siguiente a { display: flex; align-items: center; gap: 16px; color: var(--gris-oscuro); max-width: 48%; }
.anterior-siguiente .sig { text-align: right; margin-left: auto; }
.anterior-siguiente svg { flex: none; width: 10px; height: 16px; }
.anterior-siguiente strong { display: block; font-size: 15px; font-weight: 600; }
.anterior-siguiente small { display: block; font-size: 12px; color: var(--gris-medio); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }

/* ---------- Páginas legales ---------- */
.legal { padding: 96px 0 110px; }
.legal .contenedor { padding: 0 10px; }
.legal h2, .legal h3 { font-size: 38px; line-height: 45.6px; color: var(--gris-oscuro); margin: 70px 0 16px; }
.legal h3:first-child, .legal h2:first-child { margin-top: 0; }
.legal h4 { font-size: 21px; color: var(--gris-oscuro); margin: 30px 0 10px; }
.legal p { margin-bottom: 24px; }
.legal strong { font-weight: 500; color: #000; }
.legal ul { list-style: disc; padding-left: 24px; margin-bottom: 24px; }
.legal ol { padding-left: 24px; margin-bottom: 24px; }
.legal table { border-collapse: collapse; width: 100%; margin-bottom: 24px; font-size: 14px; }
.legal th, .legal td { border: 1px solid var(--gris-borde); padding: 8px 10px; text-align: left; vertical-align: top; }

/* ---------- Aviso de cookies (aspecto del original) ---------- */
.cookies { position: fixed; right: 10px; bottom: 10px; z-index: 100; width: 526px; max-width: calc(100% - 20px); background: #fff; border-radius: 12px;
  padding: 15px 20px 18px; box-shadow: 0 10px 20px rgba(0,0,0,.19), 0 6px 6px rgba(0,0,0,.23); font-size: 12px; line-height: 1.5; color: #222; }
.cookies[hidden] { display: none; }
.cookies .cab { display: flex; justify-content: center; align-items: center; position: relative; margin-bottom: 12px; }
.cookies .cab strong { font-size: 15px; font-weight: 500; }
.cookies .cerrar { position: absolute; right: 0; top: -2px; background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: #222; }
.cookies .categorias { display: none; margin: 10px 0; }
.cookies.preferencias .categorias { display: block; }
.cookies .categorias label { display: flex; justify-content: space-between; align-items: center; background: #f2f2f2; border-radius: 5px; padding: 8px 12px; margin-bottom: 6px; font-weight: 500; }
.cookies .categorias small { font-weight: 400; color: #1e73be; }
.cookies .botones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.cookies .botones button { padding: 10px; border-radius: 6px; border: 1px solid #f2f2f2; background: #f9f9f9; color: #222; font: 400 15px "Prompt", sans-serif; cursor: pointer; }
.cookies .botones .aceptar { background: #1e73be; border-color: #1e73be; color: #fff; }
.cookies .botones .guardar { display: none; }
.cookies.preferencias .botones .guardar { display: block; }
.cookies.preferencias .botones .ver { display: none; }
.cookies .enlaces { text-align: center; margin-top: 12px; }
.cookies .enlaces a { color: #222; text-decoration: underline; }

/* ---------- Animación de entrada (como en el original) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .aparece { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s ease; }
  .aparece.visible { opacity: 1; transform: none; }
}

/* ---------- Tablet y móvil ---------- */
@media (max-width: 1100px) {
  .portada h1 { font-size: 48px; }
  .titulo, .banner h1 { font-size: 40px; }
  .titulo-2 { font-size: 32px; }
  .tarjetas-valores { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .franja-sectores { grid-template-columns: repeat(2, 1fr); }
  .fila-quienes .texto { padding: 44px; }
  .rejilla-blog { grid-template-columns: 1fr; }
  .mosaico { grid-template-columns: repeat(2, 1fr); }
  .tarjetas-producto, .tres-entradas { gap: 24px; }
  .pie .columnas { grid-template-columns: 1fr 1fr; }
  .llamada .caja { left: 0; width: 100%; max-width: 650px; }
  .sobre__rejilla { grid-template-columns: 1fr 1fr; gap: 50px; }
  .video-lightbox img { height: 560px; }
  .hito__rejilla, .hito--foto-derecha { grid-template-columns: 220px 1fr; gap: 0 50px; }
  .hito--foto-derecha .hito__foto { grid-column: 2; margin-top: 30px; max-width: 420px; }
  .hito h3 { font-size: 30px; line-height: 1.2; }
  .foto-texto__rejilla, .foto-texto__rejilla--sost, .foto-texto__rejilla--invertida { grid-template-columns: 1fr 1fr; gap: 50px; }
  .tarjetas-3, .tarjetas-sombra { gap: 24px; }
  .pagina-contacto__rejilla { grid-template-columns: 1fr 1fr; gap: 50px; }
  .contador { grid-template-columns: 72px 110px 1fr; }
  .contador__icono { width: 72px; height: 72px; }
  .contador__icono svg { width: 30px; height: 30px; }
  .contador__numero { font-size: 40px; }
  .tarjetas-sombra, .tarjetas-producto { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .portada h1 { font-size: 34px; }
  .titulo, .banner h1 { font-size: 30px; }
  .titulo-2 { font-size: 26px; }
  .antetitulo { font-size: 13px; letter-spacing: 2px; }
  .tarjetas-valores, .franja-sectores, .fila-quienes, .dos-col, .mosaico, .tarjetas-producto, .tres-entradas, .contacto .contenedor, .pie .columnas { grid-template-columns: 1fr; }
  .fila-quienes { min-height: 0; }
  .fila-quienes .foto img { aspect-ratio: 3 / 2; }
  .fila-quienes .texto { padding: 34px 24px; }
  .fila-quienes--invertida .foto { order: -1; }
  .caja-cifras { grid-template-columns: 1fr; gap: 26px; }
  .cifra .numero { font-size: 44px; }
  .mapa { height: 420px; margin-top: 0; }
  .mapa .caja { position: static; width: auto; }
  .entrada-lista { grid-template-columns: 110px 1fr; gap: 16px; }
  .entrada-lista .foto img { width: 110px; height: 110px; }
  .destacada { min-height: 520px; }
  .destacada .tarjeta { left: 16px; right: 16px; bottom: 16px; padding: 26px; }
  .llamada { height: auto; }
  .llamada .caja { position: relative; padding: 60px 24px; }
  .banner { height: auto; min-height: 380px; padding-top: 120px; }
  .banner .contenedor { padding-bottom: 40px; }
  .ficha { padding-top: 60px; }
  .ficha .descripcion { font-size: 19px; line-height: 28px; margin-bottom: 40px; }
  .tesela { height: 260px; }
  .banner h1 { font-size: 34px; line-height: 1.1; }
  .contacto { padding: 70px 0; }
  .contacto .contenedor { gap: 40px; }
  .pie .inferior .contenedor { flex-direction: column; justify-content: center; padding: 20px 0; text-align: center; }
  .cookies .botones { grid-template-columns: 1fr; }
  .sobre { padding: 60px 0; }
  .sobre__texto { padding-bottom: 0; }
  .sobre__rejilla { grid-template-columns: 1fr; gap: 40px; }
  .video-lightbox img { height: 420px; }
  .contador { grid-template-columns: 64px 92px 1fr; }
  .contador__icono { width: 64px; height: 64px; }
  .contador__icono svg { width: 30px; height: 30px; }
  .contador__numero { font-size: 34px; }
  .hitos-cabecera { padding: 60px 0 70px; }
  .hito { padding: 56px 0; }
  .hito__rejilla, .hito--foto-derecha { grid-template-columns: 1fr; }
  .hito__cabeza { max-width: none; }
  .hito__cabeza { margin-bottom: 24px; }
  .hito--foto-derecha .hito__foto { grid-column: auto; }
  .hito h3 { font-size: 26px; }
  .insignia { font-size: 17px; padding: 8px 20px; }
  .foto-texto { padding: 60px 0; }
  .foto-texto__rejilla, .foto-texto__rejilla--sost, .foto-texto__rejilla--invertida { grid-template-columns: 1fr; gap: 36px; }
  .foto-texto__rejilla--sost .foto-texto__foto { order: -1; }
  .foto-texto__foto img, .foto-texto__rejilla--sost .foto-texto__foto img, .foto-texto__rejilla--invertida .foto-texto__foto img { height: auto; max-height: 520px; object-fit: cover; }
  .entradilla { font-size: 18px; line-height: 26px; }
  .procesos, .politica { padding-top: 60px; }
  .tarjetas-3, .tarjetas-sombra, .tres-fotos, .logos { grid-template-columns: 1fr; }
  .logos { gap: 30px; }
  .dos-columnas-texto { column-count: 1; }
  .lista-circulos li { font-size: 18px; line-height: 26px; }
  .certificaciones, .restauracion { padding: 60px 0; }
  .innovacion { padding: 40px 0 60px; }
  .listado { padding: 60px 0 70px; }
  .pagina-contacto { padding: 60px 0; }
  .pagina-contacto__rejilla { grid-template-columns: 1fr; gap: 40px; }
  .franja-texto { padding: 60px 0; }
  .blog-blanco { padding: 70px 0; }
  .mosaico-blog { grid-template-columns: 1fr; }
  .listado-blog { padding: 60px 0; }
  .franja-foto { padding: 40px 0; }
  .franja-foto::before { inset: 40px 0; }
  .franja-foto .contenedor { min-height: 0; }
  .franja-foto .caja { padding: 60px 24px; }
  .franja-foto p { font-size: 28px; line-height: 36px; }
  .noticia { padding: 56px 0 70px; }
  .noticia__cuerpo p { font-size: 17px; line-height: 27px; }
  .galeria > figure { flex-basis: 100%; }
  .compartir { grid-template-columns: 1fr 1fr; }
  .anterior-siguiente { padding: 24px; flex-direction: column; }
  .anterior-siguiente a { max-width: none; }
  .legal { padding: 60px 0; }
  .legal h2, .legal h3 { font-size: 26px; line-height: 1.25; margin-top: 46px; }
}

/* Evitar desbordes en columnas estrechas */
.dos-col > *, .foto-texto__rejilla > *, .sobre__rejilla > *, .hito__rejilla > *, .fila-quienes > *, .rejilla-blog > *, .contacto .contenedor > *, .pagina-contacto__rejilla > * { min-width: 0; }
@media (max-width: 767px) { .tabla-esp { width: 100%; } .tabla-esp th { width: 45%; } }

h1, h2, h3, h4, h5 { overflow-wrap: break-word; }
