:root {
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #13315c;
  --blue-600: #1e5aa8;
  --blue-300: #7fb3f5;
  --blue-50: #eef4fb;
  --ink: #0f1d2e;
  --text: #45546a;
  --muted: #6b7a90;
  --line: #e2e8f0;
  --bg: #ffffff;
  --tint: #f5f8fc;
  --wa: #25d366;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 8px 24px rgba(11, 37, 69, .08);
  --shadow-lg: 0 20px 50px rgba(11, 37, 69, .16);
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.55rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.i { width: 20px; height: 20px; flex: none; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy-800); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  font: 700 .8rem/1 var(--font-head);
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--blue-600); margin-bottom: 14px;
}
.eyebrow-light { color: var(--blue-300); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 .95rem/1 var(--font-body);
  padding: 12px 20px; border-radius: 999px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-lg { padding: 16px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-700); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11, 37, 69, .25); }
.btn-ghost { border-color: #c8d4e4; color: var(--navy-800); background: #fff; }
.btn-ghost:hover { border-color: var(--navy-800); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue-300); outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11, 37, 69, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink); position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue-600); transform: scaleX(0); transition: transform .2s; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-800); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }

/* Hero */
.hero { padding: 56px 0 72px; background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 3.5vw, 3rem); }
.lead { font-size: 1.15rem; color: var(--text); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); font-size: .95rem; }
.hero-points .i { color: var(--blue-600); width: 18px; height: 18px; }
.hero-media { position: relative; }
.hero-note {
  position: absolute; left: -28px; bottom: 28px; max-width: 290px;
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: 16px 20px; font-size: .92rem; line-height: 1.45; font-weight: 500;
  border-left: 4px solid var(--navy-800); box-shadow: var(--shadow-lg);
}
.hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 40% center; border-radius: 24px; box-shadow: var(--shadow-lg); }

/* Stats */
.stats { background: var(--navy-800); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font: 700 1.15rem/1.3 var(--font-head); margin-bottom: 4px; }
.stat span { color: #b8cbe4; font-size: .92rem; }

/* Sections */
.section { padding: 104px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head p:last-child { font-size: 1.08rem; }

/* Services */
.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.feature-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature-body { padding: 28px 30px 30px; }
.feature-body h3 { font-size: 1.35rem; }
.feature-body p { margin: 0; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.service:hover { border-color: #bcd0ea; transform: translateY(-3px); box-shadow: var(--shadow); }
.service p { margin: 0; font-size: .96rem; }
.service-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); color: var(--navy-800); display: grid; place-items: center; margin-bottom: 18px; }
.service-icon .i { width: 24px; height: 24px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checklist .i { color: #fff; background: var(--navy-800); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 1px; }

/* Quote band */
.brands { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #cfe0f6; padding: 88px 0; }
.quote { max-width: 900px; text-align: center; }
.quote blockquote { margin: 0; font: 700 clamp(1.5rem, 2.8vw, 2.2rem)/1.35 var(--font-head); color: #fff; letter-spacing: -.01em; }
.quote blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--blue-300); margin-bottom: 18px; }

/* Projects */
.section-head-split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.section-head-split h2 { margin-bottom: 0; }
.section-head-split > p { margin: 0; }
.also { margin-top: 28px; display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; background: var(--tint); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.also img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.also h3 { margin-bottom: .4em; }
.also p { margin: 0; }

/* Process */
.process-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.process-intro { position: sticky; top: 110px; }
.process-intro img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); margin-top: 28px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.timeline li { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.timeline h3 { margin-bottom: .3em; }
.timeline p { margin: 0; font-size: .96rem; }
.step-n { flex: none; font: 800 .9rem/1 var(--font-head); color: var(--blue-600); background: var(--blue-50); border-radius: 999px; padding: 10px 12px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--navy-800); color: #fff; display: grid; place-items: center; flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: .82rem; }
.contact-list a, .contact-list div > span { color: var(--ink); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--blue-600); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; background: #fff; width: 100%;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-600); outline: none; box-shadow: 0 0 0 4px rgba(30, 90, 168, .12); }
.field .invalid { border-color: #c2410c; }
.form-error { color: #c2410c; font-size: .92rem; margin: 0; }
.form-hint { margin: -6px 0 0; text-align: center; font-size: .85rem; color: var(--muted); }
.contact-note { border-left: 3px solid var(--blue-600); padding-left: 16px; color: var(--ink); font-weight: 500; }

/* Footer */
.site-footer { background: var(--navy-900); color: #b8cbe4; padding: 60px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 16px; }
.site-footer nav, .footer-contact { display: grid; gap: 10px; align-content: start; }
.site-footer a { text-decoration: none; color: #dce7f5; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #8ea5c4; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; box-shadow: 0 20px 40px rgba(11, 37, 69, .1);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 32px 0 56px; }
  .hero-grid, .about-grid, .contact-grid, .process-grid, .section-head-split { grid-template-columns: 1fr; gap: 40px; }
  .about-media { order: -1; }
  .hero-note { left: 16px; bottom: 16px; right: 16px; max-width: none; }
  .process-intro { position: static; }
  .section-head-split { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .section { padding: 76px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .brand img { height: 36px; }
  .feature-cards, .service-grid, .field-row, .stats-grid { grid-template-columns: 1fr; }
  .stat, .stat:first-child, .stat:nth-child(3) { border-left: 0; padding: 18px 0; }
  .stat + .stat { border-top: 1px solid rgba(255, 255, 255, .12); }
  .hero-actions .btn { width: 100%; }
  .contact-form { padding: 24px 20px; }
  .also { grid-template-columns: 1fr; gap: 18px; }
  .timeline li { flex-direction: column; gap: 12px; padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
