:root {
  --ink: #10253d;
  --ink-deep: #081725;
  --blue: #147fc4;
  --blue-2: #28a9df;
  --teal: #19aaa3;
  --green: #35b96f;
  --sky: #eaf6fc;
  --soft: #f4f8fb;
  --line: #d9e7ef;
  --muted: #5b6b7b;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(8, 35, 58, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 112px 0; }
.section-soft { padding: 112px 0; background: var(--soft); }
.section-dark { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(135deg, #0b1b2c 0%, #0c2943 50%, #0d3450 100%); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 35px rgba(8,35,58,.09);
  backdrop-filter: blur(14px);
}
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 210px; height: auto; }
.site-header:not(.scrolled) .brand img { filter: brightness(0) invert(1); }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.site-header:not(.scrolled) .site-nav > a:not(.nav-cta) { color: rgba(255,255,255,.82); }
.site-nav a { transition: color .2s ease, transform .2s ease; }
.site-nav a:hover { color: var(--blue-2); }
.nav-cta { padding: 11px 17px; border-radius: 999px; background: linear-gradient(90deg,var(--blue-2),var(--green)); color: white !important; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; }
.site-header:not(.scrolled) .menu-toggle { color: white; }

.hero { min-height: 830px; padding: 160px 0 105px; display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 74px; align-items: center; position: relative; z-index: 2; }
.eyebrow, .section-kicker { letter-spacing: .14em; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.eyebrow { color: #8ce3ff; margin: 0 0 24px; }
.hero h1, h2 { font-family: "Montserrat", "Manrope", sans-serif; letter-spacing: -.035em; line-height: 1.05; margin: 0; }
.hero h1 { font-size: clamp(48px, 6vw, 82px); max-width: 780px; }
.hero-desc { font-size: 18px; color: rgba(255,255,255,.72); max-width: 650px; margin: 28px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 14px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(90deg,var(--blue-2),var(--green)); box-shadow: 0 14px 35px rgba(30,172,178,.25); }
.btn-ghost { color: white; border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.06); }
.hero-note { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.62); font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(53,185,111,.12); }
.hero-visual { position: relative; }
.image-frame { position: relative; border-radius: 34px; padding: 10px; background: linear-gradient(140deg, rgba(255,255,255,.24), rgba(255,255,255,.04)); box-shadow: 0 35px 90px rgba(0,0,0,.28); transform: rotate(1.4deg); }
.image-frame > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 26px; filter: saturate(.95) contrast(1.03); }
.image-badge { position: absolute; left: -28px; bottom: 34px; display: grid; gap: 6px; padding: 16px; border-radius: 18px; background: rgba(5,23,38,.82); backdrop-filter: blur(12px); box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.image-badge span { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: white; }
.ribbon { position: absolute; height: 56px; border-radius: 2px; transform: rotate(-38deg); opacity: .82; }
.ribbon-a { width: 500px; left: -180px; top: 160px; background: linear-gradient(90deg,var(--blue),var(--blue-2)); }
.ribbon-b { width: 370px; left: -110px; top: 260px; background: linear-gradient(90deg,var(--teal),var(--green)); }
.ribbon-c { width: 640px; right: -280px; bottom: 45px; background: linear-gradient(90deg,var(--blue-2),var(--blue)); opacity: .45; }

.about-grid { display: grid; grid-template-columns: .45fr 1.15fr .8fr; gap: 56px; align-items: start; }
.section-kicker { color: var(--blue); padding-top: 8px; }
.section-kicker.light { color: #8ce3ff; }
h2 { font-size: clamp(36px, 4vw, 58px); }
.about-copy .lead { font-size: 22px; color: var(--ink); margin: 28px 0 18px; }
.about-copy p:last-child { color: var(--muted); margin: 0; font-size: 16px; }
.about-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(160deg,#fff 0%,#eef8fd 100%); box-shadow: var(--shadow); }
.mini-label { margin: 0 0 18px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.process-list { display: grid; gap: 11px; }
.process-list span { padding: 13px 15px; border-radius: 12px; background: white; border: 1px solid var(--line); font-weight: 700; font-size: 14px; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 48px; }
.section-head h2 { max-width: 720px; margin-top: 12px; }
.section-head > p { max-width: 360px; color: var(--muted); margin: 0 0 7px; }
.service-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.service-card { min-height: 260px; padding: 24px; border-radius: 22px; background: white; border: 1px solid var(--line); box-shadow: 0 12px 35px rgba(8,35,58,.06); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-number { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 34px; color: white; font-weight: 800; background: linear-gradient(135deg,var(--blue-2),var(--green)); }
.service-card h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.25; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }
.deliverables { margin-top: 48px; padding: 30px; border-radius: 24px; background: #0c2943; }
.deliverables .mini-label { color: #8ce3ff; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud span { padding: 10px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: white; background: rgba(255,255,255,.05); font-size: 13px; font-weight: 700; }

.text-link { font-weight: 800; color: var(--blue); white-space: nowrap; margin-bottom: 8px; }
.project-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.project-card { border-radius: var(--radius-lg); overflow: hidden; background: white; border: 1px solid var(--line); box-shadow: 0 12px 35px rgba(8,35,58,.07); transition: transform .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-image { aspect-ratio: 16/10; overflow: hidden; background: #dfeaf0; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card:hover .project-image img { transform: scale(1.035); }
.project-body { padding: 22px; }
.project-date { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.project-body h3 { margin: 9px 0 7px; font-size: 21px; line-height: 1.25; }
.project-location { color: var(--muted); font-size: 14px; }

.clients-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.clients-copy h2 { margin-top: 12px; }
.clients-copy p { color: var(--muted); margin-top: 24px; max-width: 520px; }
.clients-panel { border-radius: var(--radius-lg); background: white; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); padding: 18px; }
.clients-panel img { width: 100%; border-radius: 16px; }

.contact { padding: 112px 0; }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: center; }
.contact-copy h2 { margin-top: 13px; max-width: 700px; }
.contact-copy p { color: rgba(255,255,255,.7); max-width: 620px; margin: 24px 0 32px; }
.contact-card { padding: 34px; border-radius: 28px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); }
.contact-row { display: grid; grid-template-columns: 100px 1fr; gap: 22px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-row:first-child { padding-top: 0; }
.contact-row:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-label { color: #8ce3ff; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-row a { font-weight: 700; }
.contact-row a:hover { color: #8ce3ff; }
#contact-phones { display: grid; gap: 5px; }
#contact-address { font-style: normal; color: rgba(255,255,255,.82); }
.ribbon-contact-a { width: 530px; left: -300px; bottom: 60px; background: linear-gradient(90deg,var(--blue-2),var(--green)); opacity: .5; }
.ribbon-contact-b { width: 680px; right: -410px; top: 70px; background: linear-gradient(90deg,var(--blue),var(--blue-2)); opacity: .3; }

.site-footer { padding: 30px 0; background: #06121e; color: rgba(255,255,255,.62); }
.footer-wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 145px; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand span, .site-footer p { font-size: 12px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .service-card:last-child { grid-column: 1 / -1; min-height: 210px; }
  .about-grid { grid-template-columns: .35fr 1fr; }
  .about-card { grid-column: 2; }
  .project-grid { grid-template-columns: repeat(2,1fr); }
  .clients-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .section, .section-soft, .contact { padding: 82px 0; }
  .nav-wrap { height: 72px; }
  .brand img { width: 170px; }
  .menu-toggle { display: block; z-index: 3; }
  .site-nav {
    position: absolute; left: 14px; right: 14px; top: 72px; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px; border-radius: 20px; background: white; box-shadow: var(--shadow); color: var(--ink);
  }
  .site-nav.open { display: flex; }
  .site-header:not(.scrolled) .site-nav > a:not(.nav-cta) { color: var(--ink); }
  .site-nav a { padding: 13px 12px; }
  .nav-cta { margin-top: 6px; text-align: center; }
  .hero { min-height: auto; padding: 130px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero h1 { font-size: clamp(46px, 12vw, 70px); }
  .image-frame { max-width: 620px; margin-inline: auto; }
  .image-frame > img { aspect-ratio: 16/10; }
  .image-badge { left: 18px; bottom: 18px; grid-template-columns: repeat(2,auto); }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-card { grid-column: auto; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 18px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-wrap { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .service-grid, .project-grid { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; }
  .hero-actions .btn { width: 100%; }
  .contact-card { padding: 24px; }
  .contact-row { grid-template-columns: 1fr; gap: 8px; }
  .image-badge { display: none; }
}

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