:root {
  --navy: #0e2a47;
  --navy-2: #122f4d;
  --blue: #1f6fae;
  --blue-2: #d9ecfb;
  --gold: #d6a03e;
  --ink: #172132;
  --muted: #637083;
  --line: #dce4ee;
  --bg: #f6f8fb;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(14, 42, 71, 0.14);
  --radius: 20px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(100% - 40px, var(--max)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--navy);
  color: white;
  padding: 10px 14px;
  z-index: 100;
}
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220,228,238,0.85);
}
.nav {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 52px; height: 52px; object-fit: contain; }
.brand-text { display: grid; line-height: 1.05; letter-spacing: -0.02em; }
.brand-text strong { font-size: 1.05rem; color: var(--navy); text-transform: uppercase; }
.brand-text span { color: var(--muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 600; color: var(--navy); }
.nav-links a:not(.btn):hover { color: var(--blue); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--navy); margin: 5px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(31,111,174,0.18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(31,111,174,0.24); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); box-shadow: none; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); box-shadow: none; }

.hero {
  position: relative;
  padding: 88px 0 70px;
  background:
    radial-gradient(circle at 18% 25%, rgba(31,111,174,0.18), transparent 30%),
    linear-gradient(135deg, #f8fbff 0%, #edf4fb 52%, #ffffff 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -140px -210px auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(214,160,62,0.18);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; position: relative; z-index: 1; }
.eyebrow {
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin: 0 0 12px;
}
.eyebrow.light { color: #d9ecfb; }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -0.045em; color: var(--navy); }
h1 { font-size: clamp(2.65rem, 6vw, 5.25rem); max-width: 850px; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.18rem; }
p { margin: 0; }
.hero-lede { color: var(--muted); font-size: 1.15rem; max-width: 700px; margin: 24px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.proof-row span, .proof-row a {
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--navy);
  font-weight: 700;
  font-size: .9rem;
}
.proof-row a:hover { border-color: var(--blue); color: var(--blue); }
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.card-topline { width: 78px; height: 6px; background: var(--gold); border-radius: 99px; margin-bottom: 26px; }
.hero-card h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
.hero-card p { color: var(--muted); margin: 16px 0 22px; }
.hero-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hero-card li { position: relative; padding-left: 28px; color: var(--ink); font-weight: 650; }
.hero-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }

.trust-strip { background: var(--navy); color: var(--white); padding: 22px 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.strip-grid div { border-right: 1px solid rgba(255,255,255,0.18); padding-right: 18px; }
.strip-grid div:last-child { border-right: 0; }
.strip-grid strong { display: block; font-size: 1rem; }
.strip-grid span { display: block; color: rgba(255,255,255,0.68); font-size: .9rem; margin-top: 2px; }

.section { padding: 92px 0; }
.section-alt { background: var(--bg); }
.featured-work { background: #f6f8fb; }
body.home-page .featured-work { display: none; }
body.projects-page main > section:not(.featured-work) { display: none; }
body.projects-page .featured-work { padding-top: 72px; min-height: 70vh; }
.work-heading { margin-bottom: 34px; }
.project-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -10px 0 48px;
}
.project-jump-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--white);
  color: var(--navy);
  font-weight: 750;
  font-size: .92rem;
}
.project-jump-nav a:hover { border-color: var(--blue); color: var(--blue); }
.project-block { margin-top: 68px; }
.project-copy { max-width: 680px; margin: 0 0 26px auto; }
.project-copy.first-project { margin-left: 0; }
.project-copy h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.project-copy p:last-child { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }
.before-after { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.before-after figure { margin: 0; overflow: hidden; border-radius: 22px; background: var(--navy); position: relative; min-height: 560px; }
.before-after img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: center; transition: transform .35s ease; }
.before-after figure:hover img { transform: scale(1.025); }
.before-after figcaption { position: absolute; top: 18px; left: 18px; background: var(--white); color: var(--navy); border-radius: 999px; padding: 8px 14px; font-weight: 850; font-size: .86rem; letter-spacing: .05em; text-transform: uppercase; }
.after-detail { position: relative; margin: 18px 0 0; min-height: 480px; overflow: hidden; border-radius: 22px; background: var(--navy); }
.after-detail img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; object-position: center 58%; }
.after-detail figcaption { position: absolute; top: 18px; left: 18px; background: var(--white); color: var(--navy); border-radius: 999px; padding: 8px 14px; font-weight: 850; font-size: .86rem; letter-spacing: .05em; text-transform: uppercase; }
.commercial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.commercial-grid figure { margin: 0; min-height: 440px; overflow: hidden; border-radius: 22px; background: var(--navy); }
.commercial-grid img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; object-position: center; transition: transform .35s ease; }
.commercial-grid figure:hover img { transform: scale(1.025); }
.service-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-gallery figure { margin: 0; min-height: 310px; overflow: hidden; border-radius: 18px; background: var(--navy); }
.service-gallery img { width: 100%; height: 100%; min-height: 310px; object-fit: cover; object-position: center; transition: transform .35s ease; }
.service-gallery figure:hover img { transform: scale(1.025); }
.video-comparison { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.video-comparison figure { margin: 0; position: relative; overflow: hidden; border-radius: 22px; background: var(--navy); }
.video-comparison video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #071829; }
.video-comparison figcaption { position: absolute; top: 18px; left: 18px; background: var(--white); color: var(--navy); border-radius: 999px; padding: 8px 14px; font-weight: 850; font-size: .86rem; letter-spacing: .05em; text-transform: uppercase; pointer-events: none; }
.projects-cta {
  margin-top: 76px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--white);
}
.projects-cta h2 { color: var(--white); max-width: 650px; }
.projects-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); box-shadow: none; }
.btn-outline-light:hover { border-color: var(--white); }
.section-heading { max-width: 840px; margin-bottom: 42px; }
.section-heading p:last-child { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }
.narrow { max-width: 700px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card, .process-step, .feature-list > div {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover, .process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--blue-2);
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 20px;
}
.service-card p, .process-step p, .feature-list p { color: var(--muted); margin-top: 12px; }

