:root {
  --ink: #101513;
  --ink-2: #17211e;
  --deep: #07100e;
  --deep-2: #0c1714;
  --steel: #66716d;
  --muted: #66706c;
  --line: #dbe2df;
  --paper: #f4f6f4;
  --white: #fff;
  --green: #18b77a;
  --green-2: #55dba8;
  --green-soft: #dff8ed;
  --radius: 22px;
  --shadow: 0 22px 70px rgba(4, 14, 11, .12);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }
.section-dark { color: var(--white); background: var(--deep); }

.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 9999;
  padding: 11px 16px; background: var(--white); color: var(--ink); border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(7, 16, 14, .93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); text-decoration: none; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(85,219,168,.4); border-radius: 13px; background: rgba(24,183,122,.1); }
.brand-mark svg { width: 27px; fill: none; stroke: var(--green-2); stroke-width: 1.7; }
.brand-text { display: flex; flex-direction: column; line-height: 1.04; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.brand-text strong { font-size: 15px; letter-spacing: .03em; }
.main-nav { display: flex; align-items: center; gap: 27px; }
.main-nav a { color: rgba(255,255,255,.74); text-decoration: none; font-size: 14px; font-weight: 650; transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--white); }
.main-nav .nav-cta { color: var(--deep); background: var(--green-2); padding: 10px 16px; border-radius: 999px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--white); margin: 5px 0; transition: transform .25s ease, opacity .25s ease; }

