:root {
  --navy: #071b33;
  --navy-2: #102a4a;
  --blue: #08a5df;
  --blue-soft: #e8f7fd;
  --white: #ffffff;
  --gray-50: #f6f8fb;
  --gray-100: #eef2f6;
  --gray-300: #c6ced8;
  --gray-600: #697586;
  --gray-900: #152033;
  --shadow: 0 24px 70px rgba(7, 27, 51, 0.16);
  --radius: 28px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--gray-900); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.section-pad { padding: 96px 0; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 20; padding: 10px 14px; background: var(--blue); color: var(--navy); border-radius: 999px; font-weight: 800; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(18px); background: rgba(255, 255, 255, 0.86); border-bottom: 1px solid rgba(198, 206, 216, 0.55); }
.navbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 26px; padding: 0; margin: 0; list-style: none; color: var(--gray-600); font-weight: 700; font-size: 0.94rem; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--navy); }
.nav-cta { padding: 12px 18px; background: var(--navy); color: var(--white); border-radius: 999px; font-weight: 800; box-shadow: 0 10px 24px rgba(7, 27, 51, 0.16); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--gray-100); border-radius: 50%; }
.menu-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; background: var(--navy); }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #f9fbfd 0%, #eef6fb 50%, #ffffff 100%); }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 82% 18%, rgba(8, 165, 223, 0.22), transparent 34%), radial-gradient(circle at 6% 18%, rgba(7, 27, 51, 0.08), transparent 28%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 0.92fr; gap: 60px; align-items: center; min-height: 720px; }
.eyebrow { margin: 0 0 14px; color: var(--blue); text-transform: uppercase; letter-spacing: 0.16em; font-weight: 900; font-size: 0.78rem; }
h1, h2, h3 { margin: 0; line-height: 1.05; color: var(--navy); }
h1 { font-size: clamp(3rem, 7vw, 5.9rem); letter-spacing: -0.075em; max-width: 900px; }
h2 { font-size: clamp(2.1rem, 4vw, 4.2rem); letter-spacing: -0.055em; }
h3 { font-size: 1.32rem; letter-spacing: -0.025em; }
.hero-lead { max-width: 680px; color: var(--gray-600); font-size: 1.18rem; margin: 28px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 14px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 900; cursor: pointer; }
.btn-primary { background: var(--blue); color: var(--navy); box-shadow: 0 18px 44px rgba(8, 165, 223, 0.25); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--gray-300); }
.trust-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 42px 0 0; }
.trust-metrics div { padding: 18px; background: rgba(255,255,255,0.72); border: 1px solid rgba(198,206,216,0.65); border-radius: 22px; }
.trust-metrics dt { color: var(--navy); font-weight: 950; font-size: 2rem; line-height: 1; }
.trust-metrics dd { margin: 8px 0 0; color: var(--gray-600); font-size: 0.9rem; }
.hero-visual { position: relative; min-height: 560px; }
.hero-card { position: absolute; overflow: hidden; background: var(--white); border: 1px solid rgba(198,206,216,0.7); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-card-main { inset: 12px 0 auto 38px; }
.hero-card-small { width: 54%; right: 20px; bottom: 48px; }
.floating-note { position: absolute; left: 0; bottom: 0; max-width: 300px; padding: 20px; background: var(--navy); color: var(--white); border-radius: 24px; box-shadow: var(--shadow); }
.floating-note strong, .floating-note span { display: block; }
.floating-note span { color: #c9d7e8; }

.story { background: var(--navy); color: var(--white); }
.story h2, .story h3 { color: var(--white); }
.story-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 54px; }
.timeline { display: grid; gap: 18px; }
.timeline article { padding: 28px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 26px; }
.timeline span { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; margin-bottom: 18px; background: var(--blue); color: var(--navy); border-radius: 50%; font-weight: 950; }
.timeline p { color: #c9d7e8; margin-bottom: 0; }

.section-heading { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: end; margin-bottom: 44px; }
.section-heading.compact { display: block; max-width: 820px; text-align: center; }
.section-heading p:last-child { color: var(--gray-600); margin-bottom: 0; }
.services { background: var(--gray-50); }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.service-card { min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; background: var(--white); border: 1px solid var(--gray-100); border-radius: 28px; box-shadow: 0 12px 36px rgba(7, 27, 51, 0.06); }
.service-card p { color: var(--gray-600); margin-bottom: 0; }
.service-icon { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--navy); border-radius: 18px; font-weight: 950; }

.portfolio-heading { grid-template-columns: 1.1fr 0.9fr; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-card { overflow: hidden; background: var(--white); border: 1px solid var(--gray-100); border-radius: 32px; box-shadow: 0 18px 55px rgba(7, 27, 51, 0.08); }
.work-large { grid-row: span 2; }
.work-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--gray-50); }
.work-large img { aspect-ratio: 1 / 1; }
.work-content { padding: 28px; }
.work-kicker { color: var(--blue); font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase; font-weight: 900; margin-top: 0; }
.work-content p:last-child { color: var(--gray-600); margin-bottom: 0; }

.about { background: linear-gradient(180deg, var(--gray-50), var(--white)); }
.about-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-media { overflow: hidden; border-radius: 34px; box-shadow: var(--shadow); background: var(--white); }
.about-copy p { color: var(--gray-600); }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; font-weight: 750; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); box-shadow: inset 0 0 0 5px var(--blue-soft); }

.clients { background: var(--navy); }
.clients h2 { color: var(--white); }
.logo-cloud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.logo-cloud span { padding: 24px; text-align: center; color: var(--white); border: 1px solid rgba(255,255,255,0.14); border-radius: 22px; background: rgba(255,255,255,0.06); font-weight: 850; }

.contact { background: var(--gray-50); }
.contact p { color: var(--gray-600); }
.contact-form { display: grid; gap: 16px; padding: 30px; background: var(--white); border: 1px solid var(--gray-100); border-radius: 32px; box-shadow: var(--shadow); }
label { display: grid; gap: 8px; color: var(--navy); font-weight: 850; }
input, select, textarea { width: 100%; padding: 15px 16px; border: 1px solid var(--gray-300); border-radius: 16px; font: inherit; color: var(--navy); background: var(--white); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(8,165,223,0.25); border-color: var(--blue); }

.site-footer { padding: 42px 0; background: #041225; color: #c9d7e8; }
.footer-grid { display: grid; grid-template-columns: 0.8fr 1.2fr 0.7fr; gap: 24px; align-items: center; }
.footer-grid ul { display: flex; gap: 18px; justify-content: flex-end; list-style: none; padding: 0; margin: 0; }
.footer-grid a:hover { color: var(--white); }

@media (max-width: 980px) {
  .nav-cta { display: none; }
  .menu-toggle { display: inline-block; }
  .nav-links { position: absolute; top: 82px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; padding: 20px; background: var(--white); border: 1px solid var(--gray-100); border-radius: 24px; box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .hero-grid, .story-grid, .section-heading, .portfolio-heading, .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; }
  .hero-visual { min-height: 520px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .work-large { grid-row: auto; }
  .work-large img { aspect-ratio: 16 / 10; }
  .footer-grid ul { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1140px); }
  .section-pad { padding: 70px 0; }
  h1 { font-size: clamp(2.65rem, 15vw, 4.5rem); }
  .trust-metrics, .service-grid, .logo-cloud { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 410px; }
  .hero-card-main { left: 0; }
  .hero-card-small { width: 62%; right: 0; bottom: 64px; }
  .floating-note { max-width: 230px; font-size: 0.9rem; }
  .contact-form { padding: 20px; }
}
