:root {
  --navy: #0b1f33;
  --navy-2: #123653;
  --blue: #176a92;
  --cyan: #35b6cf;
  --gold: #e0aa4c;
  --paper: #f5f7f8;
  --white: #ffffff;
  --ink: #172433;
  --muted: #627181;
  --line: #d9e1e6;
  --shadow: 0 18px 55px rgba(11, 31, 51, .12);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: -70px;
  left: 12px;
  z-index: 999;
  padding: 12px 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
.section { padding: 100px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid rgba(11,31,51,.08);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: var(--navy);
  border-radius: 12px;
}
.brand-mark svg { width: 34px; }
.brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-text { display: grid; line-height: 1; }
.brand-text strong {
  color: var(--navy);
  font-size: 1.55rem;
  letter-spacing: .08em;
}
.brand-text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: .74rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a, .footer-nav a {
  position: relative;
  color: #314150;
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--gold);
  transition: right .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.menu-toggle { display: none; }

.button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 23px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(11,31,51,.16);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--navy-2); box-shadow: 0 14px 34px rgba(11,31,51,.22); }
.button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button-small { min-height: 43px; padding: 0 18px; font-size: .88rem; }
.button-outline { color: var(--navy); background: transparent; border-color: rgba(11,31,51,.25); box-shadow: none; }
.button-outline:hover { color: var(--white); border-color: var(--navy); }
.button-light { color: var(--navy); background: var(--white); border-color: var(--white); }
.button-light:hover { color: var(--white); background: transparent; }

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 20%, rgba(53,182,207,.20), transparent 30%),
    linear-gradient(120deg, #071827 0%, #0d2c45 66%, #0b3850 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, transparent, black 52%, black);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 74px;
  padding-top: 70px;
  padding-bottom: 105px;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: .77rem;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero .eyebrow, .location-band .eyebrow { color: #70d1e1; }
.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(3.7rem, 8vw, 7.3rem);
  line-height: .84;
  letter-spacing: -.065em;
}
.hero h1 span {
  display: block;
  margin-top: 17px;
  color: transparent;
  font-size: .48em;
  letter-spacing: .05em;
  text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(255,255,255,.73);
}
.hero-intro {
  max-width: 610px;
  margin: 30px 0 0;
  color: #d7e2e9;
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero .button:first-child { color: var(--navy); background: var(--gold); border-color: var(--gold); }
.hero .button:first-child:hover { background: #edbd68; }
.hero .button-outline { color: var(--white); border-color: rgba(255,255,255,.34); }
.hero-facts {
  display: flex;
  gap: 36px;
  margin-top: 42px;
}
.hero-facts div { display: grid; gap: 2px; }
.hero-facts strong { color: var(--white); font-size: 1.18rem; }
.hero-facts span { color: #9fb3c0; font-size: .82rem; }

.hero-visual { position: relative; min-height: 475px; }
.blueprint-card {
  position: absolute;
  inset: 18px 20px 20px 8px;
  padding: 22px;
  color: #91d8e7;
  background: rgba(9,38,57,.76);
  border: 1px solid rgba(144,216,231,.33);
  border-radius: 24px;
  box-shadow: 0 35px 80px rgba(0,0,0,.28);
  transform: rotate(2.2deg);
}
.blueprint-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(144,216,231,.22);
  border-radius: 17px;
}
.blueprint-topline, .blueprint-notes {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.6);
  font-size: .66rem;
  letter-spacing: .14em;
}
.house-plan { position: relative; z-index: 2; width: 100%; margin-top: 8px; }
.house-plan g { stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.blueprint-notes { justify-content: flex-start; gap: 20px; }
.floating-label {
  position: absolute;
  z-index: 3;
  padding: 11px 16px;
  color: var(--navy);
  background: var(--white);
  border-radius: 12px;
  font-size: .77rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.label-one { top: 25px; right: -10px; }
.label-two { bottom: 28px; left: -20px; color: var(--white); background: var(--blue); }
.hero-angle {
  position: absolute;
  z-index: 1;
  right: -10%;
  bottom: -140px;
  width: 65%;
  height: 260px;
  background: rgba(53,182,207,.11);
  transform: rotate(-8deg);
}

.intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.2rem, 4.8vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.section-heading.centered { max-width: 790px; margin: 0 auto 52px; text-align: center; }
.section-heading.centered p:last-child { max-width: 550px; margin: 18px auto 0; color: var(--muted); }
.intro-copy p { margin: 0 0 24px; color: var(--muted); font-size: 1.15rem; }
.text-link { color: var(--navy); font-weight: 800; text-decoration: none; }
.text-link span { color: var(--gold); font-size: 1.25em; }

.services {
  position: relative;
  background: var(--paper);
  overflow: hidden;
}
.services::before {
  content: "";
  position: absolute;
  top: -170px;
  right: -170px;
  width: 420px;
  height: 420px;
  border: 85px solid rgba(23,106,146,.055);
  border-radius: 50%;
}
.services-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 27px;
  background: var(--white);
  border: 1px solid #e4e9ed;
  border-radius: var(--radius);
  box-shadow: 0 10px 35px rgba(11,31,51,.055);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-7px); border-color: rgba(23,106,146,.30); box-shadow: var(--shadow); }
.service-card.feature-card {
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  border-color: transparent;
}
.service-number {
  position: absolute;
  top: 17px;
  right: 22px;
  color: rgba(11,31,51,.08);
  font-size: 3.7rem;
  font-weight: 900;
  line-height: 1;
}
.feature-card .service-number { color: rgba(255,255,255,.08); }
.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #eaf4f7;
  border-radius: 14px;
}
.feature-card .service-icon { color: var(--gold); background: rgba(255,255,255,.10); }
.service-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 25px 0 10px; color: var(--navy); font-size: 1.25rem; line-height: 1.22; }
.feature-card h3 { color: var(--white); }
.service-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.feature-card p { color: #c8d6de; }
.service-card > a:not(.button) { margin-top: auto; padding-top: 24px; color: var(--blue); font-size: .86rem; font-weight: 800; text-decoration: none; }
.feature-card > a:not(.button) { color: var(--gold); }
.service-card > a span { margin-left: 4px; }
.wide-card {
  grid-column: 1 / -1;
  min-height: 160px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 24px;
}
.wide-card h3 { margin: 0 0 7px; }
.wide-card .service-number { top: 20px; right: 32%; }

.location-band {
  position: relative;
  padding: 95px 0;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}
.location-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 450px;
  height: 450px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.02);
}
.location-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.location-map {
  position: relative;
  min-height: 310px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 25px;
  overflow: hidden;
  background: #0e2a40;
}
.map-lines {
  position: absolute;
  inset: 0;
  opacity: .17;
  background-image:
    linear-gradient(30deg, transparent 46%, #7bc8da 47%, #7bc8da 49%, transparent 50%),
    linear-gradient(120deg, transparent 45%, #7bc8da 46%, #7bc8da 48%, transparent 49%);
  background-size: 105px 85px, 130px 105px;
}
.map-pin { position: relative; z-index: 2; width: 74px; color: var(--gold); filter: drop-shadow(0 14px 20px rgba(0,0,0,.28)); }
.map-pin svg { fill: var(--gold); stroke: #ffcf79; stroke-width: 1.3; }
.map-pin circle { fill: var(--navy); }
.location-map > span { position: absolute; z-index: 2; bottom: 55px; font-size: 1.1rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.location-copy h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 5rem); line-height: .95; letter-spacing: -.045em; }
.location-copy > p:not(.eyebrow) { max-width: 500px; margin: 24px 0 30px; color: #c3d2dc; font-size: 1.05rem; }

.contact { background: var(--white); }
.contact-shell {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 60px;
  padding: 58px;
  background: linear-gradient(135deg, #f2f6f7, #ffffff);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.contact-copy h2 { max-width: 640px; margin: 0; color: var(--navy); font-size: clamp(2.1rem, 4vw, 3.7rem); line-height: 1.02; letter-spacing: -.04em; }
.contact-copy > p:last-child { margin: 18px 0 0; color: var(--muted); }
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px;
  color: var(--white);
  background: var(--navy);
  border-radius: 20px;
}
.contact-icon { width: 56px; height: 56px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; }
.contact-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-card div:last-child { display: grid; }
.contact-card span { color: #9fb3c0; font-size: .76rem; letter-spacing: .11em; text-transform: uppercase; }
.contact-card a { margin: 3px 0; color: var(--white); font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 850; line-height: 1.15; text-decoration: none; }
.contact-card small { color: #c8d6de; }

.site-footer { padding: 54px 0 20px; color: #c8d6de; background: #06121e; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 70px; }
.footer-brand .brand-text strong { color: var(--white); }
.footer-brand .brand-text small { color: #8fa1ad; }
.footer-info { display: grid; }
.footer-info p { margin: 0; color: #8fa1ad; font-size: .86rem; }
.footer-info a { color: var(--white); font-size: 1.05rem; font-weight: 750; text-decoration: none; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { color: #c8d6de; }
.footer-bottom { margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom p { margin: 0; color: #6f828e; font-size: .78rem; }
.mobile-call { display: none; }

.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .header-call { display: none; }
  .hero { min-height: 620px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .hero-visual { min-height: 400px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .wide-card { grid-column: 1 / -1; }
  .location-grid { gap: 55px; }
  .contact-shell { padding: 42px; gap: 35px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 74px 0; }
  .header-inner { min-height: 70px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-mark svg { width: 30px; }
  .brand-text strong { font-size: 1.35rem; }
  .brand-text small { font-size: .65rem; }
  .menu-toggle {
    margin-left: auto;
    width: 45px;
    height: 45px;
    display: grid;
    place-content: center;
    gap: 5px;
    background: var(--paper);
    border: 0;
    border-radius: 11px;
  }
  .menu-toggle span { width: 22px; height: 2px; background: var(--navy); transition: transform .25s ease, opacity .25s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 28px 20px;
    display: grid;
    align-content: start;
    gap: 0;
    background: rgba(255,255,255,.98);
    transform: translateX(100%);
    transition: transform .28s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 18px 6px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .main-nav a::after { display: none; }

  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 35px; padding-top: 72px; padding-bottom: 95px; }
  .hero h1 { font-size: clamp(3.8rem, 21vw, 6rem); }
  .hero h1 span { font-size: .42em; }
  .hero-intro { font-size: 1.03rem; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-facts { gap: 25px; }
  .hero-visual { min-height: 320px; }
  .blueprint-card { inset: 10px 9px 16px; padding: 16px; }
  .house-plan { margin-top: 0; }
  .floating-label { font-size: .67rem; }
  .label-one { top: 0; right: 0; }
  .label-two { left: 0; bottom: 4px; }

  .intro-grid, .location-grid, .contact-shell { grid-template-columns: 1fr; gap: 30px; }
  .intro-copy p { font-size: 1.02rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 295px; }
  .wide-card { grid-column: auto; min-height: 325px; display: flex; align-items: stretch; }
  .wide-card .service-number { right: 22px; }
  .wide-card .button { margin-top: auto; }
  .location-band { padding: 75px 0; }
  .location-map { min-height: 260px; order: 2; }
  .contact-shell { padding: 30px 22px; border-radius: 22px; }
  .contact-card { padding: 21px 18px; }
  .contact-icon { width: 48px; height: 48px; flex-shrink: 0; }
  .contact-card a { font-size: 1.35rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-nav { flex-wrap: wrap; }
  .site-footer { padding-bottom: 95px; }
  .mobile-call {
    position: fixed;
    z-index: 90;
    left: 14px;
    right: 14px;
    bottom: 13px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--navy);
    background: var(--gold);
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 14px;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(0,0,0,.22);
  }
  .mobile-call svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
}

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