/* =========================================================
   Cyberfocus LLC — Modern theme
   Brand: teal (#14586b) + orange (#ef7622)
   ========================================================= */

:root {
  --bg: #07171e;
  --bg-2: #0a212b;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);

  --teal: #19c6c1;
  --teal-deep: #14586b;
  --orange: #ef7622;
  --orange-soft: #ff9248;

  --text: #eaf3f5;
  --muted: #9fb4bd;
  --muted-2: #7f97a1;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --maxw: 1180px;
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 0 1px rgba(25, 198, 193, 0.18), 0 22px 60px -22px rgba(25, 198, 193, 0.25);
  --grad: linear-gradient(120deg, var(--teal) 0%, #2bd4cf 45%, var(--orange) 100%);
  --grad-orange: linear-gradient(120deg, var(--orange) 0%, var(--orange-soft) 100%);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }

/* Ambient background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(25, 198, 193, 0.16), transparent 60%),
    radial-gradient(800px 600px at 95% 0%, rgba(239, 118, 34, 0.14), transparent 55%),
    radial-gradient(700px 700px at 50% 120%, rgba(20, 88, 107, 0.30), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .4em;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1rem; color: var(--muted); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 92px 0; position: relative; }
.section-sm { padding: 60px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(239, 118, 34, 0.18);
}

.h-xl { font-size: clamp(2.2rem, 5.2vw, 4rem); }
.h-lg { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.h-md { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); }
.text-grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.maxw-680 { max-width: 680px; }
.maxw-760 { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: 13px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-orange); color: #160a02; box-shadow: 0 12px 30px -10px rgba(239, 118, 34, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(239, 118, 34, 0.7); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--teal); box-shadow: var(--shadow-glow); }
.btn-teal { background: linear-gradient(120deg, var(--teal), #2bd4cf); color: #042024; box-shadow: 0 12px 30px -10px rgba(25, 198, 193, 0.5); }
.btn-teal:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, padding .3s ease, backdrop-filter .3s ease;
  padding: 16px 0;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 23, 30, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  padding: 10px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

/* Brand wordmark */
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); }
.brand .crosshair { width: 30px; height: 30px; flex: none; }
.brand .crosshair circle, .brand .crosshair line { stroke: var(--orange); }
.brand .crosshair .dot { fill: var(--orange); stroke: none; }
.brand .wm { font-weight: 800; font-size: 1.3rem; letter-spacing: .02em; line-height: 1; }
.brand .wm .c1 { color: var(--text); }
.brand .wm .c2 { color: var(--orange); }
.brand .wm small { display: block; font-size: .56rem; letter-spacing: .42em; color: var(--muted-2); font-weight: 500; margin-top: 3px; }

/* Desktop nav */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a, .nav-links > li > .drop-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 500; font-size: .92rem;
  color: var(--muted); padding: 9px 14px; border-radius: 999px;
  background: none; border: 0; cursor: pointer; transition: color .2s, background .2s;
}
.nav-links > li > a:hover, .nav-links > li > .drop-btn:hover { color: var(--text); background: var(--surface); }
.nav-links > li.current > a { color: var(--text); background: var(--surface-2); }
.nav-links > li.current > a::after,
.nav-links > li.current > .drop-btn::after { }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Dropdown */
.has-drop { position: relative; }
.drop-btn .caret { width: 14px; height: 14px; transition: transform .25s; }
.has-drop:hover .drop-btn .caret, .has-drop.open .drop-btn .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 320px; padding: 10px;
  background: rgba(10, 33, 43, 0.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .22s ease, transform .22s ease;
}
.has-drop:hover .dropdown, .has-drop.open .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: var(--radius-sm);
  color: var(--muted); font-size: .9rem; transition: background .18s, color .18s;
}
.dropdown a:hover { background: var(--surface); color: var(--text); }
.dropdown a .ic {
  width: 34px; height: 34px; flex: none; border-radius: 9px;
  display: grid; place-items: center; color: var(--teal);
  background: rgba(25, 198, 193, 0.12); border: 1px solid rgba(25, 198, 193, 0.2);
}
.dropdown a .ic svg { width: 18px; height: 18px; }
.dropdown a:hover .ic { color: var(--orange); background: rgba(239, 118, 34, 0.12); border-color: rgba(239, 118, 34, 0.25); }

/* Hamburger */
.hamburger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); cursor: pointer;
  position: relative; flex: none;
}
.hamburger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
body.nav-open .hamburger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); margin-bottom: 20px; }
.hero .lead { max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted-2); font-size: .85rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--teal); }

