:root {
  --navy: #101b73;
  --royal: #0926d9;
  --blue: #2476df;
  --sky: #57bbed;
  --orange: #f39200;
  --ink: #11183b;
  --muted: #5f6780;
  --paper: #ffffff;
  --soft: #f4f8ff;
  --line: rgba(16, 27, 115, 0.14);
  --shadow: 0 22px 55px rgba(16, 27, 115, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0 28px;
  padding: 10px clamp(18px, 4vw, 56px) 8px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 36px);
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(245px, 27vw, 390px);
  height: auto;
  margin-bottom: 0;
}

.brand small {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0 0 clamp(14px, 2vw, 24px);
  margin-top: 0;
  color: var(--orange);
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.brand small::before {
  content: "";
  position: absolute;
  left: 0;
  width: 2px;
  height: 34px;
  border-radius: 999px;
  background: var(--orange);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu-toggle {
  display: none;
}

.nav {
  display: flex;
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  justify-content: center;
  margin-top: -28px;
  gap: clamp(14px, 2.4vw, 30px);
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.nav-dropdown {
  position: relative;
  padding: 12px 0;
  margin: -12px 0;
}

.nav-trigger::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 40;
  display: grid;
  min-width: 230px;
  padding: 8px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  color: white;
  background: var(--navy);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav a:hover,
.phone-link:hover,
.site-footer a:hover {
  color: var(--orange);
}

.phone-link {
  grid-column: 3;
  grid-row: 2;
  color: var(--navy);
  font-weight: 900;
  justify-self: end;
  white-space: nowrap;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  margin-top: -28px;
}

.phone-link::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.24.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.24.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(28px, 3.5vw, 52px);
  align-items: center;
  min-height: 500px;
  padding: clamp(30px, 4vw, 56px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(16, 27, 115, 0.08), transparent 48%),
    var(--paper);
}

.hero-copy {
  max-width: 520px;
}

.eyebrow {
  margin: 0 0 11px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 520px;
  color: var(--navy);
  font-size: clamp(28px, 2.75vw, 36px);
  line-height: 1.16;
  letter-spacing: 0;
  text-transform: none;
}

.hero-baseline {
  margin: 14px 0 0;
  color: var(--orange) !important;
  font-size: clamp(15px, 1.25vw, 18px) !important;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-copy p:not(.eyebrow),
.approach-copy p,
.contact-card p {
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
}

.service-area {
  display: inline-flex;
  margin: 4px 0 0;
  padding: 8px 12px;
  color: var(--navy) !important;
  font-size: 15px !important;
  font-weight: 900;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 120ms ease, box-shadow 160ms ease;
}

.button.primary {
  color: white;
  background: var(--orange);
}

.button.primary:hover,
.button.primary:focus-visible {
  color: white;
  background: #d97800;
  box-shadow: 0 10px 22px rgba(243, 146, 0, 0.28);
}

.button.primary:active {
  transform: translateY(1px);
  background: #bd6900;
}

.button.secondary {
  color: var(--navy);
  background: white;
  border-color: var(--line);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: white;
  border-color: var(--navy);
  background: var(--navy);
}

.button:focus-visible,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid rgba(16, 27, 115, 0.25);
  outline-offset: 2px;
}

.hero-visual {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-height: 380px;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-visual img {
  height: min(29vw, 380px);
  min-height: 250px;
  object-fit: cover;
}

.services,
.needs,
.approach,
.contact {
  padding: clamp(38px, 5.5vw, 72px) clamp(18px, 5vw, 72px);
}

.services {
  background: var(--soft);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 26px;
}

.section-heading h1,
.section-heading h2,
.approach h2,
.contact h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  display: block;
  min-height: 330px;
  padding: 20px;
  color: white;
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 65px rgba(16, 27, 115, 0.2);
}

.service-card.navy {
  background: var(--navy);
}

.service-card.royal {
  background: var(--royal);
}

.service-card.blue {
  background: var(--blue);
}

.service-card.sky {
  background: var(--sky);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  color: white;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
}

.service-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.08;
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
  font-weight: 800;
}

.service-more {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 18px;
  padding: 7px 11px;
  color: white;
  font-size: 14px;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  padding: clamp(30px, 4vw, 56px) clamp(18px, 5vw, 72px);
  color: white;
}

.detail-hero.navy-page {
  background: var(--navy);
}

.detail-hero.royal-page {
  background: var(--royal);
}

.detail-hero.blue-page {
  background: var(--blue);
}

.detail-hero.sky-page {
  background: var(--sky);
}

.detail-hero .eyebrow,
.detail-hero h1,
.detail-hero p {
  color: white;
}

.detail-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.12;
}

.detail-hero p:not(.eyebrow) {
  max-width: 680px;
  font-size: clamp(15px, 1.45vw, 18px);
}

.detail-hero img {
  display: block;
  width: 100%;
  height: min(21vw, 260px);
  min-height: 190px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
}

