/* =========================================================
   Southern Comfort Solutions, Inc. — site styles
   Brand: red → blue gradient, navy, frost blue, yellow accent
   ========================================================= */
:root {
  --red: #ae3b38;
  --red-bright: #d84a43;
  --navy: #114889;
  --navy-deep: #0a2e5c;
  --slate: #5b6387;
  --frost: #9cc9f0;
  --frost-soft: #dcecfb;
  --yellow: #fdf60b;
  --yellow-soft: #f3e94a;
  --ink: #07111f;
  --ink-2: #0d1b30;
  --ink-3: #142742;
  --text: #1c2536;
  --muted: #5d6a80;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --brand-grad: linear-gradient(135deg, #ae3b38 0%, #7d4a6e 45%, #114889 100%);
  --brand-grad-v: linear-gradient(180deg, #ae3b38 0%, #5b6387 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(7, 17, 31, .25);
  --shadow-lg: 0 30px 60px -20px rgba(7, 17, 31, .45);
  --container: 1200px;
  --font-head: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .6em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 650; }
p { margin: 0 0 1.1em; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 999; background: var(--yellow); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--frost); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--red);
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.5rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 650; font-size: 1.02rem; letter-spacing: .01em;
  border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--red-bright), var(--red)); color: #fff; box-shadow: 0 12px 28px -10px rgba(216, 74, 67, .7); }
