:root {
  --yellow: #f4c600;
  --red: #dc2028;
  --ink: #171717;
  --muted: #626262;
  --paper: #f3f2ed;
  --white: #fff;
  --green: #22a559;
  --shadow: 0 24px 70px rgba(0, 0, 0, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.55; }
body.intro-active { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-dark { color: var(--white); background: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; transform: translateY(-150%); background: var(--yellow); padding: 10px 14px; font-weight: 700; }
.skip-link:focus { transform: none; }

.brand-intro { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; overflow: hidden; padding: 32px; background: linear-gradient(90deg, rgba(10,10,10,.82), rgba(10,10,10,.42)), url("assets/hero.jpg") center/cover no-repeat; opacity: 1; visibility: visible; transition: opacity .55s ease, visibility .55s ease; }
.brand-intro.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.brand-intro-frame { position: relative; width: min(70vw, 980px); aspect-ratio: 848 / 478; max-height: 70vh; overflow: hidden; background: #111; border: 2px solid rgba(255,255,255,.72); border-radius: 4px; box-shadow: 0 28px 90px rgba(0,0,0,.58); }
.brand-intro-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #111; }
.brand-intro-skip { position: absolute; right: 14px; bottom: 14px; min-height: 42px; padding: 10px 16px; color: var(--white); background: rgba(17,17,17,.78); border: 1px solid rgba(255,255,255,.55); border-radius: 2px; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; backdrop-filter: blur(8px); }
.brand-intro-skip:hover, .brand-intro-skip:focus-visible { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; height: 82px; padding: 10px max(24px, calc((100% - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; background: rgba(23, 23, 23, .93); border-bottom: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px); transition: height .25s ease, box-shadow .25s ease; }
.site-header.scrolled { height: 70px; box-shadow: 0 12px 40px rgba(0,0,0,.2); }
.brand { width: 136px; height: 58px; padding: 5px 10px; display: grid; place-items: center; border-radius: 3px; background: var(--white); }
.brand img { max-height: 48px; }
.main-nav { display: flex; align-items: center; gap: 30px; color: var(--white); }
.main-nav a { position: relative; text-decoration: none; font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--yellow); transition: width .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { width: 100%; }
.nav-cta { padding: 12px 18px; color: var(--ink); background: var(--yellow); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-button > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--white); }

.hero { position: relative; min-height: 820px; height: 100svh; color: var(--white); background: url("assets/hero.jpg") center/cover no-repeat; display: flex; align-items: center; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 12px; background: linear-gradient(90deg, var(--yellow) 0 64%, var(--red) 64%); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.88), rgba(10,10,10,.55) 50%, rgba(10,10,10,.15)), linear-gradient(0deg, rgba(10,10,10,.55), transparent 55%); }
.hero-content { position: relative; z-index: 2; padding-top: 80px; }
.eyebrow { margin: 0 0 18px; color: var(--yellow); font-size: .78rem; font-weight: 800; letter-spacing: .14em; }
.eyebrow.dark { color: var(--red); }
.hero h1 { max-width: 850px; margin: 0; font-size: clamp(3.2rem, 7vw, 6.9rem); line-height: .92; letter-spacing: -.055em; }
.hero h1 span { color: var(--yellow); }
.hero-copy { max-width: 650px; margin: 30px 0 0; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 1.5vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { min-height: 50px; padding: 14px 22px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid transparent; text-decoration: none; font-size: .86rem; font-weight: 800; letter-spacing: .02em; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--yellow); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.65); }
.hero-stats { position: absolute; z-index: 3; right: 0; bottom: 12px; width: min(650px, 52%); padding: 24px max(24px, calc((100vw - 1180px) / 2)) 24px 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; background: rgba(23,23,23,.91); }
.hero-stats div { display: grid; gap: 1px; }
.hero-stats strong { color: var(--yellow); font-size: 1.9rem; line-height: 1; }
.hero-stats span { color: rgba(255,255,255,.68); font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; align-items: start; }
h2 { margin: 0; font-size: clamp(2.1rem, 4.6vw, 4.3rem); line-height: 1.02; letter-spacing: -.045em; }
.prose { padding-top: 34px; color: var(--muted); font-size: 1.05rem; }
.prose p:first-child { margin-top: 0; }
.promise-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 75px; border-top: 1px solid #ccc; }
.promise-row article { padding: 30px 34px 16px 0; }
.promise-row article + article { padding-left: 34px; border-left: 1px solid #ccc; }
.promise-row span { color: var(--red); font-size: .72rem; font-weight: 800; }
.promise-row h3 { margin: 10px 0 8px; font-size: 1.2rem; }
.promise-row p { margin: 0; color: var(--muted); font-size: .9rem; }

.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 60px; align-items: end; margin-bottom: 58px; }
.section-heading > p { margin: 0 0 4px; color: rgba(255,255,255,.63); }
.dark-heading > p { color: var(--muted); }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.capability-card { position: relative; min-height: 390px; padding: 34px; color: var(--ink); background: var(--white); overflow: hidden; }
.capability-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 7px; background: var(--yellow); }
.capability-card.accent-red::before { background: var(--red); }
.capability-card .number { margin: 0 0 64px; color: #aaa; font-size: .76rem; font-weight: 800; }
.capability-card h3 { margin: 0 0 27px; font-size: 1.55rem; }
.capability-card ul { margin: 0; padding: 0; list-style: none; }
.capability-card li { position: relative; padding: 10px 0 10px 19px; border-top: 1px solid #e8e8e8; font-size: .9rem; }
.capability-card li::before { content: ""; position: absolute; left: 1px; top: 17px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 14px; }
.project { position: relative; margin: 0; overflow: hidden; background: var(--ink); }
.project-wide { grid-column: span 2; grid-row: span 2; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.project:hover img { transform: scale(1.035); }
.project figcaption { position: absolute; inset: auto 0 0; padding: 42px 20px 18px; color: var(--white); background: linear-gradient(transparent, rgba(0,0,0,.86)); }
.project figcaption span { display: block; margin-bottom: 5px; color: var(--yellow); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project figcaption strong { display: block; font-size: .96rem; line-height: 1.25; }
.project-wide figcaption { padding: 70px 30px 28px; }
.project-wide figcaption strong { max-width: 560px; font-size: 1.4rem; }

.technical { color: var(--white); background: linear-gradient(115deg, #141414, #242424); }
.technical-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; }
.technical-title > p:last-child { max-width: 440px; color: rgba(255,255,255,.6); }
.technical-list { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.2); }
.technical-list article { padding: 28px 0; display: grid; grid-template-columns: 58px 1fr; border-bottom: 1px solid rgba(255,255,255,.2); }
.technical-list span { width: 38px; height: 38px; display: grid; place-items: center; color: var(--ink); background: var(--yellow); border-radius: 50%; font-size: .74rem; font-weight: 900; }
.technical-list article:nth-child(1) span, .technical-list article:nth-child(4) span { color: var(--white); background: var(--red); }
.technical-list h3 { margin: 0 0 5px; font-size: 1.08rem; text-transform: uppercase; }
.technical-list p { margin: 0; color: rgba(255,255,255,.62); font-size: .88rem; }

.equipment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.equipment-grid figure { position: relative; height: 285px; margin: 0; overflow: hidden; background: #ddd; }
.equipment-grid img { width: 100%; height: 100%; object-fit: cover; }
.equipment-grid figcaption { position: absolute; inset: auto 0 0; padding: 14px 18px; color: var(--ink); background: var(--yellow); font-size: .74rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.equipment-grid figure:nth-child(even) figcaption { color: var(--white); background: var(--red); }

.values-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; align-items: start; }
.values-layout h2 { max-width: 530px; color: var(--yellow); }
.value-cards { display: grid; gap: 12px; }
.value-cards article { padding: 26px 28px; border-left: 5px solid var(--red); background: rgba(255,255,255,.07); }
.value-cards article:nth-child(2) { border-color: var(--yellow); }
.value-cards h3 { margin: 0 0 8px; font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; }
.value-cards p { margin: 0; color: rgba(255,255,255,.68); font-size: .92rem; }

.contact { background: linear-gradient(135deg, var(--yellow) 0 46%, var(--paper) 46%); }
.contact-card { padding: 64px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; background: var(--white); box-shadow: var(--shadow); }
.contact-card h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.contact-card > div:first-child > p:last-child { max-width: 600px; color: var(--muted); }
.contact-actions { display: grid; gap: 13px; padding-left: 45px; border-left: 1px solid #ddd; }
.contact-actions > a:not(.button) { width: fit-content; text-decoration: none; font-weight: 700; }
.button-whatsapp { width: fit-content; margin-bottom: 8px; color: var(--white); background: var(--green); }
.contact-actions address { color: var(--muted); font-style: normal; }

.site-footer { padding: 42px 0; color: rgba(255,255,255,.65); background: #0e0e0e; }
.site-footer .shell { display: flex; align-items: center; gap: 28px; }
.site-footer img { width: 122px; padding: 7px 10px; background: var(--white); }
.site-footer p { margin: 0; font-size: .75rem; }
.site-footer p:last-child { margin-left: auto; }
.floating-whatsapp { position: fixed; z-index: 40; right: 22px; bottom: 22px; width: 56px; height: 56px; display: grid; place-items: center; color: var(--white); background: var(--green); border: 3px solid var(--white); border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,.25); text-decoration: none; font-size: .76rem; font-weight: 900; }

@media (max-width: 920px) {
  .section { padding: 82px 0; }
  .menu-button { display: block; }
  .main-nav { position: fixed; inset: 70px 0 auto; padding: 28px 24px 34px; display: none; flex-direction: column; align-items: stretch; gap: 22px; background: var(--ink); border-top: 1px solid rgba(255,255,255,.15); }
  .main-nav.open { display: flex; }
  .nav-cta { text-align: center; }
  .hero-stats { left: 0; right: 0; width: 100%; padding: 20px 24px; }
  .split, .technical-layout, .values-layout, .contact-card { grid-template-columns: 1fr; gap: 48px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 0; }
  .capability-card .number { margin-bottom: 28px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-wide { grid-row: span 1; }
  .equipment-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-actions { padding: 0; border-left: 0; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 32px, 1180px); }
  .section { padding: 68px 0; }
  .site-header { height: 70px; padding-inline: 16px; }
  .brand { width: 116px; height: 50px; }
  .hero { min-height: 760px; }
  .hero-content { padding-top: 0; padding-bottom: 120px; }
  .hero h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
  .hero-copy { font-size: 1rem; }
  .hero-actions { display: grid; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-stats strong { font-size: 1.45rem; }
  .hero-stats span { font-size: .55rem; }
  .promise-row { grid-template-columns: 1fr; margin-top: 46px; }
  .promise-row article, .promise-row article + article { padding: 24px 0; border-left: 0; border-bottom: 1px solid #ccc; }
  .project-grid { grid-template-columns: 1fr; grid-auto-rows: 270px; }
  .project-wide { grid-column: span 1; }
  .equipment-grid { grid-template-columns: 1fr; }
  .equipment-grid figure { height: 265px; }
  .contact { background: var(--yellow); }
  .contact-card { width: calc(100% - 24px); padding: 40px 26px; }
  .site-footer .shell { flex-direction: column; align-items: flex-start; }
  .site-footer p:last-child { margin-left: 0; }
  .brand-intro { padding: 16px; }
  .brand-intro-frame { width: 88vw; max-height: 64vh; }
  .brand-intro-skip { right: 10px; bottom: 10px; min-height: 38px; padding: 8px 12px; font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