.back-link {
  display: inline-flex;
  margin-bottom: 16px;
  color: white;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(26px, 5vw, 70px);
  padding: clamp(36px, 5vw, 64px) clamp(18px, 5vw, 72px);
  background: white;
}

.detail-main h2,
.detail-side h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.12;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 16px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--orange);
}

.detail-side {
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.detail-side p {
  color: var(--muted);
  font-size: 15px;
}

.detail-side .button {
  margin-top: 12px;
}

.needs {
  background: white;
}

.needs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.needs-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #101010;
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: 700;
}

.needs-list li {
  position: relative;
  padding-left: 38px;
}

.needs-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid #101010;
}

.promise-grid {
  display: grid;
  gap: 10px;
  align-self: start;
  max-width: 520px;
}

.promise-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 14px 16px;
  color: var(--navy);
  border: 2px solid rgba(16, 27, 115, 0.9);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(16, 27, 115, 0.11);
}

.promise-card.dark-gold {
  background: #c78122;
}

.promise-card.gold {
  background: #d39a48;
}

.promise-card.sand {
  background: #d8b989;
}

.promise-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0;
  color: white;
}

.promise-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.promise-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.06;
}

.promise-card p {
  grid-column: 2;
  margin: 5px 0 0;
  color: var(--navy);
  font-size: 13px;
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  background: white;
}

.approach-copy p {
  max-width: 680px;
}

.approach-image {
  display: block;
  width: 100%;
  height: min(22vw, 280px);
  min-height: 210px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact {
  background: var(--orange);
}

.contact-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 36px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.contact-card .eyebrow,
.contact-card h1,
.contact-card h2,
.contact-card p {
  color: white;
}

.contact-card h1 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
}

.contact-page {
  min-height: calc(100vh - 120px);
  display: grid;
  align-items: center;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 13px;
  color: white;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(16, 27, 115, 0.18);
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: white;
  font-size: 14px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
  background: white;
}

.contact-form button {
  justify-self: start;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(16, 27, 115, 0.2);
  border-color: var(--navy);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-result {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(24px, 5vw, 70px);
  background: var(--soft);
}

.form-result section {
  width: min(680px, 100%);
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.form-result h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px, 4vw, 42px);
}

.form-result p {
  color: var(--muted);
  font-size: 17px;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  text-align: center;
  color: white;
  background: var(--navy);
}

@media (max-width: 1060px) {
  .hero,
  .detail-hero,
  .detail-content,
  .needs-layout,
  .approach {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-top: 8px;
  }

  .brand {
    grid-row: 1;
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 2px;
    overflow: visible;
  }

  .brand-logo {
    width: min(300px, 82vw);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
  }

  .brand small {
    display: inline-flex;
    min-height: 0;
    margin-top: -30px;
    padding: 3px 10px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 6px;
    position: relative;
    z-index: 3;
  }

  .brand small::before {
    display: none;
  }

  .menu-toggle {
    grid-column: 1;
    grid-row: 3;
    display: inline-flex;
    width: 46px;
    height: 38px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    justify-self: center;
    color: var(--navy);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms 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);
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 4;
    display: none;
    width: min(360px, 100%);
    grid-template-columns: 1fr;
    justify-content: center;
    gap: 6px;
    overflow: visible;
    justify-self: center;
    padding: 8px;
    margin-top: -2px;
    font-size: 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    box-shadow: 0 14px 35px rgba(7, 7, 104, 0.12);
  }

  .nav.mobile-open {
    display: grid;
  }

  .nav > a,
  .nav > .nav-dropdown {
    grid-column: 1;
    min-width: 0;
  }

  .nav > a,
  .nav-trigger {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    text-align: center;
    overflow-wrap: normal;
    white-space: nowrap;
    word-break: normal;
    line-height: 1;
    border: 0;
    border-radius: 7px;
    background: var(--soft);
    font-size: 13px;
  }

  .nav-dropdown {
    padding: 0;
    margin: 0;
  }

  .nav-trigger {
    width: 100%;
  }

  .phone-link {
    grid-column: auto;
    grid-row: auto;
    grid-row: 2;
    justify-self: center;
    text-align: center;
    margin-top: 0;
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    margin-top: 6px;
    padding: 6px;
    border-radius: 8px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: #f7f9ff;
  }

  .dropdown-menu a {
    padding: 8px 10px;
    text-align: center;
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu,
  .nav-dropdown.open .dropdown-menu {
    transform: none;
  }

  .nav-dropdown.open .dropdown-menu {
    display: grid;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 32px;
    letter-spacing: 0;
  }

  .hero-visual img,
  .detail-hero img,
  .approach-image {
    height: 260px;
    min-height: 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    border-radius: 28px;
  }

  .service-area {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-actions,
  .contact-links,
  .form-row {
    display: grid;
  }

  .site-footer {
    flex-direction: column;
  }
}
