@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600&display=swap');

:root {
  --navy: #081a2f;
  --navy-2: #0e2744;
  --teal: #6DCCC3;
  --blue: #2064B6;
  --white: #ffffff;
  --ice: #f3f8fb;
  --mist: #e8f0f5;
  --ink: #10243a;
  --muted: #64768a;
  --line: rgba(8, 26, 47, 0.12);
  --radius-xl: 42px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --shadow: 0 24px 70px rgba(8, 26, 47, 0.12);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4, strong, b { font-weight: 500; }
h1 { font-size: 6rem; line-height: 0.96; letter-spacing: 0; }
h2 { font-size: 4rem; line-height: 1.03; letter-spacing: 0; }
h3 { font-size: 1.55rem; line-height: 1.2; letter-spacing: 0; }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; position: relative; }
.section.compact { padding: 78px 0; }
.section.soft { background: var(--ice); }
.section.dark { background: var(--navy); color: var(--white); }
.section.dark p { color: rgba(255,255,255,.68); }
.section-heading { max-width: 780px; margin-bottom: 52px; }
.section-heading p { max-width: 660px; font-size: 1.05rem; }

/* Navigation */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 14px 0;
  --active-underline-offset: 47px;
  transition: .3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 35px rgba(8,26,47,.08);
  padding: 8px 0;
  --active-underline-offset: 23px;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; color: var(--white); }
.site-header.scrolled .brand, .site-header.scrolled .nav-links a, .site-header.scrolled .nav-toggle { color: var(--navy); }
.brand-mark {
  width: 122px; height: 96px;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
  transition: width .25s ease, height .25s ease;
}
.brand-mark img { width: auto; height: 96px; max-width: none; object-fit: contain; filter: brightness(0) invert(1); transition: filter .25s ease, height .25s ease, transform .25s ease; }
.site-header.scrolled .brand-mark { width: 76px; height: 52px; }
.site-header.scrolled .brand-mark img { height: 52px; }
.site-header.scrolled .brand-mark img { filter: none; }
.site-footer .brand-mark img { filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 30px; color: var(--white); }
.nav-links a { font-size: .92rem; opacity: .86; position: relative; transition: .2s ease; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--active-underline-offset) * -1);
  height: 3px;
  border-radius: 999px;
  background: var(--teal);
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-cta { background: var(--teal); color: var(--navy) !important; padding: 12px 18px; border-radius: 999px; opacity: 1 !important; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.5rem; }

/* Hero */
.hero {
  min-height: 790px;
  color: var(--white);
  background: var(--navy);
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,26,47,.98) 0%, rgba(8,26,47,.86) 42%, rgba(8,26,47,.34) 72%, rgba(8,26,47,.14) 100%);
  z-index: 1;
}
.hero-bg { position: absolute; inset: 0 0 0 44%; width: 56%; height: 100%; object-fit: cover; }
.home-hero .hero-bg { inset: 0; width: 100%; opacity: .9; }
.hero-video { pointer-events: none; }
.hero-content { position: relative; z-index: 3; padding: 150px 0 150px; max-width: var(--container); }
.hero-copy { max-width: 700px; }
.hero-content p { color: rgba(255,255,255,.78); max-width: 610px; font-size: 1.08rem; font-weight: 400; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 21px; border-radius: 999px; border: 1px solid transparent; transition: .25s ease; font-weight: 500; }
.btn.primary { background: var(--teal); color: var(--navy); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(109,204,195,.2); }
.btn.ghost { color: var(--white); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.04); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn.blue { background: var(--blue); color: var(--white); }
.hero-note { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 42px; color: rgba(255,255,255,.74); font-size: .9rem; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note i { color: var(--teal); }
.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 92px; z-index: 4; }

.page-hero { min-height: 520px; }
.page-hero .hero-content { padding-top: 175px; padding-bottom: 125px; }
.page-hero h1 { font-size: 5.2rem; max-width: 830px; }