.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 54px; align-items: start; }
.split > div > p:not(.eyebrow) { color: var(--muted); margin: 18px 0 22px; font-size: 1.05rem; }
.text-link { color: var(--blue); font-weight: 850; }
.feature-list { display: grid; gap: 16px; }
.feature-list > div { padding: 24px; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  margin-bottom: 22px;
}

.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 54px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 22px;
}
.faq-list summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
  padding: 20px 34px 20px 0;
  position: relative;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 1.4rem;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { color: var(--muted); padding: 0 34px 20px 0; }

.cta-section { padding: 0 0 92px; background: var(--white); }
.cta-card {
  background:
    linear-gradient(135deg, rgba(14,42,71,.96), rgba(31,111,174,.92)),
    radial-gradient(circle at top right, rgba(214,160,62,.45), transparent 40%);
  border-radius: 30px;
  padding: clamp(30px, 5vw, 54px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--white);
  overflow: hidden;
}
.cta-card h2 { color: var(--white); max-width: 780px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-grid > div > p:not(.eyebrow) { color: var(--muted); margin: 18px 0 26px; font-size: 1.05rem; }
.contact-details { display: grid; gap: 12px; padding: 22px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-details p { color: var(--muted); }
.contact-details strong { color: var(--navy); }
.contact-details a { color: var(--blue); font-weight: 700; }
.contact-form {
  display: grid;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact-form label { display: grid; gap: 8px; color: var(--navy); font-weight: 750; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid #cbd6e2;
  border-radius: 14px;
  padding: 14px 14px;
  font: inherit;
  color: var(--ink);
  background: #fbfdff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(31,111,174,.18); border-color: var(--blue); }
.hidden { display: none; }
.form-note { color: var(--muted); font-size: .88rem; }

.footer { background: #071829; color: rgba(255,255,255,.78); padding: 56px 0 24px; }
.footer .brand-text strong { color: var(--white); }
.footer .brand-text span { color: rgba(255,255,255,.65); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr; gap: 40px; }
.footer p { max-width: 420px; margin-top: 18px; }
.footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 14px; letter-spacing: 0; }
.footer a:not(.brand) { display: block; margin: 9px 0; color: rgba(255,255,255,.72); }
.footer a:not(.brand):hover { color: var(--white); }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; font-size: .9rem; }

.thank-you-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: radial-gradient(circle at 18% 25%, rgba(31,111,174,.18), transparent 32%), linear-gradient(135deg, #f8fbff, #edf4fb 55%, #fff);
}
.thank-you-card {
  width: min(760px, 100%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(30px, 6vw, 58px);
  box-shadow: var(--shadow);
}
.thank-you-card .brand { margin-bottom: 48px; }
.thank-you-card h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
.thank-you-card > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; margin-top: 22px; }
.thank-you-card > p a { color: var(--blue); font-weight: 800; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    inset: 78px 20px auto 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .hero { padding: 58px 0 48px; }
  .hero-grid, .split, .contact-grid, .faq-layout { grid-template-columns: 1fr; gap: 34px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid, .strip-grid, .before-after { grid-template-columns: repeat(2, 1fr); }
  .commercial-grid { grid-template-columns: repeat(2, 1fr); }
  .service-gallery { grid-template-columns: repeat(2, 1fr); }
  .video-comparison { grid-template-columns: repeat(2, 1fr); }
  .strip-grid div:nth-child(2) { border-right: 0; }
  .cta-card { align-items: flex-start; flex-direction: column; }
  .projects-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--max)); }
  .nav { min-height: 70px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-text strong { font-size: .98rem; }
  .brand-text span { font-size: .78rem; }
  .nav-links { inset: 70px 14px auto 14px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .projects-cta-actions { width: 100%; }
  .proof-row span, .proof-row a { width: 100%; text-align: center; }
  .service-grid, .process-grid, .strip-grid, .before-after, .commercial-grid, .service-gallery, .video-comparison, .footer-grid { grid-template-columns: 1fr; }
  .before-after figure, .before-after img { min-height: 420px; }
  .after-detail, .after-detail img { min-height: 360px; }
  .strip-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.18); padding: 0 0 14px; }
  .strip-grid div:last-child { border-bottom: 0; padding-bottom: 0; }
  .section { padding: 66px 0; }
  .hero-card, .contact-form { padding: 24px; border-radius: 22px; }
  .legal { flex-direction: column; }
}
