/* ==========================================================================
   SKYTECH — ICT & Security Systems | Corporate Website
   Design System: brand cyan #00A7D4 / slate #565169 / near-black #0A0808
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-950: #060506;
  --navy-900: #0a0808;
  --navy-800: #565169;
  --navy-700: #454055;
  --navy-600: #6e6984;
  --navy-500: #8b87a0;

  --accent: #00a7d4;
  --accent-600: #0089b0;
  --accent-050: rgba(0, 167, 212, 0.1);

  --electric: #4fc9e8;
  --electric-050: rgba(79, 201, 232, 0.12);

  --ink: #0a0808;
  --body: #565169;
  --body-dark: #b8b4c6;
  --line: #e8e6ee;
  --line-dark: rgba(255, 255, 255, 0.12);

  --bg: #ffffff;
  --bg-soft: #f5f7fa;

  --wa: #25d366;
  --wa-600: #1da851;
  --danger: #e11d48;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(10, 8, 8, 0.06);
  --shadow-md: 0 12px 28px -8px rgba(10, 8, 8, 0.14);
  --shadow-lg: 0 28px 56px -16px rgba(10, 8, 8, 0.24);

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 76px;
}

/* ---------- Reset / 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: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
}

[id] { scroll-margin-top: 96px; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.15rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.18rem; }

p { margin: 0 0 1em; }

ul { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; }

input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--ink); }

::selection { background: var(--accent); color: #0a0808; }

:focus-visible { outline: 3px solid var(--electric); outline-offset: 2px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section.tight { padding: 64px 0; }

.section.dark {
  background: var(--navy-900);
  background-image:
    radial-gradient(900px 420px at 85% -10%, rgba(79, 201, 232, 0.14), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, rgba(86, 81, 105, 0.4), transparent 55%);
  color: var(--body-dark);
}
.section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin: 0 0 44px; text-align: left; }
.section-head p { font-size: 1.06rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section-head.center .eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section.dark .eyebrow { color: var(--electric); }
.section.dark .eyebrow::before, .section.dark .eyebrow::after { background: var(--electric); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 6px;
  border: 2px solid transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-accent {
  background: linear-gradient(180deg, #3bb4f7, #159fef);
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(21, 159, 239, 0.5);
}
.btn-accent:hover { background: #fff; border-color: #159fef; color: var(--ink); box-shadow: 0 14px 30px -10px rgba(21, 159, 239, 0.45); }

/* Header + mobile menu CTA — primary blue */
.header-cta .btn-accent { background: #159fef; }
.header-cta .btn-accent:hover { background: #fff; border-color: #159fef; color: var(--ink); }
.mobile-nav-foot .btn-accent { background: #159fef; }
.mobile-nav-foot .btn-accent:hover { background: #fff; border-color: #159fef; color: var(--ink); }

.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: #2b2730; box-shadow: var(--shadow-md); }

.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--navy-800); }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 22px -8px rgba(37, 211, 102, 0.55); }
.btn-wa:hover { background: var(--wa-600); }

.btn-sm { padding: 11px 20px; font-size: 0.88rem; }
.btn-lg { padding: 17px 32px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row.center { justify-content: center; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--navy-700);
  transition: color 0.18s ease, gap 0.18s ease;
}
.text-link svg { width: 17px; height: 17px; transition: transform 0.18s ease; }
.text-link:hover { color: var(--accent-600); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-950);
  color: #cbc7d6;
  font-size: 0.82rem;
  font-weight: 600;
}
.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.top-link { display: inline-flex; align-items: center; gap: 8px; transition: color 0.18s ease; }
.top-link svg { width: 15px; height: 15px; color: var(--electric); flex: none; }
.top-link:hover { color: #fff; }
.top-social { display: inline-flex; align-items: center; gap: 6px; }
.top-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.18s ease, transform 0.18s ease;
}
.top-social a svg { width: 13px; height: 13px; }
.top-social a:hover { background: var(--accent); color: var(--navy-950); transform: translateY(-2px); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px -12px rgba(10, 8, 8, 0.18); }

.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-logo { height: 44px; width: auto; }
.brand-logo-sm { height: 38px; }

