/* Web Aceros Bosch — estética del manual de identidad 2025 (misma paleta que las herramientas) */
:root {
  --navy: #0f2740;
  --azul: #1d5796;
  --celeste: #6ba1bb;
  --amarillo: #f6b306;
  --naranja: #db7f29;
  --gris: #efefef;
  --blanco: #ffffff;
  --texto: #17212e;
  --muted: #5a6573;
  --borde: #dde1e6;

  --f-titulo: "Poppins", system-ui, sans-serif;
  --f-texto: "Axiforma", "Figtree", system-ui, sans-serif;
  --radio: 14px;
  --alto-cabecera: 76px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--alto-cabecera); }
body {
  margin: 0;
  background: var(--blanco);
  color: var(--texto);
  font-family: var(--f-texto);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
h1, h2, h3 { font-family: var(--f-titulo); color: var(--navy); line-height: 1.15; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-bottom: 16px; }
p { margin: 0 0 16px; }
:focus-visible { outline: 3px solid var(--celeste); outline-offset: 3px; }

.contenedor { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sobretitulo {
  font-family: var(--f-titulo); font-weight: 600; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--amarillo); margin-bottom: 14px;
}
.sobretitulo-azul { color: var(--azul); }
.sobretitulo::before { content: ""; display: inline-block; width: 28px; height: 3px; background: currentColor; vertical-align: middle; margin-right: 10px; border-radius: 2px; }

/* Botones */
.boton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 26px; border-radius: 999px; font-family: var(--f-titulo); font-weight: 600; font-size: 16px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.boton-amarillo { background: var(--amarillo); color: var(--navy); }
.boton-amarillo:hover { background: #ffc633; }
.boton-borde { border-color: rgba(255,255,255,.7); color: #fff; }
.boton-borde:hover { background: #fff; color: var(--navy); }
.boton-azul { background: var(--azul); color: #fff; }
.boton-azul:hover { background: var(--navy); }
.boton[disabled] { opacity: .6; cursor: wait; }

/* Cabecera */
.cabecera {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.cabecera.con-sombra { border-bottom-color: var(--borde); box-shadow: 0 4px 18px rgba(15,39,64,.06); }
.cabecera-fila { display: flex; align-items: center; justify-content: space-between; height: var(--alto-cabecera); }
.cabecera-logo img { height: 52px; width: auto; }
.menu { display: flex; align-items: center; gap: 6px; }
.menu a {
  font-family: var(--f-titulo); font-weight: 500; font-size: 15px; color: var(--navy);
  text-decoration: none; padding: 10px 14px; border-radius: 999px;
}
.menu a:hover { color: var(--azul); background: #eef3f8; }
.menu a.menu-destacado { background: var(--navy); color: #fff; margin-left: 8px; padding: 10px 20px; }
.menu a.menu-destacado:hover { background: var(--azul); }
.menu-boton { display: none; }

/* Portada */
.portada {
  position: relative; color: #fff;
  background: linear-gradient(100deg, rgba(15,39,64,.95) 0%, rgba(15,39,64,.82) 45%, rgba(29,87,150,.45) 100%), url("../img/marca/malla.jpg?v=2") center / cover no-repeat;
  padding: clamp(80px, 13vw, 160px) 0 clamp(80px, 12vw, 150px);
}
.portada::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--amarillo) 0 33%, var(--naranja) 33% 66%, var(--celeste) 66%); }
.portada-contenido { max-width: 1180px; }
.portada h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 800; max-width: 20ch; margin-bottom: 20px; letter-spacing: -.01em; }
.portada-bajada { font-size: clamp(18px, 2vw, 21px); color: rgba(255,255,255,.88); max-width: 34em; margin-bottom: 32px; }
.portada-botones { display: flex; flex-wrap: wrap; gap: 12px; }

/* Secciones */
.seccion { padding: clamp(64px, 9vw, 110px) 0; }
.seccion-gris { background: var(--gris); }
.titulo-seccion { max-width: 720px; margin-bottom: 44px; }
.titulo-seccion p { color: var(--muted); font-size: 18px; }

/* Acerca de nosotros */
.nosotros { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.nosotros-texto p { font-size: 18px; color: #2b3746; }
.nosotros-foto { position: relative; }
.nosotros-foto img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radio); }
.nosotros-foto::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 3px solid var(--celeste);
  border-radius: var(--radio); z-index: -1;
}

/* Video */
.video {
  background: linear-gradient(rgba(29,87,150,.9), rgba(15,39,64,.92)), url("../img/marca/rollos.jpg?v=2") center 35% / cover no-repeat;
  color: #fff; text-align: center; padding: clamp(64px, 9vw, 100px) 0;
}
.video h2 { color: #fff; max-width: 22ch; margin: 0 auto 10px; }
.video p { color: rgba(255,255,255,.85); font-size: 18px; margin-bottom: 30px; }
.boton-play {
  display: inline-flex; align-items: center; gap: 14px; background: transparent; border: 0; cursor: pointer;
  color: #fff; font-family: var(--f-titulo); font-weight: 600; font-size: 17px; padding: 0;
}
.boton-play svg {
  width: 72px; height: 72px; padding: 22px; border-radius: 50%; background: var(--amarillo); fill: var(--navy);
  box-shadow: 0 0 0 10px rgba(246,179,6,.25); transition: transform .2s;
}
.boton-play:hover svg { transform: scale(1.06); }

.ventana-video { padding: 0; border: 0; background: transparent; width: min(960px, 94vw); max-width: none; overflow: visible; }
.ventana-video::backdrop { background: rgba(10,22,36,.85); }
.marco-video { aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.marco-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.ventana-video .cerrar {
  position: absolute; top: -48px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.15); color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
}

/* Productos */
.productos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.producto {
  background: #fff; border-radius: var(--radio); overflow: hidden; border: 1px solid var(--borde);
  transition: transform .2s, box-shadow .2s;
}
.producto:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15,39,64,.12); }
.producto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--gris); }
.producto h3 { font-size: 17px; font-weight: 600; padding: 16px 18px 18px; border-top: 3px solid var(--amarillo); }

