/* ==========================================================================
   Resistance Restoration & Remodeling LLC — Design System
   Brand: electric blue + industrial black, warm sand neutrals
   ========================================================================== */

:root {
  --ink: #0a0e13;
  --ink-2: #121a23;
  --steel: #1c2733;
  --steel-2: #2a3846;
  --blue: #1e88e5;
  --blue-bright: #3aa4f5;
  --blue-deep: #0d5c9e;
  --sand: #f5f2ec;
  --sand-2: #e9e4da;
  --white: #ffffff;
  --muted: #5d6a78;
  --muted-light: #9aa7b4;
  --line: rgba(10, 14, 19, 0.1);
  --line-dark: rgba(255, 255, 255, 0.12);

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(10, 14, 19, 0.06), 0 4px 12px rgba(10, 14, 19, 0.05);
  --shadow-md: 0 2px 6px rgba(10, 14, 19, 0.07), 0 16px 40px rgba(10, 14, 19, 0.1);
  --shadow-lg: 0 30px 70px rgba(10, 14, 19, 0.18);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: 0.01em; }

p { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--blue);
  display: block;
}
.eyebrow.on-dark { color: var(--blue-bright); }
.eyebrow.on-dark::before { background: var(--blue-bright); }

.lead { font-size: 1.12rem; line-height: 1.7; color: var(--muted); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark p { color: var(--muted-light); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30, 136, 229, 0.32); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--steel); transform: translateY(-2px); }

.btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }

.btn--sm { padding: 12px 22px; font-size: 0.85rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--muted-light);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line-dark);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar-left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color 0.2s; }
.topbar a:hover { color: var(--white); }
.topbar svg { width: 13px; height: 13px; color: var(--blue-bright); flex: none; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-badge {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--white); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem;
}
.topbar-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #35d07f; box-shadow: 0 0 0 3px rgba(53,208,127,0.18); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10, 14, 19, 0.08); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand-sub {
  font-size: 0.66rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 10px 15px;
  border-radius: var(--radius);
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--blue); }

.nav-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.nav-phone {
  display: flex; flex-direction: column; line-height: 1.15; text-align: right;
}
.nav-phone span { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.nav-phone strong { font-family: var(--font-display); font-size: 1.18rem; letter-spacing: 0.03em; color: var(--ink); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(340px, 86vw);
  background: var(--ink);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 26px 26px 34px;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.mobile-menu-head .brand-name { color: var(--white); font-size: 1.1rem; }
.mobile-close { color: var(--white); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.mobile-close svg { width: 24px; height: 24px; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  padding: 15px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-menu nav a:hover { color: var(--blue-bright); padding-left: 8px; }
.mobile-menu .btn { margin-top: 26px; width: 100%; }
.mobile-menu-foot { margin-top: auto; padding-top: 30px; color: var(--muted-light); font-size: 0.9rem; }
.mobile-menu-foot a { display: block; margin-top: 8px; color: var(--white); }
.menu-scrim {
  position: fixed; inset: 0; background: rgba(10,14,19,0.55);
  opacity: 0; pointer-events: none; transition: opacity 0.35s; z-index: 999;
  backdrop-filter: blur(2px);
}
.menu-scrim.open { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,14,19,0.94) 0%, rgba(10,14,19,0.82) 42%, rgba(10,14,19,0.42) 72%, rgba(10,14,19,0.3) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 90px; }
.hero-inner { max-width: 720px; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--blue-bright); }
.hero p { color: rgba(255,255,255,0.82); font-size: 1.16rem; line-height: 1.7; max-width: 600px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid var(--line-dark);
  padding-top: 28px;
  max-width: 620px;
}
.hero-stat { padding-right: 34px; margin-right: 34px; border-right: 1px solid var(--line-dark); }
.hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat span { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light); }

/* ---------- Trust strip ---------- */
.trust { background: var(--ink-2); border-top: 1px solid var(--line-dark); }
.trust .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  padding: 0;
  max-width: none;
}
.trust-item {
  background: var(--ink-2);
  padding: 30px 26px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.trust-item svg { width: 26px; height: 26px; color: var(--blue-bright); flex: none; }
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}
.trust-item span { font-size: 0.8rem; color: var(--muted-light); }

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

