
:root {
  --navy:#061F4A;
  --blue:#0A3E8C;
  --orbit:#A8D6FF;
  --ice:#EAF4FF;
  --cloud:#F4F6F8;
  --bg:#F6F8FB;
  --text:#1E2430;
  --muted:#607086;
  --white:#FFFFFF;
  --line:rgba(6,31,74,.10);
  --line-strong:rgba(6,31,74,.18);
  --shadow-lg:0 28px 72px rgba(6,31,74,.10);
  --shadow-md:0 18px 44px rgba(6,31,74,.08);
  --shadow-sm:0 12px 28px rgba(6,31,74,.06);
  --shadow-dark:0 28px 60px rgba(0,0,0,.18);
  --r-xl:34px;
  --r-lg:26px;
  --r-md:20px;
  --r-sm:14px;
  --container:min(1240px, calc(100vw - 40px));
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top left, rgba(168,214,255,.18), transparent 24%),
    linear-gradient(180deg,#fbfdff 0%, var(--bg) 45%, #f8fbff 100%);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
.container{width:var(--container);margin-inline:auto}
.skip-link{position:absolute;left:16px;top:16px;z-index:2200;background:#fff;color:var(--navy);padding:12px 16px;border-radius:999px;box-shadow:var(--shadow-md);transform:translateY(-180%)}
.skip-link:focus{transform:translateY(0)}
:focus-visible{outline:3px solid rgba(168,214,255,.96);outline-offset:2px}

.site-header{position:sticky;top:0;z-index:1000;background:rgba(251,253,255,.88);backdrop-filter:blur(16px);border-bottom:1px solid rgba(6,31,74,.08)}
.nav-wrap{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:26px}
.brand img{width:124px}
.site-nav{display:flex;align-items:center;justify-content:center;gap:34px;flex:1}
.site-nav a{position:relative;padding:8px 0;color:var(--navy);font-size:15px;font-weight:700}
.site-nav a::after{content:'';position:absolute;left:0;right:0;bottom:-3px;height:2px;border-radius:99px;background:linear-gradient(90deg,var(--orbit),var(--blue));transform:scaleX(0);transition:transform .18s ease}
.site-nav a:hover::after,.site-nav a:focus-visible::after,.site-nav a.active::after{transform:scaleX(1)}
.nav-toggle{display:none;border:0;background:transparent;padding:0;cursor:pointer}
.nav-toggle span{display:block;width:26px;height:2px;background:var(--navy);border-radius:99px;margin:5px 0}
.mobile-nav-cta{display:none !important}
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 24px;border-radius:999px;border:1px solid transparent;font-size:15px;font-weight:800;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease}
.button:hover{transform:translateY(-2px)}
.button-primary{color:#fff;background:linear-gradient(135deg,var(--blue),var(--navy));box-shadow:0 18px 42px rgba(10,62,140,.20)}
.button-secondary{color:var(--navy);background:linear-gradient(180deg,#fff,#f7fbff);border-color:var(--line);box-shadow:var(--shadow-sm)}

.section{padding:68px 0}
.hero{padding-top:28px;padding-bottom:24px}
.hero-shell{position:relative;overflow:hidden;border-radius:calc(var(--r-xl) + 6px);padding:clamp(34px, 4.8vw, 58px);box-shadow:var(--shadow-lg)}
.hero-shell-light{background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92));border:1px solid var(--line)}
.hero-shell::before,.dark-panel::before,.section-dark::before{content:'';position:absolute;right:-120px;top:-45px;width:520px;height:220px;border:1px solid rgba(168,214,255,.26);border-radius:999px;transform:rotate(-18deg);pointer-events:none}
.hero-shell::after,.dark-panel::after,.section-dark::after{content:'';position:absolute;left:-150px;bottom:-90px;width:500px;height:190px;border:1px solid rgba(168,214,255,.18);border-radius:999px;transform:rotate(25deg);pointer-events:none}
.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,.94fr);gap:50px;align-items:center}
.hero-copy h1,.section-head h2,.form-head h2,.success-card h1{margin:0;line-height:.98;letter-spacing:-.05em}
.hero-copy h1{margin-top:18px;font-size:clamp(48px,7vw,86px);max-width:10ch;color:var(--navy)}
.hero-text{margin-top:24px;font-size:19px;line-height:1.75;max-width:56ch;color:var(--muted)}
.eyebrow,.section-tag{display:inline-flex;align-items:center;min-height:32px;padding:0 14px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.eyebrow-light,.section-tag{color:var(--blue);background:var(--ice);border:1px solid rgba(10,62,140,.08)}
.section-tag.light{color:#e6f3ff;background:rgba(168,214,255,.14);border-color:rgba(168,214,255,.18)}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}
.hero-visual{display:grid;gap:18px}
.image-panel{overflow:hidden;border-radius:28px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-md)}
.image-panel img{width:100%;height:100%;object-fit:cover}
.image-panel-hero{min-height:420px}
.image-panel-portrait{min-height:560px}
.hero-info-grid{display:grid;gap:16px}
.hero-info-grid.below-image{grid-template-columns:repeat(3,minmax(0,1fr))}
.info-card,.feature-card,.mini-card,.service-nav-card,.stack-card,.timeline-card,.stat-card,.service-detail-card,.process-card,.cta-card,.proof-item,.proof-item-wide,.route-card,.service-feature-card{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow-sm)}
.info-card{display:grid;grid-template-columns:46px 1fr;gap:14px;align-items:start;padding:18px}
.icon-badge{width:46px;height:46px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#f4f9ff,#e9f3ff);border:1px solid rgba(10,62,140,.10);box-shadow:0 10px 22px rgba(10,62,140,.06);color:var(--blue);flex:0 0 auto}
.icon-badge svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.info-card h3,.service-nav-card strong,.feature-card h3,.stack-card h3,.mini-card h3,.timeline-card h3,.stat-card strong,.service-detail-card h3,.process-card h3,.cta-card h3,.proof-item strong,.footer-grid h3{margin:0;letter-spacing:-.03em}
.info-card h3{font-size:18px;color:var(--navy)}
.info-card p,.feature-card p,.mini-card p,.stack-card p,.timeline-card p,.service-detail-card p,.process-card p,.cta-card p,.proof-item span,.footer-brand p,.footer-grid li,.footer-grid a,.footer-bottom,.form-head p,.success-card p,.section-head p{margin:0;color:var(--muted)}
.info-card p{margin-top:6px;font-size:14px;line-height:1.6}

.section-head{display:grid;gap:18px;margin-bottom:48px}
.section-head.centered{justify-items:center;text-align:center}
.section-head.left{max-width:640px}
.section-head h2{font-size:clamp(34px,4.7vw,58px);max-width:12ch;color:var(--navy)}
.section-head.centered h2{max-width:14ch}
.section-head p{font-size:17px;line-height:1.75;max-width:64ch}
.section-dark{position:relative;overflow:hidden;background:linear-gradient(135deg,#08265B 0%,#061F4A 56%,#0A3270 100%);color:#fff}
.section-head-light h2{color:#fff}
.section-head-light p{color:rgba(255,255,255,.78)}

.service-nav-section{padding-top:24px}
.service-nav-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}
.service-nav-card{display:grid;gap:14px;justify-items:start;align-content:start;padding:24px;min-height:164px;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}
.service-nav-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--line-strong)}
.service-nav-card strong{font-size:18px;color:var(--navy)}
.service-nav-card span{font-size:14px;color:var(--muted);line-height:1.55}

.feature-grid,.mini-grid,.timeline-grid,.process-grid,.service-detail-grid,.service-nav-grid,.cta-card-grid,.proof-summary,.stat-grid{display:grid;gap:22px}
.four-up{grid-template-columns:repeat(4,minmax(0,1fr))}
.three-up{grid-template-columns:repeat(3,minmax(0,1fr))}
.two-up{grid-template-columns:repeat(2,minmax(0,1fr))}
.feature-card,.mini-card,.stack-card,.timeline-card,.stat-card,.process-card,.cta-card{padding:24px}
.feature-card,.mini-card,.stack-card,.service-feature-card{display:grid;gap:14px;align-content:start}
.feature-card p,.mini-card p,.stack-card p,.service-feature-card p{font-size:15px;line-height:1.65}
.feature-card h3,.mini-card h3,.stack-card h3,.service-feature-card h3{font-size:22px;color:var(--navy)}
.year-pill{display:inline-flex;align-items:center;justify-content:center;width:64px;min-height:32px;border-radius:999px;background:var(--ice);border:1px solid rgba(10,62,140,.08);color:var(--blue);font-size:13px;font-weight:800;letter-spacing:.05em}

.process-card{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);box-shadow:none;color:#fff;padding:26px}
.process-card .icon-badge{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.12);box-shadow:none;color:#fff}
.process-card h3{font-size:24px;color:#fff}
.process-card p{color:rgba(255,255,255,.80);font-size:15px;line-height:1.65}
.light-process-grid .process-card{background:rgba(255,255,255,.96);border:1px solid var(--line);box-shadow:var(--shadow-sm)}
.light-process-grid .process-card .icon-badge{background:linear-gradient(180deg,#f4f9ff,#e9f3ff);border-color:rgba(10,62,140,.10);color:var(--blue)}
.light-process-grid .process-card h3{color:var(--navy)}
.light-process-grid .process-card p{color:var(--muted)}

.split-showcase{display:grid;grid-template-columns:minmax(0,.95fr) minmax(360px,1.05fr);gap:28px;align-items:stretch}
.split-showcase.reverse{grid-template-columns:minmax(360px,1.05fr) minmax(0,.95fr)}
.section-copy-column{display:grid;gap:24px}
.stacked-cards{display:grid;gap:18px}
.stack-card{display:grid;grid-template-columns:46px 1fr;gap:14px;align-items:start}
.showcase-image-card{position:relative;overflow:hidden;border-radius:28px;border:1px solid var(--line);box-shadow:var(--shadow-md);background:#fff;min-height:100%}
.showcase-image-card img{width:100%;height:100%;min-height:520px;object-fit:cover}
.showcase-image-card.dark-overlay::before,.showcase-image-card.orbit-accent::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,31,74,.08),rgba(6,31,74,.56));z-index:1}
.image-overlay-copy{position:absolute;left:32px;right:32px;bottom:32px;z-index:2;color:#fff;display:grid;gap:12px}
.image-overlay-copy h3{margin:0;font-size:clamp(28px,3vw,42px);letter-spacing:-.04em;line-height:1.05}
.image-overlay-copy p{margin:0;color:rgba(255,255,255,.84);font-size:17px}
.overlay-kicker{display:inline-flex;width:fit-content;min-height:32px;align-items:center;padding:0 14px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.16);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}

.proof-summary-section{padding-top:18px}
.proof-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
.proof-item{display:grid;grid-template-columns:46px 1fr;gap:14px;align-items:start;padding:22px}
.proof-item strong{display:block;font-size:19px;color:var(--navy)}
.proof-item span{display:block;margin-top:6px;font-size:14px;line-height:1.6}

.service-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.service-detail-card{display:grid;gap:16px;align-content:start;padding:28px;min-height:340px}
.service-detail-card h3{font-size:28px;color:var(--navy)}
.service-detail-card p{font-size:16px;line-height:1.7}
.service-detail-card ul{margin:0;padding-left:18px;color:var(--muted);display:grid;gap:8px;line-height:1.6}
.service-detail-card ul li::marker{color:var(--blue)}

.cta-section-home{padding-top:34px}
.cta-grid{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(0,1.1fr);gap:24px;align-items:start}
.dark-panel{position:relative;overflow:hidden;background:linear-gradient(135deg,#08265B 0%,#061F4A 56%,#0A3473 100%);color:#fff;border-radius:30px;box-shadow:var(--shadow-dark);padding:34px}
.dark-panel h2{margin:18px 0 0;font-size:clamp(32px,4vw,48px);line-height:1.02;letter-spacing:-.04em}
.dark-panel p{margin:18px 0 0;color:rgba(255,255,255,.82);font-size:17px;line-height:1.75}
.cta-contact-list,.contact-list{display:grid;gap:12px;margin-top:26px}
.cta-contact-list a,.contact-list a{display:flex;align-items:center;gap:12px;min-height:54px;padding:0 16px;border-radius:18px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);color:#fff;font-weight:700}
.cta-contact-list .icon-badge,.contact-list .icon-badge{width:38px;height:38px;border-radius:12px;background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.12);box-shadow:none;color:#fff}
.cta-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.cta-card{display:grid;gap:14px;padding:26px;min-height:200px;align-content:start}
.cta-card h3{font-size:24px;color:var(--navy)}
.cta-card p{font-size:15px;line-height:1.65}

.form-layout-grid{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(0,1.1fr);gap:24px;align-items:start}
.form-panel{background:rgba(255,255,255,.98);border:1px solid var(--line);border-radius:30px;padding:34px;box-shadow:var(--shadow-lg)}
.form-head h2{font-size:clamp(30px,4vw,44px);color:var(--navy)}
.form-head p{margin-top:12px;font-size:16px}
.quote-form{display:grid;gap:20px;margin-top:28px}
.form-row{display:grid;gap:18px}
label{display:grid;gap:10px}
label span{font-size:13px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--navy)}
input,select,textarea{width:100%;padding:16px 18px;border-radius:14px;border:1px solid rgba(6,31,74,.12);background:#fbfdff;color:var(--text)}
textarea{resize:vertical;min-height:150px}
.form-submit{width:100%}
.hidden-field{display:none}

.callout-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:30px;box-shadow:var(--shadow-md);padding:30px}
.callout-strip h3{margin:18px 0 0;font-size:28px;line-height:1.15;letter-spacing:-.04em;color:var(--navy)}
.centered-cta-card{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:30px;box-shadow:var(--shadow-md);padding:34px;display:grid;gap:20px;justify-items:center;text-align:center}
.centered-cta-card h2{margin:18px 0 0;font-size:clamp(32px,4vw,48px);line-height:1.05;letter-spacing:-.04em;color:var(--navy)}
.centered-cta-card p{margin:12px auto 0;max-width:54ch;color:var(--muted);font-size:17px}
.center-actions{justify-content:center}

.value-visual-note{font-size:14px;color:var(--muted)}
.footer-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr 1fr;gap:28px}
.site-footer{margin-top:12px;padding:42px 0 24px;border-top:1px solid rgba(6,31,74,.08);background:#fbfcfe}
.footer-brand img{width:120px}
.footer-brand p{margin-top:18px;max-width:30ch;font-size:15px;line-height:1.7}
.footer-grid h3{font-size:16px;color:var(--navy)}
.footer-grid ul{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:10px}
.footer-grid li,.footer-grid a{font-size:15px;color:var(--muted)}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;padding-top:22px;margin-top:24px;border-top:1px solid rgba(6,31,74,.08);font-size:14px}

.success-main{min-height:70vh;display:grid;align-items:center}
.success-card{background:rgba(255,255,255,.98);border:1px solid var(--line);border-radius:30px;padding:44px;box-shadow:var(--shadow-lg);text-align:center}
.success-card img{width:140px;margin:0 auto 24px}
.success-card h1{font-size:clamp(38px,5vw,60px);color:var(--navy);margin-top:16px}
.success-card p{margin:16px auto 0;max-width:34ch;font-size:18px}

@media (max-width: 1180px){
  .service-nav-grid,.proof-summary,.four-up{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero-grid,.split-showcase,.split-showcase.reverse,.cta-grid,.form-layout-grid,.service-hero-grid{grid-template-columns:1fr}
}
@media (max-width: 900px){
  .nav-toggle{display:block}
  .nav-cta{display:none}
  .site-nav{position:absolute;top:100%;left:0;right:0;background:rgba(251,253,255,.98);backdrop-filter:blur(16px);border-bottom:1px solid rgba(6,31,74,.08);padding:18px 20px 22px;display:none;flex-direction:column;align-items:flex-start;gap:16px;box-shadow:var(--shadow-sm)}
  .site-nav.open{display:flex}
  .mobile-nav-cta{display:inline-flex;width:100%;margin-top:8px}
  .hero-info-grid.below-image,.three-up,.two-up,.service-detail-grid,.cta-card-grid,.callout-strip,.footer-grid{grid-template-columns:1fr}
  .image-panel-hero{min-height:340px}
  .image-panel-portrait{min-height:380px}
}
@media (max-width: 640px){
  :root{--container:min(100vw - 24px,1240px)}
  .section{padding:46px 0}
  .nav-wrap{min-height:82px}
  .brand img{width:108px}
  .hero-shell,.dark-panel,.form-panel,.centered-cta-card,.callout-strip,.success-card{padding:24px}
  .hero-copy h1{font-size:42px}
  .hero-text{font-size:17px}
  .button{width:100%}
  .hero-actions{display:grid}
  .site-nav a{font-size:16px}
  .service-nav-card,.feature-card,.mini-card,.process-card,.service-detail-card,.cta-card,.stack-card,.timeline-card,.stat-card{padding:20px}
  .section-head{margin-bottom:34px}
  .section-head h2{font-size:34px;max-width:100%}
  .hero-info-grid.below-image,.service-nav-grid,.proof-summary{grid-template-columns:1fr}
  .info-card{grid-template-columns:42px 1fr;padding:16px}
  .icon-badge{width:42px;height:42px;border-radius:14px}
  .footer-bottom{flex-direction:column}
}

/* Mobile optimization pass */
body{overflow-x:hidden}
.nav-wrap{position:relative}
img{max-width:100%;height:auto}
.button,input,select,textarea{touch-action:manipulation}

@media (max-width: 900px){
  .site-header{background:rgba(251,253,255,.96)}
  .nav-wrap{min-height:78px;gap:16px}
  .nav-toggle{
    display:inline-grid;
    width:48px;
    height:48px;
    place-items:center;
    border-radius:16px;
    background:var(--ice);
    border:1px solid rgba(10,62,140,.10);
    box-shadow:var(--shadow-sm);
  }
  .nav-toggle span{margin:0;transition:transform .18s ease,opacity .18s ease}
  .nav-toggle span + span{margin-top:5px}
  .nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .site-nav{
    position:absolute;
    top:calc(100% + 10px);
    left:0;
    right:0;
    z-index:50;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:4px;
    padding:16px;
    border:1px solid rgba(6,31,74,.08);
    border-radius:24px;
    background:rgba(255,255,255,.98);
    backdrop-filter:blur(18px);
    box-shadow:0 24px 70px rgba(6,31,74,.16);
  }
  .site-nav.open{display:flex}
  .site-nav a:not(.button){
    width:100%;
    padding:14px 16px;
    border-radius:16px;
    font-size:16px;
  }
  .site-nav a:not(.button):hover,
  .site-nav a.active:not(.button){background:var(--ice)}
  .site-nav a::after{display:none}
  .mobile-nav-cta{display:inline-flex !important;width:100%;margin-top:10px}
  .nav-cta{display:none !important}
  body.nav-open{overflow:hidden}

  .hero{padding-top:18px;padding-bottom:16px}
  .hero-grid{gap:36px}
  .hero-shell{border-radius:30px}
  .hero-info-grid.below-image{grid-template-columns:1fr;gap:14px}
  .info-card{grid-template-columns:44px 1fr}
  .split-showcase,.split-showcase.reverse,.cta-grid,.form-layout-grid,.service-hero-grid{gap:28px}
  .image-panel-portrait,.showcase-image-card img{min-height:380px}
  .footer-grid{gap:24px}
}

@media (max-width: 720px){
  :root{--container:min(100vw - 28px,1240px)}
  .section{padding:50px 0}
  .hero-shell,.dark-panel,.form-panel,.centered-cta-card,.callout-strip,.success-card{padding:28px}
  .hero-copy h1{font-size:clamp(40px,11vw,54px);max-width:100%}
  .hero-text{font-size:17px;line-height:1.68;margin-top:20px}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:12px;margin-top:26px}
  .button{width:100%;min-height:52px;padding:0 18px}
  .image-panel-hero{min-height:300px;border-radius:24px}
  .image-panel,.showcase-image-card{border-radius:24px}
  .section-head{gap:14px;margin-bottom:34px}
  .section-head h2{font-size:clamp(32px,8vw,42px);max-width:100%}
  .section-head p{font-size:16px;line-height:1.68}
  .service-nav-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .service-nav-card{min-height:auto;padding:18px;gap:10px;border-radius:22px}
  .service-nav-card strong{font-size:16px}
  .service-nav-card span{font-size:13px;line-height:1.45}
  .icon-badge{width:42px;height:42px;border-radius:14px}
  .icon-badge svg{width:21px;height:21px}
  .feature-grid,.mini-grid,.timeline-grid,.process-grid,.cta-card-grid,.proof-summary,.stat-grid{gap:16px}
  .feature-card,.mini-card,.process-card,.service-detail-card,.cta-card,.stack-card,.timeline-card,.stat-card,.proof-item,.service-feature-card{padding:20px;border-radius:22px}
  .four-up,.three-up,.two-up,.service-detail-grid,.cta-card-grid,.callout-strip,.footer-grid,.proof-summary{grid-template-columns:1fr}
  .service-detail-card{min-height:0}
  .showcase-image-card img{min-height:320px}
  .image-overlay-copy{left:22px;right:22px;bottom:22px}
  .image-overlay-copy h3{font-size:30px}
  .form-panel{border-radius:26px}
  .quote-form{gap:18px;margin-top:24px}
  .form-row{gap:16px}
  input,select,textarea{font-size:16px;min-height:52px;padding:15px 16px}
  textarea{min-height:132px}
  .footer-brand img{width:112px}
  .footer-bottom{font-size:13px}
}

@media (max-width: 480px){
  :root{--container:min(100vw - 22px,1240px)}
  .section{padding:42px 0}
  .nav-wrap{min-height:74px}
  .brand img{width:102px}
  .nav-toggle{width:44px;height:44px;border-radius:14px}
  .hero-shell,.dark-panel,.form-panel,.centered-cta-card,.callout-strip,.success-card{padding:22px;border-radius:24px}
  .hero-copy h1{font-size:38px;line-height:1.02;letter-spacing:-.045em}
  .hero-text{font-size:16px}
  .eyebrow,.section-tag{min-height:30px;padding:0 11px;font-size:10.5px;letter-spacing:.06em}
  .image-panel-hero{min-height:250px}
  .info-card{grid-template-columns:40px 1fr;padding:16px;border-radius:20px}
  .info-card h3{font-size:17px}
  .info-card p{font-size:13.5px}
  .service-nav-grid{grid-template-columns:1fr}
  .service-nav-card{grid-template-columns:42px 1fr;align-items:center;column-gap:14px}
  .service-nav-card .icon-badge{grid-row:1 / span 2}
  .service-nav-card strong,.service-nav-card span{grid-column:2}
  .feature-card h3,.mini-card h3,.stack-card h3,.service-feature-card h3,.cta-card h3{font-size:20px}
  .process-card h3{font-size:21px}
  .service-detail-card h3{font-size:24px}
  .dark-panel h2,.centered-cta-card h2{font-size:32px}
  .showcase-image-card img{min-height:260px}
  .image-overlay-copy{left:18px;right:18px;bottom:18px;gap:8px}
  .image-overlay-copy h3{font-size:25px}
  .image-overlay-copy p{font-size:14.5px;line-height:1.55}
  .cta-contact-list a,.contact-list a{min-height:50px;padding:0 14px}
  .footer-grid ul{gap:8px}
}

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


/* Final alignment and premium spacing pass */
:root {
  --card-pad: 26px;
  --grid-gap: 26px;
}
.brand img { height: auto; object-fit: contain; }
.site-header .container { max-width: 1240px; }
.site-nav { white-space: nowrap; }
.hero-shell { padding: clamp(42px, 5vw, 62px); }
.hero-grid { gap: clamp(42px, 5vw, 66px); align-items: center; }
.image-panel-hero { min-height: 430px; }
.hero-info-grid.below-image {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.info-card {
  min-height: 146px;
  height: 100%;
  align-items: start;
  overflow: hidden;
}
.info-card h3 { line-height: 1.18; }
.info-card p { line-height: 1.55; }
.service-nav-grid,
.feature-grid,
.mini-grid,
.timeline-grid,
.process-grid,
.service-detail-grid,
.cta-card-grid,
.proof-summary,
.stat-grid {
  gap: var(--grid-gap);
  align-items: stretch;
}
.service-nav-card,
.feature-card,
.mini-card,
.stack-card,
.timeline-card,
.stat-card,
.service-detail-card,
.process-card,
.cta-card,
.proof-item,
.proof-item-wide,
.route-card,
.service-feature-card,
.value-card {
  height: 100%;
  display: grid;
  align-content: start;
}
.service-nav-card { min-height: 170px; grid-template-rows: auto auto 1fr; }
.feature-card { min-height: 230px; grid-template-rows: auto auto 1fr; }
.mini-card { min-height: 210px; grid-template-rows: auto auto 1fr; }
.process-card { min-height: 230px; grid-template-rows: auto auto 1fr; }
.service-detail-card { min-height: 390px; grid-template-rows: auto auto auto 1fr; }
.cta-card { min-height: 210px; grid-template-rows: auto auto 1fr; }
.stack-card { grid-template-columns: 46px 1fr; align-items: start; }
.stack-card .icon-badge { grid-column: 1; }
.stack-card > div { min-width: 0; }
.feature-card h3,
.mini-card h3,
.stack-card h3,
.service-feature-card h3,
.service-detail-card h3,
.process-card h3,
.cta-card h3 { line-height: 1.18; }
.feature-card p,
.mini-card p,
.stack-card p,
.service-feature-card p,
.service-detail-card p,
.process-card p,
.cta-card p { line-height: 1.65; }
.service-detail-card ul { margin-top: 2px; }
.split-showcase,
.split-showcase.reverse,
.cta-grid,
.form-layout-grid,
.service-hero-grid,
.value-section-grid { align-items: stretch; }
.showcase-image-card,
.value-visual-card,
.image-panel { height: 100%; }
.showcase-image-card img,
.value-visual-card img { height: 100%; object-fit: cover; }
.proof-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof-item { grid-template-columns: 46px 1fr; align-items: start; min-height: 124px; padding: 22px; }
.form-layout-grid { gap: 30px; }
.form-panel { height: 100%; }
.quote-form { gap: 22px; }
.form-row.two-col,
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
input, select, textarea { min-height: 54px; }
.footer-grid { align-items: start; }
.footer-brand p, .footer-grid li, .footer-grid a { line-height: 1.55; }

@media (min-width: 1181px) {
  .service-nav-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .four-up { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
  .hero-info-grid.below-image { grid-template-columns: 1fr; }
  .info-card { min-height: 0; }
  .service-nav-card,
  .feature-card,
  .mini-card,
  .process-card,
  .service-detail-card,
  .cta-card { min-height: 0; }
  .proof-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav-wrap { min-height: 78px; }
  .site-nav { align-items: stretch; }
  .site-nav a:not(.button) { width: 100%; }
  .hero-grid { gap: 34px; }
  .hero-shell { padding: 32px; }
  .image-panel-hero { min-height: 340px; }
  .service-nav-grid,
  .feature-grid,
  .mini-grid,
  .timeline-grid,
  .process-grid,
  .service-detail-grid,
  .cta-card-grid,
  .proof-summary,
  .stat-grid { gap: 18px; }
  .form-row.two-col,
  .two-col { grid-template-columns: 1fr; }
  .proof-summary { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --container: min(100vw - 24px, 1240px); }
  .section { padding: 48px 0; }
  .hero { padding-top: 16px; }
  .hero-shell,
  .dark-panel,
  .form-panel,
  .centered-cta-card,
  .callout-strip,
  .success-card { padding: 24px; border-radius: 26px; }
  .hero-copy h1 { font-size: clamp(38px, 11vw, 48px); line-height: 1.02; max-width: 100%; }
  .hero-text { max-width: 100%; }
.image-panel-hero { min-height: 270px; }
  .info-card,
  .proof-item { grid-template-columns: 42px 1fr; }
  .service-nav-grid { grid-template-columns: 1fr; }
  .service-nav-card { grid-template-columns: 42px 1fr; align-items: center; column-gap: 14px; }
  .service-nav-card .icon-badge { grid-row: 1 / span 2; }
  .service-nav-card strong,
  .service-nav-card span { grid-column: 2; }
  .feature-card,
  .mini-card,
  .process-card,
  .service-detail-card,
  .cta-card,
  .stack-card,
  .timeline-card,
  .stat-card,
  .proof-item,
  .service-feature-card { padding: 20px; border-radius: 22px; }
  .stack-card { grid-template-columns: 42px 1fr; }
  .section-head.centered { text-align: left; justify-items: start; }
  .section-head.centered .section-tag { justify-self: start; }
  .section-head h2 { line-height: 1.04; }
  .form-layout-grid { gap: 22px; }
  .footer-grid { gap: 26px; }
}

@media (max-width: 420px) {
  :root { --container: min(100vw - 20px, 1240px); }
  .hero-shell,
  .dark-panel,
  .form-panel,
  .centered-cta-card,
  .callout-strip,
  .success-card { padding: 20px; }
  .image-panel-hero { min-height: 230px; }
  .info-card p,
  .feature-card p,
  .mini-card p,
  .stack-card p,
  .service-feature-card p,
  .service-detail-card p,
  .process-card p,
  .cta-card p { font-size: 14.5px; }
}

/* Desktop hero-card alignment refinement */
@media (min-width: 901px) {
  .hero-info-grid.below-image { grid-template-columns: 1fr; gap: 16px; }
  .hero-info-grid.below-image .info-card { min-height: 104px; }
}

/* About hero stat-card alignment */
@media (min-width: 901px) {
  .hero-visual > .stat-grid.three-up {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-visual > .stat-grid.three-up .stat-card {
    min-height: 92px;
    grid-template-columns: 46px auto 1fr;
    align-items: center;
    gap: 14px;
    padding: 18px;
  }
  .hero-visual > .stat-grid.three-up .stat-card .icon-badge { grid-column: 1; }
  .hero-visual > .stat-grid.three-up .stat-card strong { grid-column: 2; font-size: 20px; color: var(--midnight); }
  .hero-visual > .stat-grid.three-up .stat-card span:last-child { grid-column: 3; color: var(--muted); line-height: 1.5; }
}

/* Final alignment pass: proof-card icons and process-card icon spacing */
.proof-item {
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  min-height: 136px;
}

.proof-item .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0;
  border-radius: 17px;
  color: var(--core);
  line-height: 1;
  align-self: center;
  justify-self: start;
}

.proof-item .icon-badge svg {
  display: block;
  width: 23px;
  height: 23px;
}

.proof-item > div {
  display: grid;
  gap: 8px;
  align-content: center;
  min-width: 0;
}

.proof-item strong {
  line-height: 1.18;
}

.proof-item > div > span {
  display: block;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.process-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.process-card .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px 0;
}

.light-process-grid .process-card {
  padding: 34px 30px;
  min-height: 280px;
}

.light-process-grid .process-card h3 {
  line-height: 1.12;
}

.light-process-grid .process-card p {
  max-width: 33ch;
}

@media (max-width: 900px) {
  .proof-item {
    min-height: 120px;
    padding: 22px 24px;
  }

  .light-process-grid .process-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .proof-item {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 22px;
    min-height: auto;
  }

  .proof-item .icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .process-card .icon-badge {
    margin-bottom: 10px;
  }

  .light-process-grid .process-card {
    padding: 28px 24px;
  }
}

/* Final about-page spacing and governance visual correction */
.timeline-grid.three-up {
  gap: 28px;
}

.timeline-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 30px 28px;
  min-height: 176px;
}

.timeline-card .year-pill {
  margin-bottom: 4px;
}

.timeline-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.timeline-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
  max-width: 34ch;
}

.governance-image img {
  object-position: center;
}

@media (max-width: 900px) {
  .timeline-grid.three-up {
    gap: 20px;
  }

  .timeline-card {
    min-height: auto;
    padding: 26px 24px;
  }
}

/* Updated deck pass: clean content flow, unique visuals, and spacing refinements */
.dual-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.dual-image-grid .image-panel {
  min-height: 360px;
}
.service-nav-grid {
  align-items: stretch;
}
.feature-card,
.mini-card,
.service-nav-card,
.stack-card,
.service-detail-card,
.process-card,
.cta-card {
  min-width: 0;
}
.feature-card .icon-badge,
.mini-card .icon-badge,
.service-nav-card .icon-badge,
.stack-card .icon-badge,
.service-detail-card .icon-badge,
.process-card .icon-badge,
.info-card .icon-badge,
.cta-card .icon-badge {
  margin-bottom: 4px;
}
.info-card {
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
}
.info-card .icon-badge {
  align-self: center;
  justify-self: start;
}
.info-card > div {
  min-width: 0;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.client-card {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  padding: 22px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.client-card strong {
  color: var(--navy);
  font-size: 18px;
  letter-spacing: -.03em;
}
.client-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.five-up {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.span-two {
  grid-column: span 2;
}
.compact-grid {
  gap: 20px;
}
.light-process-grid .process-card {
  padding: 34px 30px;
  min-height: 280px;
}
.process-card {
  display: grid;
  align-content: start;
  gap: 14px;
}
.process-card .icon-badge {
  margin-bottom: 10px;
}
.service-detail-card a,
.service-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 800;
}
.service-nav-section {
  padding-top: 28px;
}
.showcase-image-card img {
  filter: saturate(1.02) contrast(1.02);
}
.governance-image img {
  object-position: center;
}
@media (min-width: 1181px) {
  .five-up { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .five-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dual-image-grid { grid-template-columns: 1fr 1fr; }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .dual-image-grid,
  .client-grid,
  .five-up {
    grid-template-columns: 1fr;
  }
  .span-two {
    grid-column: auto;
  }
  .info-card {
    grid-template-columns: 46px 1fr;
    gap: 14px;
    align-items: center;
  }
  .hero-info-grid.below-image {
    grid-template-columns: 1fr;
  }
  .light-process-grid .process-card {
    min-height: auto;
    padding: 28px 24px;
  }
}

/* Footer alignment correction after content refresh */
.container.footer-bottom {
  margin-left: auto;
  margin-right: auto;
}
.footer-bottom {
  margin: 24px auto 0;
}


/* Premium image refresh */
.image-panel img,
.showcase-image-card img {
  filter: saturate(.96) contrast(1.04);
}

.image-panel,
.showcase-image-card {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.dual-image-grid .image-panel {
  min-height: 360px;
}

@media (max-width: 720px) {
  .dual-image-grid .image-panel {
    min-height: 250px;
  }
}

/* Final homepage/service linking/Tabby update */
.page-home .hero-copy h1 {
  margin-top: 0;
}

.page-home .hero-text {
  margin-top: 24px;
  max-width: 620px;
}

#medical,
#motor,
#workmen,
#public-liability,
#specialty,
#travel {
  scroll-margin-top: 120px;
}

.client-experience-grid .mini-card {
  min-height: 190px;
  align-content: start;
}

.client-experience-grid .mini-card h3 {
  max-width: 18ch;
}

.client-experience-grid .mini-card p {
  max-width: 34ch;
}

.tabby-strip {
  padding: 8px 0 42px;
}

.tabby-card {
  width: fit-content;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(10, 62, 140, 0.12);
  box-shadow: 0 18px 44px rgba(6, 31, 74, 0.08);
}

.tabby-card span {
  color: #061F4A;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tabby-card img {
  height: 30px;
  width: auto;
  display: block;
}

@media (max-width: 560px) {
  .tabby-strip {
    padding-bottom: 32px;
  }

  .tabby-card {
    padding: 10px 14px;
    border-radius: 20px;
  }

  .tabby-card img {
    height: 26px;
  }
}

/* Service direct-link targets */
#medical,
#motor,
#workmen,
#public-liability,
#specialty,
#cyber,
#marine,
#construction-engineering,
#aviation,
#travel,
#claims,
#specialty-flow {
  scroll-margin-top: 120px;
}

a.mini-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

a.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}


/* Detailed service content: compact, readable groups */
.detail-groups {
  display: grid;
  gap: 18px;
  margin-top: 2px;
}
.detail-groups h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 15px;
  letter-spacing: -.01em;
}
.service-line-card ul,
.service-detail-card .detail-groups ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}
.service-line-card ul li::marker,
.service-detail-card .detail-groups ul li::marker {
  color: var(--blue);
}
.service-detail-card-wide {
  grid-column: span 2;
}
.service-line-card {
  grid-template-rows: auto auto auto;
  gap: 13px;
}
.service-line-card p {
  margin: 0;
}
.service-line-card.span-two {
  min-height: 260px;
}
@media (max-width: 900px) {
  .service-detail-card-wide {
    grid-column: span 1;
  }
}

/* Motor card should preserve the two-column rhythm */
.service-detail-card-wide { grid-column: auto; }


/* Service anchor landing offsets */
#medical,
#motor,
#workmen,
#public-liability,
#specialty,
#cyber,
#marine,
#construction-engineering,
#aviation,
#travel,
#claims {
  scroll-margin-top: 120px;
}

