:root {
  --ink: #030914;
  --ink-2: #061321;
  --ink-3: #0a2440;
  --line: rgba(179, 213, 255, .15);
  --line-strong: rgba(179, 213, 255, .28);
  --paper: #eef6ff;
  --muted: #91a7bf;
  --blue: #2e7df6;
  --cyan: #68d7ff;
  --shell: min(1240px, calc(100vw - 48px));
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--paper); background: var(--ink); font-family: "Cabinet Grotesk", "Segoe UI", sans-serif; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -3; background: radial-gradient(circle at 75% 8%, rgba(24, 91, 165, .34), transparent 35%), linear-gradient(150deg, #030914 0%, #061321 45%, #0a2440 100%); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
.icon-sprite { display: none !important; width: 0 !important; height: 0 !important; overflow: hidden !important; }
.icon { display: block; max-width: 100%; overflow: hidden; }
.nav-action svg, .button svg { width: 17px; height: 17px; flex: 0 0 auto; fill: currentColor; }
::selection { background: var(--blue); color: white; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; border-radius: 999px; background: white; color: #07111f; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

#air-canvas { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; }
.page-noise { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.progress { position: fixed; top: 0; left: 0; z-index: 90; width: 100%; height: 2px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--blue), var(--cyan)); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 18px 0; transition: padding .3s ease, background .3s ease, border .3s ease; }
.site-header.is-scrolled { padding: 10px 0; border-bottom: 1px solid var(--line); background: rgba(3, 9, 20, .78); backdrop-filter: blur(18px); }
.nav { min-height: 58px; padding: 0 9px 0 12px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 999px; background: rgba(5, 18, 33, .55); box-shadow: 0 18px 70px rgba(0,0,0,.18); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 47px; height: 34px; object-fit: contain; padding: 4px; border-radius: 8px; background: #f4f8fc; }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-size: 13px; letter-spacing: .08em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 9px; letter-spacing: .24em; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #b9c8d8; font-size: 13px; font-weight: 600; }
.nav-links a, .button, .field-head a { transition: color .25s ease, transform .25s ease, background .25s ease, border-color .25s ease; }
.nav-links a:hover { color: white; }
.nav-action, .button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 42px; padding: 0 20px; border-radius: 999px; font-weight: 700; }
.nav-action { color: #06111f; background: var(--paper); font-size: 13px; }
.nav-action:hover, .button-primary:hover { transform: translateY(-2px); background: white; }
.menu { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); }
.menu i { display: block; width: 18px; height: 1px; margin: 5px auto; background: white; }

.hero { position: relative; min-height: 100svh; display: grid; place-items: center; isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,9,20,.18), rgba(3,9,20,.02) 48%, rgba(3,9,20,.92)); }
.hero-haze { position: absolute; inset: 18% 15%; z-index: -1; background: radial-gradient(ellipse, rgba(29, 102, 190, .19), transparent 63%); filter: blur(25px); }
.hero-content { padding-top: 118px; text-align: center; }
.hero-kicker { margin: 0 0 24px; color: var(--cyan); font-size: 12px; font-weight: 700; letter-spacing: .22em; }
.hero h1 { max-width: 1180px; margin: 0 auto; font-size: clamp(70px, 10.2vw, 154px); font-weight: 700; line-height: .78; letter-spacing: -.065em; }
.hero h1 span { display: block; }
.hero .outline { color: transparent; -webkit-text-stroke: 1.5px rgba(231,243,255,.68); }
.hero-lead { max-width: 590px; margin: 38px auto 0; color: #a8b9ca; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; }
.hero-actions { margin-top: 34px; display: flex; justify-content: center; gap: 12px; }
.button { min-height: 54px; padding: 0 25px; border: 1px solid var(--line); }
.button-primary { border-color: transparent; background: var(--paper); color: #06111f; }
.button-quiet { background: rgba(5,18,33,.38); backdrop-filter: blur(12px); }
.button-quiet:hover { border-color: var(--line-strong); background: rgba(15,44,75,.55); }
.hero-floor { position: absolute; bottom: -22%; left: 50%; width: 82vw; height: 40vh; transform: translateX(-50%) perspective(600px) rotateX(67deg); border-top: 1px solid rgba(104,215,255,.22); background-image: linear-gradient(rgba(104,215,255,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(104,215,255,.075) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, black, transparent 70%); }

.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: rgba(3,10,20,.78); }
.marquee-track { display: flex; align-items: center; width: max-content; padding: 18px 0; animation: marquee 28s linear infinite; }
.marquee span { margin: 0 36px; color: #b6c8db; font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.marquee i { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 14px var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

.chapter { position: relative; padding: clamp(120px, 14vw, 190px) 0; }
.chapter-intro { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(250px, .55fr); gap: 60px; align-items: end; margin-bottom: 64px; }
.chapter h2 { margin: 0; font-size: clamp(46px, 6vw, 88px); line-height: .92; letter-spacing: -.055em; }
.chapter-intro p, .process-copy p, .contact-layout > div > p { max-width: 430px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }

.service-accordion { display: flex; gap: 8px; min-height: 590px; }
.service-panel { position: relative; flex: .72 1 0; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(6,19,33,.82); transition: flex .7s cubic-bezier(.2,.8,.2,1), border-color .3s ease; }
.service-panel.is-open { flex: 2.4 1 0; border-color: var(--line-strong); }
.service-panel > button { position: absolute; inset: 0 auto 0 0; z-index: 3; width: 76px; padding: 25px 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; border: 0; border-right: 1px solid var(--line); background: rgba(3,11,21,.86); cursor: pointer; }
.service-panel > button span { color: var(--cyan); font-size: 11px; letter-spacing: .12em; }
.service-panel > button strong { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.service-visual { position: absolute; inset: 0 0 0 76px; opacity: 0; transition: opacity .35s ease .1s; }
.service-panel.is-open .service-visual { opacity: 1; }
.service-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(3,10,20,.93) 85%); }
.service-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.08); }
.service-visual div { position: absolute; z-index: 2; left: 42px; right: 32px; bottom: 38px; }
.service-visual h3 { max-width: 460px; margin: 0 0 13px; font-size: clamp(30px, 3.3vw, 52px); line-height: .94; letter-spacing: -.04em; }
.service-visual p { max-width: 480px; margin: 0; color: #b8c7d8; font-size: 16px; line-height: 1.5; }

.statement { min-height: 100svh; display: grid; place-items: center; background: rgba(2,8,16,.58); }
.statement-wrap { max-width: 1180px; }
.word-reveal { margin: 0; font-size: clamp(52px, 7.6vw, 112px); font-weight: 600; line-height: .95; letter-spacing: -.055em; }
.word-reveal span { opacity: .12; }

.process { background: linear-gradient(180deg, rgba(3,10,20,.05), rgba(9,30,52,.62), rgba(3,10,20,.04)); }
.process-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 9vw; align-items: start; }
.process-copy { position: sticky; top: 150px; }
.process-copy p { margin-top: 32px; }
.process-stack { padding-bottom: 14vh; }
.process-card { position: sticky; top: calc(130px + var(--card-index, 0) * 20px); min-height: 280px; margin-bottom: 26vh; padding: 34px; display: grid; grid-template-columns: 80px 1fr; gap: 24px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(145deg, rgba(14,42,72,.98), rgba(4,15,28,.98)); box-shadow: 0 30px 100px rgba(0,0,0,.28); }
.process-card:nth-child(1) { --card-index: 0; }
.process-card:nth-child(2) { --card-index: 1; }
.process-card:nth-child(3) { --card-index: 2; }
.process-card:nth-child(4) { --card-index: 3; margin-bottom: 0; }
.process-card > span { color: var(--cyan); font-size: 13px; letter-spacing: .15em; }
.process-card h3 { margin: 70px 0 14px; font-size: clamp(34px, 4vw, 56px); letter-spacing: -.04em; }
.process-card p { max-width: 500px; margin: 0; color: #a5b7c9; font-size: 18px; line-height: 1.55; }

.sectors h2 { max-width: 1100px; }
.inline-image { display: inline-block; width: clamp(100px, 13vw, 190px); height: .68em; margin: 0 .05em; vertical-align: .04em; overflow: hidden; border-radius: 999px; border: 1px solid var(--line-strong); }
.inline-image img { width: 100%; height: 100%; object-fit: cover; }
.sector-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sector-grid article { min-height: 240px; padding: 28px 24px; border-right: 1px solid var(--line); transition: background .3s ease; }
.sector-grid article:last-child { border: 0; }
.sector-grid article:hover { background: rgba(19,57,94,.3); }
.sector-grid span { font-size: 20px; font-weight: 700; }
.sector-grid p { margin: 110px 0 0; color: var(--muted); line-height: 1.45; }

.field { background: #e9f0f6; color: #07111f; }
.field-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 58px; }
.field-head a { padding-bottom: 7px; border-bottom: 1px solid #07111f; font-weight: 700; }
.field-head a:hover { transform: translateX(4px); }
.field-gallery { display: grid; grid-template-columns: 1.55fr .6fr .85fr; gap: 12px; align-items: stretch; }
.field-shot, .field-manifest { position: relative; min-height: 520px; overflow: hidden; border-radius: var(--radius); }
.field-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.field-shot:hover img { transform: scale(1.035); }
.field-shot::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(3,9,18,.82)); }
.field-shot span { position: absolute; z-index: 2; left: 22px; bottom: 22px; color: white; font-weight: 700; }
.field-manifest { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; background: #0b2a4a; color: white; }
.field-manifest img { width: 90px; padding: 12px; border-radius: 12px; background: white; }
.field-manifest p { margin: 0; font-size: 24px; line-height: 1.13; letter-spacing: -.025em; }

.about-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: 10vw; align-items: center; }
.about-logo { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: radial-gradient(circle, rgba(41,119,217,.18), rgba(5,16,29,.7) 60%); }
.about-logo img { width: 55%; padding: 22px; border-radius: 18px; background: #f3f7fb; }
.about-copy h2 span, .contact h2 span { color: var(--cyan); }
.about-copy > p { max-width: 710px; margin: 36px 0 60px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.about-copy dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.about-copy dl div { padding: 22px 16px 0 0; }
.about-copy dt { color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.about-copy dd { margin: 9px 0 0; font-size: 21px; font-weight: 700; }

.contact { padding-bottom: 110px; }
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 7vw; align-items: start; }
.contact-layout > div > p { margin-top: 30px; }
.contact-panel { container-type: inline-size; padding: clamp(22px, 4vw, 50px); border: 1px solid var(--line-strong); border-radius: 28px; background: linear-gradient(145deg, rgba(14,43,74,.78), rgba(4,15,28,.8)); box-shadow: 0 30px 90px rgba(0,0,0,.24); backdrop-filter: blur(18px); }
.contact-phone { position: relative; min-width: 0; min-height: 170px; padding: 27px 34px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-radius: 999px; background: var(--paper); color: #06111f; }
.contact-phone::after { content: ""; position: absolute; width: 170px; height: 170px; top: -75px; right: -40px; border-radius: 50%; background: rgba(46,125,246,.16); }
.contact-phone-label { display: inline-flex; align-items: center; gap: 10px; }
.contact-phone-label svg { width: 18px; height: 18px; fill: var(--blue); }
.contact-phone small { font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.contact-phone strong { max-width: 100%; font-size: clamp(24px, 5.2cqw, 46px); line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.contact-phone > .contact-arrow { position: absolute; right: 34px; bottom: 29px; transform: translateY(-52px); font-size: 24px; }
.contact-buttons { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-buttons a { min-height: 58px; padding: 0 22px 0 12px; display: grid; grid-template-columns: 38px 1fr auto; gap: 11px; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.04); }
.contact-buttons svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; fill: white; }
.contact-buttons .whatsapp svg { background: #25d366; }
.contact-buttons .instagram svg { background: radial-gradient(circle at 32% 100%, #ffd600 0 22%, #ff7a00 38%, #ff0169 62%, #d300c5 78%, #7638fa 100%); }
.contact-buttons span { font-weight: 700; }
.contact-buttons b { font-weight: 500; }
.contact-buttons a:hover { border-color: var(--line-strong); background: rgba(255,255,255,.08); }
.contact-panel address { margin-top: 38px; color: var(--muted); font-style: normal; line-height: 1.6; }

.quick-contact { position: fixed; z-index: 48; right: 16px; top: 50%; transform: translateY(-50%); padding: 6px; display: flex; flex-direction: column; gap: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(4,15,28,.78); box-shadow: 0 16px 50px rgba(0,0,0,.25); backdrop-filter: blur(14px); }
.quick-contact a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #b8cce0; font-size: 10px; font-weight: 800; letter-spacing: .06em; transition: background .2s ease, color .2s ease; }
.quick-contact svg { width: 20px; height: 20px; fill: currentColor; }
.quick-contact .whatsapp { color: #25d366; }
.quick-contact .phone { color: #77b9ff; }
.quick-contact .instagram { color: #f65bbb; }
.quick-contact a:hover { background: var(--blue); color: white; }

footer { border-top: 1px solid var(--line); background: #02070e; }
.footer-inner { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-inner p { margin: 0; letter-spacing: .07em; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }
  .nav-links { position: fixed; top: 86px; left: 18px; right: 18px; padding: 26px; display: grid; gap: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(3,10,20,.96); transform: translateY(-18px); opacity: 0; visibility: hidden; transition: .25s ease; }
  .nav-links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-action { display: none; }
  .menu { display: block; }
  .chapter-intro, .process-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .chapter-intro { align-items: start; }
  .process-copy { position: relative; top: auto; }
  .service-accordion { min-height: 520px; }
  .sector-grid { grid-template-columns: 1fr 1fr; }
  .sector-grid article:nth-child(2) { border-right: 0; }
  .sector-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .field-gallery { grid-template-columns: 1.3fr .7fr; }
  .field-manifest { min-height: 300px; }
  .field-gallery .field-shot:last-child { grid-column: 1 / -1; min-height: 420px; }
  .about-logo { max-width: 420px; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100vw - 28px); }
  .site-header { padding-top: 10px; }
  .nav { min-height: 54px; }
  .brand img { width: 43px; height: 31px; }
  .hero-content { padding-top: 90px; }
  .hero h1 { font-size: clamp(59px, 19vw, 90px); line-height: .83; }
  .hero-lead { max-width: 340px; margin-top: 28px; font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 360px; margin-inline: auto; }
  .chapter { padding: 108px 0; }
  .chapter h2 { font-size: clamp(43px, 13vw, 68px); }
  .chapter-intro { gap: 24px; margin-bottom: 42px; }
  .service-accordion { min-height: auto; display: grid; }
  .service-panel, .service-panel.is-open { min-height: 70px; flex: none; transition: min-height .5s cubic-bezier(.2,.8,.2,1); }
  .service-panel.is-open { min-height: 490px; }
  .service-panel > button { inset: 0 0 auto; width: 100%; height: 70px; padding: 0 20px; flex-direction: row; border: 0; border-bottom: 1px solid var(--line); }
  .service-panel > button strong { writing-mode: initial; transform: none; }
  .service-visual { inset: 70px 0 0; }
  .service-visual div { left: 22px; right: 22px; bottom: 24px; }
  .word-reveal { font-size: clamp(45px, 13.5vw, 72px); }
  .process-layout { gap: 62px; }
  .process-card { top: calc(95px + var(--card-index) * 12px); min-height: 260px; margin-bottom: 18vh; padding: 25px; grid-template-columns: 44px 1fr; }
  .process-card h3 { margin-top: 66px; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector-grid article { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sector-grid article:nth-child(3) { border-bottom: 1px solid var(--line); }
  .sector-grid p { margin-top: 70px; }
  .field-head { align-items: start; flex-direction: column; }
  .field-gallery { grid-template-columns: 1fr; }
  .field-shot, .field-gallery .field-shot:last-child { min-height: 430px; grid-column: auto; }
  .field-manifest { min-height: 290px; }
  .about-layout { gap: 70px; }
  .about-copy dl { grid-template-columns: 1fr; }
  .about-copy dl div { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .contact-panel { padding: 14px; border-radius: 24px; }
  .contact-phone { min-height: 138px; padding: 24px; }
  .contact-phone strong { font-size: clamp(22px, 8.2cqw, 34px); }
  .contact-phone > .contact-arrow { display: none; }
  .contact-buttons { grid-template-columns: 1fr; }
  .quick-contact { top: auto; bottom: 12px; right: 50%; transform: translateX(50%); flex-direction: row; }
  .footer-inner { padding: 32px 0 90px; align-items: flex-start; flex-direction: column; }
}

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