.main-nav { display: flex; align-items: stretch; height: 100%; }
.nav-menu { display: flex; align-items: stretch; height: 100%; gap: 4px; }
.nav-menu > li { position: relative; display: flex; align-items: center; }
.nav-menu > li.has-mega { position: static; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-link svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.nav-link:hover { color: var(--accent-600); background: var(--accent-050); }
.nav-link.active { color: var(--accent-600); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--accent);
}
.has-mega.open > .nav-link svg { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute;
  left: 50%;
  top: 100%;
  width: min(1172px, calc(100% - 48px));
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: 0 30px 60px -18px rgba(10, 8, 8, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s;
  pointer-events: none;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega,
.has-mega.open .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.mega-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--body);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mega-label::before { content: ""; width: 16px; height: 2px; background: var(--accent); border-radius: 2px; }
.mega-col ul { display: grid; gap: 4px; }
.mega-item {
  display: flex;
  gap: 14px;
  padding: 12px;
  border-radius: var(--r);
  transition: background 0.18s ease, transform 0.18s ease;
}
.mega-item:hover { background: var(--bg-soft); transform: translateX(4px); }
.mega-ico { display: none; }
.mega-item strong { display: block; font-size: 0.95rem; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.mega-item span { display: block; font-size: 0.82rem; line-height: 1.45; color: var(--body); }
.mega-item:hover strong { color: var(--accent-600); }

.header-cta { display: flex; align-items: center; gap: 16px; flex: none; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--body);
}
.header-phone svg { width: 22px; height: 22px; color: var(--accent); }
.header-phone span { display: flex; flex-direction: column; line-height: 1.25; }
.header-phone small { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; }
.header-phone strong { color: var(--ink); font-size: 0.88rem; white-space: nowrap; }
.header-phone:hover strong { color: var(--accent-600); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 8, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  z-index: 940;
}
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: -110%;
  z-index: 950;
  width: min(90vw, 400px);
  height: 100dvh;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.22, 0.8, 0.3, 1);
  box-shadow: -20px 0 60px rgba(10, 8, 8, 0.25);
}
body.nav-open .mobile-nav { right: 0; }
.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.mobile-nav-close svg { width: 18px; height: 18px; }
.mobile-nav-body { padding: 10px 12px 28px; overflow-y: auto; flex: 1; }
.mobile-nav-body > ul > li > a,
.m-nav-item > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 14px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink);
  text-align: left;
}
.mobile-nav-body > ul > li > a:hover,
.m-nav-item > button:hover { background: var(--bg-soft); }
.m-nav-item > button svg { width: 16px; height: 16px; transition: transform 0.25s ease; color: var(--body); }
.m-nav-item.open > button svg { transform: rotate(180deg); }
.m-sub { display: none; padding: 4px 6px 12px; }
.m-nav-item.open .m-sub { display: block; }
.m-sub a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}
.m-sub a svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.m-sub a:hover { background: var(--accent-050); color: var(--accent-600); }
.mobile-nav-foot {
  margin: 18px 12px 0;
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--bg-soft);
  display: grid;
  gap: 12px;
}
.mobile-nav-foot .btn { width: 100%; }
.m-contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}
.m-contact-line svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--navy-900);
  background-image:
    radial-gradient(800px 400px at 90% -20%, rgba(79, 201, 232, 0.18), transparent 60%),
    radial-gradient(600px 340px at 0% 120%, rgba(86, 81, 105, 0.42), transparent 55%);
  color: var(--body-dark);
  padding: 84px 0 68px;
  overflow: hidden;
}
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { max-width: 640px; font-size: 1.06rem; margin-bottom: 0; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.55);
}
.crumbs a { color: rgba(255, 255, 255, 0.8); transition: color 0.18s; }
.crumbs a:hover { color: var(--electric); }
.crumbs .sep { opacity: 0.5; }
.crumbs .here { color: var(--electric); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background: var(--navy-950);
  color: #fff;
  overflow: hidden;
  margin: 18px 18px 0;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(100deg, rgba(10, 8, 8, 0.96) 8%, rgba(10, 8, 8, 0.78) 42%, rgba(10, 8, 8, 0.35) 78%), url("../assets/img/hero-electric-fence.webp");
  background-size: cover;
  background-position: center;
}
.hero-in {
  position: relative;
  z-index: 2;
  padding: 96px 0 150px;
  max-width: 720px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: #fff; }
.hero .lead { font-size: 1.12rem; color: #d5d2dd; margin-bottom: 30px; max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(79, 201, 232, 0.12);
  border: 1px solid rgba(79, 201, 232, 0.35);
  color: var(--electric);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 0 rgba(79, 201, 232, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 201, 232, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(79, 201, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 201, 232, 0); }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 34px;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #d2cedd;
}
.hero-trust svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

/* Stats strip overlapping hero */
.stats-strip { position: relative; z-index: 3; margin-top: -84px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.stat {
  padding: 34px 28px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat strong em { font-style: normal; color: var(--accent); }
.stat span { font-size: 0.86rem; font-weight: 700; color: var(--body); }

/* ---------- Cards: services ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: linear-gradient(90deg, var(--accent), var(--electric));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.s-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--navy-800);
  color: var(--electric);
  box-shadow: 0 10px 20px -10px rgba(10, 8, 8, 0.5);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.s-ico svg { width: 28px; height: 28px; }
.service-card:hover .s-ico { background: var(--accent); color: var(--navy-950); transform: scale(1.05); }
.service-card h3 { margin: 0; font-size: 1.16rem; }
.service-card p { margin: 0; font-size: 0.93rem; flex: 1; }
.service-card .card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.card-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--electric);
  background: var(--navy-800);
  padding: 5px 11px;
  border-radius: 999px;
}

/* Our Services — flush card strip (cards touch, 1px shared seams) */
#services .cards-3 {
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
#services .service-card {
  border: 0;
  border-radius: 0;
  transition: opacity 0.7s ease, transform 0.7s ease, background 0.25s ease;
}
#services .service-card::before { display: none; }
#services .service-card .s-ico,
#services .service-card .card-tag { display: none; }
#services .service-card:nth-child(1) { border-radius: var(--r-lg) 0 0 0; }
#services .service-card:nth-child(3) { border-radius: 0 var(--r-lg) 0 0; }
#services .service-card:nth-child(4) { border-radius: 0 0 0 var(--r-lg); }
#services .service-card:nth-child(6) { border-radius: 0 0 var(--r-lg) 0; }
#services .service-card:hover {
  transform: none;
  box-shadow: none;
  background: #f7fbfd;
}
#services .service-card.reveal-d1 { transition-delay: 0.08s; }
#services .service-card.reveal-d2 { transition-delay: 0.16s; }

/* Feature cards (why choose us) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  display: flex;
  gap: 16px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.f-ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--accent-050);
  color: var(--accent-600);
}
.f-ico svg { width: 24px; height: 24px; }
.feature h4 { margin: 2px 0 6px; font-size: 1.02rem; }
.feature p { margin: 0; font-size: 0.88rem; }

.section.dark .feature {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
}
.section.dark .feature h4 { color: #fff; }
.section.dark .f-ico { background: var(--electric-050); color: var(--electric); }

/* The Skytech Advantage — flush dark card strip (cards touch, 1px shared seams) */
#advantage .feature-grid {
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  overflow: hidden;
}
#advantage .feature {
  border: 0;
  border-radius: 0;
  background: #141212;
  transition: opacity 0.7s ease, transform 0.7s ease, background 0.25s ease;
}
#advantage .feature:nth-child(1) { border-radius: var(--r-lg) 0 0 0; }
#advantage .feature:nth-child(3) { border-radius: 0 var(--r-lg) 0 0; }
#advantage .feature:nth-child(4) { border-radius: 0 0 0 var(--r-lg); }
#advantage .feature:nth-child(6) { border-radius: 0 0 var(--r-lg) 0; }
#advantage .feature:hover {
  transform: none;
  box-shadow: none;
  background: #1d1a1b;
}
#advantage .feature.reveal-d1 { transition-delay: 0.08s; }
#advantage .feature.reveal-d2 { transition-delay: 0.16s; }