/* Core layouts */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.split.reverse { grid-template-columns: .95fr 1.05fr; }
.media-frame { position: relative; min-height: 530px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.media-frame::after { content: ''; position: absolute; inset: auto 28px 28px auto; width: 90px; height: 90px; border-radius: 50%; background: rgba(109,204,195,.9); mix-blend-mode: screen; }
.shape-ring { position: absolute; width: 180px; height: 180px; border: 1px solid rgba(32,100,182,.23); border-radius: 42% 58% 48% 52%; z-index: -1; }

.clean-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.clean-list li { display: grid; grid-template-columns: 28px 1fr; gap: 11px; align-items: start; color: var(--muted); }
.clean-list i { color: var(--blue); margin-top: 5px; }
.dark .clean-list li { color: rgba(255,255,255,.75); }
.dark .clean-list i { color: var(--teal); }

/* Curved cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.curve-card {
  padding: 30px; border: 1px solid var(--line); background: var(--white);
  border-radius: 34px 34px 64px 34px; min-height: 250px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.curve-card:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: 0 24px 60px rgba(8,26,47,.09); border-color: rgba(32,100,182,.22); }
.card-icon { width: 50px; height: 50px; border-radius: 17px; display: grid; place-items: center; background: rgba(109,204,195,.18); color: var(--blue); margin-bottom: 34px; font-size: 1.15rem; }
.curve-card p { margin-bottom: 0; }
.dark .curve-card { color: var(--ink); }
.dark .curve-card p { color: var(--muted); }

.services-preview .curve-card:nth-child(2) { border-radius: 34px 64px 34px 34px; }
.services-preview .curve-card:nth-child(3) { border-radius: 64px 34px 34px 34px; }

/* Stats strip */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--navy); font-size: 2.15rem; letter-spacing: 0; }
.stat span { color: var(--muted); font-size: .9rem; }
.dark .stat-strip { border-color: rgba(255,255,255,.14); }
.dark .stat { border-color: rgba(255,255,255,.14); }
.dark .stat strong { color: var(--white); }
.dark .stat span { color: rgba(255,255,255,.64); }

/* Horizontal service panels */
.service-panel {
  display: grid; grid-template-columns: .9fr 1.1fr; min-height: 520px; overflow: hidden;
  border-radius: var(--radius-xl); background: var(--ice); margin-bottom: 34px;
}
.service-panel:nth-child(even) { grid-template-columns: 1.1fr .9fr; }
.service-panel:nth-child(even) .service-image { order: 2; }
.service-image { position: relative; min-height: 420px; }
.service-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-copy { padding: 58px; align-self: center; }
.service-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-top: 24px; }
.service-columns div { display: flex; gap: 10px; color: var(--muted); }
.service-columns i { color: var(--blue); margin-top: 6px; }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value { padding: 28px 20px 24px; border-top: 1px solid var(--line); }
.value i { color: var(--blue); font-size: 1.2rem; margin-bottom: 18px; }
.value p { font-size: .92rem; }

/* Growth timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 34px; margin-top: 48px; }
.timeline::before { content: ''; position: absolute; top: 17px; left: 4%; right: 4%; height: 1px; background: rgba(109,204,195,.45); }
.timeline-step { position: relative; padding-top: 54px; }
.timeline-dot { position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); border: 8px solid var(--navy); box-shadow: 0 0 0 1px rgba(109,204,195,.5); }
.timeline-step p, .timeline-step li { color: rgba(255,255,255,.68); }
.timeline-step ul { margin: 0; padding-left: 18px; }

/* CTA */
.cta-band { background: var(--navy); color: var(--white); border-radius: 48px; padding: 54px 58px; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1782235869446-d8c52303554d?auto=format&fit=crop&fm=jpg&q=82&w=1600') center / cover; transform: scale(1.03); z-index: 0; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(8,26,47,.93) 0%, rgba(14,39,68,.84) 52%, rgba(32,100,182,.68) 100%); z-index: 1; }
.cta-band h2 { font-size: 3.25rem; max-width: 720px; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.75); margin-bottom: 0; }
.cta-band > * { position: relative; z-index: 2; }
.cta-band .btn { background: var(--white); color: var(--blue); white-space: nowrap; position: relative; z-index: 2; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 58px; align-items: start; }
.contact-details { position: sticky; top: 120px; }
.contact-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-item i { color: var(--blue); margin-top: 5px; width: 20px; }
.contact-item p { margin: 0; }
.contact-form { background: var(--ice); border-radius: 40px; padding: 38px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; color: var(--navy); font-size: .88rem; margin-bottom: 7px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid transparent; background: var(--white); padding: 14px 16px; border-radius: 16px; outline: none; color: var(--ink); font-weight: 300; transition: .2s ease; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(32,100,182,.45); box-shadow: 0 0 0 4px rgba(32,100,182,.07); }
.map-wrap { border-radius: 38px; overflow: hidden; min-height: 430px; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 430px; border: 0; display: block; }

