:root {
  --ink: #102033;
  --ink-soft: #526275;
  --navy: #0b1727;
  --navy-deep: #07111e;
  --paper: #f5f6f2;
  --white: #ffffff;
  --line: #d8ddd9;
  --accent: #ff6b18;
  --accent-dark: #d95009;
  --font-display: 'Titillium Web', sans-serif;
  --font-body: 'Titillium Web', sans-serif;
  --font-hero: 'Space Grotesk', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --max: 1180px;
  --shadow: 0 24px 50px -30px rgba(13, 28, 46, .42);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-width: 320px; overflow-x: hidden; background: linear-gradient(180deg, #f7f8f5 0%, var(--paper) 48%, #f2f4f1 100%); color: var(--ink); font-family: var(--font-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { color: var(--white); background: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.045em; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent-dark); font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.eyebrow span { width: 26px; height: 1px; background: currentColor; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(7, 17, 30, .95); border-bottom: 1px solid rgba(255, 255, 255, .11); box-shadow: 0 8px 30px rgba(1, 8, 17, .14); backdrop-filter: blur(16px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--max); min-height: 74px; margin: auto; padding: 0 28px; }
.logo { color: var(--white); font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: .055em; }
.logo span { color: var(--accent); }
.nav .logo { font-family: var(--font-hero); font-size: 1.9rem; }
.nav-links { display: flex; align-items: center; gap: 31px; margin-left: auto; margin-right: 30px; }
.nav-links a { color: #b9c4d0; font-size: .83rem; font-weight: 500; transition: color .2s ease; }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: inline-flex; align-items: center; gap: 9px; color: var(--white); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.nav-cta span { color: var(--accent); font-size: 1rem; transition: transform .2s ease; }
.nav-cta:hover span { transform: translate(2px, -2px); }
.nav-toggle { display: none; align-items: center; justify-content: center; flex-direction: column; width: 44px; height: 44px; gap: 5px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 23px; height: 1px; background: var(--white); }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(circle at 82% 42%, rgba(28, 73, 114, .38), transparent 31%), var(--navy-deep); }
.hero::before { position: absolute; inset: 0; content: ''; pointer-events: none; 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: 72px 72px; mask-image: linear-gradient(90deg, black, transparent 76%); }
.hero::after { position: absolute; top: -310px; left: -320px; width: 760px; height: 760px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; content: ''; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .92fr) minmax(430px, .83fr); gap: clamp(48px, 7vw, 110px); align-items: center; max-width: var(--max); min-height: 650px; margin: 0 auto; padding: 88px 28px 82px; }
.hero .eyebrow { color: #aebdca; }
.hero .eyebrow span { background: var(--accent); }
.hero h1 { max-width: 650px; margin-top: 22px; font-family: var(--font-hero); font-size: clamp(3.2rem, 5.5vw, 5.45rem); line-height: .98; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-sub { max-width: 550px; margin-top: 25px; color: #bdc8d3; font-size: 1.02rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 51px; padding: 0 22px; border: 1px solid transparent; font-size: .84rem; font-weight: 700; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: var(--accent); box-shadow: 0 12px 28px -14px rgba(255, 107, 24, .85); }
.btn-primary:hover { background: #ff7a31; }
.btn-secondary { color: #d5dee6; border-color: rgba(255,255,255,.24); }
.btn-secondary:hover { border-color: var(--white); color: var(--white); }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 39px; color: #9baaba; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .035em; }
.hero-note-dot { width: 7px; height: 7px; border-radius: 50%; background: #83d5a9; box-shadow: 0 0 0 5px rgba(131,213,169,.11); }
.hero-visual { position: relative; align-self: center; height: min(500px, 41vw); min-height: 410px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 2px 26px 2px 26px; box-shadow: 0 28px 65px -32px rgba(0, 0, 0, .8); }
.hero-visual::after { position: absolute; inset: 0; content: ''; background: linear-gradient(145deg, rgba(6,17,31,.07), rgba(6,17,31,.48)); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual figcaption { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 21px; border-top: 1px solid rgba(255,255,255,.24); color: #dbe3e9; background: rgba(7,17,30,.72); font-family: var(--font-mono); font-size: .64rem; letter-spacing: .09em; }
.hero-visual figcaption span { color: var(--accent); font-weight: 700; }
.hero-visual figcaption strong { font-weight: 400; }
.hero-badge { position: absolute; z-index: 2; top: 28px; right: -11px; display: flex; align-items: center; gap: 10px; padding: 14px 19px 14px 15px; color: var(--navy); background: rgba(255,255,255,.96); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.hero-badge::before { width: 4px; align-self: stretch; content: ''; background: var(--accent); }
.hero-badge span { font-family: var(--font-display); font-size: 1.65rem; font-weight: 700; letter-spacing: -.06em; }
.hero-badge small { color: var(--ink-soft); font-family: var(--font-mono); font-size: .61rem; line-height: 1.25; text-transform: uppercase; }

.proof-strip { position: relative; overflow: hidden; background: #0f2135; color: var(--white); }
.proof-strip::before { position: absolute; top: 0; bottom: 0; left: 0; width: 4px; content: ''; background: var(--accent); }
.proof-inner { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.proof-item { display: flex; flex-direction: column; gap: 5px; min-height: 116px; justify-content: center; padding: 20px 27px; border-left: 1px solid rgba(255,255,255,.12); }
.proof-item:last-child { border-right: 1px solid rgba(255,255,255,.12); }
.proof-item strong { color: var(--accent); font-family: var(--font-mono); font-size: .84rem; font-weight: 500; letter-spacing: .04em; }
.proof-item span { color: #c5cfda; font-size: .78rem; }

/* Sections */
main > section:not(.hero):not(.proof-strip) { max-width: var(--max); margin: 0 auto; padding: 126px 28px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.65,.3,1), transform .7s cubic-bezier(.2,.65,.3,1); }
.reveal.in-view { opacity: 1; transform: none; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1fr); gap: clamp(50px, 10vw, 145px); align-items: center; }
.about-media { position: relative; }
.photo-slot { position: relative; aspect-ratio: 4 / 4.3; overflow: hidden; background: #dbe0e0; border-radius: 2px 22px 2px 22px; box-shadow: var(--shadow); }
.photo-slot::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, transparent 45%, rgba(8,21,35,.26)); }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-media-tag { position: absolute; right: -32px; bottom: 29px; padding: 16px 17px; color: var(--white); background: var(--accent); font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .1em; line-height: 1.55; }
.about h2 { max-width: 540px; margin-top: 19px; font-size: clamp(2.2rem, 3.7vw, 3.55rem); line-height: 1.08; }
.about-lead { max-width: 600px; margin-top: 26px; color: #314256; font-size: 1.13rem; line-height: 1.7; }
.about-detail { max-width: 570px; margin-top: 15px; color: var(--ink-soft); font-size: .96rem; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 30px; padding-bottom: 5px; color: var(--accent-dark); border-bottom: 1px solid currentColor; font-size: .84rem; font-weight: 700; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

/* Services */
.services { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 42px; margin-bottom: 51px; }
.section-heading h2, .why h2, .contact h2 { margin-top: 18px; font-size: clamp(2.15rem, 3.5vw, 3.45rem); line-height: 1.08; }
.section-heading > p { max-width: 395px; color: var(--ink-soft); font-size: .93rem; line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.service-card { position: relative; display: flex; flex-direction: column; min-height: 425px; overflow: hidden; background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: 2px 18px 2px 18px; box-shadow: 0 10px 30px -25px rgba(13, 28, 46, .4); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease; }
.service-card:hover { z-index: 1; border-color: rgba(255,107,24,.58); box-shadow: 0 28px 45px -28px rgba(13, 28, 46, .42); transform: translateY(-8px); }
.service-card::before { position: absolute; z-index: 2; top: 0; left: 0; width: 0; height: 3px; content: ''; background: var(--accent); transition: width .3s ease; }
.service-card:hover::before { width: 100%; }
.service-photo { position: relative; height: 178px; overflow: hidden; background: #cbd2d4; }
.service-photo::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, transparent 48%, rgba(7,17,30,.22)); pointer-events: none; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.service-card:hover .service-photo img { transform: scale(1.055); }
.service-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 24px 22px 25px; }
.service-code { color: var(--accent-dark); font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .09em; }
.service-card h3 { margin-top: 16px; font-size: 1.2rem; line-height: 1.15; }
.service-card p { margin-top: 13px; color: var(--ink-soft); font-size: .84rem; line-height: 1.65; }
.service-card-body::after { width: 25px; height: 1px; margin-top: auto; padding-top: 22px; content: ''; border-bottom: 1px solid var(--accent); }

/* Why */
.why { padding-top: 0 !important; }
.section-heading-compact { margin-bottom: 40px; }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.why-card { min-height: 251px; padding: 26px 20px 24px; background: var(--paper); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .22s ease; }
.why-card:hover { background: var(--white); }
.why-card .service-code { color: var(--accent-dark); }
.why-card h3 { margin-top: 22px; font-size: 1rem; line-height: 1.22; }
.why-card p { margin-top: 10px; color: var(--ink-soft); font-size: .78rem; line-height: 1.65; }

/* References */
.references { color: var(--white); background: radial-gradient(circle at 90% 0%, rgba(255,107,24,.18), transparent 30%), var(--navy); }
.references .eyebrow { color: #aebdca; }
.references .eyebrow::before { width: 26px; height: 1px; content: ''; background: var(--accent); }
.references .eyebrow span { display: none; }
.references-top { display: flex; align-items: end; justify-content: space-between; gap: 42px; margin-bottom: 50px; }
.references h2 { margin-top: 18px; font-size: clamp(2.15rem, 3.5vw, 3.45rem); line-height: 1.08; }
.references-top > p { max-width: 405px; color: #b9c5d0; font-size: .93rem; line-height: 1.75; }
.reference-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.17); border-left: 1px solid rgba(255,255,255,.17); }
.reference-item { display: flex; align-items: center; min-height: 102px; padding: 21px 22px; color: #eef2f5; border-right: 1px solid rgba(255,255,255,.17); border-bottom: 1px solid rgba(255,255,255,.17); font-family: var(--font-display); font-size: .9rem; font-weight: 500; letter-spacing: -.015em; line-height: 1.35; transition: color .25s ease, background .25s ease, transform .25s ease; }
.reference-item::before { width: 7px; height: 7px; flex: 0 0 auto; margin-right: 12px; content: ''; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,107,24,.12); }
.reference-item:hover { color: var(--white); background: #142b43; transform: translateY(-2px); }
.reference-link-icon { margin-left: auto; padding-left: 12px; color: var(--accent); font-size: 1.05rem; }

/* Contact */
.contact { max-width: none !important; padding: 0 28px 126px !important; }
.contact-inner { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(355px, .74fr); gap: clamp(45px, 9vw, 140px); align-items: center; max-width: var(--max); margin: 0 auto; padding: 68px clamp(30px, 6vw, 84px); color: var(--white); background: radial-gradient(circle at 90% 10%, rgba(255,107,24,.2), transparent 27%), var(--navy); border-radius: 2px 28px 2px 28px; box-shadow: var(--shadow); }
.contact-inner::before { position: absolute; top: 0; right: 0; width: 120px; height: 4px; content: ''; background: var(--accent); }
.contact .eyebrow { color: #a7b6c5; }
.contact .eyebrow::before { width: 26px; height: 1px; content: ''; background: var(--accent); }
.contact .eyebrow span { display: none; }
.contact h2 { margin-top: 18px; }
.contact-sub { max-width: 450px; margin-top: 20px; color: #b8c5d0; font-size: .94rem; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-link { display: block; padding-bottom: 15px; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.18); font-family: var(--font-mono); font-size: .96rem; transition: color .2s ease, border-color .2s ease; }
.contact-link:hover { color: var(--accent); border-color: var(--accent); }
.contact-label { display: block; margin-bottom: 7px; color: #94a6b5; font-family: var(--font-mono); font-size: .63rem; letter-spacing: .11em; }
.contact-address { color: #e3e9ef; }
.contact-address p { max-width: 440px; font-size: .89rem; line-height: 1.65; }
.contact-address-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 13px; }
.contact-address-links a { color: var(--accent); font-size: .75rem; font-weight: 600; }
.contact-address-links a:hover { color: #ff9a61; }
.contact-map { overflow: hidden; height: 205px; border: 1px solid rgba(255,255,255,.18); background: #12243a; }
.contact-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.22) contrast(1.05); }

/* Footer */
.footer { color: #aebac5; background: var(--navy-deep); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 35px; max-width: var(--max); margin: auto; padding: 48px 28px 30px; }
.footer-brand p { margin-top: 8px; font-size: .75rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; color: #c3ccd4; font-size: .78rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { max-width: var(--max); margin: auto; padding: 18px 28px 24px; border-top: 1px solid rgba(255,255,255,.1); color: #738596; font-size: .68rem; }

/* Floating contact */
.whatsapp-float, .phone-float { position: fixed; right: 24px; z-index: 90; display: flex; align-items: center; justify-content: center; width: 55px; height: 55px; border-radius: 50%; box-shadow: 0 13px 28px rgba(6,17,30,.25); transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.whatsapp-float { bottom: 87px; color: var(--white); background: var(--accent); border: 1px solid rgba(255,255,255,.25); }
.whatsapp-float:hover { background: var(--accent-dark); transform: translateY(-4px); }
.whatsapp-float svg { width: 25px; height: 25px; stroke: var(--white); }
.phone-float { bottom: 24px; color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.phone-float:hover { color: var(--white); background: var(--navy); border-color: var(--navy); transform: translateY(-4px); }
.phone-float svg { width: 23px; height: 23px; stroke: currentColor; }

@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr 42%; gap: 40px; }
  .hero h1 { font-size: clamp(3rem, 6vw, 4.5rem); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .reference-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr 1fr; padding: 52px 44px; }
}

@media (max-width: 720px) {
  .nav-inner { min-height: 65px; padding: 0 20px; }
  .nav .logo { font-size: 1.68rem; }
  .nav-links { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: flex-start; gap: 0; margin: 0; padding: 10px 20px 20px; background: var(--navy-deep); border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-links.open { display: flex; }
  .nav-links a { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 11px 0; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-cta { margin-left: 16px; font-size: .72rem; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding: 67px 20px 54px; }
  .hero h1 { max-width: 11ch; font-size: clamp(2.85rem, 13vw, 4.3rem); }
  .hero-sub { font-size: .93rem; }
  .hero-visual { width: calc(100% - 13px); min-height: 310px; height: 70vw; margin-top: 5px; }
  .hero-badge { top: 18px; right: -13px; }
  .hero-visual figcaption { padding: 14px 15px; }
  .hero-visual figcaption strong { max-width: 155px; text-align: right; line-height: 1.4; }
  .proof-inner { grid-template-columns: 1fr 1fr; padding: 0 20px; }
  .proof-item { min-height: 95px; padding: 15px 14px; }
  .proof-item:nth-child(2), .proof-item:last-child { border-right: 1px solid rgba(255,255,255,.12); }
  main > section:not(.hero):not(.proof-strip) { padding: 80px 20px; }
  .about { grid-template-columns: 1fr; gap: 51px; }
  .photo-slot { aspect-ratio: 1 / 1.05; }
  .about-media { width: calc(100% - 20px); }
  .about-media-tag { right: -20px; }
  .section-heading { display: block; margin-bottom: 34px; }
  .section-heading > p { margin-top: 20px; }
  .references-top { display: block; margin-bottom: 34px; }
  .references-top > p { margin-top: 20px; }
  .reference-grid { grid-template-columns: 1fr; }
  .reference-item { min-height: 72px; padding: 16px 17px; font-size: .86rem; }
  .service-grid { grid-template-columns: 1fr; gap: 13px; }
  .service-card { min-height: 0; }
  .service-photo { height: 210px; }
  .service-card-body { min-height: 205px; }
  .why { padding-top: 0 !important; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-card { min-height: 220px; padding: 21px 16px; }
  .contact { padding: 0 20px 80px !important; }
  .contact-inner { grid-template-columns: 1fr; gap: 43px; padding: 47px 25px; }
  .contact-map { height: 220px; }
  .footer-inner { flex-direction: column; padding: 38px 20px 27px; }
  .footer-bottom { padding: 17px 20px 88px; }
  .whatsapp-float, .phone-float { right: max(16px, env(safe-area-inset-right)); width: 50px; height: 50px; }
  .whatsapp-float { bottom: calc(74px + env(safe-area-inset-bottom)); }
  .phone-float { bottom: max(16px, env(safe-area-inset-bottom)); }
  .contact-address-links a { display: inline-flex; align-items: center; min-height: 38px; }
}

@media (max-width: 400px) {
  .nav-cta { display: none; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .proof-item { padding-left: 10px; padding-right: 10px; }
  .proof-item strong { font-size: .74rem; }
  .why-grid { grid-template-columns: 1fr; }
}

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