/* Keep homepage overview cards intentionally concise; service details live on Services page. */
.page-home .service-nav-card span,
.page-home .mini-card p {
  line-height: 1.58;
}


/* Services refinement: cleaner alignment, bigger icon rhythm, and event insurance */
.service-nav-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.service-nav-card {
  min-height: 172px;
}
.service-nav-card .icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 18px;
}
.service-nav-card strong {
  line-height: 1.15;
}
.service-detail-card {
  gap: 18px;
  min-height: 0;
  padding: 30px;
}
.service-detail-card > .icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 18px;
}
.service-detail-card > .icon-badge svg {
  width: 24px;
  height: 24px;
}
.service-detail-card h3 {
  font-size: 27px;
  line-height: 1.08;
}
.service-detail-card p {
  line-height: 1.72;
}
.detail-groups {
  display: grid;
  gap: 16px;
  margin-top: 2px;
}
.detail-groups-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.detail-groups > div {
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8fd 100%);
  border: 1px solid rgba(10, 62, 140, 0.08);
}
.detail-groups h4 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 15px;
  letter-spacing: -.01em;
}
.service-detail-card ul,
.service-line-card ul,
.service-detail-card .detail-groups ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}
.service-detail-card-wide {
  grid-column: span 2;
}
#event-insurance {
  scroll-margin-top: 120px;
}
@media (max-width: 1180px) {
  .service-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .detail-groups-split,
  .service-detail-card-wide {
    grid-template-columns: 1fr;
    grid-column: span 1;
  }
}
@media (max-width: 640px) {
  .service-nav-grid {
    grid-template-columns: 1fr;
  }
  .service-detail-card {
    padding: 24px;
  }
  .service-detail-card > .icon-badge,
  .service-nav-card .icon-badge {
    width: 48px;
    height: 48px;
  }
  .service-detail-card h3 {
    font-size: 24px;
  }
  .detail-groups > div {
    padding: 15px 16px;
  }
}