/* Contacto */
.contacto { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.contacto-datos { display: grid; gap: 14px; }
.dato { display: flex; gap: 16px; align-items: flex-start; padding: 18px; background: var(--gris); border-radius: var(--radio); }
.dato-icono { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; }
.dato-icono svg { width: 22px; height: 22px; fill: var(--amarillo); }
.dato h3 { font-size: 16px; margin-bottom: 4px; }
.dato p { margin: 0; color: #2b3746; }
.dato a { text-decoration: none; font-weight: 500; }
.dato a:hover { text-decoration: underline; }
.mapa { width: 100%; height: 280px; border: 0; border-radius: var(--radio); }

.formulario { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: clamp(20px, 3vw, 32px); box-shadow: 0 10px 30px rgba(15,39,64,.06); display: grid; gap: 16px; }
.campos-dobles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.formulario label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--navy); }
.formulario input, .formulario textarea {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--texto); width: 100%;
  border: 1.5px solid var(--borde); border-radius: 10px; padding: 12px 14px; background: #fbfcfd;
}
.formulario textarea { resize: vertical; min-height: 140px; }
.formulario input:focus, .formulario textarea:focus { outline: none; border-color: var(--azul); background: #fff; box-shadow: 0 0 0 3px rgba(29,87,150,.15); }
.formulario .invalido { border-color: #c0392b; }
.formulario .boton { justify-self: start; min-width: 200px; }
.g-recaptcha { min-height: 78px; }
.aviso { margin: 0; padding: 12px 14px; border-radius: 10px; font-weight: 500; }
.aviso-error { background: #fdecea; color: #9b2c1f; }
.aviso-ok { background: #e7f4ec; color: #1f6b3f; }

/* Pie */
.pie { background: var(--navy); color: rgba(255,255,255,.8); padding: 48px 0 24px; font-size: 15px; }
.pie a { color: #fff; text-decoration: none; }
.pie a:hover { text-decoration: underline; }
.pie-fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.pie-logo { height: 64px; width: auto; }
.pie-datos p { margin: 0 0 4px; }
.pie-menu { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--f-titulo); font-weight: 500; }
.pie-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.55); }

/* WhatsApp */
.whatsapp {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: transform .2s;
}
.whatsapp:hover { transform: scale(1.07); }
.whatsapp svg { width: 32px; height: 32px; fill: #fff; }

/* Celular y tablet */
@media (max-width: 900px) {
  :root { --alto-cabecera: 64px; }
  .cabecera-logo img { height: 42px; }
  .menu-boton {
    display: grid; gap: 5px; width: 46px; height: 46px; place-content: center; border: 0; background: transparent; cursor: pointer; border-radius: 10px;
  }
  .menu-boton span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-boton[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-boton[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-boton[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .menu {
    position: absolute; top: var(--alto-cabecera); left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--borde); box-shadow: 0 16px 24px rgba(15,39,64,.1); display: none;
  }
  .menu.abierto { display: flex; }
  .menu a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--borde); font-size: 17px; }
  .menu a:hover { background: transparent; }
  .menu a.menu-destacado { margin: 14px 0 0; text-align: center; border-radius: 999px; border: 0; padding: 14px; }
  .nosotros, .contacto { grid-template-columns: 1fr; }
  .nosotros-foto { max-width: 460px; }
  .nosotros-foto img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .campos-dobles { grid-template-columns: 1fr; }
  .productos { grid-template-columns: 1fr 1fr; gap: 12px; }
  .producto h3 { font-size: 14px; padding: 12px; }
  .nosotros-foto::before { inset: 14px -10px -14px 10px; }
  .formulario .boton { justify-self: stretch; }
  .pie-fila { flex-direction: column; align-items: flex-start; }
  .pie-menu { margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Productos por sector */
.sectores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sector {
  background: #fff; border-radius: var(--radio); padding: 28px 26px 24px; border: 1px solid var(--borde);
  display: flex; flex-direction: column; box-shadow: 0 8px 24px rgba(15,39,64,.05);
}
.sector-icono { width: 56px; height: 56px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; margin-bottom: 18px; }
.sector-icono svg { width: 30px; height: 30px; fill: none; stroke: var(--amarillo); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sector h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.sector ul { list-style: none; margin: 0; padding: 0; flex-grow: 1; }
.sector li { position: relative; padding: 6px 0 6px 18px; border-bottom: 1px solid #f0f2f4; color: #2b3746; }
.sector li:last-child { border-bottom: 0; }
.sector li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; border-radius: 2px; background: var(--celeste); }
.sector-ver {
  align-self: flex-start; background: none; border: 0; padding: 6px 0; cursor: pointer;
  font-family: var(--f-titulo); font-weight: 600; font-size: 15px; color: var(--azul);
}
.sector-ver::after { content: " →"; }
.sector-ver:hover { color: var(--navy); text-decoration: underline; }

.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; scroll-margin-top: calc(var(--alto-cabecera) + 20px); }
.filtros button {
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--borde); background: #fff; cursor: pointer;
  font-family: var(--f-titulo); font-weight: 500; font-size: 15px; color: var(--navy);
}
.filtros button:hover { border-color: var(--azul); }
.filtros button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.producto[hidden] { display: none; }

@media (max-width: 900px) {
  .sectores { grid-template-columns: 1fr; gap: 14px; }
  .sector { padding: 22px 20px 18px; }
}
/* Producto todavía sin foto: fondo de marca con el nombre de la empresa */
.foto-pendiente {
  aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--navy), var(--azul)); display: grid; place-items: center;
  font-family: var(--f-titulo); font-weight: 700; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.35);
}

/* ===== Página de producto ===== */
.boton svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-right: 8px; }
.boton-linea { border-color: var(--azul); color: var(--azul); background: #fff; }
.boton-linea:hover { background: var(--azul); color: #fff; }

.producto-portada {
  position: relative; color: #fff; padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 6vw, 64px);
  background: linear-gradient(100deg, rgba(15,39,64,.96), rgba(29,87,150,.85)), url("../img/marca/malla.jpg?v=2") center / cover no-repeat;
}
.producto-portada::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--amarillo) 0 33%, var(--naranja) 33% 66%, var(--celeste) 66%); }
.producto-portada h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); font-weight: 800; margin: 10px 0 16px; }
.migas { font-size: 14px; color: rgba(255,255,255,.75); display: flex; gap: 8px; align-items: center; }
.migas a { color: var(--amarillo); text-decoration: none; font-weight: 600; }
.migas a:hover { text-decoration: underline; }
.etiquetas { display: flex; flex-wrap: wrap; gap: 8px; }
.etiqueta { font-size: 13px; font-weight: 600; font-family: var(--f-titulo); color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: 4px 12px; border-radius: 999px; text-decoration: none; }

