:root {
  --blue-950: #061d35;
  --blue-900: #082845;
  --blue-800: #0a3d68;
  --blue-700: #0b5fa5;
  --blue-600: #0e73bf;
  --blue-100: #dceefa;
  --blue-50: #f1f8fc;
  --teal-600: #0e978d;
  --teal-100: #d9f3ef;
  --red-600: #ef2632;
  --red-500: #ff3845;
  --red-100: #ffe4e6;
  --ink: #132232;
  --muted: #5d6b79;
  --line: #d9e2e8;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --shadow-sm: 0 12px 36px rgba(6, 37, 63, .08);
  --shadow-md: 0 28px 70px rgba(6, 37, 63, .16);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: min(1180px, calc(100% - 40px));
  --font-th: "Noto Sans Thai", system-ui, sans-serif;
  --font-en: "Manrope", var(--font-th);
  --header-height: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-th); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 112px 0; }
.section-soft { background: var(--soft); }
.section-dark { color: #fff; background: var(--blue-950); }
.skip-link { position: fixed; z-index: 9999; top: 8px; left: 8px; transform: translateY(-150%); padding: 12px 18px; color: #fff; background: var(--blue-700); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.utility-bar { color: rgba(255,255,255,.75); background: var(--blue-950); font-size: .78rem; }
.utility-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-inner p { margin: 0; }
.utility-actions { display: flex; gap: 22px; }
.utility-actions a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s ease; }
.utility-actions a:hover { color: #fff; }
.utility-actions svg { width: 15px; height: 15px; }

.site-header { position: relative; z-index: 100; }
.main-nav { height: var(--header-height); background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(16,49,73,.08); transition: box-shadow .25s ease, height .25s ease; }
.main-nav.is-sticky { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 8px 30px rgba(7,38,65,.1); backdrop-filter: blur(16px); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 230px; height: auto; }
.nav-menu { display: flex; align-items: center; gap: 26px; font-size: .93rem; font-weight: 600; }
.nav-menu > a { position: relative; padding: 27px 0; color: #2f4355; transition: color .2s ease; }
.nav-menu > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 2px; background: var(--red-600); transition: right .25s ease; }
.nav-menu > a:hover, .nav-menu > a.is-active { color: var(--blue-700); }
.nav-menu > a:hover::after, .nav-menu > a.is-active::after { right: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border: 1px solid transparent; border-radius: 10px; font-weight: 700; line-height: 1; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 19px; height: 19px; }
.button-small { min-height: 43px; padding-inline: 18px; border-radius: 8px; font-size: .88rem; }
.button-primary { color: #fff; background: var(--blue-700); box-shadow: 0 10px 24px rgba(10,95,165,.22); }
.button-primary:hover { background: var(--blue-800); box-shadow: 0 14px 30px rgba(10,95,165,.28); }
.button-accent { color: #fff; background: var(--red-600); box-shadow: 0 14px 34px rgba(239,38,50,.26); }
.button-accent:hover { background: #d91724; box-shadow: 0 18px 40px rgba(239,38,50,.34); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.05); }
.button-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.button-outline { color: var(--blue-700); border-color: rgba(10,95,165,.34); background: #fff; }
.button-outline:hover { color: #fff; border-color: var(--blue-700); background: var(--blue-700); }
.button-full { width: 100%; }

.hero { position: relative; min-height: 760px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 650px; height: 650px; top: -250px; right: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(13,116,191,.42), transparent 66%); }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; left: -180px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(14,151,141,.26), transparent 67%); }
.hero-grid-pattern, .why-grid-pattern { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(99,186,226,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(99,186,226,.25) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right, transparent 0%, #000 35%, #000 100%); }
.hero-grid { position: relative; z-index: 2; min-height: 680px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; padding-top: 46px; padding-bottom: 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--blue-700); font-family: var(--font-en); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow > span, .eyebrow-dot { width: 24px; height: 2px; background: currentColor; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; }
.eyebrow-light { color: #65c9e5; }
.hero h1 { max-width: 720px; margin: 0 0 22px; font-size: clamp(2.65rem, 5vw, 4.7rem); line-height: 1.13; letter-spacing: -.045em; }
.hero h1 span { color: #6ecfe9; }
.hero-lead { max-width: 680px; margin: 0 0 30px; color: rgba(255,255,255,.72); font-size: 1.06rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { max-width: 690px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 42px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; overflow: hidden; background: rgba(255,255,255,.12); }
.hero-trust > div { min-height: 94px; padding: 18px 20px; background: rgba(5,29,52,.86); }
.hero-trust strong { display: block; color: #fff; font-family: var(--font-en); font-size: 1.12rem; }
.hero-trust span { color: rgba(255,255,255,.55); font-size: .78rem; }
.hero-visual { position: relative; }
.inspection-panel { position: relative; padding: 18px; border: 1px solid rgba(132,205,231,.23); border-radius: 28px; background: linear-gradient(145deg, rgba(20,71,107,.9), rgba(5,28,50,.94)); box-shadow: 0 40px 90px rgba(0,0,0,.36); backdrop-filter: blur(18px); }
.inspection-panel::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.05); border-radius: 21px; pointer-events: none; }
.panel-topline, .panel-footer { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: rgba(255,255,255,.6); font-family: var(--font-en); font-size: .65rem; letter-spacing: .12em; }
.panel-topline > div { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ee7a6; box-shadow: 0 0 0 5px rgba(78,231,166,.1); }
.panel-code { color: rgba(255,255,255,.35); }
.building-stage { position: relative; min-height: 460px; display: grid; place-items: center; overflow: hidden; }
.building-stage::after { content: ""; position: absolute; width: 330px; height: 70px; bottom: 35px; border-radius: 50%; background: rgba(20,162,207,.17); filter: blur(18px); }
.building-svg { width: 100%; max-width: 470px; color: rgba(129,210,234,.78); filter: drop-shadow(0 25px 20px rgba(0,0,0,.22)); }
.building-svg .blueprint-line { fill: none; stroke: rgba(151,218,239,.8); stroke-width: 2; }
.tower-fill { stroke: rgba(151,218,239,.65); stroke-width: 1.5; }
.tower-fill.secondary { opacity: .75; }
.windows path { fill: rgba(208,244,255,.11); stroke: rgba(201,239,251,.42); stroke-width: 1; }
.scan-ring { fill: rgba(14,151,141,.04); stroke: rgba(70,231,198,.56); stroke-width: 2; stroke-dasharray: 10 8; animation: spin 18s linear infinite; transform-origin: 303px 203px; }
.scan-ring.ring-2 { stroke: rgba(255,255,255,.2); stroke-dasharray: 5 8; animation-direction: reverse; animation-duration: 13s; }
.scan-check { fill: none; stroke: #64e0c4; stroke-width: 8; }
.floating-card { position: absolute; z-index: 3; min-width: 210px; display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 13px; background: rgba(8,36,61,.82); box-shadow: 0 18px 40px rgba(0,0,0,.22); backdrop-filter: blur(12px); }
.card-structure { top: 78px; left: 0; }
.card-fire { right: 0; bottom: 70px; }
.mini-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; color: #68cce8; border-radius: 10px; background: rgba(59,178,217,.12); }
.mini-icon.red { color: #ff6972; background: rgba(255,56,69,.12); }
.mini-icon svg { width: 21px; height: 21px; }
.floating-card small, .floating-card strong { display: block; }
.floating-card small { color: rgba(255,255,255,.46); font-size: .65rem; }
.floating-card strong { color: #fff; font-size: .77rem; }
.check-badge { width: 23px; height: 23px; display: grid; place-items: center; margin-left: auto; color: #4ee7a6; border-radius: 50%; background: rgba(78,231,166,.13); }
.check-badge svg { width: 14px; height: 14px; }
.pulse-badge { width: 9px; height: 9px; margin-left: auto; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 0 5px rgba(255,56,69,.13); }
.panel-footer { padding: 13px 4px 2px; justify-content: flex-start; gap: 20px; letter-spacing: 0; font-family: var(--font-th); }
.panel-footer span { display: inline-flex; align-items: center; gap: 6px; }
.panel-footer svg { width: 14px; height: 14px; color: #4ee7a6; }
.hero-bottom { position: absolute; z-index: 1; left: 0; right: 0; bottom: -1px; height: 66px; background: #fff; clip-path: polygon(0 100%, 100% 100%, 100% 0, 38% 100%, 0 42%); }
@keyframes spin { to { transform: rotate(360deg); } }

.quick-services { position: relative; z-index: 5; margin-top: -28px; }
.quick-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); overflow: hidden; }
.quick-service { position: relative; min-height: 144px; display: flex; align-items: center; gap: 18px; padding: 28px; transition: background .25s ease, color .25s ease; }
.quick-service + .quick-service { border-left: 1px solid var(--line); }
.quick-service:hover { color: #fff; background: var(--blue-700); }
.service-number { position: absolute; top: 15px; right: 17px; color: #d8e4ec; font-family: var(--font-en); font-size: 2.2rem; font-weight: 800; line-height: 1; transition: color .25s ease; }
.quick-service:hover .service-number { color: rgba(255,255,255,.11); }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; flex: 0 0 auto; color: var(--blue-700); border-radius: 14px; background: var(--blue-50); transition: color .25s ease, background .25s ease; }
.quick-service:hover .service-icon { color: #fff; background: rgba(255,255,255,.13); }
.service-icon svg { width: 28px; height: 28px; }
.quick-service h2 { margin: 0; font-size: 1.02rem; }
.quick-service p { margin: 3px 0 0; color: var(--muted); font-size: .83rem; transition: color .25s ease; }
.quick-service:hover p { color: rgba(255,255,255,.65); }
.service-arrow { width: 21px; height: 21px; margin-left: auto; color: var(--blue-700); opacity: .65; transition: color .25s ease, transform .25s ease; }
.quick-service:hover .service-arrow { color: #fff; transform: translateX(4px); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.about-visual { position: relative; min-height: 560px; }
.about-card-main { position: absolute; inset: 0 55px 45px 0; overflow: hidden; border-radius: 26px; background: var(--blue-950); box-shadow: var(--shadow-md); }
.about-card-main::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(95,192,223,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(95,192,223,.12) 1px, transparent 1px); background-size: 28px 28px; }
.about-card-main > svg { position: relative; z-index: 1; width: 100%; height: 100%; padding: 55px 30px 60px; color: rgba(118,205,231,.72); }
.plan-line { fill: none; stroke: currentColor; stroke-width: 1.4; }
.plan-line.thick { stroke-width: 2.2; }
.measure-line { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1; stroke-dasharray: 4 4; }
.about-card-main text { fill: rgba(255,255,255,.34); stroke: none; font-family: var(--font-en); font-size: 11px; }
.blueprint-label { position: absolute; z-index: 2; top: 22px; left: 26px; color: rgba(255,255,255,.42); font-family: var(--font-en); font-size: .68rem; letter-spacing: .16em; }
.license-chip { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; display: flex; align-items: center; gap: 12px; padding: 14px; color: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(6,30,53,.82); backdrop-filter: blur(12px); }
.license-chip > svg { width: 28px; height: 28px; color: #65c9e5; }
.license-chip small, .license-chip strong { display: block; }
.license-chip small { color: rgba(255,255,255,.43); font-family: var(--font-en); font-size: .62rem; letter-spacing: .08em; }
.license-chip strong { font-size: .85rem; }
.experience-card { position: absolute; z-index: 3; right: 0; bottom: 0; width: 190px; padding: 24px; color: #fff; border-radius: 18px; background: var(--red-600); box-shadow: 0 20px 50px rgba(239,38,50,.28); }
.experience-card strong { display: block; font-family: var(--font-en); font-size: 3rem; line-height: 1; }
.experience-card span { display: block; margin-top: 9px; font-size: .77rem; line-height: 1.45; }
.about-copy h2, .section-heading h2, .service-feature-copy h3, .why-copy h2, .contact-copy h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 3.35rem); line-height: 1.25; letter-spacing: -.035em; }
.about-copy > p { margin: 20px 0 0; color: var(--muted); font-size: .96rem; }
.credential-list { display: grid; gap: 14px; margin-top: 28px; }
.credential-list > div { display: flex; gap: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(6,37,63,.04); }
.credential-list > div > span { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; color: var(--blue-700); border-radius: 10px; background: var(--blue-50); }
.credential-list svg { width: 22px; height: 22px; }
.credential-list strong { display: block; font-size: .9rem; }
.credential-list p { margin: 3px 0 0; color: var(--muted); font-size: .78rem; }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 26px; color: var(--blue-700); font-weight: 700; }
.text-link svg { width: 19px; height: 19px; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(4px); }

.services { background: linear-gradient(180deg, #f6fafc 0%, #fff 100%); }
.section-heading { max-width: 700px; }
.section-heading.centered { margin: 0 auto 66px; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading p { margin: 18px 0 0; color: var(--muted); }
.section-heading.split { max-width: none; display: grid; grid-template-columns: 1fr .65fr; align-items: end; gap: 80px; margin-bottom: 58px; }
.service-feature { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 68px; margin-bottom: 110px; }
.service-feature.reverse { grid-template-columns: 1.13fr .87fr; align-items: center; }
.service-feature-copy { padding-top: 16px; }
.feature-index { display: block; margin-bottom: 15px; color: var(--blue-700); font-family: var(--font-en); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.service-feature-copy h3 { font-size: clamp(2rem, 3.2vw, 3.05rem); }
.service-feature-copy > p { margin: 20px 0 0; color: var(--muted); }
.inspection-cycle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0; }
.inspection-cycle div { padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.inspection-cycle strong { display: block; color: var(--blue-700); font-family: var(--font-en); font-size: 1.55rem; }
.inspection-cycle span { color: var(--muted); font-size: .78rem; }
.inspection-accordion { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.accordion-item + .accordion-item { border-top: 1px solid var(--line); }
.accordion-trigger { width: 100%; min-height: 98px; display: grid; grid-template-columns: 48px 1fr 22px; align-items: center; gap: 16px; padding: 20px 24px; color: var(--ink); border: 0; text-align: left; background: #fff; transition: background .2s ease; }
.accordion-trigger:hover { background: var(--blue-50); }
.accordion-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--blue-700); border-radius: 12px; background: var(--blue-50); }
.accordion-icon.red { color: var(--red-600); background: var(--red-100); }
.accordion-icon svg { width: 24px; height: 24px; }
.accordion-trigger strong, .accordion-trigger small { display: block; }
.accordion-trigger strong { font-size: .94rem; }
.accordion-trigger small { margin-top: 3px; color: var(--muted); font-size: .73rem; }
.accordion-chevron { width: 20px; height: 20px; color: var(--muted); transition: transform .25s ease; }
.accordion-item.is-open .accordion-chevron { transform: rotate(180deg); }
.accordion-panel { padding: 0 24px 24px 88px; }
.check-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.check-list.columns-2 { grid-template-columns: 1fr 1fr; column-gap: 26px; }
.check-list li { position: relative; padding-left: 22px; color: #526474; font-size: .8rem; }
.check-list li::before { content: ""; position: absolute; top: .72em; left: 0; width: 7px; height: 7px; border: 2px solid var(--teal-600); border-radius: 50%; }
.scope-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.scope-groups h4 { margin: 0 0 12px; color: var(--blue-800); font-size: .82rem; }

.design-visual { position: relative; min-height: 560px; display: grid; place-items: center; padding: 35px; border-radius: 26px; background: var(--blue-950); overflow: hidden; }
.design-visual::before { content: ""; position: absolute; inset: 0; opacity: .24; background-image: radial-gradient(circle at 20% 10%, rgba(24,164,199,.5), transparent 35%), linear-gradient(rgba(116,205,230,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(116,205,230,.12) 1px, transparent 1px); background-size: auto, 26px 26px, 26px 26px; }
.design-paper { position: relative; z-index: 1; width: 88%; padding: 17px; transform: rotate(-2deg); border-radius: 5px; background: #f9fbfc; box-shadow: 0 28px 65px rgba(0,0,0,.3); }
.paper-header, .paper-scale { display: flex; justify-content: space-between; color: #80909a; font-family: var(--font-en); font-size: .55rem; letter-spacing: .11em; }
.design-paper > svg { color: #7c9aad; }
.design-line { fill: none; stroke: currentColor; stroke-width: 1.3; }
.design-line.strong { stroke: #486d83; stroke-width: 2; }
.design-line.accent { stroke: var(--red-600); stroke-width: 2; }
.design-floating { position: absolute; z-index: 2; right: 14px; bottom: 25px; display: flex; align-items: center; gap: 12px; padding: 15px 18px; color: #fff; border-radius: 14px; background: var(--blue-700); box-shadow: 0 18px 40px rgba(7,58,100,.36); font-size: .74rem; }
.design-floating svg { width: 26px; height: 26px; }
.design-scope { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0 30px; }
.design-scope span { display: flex; align-items: center; gap: 9px; padding: 10px 12px; color: #405363; border-radius: 9px; background: var(--soft); font-size: .78rem; }
.design-scope svg { width: 16px; height: 16px; color: var(--teal-600); }
.secondary-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.secondary-card { display: flex; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgba(7,38,65,.05); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.secondary-card:hover { transform: translateY(-6px); border-color: rgba(10,95,165,.26); box-shadow: var(--shadow-sm); }
.secondary-icon { width: 52px; height: 52px; display: grid; place-items: center; flex: 0 0 auto; color: var(--blue-700); border-radius: 14px; background: var(--blue-50); }
.secondary-icon svg { width: 27px; height: 27px; }
.secondary-card h3 { margin: 0; font-size: 1.05rem; }
.secondary-card p { margin: 8px 0 0; color: var(--muted); font-size: .79rem; }
.secondary-card .feature-index { margin-bottom: 6px; font-size: .59rem; }

.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.process-grid::before { content: ""; position: absolute; top: 68px; left: 6%; right: 6%; height: 1px; border-top: 1px dashed #b9cbd7; }
.process-step { position: relative; min-height: 245px; padding: 25px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 10px 28px rgba(7,38,65,.04); }
.process-step > span { position: absolute; top: 18px; right: 20px; color: #d4e1e9; font-family: var(--font-en); font-size: 1.8rem; font-weight: 800; }
.process-icon { position: relative; z-index: 1; width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 26px; color: var(--blue-700); border: 6px solid var(--soft); border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #cbdce7; }
.process-icon svg { width: 24px; height: 24px; }
.process-step h3 { margin: 0; font-size: .98rem; }
.process-step p { margin: 8px 0 0; color: var(--muted); font-size: .76rem; }
.process-step:last-child { grid-column: 4; }

.clients { position: relative; z-index: 2; overflow: hidden; background: var(--paper); }
.client-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client-logo { min-height: 135px; display: grid; place-items: center; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background .2s ease; }
.client-logo:hover { background: var(--blue-50); }
.client-logo img { max-width: 120px; max-height: 65px; filter: grayscale(1); opacity: .62; transition: filter .25s ease, opacity .25s ease, transform .25s ease; }
.client-logo:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.04); }

.why-us { position: relative; overflow: hidden; }
.why-us::before { content: ""; position: absolute; width: 650px; height: 650px; top: -300px; left: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(14,115,191,.34), transparent 68%); }
.why-grid-pattern { opacity: .12; mask-image: linear-gradient(to left, transparent 0%, #000 55%); }
.why-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 100px; }
.why-copy p { margin: 22px 0 30px; color: rgba(255,255,255,.62); }
.why-list { border-top: 1px solid rgba(255,255,255,.16); }
.why-list article { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 25px 22px; border-bottom: 1px solid rgba(255,255,255,.16); transition: background .25s ease, transform .25s ease; }
.why-list article:hover { background: linear-gradient(90deg, rgba(37,151,218,.14), rgba(37,151,218,.025)); }
.why-list article > span { color: #65c9e5; font-family: var(--font-en); font-weight: 800; }
.why-list h3 { margin: 0; font-size: 1rem; }
.why-list p { margin: 5px 0 0; color: rgba(255,255,255,.55); font-size: .8rem; }

.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 90px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-trigger { width: 100%; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; color: var(--ink); border: 0; text-align: left; background: transparent; font-weight: 700; }
.faq-trigger svg { width: 20px; height: 20px; color: var(--blue-700); transition: transform .25s ease; }
.faq-item.is-open .faq-trigger svg { transform: rotate(45deg); }
.faq-panel { padding: 0 40px 20px 0; }
.faq-panel p { margin: 0; color: var(--muted); font-size: .86rem; }

.contact { padding: 90px 0; background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.contact-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 65px; overflow: hidden; color: #fff; border-radius: 30px; background: var(--blue-800); box-shadow: var(--shadow-md); }
.contact-card::before { content: ""; position: absolute; width: 500px; height: 500px; right: -230px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(64,179,221,.5), transparent 66%); }
.contact-card::after { content: "D"; position: absolute; right: 40%; bottom: -165px; color: rgba(255,255,255,.035); font-family: var(--font-en); font-size: 29rem; font-weight: 800; line-height: 1; pointer-events: none; }
.contact-copy, .contact-info { position: relative; z-index: 1; }
.contact-copy p { max-width: 480px; margin: 20px 0 28px; color: rgba(255,255,255,.62); }
.contact-info { display: grid; gap: 12px; }
.contact-row { display: flex; align-items: flex-start; gap: 16px; padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.06); transition: background .2s ease, border-color .2s ease; }
a.contact-row:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.1); }
.contact-row > span { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; color: #6ed2eb; border-radius: 11px; background: rgba(74,194,226,.1); }
.contact-row svg { width: 21px; height: 21px; }
.contact-row small, .contact-row strong, .contact-row p { display: block; }
.contact-row small { color: rgba(255,255,255,.42); font-family: var(--font-en); font-size: .62rem; letter-spacing: .09em; text-transform: uppercase; }
.contact-row strong { margin-top: 2px; font-size: .9rem; }
.contact-row p { margin: 4px 0 0; color: rgba(255,255,255,.53); font-size: .72rem; }

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 78px 0 26px;
  color: #fff;
  border-top: 1px solid rgba(117, 192, 236, .18);
  background:
    radial-gradient(circle at 10% -10%, rgba(14, 115, 191, .30), transparent 34%),
    radial-gradient(circle at 92% 118%, rgba(14, 151, 141, .16), transparent 32%),
    linear-gradient(135deg, #04182d 0%, var(--blue-950) 44%, #082845 100%);
  box-shadow: inset 0 1px rgba(255,255,255,.045), 0 -20px 70px rgba(5,31,54,.08);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .16;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(117,192,236,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117,192,236,.14) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.82), transparent 92%);
}
.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 40px));
  height: 2px;
  z-index: -1;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255,41,54,.95) 18%, rgba(68,174,236,.78) 55%, transparent);
  box-shadow: 0 0 28px rgba(255,41,54,.18);
}
.footer-grid,
.footer-bottom { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .7fr .9fr; gap: 55px; }
.footer-brand img { width: 220px; }
.footer-grid > div:first-child > p {
  max-width: 370px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.62);
  font-size: .82rem;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h2 {
  position: relative;
  width: fit-content;
  margin: 0 0 10px;
  color: #fff;
  font-size: .86rem;
  letter-spacing: .01em;
}
.footer-links h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red-500), #3eaeea);
}
.footer-links a {
  width: fit-content;
  color: rgba(255,255,255,.60);
  font-size: .78rem;
  transition: color .25s ease, transform .25s ease;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
  transform: translateX(4px);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.43);
  font-size: .73rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.72);
  transition: color .25s ease, transform .25s ease;
}
.footer-bottom a:hover,
.footer-bottom a:focus-visible { color: #6ed2eb; transform: translateY(-2px); }
.footer-bottom svg { width: 16px; height: 16px; }

.mobile-cta { display: none; }
.quote-dialog { width: min(720px, calc(100% - 28px)); max-height: calc(100dvh - 30px); padding: 0; border: 0; border-radius: 24px; background: #fff; box-shadow: 0 35px 100px rgba(0,0,0,.3); }
.quote-dialog::backdrop { background: rgba(2,19,34,.72); backdrop-filter: blur(5px); }
.dialog-shell { position: relative; padding: 36px; overflow-y: auto; max-height: calc(100dvh - 30px); }
.dialog-close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.dialog-close svg { width: 19px; height: 19px; }
.dialog-heading { display: flex; gap: 16px; padding-right: 40px; }
.dialog-icon { width: 52px; height: 52px; display: grid; place-items: center; flex: 0 0 auto; color: var(--blue-700); border-radius: 14px; background: var(--blue-50); }
.dialog-icon svg { width: 27px; height: 27px; }
.dialog-heading small { color: var(--blue-700); font-family: var(--font-en); font-size: .63rem; font-weight: 800; letter-spacing: .12em; }
.dialog-heading h2 { margin: 2px 0 0; font-size: 1.55rem; line-height: 1.3; }
.dialog-heading p { margin: 5px 0 0; color: var(--muted); font-size: .78rem; }
#quote-form { margin-top: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label { display: grid; gap: 7px; }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid label > span { font-size: .76rem; font-weight: 600; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; outline: none; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.form-grid input, .form-grid select { height: 48px; padding: 0 13px; }
.form-grid textarea { padding: 12px 13px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(14,115,191,.1); }
.form-grid ::placeholder { color: #a4afb7; }
.form-note { display: flex; gap: 9px; margin: 16px 0; padding: 12px; color: #637481; border-radius: 9px; background: var(--soft); }
.form-note svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; color: var(--blue-700); }
.form-note p { margin: 0; font-size: .68rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 1080px) {
  :root { --container: min(100% - 32px, 980px); }
  .nav-menu { gap: 18px; }
  .nav-menu > a { font-size: .84rem; }
  .hero-grid { gap: 35px; }
  .hero h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
  .floating-card { min-width: 185px; }
  .about-grid { gap: 55px; }
  .service-feature { gap: 45px; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-step:last-child { grid-column: auto; }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 35px; }
}

@media (max-width: 900px) {
  :root { --header-height: 72px; }
  .utility-bar { display: none; }
  .nav-toggle { display: block; }
  .nav-menu { position: fixed; top: var(--header-height); left: 16px; right: 16px; display: grid; gap: 0; padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-10px); border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-md); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
  .nav-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-menu > a { padding: 12px; border-radius: 8px; }
  .nav-menu > a::after { display: none; }
  .nav-menu > a:hover { background: var(--blue-50); }
  .nav-menu .button { margin-top: 8px; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 78px; padding-bottom: 105px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { margin-inline: auto; text-align: left; }
  .hero-visual { width: min(650px, 100%); margin-inline: auto; }
  .quick-services-grid { grid-template-columns: 1fr; }
  .quick-service + .quick-service { border-left: 0; border-top: 1px solid var(--line); }
  .quick-service { min-height: 112px; }
  .about-grid, .service-feature, .service-feature.reverse, .why-grid, .faq-grid, .contact-card { grid-template-columns: 1fr; }
  .about-visual { min-height: 540px; }
  .service-feature { gap: 45px; margin-bottom: 90px; }
  .service-feature.reverse .design-visual { order: 2; }
  .secondary-services { grid-template-columns: 1fr; }
  .section-heading.split { grid-template-columns: 1fr; gap: 18px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { gap: 55px; }
  .faq-grid { gap: 45px; }
  .contact-card { gap: 45px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 620px) {
  :root { --container: calc(100% - 28px); }
  body { padding-bottom: 66px; }
  .section { padding: 82px 0; }
  .brand img { width: 188px; }
  .main-nav { height: 68px; }
  .nav-menu { top: 68px; }
  .hero-grid { padding-top: 60px; padding-bottom: 92px; }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 3.15rem); }
  .hero-lead { font-size: .92rem; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-trust { grid-template-columns: 1fr; }
  .hero-trust > div { min-height: auto; padding: 14px 17px; }
  .inspection-panel { padding: 13px; border-radius: 20px; }
  .building-stage { min-height: 390px; }
  .floating-card { min-width: 170px; padding: 9px; }
  .card-structure { top: 46px; }
  .card-fire { bottom: 48px; }
  .mini-icon { width: 34px; height: 34px; }
  .panel-footer { flex-wrap: wrap; gap: 8px 16px; }
  .quick-services { margin-top: -20px; }
  .quick-service { min-height: 103px; padding: 22px; }
  .service-number { font-size: 1.8rem; }
  .about-grid { gap: 42px; }
  .about-visual { min-height: 460px; }
  .about-card-main { inset: 0 25px 42px 0; }
  .experience-card { width: 160px; padding: 19px; }
  .experience-card strong { font-size: 2.45rem; }
  .about-copy h2, .section-heading h2, .service-feature-copy h3, .why-copy h2, .contact-copy h2 { font-size: clamp(1.8rem, 9vw, 2.45rem); }
  .service-feature { gap: 32px; }
  .inspection-cycle, .check-list.columns-2, .scope-groups, .design-scope, .process-grid, .form-grid { grid-template-columns: 1fr; }
  .accordion-trigger { grid-template-columns: 42px 1fr 18px; gap: 12px; padding: 18px 15px; }
  .accordion-trigger small { display: none; }
  .accordion-panel { padding: 0 16px 20px; }
  .design-visual { min-height: 430px; padding: 20px; }
  .design-paper { width: 96%; }
  .design-floating { right: 4px; bottom: 18px; }
  .process-step { min-height: 205px; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .client-logo { min-height: 110px; padding: 20px; }
  .client-logo:last-child { grid-column: 1 / -1; }
  .contact { padding: 55px 0; }
  .contact-card { width: calc(100% - 20px); padding: 38px 24px; border-radius: 23px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .site-footer { padding: 58px 0 24px; }
  .footer-grid { gap: 34px 24px; }
  .footer-grid > div:first-child > p { margin-top: 16px; }
  .footer-links { gap: 9px; }
  .footer-bottom { align-items: flex-start; margin-top: 42px; }
  .mobile-cta { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; height: 66px; display: grid; grid-template-columns: .8fr 1.2fr; padding: 8px; border-top: 1px solid rgba(0,0,0,.08); background: rgba(255,255,255,.96); box-shadow: 0 -8px 30px rgba(5,31,54,.12); backdrop-filter: blur(14px); }
  .mobile-cta a, .mobile-cta button { display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 9px; font-size: .76rem; font-weight: 700; }
  .mobile-cta a { color: var(--blue-700); background: var(--blue-50); }
  .mobile-cta button { color: #fff; background: var(--red-600); }
  .mobile-cta svg { width: 18px; height: 18px; }
  .dialog-shell { padding: 28px 20px; }
  .dialog-heading { gap: 12px; }
  .dialog-icon { width: 44px; height: 44px; }
  .dialog-heading h2 { font-size: 1.25rem; }
  .form-grid label.full { grid-column: auto; }
}

/* ==========================================================
   D INSPECTOR — PREMIUM MOTION SYSTEM v2.3
   GSAP handles scroll choreography; Anime.js handles ambient
   interaction. These overrides intentionally sit last.
   ========================================================== */
:root {
  --utility-height: 38px;
  --nav-height: 80px;
  --site-header-height: 118px;
  --motion-ease: cubic-bezier(.16, 1, .3, 1);
  --premium-shadow: 0 34px 90px rgba(3, 28, 52, .17);
}

html { scroll-padding-top: calc(var(--nav-height) + 20px); }
body { overflow-x: clip; }
.site-header {
  position: sticky;
  top: calc(var(--utility-height) * -1);
  z-index: 100;
}
.main-nav,
.main-nav.is-sticky {
  position: relative;
  inset: auto;
  width: 100%;
}
.main-nav.is-sticky {
  background: rgba(255,255,255,.91);
  box-shadow: 0 13px 45px rgba(3,31,55,.12);
  backdrop-filter: blur(20px) saturate(135%);
}

.page-progress {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: 3px;
  pointer-events: none;
  background: rgba(255,255,255,.05);
}
.page-progress i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--red-600), #ff6972 38%, #4bbdf1 74%, #8df3df);
  box-shadow: 0 0 18px rgba(75,189,241,.62);
}
.cursor-aura {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 1px solid rgba(73,185,235,.5);
  border-radius: 50%;
  opacity: .55;
  pointer-events: none;
  mix-blend-mode: difference;
  transition: width .35s var(--motion-ease), height .35s var(--motion-ease), margin .35s var(--motion-ease), opacity .3s ease, background .3s ease;
}
.cursor-aura.is-active {
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  opacity: .86;
  background: rgba(88,207,247,.12);
}

/* Hero: exact viewport fit after the real header height is measured. */
.hero.hero-cinematic {
  min-height: 0;
  height: calc(100svh - var(--site-header-height));
  isolation: isolate;
  overflow: hidden;
  background: #031427;
}
.hero-cinematic::before,
.hero-cinematic::after { pointer-events: none; }
.hero-media,
.hero-shade,
.hero-blueprint,
.hero-corner-mark { position: absolute; inset: 0; }
.hero-media { z-index: -4; overflow: hidden; }
.hero-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 48%;
  will-change: transform;
}
.hero-shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(2,18,33,.96) 0%, rgba(3,24,43,.86) 38%, rgba(3,24,43,.35) 70%, rgba(2,15,28,.55) 100%),
    linear-gradient(180deg, rgba(1,15,28,.08), rgba(1,15,28,.68));
}
.hero-blueprint {
  z-index: -2;
  opacity: .24;
  background-image:
    linear-gradient(rgba(94,207,247,.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94,207,247,.15) 1px, transparent 1px),
    radial-gradient(circle at 82% 22%, rgba(16,124,210,.42), transparent 26%);
  background-size: 56px 56px, 56px 56px, auto;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.2) 34%, #000 100%);
}
.hero-cinematic-inner {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy-cinematic {
  width: min(760px, 68vw);
  padding: clamp(26px, 4vh, 54px) 0 clamp(44px, 7vh, 78px);
  will-change: transform, opacity, filter;
}
.hero-copy-cinematic h1 {
  max-width: 780px;
  margin-bottom: clamp(12px, 2vh, 24px);
  font-size: clamp(3rem, min(5.1vw, 7.5vh), 5.25rem);
  line-height: .99;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero-copy-cinematic h1 span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(100deg, #2a95ff 0%, #69d9ff 54%, #a9f4ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 12px 28px rgba(35,154,238,.16));
}
.hero-copy-cinematic .hero-lead {
  max-width: 700px;
  margin-bottom: clamp(16px, 2.6vh, 30px);
  font-size: clamp(.85rem, 1.2vw, 1.04rem);
  line-height: 1.8;
}
.hero-credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin-top: clamp(16px, 3vh, 34px);
}
.credential-glass {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 17px;
  border: 1px solid rgba(137,214,243,.22);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 15px 50px rgba(0,0,0,.13);
  backdrop-filter: blur(17px) saturate(125%);
}
.credential-glass > svg {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  color: #57c6f4;
  filter: drop-shadow(0 0 12px rgba(79,196,245,.4));
}
.credential-glass strong { display: block; font-size: .94rem; }
.credential-glass span { display: block; color: rgba(255,255,255,.53); font-size: .68rem; }
.hero-scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 18px;
  display: grid;
  justify-items: center;
  gap: 5px;
  transform: translateX(-50%);
  color: rgba(255,255,255,.55);
  font-family: var(--font-en);
  font-size: .5rem;
  letter-spacing: .16em;
}
.hero-scroll-mouse {
  width: 22px;
  height: 34px;
  display: grid;
  justify-items: center;
  padding-top: 7px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
}
.hero-scroll-mouse i { width: 3px; height: 7px; border-radius: 9px; background: #72dbff; }
.hero-corner-mark {
  z-index: -1;
  inset: auto -8vw 10% auto;
  width: min(38vw, 620px);
  height: min(38vw, 620px);
  border: 1px solid rgba(64,176,246,.18);
  border-radius: 50%;
  background:
    conic-gradient(from 45deg, transparent 0 22%, rgba(18,112,215,.56) 22% 34%, transparent 34% 58%, rgba(27,172,224,.24) 58% 69%, transparent 69%),
    radial-gradient(circle, transparent 49%, rgba(53,189,242,.16) 50% 50.4%, transparent 51%);
  opacity: .9;
  transform-origin: center;
}

/* Quick services no longer overlap the initial hero frame. */
.quick-services {
  z-index: 8;
  margin-top: 0 !important;
  padding: 42px 0 72px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef6fb 0%, #fff 100%);
}
.quick-services-grid {
  overflow: visible;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: none;
  gap: 14px;
}
.quick-service {
  min-height: 142px;
  border: 1px solid rgba(120,160,188,.25) !important;
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 50px rgba(5,45,74,.09);
  backdrop-filter: blur(16px);
}
.quick-service::after,
.premium-interactive::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(75,188,242,.25), transparent 36%);
  transition: opacity .35s ease;
}
.quick-service > *,
.premium-interactive > * { position: relative; z-index: 1; }
.premium-interactive { position: relative; isolation: isolate; overflow: hidden; }
.premium-interactive.is-interacting::after { opacity: 1; }
.premium-interactive {
  transition: border-color .35s ease, box-shadow .45s var(--motion-ease), background .35s ease;
}
.premium-interactive.is-interacting {
  border-color: rgba(37,151,222,.38) !important;
  box-shadow: 0 25px 70px rgba(5,59,95,.15);
}

/* Ambient depth layers inserted by JS. */
main > section { position: relative; isolation: isolate; }
.motion-orb {
  position: absolute;
  z-index: -1;
  width: clamp(220px, 28vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: .19;
  filter: blur(2px);
  will-change: transform;
}
.motion-orb-1 { top: 4%; right: -13%; background: radial-gradient(circle, rgba(24,138,218,.4), transparent 67%); }
.motion-orb-2 { top: 24%; left: -16%; background: radial-gradient(circle, rgba(16,151,141,.28), transparent 68%); }
.motion-orb-3 { bottom: 2%; right: -12%; background: radial-gradient(circle, rgba(239,38,50,.18), transparent 68%); }
.motion-ready [data-interactive-graphic] { perspective: 1100px; }
.motion-ready [data-graphic-layer] { transform-style: preserve-3d; will-change: transform; }
.interactive-graphic::after {
  content: '';
  position: absolute;
  z-index: 4;
  inset: 0;
  border-radius: inherit;
  opacity: .35;
  pointer-events: none;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(134,225,255,.3), transparent 27%);
  mix-blend-mode: screen;
}

/* Process: one premium pinned viewport, fully responsive. */
.process-cinematic { position: relative; isolation: isolate; background: #06182a; }
.process-intro { position: relative; z-index: 3; padding: 104px 0 90px; overflow: hidden; }
.process-intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 76px; }
.process-intro .section-heading { margin: 0; }
.process-intro-copy { padding-bottom: 8px; }
.process-intro-copy > p { margin: 0; color: var(--muted); }
.process-intro-meta { display: flex; gap: 12px; margin-top: 25px; }
.process-intro-meta span {
  min-width: 155px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  font-size: .75rem;
}
.process-intro-meta strong { color: var(--blue-700); font-family: var(--font-en); font-size: 1.25rem; }
.process-scroll {
  --process-scroll-distance: 552svh;
  position: relative;
  min-height: 100svh;
  height: calc(100svh + var(--process-scroll-distance));
  background: #031426;
}
.process-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: #031426;
}
.process-panels,
.process-panel,
.process-panel-media,
.process-panel-overlay { position: absolute; inset: 0; }
.process-panel { overflow: hidden; visibility: hidden; }
.process-panel.is-active { visibility: visible; }
.process-panel-media { overflow: hidden; }
.process-panel-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
.process-panel-overlay {
  background:
    linear-gradient(90deg, rgba(2,15,28,.94) 0%, rgba(2,18,32,.76) 42%, rgba(2,18,32,.2) 73%, rgba(2,18,32,.58) 100%),
    linear-gradient(180deg, rgba(1,15,27,.18), rgba(1,15,27,.74));
}
.process-panel-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
}
.process-card {
  position: relative;
  width: min(570px, 56vw);
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(139,215,242,.22);
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, rgba(7,36,61,.88), rgba(5,24,43,.63));
  box-shadow: 0 38px 100px rgba(0,0,0,.34), inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(22px) saturate(135%);
  overflow: hidden;
}
.process-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #47caff, var(--red-500));
  box-shadow: 0 0 24px rgba(71,202,255,.65);
}
.process-kicker {
  color: #6fdcff;
  font-family: var(--font-en);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .18em;
}
.process-card-number {
  position: absolute;
  top: 16px;
  right: 24px;
  color: rgba(255,255,255,.08);
  font-family: var(--font-en);
  font-size: clamp(4.3rem, 8vw, 7.8rem);
  font-weight: 800;
  line-height: 1;
}
.process-card h3 { margin: 13px 0 10px; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.12; }
.process-card p { max-width: 470px; margin: 0; color: rgba(255,255,255,.68); font-size: .94rem; }
.process-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.process-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(135,219,248,.22);
  border-radius: 999px;
  color: rgba(255,255,255,.72);
  background: rgba(100,207,244,.07);
  font-family: var(--font-en);
  font-size: .62rem;
}
.process-rail {
  position: absolute;
  z-index: 6;
  top: 50%;
  right: max(28px, calc((100vw - 1180px) / 2));
  width: 64px;
  transform: translateY(-50%);
  color: #fff;
}
.process-rail-header { display: flex; align-items: baseline; justify-content: center; margin-bottom: 15px; font-family: var(--font-en); }
.process-rail-current { color: #61d1ff; font-size: 1.55rem; font-weight: 800; }
.process-rail-total { color: rgba(255,255,255,.35); font-size: .66rem; }
.process-rail-line { position: absolute; top: 50px; bottom: 8px; left: 50%; width: 1px; transform: translateX(-50%); background: rgba(255,255,255,.16); }
.process-rail-line i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top;
  background: linear-gradient(180deg, #58ccff, #ff5661);
  box-shadow: 0 0 12px rgba(87,206,255,.5);
}
.process-rail-dots { position: relative; display: grid; justify-items: center; gap: 10px; }
.process-rail-dots button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: rgba(255,255,255,.38);
  border: 1px solid transparent;
  border-radius: 50%;
  background: rgba(3,22,39,.38);
  font-family: var(--font-en);
  font-size: .63rem;
  backdrop-filter: blur(8px);
  transition: color .3s ease, border-color .3s ease, background .3s ease, transform .3s var(--motion-ease);
}
.process-rail-dots button:hover,
.process-rail-dots button.is-active {
  color: #fff;
  border-color: rgba(90,207,255,.52);
  background: rgba(27,132,203,.38);
  transform: scale(1.09);
}
.process-scroll-hint {
  position: absolute;
  z-index: 6;
  left: max(22px, calc((100vw - 1180px) / 2));
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.46);
  font-size: .66rem;
}
.process-scroll-hint span { width: 2px; height: 26px; background: linear-gradient(#53cfff, transparent); transform-origin: top; }

/* No-JS / reduced motion remains readable. */
html:not(.motion-ready) .process-scroll,
html.motion-fallback .process-scroll { height: auto; }
html:not(.motion-ready) .process-stage,
html.motion-fallback .process-stage { position: relative; top: auto; height: auto; min-height: 0; overflow: visible; }
html:not(.motion-ready) .process-panel,
html.motion-fallback .process-panel {
  position: relative;
  min-height: 72vh;
  visibility: visible;
  opacity: 1;
  clip-path: none;
}
html:not(.motion-ready) .process-rail,
html:not(.motion-ready) .process-scroll-hint,
html.motion-fallback .process-rail,
html.motion-fallback .process-scroll-hint { display: none; }

.magnetic-button { position: relative; overflow: hidden; }
.magnetic-button::after {
  content: '';
  position: absolute;
  inset: -80% -35%;
  transform: translateX(-85%) rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  transition: transform .75s var(--motion-ease);
}
.magnetic-button:hover::after { transform: translateX(85%) rotate(18deg); }
.motion-ready .reveal { opacity: 1; transform: none; transition: none; }
.motion-ready .motion-visible { will-change: transform, opacity, filter; }

@media (max-height: 760px) and (min-width: 901px) {
  .hero-copy-cinematic { padding-top: 20px; padding-bottom: 34px; }
  .hero-copy-cinematic h1 { font-size: clamp(2.65rem, 6.7vh, 4.2rem); }
  .hero-copy-cinematic .hero-lead { line-height: 1.62; }
  .hero-credentials { margin-top: 16px; }
  .credential-glass { min-height: 66px; padding-block: 10px; }
  .hero-scroll-cue { display: none; }
}

@media (max-width: 900px) {
  :root { --utility-height: 0px; --site-header-height: var(--nav-height); }
  .site-header { top: 0; }
  .hero.hero-cinematic { height: calc(100svh - var(--nav-height)); }
  .hero-copy-cinematic { width: min(650px, 92%); margin-inline: auto; text-align: center; padding: 34px 0 46px; }
  .hero-copy-cinematic .eyebrow { justify-content: center; }
  .hero-copy-cinematic h1 { margin-inline: auto; font-size: clamp(2.8rem, min(8vw, 7vh), 4.6rem); }
  .hero-copy-cinematic .hero-lead { margin-inline: auto; }
  .hero-credentials { margin-inline: auto; text-align: left; }
  .hero-corner-mark { width: 60vw; height: 60vw; right: -24vw; bottom: 9%; }
  .quick-services { padding: 30px 0 58px; }
  .quick-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .quick-service { min-height: 132px; display: grid; grid-template-columns: 42px 1fr; align-content: center; gap: 9px 11px; padding: 18px; }
  .quick-service .service-number { top: 10px; right: 13px; font-size: 1.55rem; }
  .quick-service .service-icon { width: 42px; height: 42px; }
  .quick-service .service-arrow { display: none; }
  .quick-service h2 { font-size: .88rem; }
  .quick-service p { font-size: .66rem; }
  .process-intro { padding: 78px 0 68px; }
  .process-intro-grid { grid-template-columns: 1fr; gap: 22px; }
  .process-intro-meta { flex-wrap: wrap; }
  .process-stage { min-height: 560px; }
  .process-card { width: min(610px, calc(100% - 100px)); }
  .process-rail { right: 18px; }
  .process-scroll-hint { left: 18px; }
}

@media (max-width: 760px) {
  .cursor-aura { display: none; }
  .section { padding: 72px 0; }
  .hero.hero-cinematic { height: calc(100svh - var(--nav-height)); min-height: 0; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(2,17,31,.5) 0%, rgba(2,18,33,.83) 58%, rgba(2,16,29,.98) 100%),
      linear-gradient(90deg, rgba(2,17,31,.75), rgba(2,17,31,.22));
  }
  .hero-media img { object-position: 62% center; }
  .hero-cinematic-inner {
    position: absolute;
    inset: 0;
    height: auto;
    display: grid;
    align-items: center;
    padding-top: calc(var(--header-expanded-height) + 8px);
    padding-bottom: 86px;
  }
  .hero-copy-cinematic {
    width: 100%;
    align-self: center;
    margin: 0;
    padding: 0;
    text-align: left;
  }
  .hero-copy-cinematic .eyebrow { justify-content: flex-start; margin-bottom: 10px; font-size: .6rem; }
  .hero-copy-cinematic h1 {
    margin-inline: 0;
    margin-bottom: 12px;
    font-size: clamp(2.25rem, min(10.5vw, 6.9vh), 3.6rem);
    line-height: 1.01;
  }
  .hero-copy-cinematic .hero-lead { max-width: 96%; margin-inline: 0; margin-bottom: 14px; font-size: .78rem; line-height: 1.58; }
  .hero-copy-cinematic .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hero-copy-cinematic .button { min-height: 44px; padding: 0 12px; font-size: .72rem; }
  .hero-credentials { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 12px; }
  .credential-glass { min-height: 60px; gap: 8px; padding: 9px 10px; border-radius: 11px; }
  .credential-glass > svg { width: 20px; height: 20px; }
  .credential-glass strong { font-size: .7rem; }
  .credential-glass span { display: none; }
  .hero-scroll-cue { bottom: 8px; transform: translateX(-50%) scale(.78); }
  .hero-corner-mark { width: 82vw; height: 82vw; right: -40vw; bottom: 17%; opacity: .55; }

  .quick-services { padding: 22px 0 46px; }
  .quick-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .quick-service { min-height: 116px; display: block; padding: 15px; border-radius: 15px; }
  .quick-service:nth-child(3) { grid-column: 1 / -1; min-height: 100px; display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 12px; }
  .quick-service .service-number { top: 7px; right: 10px; font-size: 1.35rem; }
  .quick-service .service-icon { width: 38px; height: 38px; margin-bottom: 9px; }
  .quick-service h2 { font-size: .8rem; line-height: 1.35; }
  .quick-service p { margin-top: 3px; font-size: .61rem; line-height: 1.45; }
  .quick-service:nth-child(3) .service-icon { margin-bottom: 0; }

  .process-intro { padding: 66px 0 54px; }
  .process-intro-grid { gap: 14px; }
  .process-intro-copy > p { font-size: .78rem; }
  .process-intro-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
  .process-intro-meta span { min-width: 0; padding: 9px 10px; font-size: .61rem; }
  .process-intro-meta strong { font-size: 1rem; }
  .process-stage { height: 100svh; min-height: 520px; }
  .process-panel-overlay {
    background:
      linear-gradient(180deg, rgba(2,17,31,.18) 0%, rgba(2,17,31,.45) 43%, rgba(2,17,31,.95) 72%, rgba(2,16,29,.99) 100%),
      linear-gradient(90deg, rgba(2,17,31,.4), transparent);
  }
  .process-panel-media img { object-position: center 34%; }
  .process-panel-content { align-items: flex-end; padding-bottom: 98px; }
  .process-card {
    width: calc(100% - 28px);
    margin-inline: auto;
    padding: 22px 20px;
    border-radius: 19px;
    backdrop-filter: blur(18px) saturate(125%);
  }
  .process-kicker { font-size: .54rem; letter-spacing: .14em; }
  .process-card-number { top: 10px; right: 15px; font-size: 4.4rem; }
  .process-card h3 { margin: 8px 0 6px; font-size: clamp(1.7rem, 8vw, 2.35rem); }
  .process-card p { font-size: .72rem; line-height: 1.62; }
  .process-tags { gap: 5px; margin-top: 14px; }
  .process-tags span { padding: 5px 8px; font-size: .51rem; }
  .process-rail {
    top: 18px;
    left: 14px;
    right: 14px;
    width: auto;
    transform: none;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
  }
  .process-rail-header { margin: 0; justify-content: flex-start; }
  .process-rail-current { font-size: 1.2rem; }
  .process-rail-line { top: auto; bottom: -9px; left: 0; right: 0; width: auto; height: 1px; transform: none; }
  .process-rail-line i { width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; }
  .process-rail-dots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
  .process-rail-dots button { width: 100%; height: 31px; border-radius: 8px; font-size: .52rem; }
  .process-scroll-hint { display: none; }
  .motion-orb { opacity: .12; }
}

@media (max-width: 430px) {
  .hero-copy-cinematic h1 { font-size: clamp(2.06rem, min(10.5vw, 6.4vh), 3rem); }
  .hero-copy-cinematic .hero-lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-copy-cinematic .button svg { width: 16px; height: 16px; }
  .process-panel-content { padding-bottom: 82px; }
  .process-card { padding: 19px 17px; }
  .process-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .process-tags span:nth-child(n+3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-aura,
  .page-progress,
  .motion-orb { display: none !important; }
  .hero-media img,
  .process-panel-media img,
  [data-graphic-layer] { transform: none !important; }
}

/* ==========================================================
   D INSPECTOR — BRAND & TRANSPARENT NAVBAR v2.4
   Transparent over hero, premium glass surface after scroll.
   ========================================================== */
:root {
  --header-expanded-height: 112px;
  --header-collapsed-height: 76px;
  --nav-glass: rgba(4, 24, 47, .88);
  --nav-border: rgba(154, 220, 255, .18);
}

html { scroll-padding-top: calc(var(--header-collapsed-height) + 18px); }

.site-header {
  position: fixed !important;
  inset: 0 0 auto !important;
  top: 0 !important;
  z-index: 1000;
  width: 100%;
  color: #fff;
  pointer-events: none;
  transition: filter .55s var(--motion-ease);
}
.site-header > * { pointer-events: auto; }

.utility-bar {
  height: 34px;
  color: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, rgba(2,14,27,.34), rgba(2,14,27,.08));
  backdrop-filter: blur(4px);
  overflow: hidden;
  transition:
    height .58s var(--motion-ease),
    opacity .35s ease,
    transform .58s var(--motion-ease),
    border-color .35s ease;
}
.utility-inner { min-height: 34px; }
.utility-actions a { color: rgba(255,255,255,.78); }
.utility-actions a:hover { color: #fff; }

.main-nav,
.main-nav.is-sticky {
  position: relative !important;
  inset: auto !important;
  height: 78px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background:
    linear-gradient(180deg, rgba(3,17,32,.23), rgba(3,17,32,.03));
  box-shadow: none;
  backdrop-filter: blur(2px);
  transition:
    height .58s var(--motion-ease),
    background .58s var(--motion-ease),
    border-color .48s ease,
    box-shadow .58s var(--motion-ease),
    backdrop-filter .58s ease;
}
.main-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background:
    radial-gradient(circle at 18% -60%, rgba(25,119,226,.25), transparent 46%),
    linear-gradient(110deg, rgba(4,20,40,.98), rgba(7,39,75,.93) 55%, rgba(4,24,48,.97));
  transition: opacity .58s var(--motion-ease);
}
.main-nav::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: min(1180px, calc(100% - 40px));
  height: 1px;
  transform: translateX(-50%) scaleX(.2);
  transform-origin: center;
  opacity: .15;
  background: linear-gradient(90deg, transparent, rgba(93,204,255,.92), rgba(255,45,58,.8), transparent);
  transition: transform .65s var(--motion-ease), opacity .45s ease;
}

.site-header.is-scrolled .utility-bar {
  height: 0;
  opacity: 0;
  transform: translateY(-100%);
  border-color: transparent;
}
.site-header.is-scrolled .main-nav,
.site-header.menu-open .main-nav {
  height: var(--header-collapsed-height);
  border-color: var(--nav-border);
  background: var(--nav-glass);
  box-shadow: 0 18px 55px rgba(0,12,28,.32), inset 0 1px rgba(255,255,255,.06);
  backdrop-filter: blur(24px) saturate(145%);
}
.site-header.is-scrolled .main-nav::before,
.site-header.menu-open .main-nav::before { opacity: 1; }
.site-header.is-scrolled .main-nav::after,
.site-header.menu-open .main-nav::after { transform: translateX(-50%) scaleX(1); opacity: .62; }

.brand-lockup {
  display: inline-grid;
  grid-template-columns: 58px 1px auto;
  align-items: center;
  gap: 15px;
  min-width: 0;
  color: #fff;
  isolation: isolate;
}
.brand-mark {
  position: relative;
  width: 58px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 24px rgba(226,19,31,.24));
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 10%;
  z-index: -1;
  border-radius: 40%;
  opacity: 0;
  background: rgba(255,31,43,.16);
  filter: blur(15px);
  transition: opacity .45s ease, transform .55s var(--motion-ease);
}
.brand-mark-svg { width: 100%; height: 100%; overflow: visible; }
.brand-divider {
  width: 1px;
  height: 43px;
  background: linear-gradient(180deg, transparent, rgba(119,199,255,.86), transparent);
  transition: height .5s var(--motion-ease), opacity .35s ease;
}
.brand-wording { min-width: 0; display: grid; line-height: 1; }
.brand-wording strong {
  display: block;
  color: #fff;
  font-family: var(--font-en);
  font-size: clamp(1.05rem, 1.5vw, 1.36rem);
  font-style: normal;
  font-weight: 800;
  letter-spacing: -.035em;
  white-space: nowrap;
  text-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.brand-wording strong > span { color: #ff2936; }
.brand-wording strong em { font-style: normal; font-weight: 700; }
.brand-wording small {
  margin-top: 7px;
  color: #31d0c8;
  font-size: .73rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  text-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.site-header.is-scrolled .brand-mark::after { opacity: 1; transform: scale(1.12); }
.site-header.is-scrolled .brand-divider { height: 35px; opacity: .8; }

.nav-menu { color: #fff; }
.nav-menu > a {
  padding: 27px 0;
  color: rgba(255,255,255,.82);
  text-shadow: 0 5px 18px rgba(0,0,0,.25);
  transition: color .25s ease, transform .25s ease;
}
.nav-menu > a::after {
  bottom: 17px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff2432, #ff5963);
  box-shadow: 0 0 16px rgba(255,39,51,.45);
}
.nav-menu > a:hover,
.nav-menu > a.is-active { color: #fff; transform: translateY(-1px); }

.nav-menu .button-primary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.48);
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 12px 30px rgba(0,0,0,.12);
  backdrop-filter: blur(10px);
}
.nav-menu .button-primary:hover {
  border-color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.14);
}
.site-header.is-scrolled .nav-menu .button-primary,
.site-header.menu-open .nav-menu .button-primary {
  border-color: rgba(255,57,68,.64);
  background: linear-gradient(135deg, #f21d2c, #da0b1b);
  box-shadow: 0 12px 28px rgba(226,14,29,.28), inset 0 1px rgba(255,255,255,.22);
}

.nav-toggle { color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; }
.nav-toggle span { background: currentColor; }

/* The header overlays the hero, so the hero owns the complete viewport. */
.hero.hero-cinematic {
  height: 100svh !important;
  min-height: 620px;
}
.hero-cinematic-inner {
  padding-top: var(--header-expanded-height);
}

.footer-brand { color: #fff; margin-bottom: 20px; }
.footer-brand .brand-mark { width: 54px; }
.footer-brand .brand-wording strong { font-size: 1.18rem; }
.footer-brand .brand-wording small { color: #45cfc7; }

@media (max-width: 1080px) {
  .brand-lockup { grid-template-columns: 50px 1px auto; gap: 12px; }
  .brand-mark { width: 50px; }
  .brand-wording strong { font-size: 1.03rem; }
  .brand-wording small { font-size: .65rem; }
  .nav-menu { gap: 17px; }
}

@media (max-width: 900px) {
  :root { --header-expanded-height: 72px; --header-collapsed-height: 66px; }
  .utility-bar { display: none; }
  .main-nav,
  .main-nav.is-sticky { height: var(--header-expanded-height); }
  .site-header.is-scrolled .main-nav,
  .site-header.menu-open .main-nav { height: var(--header-collapsed-height); }
  .brand-lockup { grid-template-columns: 46px 1px auto; gap: 10px; }
  .brand-mark { width: 46px; }
  .brand-divider { height: 32px; }
  .brand-wording strong { font-size: .94rem; }
  .brand-wording small { margin-top: 5px; font-size: .58rem; }
  .nav-menu {
    top: calc(var(--header-collapsed-height) + 10px);
    color: #fff;
    border: 1px solid rgba(117,192,236,.24);
    background:
      radial-gradient(circle at 10% 0%, rgba(18,105,190,.24), transparent 42%),
      rgba(4,24,47,.97);
    box-shadow: 0 28px 70px rgba(0,10,25,.42);
    backdrop-filter: blur(24px) saturate(145%);
  }
  .nav-menu > a { padding: 13px 14px; color: rgba(255,255,255,.82); text-shadow: none; }
  .nav-menu > a:hover { color: #fff; background: rgba(255,255,255,.08); }
  .hero-cinematic-inner { padding-top: calc(var(--header-expanded-height) + 8px); }
}

@media (max-width: 560px) {
  .brand-lockup { grid-template-columns: 42px 1px auto; gap: 8px; }
  .brand-mark { width: 42px; }
  .brand-divider { height: 28px; }
  .brand-wording strong { font-size: .84rem; }
  .brand-wording strong em { display: none; }
  .brand-wording small { font-size: .51rem; }
  .nav-inner { gap: 12px; }
  .hero.hero-cinematic { min-height: 560px; }
  .hero-cinematic-inner { padding-bottom: 92px; }
  .footer-brand { grid-template-columns: 48px 1px auto; }
  .footer-brand .brand-mark { width: 48px; }
}

@media (max-width: 390px) {
  .brand-wording small { display: none; }
  .brand-divider { height: 24px; }
  .brand-lockup { grid-template-columns: 40px 1px auto; }
  .brand-mark { width: 40px; }
}


/* ==========================================================
   D INSPECTOR — STABILITY + MAP SIMPLIFICATION v2.5.2
   Restores the v2.4.2 GSAP motion architecture and ports the
   v2.5.1 compact mobile services / premium FAQ presentation.
   ========================================================== */

/* FAQ: same visual language as the services accordion. */
.faq-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.faq-item { border: 0; }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-trigger {
  width: 100%;
  min-height: 98px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  align-items: center;
  justify-content: initial;
  gap: 16px;
  padding: 20px 24px;
  color: var(--ink);
  border: 0;
  text-align: left;
  background: #fff;
  transition: color .25s ease, background .25s ease;
}
.faq-trigger:hover { color: var(--blue-800); background: var(--blue-50); }
.faq-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  border-radius: 12px;
  background: var(--blue-50);
  transition: color .25s ease, background .25s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}
.faq-icon svg { width: 24px; height: 24px; }
.faq-trigger:hover .faq-icon,
.faq-item.is-open .faq-icon { color: #fff; background: var(--blue-700); transform: translateY(-1px); }
.faq-trigger:hover .faq-icon svg,
.faq-item.is-open .faq-icon svg { color: #fff; }
.faq-trigger-copy { min-width: 0; }
.faq-trigger-copy strong,
.faq-trigger-copy small { display: block; }
.faq-trigger-copy strong { font-size: .94rem; line-height: 1.45; }
.faq-trigger-copy small { margin-top: 3px; color: var(--muted); font-size: .73rem; font-weight: 500; }
.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: color .25s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}
.faq-trigger > .faq-chevron { transform: none; }
.faq-item.is-open .faq-trigger > .faq-chevron { color: var(--blue-700); transform: rotate(180deg); }
.faq-panel { overflow: hidden; padding: 0 24px 24px 88px; }
.faq-panel p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.75; }

/* Premium static map: visible location marker + one external action only. */
.contact-map {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 2px;
}
.contact-map-frame {
  position: relative;
  min-height: clamp(340px, 35vw, 450px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  background: #04182c;
  box-shadow: 0 28px 64px rgba(0,12,29,.34), inset 0 1px 0 rgba(255,255,255,.08);
  isolation: isolate;
}
.contact-map-frame::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  opacity: .13;
  background-image:
    linear-gradient(rgba(118,205,231,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118,205,231,.18) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(135deg, #000 0%, transparent 58%);
}
.contact-map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  filter: saturate(.96) contrast(1.02) brightness(1.04);
  transform: scale(1.015);
}
.contact-map-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(3,21,39,.62) 0%,
    rgba(3,21,39,.28) 22%,
    rgba(3,21,39,.08) 46%,
    transparent 72%
  );
}
.contact-map-focus {
  position: absolute;
  z-index: 3;
  left: 51.8%;
  top: 42.6%;
  width: clamp(140px, 14vw, 220px);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,.34) 0%, rgba(255,255,255,.26) 7%, rgba(255,255,255,.12) 14%, rgba(90,215,255,.18) 25%, rgba(90,215,255,.08) 40%, rgba(90,215,255,.04) 52%, transparent 68%);
  filter: blur(.5px);
  opacity: .98;
}
.contact-map-focus::before,
.contact-map-focus::after,
.contact-map-focus > i {
  content: '';
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.contact-map-focus::before {
  width: 56%;
  height: 56%;
  border: 1px solid rgba(255,255,255,.36);
  box-shadow: 0 0 0 14px rgba(111,220,255,.06), 0 0 38px rgba(132,223,255,.18);
}
.contact-map-focus::after {
  width: 84%;
  height: 84%;
  border: 1px solid rgba(126,217,255,.24);
}
.contact-map-focus > i {
  width: 11px;
  height: 11px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 0 0 6px rgba(255,255,255,.12), 0 0 26px rgba(255,255,255,.5);
}
.contact-map-link {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 18px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(10,95,165,.94), rgba(4,48,91,.96));
  box-shadow: 0 16px 38px rgba(0,20,47,.35), inset 0 1px 0 rgba(255,255,255,.13);
  backdrop-filter: blur(14px);
  font-size: .74rem;
  font-weight: 700;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.contact-map-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.4);
  box-shadow: 0 20px 44px rgba(0,20,47,.44), inset 0 1px 0 rgba(255,255,255,.18);
}
.contact-map-link svg { width: 17px; height: 17px; }

@media (max-width: 620px) {
  /* One-column, compact service cards. */
  .quick-services { padding: 20px 0 42px; }
  .quick-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .quick-service,
  .quick-service:nth-child(3),
  .quick-service + .quick-service {
    min-height: 82px;
    display: grid;
    grid-column: auto;
    grid-template-columns: 30px 42px minmax(0, 1fr) 18px;
    align-items: center;
    align-content: initial;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 10px 28px rgba(6,37,63,.08);
  }
  .quick-service:active { transform: scale(.985); }
  .quick-service .service-number,
  .quick-service:nth-child(3) .service-number {
    position: static;
    align-self: start;
    padding-top: 3px;
    color: #cbdbe6;
    font-size: 1.15rem;
  }
  .quick-service .service-icon,
  .quick-service:nth-child(3) .service-icon {
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 12px;
  }
  .quick-service .service-icon svg { width: 22px; height: 22px; }
  .quick-service > div { min-width: 0; }
  .quick-service h2 {
    overflow: hidden;
    margin: 0;
    font-size: .88rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .quick-service p {
    overflow: hidden;
    margin-top: 2px;
    font-size: .68rem;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .quick-service .service-arrow {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: 0;
  }

  .faq-grid { gap: 28px; }
  .faq-trigger {
    min-height: 82px;
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    gap: 12px;
    padding: 14px 15px;
  }
  .why-list article { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 20px 16px; }
  .faq-icon { width: 40px; height: 40px; border-radius: 11px; }
  .faq-icon svg { width: 21px; height: 21px; }
  .faq-trigger-copy strong { font-size: .84rem; line-height: 1.45; }
  .faq-trigger-copy small { display: none; }
  .faq-chevron { width: 18px; height: 18px; }
  .faq-panel { padding: 0 16px 18px; }
  .faq-panel p { font-size: .76rem; line-height: 1.7; }

  .contact-map { margin-top: -2px; }
  .contact-map-frame { min-height: 350px; border-radius: 18px; }
  .contact-map-focus { left: 53%; top: 44%; width: clamp(110px, 30vw, 160px); }
  .contact-map-link { right: 12px; bottom: 12px; min-height: 42px; padding: 0 14px; }
}

@media (max-width: 360px) {
  .quick-service,
  .quick-service:nth-child(3),
  .quick-service + .quick-service {
    grid-template-columns: 26px 38px minmax(0, 1fr) 16px;
    gap: 8px;
    padding: 11px 12px;
  }
  .quick-service .service-icon { width: 38px; height: 38px; }
  .quick-service h2 { font-size: .82rem; }
  .quick-service p { font-size: .64rem; }
  .faq-trigger { grid-template-columns: 38px minmax(0, 1fr) 16px; gap: 10px; padding-inline: 12px; }
  .faq-icon { width: 38px; height: 38px; }
}


/* ==========================================================
   D INSPECTOR — PREMIUM NAVY FOOTER v2.5.3
   Matches the scrolled header tone and restores contrast for
   the footer brand, navigation, contact details and copyright.
   ========================================================== */


/* Floating back-to-top — minimal, premium and independent from footer flow. */
/* ==========================================================
   MINIMAL FLOATING BACK TO TOP
   ========================================================== */

.back-to-top {
  position: fixed;
  z-index: 88;
  right: 22px;
  bottom: 22px;

  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;

  color: #0a65aa;
  border: 1px solid rgba(8, 91, 153, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);

  box-shadow:
    0 6px 20px rgba(3, 25, 48, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);

  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  color: #ffffff;
  border-color: #096ab2;
  background: #096ab2;
  box-shadow: 0 8px 24px rgba(5, 89, 151, 0.2);
  transform: translateY(-2px);
}

.back-to-top:active {
  transform: translateY(0) scale(0.96);
}

.back-to-top:focus-visible {
  outline: 2px solid rgba(24, 148, 220, 0.45);
  outline-offset: 3px;
}

.back-to-top svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

/* Mobile: วางเหนือแถบ CTA ด้านล่าง */
@media (max-width: 760px) {
  .back-to-top {
    z-index: 91;
    right: 12px;
    bottom: calc(74px + env(safe-area-inset-bottom));
    width: 38px;
    height: 38px;
  }

  .back-to-top svg {
    width: 15px;
    height: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition:
      opacity 0.15s ease,
      visibility 0.15s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity .15s ease, visibility .15s ease; }
}
