/* Arbesta · sitio público */
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-display: swap; src: url(fonts/hanken-grotesk-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-display: swap; src: url(fonts/hanken-grotesk-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 600; font-display: swap; src: url(fonts/hanken-grotesk-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 700; font-display: swap; src: url(fonts/hanken-grotesk-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-display: swap; src: url(fonts/outfit-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-display: swap; src: url(fonts/outfit-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 700; font-display: swap; src: url(fonts/outfit-latin-700-normal.woff2) format("woff2"); }

:root {
  --marca: #0f5a3c; --marca-osc: #0b4630; --menta: #e6f1ea; --menta-borde: #b9d8c5;
  --tinta: #15231d; --tenue: #52625a; --linea: #e1e7e3; --fondo: #ffffff; --banda: #f3f6f4; --pie: #0c2a1f;
  --campo: #4e9a24; --bascula: #14857c; --planta: #d9641a; --manufactura: #2f5da8; --taller: var(--manufactura);
  --texto: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif; --display: "Outfit", var(--texto);
  --radio: 14px; --sombra: 0 1px 2px rgba(21, 35, 29, .06), 0 12px 32px -12px rgba(21, 35, 29, .18);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-color: #a9bdb2 var(--banda); caret-color: var(--marca); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fondo); color: var(--tinta); font: 400 17px/1.6 var(--texto); -webkit-font-smoothing: antialiased; }
::selection { background: var(--menta-borde); color: var(--tinta); }
h1, h2, h3 { font-family: var(--display); color: var(--tinta); margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--marca); text-underline-offset: 3px; }
img, video { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--marca); outline-offset: 3px; border-radius: 6px; }
.envoltura { width: min(1200px, 100% - 48px); margin-inline: auto; }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--marca); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 20; }
.saltar:focus { left: 16px; }

/* barra */
.barra { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--linea); }
.barra .envoltura { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinta); }
.logo svg { width: 32px; height: 32px; }
.logo b { font: 700 20px/1 var(--display); letter-spacing: -.01em; }
.logo span { font: 500 20px/1 var(--display); color: var(--tenue); }
.barra nav { margin-left: auto; }
.barra nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.barra nav a { color: var(--tinta); text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; }
.barra nav a:hover, .barra nav a[aria-current] { color: var(--marca); }
.barra nav a[aria-current] { box-shadow: inset 0 -2px var(--marca); }
.barra .boton { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* botones */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 10px; background: var(--marca); color: #fff; font: 600 16px/1 var(--texto); text-decoration: none; border: 1px solid var(--marca); transition: background .2s, box-shadow .2s, transform .2s; }
.boton:hover { background: var(--marca-osc); box-shadow: 0 8px 18px -10px rgba(15, 90, 60, .7); }
.boton:active { transform: translateY(1px); }
.boton.secundario { background: #fff; color: var(--tinta); border-color: var(--linea); }
.boton.secundario:hover { border-color: var(--menta-borde); background: var(--menta); box-shadow: none; }
.boton.claro { background: #fff; color: var(--marca); border-color: #fff; }
.boton.claro:hover { background: var(--menta); }
.flecha { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.boton:hover .flecha, .enlace:hover .flecha { transform: translateX(3px); }
.enlace { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.acciones.centro { justify-content: center; }

/* secciones */
.seccion, .banda { padding-block: clamp(64px, 8vw, 104px); }
.banda { background: var(--banda); }
.cabeza { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.cabeza h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.cabeza p { margin-top: 14px; font-size: 18px; color: var(--tenue); }
.entrada { font-size: clamp(17px, 1.5vw, 20px); color: var(--tenue); line-height: 1.55; }
.nota { font-size: 14px; color: var(--tenue); margin-top: 12px; }
figcaption { font-size: 14px; color: var(--tenue); margin-top: 12px; text-align: center; }
figure { margin: 0; }

/* héroe */
.heroe { padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 88px); text-align: center; background: radial-gradient(1200px 420px at 50% -120px, var(--menta), transparent 70%); }
.heroe h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; max-width: 15ch; margin-inline: auto; }
.heroe .entrada { max-width: 640px; margin: 22px auto 0; }
.trazo { position: relative; white-space: nowrap; color: var(--marca); }
.trazo::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .3em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 60 4, 140 3, 297 9' fill='none' stroke='%2366b88c' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; z-index: -1; }
.heroe h1 { position: relative; z-index: 0; }
.teselas { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; text-align: left; }
.grupo { background: #fff; border: 1px solid var(--linea); border-radius: 18px; padding: 22px 22px 18px; box-shadow: var(--sombra); }
.grupo-nombre { font: 700 18px/1.2 var(--display); margin-bottom: 14px; }
.grupo ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.grupo a { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 14px 8px; border-radius: 12px; text-decoration: none; color: var(--tinta); transition: background .2s; }
.grupo a:hover { background: var(--banda); }
.grupo a:hover .app-ico { transform: translateY(-3px); box-shadow: 0 10px 18px -10px rgba(21, 35, 29, .5); }
.grupo a b { font-size: 16px; margin-top: 6px; }
.grupo a span { font-size: 13px; color: var(--tenue); line-height: 1.35; }
.app-ico { width: 60px; height: 60px; border-radius: 16px; transition: transform .25s, box-shadow .25s; }

/* producto: héroe */
.heroe.producto { padding-bottom: 0; }
.sello-producto { display: inline-flex; align-items: center; gap: 10px; font: 700 18px/1 var(--display); color: var(--tinta); background: #fff; border: 1px solid var(--linea); border-radius: 999px; padding: 10px 18px 10px 14px; margin-bottom: 24px; }
.punto { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.marco-video { margin-top: 56px; }
.video-caja { border-radius: 18px; overflow: hidden; background: #eef2ef; box-shadow: var(--sombra); border: 1px solid var(--linea); }
.video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* rasgos */
.rasgos ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; text-align: center; }
.rasgos .ico { width: 64px; height: 64px; margin: 0 auto 14px; }
.rasgos h3 { font-size: 18px; font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
.rasgos p { font-size: 15px; color: var(--tenue); }

/* pestañas */
.pestanas > input { position: absolute; opacity: 0; pointer-events: none; }
.pest-barra { display: flex; justify-content: center; width: fit-content; margin: 0 auto 40px; padding: 5px; gap: 4px; background: #e9eeeb; border-radius: 999px; }
.pest-barra label { cursor: pointer; padding: 10px 22px; border-radius: 999px; font: 600 16px/1.2 var(--texto); color: var(--tenue); transition: background .2s, color .2s, box-shadow .2s; }
.pest-barra label:hover { color: var(--tinta); }
.pestanas > input:nth-of-type(1):checked ~ .pest-barra > :nth-child(1),
.pestanas > input:nth-of-type(2):checked ~ .pest-barra > :nth-child(2),
.pestanas > input:nth-of-type(3):checked ~ .pest-barra > :nth-child(3) { background: #fff; color: var(--marca); box-shadow: 0 1px 2px rgba(21, 35, 29, .1), 0 4px 12px -6px rgba(21, 35, 29, .25); }
.pestanas > input:nth-of-type(1):focus-visible ~ .pest-barra > :nth-child(1),
.pestanas > input:nth-of-type(2):focus-visible ~ .pest-barra > :nth-child(2),
.pestanas > input:nth-of-type(3):focus-visible ~ .pest-barra > :nth-child(3) { outline: 3px solid var(--marca); outline-offset: 2px; }
.pest-panel { display: none; }
.pestanas > input:nth-of-type(1):checked ~ .p1, .pestanas > input:nth-of-type(2):checked ~ .p2, .pestanas > input:nth-of-type(3):checked ~ .p3 { display: grid; gap: 28px; animation: entra .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes entra { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pest-panel > header { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.pest-panel > header h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -.015em; }
.pest-panel > header p { color: var(--tenue); }
.pest-panel > .nota { margin: 0; text-align: center; }
.foto { width: 100%; height: auto; border-radius: var(--radio); border: 1px solid var(--linea); background: var(--banda); }
.ilus { box-shadow: var(--sombra); }

/* módulos como teselas que eligen */
.teselas-tab { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; padding: 0; background: none; border-radius: 0; margin-bottom: 40px; }
.teselas-tab label { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; text-align: left; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--linea); }
.teselas-tab .app-ico { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; }
.teselas-tab b { font-size: 17px; color: var(--tinta); align-self: end; }
.teselas-tab span { font-size: 14px; font-weight: 400; color: var(--tenue); align-self: start; }
.modulos > input:nth-of-type(1):checked ~ .pest-barra > :nth-child(1),
.modulos > input:nth-of-type(2):checked ~ .pest-barra > :nth-child(2),
.modulos > input:nth-of-type(3):checked ~ .pest-barra > :nth-child(3) { border-color: var(--marca); background: var(--menta); box-shadow: inset 0 0 0 1px var(--marca); }
.modulo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) !important; align-items: center; gap: 48px !important; }
.modulo h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -.015em; margin-bottom: 12px; }
.modulo-texto > p { color: var(--tenue); }
.modulo figure .foto + .foto { margin-top: 12px; }

/* listas */
.chulos { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.chulos li { position: relative; padding-left: 30px; }
.chulos li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--menta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230f5a3c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.tres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tres li { background: #fff; border: 1px solid var(--linea); border-radius: 16px; padding: 28px; }
.tres h3 { font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.tres p { color: var(--tenue); font-size: 16px; }

/* filas de producto */
.fila-producto { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.fila-producto + .fila-producto { margin-top: 72px; }
.fila-producto.al-reves > :first-child { order: 2; }
.fila-producto h3 { font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -.02em; line-height: 1.15; margin-bottom: 10px; }
.fila-producto > div > p { color: var(--tenue); font-size: 18px; }
.fila-producto .enlace { margin-top: 24px; }

/* pasos */
.pasos { list-style: none; counter-reset: paso; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.pasos li { counter-increment: paso; position: relative; }
.pasos li::before { content: counter(paso); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--menta); color: var(--marca); font: 700 17px/1 var(--texto); margin-bottom: 16px; }
.pasos li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 52px; right: -16px; height: 1px; background: var(--menta-borde); }
.pasos h3 { font-size: 18px; margin-bottom: 6px; }
.pasos p { font-size: 15px; color: var(--tenue); }

/* implantación */
.dos-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.dos-col h2 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; letter-spacing: -.02em; }
.dos-col p { color: var(--tenue); font-size: 18px; }
.dos-col .acciones { margin-top: 20px; }

/* cierre */
.cierre { background: var(--marca); color: #e6f1ea; text-align: center; padding-block: clamp(64px, 8vw, 96px); padding-inline: 24px; }
.cierre h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.cierre > p { max-width: 620px; margin: 16px auto 0; font-size: 18px; }
.cierre .correo { font-size: 14px; margin-top: 20px; color: #b9d8c5; }
.cierre .correo a { color: #fff; }

/* pie */
.pie { background: var(--pie); color: #b5c7bd; padding-top: 56px; font-size: 15px; }
.pie .envoltura { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.pie .logo { color: #fff; }
.pie .logo svg rect:first-child { fill: #1c6e4c; }
.pie-marca p { margin-top: 14px; max-width: 34ch; }
.pie nav { display: grid; gap: 10px; align-content: start; }
.pie nav b { color: #fff; font-weight: 600; }
.pie a { color: #b5c7bd; text-decoration: none; }
.pie a:hover { color: #fff; }
.pie-base { display: block !important; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-block: 20px; font-size: 13px; }

/* letra A del logo */
.pxA { display: inline; }

/* panel del cliente */
.portada { padding-block: 64px 48px; }
.palabra { display: block; font: 800 clamp(48px, 9vw, 112px)/.95 var(--display); letter-spacing: -.045em; color: var(--marca); }
.portada-texto { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; margin-top: 24px; }
.portada h1 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -.02em; }
.indice { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; }
.indice a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--linea); color: var(--tinta); text-decoration: none; font-weight: 600; }
.indice a:hover { color: var(--marca); }
.bloque { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding-block: 48px 64px; border-top: 1px solid var(--linea); }
.bloque > header h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.015em; }
.bloque > header p { margin-top: 10px; color: var(--tenue); }
.filas { list-style: none; margin: 0; padding: 0; }
.filas li { padding-block: 18px; border-bottom: 1px solid var(--linea); }
.filas li:first-child { padding-top: 0; }
.filas h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.filas p { color: var(--tenue); margin-top: 4px; }
.filas em { display: block; font-style: normal; font-weight: 600; font-size: 15px; color: var(--tinta); margin-top: 4px; }
.marca-modulo { width: 12px; height: 12px; border-radius: 4px; display: inline-block; flex: none; }
.camino { list-style: none; counter-reset: c; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.camino li { counter-increment: c; background: var(--banda); border-radius: 14px; padding: 22px; }
.camino li::before { content: counter(c); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--menta); color: var(--marca); font-weight: 700; margin-bottom: 12px; }
.camino b { display: block; font-size: 18px; margin-bottom: 6px; }
.camino p { color: var(--tenue); font-size: 15px; }
.camino em { display: block; font-style: normal; font-weight: 600; font-size: 14px; margin-top: 10px; }
.gantt-caja { background: #fff; border: 1px solid var(--linea); border-radius: 14px; padding: 18px; overflow-x: auto; margin-bottom: 24px; }
.grafica { width: 100%; height: auto; display: block; }
.grafica .eje { fill: var(--tenue); font: 500 12px var(--texto); font-variant-numeric: tabular-nums; }
.grafica .eje.fuerte { fill: var(--tinta); font-weight: 600; font-size: 13px; }
.grafica .rejilla { stroke: var(--linea); }
.grafica .pista { fill: #edf1ee; }
.leyenda { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--tenue); margin-top: 10px; }
.leyenda i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.informe-semanal { margin: 10px 0 0; padding-left: 20px; color: var(--tenue); display: grid; gap: 6px; }
.preguntas details { border-bottom: 1px solid var(--linea); }
.preguntas summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font: 600 18px/1.3 var(--display); }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: "+"; color: var(--marca); font-size: 24px; line-height: 1; }
.preguntas details[open] summary::after { content: "−"; }
.preguntas p { padding-bottom: 18px; color: var(--tenue); }
main.envoltura > .cierre { border-radius: 20px; margin-block: 48px; }

/* pantallas medianas y celular */
@media (max-width: 1024px) {
  .rasgos ul { grid-template-columns: repeat(3, 1fr); }
  .pasos { grid-template-columns: repeat(3, 1fr); }
  .pasos li::after { display: none; }
}
@media (max-width: 860px) {
  .barra nav { display: none; }
  .barra .boton { margin-left: auto; }
  .teselas, .fila-producto, .modulo, .dos-col, .pest-panel > header, .bloque, .portada-texto, .dos, .pie .envoltura { grid-template-columns: 1fr !important; gap: 24px !important; }
  .fila-producto.al-reves > :first-child { order: 0; }
  .tres, .camino { grid-template-columns: 1fr; }
  .teselas-tab { grid-template-columns: 1fr; gap: 8px; }
  .indice { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .ilus { height: auto !important; aspect-ratio: auto; }
  .rasgos ul, .pasos { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .grupo ul { gap: 2px; }
  .grupo a { padding: 10px 4px; }
  .app-ico { width: 52px; height: 52px; }
  .pest-barra label { padding: 9px 14px; font-size: 15px; }
  .teselas-tab label { padding: 12px 14px; }
  .logo span { display: none; }
}
@media (max-width: 420px) {
  .rasgos ul, .pasos { grid-template-columns: 1fr; }
  .grupo a span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.fila-producto.al-reves { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 860px) { .fila-producto.al-reves { grid-template-columns: 1fr; } }

/* frontal estilo Buk: franja de aviso, héroe en menta claro, botones píldora */
:root { --cielo: #dcefe4; --profundo: #0a3d2a; }
.boton { border-radius: 999px; }
.boton.oscuro { background: var(--profundo); border-color: var(--profundo); min-height: 40px; padding: 0 22px; font-size: 15px; }
.boton.oscuro:hover { background: #062a1d; }
.aviso { background: var(--cielo); color: var(--profundo); font-size: 15px; }
.aviso[hidden] { display: none; }
.aviso .envoltura { display: flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; padding-block: 6px; position: relative; }
.aviso b { font-weight: 600; }
.cerrar-aviso { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: #5d8a73; cursor: pointer; border-radius: 50%; }
.cerrar-aviso svg { width: 24px; height: 24px; }
.cerrar-aviso:hover { color: var(--profundo); background: rgba(10, 61, 42, .06); }
.barra { background: #fff; }
.barra .envoltura { height: 72px; }
.barra nav ul { gap: 40px; }
.barra nav a { color: var(--profundo); font-size: 16px; }
.barra .boton { min-height: 44px; padding: 0 20px; }
.heroe { background: var(--cielo); padding-top: 28px; }
.etiqueta { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--profundo); border-radius: 999px; padding: 6px 16px; font: 600 13px/1.3 var(--texto); letter-spacing: .02em; text-transform: uppercase; margin: 0 0 26px; }
.heroe h1 { color: var(--profundo); font-weight: 600; letter-spacing: -.025em; max-width: 18ch; font-size: clamp(38px, 5vw, 62px); }
.heroe .entrada { color: var(--profundo); opacity: .9; }
.heroe .boton.secundario { background: #fff; border-color: #fff; color: var(--profundo); }
.heroe .boton.secundario:hover { background: #f3faf6; }
.heroe .boton .flecha { display: none; }
.sello-producto { text-transform: none; letter-spacing: 0; font-size: 15px; border: 0; padding: 8px 18px 8px 14px; }
.heroe.producto { background: linear-gradient(var(--cielo) 0 62%, #fff 62%); }
.grupo { border-color: #fff; }
@media (max-width: 860px) {
  .aviso p { font-size: 14px; }
  .aviso p span, .aviso .envoltura > p { text-align: left; }
  .aviso .envoltura { justify-content: flex-start; padding-right: 40px; gap: 12px; flex-wrap: wrap; }
}
@media (max-width: 560px) { .aviso p b + * , .aviso p { font-size: 13px; } .aviso .boton.oscuro { min-height: 34px; padding: 0 14px; font-size: 14px; } }
@media (max-width: 560px) { .aviso .boton.oscuro { display: none; } .aviso .envoltura { min-height: 44px; } .etiqueta { font-size: 11px; padding: 6px 12px; } }

/* pestañas de página */
.secciones { position: sticky; top: 72px; z-index: 9; background: #fff; border-bottom: 1px solid var(--linea); }
.secciones .envoltura { display: flex; justify-content: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.secciones .envoltura::-webkit-scrollbar { display: none; }
.secciones a { flex: none; padding: 18px 18px 16px; font: 600 16px/1.2 var(--texto); color: var(--tenue); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.secciones a:hover { color: var(--profundo); }
.secciones a[aria-selected="true"] { color: var(--marca); border-bottom-color: var(--marca); }
[data-panel][hidden] { display: none; }
[data-panel] { animation: entra .35s cubic-bezier(.2, .8, .2, 1); }
[data-panel].seccion, [data-panel].banda { padding-block: clamp(48px, 6vw, 80px); }
@media (max-width: 860px) { .secciones { top: 72px; } .secciones .envoltura { justify-content: flex-start; width: 100%; padding-inline: 12px; } .secciones a { padding: 14px 12px 12px; font-size: 15px; } }
.heroe h1 { max-width: 22ch; } @media (max-width: 700px) { .heroe h1 br { display: none; } }
.heroe h1 { max-width: 26ch; font-size: clamp(34px, 4.4vw, 56px); }

/* colores de la versión inicial (tipo Odoo) */
.aviso { background: var(--banda); color: var(--tinta); border-bottom: 1px solid var(--linea); }
.boton.oscuro { background: var(--marca); border-color: var(--marca); }
.boton.oscuro:hover { background: var(--marca-osc); }
.barra nav a { color: var(--tinta); }
.heroe { background: radial-gradient(1200px 420px at 50% -120px, var(--menta), transparent 70%); }
.heroe.producto { background: radial-gradient(1200px 420px at 50% -120px, var(--menta), transparent 70%); }
.heroe h1 { color: var(--tinta); font-weight: 700; }
.heroe .entrada { color: var(--tenue); opacity: 1; }
.etiqueta { background: var(--menta); color: var(--marca); }
.heroe .boton.secundario { background: #fff; border-color: var(--linea); color: var(--tinta); }
.heroe .boton.secundario:hover { background: var(--menta); border-color: var(--menta-borde); }
.sello-producto { background: #fff; border: 1px solid var(--linea); }

/* videos: marco oscuro de pantalla para separarlos del fondo */
.video-caja { background: var(--pie); padding: clamp(6px, 1vw, 12px); border: 0; border-radius: 22px; box-shadow: 0 2px 4px rgba(12, 42, 31, .12), 0 28px 50px -22px rgba(12, 42, 31, .55); }
.video { border-radius: 12px; }

/* ingresar + contáctenos */
.barra-acciones { display: flex; align-items: center; gap: 10px; }
.ingresar { position: relative; }
.ingresar summary { list-style: none; cursor: pointer; min-height: 44px; padding: 0 20px; font-size: 15px; }
.ingresar summary::-webkit-details-marker { display: none; }
.ingresar summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 4px; }
.ingresar[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.menu-ingresar { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; background: #fff; border: 1px solid var(--linea); border-radius: 14px; box-shadow: var(--sombra); padding: 6px; display: grid; z-index: 12; }
.menu-ingresar a { padding: 12px 14px; border-radius: 10px; color: var(--tinta); text-decoration: none; font-weight: 500; font-size: 15px; }
.menu-ingresar a:hover { background: var(--menta); color: var(--marca); }
@media (max-width: 860px) { .barra-acciones { margin-left: auto; } .barra .barra-acciones .boton { padding: 0 14px; } }
@media (max-width: 420px) { .barra-acciones { gap: 6px; } .barra .barra-acciones .boton, .ingresar summary { padding: 0 12px; font-size: 14px; } .logo b { font-size: 18px; } }

/* portada más baja: las pestañas se ven en la primera pantalla */
.heroe { padding-top: 24px; padding-bottom: 36px; }
.heroe .etiqueta { margin-bottom: 18px; }
.heroe .entrada { max-width: 760px; margin-top: 16px; font-size: clamp(16px, 1.3vw, 18px); }
.heroe .acciones { margin-top: 22px; }
.heroe.producto { padding-bottom: 0; }
[data-panel].seccion, [data-panel].banda { padding-top: clamp(32px, 4vw, 48px); } [data-panel] .cabeza { margin-bottom: 32px; }
html { scroll-padding-top: 136px; }

/* pestañas dentro de la barra superior (una sola barra) */
.barra .secciones { position: static; background: none; border: 0; margin-left: auto; align-self: stretch; display: flex; }
.barra .secciones [role=tablist] { display: flex; gap: 4px; height: 100%; }
.barra .secciones a { display: flex; align-items: center; padding: 0 14px; font: 500 15px/1.2 var(--texto); color: var(--tinta); border-bottom: 3px solid transparent; border-top: 3px solid transparent; white-space: nowrap; }
.barra .secciones a:hover { color: var(--marca); }
.barra .secciones a[aria-selected="true"] { color: var(--marca); border-bottom-color: var(--marca); font-weight: 600; }
.barra-acciones { margin-left: 16px; }
@media (max-width: 1100px) { .barra .secciones a { padding: 0 9px; font-size: 14px; } }
@media (max-width: 960px) {
  .barra .envoltura { flex-wrap: wrap; height: auto; padding-top: 10px; row-gap: 0; }
  .barra .barra-acciones { margin-left: auto; }
  .barra .secciones { display: flex !important; order: 3; width: 100%; margin: 6px -12px 0; overflow-x: auto; scrollbar-width: none; height: 46px; }
  .barra .secciones::-webkit-scrollbar { display: none; }
}
html { scroll-padding-top: 88px; }
@media (max-width: 480px) {
  .barra .logo svg { width: 28px; height: 28px; }
  .barra .logo b { font-size: 17px; }
  .barra .barra-acciones { gap: 6px; margin-left: auto; }
  .barra .barra-acciones .boton, .barra .ingresar summary { min-height: 38px; padding: 0 11px; font-size: 13.5px; }
  .ingresar summary::after { width: 6px; height: 6px; }
  .barra .secciones a { padding: 0 10px; font-size: 14px; }
}

/* enlace al otro producto */
.barra .otro-producto { display: flex; align-items: center; gap: 6px; margin-left: 10px; padding: 0 0 0 16px; border-left: 1px solid var(--linea); align-self: center; height: 28px; font: 600 15px/1 var(--texto); color: var(--marca); text-decoration: none; white-space: nowrap; }
.barra .otro-producto .punto { width: 10px; height: 10px; border-radius: 3px; }
.barra .otro-producto:hover { color: var(--marca-osc); }
@media (max-width: 1180px) { .barra .logo span { display: none; } }
@media (max-width: 480px) { .barra .otro-producto { font-size: 14px; margin-left: 4px; padding-left: 12px; } }
.barra .logo span { display: none; }
.barra .envoltura { gap: 20px; }
@media (max-width: 1280px) { .barra .secciones a { padding: 0 9px; font-size: 14.5px; } .barra .otro-producto .op-marca { display: none; } .barra-acciones { margin-left: 8px; } .barra .barra-acciones .boton, .barra .ingresar summary { padding: 0 16px; } }
@media (max-width: 1080px) {
  .barra .envoltura { flex-wrap: wrap; height: auto; padding-top: 10px; row-gap: 0; }
  .barra .barra-acciones { margin-left: auto; }
  .barra .secciones { display: flex !important; order: 3; width: 100%; margin: 6px 0 0; overflow-x: auto; scrollbar-width: none; height: 46px; }
  .barra .secciones::-webkit-scrollbar { display: none; }
}

/* logo más grande */
.barra .logo { gap: 12px; }
.barra .logo svg { width: 44px; height: 44px; }
.barra .logo b { font-size: 26px; letter-spacing: -.015em; }
@media (max-width: 480px) { .barra .logo svg { width: 36px; height: 36px; } .barra .logo b { font-size: 21px; } }
@media (max-width: 480px) { .barra .logo { gap: 8px; } .barra .logo svg { width: 34px; height: 34px; } .barra .logo b { font-size: 19px; } .barra .envoltura { column-gap: 8px; } }
@media (max-width: 400px) { .barra .barra-acciones .boton, .barra .ingresar summary { padding: 0 9px; font-size: 13px; } }
.pie .pie-lema { color: #fff; font: 600 17px/1.3 var(--display); margin-top: 16px; } .pie .pie-lema + p { margin-top: 6px; }

/* lema bajo el logo */
.logo-pila { display: grid; font-style: normal; line-height: 1; }
.logo-pila small { font: 500 11.5px/1.2 var(--texto); color: var(--tenue); letter-spacing: .02em; margin-top: 4px; white-space: nowrap; }
@media (max-width: 480px) { .logo-pila small { font-size: 9.5px; letter-spacing: 0; margin-top: 3px; } }
@media (max-width: 1180px) {
  .barra .envoltura { flex-wrap: wrap; height: auto; padding-top: 10px; row-gap: 0; }
  .barra .barra-acciones { margin-left: auto; }
  .barra .secciones { display: flex !important; order: 3; width: 100%; margin: 6px 0 0; overflow-x: auto; scrollbar-width: none; height: 46px; }
  .barra .secciones::-webkit-scrollbar { display: none; }
}
@media (max-width: 480px) {
  .barra .logo { gap: 7px; } .barra .logo svg { width: 30px; height: 30px; } .barra .logo b { font-size: 17px; }
  .logo-pila small { font-size: 8.5px; }
  .barra .barra-acciones { gap: 5px; }
  .barra .barra-acciones .boton, .barra .ingresar summary { padding: 0 8px; font-size: 12.5px; min-height: 34px; }
  .ingresar summary::after { margin-left: 2px; }
}
@media (max-width: 374px) { .logo-pila small { display: none; } }
/* video de apertura en el héroe de inicio */
.heroe-video{max-width:960px;margin:40px auto 0}
@media (max-width:720px){.heroe-video{margin-top:28px}}
/* el video siempre cabe en la pantalla: alto máximo = pantalla menos barra y márgenes */
.video-caja { width: 100%; max-width: min(100%, 880px, calc((100svh - 320px) * 16 / 9)); margin-inline: auto; }
.heroe-video { max-width: min(880px, calc((100svh - 320px) * 16 / 9)); }
@media (max-height: 560px) { .video-caja, .heroe-video { max-width: min(100%, calc((100svh - 140px) * 16 / 9)); } }
/* héroe en dos columnas en pantallas anchas: texto a la izquierda, video a la derecha; todo en una pantalla */
@media (min-width: 1100px) {
  .heroe > .envoltura { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); column-gap: clamp(40px, 4vw, 72px); align-items: center; text-align: left; }
  .heroe > .envoltura > * { grid-column: 1; }
  .heroe > .envoltura > .heroe-video, .heroe > .envoltura > .marco-video { grid-column: 2; grid-row: 1 / span 4; margin: 0; max-width: none; }
  .heroe > .envoltura > .heroe-video .video-caja, .heroe > .envoltura > .marco-video .video-caja { max-width: min(100%, calc((100svh - 220px) * 16 / 9)); }
  .heroe h1 { margin-inline: 0; max-width: 16ch; font-size: clamp(36px, 3.6vw, 54px); }
  .heroe .entrada { margin-inline: 0; max-width: 560px; }
  .heroe .acciones.centro { justify-content: flex-start; }
  .heroe .etiqueta { justify-self: start; }
  .heroe.producto { padding-bottom: 48px; }
  .heroe .marco-video figcaption { text-align: left; }
}
