:root {
  --navy: #07243d;
  --navy-2: #0c3654;
  --teal: #12a89d;
  --teal-dark: #087b77;
  --gold: #d7b56d;
  --ink: #102033;
  --muted: #607080;
  --line: #dbe6ed;
  --soft: #f5f8fa;
  --white: #fff;
  --shadow: 0 22px 55px rgba(7, 36, 61, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, Arial, sans-serif; color: var(--ink); line-height: 1.6; background: #f7fafb; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main { overflow: hidden; }

.scroll-progress { position: fixed; top: 0; left: 0; z-index: 100; width: 0; height: 3px; background: linear-gradient(90deg, var(--teal), var(--gold)); box-shadow: 0 0 18px rgba(18,168,157,.36); }
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; padding: 10px clamp(18px, 4vw, 64px); background: rgba(255,255,255,.88); border-bottom: 1px solid rgba(219,230,237,.86); backdrop-filter: blur(20px); transition: min-height .25s ease, box-shadow .25s ease, background .25s ease; }
.site-header.scrolled { min-height: 78px; background: rgba(255,255,255,.96); box-shadow: 0 12px 34px rgba(7,36,61,.10); }
.brand { display: inline-flex; align-items: center; min-width: 270px; flex: 0 0 auto; }
.brand-logo-wrap { display: grid; place-items: center; width: 260px; height: 60px; padding: 0; overflow: visible; }
.brand-logo { width: 100%; height: 100%; max-height: 60px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(7,36,61,.12)); }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 8px; color: #24384d; font-size: .94rem; font-weight: 800; }
.site-nav a { padding: 10px 12px; border-radius: 999px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.site-nav a:hover { color: var(--teal-dark); background: rgba(18,168,157,.10); transform: translateY(-1px); }
.nav-phone { border: 1px solid var(--line); background: var(--white); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--navy); }

.hero { position: relative; min-height: calc(100svh - 92px); display: grid; align-items: center; overflow: hidden; background: var(--navy); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(0deg, rgba(7,36,61,.52), transparent); pointer-events: none; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; transform: translateY(0); transition: transform .08s linear; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,36,61,.96), rgba(7,36,61,.82) 44%, rgba(7,36,61,.22)); }
.hero-content { position: relative; z-index: 1; width: min(760px, calc(100% - 36px)); margin-left: clamp(18px, 7vw, 96px); padding: clamp(74px, 11vw, 132px) 0; color: var(--white); }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hero h1, .page-hero h1 { margin: 0; max-width: 760px; font-size: clamp(2.45rem, 5.7vw, 5rem); line-height: 1; letter-spacing: 0; }
.hero p:not(.eyebrow), .page-hero p { max-width: 650px; color: rgba(255,255,255,.88); font-size: clamp(1rem, 2vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 8px; font-weight: 900; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(7,36,61,.16); }
.btn:disabled { cursor: wait; opacity: .72; transform: none; }
.btn-primary { color: var(--navy); background: var(--gold); }
.btn-secondary { color: var(--white); border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.10); }

