:root {
  --navy: #082d5b;
  --navy-deep: #062449;
  --blue: #0b8de8;
  --sky: #e8f5fc;
  --white: #ffffff;
  --red: #e6293f;
  --red-dark: #c91f35;
  --text: #28445f;
  --muted: #687d91;
  --line: #dce8f1;
  --soft: #f7fbfe;
  --shadow: 0 14px 34px rgba(8, 45, 91, 0.09);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 92px 0; }
.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; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; border-radius: 6px; color: var(--white); background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex: 0 0 auto; }
.brand img { width: 78px; height: 78px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 30px; color: var(--navy); font-size: .94rem; font-weight: 680; }
.primary-nav > a:not(.button) { padding: 29px 0; }
.primary-nav > a:not(.button):hover, .primary-nav > a:not(.button):focus-visible { color: var(--blue); }
.nav-cta { min-height: 44px; padding: 11px 19px; }
.menu-toggle { display: none; width: 44px; height: 42px; padding: 9px; border: 0; border-radius: 8px; background: var(--soft); cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); transition: transform .18s ease, opacity .18s ease; }

.hero { background: var(--white); }
.hero-grid { min-height: 650px; display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: 72px; padding-top: 58px; padding-bottom: 68px; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: .78rem; line-height: 1.2; font-weight: 820; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--navy); line-height: 1.08; letter-spacing: -.035em; }
h1 { margin-bottom: 24px; font-size: clamp(3.15rem, 5vw, 5rem); font-weight: 830; }
h1 span { color: var(--blue); }
h2 { margin-bottom: 18px; font-size: clamp(2.2rem, 3.8vw, 3.35rem); font-weight: 810; }
h3 { margin-bottom: 9px; font-size: 1.25rem; }
.hero-lede { max-width: 600px; margin: 0 0 30px; color: var(--text); font-size: 1.16rem; line-height: 1.7; }
.service-area { margin: -18px 0 28px; color: var(--muted); font-size: .9rem; font-weight: 650; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 13px 23px; border: 1px solid transparent; border-radius: 9px; font-size: .97rem; line-height: 1.2; font-weight: 780; transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .primary-nav a:focus-visible, .site-footer a:focus-visible { outline: 3px solid rgba(11,141,232,.3); outline-offset: 3px; }
.button-primary { color: var(--white); background: var(--red); box-shadow: 0 8px 18px rgba(230,41,63,.18); }
.button-primary:hover { background: var(--red-dark); }
.button-secondary { color: var(--navy); background: var(--white); border-color: #a8cce6; }
.button-secondary:hover { border-color: var(--blue); background: var(--soft); }
.button-secondary svg { width: 19px; height: 19px; fill: var(--blue); }
.button-secondary span { display: flex; gap: 7px; align-items: baseline; }
.button-secondary strong { color: var(--blue); font-size: .86rem; }
.trust-list { display: flex; flex-wrap: wrap; gap: 13px 24px; margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); color: var(--navy); font-size: .87rem; font-weight: 680; list-style: none; }
.trust-list li { display: flex; align-items: center; gap: 8px; }
.trust-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.hero-media { display: flex; min-height: 0; align-items: center; justify-content: flex-end; }
.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 571 / 275;
  object-fit: cover;
  border-radius: 16px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.38) 13%, #000 32%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.38) 13%, #000 32%);
}

