/* Partner Innuro: hero con máquina y sello giratorio, credenciales, qué significa, red, maquinaria por pestañas,
   desarrollos exclusivos, Academy con línea de tiempo y CTA de visita */

/* HERO */
.phero { position: relative; background: #070B14; color: var(--cream); padding: clamp(48px, 7vw, 96px) 0 0; overflow: hidden; }
.phero__bg { position: absolute; inset: 0 0 0 38%; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; opacity: .55; transform: scale(1.08); transition: transform 2.4s cubic-bezier(.19, 1, .22, 1), opacity 1.6s ease; }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #070B14 0%, rgba(7, 11, 20, .75) 35%, rgba(7, 11, 20, .2) 70%, rgba(7, 11, 20, .6) 100%), linear-gradient(0deg, #070B14 0%, transparent 35%); }
.phero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 40px; align-items: center; }
.phero__badges { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.phero__badges li { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 194, 0, .45); color: var(--yellow); background: rgba(255, 194, 0, .06); }
.phero__title { font-size: clamp(50px, 7.4vw, 112px); line-height: 1.04; margin-bottom: 28px; }
.phero__title .line { display: block; overflow: hidden; padding: .12em 0 .04em; margin-top: -.12em; }
.phero__title .line > span { display: inline-block; }
.phero__lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; color: var(--muted); max-width: 640px; margin: 0 0 32px; }
.phero__lead strong { color: var(--cream); font-weight: 600; }
.phero__logos { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.phero__logos img { height: 30px; width: auto; }
.phero__logos span { width: 1px; height: 32px; background: rgba(244, 238, 228, .25); }

.phero__seal { position: relative; width: min(100%, 340px); aspect-ratio: 1; justify-self: end; }
.phero__seal img { position: absolute; inset: 16%; width: 68%; height: 68%; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); }
.phero__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.phero__ring text { font-family: var(--body); font-size: 11.5px; font-weight: 700; letter-spacing: .32em; fill: var(--yellow); }
@keyframes spin { to { transform: rotate(360deg); } }

.js .phero__title .line > span { transform: translateY(105%); transition: transform 1.1s cubic-bezier(.19, 1, .22, 1); }
.js .phero__title .line:nth-child(2) > span { transition-delay: .1s; }
.js .phero__title .line:nth-child(3) > span { transition-delay: .2s; }
.js .phero__seal { opacity: 0; transform: scale(.8) rotate(-30deg); transition: opacity 1s ease .3s, transform 1.4s cubic-bezier(.19, 1, .22, 1) .3s; }
.js .phero__bg img { opacity: 0; }
.js .phero.is-ready .phero__title .line > span { transform: none; }
.js .phero.is-ready .phero__seal { opacity: 1; transform: none; }
.js .phero.is-ready .phero__bg img { opacity: .55; transform: scale(1); }

.phero__stats { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid rgba(244, 238, 228, .14); }
.phero__stats > div { padding: 28px clamp(12px, 2vw, 28px); }
.phero__stats > div + div { border-left: 1px solid rgba(244, 238, 228, .14); }
.phero__stats dt { font-family: var(--display); font-size: clamp(40px, 4.6vw, 64px); line-height: 1; color: var(--yellow); }
.phero__stats dd { margin: 8px 0 0; font-size: 14px; color: var(--muted-2); }