/* Footer */
.site-footer { background: #051321; color: var(--white); padding: 76px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr .8fr 1fr; gap: 48px; }
.footer-brand p { color: rgba(255,255,255,.58); max-width: 390px; }
.footer-title { font-size: .95rem; margin-bottom: 20px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-links span { color: rgba(255,255,255,.6); font-size: .9rem; transition: .2s; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 18px; color: rgba(255,255,255,.46); font-size: .82rem; }
.footer-bottom a { color: var(--teal); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.72); }
.socials a:hover { border-color: var(--teal); color: var(--teal); }

/* Utility */
.accent { color: var(--teal); }
.shine-wrap { display: inline-flex; align-items: flex-start; gap: .13em; }
.shine-star {
  width: .18em;
  height: .18em;
  margin-top: .1em;
  background: rgba(255,255,255,.72);
  clip-path: polygon(50% 0%, 61% 36%, 98% 50%, 61% 64%, 50% 100%, 39% 64%, 2% 50%, 39% 36%);
  transform: rotate(12deg);
}
.blue { color: var(--blue); }
.text-light { color: rgba(255,255,255,.72); }
.quote-line { font-size: 3.2rem; max-width: 850px; color: var(--white); letter-spacing: 0; line-height: 1.12; }

@media (min-width: 981px) {
  .home-hero .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 710px) minmax(230px, 1fr);
    align-items: center;
    column-gap: 54px;
  }
  .home-hero .hero-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    flex-direction: column;
    align-items: stretch;
    min-width: 230px;
    margin-top: 0;
  }
  .home-hero .hero-note {
    grid-column: 1 / -1;
    max-width: 760px;
  }
}
.image-credit { font-size: .72rem; color: rgba(255,255,255,.42); position: absolute; right: 16px; bottom: 100px; z-index: 5; }

@media (max-width: 980px) {
  h1 { font-size: 4.8rem; }
  h2 { font-size: 3.05rem; }
  .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: min(84vw, 360px); background: var(--white); color: var(--navy); flex-direction: column; align-items: flex-start; padding: 100px 34px; transition: .3s ease; box-shadow: -24px 0 60px rgba(8,26,47,.15); }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--navy) !important; }
  .nav-links a.active::after { bottom: -8px; }
  .nav-toggle { display: block; position: relative; z-index: 60; }
  .hero-bg { inset: 0; width: 100%; opacity: .35; }
  .home-hero .hero-bg { opacity: .42; }
  .hero::before { background: linear-gradient(90deg, rgba(8,26,47,.98), rgba(8,26,47,.72)); }
  .split, .split.reverse, .contact-grid { grid-template-columns: 1fr; gap: 46px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr 1fr; }
  .service-panel, .service-panel:nth-child(even) { grid-template-columns: 1fr; }
  .service-panel:nth-child(even) .service-image { order: 0; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .contact-details { position: static; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 80px 0; }
  .site-header { padding: 12px 0; }
  .site-header.scrolled { padding: 7px 0; }
  .brand-mark { width: 96px; height: 76px; }
  .brand-mark img { height: 76px; }
  .site-header.scrolled .brand-mark { width: 66px; height: 46px; }
  .site-header.scrolled .brand-mark img { height: 46px; }
  .hero { min-height: 720px; }
  .hero-content { padding: 140px 0 120px; }
  h1, .hero h1, .page-hero h1 { font-size: 3rem; }
  h2, .cta-band h2, .quote-line { font-size: 2.25rem; }
  h3 { font-size: 1.35rem; }
  .stat strong { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero-note { gap: 12px; flex-direction: column; }
  .card-grid, .values-grid, .timeline, .stat-strip { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .timeline::before { top: 0; bottom: 0; left: 17px; width: 1px; height: auto; right: auto; }
  .timeline-step { padding: 4px 0 24px 58px; }
  .service-copy { padding: 34px 26px 40px; }
  .service-columns, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .cta-band { padding: 38px 28px; border-radius: 36px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; }
  .media-frame { min-height: 400px; }
}

@media (max-width: 480px) {
  h1, .hero h1, .page-hero h1 { font-size: 2.75rem; }
  .hero-content p { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; border-radius: 28px; }
}
