/*
Theme Name: Cloud 9 Solutions
Theme URI: https://www.cloud9solutions.com/
Author: Cloud 9 Solutions
Description: Modern, fast, dependency-free theme for Cloud 9 Solutions — honest IT support and technology management.
Version: 1.0.2
Requires at least: 6.4
Requires PHP: 8.1
License: Proprietary
Text Domain: cloud9
*/

/* ---------- Tokens ---------- */
:root {
  --blue: #242cac;          /* Cloud 9 brand royal blue (original site color_1) */
  --blue-600: #1c2390;
  --blue-400: #444cd8;
  --periwinkle: #8288e5;
  --lavender: #c1c3f2;
  --mist: #f4f5fd;
  --navy: #0d0f2e;
  --navy-2: #161a4a;
  --ink: #1e2149;           /* original color_20 */
  --body: #474b6e;
  --muted: #6a6a8e;
  --line: #e3e5f4;
  --silver: #d7d9e8;
  --sky: #7fccf7;
  --white: #ffffff;
  --ok: #34d399;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(20, 24, 80, .06), 0 12px 32px -12px rgba(20, 24, 80, .18);
  --shadow-lg: 0 30px 80px -30px rgba(13, 15, 46, .45);
  --wrap: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--periwinkle); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg);
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(36, 44, 172, .7); background: var(--blue-600); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-light { --bg: var(--white); --fg: var(--blue); }
.btn-light:hover { background: var(--mist); color: var(--blue); }
.btn-ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); box-shadow: none; }
.btn-outline { --bg: transparent; --fg: var(--blue); border-color: var(--lavender); }
.btn-outline:hover { background: var(--mist); color: var(--blue); box-shadow: none; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header .bar { display: flex; align-items: center; gap: 24px; height: 78px; transition: height .25s ease; }
.site-header.is-scrolled, .site-header.is-solid, body.nav-open .site-header {
  background: rgba(13, 15, 46, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.site-header.is-scrolled .bar { height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); margin-right: auto; }
.brand:hover { color: var(--white); }
.brand img { width: 44px; height: 44px; filter: drop-shadow(0 4px 12px rgba(36,44,172,.55)); }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-size: 1.08rem; font-weight: 800; letter-spacing: .02em; }
.brand-name span { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--lavender); margin-top: 5px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a { white-space: nowrap;
  display: block; padding: 8px 14px; border-radius: 999px;
  color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { color: var(--white); text-decoration: none; font-weight: 700; font-size: .95rem; display: inline-flex; gap: 8px; align-items: center; padding: 8px 6px; }
.header-phone:hover { color: var(--lavender); }
.header-phone svg { width: 16px; height: 16px; }
.btn-sos { --bg: rgba(255,255,255,.1); --fg: var(--white); border-color: rgba(193,195,242,.45); }
.btn-sos:hover { background: var(--white); color: var(--blue); }
.btn-sos .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2);
  background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s ease, background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: rgba(255,255,255,.8);
  padding: 150px 0 110px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(800px 500px at 78% 40%, rgba(36,44,172,.85), transparent 65%),
    radial-gradient(600px 400px at 10% 110%, rgba(130,136,229,.35), transparent 60%),
    radial-gradient(500px 300px at 95% -10%, rgba(127,204,247,.25), transparent 60%),
    linear-gradient(180deg, #0b0d29 0%, #12164a 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--lavender); }
.hero h1 { color: var(--white); margin: 18px 0 22px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #c1c3f2, #7fccf7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: rgba(255,255,255,.78); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 34px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: .95rem; font-weight: 600; color: rgba(255,255,255,.85); }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; }
.hero-points svg { width: 18px; height: 18px; color: var(--sky); flex: none; }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 500px; width: 100%; justify-self: end; }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(193,195,242,.22); }
.orbit.o2 { inset: 13%; border-style: dashed; border-color: rgba(193,195,242,.2); animation: spin 60s linear infinite; }
.orbit.o3 { inset: 26%; background: radial-gradient(circle, rgba(130,136,229,.35), transparent 70%); border: 0; }
.orbit .dot { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 18px var(--sky); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-emblem {
  position: absolute; inset: 30%; display: grid; place-items: center;
  filter: drop-shadow(0 24px 50px rgba(36,44,172,.8)) drop-shadow(0 0 40px rgba(130,136,229,.45));
  animation: float 7s ease-in-out infinite;
}
.hero-emblem img { width: 100%; height: auto; }
@keyframes float { 50% { transform: translateY(-10px); } }
.status-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px; min-width: 200px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--white); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
  font-size: .86rem; line-height: 1.3;
}
.status-card small { display: block; color: rgba(255,255,255,.6); font-size: .74rem; font-weight: 500; }
.status-card strong { font-weight: 700; }
.status-card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(52,211,153,.16); color: var(--ok); flex: none; }
.status-card .ic svg { width: 18px; height: 18px; }
.status-card.c1 { top: 8%; left: -6%; animation: float 8s ease-in-out infinite; }
.status-card.c2 { top: 46%; right: -8%; animation: float 9s ease-in-out -2s infinite; }
.status-card.c3 { bottom: 6%; left: 4%; animation: float 7.5s ease-in-out -4s infinite; }
.status-card.c2 .ic { background: rgba(127,204,247,.16); color: var(--sky); }
.status-card.c3 .ic { background: rgba(193,195,242,.18); color: var(--lavender); }

/* Trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 28px 20px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--mist); color: var(--blue); display: grid; place-items: center; flex: none; }
.trust-item .ic svg { width: 22px; height: 22px; }
.trust-item strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.trust-item span { font-size: .86rem; color: var(--muted); line-height: 1.35; display: block; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section.tint { background: var(--mist); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 28px; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--periwinkle), var(--sky));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--lavender); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--blue), var(--blue-400)); color: var(--white);
  box-shadow: 0 12px 24px -12px rgba(36,44,172,.8);
}
.service-card .ic svg { width: 26px; height: 26px; }
.service-card .kicker { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--periwinkle); margin-bottom: 6px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: .96rem; margin-bottom: 18px; }
.service-card ul { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); font-size: .9rem; display: grid; gap: 7px; }
.service-card li { display: flex; gap: 9px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.service-card li svg { width: 16px; height: 16px; margin-top: 4px; color: var(--blue); flex: none; }

/* About split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-panel {
  position: relative; border-radius: 28px; padding: 44px;
  background: linear-gradient(150deg, var(--blue) 0%, #1a1f7a 60%, var(--navy) 100%);
  color: rgba(255,255,255,.82); overflow: hidden; box-shadow: var(--shadow-lg);
}
.about-panel::after {
  content: ""; position: absolute; width: 380px; height: 380px; right: -120px; bottom: -140px;
  background: url("assets/logo-emblem-400.webp") center / contain no-repeat; opacity: .12;
}
.about-panel blockquote { margin: 0; font-size: 1.32rem; line-height: 1.5; color: var(--white); font-weight: 600; letter-spacing: -0.01em; position: relative; z-index: 1; }
.about-panel blockquote::before { content: "\201C"; display: block; font-size: 4.5rem; line-height: .6; color: var(--lavender); margin-bottom: 18px; font-family: Georgia, serif; }
.about-panel .sig { margin-top: 28px; display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.about-panel .sig img { width: 46px; height: 46px; }
.about-panel .sig strong { color: var(--white); display: block; line-height: 1.2; }
.about-panel .sig span { font-size: .86rem; }
.values { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.values li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.values .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--mist); color: var(--blue); display: grid; place-items: center; }
.values .ic svg { width: 22px; height: 22px; }
.values strong { color: var(--ink); display: block; margin-bottom: 2px; }
.values p { margin: 0; font-size: .96rem; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; position: relative; }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; counter-increment: step; }
.step::before {
  content: "0" counter(step);
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  font-weight: 800; color: var(--blue); background: var(--mist); border: 1px solid var(--lavender); margin-bottom: 20px;
}
.step p { margin: 0; font-size: .98rem; }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.industry { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.industry:hover { border-color: var(--lavender); transform: translateY(-3px); }
.industry .ic { width: 42px; height: 42px; color: var(--blue); }
.industry strong { color: var(--ink); font-size: 1.02rem; }
.industry span { font-size: .92rem; color: var(--muted); line-height: 1.5; }

/* SOS band */
.sos-band { padding: 110px 0 0; }
.sos-inner {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center;
  padding: 44px 48px; border-radius: 28px;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 45%, var(--blue) 100%);
  color: rgba(255,255,255,.8); box-shadow: var(--shadow-lg);
}
.sos-inner::after { content: ""; position: absolute; z-index: -1; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(127,204,247,.35), transparent 70%); }
.sos-badge { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: var(--white); }
.sos-badge svg { width: 36px; height: 36px; }
.sos-inner h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.sos-inner p { margin: 0; max-width: 620px; }
.sos-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list a, .contact-list div {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center;
  padding: 16px 18px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s;
}
.contact-list a:hover { border-color: var(--lavender); transform: translateX(3px); color: var(--ink); }
.contact-list .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--mist); color: var(--blue); display: grid; place-items: center; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.contact-list strong { font-weight: 700; word-break: break-word; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--blue); }
.socials a:hover { border-color: var(--blue); }
.socials svg { width: 20px; height: 20px; }