/* About — Mission / Vision / Promise — flush light card strip (3 cards, mirrors #services) */
#mission .cards-3 {
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
#mission .service-card {
  border: 0;
  border-radius: 0;
  transition: opacity 0.7s ease, transform 0.7s ease, background 0.25s ease;
}
#mission .service-card::before { display: none; }
#mission .service-card .s-ico,
#mission .service-card .card-tag,
#mission .service-card .card-foot { display: none; }
#mission .service-card:nth-child(1) { border-radius: var(--r-lg) 0 0 var(--r-lg); }
#mission .service-card:nth-child(3) { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
#mission .service-card:hover {
  transform: none;
  box-shadow: none;
  background: #f7fbfd;
}
#mission .service-card.reveal-d1 { transition-delay: 0.08s; }
#mission .service-card.reveal-d2 { transition-delay: 0.16s; }

/* Service detail pages — Related services — flush light card strip (3 cards, mirrors #services) */
#related .cards-3 {
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
#related .service-card {
  border: 0;
  border-radius: 0;
  transition: opacity 0.7s ease, transform 0.7s ease, background 0.25s ease;
}
#related .service-card::before { display: none; }
#related .service-card .s-ico,
#related .service-card .card-tag { display: none; }
#related .service-card:nth-child(1) { border-radius: var(--r-lg) 0 0 var(--r-lg); }
#related .service-card:nth-child(3) { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
#related .service-card:hover {
  transform: none;
  box-shadow: none;
  background: #f7fbfd;
}
#related .service-card.reveal-d1 { transition-delay: 0.08s; }
#related .service-card.reveal-d2 { transition-delay: 0.16s; }