.svc-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-num {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  background: var(--ink); color: var(--white);
  padding: 5px 10px; border-radius: 2px;
}
.svc-body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { margin-bottom: 12px; }
.svc-body p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 18px; }
.svc-list { margin-bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.svc-list li {
  position: relative; padding-left: 20px;
  font-size: 0.9rem; color: var(--steel); line-height: 1.45;
}
.svc-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px; background: var(--blue); border-radius: 1px;
}
.svc-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue);
}
.svc-link svg { width: 14px; height: 14px; transition: transform 0.25s; }
.svc-card:hover .svc-link svg { transform: translateX(4px); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.split-media .badge-card {
  position: absolute; bottom: -26px; right: -18px;
  background: var(--blue); color: var(--white);
  padding: 22px 26px; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  max-width: 220px;
}
.badge-card strong { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.badge-card span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.92; }

.check-list { display: flex; flex-direction: column; gap: 16px; margin: 28px 0 34px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(30,136,229,0.12); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.check-list .tick svg { width: 13px; height: 13px; }
.check-list strong { display: block; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); margin-bottom: 2px; }
.check-list p { font-size: 0.92rem; line-height: 1.55; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step {
  position: relative;
  padding: 0 26px 0 0;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.28);
  margin-bottom: 18px;
}
.step h3 { color: var(--white); font-size: 1.22rem; margin-bottom: 10px; }
.step p { font-size: 0.92rem; line-height: 1.6; }
.step-line { position: absolute; top: 26px; right: 8px; width: 40px; height: 1px; background: var(--line-dark); }
.step:last-child .step-line { display: none; }

/* ---------- Before / After ---------- */
.ba-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; }
.ba-wrap img { width: 100%; display: block; }
.ba-after { position: absolute; inset: 0; overflow: hidden; width: 50%; }
.ba-after img { width: 100%; height: 100%; object-fit: cover; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: var(--white); transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(10,14,19,0.15);
}
.ba-knob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(10,14,19,0.3);
  cursor: ew-resize;
}
.ba-knob svg { width: 22px; height: 22px; }
.ba-tag {
  position: absolute; top: 16px;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(10,14,19,0.78); color: var(--white);
  padding: 6px 12px; border-radius: 2px; backdrop-filter: blur(4px);
}
.ba-tag.left { left: 16px; }
.ba-tag.right { right: 16px; }