.btn-primary:hover { color: #fff; box-shadow: 0 18px 34px -10px rgba(216, 74, 67, .85); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-ghost:hover { color: var(--ink); background: #fff; border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 12px 28px -12px rgba(253,246,11,.6); }
.btn-yellow:hover { color: var(--ink); background: #fff35c; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #b9c6da; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .5rem; }
.topbar a { color: #dfe8f5; }
.topbar a:hover { color: var(--yellow); }
.topbar-licenses { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.topbar-licenses span b { color: #fff; font-weight: 600; }
.topbar-right { display: flex; gap: 1.25rem; align-items: center; }
.topbar-right a { display: inline-flex; gap: .4rem; align-items: center; }
.badge-li { color: var(--yellow); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .74rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 17, 31, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(7, 17, 31, .95); box-shadow: 0 10px 30px -15px rgba(0,0,0,.6); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand-grad); opacity: .9; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 84px; }
.brand { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.brand img { width: clamp(240px, 27vw, 340px); height: auto; filter: drop-shadow(0 0 1px rgba(255,255,255,.35)) drop-shadow(0 2px 10px rgba(156, 201, 240, .3)); }
.brand-sub { font-family: var(--font-head); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #c7d4e8; display: flex; gap: .5rem; align-items: center; }
.brand-sub em { font-style: normal; color: var(--yellow); }
.nav-links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #dbe5f3; font-family: var(--font-head); font-weight: 500; padding: .55rem .9rem; border-radius: 999px; position: relative; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-links a[aria-current="page"] { color: #fff; background: rgba(156,201,240,.14); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--yellow); }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; color: #fff; }
.nav-phone small { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--frost); display: flex; align-items: center; gap: .35rem; }
.nav-phone strong { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; letter-spacing: .01em; }
.nav-phone:hover { color: var(--yellow); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.drawer-cta { display: none; }
.menu-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; border-radius: 12px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 16px; } .menu-toggle span:nth-child(2) { top: 22px; } .menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(17,72,137,.65), transparent 60%),
              radial-gradient(900px 500px at -10% 110%, rgba(174,59,56,.45), transparent 60%),
              linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #e7eef8;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(5rem, 10vw, 8rem);
}
#airflow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero::before { /* fine grid */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--frost); margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand-grad); border-radius: 2px; }
.eyebrow.on-light { color: var(--red); }
.hero h1 { color: #fff; margin-bottom: .45em; }
.grad-text {
  background: linear-gradient(100deg, #ff8a7a 0%, #f2b8c6 30%, var(--frost) 60%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto; animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #b8c7dc; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 2.2rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.hero-tags li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: .86rem; color: #dbe6f5; }
.hero-tags .icon { color: var(--frost); width: 1em; height: 1em; }

.hero-visual { position: relative; aspect-ratio: 1 / 1.02; max-width: 540px; justify-self: end; width: 100%; }
.hero-card {
  position: absolute; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12);
  transition: transform .6s var(--ease);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card figcaption { position: absolute; left: .8rem; bottom: .8rem; padding: .35rem .7rem; border-radius: 999px; background: rgba(7,17,31,.72); backdrop-filter: blur(6px); color: #fff; font-size: .78rem; font-weight: 500; }
.hero-card.c1 { width: 70%; height: 58%; top: 0; right: 0; transform: rotate(2deg); }
.hero-card.c2 { width: 56%; height: 46%; bottom: 4%; left: 0; transform: rotate(-3deg); }
.hero-card.c3 { width: 42%; height: 36%; bottom: 0; right: 4%; transform: rotate(4deg); }
.hero-visual:hover .c1 { transform: rotate(0) translateY(-6px); }
.hero-visual:hover .c2 { transform: rotate(-1deg) translateX(-6px); }
.hero-visual:hover .c3 { transform: rotate(1deg) translateY(6px); }

.badge-24 {
  position: absolute; left: 6%; top: 8%; z-index: 3;
  width: 132px; height: 132px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #fffb7a, var(--yellow) 55%, #d9cf00);
  color: var(--ink); box-shadow: 0 18px 40px -12px rgba(253, 246, 11, .55), inset 0 -6px 14px rgba(0,0,0,.12);
  font-family: var(--font-head);
}
.badge-24 strong { display: block; font-size: 2.6rem; line-height: .9; font-weight: 800; }
.badge-24 span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.25; }
.badge-24 svg.ring { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); animation: spin 18s linear infinite; }
.badge-24 svg.ring text { font-size: 9.2px; letter-spacing: 2.6px; fill: var(--yellow); font-weight: 700; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; color: var(--bg); }
.hero-wave svg { width: 100%; height: 100%; display: block; }

/* ---------- Ticker ---------- */
.ticker { background: var(--brand-grad); color: #fff; overflow: hidden; padding: .9rem 0; position: relative; }
.ticker-track { display: flex; gap: 3rem; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: .8rem; font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; white-space: nowrap; }
.ticker-track span::after { content: "❄"; color: var(--frost-soft); opacity: .8; margin-left: 2.2rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); color: #c9d6e8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #9fb1ca; }

/* intro split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-media { position: relative; }
.split-media .frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.split-media .frame.small { position: absolute; width: 46%; aspect-ratio: 5/4; right: -6%; bottom: -12%; border: 6px solid #fff; }
.floating-stat {
  position: absolute; left: -6%; top: 10%;
  background: #fff; border-radius: var(--radius-sm); padding: 1rem 1.2rem; box-shadow: var(--shadow);
  display: flex; gap: .8rem; align-items: center; animation: bob 6s ease-in-out infinite;
}
.floating-stat strong { font-family: var(--font-head); font-size: 1.9rem; line-height: 1; color: var(--navy); display: block; }
.floating-stat span { font-size: .8rem; color: var(--muted); line-height: 1.3; display: block; }
.floating-stat .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-grad); color: #fff; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist .icon { color: #fff; background: var(--navy); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 1px; }
.checklist.two { grid-template-columns: 1fr 1fr; }
.address-card {
  display: grid; grid-template-columns: auto 1fr; gap: .9rem 1rem; align-items: center;
  padding: 1.3rem 1.4rem; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line); margin-top: 1.5rem; font-size: .95rem;
}
.address-card .icon { color: var(--red); }

/* services grid */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: .9rem;
  padding: 1.5rem 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  color: var(--text); overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, color .35s;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand-grad); opacity: 0; transition: opacity .35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: #fff; }
.service-card:hover::before { opacity: 1; }
.service-card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(174,59,56,.1), rgba(17,72,137,.12)); color: var(--navy); transition: background .35s, color .35s;
}
.service-card .ic .icon { width: 26px; height: 26px; }
.service-card:hover .ic { background: rgba(255,255,255,.16); color: #fff; }
.service-card h3 { font-size: 1.05rem; margin: 0; color: inherit; }
.service-card .more { margin-top: auto; font-size: .85rem; font-weight: 600; display: inline-flex; gap: .35rem; align-items: center; color: var(--red); transition: color .35s, gap .25s; }
.service-card:hover .more { color: var(--yellow); gap: .6rem; }
.service-card.feature { grid-column: span 2; background: var(--ink-2); color: #dbe6f5; border-color: transparent; }
.service-card.feature h3 { font-size: 1.35rem; color: #fff; }
.service-card.feature p { color: #9fb1ca; margin: 0; font-size: .95rem; }
.service-card.feature .ic { background: var(--yellow); color: var(--ink); }
.service-card.feature:hover p { color: #f1f5fb; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.stat { background: var(--ink-2); padding: 2.2rem 1.4rem; text-align: center; position: relative; transition: background .3s; }
.stat:hover { background: var(--ink-3); }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 4.6vw, 3.8rem); line-height: 1; color: #fff; display: block; margin-bottom: .6rem; }
.stat-num .unit { background: linear-gradient(135deg, #ff8a7a, var(--frost)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { margin: 0; color: #a9bad2; font-size: .95rem; line-height: 1.45; }
.stat::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; background: var(--brand-grad); border-radius: 0 0 4px 4px; }

/* sectors */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.sector { border-radius: var(--radius); padding: 1.8rem 1.5rem; background: #fff; border: 1px solid var(--line); text-align: left; transition: transform .3s var(--ease), box-shadow .3s; }
.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sector .ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-grad); color: #fff; margin-bottom: 1rem; }
.sector .ic .icon { width: 26px; height: 26px; }
.sector h3 { margin-bottom: .35rem; }
.sector p { color: var(--muted); font-size: .93rem; margin: 0; }

/* gallery */
.gallery { columns: 3 280px; column-gap: 1rem; }
.gallery-item {
  break-inside: avoid; margin: 0 0 1rem; position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in;
  display: block; width: 100%; padding: 0; border: 0; background: var(--ink); text-align: left;
}
.gallery-item img { width: 100%; height: auto; transition: transform .6s var(--ease), opacity .4s; }
.gallery-item:hover img { transform: scale(1.06); opacity: .85; }
.gallery-item .cap {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem .9rem; color: #fff; font-size: .92rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(7,17,31,.85)); transform: translateY(30%); opacity: 0; transition: .35s var(--ease);
}
.gallery-item .cap small { display: block; font-weight: 500; color: var(--frost); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.gallery-item:hover .cap, .gallery-item:focus-visible .cap { transform: none; opacity: 1; }
.gallery-item.hide { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter { border: 1px solid var(--line); background: #fff; color: var(--text); padding: .55rem 1.05rem; border-radius: 999px; font: 600 .9rem var(--font-head); cursor: pointer; transition: .25s; }
.filter:hover { border-color: var(--navy); color: var(--navy); }
.filter.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 1rem; }
.preview-grid .gallery-item { margin: 0; height: 100%; }
.preview-grid .gallery-item img { height: 100%; object-fit: cover; }
.preview-grid .tall { grid-row: span 2; }
.preview-grid .wide { grid-column: span 2; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(4, 10, 20, .94); display: none; align-items: center; justify-content: center; padding: 4rem 1rem; }
.lightbox.open { display: flex; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: #dbe6f5; margin-top: 1rem; font-weight: 500; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px); padding: clamp(2.5rem, 5vw, 4rem); background: var(--brand-grad); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%); z-index: -1; }
.cta-band::after { content: "❄"; position: absolute; right: 6%; bottom: -60px; font-size: 220px; line-height: 1; color: rgba(255,255,255,.08); z-index: -1; animation: spin 40s linear infinite; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #dbe6f5;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4.5rem, 9vw, 7rem);
  background: radial-gradient(900px 400px at 90% 0%, rgba(17,72,137,.7), transparent 60%),
              radial-gradient(700px 400px at 0% 100%, rgba(174,59,56,.5), transparent 60%),
              var(--ink);
}
.page-hero .bg-photo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .18; filter: grayscale(.3); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: .3em; }
.page-hero p { max-width: 640px; font-size: 1.12rem; color: #b8c7dc; margin: 0; }
.breadcrumb { display: flex; gap: .5rem; font-size: .85rem; color: #8ea3c0; margin-bottom: 1rem; list-style: none; padding: 0; }
.breadcrumb a { color: var(--frost); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: #4d6080; }

/* services detail page */
.svc-list { display: grid; gap: 1.25rem; }
.svc {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 1.3rem; align-items: start;
  padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  scroll-margin-top: 110px; transition: box-shadow .3s, border-color .3s;
}
.svc:hover { box-shadow: var(--shadow); }
.svc:target { border-color: var(--red); box-shadow: 0 0 0 4px rgba(174,59,56,.12), var(--shadow); }
.svc .ic { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-grad); color: #fff; }
.svc .ic .icon { width: 30px; height: 30px; }
.svc h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.svc p { color: var(--muted); margin: 0; }
.svc-thumbs { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.svc-thumbs .gallery-item { width: 110px; height: 82px; margin: 0; }
.svc-thumbs .gallery-item img { height: 100%; object-fit: cover; }
.svc .tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; background: rgba(174,59,56,.1); color: var(--red); white-space: nowrap; }
.svc-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
.svc-nav { position: sticky; top: 110px; background: var(--bg-soft); border-radius: var(--radius); padding: 1.2rem; border: 1px solid var(--line); }
.svc-nav h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: .3rem .5rem .8rem; }
.svc-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 60vh; overflow: auto; }
.svc-nav a { display: block; padding: .45rem .6rem; border-radius: 8px; color: var(--text); font-size: .88rem; line-height: 1.35; }
.svc-nav a:hover, .svc-nav a.active { background: #fff; color: var(--red); }
.svc-nav .btn { width: 100%; justify-content: center; margin-top: 1rem; }

/* prose */
.prose p { font-size: 1.05rem; color: #3a465a; }
.prose .lead { font-size: 1.25rem; color: var(--ink); font-weight: 500; line-height: 1.55; }
blockquote.pull {
  margin: 2rem 0; padding: 1.8rem 2rem; border-radius: var(--radius); background: var(--ink-2); color: #e7eef8; position: relative;
  font-family: var(--font-head); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.45; font-weight: 500;
}
blockquote.pull::before { content: "“"; position: absolute; top: -.4rem; left: 1rem; font-size: 5rem; line-height: 1; color: var(--red-bright); opacity: .8; }
blockquote.pull cite { display: block; margin-top: .8rem; font-size: .85rem; font-style: normal; color: var(--frost); letter-spacing: .06em; }

/* why-us big list */
.why-list { display: grid; gap: 1.1rem; counter-reset: why; }
.why-item { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; align-items: center; padding: 2rem 2.2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.why-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.why-item .stat-num { color: var(--navy); margin: 0; }
.why-item .stat-num .unit { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-item h3 { font-size: 1.4rem; margin: 0 0 .3rem; }
.why-item p { margin: 0; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 1.4rem; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); color: var(--text); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.contact-card .ic { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--brand-grad); color: #fff; }
.contact-card small { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-card strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); font-weight: 650; }
.contact-card span { display: block; color: var(--muted); font-size: .93rem; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form-card { background: #fff; border-radius: calc(var(--radius) + 4px); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; }
.form-card h3 { font-size: 1.5rem; margin-bottom: .25rem; }
.form-card > p { color: var(--muted); margin-bottom: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); padding: .85rem 1rem; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg-soft); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(17,72,137,.12); }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.field .err { color: var(--red); font-size: .8rem; display: none; }
.field.invalid .err { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .8rem; color: var(--muted); margin: .8rem 0 0; }
.form-status { display: none; margin-top: 1rem; padding: .9rem 1rem; border-radius: 12px; font-weight: 500; font-size: .95rem; }
.form-status.ok { display: block; background: #e8f8ef; color: #17643a; border: 1px solid #b9e8cc; }
.form-status.bad { display: block; background: #fdeceb; color: #8f2723; border: 1px solid #f5c6c3; }
.form-card .btn { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .7; pointer-events: none; }

/* quick contact (site-wide, above footer) */
.quick-contact { background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 50%, var(--ink) 50%); padding-top: clamp(3rem, 6vw, 5rem); }
.quick-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow-lg); }
.quick-info { background: var(--brand-grad); color: #fff; padding: clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; isolation: isolate; }
.quick-info::after { content: ""; position: absolute; inset: auto -80px -120px auto; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255,255,255,.07); z-index: -1; }
.quick-info h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.quick-info p { color: rgba(255,255,255,.85); }
.quick-info .big-phone { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--font-head); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; color: #fff; margin: .4rem 0 1.4rem; }
.quick-info .big-phone:hover { color: var(--yellow); }
.quick-info ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; font-size: .95rem; }
.quick-info li { display: flex; gap: .7rem; align-items: flex-start; }
.quick-info li .icon { color: var(--yellow); margin-top: 3px; }
.quick-info a { color: #fff; }
.quick-wrap .form-card { border-radius: 0; box-shadow: none; border: 0; }

/* footer */
.site-footer { background: var(--ink); color: #9fb1ca; padding: clamp(3rem, 6vw, 5rem) 0 2rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-brand img { width: 270px; height: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 32ch; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: #c9d6e8; }
.site-footer a:hover { color: var(--yellow); }
.licenses { display: grid; gap: .4rem; font-size: .85rem; }
.licenses b { color: #fff; font-weight: 600; }
.lic-badge { display: inline-flex; align-items: center; gap: .5rem; margin-top: .8rem; padding: .45rem .85rem; border-radius: 999px; border: 1px solid rgba(253,246,11,.35); color: var(--yellow); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; color: #6f84a3; }

/* mobile call bar */
.mobile-call { display: none; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links a { padding: .5rem .65rem; font-size: .95rem; }
  .nav-phone { display: none; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .topbar-licenses span:nth-child(n+3) { display: none; }
  .menu-toggle { display: block; }
  /* backdrop-filter would trap the fixed drawer inside the header, so use a solid bar on small screens */
  .site-header, .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7, 17, 31, .97); }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 380px); height: 100dvh; padding: 6rem 1.5rem 2rem;
    flex-direction: column; align-items: stretch; gap: .3rem; background: var(--ink); box-shadow: -20px 0 60px rgba(0,0,0,.5);
    transform: translateX(105%); transition: transform .4s var(--ease); z-index: 90; overflow-y: auto;
  }
  .nav-links a { font-size: 1.25rem; padding: .9rem 1rem; border-radius: 12px; }
  .nav-links a[aria-current="page"]::after { left: auto; right: 1rem; top: 50%; margin-top: -2.5px; bottom: auto; }
  .menu-open .nav-links { transform: none; }
  .drawer-cta { display: grid; gap: .6rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); text-align: center; color: var(--frost); font-size: .85rem; }
  .nav-links .drawer-cta a.btn { justify-content: center; color: #fff; font-size: 1.05rem; padding: .95rem 1.2rem; border-radius: 999px; }
  .menu-toggle { z-index: 95; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 80; }
  .menu-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  .nav-cta .btn { display: none; }
  .hero-grid, .split, .contact-grid, .quick-wrap, .svc-layout { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 480px; margin-top: 1rem; }
  .split-media { margin-bottom: 3rem; }
  .split-media .frame.small { right: 0; }
  .floating-stat { left: 0; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .svc-nav { display: none; }
  .preview-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .why-item { grid-template-columns: 1fr; gap: .6rem; padding: 1.6rem; }
  .mobile-call {
    display: flex; position: fixed; z-index: 120; left: .75rem; right: .75rem; bottom: .75rem; gap: .6rem;
    padding: .5rem; border-radius: 999px; background: rgba(7,17,31,.92); backdrop-filter: blur(10px); box-shadow: 0 14px 40px -10px rgba(0,0,0,.6);
    transform: translateY(150%); transition: transform .4s var(--ease);
  }
  .mobile-call.show { transform: none; }
  .mobile-call a { flex: 1; justify-content: center; padding: .8rem 1rem; font-size: .95rem; }
  .site-footer { padding-bottom: 6rem; }
}
@media (max-width: 640px) {
  body { font-size: .98rem; }
  .topbar-right .t-mail { display: none; }
  .topbar-licenses .badge-li { display: none; }
  .topbar .container { font-size: .76rem; gap: .6rem; }
  .nav { height: 68px; }
  .brand img { width: min(250px, calc(100vw - 110px)); }
  .brand-sub { font-size: .56rem; letter-spacing: .07em; white-space: nowrap; gap: .3rem; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .service-card { padding: 1.1rem; }
  .service-card .ic { width: 44px; height: 44px; }
  .service-card h3 { font-size: .95rem; }
  .service-card.feature { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:last-child { grid-column: 1 / -1; }
  .sectors { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .sector { padding: 1.3rem 1.1rem; }
  .checklist.two, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .svc { grid-template-columns: 1fr; padding: 1.3rem; gap: .9rem; }
  .svc .ic { width: 52px; height: 52px; }
  .svc .tag { justify-self: start; }
  .badge-24 { width: 104px; height: 104px; left: 0; top: 2%; }
  .badge-24 strong { font-size: 2rem; }
  .badge-24 span { font-size: .6rem; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .cta-actions .btn { flex: 1 1 100%; justify-content: center; }
  .address-card { grid-template-columns: auto 1fr; }
}
@media (max-width: 380px) {
  .services-grid, .sectors { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .mobile-call, .quick-contact, #airflow, .ticker { display: none !important; }
}