/* ---------- Split (image + content) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.flip .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.split-media .float-card {
  position: absolute;
  left: -26px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 16px 22px;
}
.split-media .float-card svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.split-media .float-card strong { display: block; font-size: 1.3rem; color: var(--navy-800); line-height: 1.1; }
.split-media .float-card span { font-size: 0.8rem; font-weight: 700; color: var(--body); }
.split-body .check-list { margin: 22px 0 26px; }

/* Check lists */
.check-list { display: grid; gap: 12px; }
.check-list.two-col { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--body);
}
.check-list li strong { color: var(--ink); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230089b0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.section.dark .check-list li { color: var(--body-dark); }
.section.dark .check-list li strong { color: #fff; }
.section.dark .check-list li::before {
  background-color: rgba(79, 201, 232, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fc9e8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---------- Steps (how it works) ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 14px;
  line-height: 1;
}
.step h4 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: 0.88rem; margin: 0; }
.step::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -20px;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--electric);
  border-right: 2px solid var(--electric);
  transform: rotate(45deg);
  opacity: 0.7;
}
.step:last-child::after { display: none; }

/* ---------- Spec chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
}
.chip svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.page-hero .chips { margin-bottom: 0; }
.page-hero .chip {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-dark);
  color: #eae7f1;
}
.page-hero .chip svg { color: var(--electric); }

/* ---------- Tiers (packages) ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 34px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tier.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
}
.tier-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--navy-950);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.tier h3 { font-size: 1.25rem; margin-bottom: 4px; }
.tier .tier-sub { font-size: 0.86rem; color: var(--body); margin-bottom: 20px; }
.tier hr { border: 0; border-top: 1px dashed var(--line); margin: 0 0 20px; }
.tier .check-list { flex: 1; margin-bottom: 26px; }
.tier .check-list li { font-size: 0.9rem; }
.tier-foot { font-size: 0.8rem; font-weight: 700; color: var(--body); text-align: center; margin: 12px 0 0; }

/* ---------- Gallery ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--body);
  transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--navy-800); color: var(--ink); }
.filter-btn.active {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.g-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  background: var(--navy-900);
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.4s ease;
}
.g-item:hover img { transform: scale(1.06); }
.g-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 8, 8, 0.88));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.g-item:hover .g-overlay { opacity: 1; }
.g-overlay .g-cat {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 4px;
}
.g-overlay strong { color: #fff; font-size: 1.02rem; }
.g-zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}
.g-item:hover .g-zoom { opacity: 1; transform: scale(1); }
.g-zoom svg { width: 18px; height: 18px; }

/* Our Work — dark editorial mosaic (feature tile + stacked pair, captions always on) */
#our-work .work-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
#our-work .work-head .section-head { margin-bottom: 0; }
#our-work .work-btn {
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}
#our-work .work-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy-950);
}
#our-work .gallery-grid {
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: 270px 270px;
  gap: 1px 0; /* row seam only — left feature and right column touch directly */
  background: rgba(255, 255, 255, 0.14);
}
/* Kill the UA figure margin (1em 40px) and let the grid rows govern every tile size —
   the in-flow image's intrinsic height was overriding the fixed rows and making tiles overflow */