.hero { position: relative; min-height: 760px; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero-grid-bg { position: absolute; inset: 0; z-index: -3; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to right, #000, transparent 80%); }
.hero::after { content: ""; position: absolute; width: 58%; height: 100%; right: -13%; top: 0; z-index: -2; background: linear-gradient(145deg, rgba(24,183,122,.20), transparent 62%); transform: skewX(-12deg); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); z-index: -1; pointer-events: none; }
.hero-orb-one { width: 400px; height: 400px; right: 8%; top: 10%; background: radial-gradient(circle, rgba(85,219,168,.16), transparent 67%); }
.hero-orb-two { width: 280px; height: 280px; left: -110px; bottom: -80px; background: radial-gradient(circle, rgba(24,183,122,.14), transparent 68%); }
.hero-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; padding-block: 95px 110px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--green-2); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 2px; background: currentColor; }
.eyebrow.dark { color: #0d8d60; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3.2rem, 6.3vw, 6.15rem); line-height: .94; letter-spacing: -.055em; font-weight: 780; }
h1 em, .pto-copy h2 em { font-style: normal; color: var(--green-2); }
.hero-lead { max-width: 640px; color: rgba(255,255,255,.68); font-size: clamp(1.03rem, 1.3vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 35px; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 13px 21px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #04110c; box-shadow: 0 12px 32px rgba(24,183,122,.25); }
.btn-primary:hover { background: var(--green-2); }
.btn-secondary { color: var(--white); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.hero-proof { margin-top: 50px; display: flex; align-items: center; gap: 26px; color: rgba(255,255,255,.58); }
.hero-proof > div:not(.proof-divider) { display: flex; align-items: baseline; gap: 8px; }
.hero-proof strong { color: var(--white); font-size: 25px; line-height: 1; }
.hero-proof span { font-size: 13px; }
.proof-divider { width: 1px; height: 34px; background: rgba(255,255,255,.15); }

.hero-visual { min-height: 520px; position: relative; display: grid; place-items: center; }
.machine-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(85,219,168,.27); }
.ring-one { width: 390px; height: 390px; }
.ring-two { width: 510px; height: 510px; border-style: dashed; opacity: .5; animation: spin 24s linear infinite; }
.machine-core { width: 255px; height: 255px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 28%, #213832, #08110f 70%); border: 1px solid rgba(85,219,168,.35); box-shadow: inset 0 0 45px rgba(24,183,122,.12), 0 30px 90px rgba(0,0,0,.5); }
.machine-core svg { width: 165px; fill: none; stroke: var(--green-2); stroke-width: 1.15; opacity: .82; }
.tech-label { position: absolute; z-index: 3; padding: 7px 11px; border: 1px solid rgba(85,219,168,.25); border-radius: 7px; background: rgba(7,16,14,.75); color: rgba(255,255,255,.72); font-size: 10px; letter-spacing: .17em; font-weight: 800; }
.label-a { top: 17%; right: 12%; }.label-b { bottom: 15%; left: 4%; }.label-c { top: 28%; left: 0; }
.tech-line { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, var(--green-2)); opacity: .5; }
.line-a { width: 150px; top: 35%; right: 0; transform: rotate(-18deg); }.line-b { width: 160px; bottom: 28%; left: 0; transform: rotate(21deg); }
@keyframes spin { to { transform: rotate(360deg); } }

.experience-strip { background: #0d1b17; color: var(--white); border-top: 1px solid rgba(255,255,255,.06); }
.strip-grid { min-height: 116px; display: grid; grid-template-columns: repeat(4,1fr); }
.strip-item { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 24px; border-right: 1px solid rgba(255,255,255,.08); }
.strip-item:last-child { border-right: 0; }
.strip-item p { margin: 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.3; }
.strip-item p strong { display: block; color: var(--white); font-size: 15px; }
.strip-number { color: var(--green-2); font-size: 34px; font-weight: 800; line-height: 1; }
.strip-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--green-2); border: 1px solid rgba(85,219,168,.25); border-radius: 10px; }

.section-heading { max-width: 730px; margin-bottom: 54px; }
.section-heading h2, .pto-copy h2, .experience-copy h2, .contact-card h2 { margin-bottom: 18px; font-size: clamp(2.4rem, 4.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.045em; }
.section-heading p { max-width: 650px; color: var(--muted); font-size: 1.03rem; }
.section-heading.light p { color: rgba(255,255,255,.6); }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 290px; padding: 30px; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(24,183,122,.35); }
.service-card::after { content: ""; position: absolute; width: 90px; height: 90px; right: -30px; bottom: -30px; border-radius: 50%; background: var(--green-soft); opacity: .65; }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 50px; border-radius: 16px; color: #0b8c5e; background: var(--green-soft); }
.service-icon svg { width: 31px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-index { position: absolute; right: 25px; top: 25px; color: #a1aaa6; font-size: 12px; letter-spacing: .12em; font-weight: 800; }
.service-card h3 { margin-bottom: 8px; font-size: 1.32rem; line-height: 1.15; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }

.pto-section { position: relative; padding: 115px 0; overflow: hidden; }
.pto-pattern { position: absolute; inset: 0; opacity: .2; background: radial-gradient(circle at 2px 2px, rgba(85,219,168,.5) 1px, transparent 1.2px); background-size: 26px 26px; mask-image: linear-gradient(to right, transparent, #000 35%, #000); }
.pto-layout { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.pto-copy p { max-width: 560px; color: rgba(255,255,255,.64); }
.text-link { display: inline-flex; gap: 15px; margin-top: 18px; color: var(--green-2); text-decoration: none; font-weight: 800; }
.pto-applications { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.pto-card { min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; padding: 23px; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; background: rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.pto-card span { color: var(--green-2); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.pto-card strong { font-size: 1.08rem; }

.application-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 90px; }
.sticky-heading { position: sticky; top: 120px; align-self: start; }
.application-list { border-top: 1px solid var(--line); }
.application-item { display: grid; grid-template-columns: 62px 1fr; gap: 20px; padding: 30px 8px; border-bottom: 1px solid var(--line); }
.application-item > span { color: #0a8c5e; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.application-item h3 { margin-bottom: 7px; font-size: 1.38rem; }
.application-item p { margin: 0; color: var(--muted); }

.gallery-section { padding: 112px 0 124px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 320px; gap: 15px; }
.gallery-item { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 18px; background: #101916; cursor: zoom-in; }
.gallery-item::after { content: "+"; position: absolute; width: 44px; height: 44px; right: 16px; bottom: 16px; display: grid; place-items: center; color: var(--white); font-size: 24px; border-radius: 50%; background: rgba(7,16,14,.74); border: 1px solid rgba(255,255,255,.2); opacity: 0; transform: translateY(7px); transition: opacity .25s ease, transform .25s ease; }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; transform: translateY(0); }
.gallery-item img { width: 100%; height: 100%; object-fit: contain; background: #101916; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }

.process-section { background: #eef2ef; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; counter-reset: process; }
.process-step { position: relative; min-height: 260px; padding: 31px 26px; background: var(--white); border-radius: 19px; border: 1px solid var(--line); }
.process-step::after { content: ""; position: absolute; right: -19px; top: 55px; width: 38px; height: 1px; background: #aab4b0; z-index: 2; }
.process-step:last-child::after { display: none; }
.process-step > span { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 48px; color: #087e55; background: var(--green-soft); border-radius: 50%; font-size: 11px; font-weight: 900; }
.process-step h3 { margin-bottom: 8px; font-size: 1.16rem; }
.process-step p { margin: 0; color: var(--muted); font-size: 14px; }

.assurance { padding: 0 0 112px; background: #eef2ef; }
.assurance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.assurance-card { position: relative; min-height: 280px; padding: 38px; overflow: hidden; border-radius: 24px; background: var(--white); border: 1px solid var(--line); }
.assurance-card h2 { max-width: 510px; margin: 60px 0 0; font-size: clamp(2.1rem, 3.2vw, 3.6rem); line-height: 1.04; letter-spacing: -.04em; }
.assurance-card h2 strong { color: #087e55; }
.assurance-kicker { font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.assurance-decoration { position: absolute; right: 28px; top: 24px; font-size: 56px; line-height: 1; color: #d8dfdc; }
.assurance-accent { background: var(--green-soft); border-color: #b9e8d3; }
.assurance-accent .assurance-decoration { color: rgba(11,140,94,.22); }

.experience-section { position: relative; padding: 105px 0; overflow: hidden; }
.experience-lines { position: absolute; inset: 0; background: repeating-linear-gradient(125deg, transparent 0 58px, rgba(85,219,168,.055) 58px 59px); }
.experience-layout { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 70px; }
.experience-big { display: flex; align-items: flex-end; gap: 15px; }
.experience-big strong { color: var(--green-2); font-size: clamp(7rem, 17vw, 13.5rem); line-height: .72; letter-spacing: -.08em; }
.experience-big span { margin-bottom: 6px; color: rgba(255,255,255,.55); font-size: 18px; font-weight: 700; }
.experience-copy p:last-child { color: rgba(255,255,255,.6); }

.contact-section { padding: 110px 0; background: var(--paper); }
.contact-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; padding: 56px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.contact-card h2 { font-size: clamp(2.5rem, 4.4vw, 4.7rem); }
.contact-card p { max-width: 620px; color: var(--muted); }
.contact-action { min-width: 310px; padding: 28px; border-radius: 19px; background: #0c1714; color: var(--white); }
.contact-action > span { display: block; margin-bottom: 8px; color: rgba(255,255,255,.48); font-size: 11px; text-transform: uppercase; letter-spacing: .16em; }
.contact-action > a:not(.btn) { display: block; margin-bottom: 22px; color: var(--green-2); text-decoration: none; font-size: clamp(1.45rem, 2.3vw, 2rem); font-weight: 800; letter-spacing: -.03em; }
.contact-action .btn { width: 100%; }

.site-footer { padding: 38px 0; background: #050c0a; color: var(--white); border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.footer-inner > div { display: flex; flex-direction: column; gap: 5px; }
.footer-inner strong { font-size: 14px; }
.footer-inner > div a { color: rgba(255,255,255,.55); text-decoration: none; font-size: 13px; }
.footer-inner nav { display: flex; gap: 22px; }
.footer-inner nav a { color: rgba(255,255,255,.52); text-decoration: none; font-size: 13px; }
.footer-inner a:hover { color: var(--green-2); }

.lightbox { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 30px; background: rgba(2,8,6,.94); opacity: 0; pointer-events: none; transition: opacity .22s ease; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(94vw, 1100px); max-height: 88vh; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.lightbox-close { position: fixed; top: 20px; right: 22px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.08); color: var(--white); font-size: 30px; line-height: 1; cursor: pointer; }

/* El contenido permanece visible aun si JavaScript no carga.
   JavaScript aplica la animación sólo como mejora progresiva. */
.reveal { opacity: 1; transform: none; }
.reveal.js-reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.js-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .reveal.js-reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .menu-toggle { display: block; z-index: 1002; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 78px 0 auto 0; display: grid; gap: 0; padding: 18px 20px 26px; background: #07100e; border-top: 1px solid rgba(255,255,255,.08); transform: translateY(-140%); opacity: 0; pointer-events: none; transition: transform .3s ease, opacity .3s ease; }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 15px 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav .nav-cta { margin-top: 14px; text-align: center; border: 0; }
  .hero { min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; padding-block: 84px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 430px; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(2) { border-right: 0; }
  .strip-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .pto-layout, .application-layout, .experience-layout, .contact-card { grid-template-columns: 1fr; }
  .pto-layout { gap: 45px; }
  .sticky-heading { position: static; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 340px; }
  .gallery-wide { grid-column: span 1; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2)::after { display: none; }
  .assurance-grid { grid-template-columns: 1fr; }
  .contact-action { min-width: 0; }
}

@media (max-width: 650px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section, .gallery-section { padding: 78px 0; }
  .header-inner { height: 70px; }
  .main-nav { inset: 70px 0 auto 0; }
  .brand-text { display: none; }
  .hero-layout { padding-block: 68px 74px; gap: 20px; }
  h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-proof { align-items: flex-start; gap: 16px; }
  .hero-proof > div:not(.proof-divider) { flex-direction: column; gap: 4px; }
  .hero-visual { min-height: 330px; transform: scale(.87); margin: -30px -20px; }
  .ring-one { width: 300px; height: 300px; }
  .ring-two { width: 390px; height: 390px; }
  .machine-core { width: 205px; height: 205px; }
  .machine-core svg { width: 130px; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-item { justify-content: flex-start; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .strip-item:last-child { border-bottom: 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .pto-copy h2, .experience-copy h2, .contact-card h2 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .service-grid, .pto-applications, .process-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 245px; }
  .service-icon { margin-bottom: 38px; }
  .pto-section { padding: 80px 0; }
  .pto-card { min-height: 125px; }
  .application-layout { gap: 30px; }
  .application-item { grid-template-columns: 42px 1fr; gap: 10px; padding: 24px 0; }
  .gallery-grid { display: flex; flex-direction: column; }
  .gallery-item, .gallery-tall, .gallery-wide { width: 100%; min-height: 0; height: auto; aspect-ratio: 590 / 1280; }
  .gallery-item:last-child { aspect-ratio: 867 / 1156; }
  .gallery-item img { object-fit: contain; }
  .process-step { min-height: 220px; }
  .process-step::after { display: none; }
  .assurance { padding-bottom: 78px; }
  .assurance-card { min-height: 235px; padding: 28px; }
  .assurance-card h2 { margin-top: 52px; }
  .experience-section { padding: 80px 0; }
  .experience-layout { gap: 42px; }
  .experience-big strong { font-size: 9rem; }
  .contact-section { padding: 78px 0; }
  .contact-card { gap: 25px; padding: 30px 22px; border-radius: 22px; }
  .contact-action { padding: 22px 18px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner nav { flex-wrap: wrap; gap: 12px 18px; }
  .lightbox { padding: 14px; }
}