.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading p:last-child { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 1.07rem; }
.services { background: var(--soft); border-block: 1px solid #edf3f7; }
.services .section-heading { max-width: 1000px; }
.services .section-heading h2 { white-space: nowrap; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  min-height: 205px;
  padding: 32px;
  border: 1px solid var(--blue);
  border-radius: 12px;
  color: var(--white);
  background: var(--blue);
  transition: transform .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}
.service-card h3 { color: var(--white); }
.card-number { display: block; margin-bottom: 31px; color: var(--white); font-size: .82rem; font-weight: 830; letter-spacing: .1em; }
.service-card p { max-width: 290px; margin: 0; color: rgba(255,255,255,.9); }
.service-card:hover { transform: translateY(-3px); color: var(--text); background: var(--sky); box-shadow: var(--shadow); }
.service-card:hover h3 { color: var(--navy); }
.service-card:hover .card-number { color: var(--blue); }
.service-card:hover p { color: var(--muted); }

.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 76px; align-items: center; }
.owner-photo { min-height: 520px; overflow: hidden; border-radius: 14px; background: var(--soft); box-shadow: var(--shadow); }
.owner-photo img { width: 100%; height: 520px; object-fit: cover; object-position: center 28%; }
.about-copy > p:not(.eyebrow) { max-width: 650px; margin-bottom: 18px; font-size: 1.08rem; }
.owner-signoff { display: flex; flex-direction: column; gap: 0; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.owner-signoff strong { color: var(--navy); font-size: 1.05rem; }
.owner-signoff span { color: var(--muted); font-size: .86rem; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; }

.process { background: var(--soft); border-block: 1px solid #edf3f7; }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.process-list li { display: flex; gap: 20px; min-height: 135px; padding: 20px 34px; border-left: 1px solid var(--line); }
.process-list li:first-child { border-left: 0; padding-left: 0; }
.process-list li:last-child { padding-right: 0; }
.step-number { flex: 0 0 auto; color: var(--blue); font-size: 1.55rem; line-height: 1.2; font-weight: 850; }
.process-list h3 { margin: 2px 0 8px; font-size: 1.16rem; }
.process-list p { margin: 0; color: var(--muted); line-height: 1.55; }

.final-cta { padding-top: 80px; padding-bottom: 90px; }
.cta-panel { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 52px; padding: 52px 58px; border-radius: 16px; color: var(--white); background: var(--navy); box-shadow: var(--shadow); }
.cta-panel h2 { margin-bottom: 11px; color: var(--white); }
.cta-panel p:last-child { margin: 0; color: #c9def1; font-size: 1.07rem; }
.eyebrow.light { color: #82cfff; }
.cta-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.contact-phone { color: var(--white); font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.2; font-weight: 820; letter-spacing: -.025em; }
.cta-contact > span { color: #b9d5e9; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.button-light { color: var(--navy); background: var(--white); }
.button-light:hover { background: var(--sky); }

.site-footer { border-top: 1px solid var(--line); background: var(--white); }
.footer-inner { min-height: 142px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 48px; }
.footer-brand img { width: 92px; height: 92px; }
.site-footer nav { display: flex; justify-content: center; gap: 28px; color: var(--navy); font-size: .9rem; font-weight: 680; }
.site-footer nav a:hover, .footer-contact a:hover { color: var(--blue); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; color: var(--muted); font-size: .9rem; }
.footer-contact a { color: var(--navy); font-weight: 760; }
.footer-service-area { margin-top: 3px; font-size: .8rem; }
.footer-bottom { padding: 17px 0 23px; border-top: 1px solid var(--line); color: #7d8e9f; font-size: .82rem; text-align: center; }

.mobile-cta-bar { display: none; }

@media (max-width: 1040px) {
  .primary-nav { gap: 20px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 42px; }
  h1 { font-size: clamp(2.75rem, 5.2vw, 4.25rem); }
  .about-grid { gap: 46px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .site-footer nav { order: 3; grid-column: 1 / -1; padding-bottom: 28px; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 74px 0; }
  .header-inner { min-height: 76px; }
  .brand img { width: 68px; height: 68px; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 10px 16px 20px; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: 0 14px 30px rgba(8,45,91,.08); }
  .primary-nav.open { display: flex; flex-direction: column; }
  .primary-nav > a:not(.button) { padding: 13px 8px; }
  .nav-cta { margin-top: 8px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 60px; padding-bottom: 72px; }
  .hero-copy { max-width: 680px; }
  h1 { font-size: clamp(2.85rem, 10vw, 4.4rem); }
  .hero-media { height: auto; }
  .hero-media img { width: 100%; height: auto; max-height: 300px; object-position: center; -webkit-mask-image: none; mask-image: none; }
  .services .section-heading h2 { white-space: normal; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 175px; }
  .about-grid { grid-template-columns: 1fr; }
  .owner-photo, .owner-photo img { min-height: 0; height: clamp(320px, 65vw, 480px); }
  .process-list { grid-template-columns: 1fr; }
  .process-list li, .process-list li:first-child, .process-list li:last-child { min-height: 0; padding: 23px 0; border-left: 0; border-top: 1px solid var(--line); }
  .process-list li:first-child { border-top: 0; }
  .cta-panel { grid-template-columns: 1fr; gap: 28px; padding: 42px 34px; }
  .mobile-cta-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 95;
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 10px;
    padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.98);
    box-shadow: 0 -8px 24px rgba(8,45,91,.1);
    visibility: hidden;
    transform: translateY(100%);
  }
  .mobile-cta-bar a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--blue);
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 800;
  }
  .mobile-cta-text { color: var(--white); background: var(--blue); }
  .mobile-cta-call { color: var(--navy); background: var(--white); }
  .mobile-cta-bar.visible { visibility: visible; transform: translateY(0); }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .section { padding: 64px 0; }
  .brand img { width: 64px; height: 64px; }
  .hero-grid { gap: 38px; padding-top: 48px; padding-bottom: 64px; }
  h1 { margin-bottom: 20px; font-size: clamp(2.25rem, 11.5vw, 3rem); }
  h2 { font-size: 2.2rem; }
  .hero-lede { font-size: 1.03rem; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .button-secondary span { flex-direction: column; gap: 0; text-align: left; }
  .trust-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .hero-media, .hero-media img { height: auto; max-height: 230px; }
  .section-heading { margin-bottom: 32px; }
  .service-card { padding: 28px 25px; }
  .owner-photo, .owner-photo img { height: clamp(320px, 88vw, 390px); }
  .cta-panel { padding: 36px 25px; }
  .cta-actions, .cta-actions .button { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; padding: 32px 0 24px; text-align: center; }
  .footer-brand { margin: 0 auto; }
  .site-footer nav { order: unset; grid-column: auto; flex-wrap: wrap; padding-bottom: 0; gap: 14px 24px; }
  .footer-contact { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