#our-work .g-item { margin: 0; border: 0; border-radius: 0; aspect-ratio: auto; }
#our-work .g-item img { position: absolute; inset: 0; }
#our-work .g-item:nth-child(1) { grid-row: 1 / span 2; grid-column: 1; }
/* Hero-style scrim on every tile (mirrors .hero-bg gradient) */
#our-work .g-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(10, 8, 8, 0.96) 8%, rgba(10, 8, 8, 0.78) 42%, rgba(10, 8, 8, 0.35) 78%);
}
#our-work .g-overlay,
#our-work .g-zoom { z-index: 2; }
/* Captions stay visible; hover only zooms the image and shows the icon */
#our-work .g-overlay { opacity: 1; }
#our-work .g-item:nth-child(1) .g-overlay { padding: 30px; }
#our-work .g-item:nth-child(1) .g-overlay strong { font-size: 1.28rem; }

.gallery-note {
  margin-top: 36px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--body);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  background: rgba(10, 8, 8, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-stage { position: relative; max-width: 1080px; width: 100%; text-align: center; }
.lb-stage img {
  max-height: 78vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.lb-caption { color: #eae7f1; font-size: 0.95rem; font-weight: 700; margin-top: 16px; }
.lb-caption .g-cat { color: var(--electric); display: block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }
.lb-close {
  position: absolute;
  top: -52px;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
}
.lb-close:hover { background: rgba(255, 255, 255, 0.12); }
.lb-close svg { width: 18px; height: 18px; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.2s ease;
}
.lb-nav:hover { background: var(--accent); border-color: var(--accent); }
.lb-nav svg { width: 20px; height: 20px; }
.lb-prev { left: -70px; }
.lb-next { right: -70px; }

/* ---------- Testimonials ---------- */
.testi-wrap { position: relative; }
.testi-viewport { overflow: hidden; }
.testi-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.testi-slide { flex: 0 0 33.3333%; padding: 0 13px; }
.testi-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
}
.testi-stars { display: flex; gap: 3px; color: #f59e0b; }
.testi-stars svg { width: 17px; height: 17px; }
.testi-card blockquote {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--body);
  flex: 1;
}
.testi-person { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.testi-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--electric);
  font-weight: 800;
  font-size: 0.95rem;
  flex: none;
}
.testi-person strong { display: block; font-size: 0.95rem; color: var(--ink); }
.testi-person span { font-size: 0.8rem; font-weight: 600; }

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 38px;
}
.testi-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: all 0.2s ease;
}
.testi-arrow:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.testi-arrow svg { width: 18px; height: 18px; }
.testi-dots { display: flex; gap: 8px; }
.testi-dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  border: 0;
  padding: 0;
  background: #d2cedd;
  transition: all 0.25s ease;
}
.testi-dot.active { width: 26px; background: var(--accent); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--navy-900);
  background-image:
    radial-gradient(700px 340px at 88% 0%, rgba(79, 201, 232, 0.14), transparent 62%),
    radial-gradient(560px 300px at 4% 110%, rgba(86, 81, 105, 0.4), transparent 60%);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: 56px 52px;
  color: var(--body-dark);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; max-width: 520px; }
.cta-band .btn-row {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  border-left: 1px solid var(--line-dark);
  padding-left: 44px;
}
.cta-band.plain { border-radius: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-item.open { box-shadow: var(--shadow-sm); border-color: #dcd9e4; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}
.faq-q .fx {
  flex: none;
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-050);
  transition: background 0.25s ease, transform 0.3s ease;
}
.faq-q .fx::before, .faq-q .fx::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--accent-600);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.faq-q .fx::before { width: 11px; height: 2px; }
.faq-q .fx::after { width: 2px; height: 11px; transition: transform 0.3s ease; }
.faq-item.open .fx { background: var(--accent); transform: rotate(180deg); }
.faq-item.open .fx::before, .faq-item.open .fx::after { background: var(--navy-950); }
.faq-item.open .fx::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p { padding: 0 24px 22px; margin: 0; font-size: 0.94rem; }

