/* ---------- Design tokens and global reset ---------- */
:root {
  --navy: #071b35;
  --navy-soft: #0d294c;
  --blue: #1468e5;
  --blue-bright: #2b7ff0;
  --sky: #eaf4ff;
  --mist: #f5f8fc;
  --white: #ffffff;
  --ink: #10233d;
  --text: #52657b;
  --line: #dce6f0;
  --shadow: 0 18px 50px rgba(17, 52, 90, 0.11);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 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: 10px; left: 10px; z-index: 1000; transform: translateY(-150%); padding: 10px 16px; color: white; background: var(--navy); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

/* ---------- Header and navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9); border-bottom: 1px solid rgba(220,230,240,.85); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); text-decoration: none; font-size: .97rem; letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: linear-gradient(145deg, var(--blue-bright), var(--navy)); border-radius: 11px 11px 17px 11px; font-weight: 800; box-shadow: 0 8px 18px rgba(20,104,229,.24); }
.brand strong { font-weight: 800; }
.site-header .brand { gap: 12px; font-size: 1.18rem; font-weight: 650; letter-spacing: -.03em; }
.site-header .brand-mark { width: 42px; height: 42px; font-size: 1.08rem; }
.site-header .brand strong { color: var(--blue); font-weight: 850; letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.mobile-nav-label { display: none; }
.site-nav a { color: #31445b; text-decoration: none; font-size: .91rem; font-weight: 650; transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--blue); }
.site-nav .nav-cta { padding: 10px 18px; color: white; background: var(--navy); border-radius: 10px; }
.site-nav .nav-cta:hover { color: white; background: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 98px 0 88px; background: linear-gradient(115deg, #f7fbff 0%, #edf6ff 50%, #f9fcff 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .3; background-image: radial-gradient(#83b5ed 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to right, black, transparent 48%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 74px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 16px; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.hero .eyebrow span { width: 26px; height: 2px; background: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 15px; color: var(--navy); font-size: clamp(2.8rem, 4.7vw, 4.75rem); line-height: .98; letter-spacing: -.065em; }
.hero-subtitle { margin-bottom: 18px; color: var(--blue); font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 750; letter-spacing: -.02em; }
.hero-text { max-width: 570px; margin-bottom: 30px; color: var(--text); font-size: 1.05rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 23px; border: 1px solid transparent; border-radius: 12px; text-decoration: none; font-size: .94rem; font-weight: 750; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 12px 26px rgba(20,104,229,.25); }
.button-primary:hover { background: #095bc9; box-shadow: 0 15px 32px rgba(20,104,229,.32); }
.button-secondary { color: var(--navy); background: white; border-color: #c8d7e7; }
.hero-note { margin-top: 20px; color: #6d7f92; font-size: .82rem; }
.hero-note span { color: var(--blue); font-weight: bold; }
.hero-visual { position: relative; min-width: 0; }
.hero-photo { width: 100%; height: 480px; object-fit: cover; object-position: center; border: 10px solid white; border-radius: 30px 30px 80px 30px; box-shadow: var(--shadow); }
.photo-placeholder::before { content: ""; position: absolute; inset: 20px 20px auto auto; width: 80px; height: 80px; border-top: 1px solid rgba(255,255,255,.75); border-right: 1px solid rgba(255,255,255,.75); border-radius: 0 20px 0 0; }
.placeholder-icon { width: 80px; height: 80px; display: grid; place-items: center; margin-bottom: 18px; color: white; background: rgba(15,68,120,.18); border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-size: 3rem; }
.photo-placeholder span { font-weight: 750; }
.photo-placeholder small { margin-top: 3px; opacity: .8; }
.hero-pride { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 14px 10px 0; color: var(--navy); font-size: .83rem; font-weight: 750; }
.hero-pride span { color: #d62828; font-size: 1.1rem; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero-glow-one { width: 330px; height: 330px; right: -140px; top: -100px; background: rgba(63,148,244,.12); }
.hero-glow-two { width: 120px; height: 120px; left: 42%; bottom: -70px; background: rgba(63,148,244,.13); }

/* ---------- Trust strip ---------- */
.trust-strip { position: relative; z-index: 3; background: var(--navy); }
.trust-grid { min-height: 116px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; }
.trust-grid > div { display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 55px; padding: 0 22px; border-right: 1px solid rgba(255,255,255,.12); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid span { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; color: #7ec0ff; background: rgba(72,154,241,.12); border-radius: 50%; }
.trust-grid p, .trust-grid strong, .trust-grid small { display: block; margin: 0; }
.trust-grid strong { color: white; font-size: .86rem; }
.trust-grid small { margin-top: 1px; color: #91a5ba; font-size: .73rem; }

/* ---------- Shared section heading ---------- */
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 46px; }
.section-heading > p { max-width: 430px; margin-bottom: 4px; color: var(--text); }
h2 { margin-bottom: 0; color: var(--navy); font-size: clamp(2.25rem, 4vw, 3.55rem); line-height: 1.08; letter-spacing: -.05em; }
h3 { color: var(--navy); line-height: 1.25; letter-spacing: -.025em; }

/* ---------- Services ---------- */
.services { background: white; }
.service-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 20px; }
.service-card { position: relative; grid-column: span 2; min-height: 310px; padding: 30px; overflow: hidden; background: var(--mist); border: 1px solid #e4ebf2; border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease; }
.service-card:nth-child(7) { grid-column: 2 / span 2; }
.service-card:hover, .service-card:focus-within { transform: translateY(-5px); color: white; background: linear-gradient(145deg, var(--blue), #0758c4); border-color: transparent; box-shadow: var(--shadow); }
.card-number { position: absolute; top: 24px; right: 25px; color: #a7b7c8; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.service-card:hover .card-number, .service-card:focus-within .card-number { color: rgba(255,255,255,.6); }
.service-icon { width: 49px; height: 49px; display: grid; place-items: center; margin-bottom: 32px; color: var(--blue); background: var(--sky); border-radius: 13px; font-size: 1.25rem; }
.service-card:hover .service-icon, .service-card:focus-within .service-icon { color: white; background: rgba(255,255,255,.16); }
.service-card h3 { margin-bottom: 11px; font-size: 1.15rem; }
.service-card:hover h3, .service-card:focus-within h3 { color: white; }
.service-card p { min-height: 68px; margin-bottom: 20px; color: var(--text); font-size: .88rem; }
.service-card:hover p, .service-card:focus-within p { color: rgba(255,255,255,.82); }
.service-card a { color: var(--blue); text-decoration: none; font-size: .82rem; font-weight: 800; }
.service-card:hover a, .service-card:focus-within a { color: white; }
.service-card a span { margin-left: 5px; }

/* ---------- Service areas ---------- */
.service-areas { background: var(--mist); }
.area-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 18px; }
.area-card { padding: 26px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 30px rgba(17,52,90,.05); }
.area-card h3 { margin: 0; font-size: 1.05rem; }
.area-card p { margin: 0; color: var(--text); font-size: .84rem; }

/* ---------- Why us ---------- */
.why-us { position: relative; overflow: hidden; color: white; background: var(--navy); }
.why-us::after { content: ""; position: absolute; width: 550px; height: 550px; left: -300px; bottom: -340px; border: 90px solid rgba(47,133,228,.07); border-radius: 50%; }
.why-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: center; }
.eyebrow.light { color: #72b9ff; }
.why-intro h2 { margin-bottom: 22px; color: white; }
.why-intro > p:not(.eyebrow) { margin-bottom: 28px; color: #9db0c5; }
.text-link { color: white; text-decoration: none; font-weight: 750; }
.text-link span { color: #72b9ff; margin-left: 8px; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.13); border-left: 1px solid rgba(255,255,255,.13); }
.benefit-grid article { min-height: 185px; padding: 27px 30px; border-right: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
.benefit-grid span { color: #5baaf7; font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.benefit-grid h3 { margin: 18px 0 8px; color: white; font-size: 1rem; }
.benefit-grid p { margin: 0; color: #91a5ba; font-size: .82rem; }

/* ---------- Gallery ---------- */
.gallery { background: var(--mist); }
.section-heading.centered { display: block; max-width: 680px; margin: 0 auto 46px; text-align: center; }
.section-heading.centered > p { max-width: 600px; margin: 16px auto 0; }
.gallery-groups { display: grid; gap: 64px; }
.gallery-group { padding-top: 34px; border-top: 1px solid var(--line); }
.gallery-group-heading { display: grid; grid-template-columns: 48px minmax(0, 680px); gap: 18px; margin-bottom: 26px; }
.gallery-group-heading h3 { margin-bottom: 7px; font-size: 1.45rem; }
.gallery-group-heading p { margin-bottom: 0; color: var(--text); }
.gallery-number { color: var(--blue) !important; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.gallery-controls { display: none; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.gallery-card { margin: 0; padding: 12px; background: white; border-radius: var(--radius); box-shadow: 0 10px 35px rgba(17,52,90,.07); }
.gallery-card img { width: 100%; height: 360px; object-fit: cover; border-radius: 15px; }
.gallery-card:nth-child(2) img { object-position: center 35%; }
.image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; overflow: hidden; border-radius: 15px; }
.gallery-placeholder { min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #60758c; background: linear-gradient(155deg,#e4eaf0,#c5d0db); }
.gallery-placeholder.after { color: #3171ad; background: linear-gradient(155deg,#eaf6ff,#c7e4f9); }
.gallery-placeholder span { padding: 5px 10px; color: white; background: rgba(7,27,53,.72); border-radius: 6px; font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gallery-placeholder.after span { background: var(--blue); }
.gallery-placeholder small { margin-top: 10px; font-size: .7rem; }
.gallery-card figcaption { padding: 14px 7px 0; color: var(--navy); font-size: .85rem; font-weight: 750; }

/* ---------- Reviews ---------- */
.experience-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.experience-grid article { padding: 32px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 35px rgba(17,52,90,.06); }
.experience-grid article > strong { display: block; margin-bottom: 20px; color: var(--blue); font-size: 1.8rem; line-height: 1; }
.experience-grid h3 { margin-bottom: 10px; font-size: 1.05rem; }
.experience-grid p { margin: 0; color: #60758c; font-size: .88rem; }
.rating { display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 12px; }
.rating strong { grid-row: span 2; color: var(--navy); font-size: 2.5rem; line-height: 1; }
.rating span, .stars { color: #f5ad22; letter-spacing: .08em; }
.rating small { color: #8291a1; font-size: .7rem; }
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.review-grid blockquote { margin: 0; padding: 32px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 35px rgba(17,52,90,.06); }
.stars { font-size: .77rem; }
.review-grid blockquote > p { min-height: 125px; margin: 22px 0; color: #41556b; font-family: Georgia, serif; font-size: 1.02rem; line-height: 1.75; }
.review-grid footer { display: flex; align-items: center; gap: 12px; }
.review-grid footer > span { width: 40px; height: 40px; display: grid; place-items: center; color: var(--blue); background: var(--sky); border-radius: 50%; font-size: .72rem; font-weight: 800; }
.review-grid footer strong, .review-grid footer small { display: block; }
.review-grid footer strong { font-size: .8rem; }
.review-grid footer small { color: #8392a2; font-size: .7rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--mist); }
.faq-shell { max-width: 900px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: white; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 8px 24px rgba(17,52,90,.045); }
.faq-list summary { position: relative; padding: 20px 58px 20px 22px; color: var(--navy); font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 50%; right: 22px; transform: translateY(-50%); color: var(--blue); font-size: 1.4rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 22px 22px; color: var(--text); }

/* ---------- Contact ---------- */
.contact { padding: 95px 0; background: linear-gradient(120deg, #0a2342, #071b35); }
.contact-shell { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: center; }
.contact-copy h2 { margin-bottom: 22px; color: white; }
.contact-copy > p:not(.eyebrow) { max-width: 450px; margin-bottom: 32px; color: #9db0c5; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: -8px 0 30px; }
.contact-method { display: flex; align-items: center; gap: 14px; margin-bottom: 17px; }
.contact-method > span { width: 42px; height: 42px; display: grid; place-items: center; color: #7dc0ff; background: rgba(80,166,255,.11); border-radius: 12px; }
.contact-method small, .contact-method a { display: block; }
.contact-method small { color: #859bb2; font-size: .7rem; }
.contact-method a { color: white; text-decoration: none; font-weight: 750; }
.service-area { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.service-area strong, .service-area small { display: block; }
.service-area strong { color: white; font-size: .85rem; }
.service-area small { color: #8095ab; font-size: .72rem; }
.quote-form { padding: 42px; background: white; border-radius: 26px; box-shadow: 0 25px 60px rgba(0,0,0,.22); }
.form-heading span { color: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.form-heading h3 { margin: 5px 0 28px; font-size: 1.55rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.form-grid label { color: #33485f; font-size: .76rem; font-weight: 750; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; margin-top: 7px; padding: 12px 14px; color: var(--ink); background: #f7f9fc; border: 1px solid #d8e2ec; border-radius: 9px; outline: none; transition: border .2s, box-shadow .2s; }
.form-grid input, .form-grid select { height: 48px; }
.form-grid textarea { resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,104,229,.12); }
.full-width { grid-column: 1 / -1; }
.form-button { width: 100%; margin-top: 22px; border: 0; }
.form-note { margin: 12px 0 0; color: #718296; text-align: center; font-size: .75rem; }
.form-status { min-height: 24px; margin: 13px 0 -10px; color: #08704d; text-align: center; font-size: .85rem; font-weight: 750; }

/* ---------- Desktop call dialog ---------- */
.call-dialog { width: min(calc(100% - 32px), 500px); padding: 0; overflow: visible; background: white; border: 0; border-radius: 24px; box-shadow: 0 30px 80px rgba(7,27,53,.3); }
.call-dialog::backdrop { background: rgba(4,19,38,.68); backdrop-filter: blur(4px); }
.call-dialog-card { position: relative; padding: 42px; text-align: center; }
.call-dialog-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; padding: 0; color: var(--navy); background: var(--mist); border: 0; border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.call-dialog h2 { margin-bottom: 15px; font-size: clamp(2rem,4vw,2.8rem); }
.call-dialog-card > p:not(.eyebrow, .copy-phone-status) { margin-bottom: 7px; color: var(--text); }
.call-dialog-number { display: inline-block; margin-bottom: 28px; color: var(--blue); text-decoration: none; font-size: clamp(1.8rem,5vw,2.45rem); font-weight: 800; letter-spacing: -.035em; }
.call-dialog-actions { display: flex; justify-content: center; gap: 10px; }
.copy-phone-status { min-height: 24px; margin: 12px 0 -12px; color: #08704d; font-size: .82rem; font-weight: 750; }

/* ---------- Footer ---------- */
.site-footer { padding: 34px 0; color: #6c7e91; background: #041326; border-top: 1px solid rgba(255,255,255,.06); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; }
.footer-brand { color: white; }
.footer-grid > p { margin: 0; font-size: .75rem; line-height: 1.7; }
.copyright { text-align: right; }

/* ---------- Responsive layout ---------- */
@media (max-width: 980px) {
  .site-nav { gap: 18px; }
  .hero-grid { gap: 38px; }
  .hero-photo { height: 400px; }
  .trust-grid { grid-template-columns: 1fr 1fr; padding: 15px 0; }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .service-card, .service-card:nth-child(7), .service-card:last-child { grid-column: span 3; }
  .why-grid, .contact-shell { grid-template-columns: 1fr; gap: 50px; }
  .why-intro { max-width: 680px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { padding-top: 78px; }
  .site-header { position: fixed; top: 0; right: 0; left: 0; width: 100%; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 78px 0; }
  .menu-toggle { display: block; position: relative; z-index: 102; }
  .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); }
  .site-nav { position: fixed; top: 78px; right: 15px; left: 15px; display: flex; max-height: calc(100vh - 94px); max-height: calc(100dvh - 94px); padding: 14px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 8px; overflow-y: auto; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-10px); background: var(--navy); border: 1px solid rgba(255,255,255,.12); border-radius: 0 0 18px 18px; box-shadow: 0 20px 45px rgba(7,27,53,.28); transition: opacity .2s, visibility .2s, transform .2s; }
  .site-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
  .mobile-nav-label { display: block; padding: 4px 8px 7px; color: #8fc8ff; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
  .site-nav a { display: flex; min-height: 52px; padding: 0 16px; align-items: center; color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; font-size: 1rem; }
  .site-nav a:hover, .site-nav a:focus-visible { color: white; background: rgba(255,255,255,.16); }
  .site-nav .nav-cta { justify-content: center; margin-top: 3px; background: var(--blue); }
  .hero { padding: 70px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.55rem, 11vw, 3.6rem); }
  .hero-text { font-size: .98rem; }
  .hero-photo { height: 340px; }
  .hero-pride { justify-content: center; text-align: center; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(7), .service-card:last-child { grid-column: 1; }
  .service-card { min-height: auto; }
  .benefit-grid { grid-template-columns: 1fr; }
  .gallery-groups { gap: 52px; }
  .gallery-controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: -8px 0 14px; }
  .gallery-controls[hidden] { display: none; }
  .gallery-arrow { width: 44px; height: 44px; padding: 0; color: white; background: var(--navy); border: 0; border-radius: 50%; font-size: 1.25rem; font-weight: 800; cursor: pointer; box-shadow: 0 7px 16px rgba(7,27,53,.18); }
  .gallery-arrow:hover, .gallery-arrow:focus-visible { background: var(--blue); }
  .gallery-position { min-width: 48px; color: var(--text); text-align: center; font-size: .78rem; font-weight: 750; }
  .gallery-grid { display: block; overflow: hidden; }
  .gallery-grid:focus-visible { outline: 3px solid rgba(20,104,229,.3); outline-offset: 2px; }
  .gallery-card { display: none; }
  .gallery-card.is-active { display: block; animation: gallery-fade .22s ease; }
  .gallery-card img { height: 330px; }
  .review-grid { grid-template-columns: 1fr; }
  .experience-grid { grid-template-columns: 1fr; }
  .gallery-group-heading { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
  .review-grid blockquote > p { min-height: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .full-width { grid-column: auto; }
  .quote-form { padding: 30px 22px; }
  .contact-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .footer-brand { justify-content: center; }
  .copyright { text-align: center; }
}

@media (max-width: 520px) {
  .site-header .brand { gap: 9px; font-size: .96rem; }
  .site-header .brand-mark { width: 37px; height: 37px; font-size: .95rem; }
  .hero { padding-top: 58px; }
  .button-row .button { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; padding: 9px 0; }
  .trust-grid > div { justify-content: flex-start; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .gallery-placeholder { min-height: 190px; }
  .contact { padding: 70px 0; }
}

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

@keyframes gallery-fade {
  from { opacity: .45; }
  to { opacity: 1; }
}