.quote-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 38px; box-shadow: var(--shadow-lg); }
.quote-card h3 { font-size: 1.5rem; }
.quote-card > p { font-size: .98rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 700; color: var(--ink); }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: #fbfbff;
  transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(36,44,172,.12); }
.check { grid-column: 1 / -1; display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: .84rem; line-height: 1.5; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { color: var(--muted); font-size: .84rem; }
.notice { border-radius: 14px; padding: 14px 18px; font-weight: 600; margin-top: 20px; font-size: .96rem; }
.notice.ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.notice.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.65); padding: 80px 0 30px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .brand { margin-bottom: 18px; }
.footer-bottom { margin-top: 60px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }

/* Mobile call bar */
.mobile-bar { display: none; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--navy); padding: 150px 0 70px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 360px at 85% 20%, rgba(36,44,172,.8), transparent 65%), linear-gradient(180deg, #0b0d29, #12164a); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin: 14px 0 0; }
.page-hero .eyebrow { color: var(--lavender); }
.prose { max-width: 780px; margin-inline: auto; padding: 70px 0 100px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .header-phone span { display: none; }
}
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 66px 0 auto; background: rgba(13,15,46,.97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    padding: 16px 20px 26px; border-top: 1px solid rgba(255,255,255,.08);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .22s ease;
  }
  body.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 14px 12px; font-size: 1.05rem; border-radius: 10px; }
  .site-header .bar { height: 66px; }
  .header-phone { display: none; }
  .hero { padding: 120px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { justify-self: center; max-width: 420px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .sos-inner { grid-template-columns: 1fr; text-align: left; padding: 36px 28px; }
  .sos-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 84px 0; }
  .sos-band { padding-top: 84px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .btn-sos .label-long { display: none; }
  .brand-name span { display: none; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .status-card { min-width: 0; font-size: .78rem; padding: 10px 12px; }
  .status-card .ic { width: 28px; height: 28px; }
  .status-card.c1 { left: -2%; }
  .status-card.c2 { right: -2%; }
  .services-grid, .industries { grid-template-columns: 1fr; }
  .trust .wrap { grid-template-columns: 1fr; }
  .trust-item { padding: 18px 4px; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .about-panel, .quote-card { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sos-band { padding-top: 84px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; inset: auto 0 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(13,15,46,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .mobile-bar .btn { min-height: 48px; padding: 0 12px; font-size: .95rem; }
}

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

/* Keep floating status cards inside the hero frame on mid-size screens. */
@media (max-width: 1320px) {
  .status-card.c1 { left: 0; }
  .status-card.c2 { right: 0; }
}