/* ---------- Forms ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.quote-aside .check-list { margin: 24px 0 30px; }
.aside-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.aside-card .m-contact-line { font-size: 0.92rem; }
.aside-card .m-contact-line small { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--body); }
.aside-note { font-size: 0.82rem; color: var(--body); margin: 0; }

.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 38px;
  box-shadow: var(--shadow-lg);
}
.quote-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.quote-card .form-intro { font-size: 0.92rem; margin-bottom: 26px; }
.service-locked {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--r);
  background: var(--accent-050);
  border: 1px dashed rgba(0, 167, 212, 0.45);
  margin-bottom: 24px;
}
.service-locked svg { width: 22px; height: 22px; color: var(--accent-600); flex: none; }
.service-locked .sl-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-600); }
.service-locked strong { display: block; font-size: 0.98rem; color: var(--ink); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.8rem; font-weight: 800; color: var(--ink); letter-spacing: 0.02em; }
.field label em { color: var(--accent-600); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #fbfafc;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23565169' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-800);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(86, 81, 105, 0.15);
}
.field.error input, .field.error select, .field.error textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.08);
}
.err-msg { display: none; font-size: 0.76rem; font-weight: 700; color: var(--danger); }
.field.error .err-msg { display: block; }

.radio-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-chips label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--body);
  cursor: pointer;
  transition: all 0.18s ease;
}
.radio-chips input { position: absolute; opacity: 0; pointer-events: none; }
.radio-chips label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-050);
  color: var(--accent-600);
}

.form-actions { display: grid; gap: 12px; margin-top: 26px; }
.form-note { display: flex; align-items: center; gap: 9px; font-size: 0.78rem; color: var(--body); margin: 0; justify-content: center; }
.form-note svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.form-success {
  display: none;
  text-align: center;
  padding: 40px 24px;
}
.form-success.show { display: block; }
.form-success .fs-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  color: var(--wa-600);
  margin-bottom: 18px;
}
.form-success .fs-ico svg { width: 34px; height: 34px; }
.form-success h4 { font-size: 1.25rem; margin-bottom: 8px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.contact-grid .quote-card { box-shadow: none; } /* right form card sits flat — no elevation on this page */
.contact-cards { display: grid; gap: 18px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
/* Bare icons — no box behind them */
.c-ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--body);
}
.c-ico svg { width: 24px; height: 24px; }
/* Card header row toggles the collapsible body (accordion) */
.contact-card h4 { margin: 0; font-size: 1rem; }
.card-toggle {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}
.card-chev {
  flex: none;
  margin-left: auto;
  width: 18px;
  height: 18px;
  color: var(--navy-700);
  transition: transform 0.3s ease;
}
.contact-card.open .card-chev { transform: rotate(180deg); }
.card-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.contact-card.open .card-body { grid-template-rows: 1fr; }
.card-inner { overflow: hidden; min-height: 0; }
.card-body p { margin: 12px 0 0 42px; font-size: 0.9rem; }
.contact-card a { font-weight: 800; color: var(--navy-700); }
.contact-card a:hover { color: var(--accent-600); }

.map-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  line-height: 0;
}
.map-wrap iframe { width: 100%; height: 430px; border: 0; display: block; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.hours-table td { padding: 11px 4px; border-bottom: 1px dashed var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 800; color: var(--ink); }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table .closed { color: var(--danger); }
.card-body .hours-table { width: auto; margin: 12px 0 0 42px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #a29dae;
  font-size: 0.92rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 44px;
  padding: 72px 0 56px;
  /* White upper footer band (full-bleed); only the copyright bar below stays black */
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
  color: var(--body);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-logo {
  height: 32px;
}
.footer-brand p { font-size: 0.9rem; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--body);
  transition: all 0.2s ease;
}
.footer-social a svg { width: 17px; height: 17px; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--navy-950); transform: translateY(-3px); }