/* Hero visual — shield with scanning rings */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.orbit { position: absolute; border: 1px solid var(--border); border-radius: 50%; }
.orbit.o1 { width: 340px; height: 340px; animation: spin 28s linear infinite; }
.orbit.o2 { width: 250px; height: 250px; border-style: dashed; border-color: rgba(25,198,193,.25); animation: spin 18s linear infinite reverse; }
.orbit.o3 { width: 430px; height: 430px; border-color: rgba(239,118,34,.14); animation: spin 40s linear infinite; }
.orbit::before {
  content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 14px var(--teal); transform: translateX(-50%);
}
.orbit.o3::before { background: var(--orange); box-shadow: 0 0 14px var(--orange); }
.shield-card {
  position: relative; z-index: 2;
  width: 210px; height: 210px; border-radius: 32px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(25,198,193,.16), rgba(239,118,34,.10));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  animation: float 6s ease-in-out infinite;
}
.shield-card svg { width: 96px; height: 96px; color: var(--teal); filter: drop-shadow(0 8px 20px rgba(25,198,193,.4)); }
.chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 12px; font-size: .8rem; font-weight: 600; font-family: var(--font-head);
  background: rgba(10, 33, 43, 0.9); border: 1px solid var(--border); box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.chip svg { width: 16px; height: 16px; }
.chip.c-a { top: 30px; left: -6px; color: var(--teal); animation: float 5s ease-in-out infinite; }
.chip.c-b { bottom: 44px; right: -8px; color: var(--orange); animation: float 7s ease-in-out infinite .6s; }
.chip.c-c { bottom: 6px; left: 40px; color: var(--text); animation: float 6.2s ease-in-out infinite .3s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Page banner (inner pages) ---------- */
.page-banner { padding: 150px 0 56px; text-align: center; position: relative; }
.page-banner h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.breadcrumb { display: inline-flex; align-items: center; gap: 9px; color: var(--muted-2); font-size: .88rem; margin-top: 10px; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .7; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s;
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .3s;
}
.card:hover { transform: translateY(-6px); background: var(--surface-2); box-shadow: var(--shadow); }
.card:hover::after { opacity: .6; }
.card .icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
  color: var(--teal); background: rgba(25, 198, 193, 0.12); border: 1px solid rgba(25, 198, 193, 0.2);
}
.card .icon svg { width: 26px; height: 26px; }
.card:hover .icon { color: var(--orange); background: rgba(239, 118, 34, 0.12); border-color: rgba(239, 118, 34, 0.25); }
.card h3 { font-size: 1.2rem; }
.card p { margin-bottom: 0; font-size: .95rem; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--teal); font-family: var(--font-head); font-weight: 600; font-size: .85rem; }
.card .more svg { width: 15px; height: 15px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat {
  text-align: center; padding: 36px 20px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
}
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.1rem); line-height: 1; }
.stat .num .text-grad { display: inline; }
.stat .icon { width: 50px; height: 50px; margin: 0 auto 14px; border-radius: 14px; display: grid; place-items: center; color: var(--orange); background: rgba(239,118,34,.12); border: 1px solid rgba(239,118,34,.22); }
.stat .icon svg { width: 24px; height: 24px; }
.stat p { margin: 8px 0 0; color: var(--muted); font-weight: 500; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split .media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--surface); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split.reverse .media { order: 2; }
.feature-list { display: grid; gap: 14px; margin: 22px 0 0; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--muted); }
.feature-list .tick { flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; color: var(--teal); background: rgba(25,198,193,.12); border: 1px solid rgba(25,198,193,.2); }
.feature-list .tick svg { width: 14px; height: 14px; }

/* ---------- Vendor cards ---------- */
.vendor {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px; transition: transform .25s, border-color .25s, box-shadow .25s, background .25s;
}
.vendor:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); background: var(--surface-2); }
.vendor .logo {
  flex: none; width: 70px; height: 70px; border-radius: 14px; background: #fff;
  display: grid; place-items: center; padding: 10px; overflow: hidden;
}
.vendor .logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vendor .logo.dark { background: #0d141d; padding: 6px; }
.vendor h3 { font-size: 1.12rem; margin-bottom: 6px; }
.vendor p { margin: 0; font-size: .9rem; }
.vendor.featured { grid-column: 1 / -1; align-items: center; gap: 26px; background: linear-gradient(135deg, rgba(25,198,193,.10), rgba(239,118,34,.07)); border-color: var(--border-strong); }
.vendor.featured .logo { width: 92px; height: 92px; }
.vendor.featured h3 { font-size: 1.35rem; }
.vendor.featured p { font-size: .95rem; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); background: rgba(239,118,34,.12); border: 1px solid rgba(239,118,34,.25); padding: 4px 11px; border-radius: 999px; margin-bottom: 9px; }
.badge svg { width: 13px; height: 13px; }
.vendor .ext { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--teal); font-family: var(--font-head); font-weight: 600; font-size: .85rem; }
.vendor .ext svg { width: 15px; height: 15px; transition: transform .2s; }
.vendor:hover .ext svg { transform: translate(3px,-3px); }