.trust-bar { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; width: min(1180px, calc(100% - 36px)); margin: -34px auto 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--line); box-shadow: var(--shadow); }
.trust-bar span { padding: 18px 12px; text-align: center; background: var(--white); color: var(--navy); font-weight: 900; }
.section, .split-section, .quote-section, .contact-section { padding: clamp(76px, 9vw, 122px) clamp(18px, 5vw, 72px); }
.section { background: #fff; }
.alt { background: linear-gradient(180deg, #fff, #f3f8f9); }
.section-heading { max-width: 780px; margin: 0 auto 42px; text-align: center; }
h2 { margin: 0; color: var(--navy); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: 0; }
.section-heading p:not(.eyebrow), .split-section p, .quote-intro p, .contact-copy p { color: var(--muted); font-size: 1.03rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1180px; margin: 0 auto; }
.service-grid article { min-height: 274px; padding: 24px; border: 1px solid rgba(219,230,237,.92); border-radius: 8px; background: linear-gradient(180deg, #fff, #fbfdfd); box-shadow: 0 10px 28px rgba(7,36,61,.06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-grid article:hover { transform: translateY(-6px); border-color: rgba(18,168,157,.32); box-shadow: 0 22px 48px rgba(7,36,61,.12); }
.service-grid span { display: inline-grid; place-items: center; width: 48px; height: 34px; color: var(--teal-dark); border-bottom: 2px solid var(--gold); font-weight: 900; }
.service-grid h3, .process-grid h3 { margin: 18px 0 8px; color: var(--navy); line-height: 1.2; }
.service-grid p, .process-grid p { color: var(--muted); }
.service-grid a { display: inline-block; margin-top: 8px; color: var(--teal-dark); font-weight: 900; }

.split-section { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(320px, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; background: radial-gradient(circle at 15% 10%, rgba(18,168,157,.10), transparent 28%), var(--soft); }
.split-section > div:first-child { max-width: 720px; }
.about-proof { display: grid; gap: 14px; padding: 24px; border-radius: 8px; color: var(--white); background: linear-gradient(145deg, #06233b, #0d4f5b); box-shadow: var(--shadow); }
.about-proof div { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; align-items: center; padding: 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: rgba(255,255,255,.06); }
.about-proof span { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--navy); background: var(--gold); font-weight: 900; }
.about-proof strong { color: var(--white); line-height: 1.2; overflow-wrap: anywhere; }
.about-proof small { color: rgba(255,255,255,.68); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1120px; margin: 0 auto; }
.feature-grid div { min-height: 128px; padding: 22px; border-left: 4px solid var(--teal); border-radius: 8px; background: #fff; box-shadow: 0 10px 26px rgba(7,36,61,.06); }
.feature-grid strong, .feature-grid span { display: block; }
.feature-grid strong { color: var(--navy); }
.feature-grid span { margin-top: 8px; color: var(--muted); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1120px; margin: 0 auto; }
.process-grid div { padding: 24px; border-radius: 8px; background: linear-gradient(180deg, #fff, #f7fbfb); border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(7,36,61,.05); }
.process-grid span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--navy); background: var(--gold); font-weight: 900; }

.quote-section { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.35fr); gap: 32px; align-items: start; background: linear-gradient(180deg, #f7fafb, #edf5f7); }
.quote-intro { position: sticky; top: 120px; }
.form-card { padding: clamp(22px, 4vw, 34px); border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label, legend { color: var(--navy); font-size: .92rem; font-weight: 800; }
label span { color: var(--muted); font-weight: 500; }
input, select, textarea { width: 100%; margin-top: 7px; padding: 12px 13px; border: 1px solid #cbd9e2; border-radius: 8px; color: var(--ink); background: var(--white); font: inherit; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(18,168,157,.22); border-color: var(--teal); }
textarea { resize: vertical; }
fieldset { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; margin: 20px 0; padding: 18px; border: 1px solid var(--line); border-radius: 8px; }
fieldset label, .consent { display: flex; align-items: center; gap: 8px; color: #273b4e; font-weight: 650; }
fieldset input, .consent input { width: auto; margin: 0; }
.form-card > label, .consent { margin-top: 18px; }
.consent { margin-bottom: 20px; }
.form-status { min-height: 28px; margin: 16px 0 0; color: var(--teal-dark); font-weight: 900; }
.form-status.error { color: #a63434; }
.hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(340px, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; background: #fff; }
.contact-copy { max-width: 620px; }
.contact-methods { display: grid; gap: 12px; margin-top: 26px; }
.contact-methods a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 22px rgba(7,36,61,.05); }
.contact-methods span { color: var(--muted); font-weight: 800; }
.contact-methods strong { color: var(--navy); overflow-wrap: anywhere; }
.service-area-card { position: relative; min-height: 390px; overflow: hidden; border-radius: 8px; border: 1px solid rgba(18,168,157,.22); background: linear-gradient(135deg, #082640 0%, #0b5260 55%, #dcefed 100%); box-shadow: var(--shadow); color: var(--white); }
.area-glow { position: absolute; width: 320px; height: 320px; right: -90px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(215,181,109,.55), transparent 62%); }
.area-lines { position: absolute; inset: 0; opacity: .38; }
.area-lines span { position: absolute; left: 8%; width: 84%; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.52), transparent); }
.area-lines span:nth-child(1) { top: 24%; transform: rotate(-12deg); }
.area-lines span:nth-child(2) { top: 52%; transform: rotate(16deg); }
.area-lines span:nth-child(3) { top: 78%; transform: rotate(-26deg); }
.area-card-content { position: relative; z-index: 1; max-width: 560px; padding: clamp(30px, 5vw, 54px); }
.area-card-content .eyebrow { color: var(--gold); }
.area-card-content h3 { margin: 0 0 14px; color: var(--white); font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.02; }
.area-card-content p { color: rgba(255,255,255,.86); font-size: 1.05rem; }
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.area-tags span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(255,255,255,.10); color: var(--white); font-weight: 900; font-size: .84rem; }
.policy-hero { min-height: 360px; display: grid; align-content: center; }
.policy-content { max-width: 920px; margin: 0 auto; padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px); }
.policy-content h2 { margin-top: 34px; font-size: clamp(1.45rem, 3vw, 2rem); }
.policy-content p { color: var(--muted); font-size: 1.02rem; }
.policy-content a { color: var(--teal-dark); font-weight: 900; }
.page-hero { padding: 94px clamp(18px, 5vw, 72px) 72px; color: var(--white); background: linear-gradient(135deg, rgba(7,36,61,.98), rgba(8,123,119,.90)), url("assets/eliteprime-hero.png") center/cover; }
.page-hero .eyebrow { color: var(--gold); }
.feedback-layout { padding-top: 72px; }
.site-footer { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(180px, .7fr) minmax(220px, .8fr); gap: 28px; padding: 54px clamp(18px, 5vw, 72px) 24px; color: rgba(255,255,255,.78); background: linear-gradient(145deg, #061f35, var(--navy)); }
.site-footer h2, .site-footer h3 { margin: 0 0 12px; color: var(--white); }
.site-footer a { display: block; margin: 7px 0; transition: color .2s ease; }
.site-footer a:hover { color: var(--gold); }
.copyright { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 1040px) { .service-grid, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust-bar { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) {
  .site-header { min-height: 86px; }
  .brand { min-width: 0; }
  .brand-logo-wrap { width: 210px; height: 50px; }
  .brand-logo { max-height: 50px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 86px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 18px; background: var(--white); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-radius: 0; }
  .simple-nav { position: static; display: flex; flex-direction: row; padding: 0; border: 0; }
  .hero { min-height: 760px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(7,36,61,.94), rgba(7,36,61,.72) 58%, rgba(7,36,61,.30)); }
  .hero-content { margin: 0 auto; }
  .split-section, .quote-section, .contact-section, .site-footer { grid-template-columns: 1fr; }
  .quote-intro { position: static; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-copy { max-width: none; }
}
@media (max-width: 620px) {
  .site-header { min-height: 78px; }
  .brand-logo-wrap { width: 178px; height: 42px; }
  .brand-logo { max-height: 42px; }
  .site-nav { top: 78px; }
  .hero h1, .page-hero h1 { font-size: 2.45rem; }
  .trust-bar, .service-grid, .feature-grid, .process-grid, .form-grid, fieldset { grid-template-columns: 1fr; }
  .hero-actions .btn, .form-card .btn { width: 100%; }
  .simple-nav a:not(.nav-phone) { display: none; }
  .area-card-content { padding: 30px 24px; }
  .service-area-card { min-height: 430px; }
  .contact-methods a { display: block; }
}
/* Mobile polish fixes for contact and service area */
@media (max-width: 620px) {
  .contact-section {
    padding: 58px 20px 70px;
    gap: 24px;
  }

  .contact-copy h2 {
    font-size: 2.15rem;
    line-height: 1.08;
    max-width: 100%;
    overflow-wrap: normal;
  }

  .contact-copy p {
    font-size: 1rem;
  }

  .contact-methods {
    gap: 14px;
  }

  .contact-methods a {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 18px 20px;
  }

  .contact-methods span,
  .contact-methods strong {
    display: block;
  }

  .contact-methods span {
    font-size: .86rem;
    letter-spacing: .02em;
  }

  .contact-methods strong {
    font-size: 1.04rem;
    line-height: 1.3;
  }

  .service-area-card {
    min-height: 360px;
  }

  .area-card-content {
    padding: 34px 26px;
  }

  .area-card-content h3 {
    font-size: 2rem;
  }

  .area-card-content p {
    font-size: 1rem;
  }
}