.footer-col h5 {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 6px 0 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { display: inline-flex; align-items: center; gap: 9px; transition: color 0.18s ease, transform 0.18s ease; }
.footer-col a svg { width: 13px; height: 13px; color: var(--accent); flex: none; transition: transform 0.18s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-col a:hover svg { transform: translateX(3px); }
.footer-col .plain a { gap: 0; }
.footer-col .plain a svg { display: none; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.footer-contact strong { color: var(--ink); }
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.82rem;
}
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Floating elements ---------- */
.float-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff !important;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.2s ease, background 0.2s ease;
}
.float-wa svg { width: 30px; height: 30px; }
.float-wa:hover { transform: scale(1.08); background: var(--wa-600); }
.float-wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: wa-pulse 2.6s infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.to-top {
  position: fixed;
  right: 30px;
  bottom: 94px;
  z-index: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy-800);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy-800); color: #fff; }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Modal (quote) ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 8, 8, 0.7);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  overflow-y: auto;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.22, 0.8, 0.3, 1);
  margin: auto;
}
.modal-backdrop.open .modal { transform: none; }
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: all 0.2s ease;
}
.modal-close:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.modal-close svg { width: 17px; height: 17px; }
.modal h3 { font-size: 1.4rem; margin-bottom: 6px; padding-right: 40px; }
.modal .modal-sub { font-size: 0.92rem; margin-bottom: 24px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ---------- Section intro spacing helpers ---------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 34px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1140px) {
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .header-phone { display: none; }
  .nav-link { padding: 10px 11px; font-size: 0.9rem; }
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  #services .service-card:nth-child(2) { border-radius: 0 var(--r-lg) 0 0; }
  #services .service-card:nth-child(3) { border-radius: 0; }
  #services .service-card:nth-child(4) { border-radius: 0; }
  #services .service-card:nth-child(5) { border-radius: 0 0 0 var(--r-lg); }
  #mission .service-card:nth-child(1) { border-radius: var(--r-lg) 0 0 0; }
  #mission .service-card:nth-child(2) { border-radius: 0 var(--r-lg) 0 0; }
  #mission .service-card:nth-child(3) { grid-column: 1 / -1; border-radius: 0 0 var(--r-lg) var(--r-lg); }
  #related .service-card:nth-child(1) { border-radius: var(--r-lg) 0 0 0; }
  #related .service-card:nth-child(2) { border-radius: 0 var(--r-lg) 0 0; }
  #related .service-card:nth-child(3) { grid-column: 1 / -1; border-radius: 0 0 var(--r-lg) var(--r-lg); }
  #advantage .feature:nth-child(2) { border-radius: 0 var(--r-lg) 0 0; }
  #advantage .feature:nth-child(3) { border-radius: 0; }
  #advantage .feature:nth-child(4) { border-radius: 0; }
  #advantage .feature:nth-child(5) { border-radius: 0 0 0 var(--r-lg); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid .step::after { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  #our-work .gallery-grid { grid-template-rows: 210px 210px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split.flip .split-media { order: 0; }
  .testi-slide { flex: 0 0 50%; }
  .cta-band { grid-template-columns: 1fr; text-align: center; padding: 48px 36px; }
  .cta-band p { margin: 0 auto; }
  .cta-band .btn-row { flex-direction: row; justify-content: center; border-left: 0; padding-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .quote-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 860px) {
  .tier-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0; }
  .topbar-right .top-link { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { margin: 14px 14px 0; border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .hero-in { padding: 72px 0 130px; }
  .cards-3 { grid-template-columns: 1fr; }
  #services .service-card:nth-child(1) { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  #services .service-card:nth-child(2),
  #services .service-card:nth-child(3),
  #services .service-card:nth-child(4),
  #services .service-card:nth-child(5) { border-radius: 0; }
  #services .service-card:nth-child(6) { border-radius: 0 0 var(--r-lg) var(--r-lg); }
  #mission .service-card:nth-child(1) { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  #mission .service-card:nth-child(2) { border-radius: 0; }
  #mission .service-card:nth-child(3) { border-radius: 0 0 var(--r-lg) var(--r-lg); }
  #related .service-card:nth-child(1) { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  #related .service-card:nth-child(2) { border-radius: 0; }
  #related .service-card:nth-child(3) { border-radius: 0 0 var(--r-lg) var(--r-lg); }
  #advantage .feature:nth-child(1) { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  #advantage .feature:nth-child(2),
  #advantage .feature:nth-child(3),
  #advantage .feature:nth-child(4),
  #advantage .feature:nth-child(5) { border-radius: 0; }
  #advantage .feature:nth-child(6) { border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .feature-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  #our-work .work-head { flex-direction: column; align-items: flex-start; gap: 26px; }
  #our-work .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  #our-work .g-item { aspect-ratio: 4 / 3; }
  #our-work .g-item:nth-child(1) { grid-row: auto; }
  .testi-slide { flex: 0 0 100%; }
  .check-list.two-col { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .quote-card { padding: 28px 22px; }
  .modal { padding: 30px 22px; }
  .split-media .float-card { left: 14px; }
  .footer-top { grid-template-columns: 1fr; padding: 54px 0 40px; }
  .topbar-left { gap: 14px; }
  .topbar-in { min-height: 36px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero-trust { display: grid; gap: 12px; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .btn-row { gap: 10px; }
  .cta-band { padding: 40px 24px; }
  .header-cta .btn-accent { display: none; }
  .stats-strip { margin-top: -70px; }
  .stat { padding: 26px 18px; }
  .stat strong { font-size: 1.7rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .float-wa { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .to-top { right: 21px; bottom: 84px; }
}