/* ---------- Solution blocks ---------- */
.sol-block { padding: 34px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.sol-block + .sol-block { margin-top: 26px; }
.sol-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.sol-head .ic { width: 54px; height: 54px; flex: none; border-radius: 15px; display: grid; place-items: center; color: var(--orange); background: rgba(239,118,34,.12); border: 1px solid rgba(239,118,34,.22); }
.sol-head .ic svg { width: 26px; height: 26px; }
.sol-head h3 { margin: 0; font-size: 1.4rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; font-size: .85rem; color: var(--text); background: var(--surface-2); border: 1px solid var(--border); }
.pill svg { width: 14px; height: 14px; color: var(--teal); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  border-radius: var(--radius-lg); padding: 64px 30px;
  background: linear-gradient(135deg, rgba(20,88,107,.55), rgba(239,118,34,.18));
  border: 1px solid var(--border-strong);
}
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.cta-band .btn { margin-top: 10px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; }
.form-row { display: grid; gap: 16px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .8rem; font-family: var(--font-head); font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: .95rem; color: var(--text);
  background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(25,198,193,.15); background: rgba(255,255,255,.05); }
.form-status { min-height: 22px; font-size: .9rem; color: var(--orange); font-weight: 600; text-align: center; margin: 6px 0; }

.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 22px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { width: 42px; height: 42px; flex: none; border-radius: 11px; display: grid; place-items: center; color: var(--teal); background: rgba(25,198,193,.12); border: 1px solid rgba(25,198,193,.2); }
.info-row .ic svg { width: 19px; height: 19px; }
.info-row h4 { margin: 0 0 2px; font-size: .95rem; }
.info-row p, .info-row a { margin: 0; font-size: .92rem; color: var(--muted); }
.info-row a:hover { color: var(--teal); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; filter: grayscale(.3) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 30px; background: rgba(5, 17, 22, 0.6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding: 64px 0 40px; }
.footer-brand p { max-width: 320px; font-size: .92rem; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--muted); background: var(--surface); border: 1px solid var(--border); transition: .2s; }
.socials a:hover { color: var(--orange); border-color: var(--orange); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-col h4 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a, .footer-col p { color: var(--muted); font-size: .93rem; transition: color .2s; margin: 0 0 11px; }
.footer-col a:hover { color: var(--teal); }
.footer-col .with-ic { display: flex; gap: 10px; align-items: flex-start; }
.footer-col .with-ic svg { width: 17px; height: 17px; color: var(--teal); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; text-align: center; color: var(--muted-2); font-size: .85rem; }

/* ---------- Back to top ---------- */
#toTop {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 14px; cursor: pointer;
  background: var(--grad-orange); color: #160a02; border: 0;
  display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(239,118,34,.6);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: .3s;
}
#toTop.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
#toTop svg { width: 22px; height: 22px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head p { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 340px; margin-top: 10px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .split.reverse .media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-links, .nav-actions .btn { display: none; }
  .hamburger { display: block; }

  /* Mobile slide-in menu */
  .mobile-menu {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw); z-index: 110;
    background: rgba(8, 25, 32, 0.98); backdrop-filter: blur(16px);
    border-left: 1px solid var(--border); padding: 90px 24px 30px;
    transform: translateX(105%); transition: transform .35s cubic-bezier(.4,0,.2,1); overflow-y: auto;
  }
  body.nav-open .mobile-menu { transform: translateX(0); }
  .mobile-menu a { display: block; padding: 14px 4px; color: var(--text); font-family: var(--font-head); font-weight: 500; border-bottom: 1px solid var(--border); }
  .mobile-menu .sub { font-size: .82rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .14em; padding: 18px 4px 6px; border: 0; }
  .mobile-menu .sub-link { padding-left: 16px; color: var(--muted); font-size: .92rem; }
  .mobile-menu .btn { width: 100%; justify-content: center; margin-top: 22px; }
  .menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 105; opacity: 0; visibility: hidden; transition: .3s; }
  body.nav-open .menu-overlay { opacity: 1; visibility: visible; }
}
@media (min-width: 861px) { .mobile-menu, .menu-overlay { display: none; } }
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4, .stats, .form-row.two, .form-row.three { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; }
}

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