.ficha { padding-top: 36px; }
.volver { display: inline-block; font-family: var(--f-titulo); font-weight: 600; font-size: 15px; color: var(--azul); text-decoration: none; margin-bottom: 24px; }
.volver:hover { text-decoration: underline; }
.ficha-principal { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.ficha-galeria { position: sticky; top: calc(var(--alto-cabecera) + 20px); }
.ficha-foto { background: var(--gris); border-radius: var(--radio); padding: 0; overflow: hidden; }
.ficha-foto { position: relative; isolation: isolate; }
.ficha-foto::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: var(--foto) center / cover no-repeat; filter: blur(28px); opacity: .9; }
.ficha-foto img { position: relative; width: 100%; aspect-ratio: 3 / 2; object-fit: contain; }
.ficha-resumen { font-size: 19px; line-height: 1.6; color: #2b3746; margin-bottom: 26px; padding-left: 16px; border-left: 4px solid var(--amarillo); }
.ficha-bloque { padding: 20px 0; border-top: 1px solid var(--borde); }
.ficha-bloque h2 { display: flex; align-items: center; gap: 12px; font-size: 18px; margin-bottom: 12px; }
.ficha-icono { width: 38px; height: 38px; border-radius: 10px; background: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.ficha-icono svg { width: 22px; height: 22px; fill: none; stroke: var(--amarillo); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nota { font-size: 14px; font-style: italic; color: var(--muted); margin: 10px 0 0; }
.ficha-acciones { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 22px; border-top: 1px solid var(--borde); }

.lista-marca { list-style: none; margin: 0; padding: 0; }
.lista-marca li { position: relative; padding: 5px 0 5px 20px; color: #2b3746; }
.lista-marca li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 8px; border-radius: 2px; background: var(--naranja); }

.ficha-usos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: clamp(48px, 7vw, 80px); }
.ficha-usos > div { background: var(--gris); border-radius: var(--radio); padding: 26px; }
.ficha-usos h2 { font-size: 20px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 3px solid var(--amarillo); }
.ficha-usos p { color: #2b3746; }

.ficha-tabla { margin-top: clamp(48px, 7vw, 72px); }
.ficha-tabla h2 { font-size: clamp(24px, 3vw, 30px); }
.tabla-scroll { overflow-x: auto; border: 1px solid var(--borde); border-radius: var(--radio); -webkit-overflow-scrolling: touch; }
.tabla-scroll:focus-visible { outline: 3px solid var(--celeste); }
.ficha-tabla table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ficha-tabla th { background: var(--navy); color: #fff; font-family: var(--f-titulo); font-weight: 600; font-size: 14px; padding: 14px 12px; text-align: center; }
.ficha-tabla th:first-child { background: var(--naranja); }
.ficha-tabla td { padding: 12px; text-align: center; border-top: 1px solid var(--borde); }
.ficha-tabla td:first-child { font-weight: 700; color: var(--navy); background: #fbf4ec; }
.ficha-tabla tbody tr:nth-child(even) td:not(:first-child) { background: #f7f8f9; }
.tabla-nota { font-size: 14px; color: var(--muted); margin-top: 10px; }

.ficha-descarga {
  margin-top: clamp(48px, 7vw, 72px); display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center;
  background: linear-gradient(135deg, #eef3f8, #fff); border: 1px solid var(--borde); border-radius: var(--radio); padding: clamp(22px, 4vw, 36px);
}
.ficha-descarga img { width: 100%; border-radius: 8px; box-shadow: 0 14px 30px rgba(15,39,64,.22); transform: rotate(-2deg); }
.ficha-descarga h2 { font-size: 24px; }
.ficha-descarga p { color: var(--muted); }

.consulta { background: var(--navy); color: #fff; padding: clamp(40px, 6vw, 64px) 0; }
.consulta-fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.consulta h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin-bottom: 6px; }
.consulta p { margin: 0; color: rgba(255,255,255,.8); }
.consulta-botones { display: flex; flex-wrap: wrap; gap: 12px; }
.menu a[aria-current="page"] { color: var(--azul); }

@media (max-width: 900px) {
  .ficha-principal { grid-template-columns: 1fr; }
  .ficha-galeria { position: static; max-width: 560px; }
}
@media (max-width: 560px) {
  .ficha-descarga { grid-template-columns: 1fr; }
  .ficha-descarga img { max-width: 150px; }
  .ficha-acciones .boton, .consulta-botones .boton { flex: 1 1 100%; }
}

/* Productos con página propia */
.producto-enlace { display: block; color: inherit; text-decoration: none; height: 100%; }
.producto-enlace .ver-mas { display: block; padding: 0 18px 16px; margin-top: -8px; font-family: var(--f-titulo); font-weight: 600; font-size: 14px; color: var(--azul); }
.producto-enlace .ver-mas::after { content: " →"; }
.producto-enlace:hover h3 { color: var(--azul); }
.sector li a { color: var(--azul); font-weight: 600; text-decoration: none; }
.sector li a::after { content: "\00a0→"; }
.sector li a:hover { text-decoration: underline; }

/* Galería de la página de producto */
.miniaturas { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; margin-top: 12px; }
/* con 5 fotos o más, miniaturas un poco más chicas para que en el celular entren todas en una fila */
.miniaturas:has(> :nth-child(5)) { grid-template-columns: repeat(auto-fit, minmax(54px, 1fr)); gap: 8px; }
.miniatura { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--gris); opacity: .7; transition: opacity .2s, border-color .2s; }
.miniatura img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.miniatura:hover { opacity: 1; }
.miniatura[aria-pressed="true"] { border-color: var(--amarillo); opacity: 1; }

/* Instagram */
.pie-instagram { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-titulo); font-weight: 600; margin-right: 64px; }
.pie-instagram svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pie-instagram .punto, .dato-icono-linea .punto { fill: currentColor; stroke: none; }
.pie-instagram:hover { color: var(--amarillo); text-decoration: none !important; }
.dato-icono-linea svg { fill: none; stroke: var(--amarillo); stroke-width: 1.9; color: var(--amarillo); }
@media (max-width: 560px) { .pie-instagram { margin-right: 0; } }

/* Franja de Instagram */
.instagram { padding-top: clamp(56px, 8vw, 96px); padding-bottom: 0; }
.ig-cabecera { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
.ig-cabecera h2 { margin-bottom: 6px; }
.ig-cabecera p { margin: 0; font-family: var(--f-titulo); font-weight: 600; }
.ig-cabecera p a { text-decoration: none; }
.ig-cabecera .boton svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.ig-cabecera .boton .punto { fill: currentColor; stroke: none; }
.ig-grilla { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ig-post { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--gris); }
.ig-post img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .35s; }
.ig-reel { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.ig-hover { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15,39,64,.55); opacity: 0; transition: opacity .25s; }
.ig-hover svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 1.8; }
.ig-hover .punto { fill: #fff; stroke: none; }
.ig-post:hover img, .ig-post:focus-visible img { transform: scale(1.05); }
.ig-post:hover .ig-hover, .ig-post:focus-visible .ig-hover { opacity: 1; }
@media (max-width: 900px) { .ig-grilla { grid-template-columns: repeat(3, 1fr); gap: 8px; } }

/* Botones de la ficha técnica */
.ficha-botones { display: flex; flex-wrap: wrap; gap: 10px; }
.ficha-botones .boton[hidden] { display: none; }
@media (max-width: 560px) { .ficha-botones .boton { flex: 1 1 100%; } }

/* Lema de la portada: en el celular, dos renglones alineados después de la rayita */
@media (max-width: 560px) {
  .portada-lema .lema-punto { display: none; }
  .portada-lema .lema-2 { display: block; padding-left: 38px; }
}
.ficha-acciones .boton[hidden] { display: none; }

/* Tarjetita de la ficha técnica (miniatura de la tapa + Ver / Compartir) */
.ficha-mini { display: flex; gap: 18px; align-items: center; margin-top: 18px; padding: 16px; border: 1px solid var(--borde); border-radius: var(--radio); background: linear-gradient(135deg, #eef3f8, #fff); }
.ficha-mini-tapa { flex-shrink: 0; display: block; width: 84px; border-radius: 6px; overflow: hidden; box-shadow: 0 8px 18px rgba(15,39,64,.22); transform: rotate(-2deg); transition: transform .2s; }
.ficha-mini-tapa:hover { transform: rotate(0) scale(1.04); }
.ficha-mini-tapa img { width: 100%; }
.ficha-mini-titulo { font-family: var(--f-titulo); font-weight: 700; font-size: 17px; color: var(--navy); margin: 0; }
.ficha-mini-dato { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.ficha-mini-botones { display: flex; flex-wrap: wrap; gap: 8px; }
.boton-chico { min-height: 40px; padding: 0 16px; font-size: 14px; }
.ficha-mini-botones .boton[hidden] { display: none; }

/* Sectores como desplegables: cerrados muestran solo ícono, nombre y cantidad */
.sectores { align-items: start; }
details.sector { padding: 0; }
.sector summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; border-radius: var(--radio); }
.sector summary::-webkit-details-marker { display: none; }
.sector summary:hover .sector-flecha { background: var(--gris); }
.sector summary:focus-visible { outline: 3px solid var(--celeste); outline-offset: 2px; }
.sector summary .sector-icono { margin: 0; flex-shrink: 0; }
.sector-nombre { flex-grow: 1; display: flex; flex-direction: column; }
.sector summary h3 { margin: 0; }
.sector-cuenta { font-size: 14px; color: var(--muted); }
.sector-flecha { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--borde); position: relative; transition: transform .25s, background .2s; }
.sector-flecha::before { content: ""; position: absolute; left: 50%; top: 45%; width: 9px; height: 9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translate(-50%, -50%) rotate(45deg); }
details.sector[open] .sector-flecha { transform: rotate(180deg); }
details.sector ul { padding: 0 24px 20px; }
details.sector[open] summary { border-bottom: 1px solid var(--borde); border-radius: var(--radio) var(--radio) 0 0; margin-bottom: 8px; }

/* Trabajá con nosotros */
.trabaja { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.trabaja-texto h2 { margin-bottom: 16px; }
.trabaja-texto p { color: #2b3746; }
.trabaja-areas { margin-top: 26px; padding: 20px 22px; background: var(--gris); border-radius: var(--radio); }
.trabaja-areas h3 { font-size: 16px; margin-bottom: 8px; }
.formulario select {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--texto); width: 100%;
  border: 1.5px solid var(--borde); border-radius: 10px; padding: 12px 42px 12px 14px; appearance: none; -webkit-appearance: none;
  background: #fbfcfd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2740' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
}
.formulario select:focus { outline: none; border-color: var(--azul); background-color: #fff; box-shadow: 0 0 0 3px rgba(29,87,150,.15); }
.formulario .opcional { font-weight: 400; color: var(--muted); }
.campo-cv { display: grid; gap: 6px; }
.campo-titulo { font-weight: 600; font-size: 14px; color: var(--navy); }
.formulario .archivo { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; border: 1.5px dashed var(--borde); border-radius: 10px; padding: 12px 14px; background: #fbfcfd; cursor: pointer; font-weight: 400; }
.formulario .archivo input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0; }
.formulario .archivo:focus-within { border-color: var(--azul); border-style: solid; box-shadow: 0 0 0 3px rgba(29,87,150,.15); }
.formulario .archivo.elegido { border-style: solid; border-color: var(--azul); background: #fff; }
.formulario .archivo.invalido { border-color: #c0392b; }
.archivo-boton { font-family: var(--f-titulo); font-weight: 600; font-size: 14px; background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 999px; flex-shrink: 0; }
.archivo-nombre { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.archivo.elegido .archivo-nombre { color: var(--texto); font-weight: 500; }
.formulario .casilla { grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-weight: 400; font-size: 14px; color: #2b3746; cursor: pointer; }
.formulario .casilla input { width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--azul); cursor: pointer; }
.formulario .casilla.invalido span { color: #9b2c1f; }
.trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .trabaja { grid-template-columns: 1fr; } }
/* Que el cuadro de reCAPTCHA (304 px fijos) no ensanche la columna en celulares angostos */
.trabaja > *, .contacto > * { min-width: 0; }
@media (max-width: 400px) { .g-recaptcha { transform: scale(.86); transform-origin: 0 0; height: 68px; min-height: 0; } }
.formulario .casilla input:focus-visible { outline: 3px solid var(--celeste); outline-offset: 2px; box-shadow: none; }