/* CREDENCIALES */
.creds { padding: clamp(72px, 9vw, 120px) 0; }
.creds__intro, .machines__intro, .excl__intro { max-width: 360px; margin: 0; font-size: 16px; line-height: 1.6; }
.creds__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cert { position: relative; overflow: hidden; padding: 36px 30px 32px; border-radius: 24px; background: #FBF7F1; border: 1px solid rgba(20, 20, 20, .1); display: flex; flex-direction: column; gap: 10px; transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease; }
.cert::before { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(184, 135, 0, .35); border-radius: 16px; pointer-events: none; }
.cert:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20, 20, 20, .12); }
.cert__n { font-family: var(--display); font-size: 64px; line-height: 1; color: var(--gold); }
.cert__kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.cert__title { font-family: var(--serif); font-size: 25px; line-height: 1.2; margin: 0; color: var(--ink); }
.cert p { margin: 0; font-size: 15px; line-height: 1.6; color: #4A433A; }
.cert__icon { position: absolute; right: 26px; top: 30px; width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.cert:hover .cert__icon { transform: rotate(-10deg) scale(1.12); }

/* QUÉ SIGNIFICA */
.means { background: var(--bg); color: var(--cream); padding: clamp(72px, 9vw, 120px) 0; }
.means__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.means__text { position: sticky; top: calc(var(--header-h) + 32px); }
.means__title { font-size: clamp(48px, 6.4vw, 92px); margin-bottom: 24px; }
.means__text > p { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 0 0 32px; }
.means__quote { margin: 0; padding: 28px 30px; border-left: 4px solid var(--yellow); background: var(--bg-2); border-radius: 0 18px 18px 0; }
.means__quote p { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; margin: 0 0 14px; }
.means__quote cite { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.means__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mcard { padding: 28px 26px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line-2); transition: border-color .3s ease, transform .3s ease; }
.mcard:nth-child(even) { transform: translateY(40px); }
.mcard:hover { border-color: var(--yellow); }
.mcard__k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.mcard h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; margin: 12px 0 12px; }
.mcard p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.swatch { display: flex; gap: 6px; margin-top: 18px; }
.swatch i { flex: 1; height: 26px; border-radius: 6px; background: var(--c); position: relative; overflow: hidden; }
.swatch i:nth-child(1) { --c: #E4002B; } .swatch i:nth-child(2) { --c: #FFC200; } .swatch i:nth-child(3) { --c: #00A3E0; } .swatch i:nth-child(4) { --c: #1D1D1D; } .swatch i:nth-child(5) { --c: #F4EEE4; }
.swatch i::after { content: ""; position: absolute; inset: 0 0 50% 0; background: var(--c); filter: brightness(1.04); border-bottom: 1px dashed rgba(255, 255, 255, .35); }

/* RED */
.net { background: #070B14; color: var(--cream); padding: clamp(72px, 9vw, 120px) 0; overflow: hidden; }
.net__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.net__map { position: relative; }
.net__svg { width: 100%; height: auto; overflow: visible; }
.net__links path { fill: none; stroke: rgba(255, 194, 0, .35); stroke-width: 1.2; stroke-dasharray: 4 6; animation: dash 14s linear infinite; }
.net__nodes circle { fill: #0E1626; stroke: var(--yellow); stroke-width: 2; animation: blink 3.2s ease-in-out infinite; }
.net__nodes circle:nth-child(2) { animation-delay: .5s; } .net__nodes circle:nth-child(3) { animation-delay: 1s; } .net__nodes circle:nth-child(4) { animation-delay: 1.5s; } .net__nodes circle:nth-child(5) { animation-delay: 2s; } .net__nodes circle:nth-child(6) { animation-delay: 2.5s; }
.net__core { fill: var(--yellow); }
.net__core-halo { fill: rgba(255, 194, 0, .18); transform-origin: 200px 150px; animation: halo 2.6s ease-out infinite; }
.net__you { position: absolute; left: 50%; top: 50%; translate: -50% 26px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); white-space: nowrap; }
@keyframes dash { to { stroke-dashoffset: -200; } }
@keyframes blink { 50% { fill: var(--yellow); } }
@keyframes halo { from { transform: scale(.6); opacity: 1; } to { transform: scale(2); opacity: 0; } }
.net__title { font-size: clamp(44px, 5.4vw, 80px); margin-bottom: 24px; }
.net__text > p { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 0 0 28px; }
.net__chips, .visit__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.net__chips li { font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(244, 238, 228, .2); }

/* MAQUINARIA */
.machines { background: var(--bg); color: var(--cream); padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.machines__intro { color: var(--muted); }
.mtabs { position: relative; display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); margin-bottom: 28px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.mtabs__tab { position: relative; z-index: 1; font: inherit; font-weight: 700; font-size: 15px; padding: 12px 22px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; white-space: nowrap; transition: color .3s ease; }
.mtabs__tab.is-on { color: var(--bg); }
.mtabs__tab:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.mtabs__ink { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--yellow); transition: transform .5s cubic-bezier(.2, .7, .2, 1), width .5s cubic-bezier(.2, .7, .2, 1); }
.mpanel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2); }
.mpanel[hidden] { display: none; }
.mpanel.is-on { animation: panelIn .6s cubic-bezier(.2, .7, .2, 1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } }
.mpanel__logo { display: grid; place-items: center; padding: 48px; background: radial-gradient(circle at 50% 40%, rgba(255, 194, 0, .14), transparent 65%), #0B0F18; min-height: 320px; }
.mpanel__logo img { width: min(100%, 300px); height: auto; }
.mpanel__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.mpanel__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; margin: 0; }
.mpanel__body > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.mpanel__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; width: 100%; }
.mpanel__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.mpanel__list li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E0E0E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.mpanel__equip { margin: 0; font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.mpanel__equip span { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--yellow); margin-right: 10px; vertical-align: middle; }
.mpanel__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--ghost { border: 1.5px solid rgba(244, 238, 228, .35); color: var(--cream); }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }

/* DESARROLLOS EXCLUSIVOS */
.excl { padding: clamp(72px, 9vw, 120px) 0; }
.excl__intro { color: #4A433A; }
.excl__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(20, 20, 20, .14); }
.excl__row { border-bottom: 1px solid rgba(20, 20, 20, .14); }
.excl__row a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 48px; align-items: center; gap: 24px; padding: clamp(22px, 3vw, 36px) 0; color: var(--ink); text-decoration: none; overflow: hidden; }
.excl__row a::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s cubic-bezier(.2, .7, .2, 1); z-index: 0; }
.excl__row a > * { position: relative; z-index: 1; transition: color .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
.excl__name { font-size: clamp(40px, 6vw, 88px); line-height: .95; }
.excl__desc { font-size: 17px; line-height: 1.5; color: #4A433A; }
.excl__arrow { font-size: 32px; justify-self: end; }
.excl__row a:hover::before { transform: scaleY(1); }
.excl__row a:hover > * { color: var(--cream); }
.excl__row a:hover .excl__name { color: var(--yellow); transform: translateX(18px); }
.excl__row a:hover .excl__arrow { transform: translateX(-10px) rotate(-45deg); }

/* ACADEMY */
.academy { background: var(--bg); color: var(--cream); padding: clamp(72px, 9vw, 120px) 0; }
.academy__head { max-width: 820px; margin-bottom: 48px; }
.academy__title { font-size: clamp(56px, 8vw, 120px); margin-bottom: 24px; }
.academy__head p { color: var(--muted); font-size: 18px; line-height: 1.65; margin: 0; }
.academy__head strong { color: var(--cream); }
.academy__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.acol { padding: 30px 28px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line-2); }
.acol__k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.acol h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 12px 0 20px; }
.acol__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.acol__list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.acol__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); rotate: 45deg; }

.tline { list-style: none; margin: clamp(56px, 7vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; counter-reset: tl; }
.tline::before, .tline::after { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line-2); }
.tline::after { background: var(--yellow); transform-origin: left; transform: scaleX(var(--tl, 0)); transition: transform .2s linear; }
.tline__step { position: relative; z-index: 1; counter-increment: tl; display: flex; flex-direction: column; gap: 8px; padding-top: 40px; }
.tline__dot { position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: border-color .4s ease, background .4s ease; }
.tline__step.is-lit .tline__dot { border-color: var(--yellow); background: var(--yellow); box-shadow: 0 0 0 6px rgba(255, 194, 0, .18); }
.tline__step b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 26px; }
.tline__step b::before { content: "0" counter(tl) " "; color: var(--muted-3); }
.tline__step span { font-size: 15px; line-height: 1.55; color: var(--muted); }

.ahead { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 28px 32px; border-radius: 24px; background: var(--yellow); color: var(--bg); }
.ahead img { width: 120px; height: 120px; object-fit: contain; animation: spin 30s linear infinite; }
.ahead h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(28px, 2.8vw, 40px); line-height: 1; margin: 0 0 8px; }
.ahead p { margin: 0; font-size: 16px; line-height: 1.55; }

/* CTA: chips de la visita */
.visit__chips { margin-top: 24px; }
.visit__chips li { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgba(14, 14, 14, .25); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .creds__list { grid-template-columns: 1fr; }
  .cert { padding-right: 90px; }
  .academy__cols { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .phero__bg { inset: 0; }
  .phero__bg img { opacity: .3; }
  .js .phero.is-ready .phero__bg img { opacity: .3; }
  .phero__grid { grid-template-columns: 1fr; }
  .phero__seal { justify-self: start; width: 180px; }
  .phero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phero__stats > div:nth-child(3) { border-left: 0; }
  .phero__stats > div:nth-child(n+3) { border-top: 1px solid rgba(244, 238, 228, .14); }
  .means__grid, .net__grid { grid-template-columns: 1fr; }
  .means__text { position: static; }
  .net__map { max-width: 420px; }
  .mpanel { grid-template-columns: 1fr; }
  .mpanel__logo { min-height: 200px; padding: 36px; }
  .tline { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .tline::before, .tline::after { display: none; }
  .ahead { grid-template-columns: 80px minmax(0, 1fr); }
  .ahead img { width: 80px; height: 80px; }
  .ahead .btn { grid-column: 1 / -1; justify-self: start; white-space: normal; }
}
@media (max-width: 600px) {
  .phero__title { font-size: 10.4vw; line-height: 1.08; }
  .phero__title .line { padding-top: .18em; margin-top: -.18em; }
  .means__cards { grid-template-columns: 1fr; }
  .mcard:nth-child(even) { transform: none; }
  .mpanel__list { grid-template-columns: 1fr; }
  .excl__row a { grid-template-columns: minmax(0, 1fr) 32px; gap: 8px 16px; }
  .excl__desc { grid-column: 1; grid-row: 2; font-size: 15px; }
  .excl__arrow { grid-row: 1 / 3; grid-column: 2; }
  .tline { grid-template-columns: 1fr; }
  .cert { padding-right: 30px; }
  .cert__icon { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .phero__ring, .ahead img, .net__links path, .net__nodes circle, .net__core-halo { animation: none; }
  .js .phero__title .line > span, .js .phero__seal, .js .phero__bg img { transform: none; opacity: 1; transition: none; }
}