/* ---------- Gallery ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gal-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3; background: var(--sand-2); cursor: pointer;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gal-item:hover img { transform: scale(1.07); }
.gal-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,14,19,0.78) 0%, rgba(10,14,19,0.1) 45%, transparent 70%);
  opacity: 0.9; transition: opacity 0.3s;
}
.gal-cap {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2;
  color: var(--white);
}
.gal-cap span { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-bright); font-weight: 600; }
.gal-cap strong { display: block; font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 3px; }
.gal-item.tall { grid-row: span 2; aspect-ratio: auto; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  font-family: var(--font-display); font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 10px 20px; border: 1px solid var(--line); border-radius: 2px;
  color: var(--steel); background: var(--white); transition: all 0.22s;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; display: flex; flex-direction: column; height: 100%;
}
.stars { display: flex; gap: 3px; margin-bottom: 18px; color: #f5a623; }
.stars svg { width: 16px; height: 16px; }
.quote-card blockquote { font-size: 1.02rem; line-height: 1.65; color: var(--steel); margin-bottom: 24px; flex: 1; }
.quote-who { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.quote-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1rem; font-weight: 700; flex: none;
}
.quote-who strong { display: block; font-size: 0.95rem; color: var(--ink); font-weight: 600; }
.quote-who span { font-size: 0.8rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--ink); overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 30%, rgba(30,136,229,0.28), transparent 55%);
}
.cta-band .wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-top: 76px; padding-bottom: 76px; }
.cta-band h2 { color: var(--white); max-width: 620px; }
.cta-band p { color: rgba(255,255,255,0.75); margin-top: 14px; max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; background: var(--ink); overflow: hidden;
  padding: 96px 0 84px;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.34; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,14,19,0.95) 0%, rgba(10,14,19,0.7) 60%, rgba(10,14,19,0.5) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 620px; font-size: 1.08rem; }
.crumbs { display: flex; align-items: center; gap: 9px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 22px; }
.crumbs a:hover { color: var(--blue-bright); }
.crumbs svg { width: 11px; height: 11px; opacity: 0.6; }

/* ---------- Detail service blocks ---------- */
.detail-block {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center;
  padding: 56px 0; border-bottom: 1px solid var(--line);
}
.detail-block:last-child { border-bottom: none; }
.detail-block.rev .detail-media { order: 2; }
.detail-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.detail-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.detail-body h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 16px; }
.detail-body > p { margin-bottom: 22px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tag {
  font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
  background: var(--sand); color: var(--steel); padding: 7px 13px; border-radius: 2px;
}

/* ---------- Stats band ---------- */
.stats-band { background: var(--blue); color: var(--white); }
.stats-band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-top: 56px; padding-bottom: 56px; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; }
.stat-item span { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.9; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-photo {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1;
  background: var(--sand-2); margin-bottom: 20px;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 0.6s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.team-role { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); font-weight: 600; }

/* ---------- Values ---------- */
.value-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.value-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: rgba(30,136,229,0.1); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.value-icon svg { width: 24px; height: 24px; }
.value-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.value-card p { font-size: 0.93rem; line-height: 1.6; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.contact-info-card {
  background: var(--ink); color: var(--white); border-radius: var(--radius);
  padding: 40px 34px; position: relative; overflow: hidden;
}
.contact-info-card::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(30,136,229,0.22);
}
.contact-info-card h2 { color: var(--white); font-size: 1.7rem; margin-bottom: 10px; position: relative; }
.contact-info-card > p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-bottom: 30px; position: relative; }
.info-row { display: flex; gap: 15px; padding: 18px 0; border-top: 1px solid var(--line-dark); position: relative; }
.info-row:first-of-type { border-top: none; }
.info-row .ico {
  flex: none; width: 40px; height: 40px; border-radius: var(--radius);
  background: rgba(255,255,255,0.08); color: var(--blue-bright);
  display: flex; align-items: center; justify-content: center;
}
.info-row .ico svg { width: 18px; height: 18px; }
.info-row span { display: block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 3px; }
.info-row strong, .info-row a { font-size: 1rem; color: var(--white); font-weight: 500; line-height: 1.4; }
.info-row a:hover { color: var(--blue-bright); }
.contact-social { display: flex; gap: 10px; margin-top: 26px; position: relative; }
.contact-social a {
  width: 42px; height: 42px; border-radius: var(--radius);
  background: rgba(255,255,255,0.08); color: var(--white);
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.contact-social a:hover { background: var(--blue); }
.contact-social svg { width: 18px; height: 18px; }

.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 38px; box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: 1.7rem; margin-bottom: 8px; }
.form-card > p { font-size: 0.95rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--steel); margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 0.97rem; color: var(--ink);
  background: var(--sand); border: 1px solid transparent; border-radius: var(--radius);
  padding: 13px 15px; transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input[type="file"] { padding: 10px 12px; font-size: 0.88rem; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.form-card .btn { width: 100%; margin-top: 8px; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(0.25) contrast(1.05); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; text-align: left;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink);
}
.faq-q svg { width: 20px; height: 20px; color: var(--blue); flex: none; transition: transform 0.3s var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding-bottom: 24px; font-size: 0.97rem; line-height: 1.7; max-width: 780px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-light); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 56px; }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: var(--muted-light); }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; color: var(--muted-light); max-width: 300px; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 0.86rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.92rem; color: var(--muted-light); transition: color 0.2s; }
.footer-col a:hover { color: var(--blue-bright); }
.footer-contact li { display: flex; gap: 11px; font-size: 0.92rem; line-height: 1.5; }
.footer-contact svg { width: 15px; height: 15px; color: var(--blue-bright); flex: none; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 0.82rem;
}
.footer-bottom .lic { color: var(--muted-light); }
.footer-bottom .lic strong { color: var(--white); font-weight: 600; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .step-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .split { gap: 44px; }
  .detail-block { gap: 36px; }
}

@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav { min-height: 72px; }
  .nav-cta .btn { display: none; }
  .section { padding: 76px 0; }
  .split, .contact-grid, .detail-block { grid-template-columns: 1fr; }
  .detail-block.rev .detail-media { order: 0; }
  .split-media .badge-card { right: 12px; bottom: -20px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .gal-grid { grid-template-columns: 1fr 1fr; }
  .gal-item.tall { grid-row: span 1; aspect-ratio: 4/3; }
  .stats-band .wrap { grid-template-columns: 1fr 1fr; gap: 34px; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; }
  .hero .wrap { padding-top: 70px; padding-bottom: 70px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .section { padding: 60px 0; }
  .grid-4, .grid-3, .grid-2, .gal-grid, .form-row { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: 34px; }
  .trust .wrap { grid-template-columns: 1fr; }
  .stats-band .wrap { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-stats { gap: 0; }
  .hero-stat { padding-right: 20px; margin-right: 20px; }
  .hero-stat strong { font-size: 1.6rem; }
  .hero-stat span { font-size: 0.66rem; }
  .topbar-left { gap: 14px; font-size: 0.76rem; }
  .topbar-right { display: none; }
  .form-card, .contact-info-card { padding: 28px 22px; }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 1.1rem; }
  .brand-sub { font-size: 0.58rem; letter-spacing: 0.14em; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .ba-knob { width: 44px; height: 44px; }
}
