:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-2: #ebf0f3;
  --text: #10171d;
  --text-soft: #566471;
  --line: rgba(15, 24, 33, 0.11);
  --dark: #0b1116;
  --dark-soft: #111920;
  --blue: #0a7fda;
  --blue-2: #42a8f6;
  --blue-deep: #0565b2;
  --shadow-lg: 0 24px 60px rgba(8, 14, 20, 0.18);
  --shadow-md: 0 16px 40px rgba(8, 14, 20, 0.11);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 42px;
  --max: 1240px;
  --gutter: clamp(18px, 2vw, 28px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; line-height: 1.7; color: var(--text-soft); }
h1,h2,h3,h4 { margin: 0 0 1rem; line-height: 0.98; letter-spacing: -0.03em; color: var(--text); }
h1 { font-size: clamp(3rem, 6vw, 5.7rem); max-width: 12ch; }
h1 span, h2 span { font-style: italic; }
h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); max-width: 12ch; }
h3 { font-size: 1.55rem; }
.container { width: min(var(--max), calc(100% - (var(--gutter) * 2))); margin: 0 auto; }
.site-shell {
  position: fixed; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 8%, rgba(66,168,246,.10), transparent 28%),
    radial-gradient(circle at 85% 16%, rgba(10,127,218,.08), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.0), rgba(255,255,255,.0));
  z-index: -1;
}
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section-dark { background: var(--dark); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.section-dark .eyebrow, .section-dark strong, .section-dark a { color: #fff; }
.section-dark p, .section-dark span { color: rgba(255,255,255,.76); }
.section-head { margin-bottom: 36px; }
.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  transition: background .25s ease, backdrop-filter .25s ease, box-shadow .25s ease, transform .25s ease;
}
.site-header.scrolled {
  background: rgba(8, 14, 20, .74);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 34px rgba(0,0,0,.18);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px; gap: 24px;
}
.brand { flex: 0 0 auto; }
.brand img { width: clamp(180px, 18vw, 250px); height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: rgba(255,255,255,.88);
  font-size: .98rem;
  font-weight: 550;
  position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -8px; width: 100%; height: 2px;
  background: var(--blue-2); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }
.header-ctas { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  color: rgba(255,255,255,.92);
  font-weight: 650;
  white-space: nowrap;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 20px; border-radius: 14px; font-weight: 700;
  border: 1px solid transparent; transition: transform .25s ease, background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  color: #fff; box-shadow: 0 14px 30px rgba(10,127,218,.24);
}
.btn-primary:hover { background: linear-gradient(180deg, #58b2fb, var(--blue-deep)); }
.btn-secondary {
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.btn-secondary.light {
  border-color: rgba(255,255,255,.28);
}
.btn-block { width: 100%; }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); padding: 0;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 6px auto; }
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: clip;
}
.hero-media, .hero-media img, .hero-overlay {
  position: absolute; inset: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.04);
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 10, 15, 0.92) 0%, rgba(5,10,15,.72) 34%, rgba(5,10,15,.22) 70%, rgba(5,10,15,.05) 100%),
    linear-gradient(180deg, rgba(5,10,15,.18) 0%, rgba(5,10,15,0) 28%, rgba(5,10,15,.52) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: clamp(40px, 6vw, 72px);
}
.hero-copy {
  max-width: 58ch;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
}
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin: 30px 0 28px;
}
.proof-card {
  min-width: 180px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 16px 18px;
}
.proof-card strong { display: block; margin-bottom: 4px; }
.stars { color: #ffcb3d; letter-spacing: .15em; font-size: 1rem; margin-bottom: 8px; }
.stars.small { font-size: .92rem; margin-bottom: 12px; }
.hero-actions, .hero-actions.left { display: flex; flex-wrap: wrap; gap: 12px; }
.ticker-bar {
  overflow: hidden; border-block: 1px solid rgba(255,255,255,.06); background: #0f171d; color: rgba(255,255,255,.72); position: relative; z-index: 1;
}
.ticker-track {
  display: flex; gap: 42px; align-items: center; min-height: 70px; white-space: nowrap; width: max-content; padding-left: 28px; animation: ticker 34s linear infinite;
}
.ticker-track span { position: relative; font-size: .92rem; letter-spacing: .14em; text-transform: uppercase; }
.ticker-track span::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-2); position: absolute; right: -22px; top: 50%; transform: translateY(-50%);
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-40%); } }
.intro-grid, .split-grid, .quote-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 62px); align-items: center;
}
.results-section { background: linear-gradient(180deg, #eff3f5, #f8fbfc); }
.before-after {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 10; background: #dfe7ea;
}
.before-after > img, .after-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.after-wrap {
  position: absolute; inset: 0 auto 0 0; overflow: hidden; border-right: 2px solid rgba(255,255,255,.82);
}
.slider-handle {
  position: absolute; top: 50%; left: 58%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%; background: #fff; box-shadow: 0 14px 36px rgba(0,0,0,.2); cursor: ew-resize;
}
.slider-handle::before, .slider-handle::after {
  content: ""; position: absolute; top: 50%; width: 14px; height: 14px; border-top: 2px solid var(--text); border-right: 2px solid var(--text);
}
.slider-handle::before { left: 14px; transform: translateY(-50%) rotate(-135deg); }
.slider-handle::after { right: 14px; transform: translateY(-50%) rotate(45deg); }
.before-after-label {
  position: absolute; top: 20px; z-index: 2; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px;
  background: rgba(11, 17, 22, .74); color: #fff;
}
.before-after-label.before { left: 20px; }
.before-after-label.after { right: 20px; }
.service-grid, .gallery-grid, .review-grid, .process-grid {
  display: grid; gap: 24px;
}
.service-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.service-card, .gallery-card, .review-card, .process-card, .quote-form {
  background: var(--surface); border: 1px solid rgba(16,23,29,.08); border-radius: 28px; box-shadow: var(--shadow-md);
}
.service-card { overflow: hidden; }
.service-media { aspect-ratio: 4 / 3; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.service-card:hover .service-media img, .gallery-card:hover img { transform: scale(1.04); }
.service-body { padding: 22px; }
.service-index {
  display: inline-flex; padding: 7px 10px; margin-bottom: 14px; border-radius: 999px; background: rgba(10,127,218,.1); color: var(--blue-deep); font-size: .8rem; font-weight: 800; letter-spacing: .12em;
}
.service-body ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--text-soft); }
.service-body li { padding-left: 18px; position: relative; }
.service-body li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.split-feature { overflow: clip; }
.split-grid { align-items: stretch; }
.split-copy, .split-media { align-self: center; }
.feature-list { display: grid; gap: 18px; margin: 28px 0 30px; }
.feature-list div { padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.split-media img { height: 100%; width: 100%; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow-lg); }
.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-card { overflow: hidden; }
.gallery-card img { width: 100%; aspect-ratio: 4/4.35; object-fit: cover; transition: transform .7s ease; }
.gallery-card figcaption { padding: 18px 18px 20px; }
.gallery-card strong { display: block; margin-bottom: 6px; }
.review-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.review-card { padding: 28px; }
.review-card p { color: var(--text); font-size: 1.04rem; }
.review-card strong { display: block; margin-top: 18px; }
.process-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.process-card { padding: 26px; }
.process-card span {
  display: inline-flex; margin-bottom: 14px; color: var(--blue); font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em;
}
.quote-section { position: relative; }
.quote-grid { align-items: start; }
.quote-points { display: grid; gap: 16px; margin-top: 28px; }
.quote-points strong { display: block; margin-bottom: 6px; }
.quote-form { padding: 28px; }
.field-grid { display: grid; gap: 16px; }
.field-grid.two-up { grid-template-columns: repeat(2, minmax(0,1fr)); }
label { display: grid; gap: 10px; margin-bottom: 16px; }
label span { color: var(--text); font-weight: 700; }
input, select, textarea {
  width: 100%; border: 1px solid rgba(16,23,29,.14); border-radius: 14px; background: #fff; min-height: 54px; padding: 0 15px; font: inherit; color: var(--text);
}
textarea { padding: 15px; resize: vertical; min-height: 130px; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10,127,218,.11);
}
.form-note { font-size: .9rem; margin-top: 12px; color: rgba(255,255,255,.64); }
.form-success {
  margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(80, 215, 140, .12); color: #b7f2ca; border: 1px solid rgba(80, 215, 140, .25);
}
.site-footer {
  background: #091015; color: rgba(255,255,255,.76); padding: 50px 0 26px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr .8fr .9fr .7fr; gap: 28px; padding-bottom: 32px;
}
.footer-grid h4 { margin-bottom: 14px; color: #fff; font-size: 1rem; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-logo { width: 220px; margin-bottom: 18px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08);
}
.reveal {
  opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 1100px) {
  .site-nav { gap: 18px; }
  .service-grid, .review-grid, .process-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .intro-grid, .split-grid, .quote-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .site-nav {
    position: fixed; inset: 76px 18px auto 18px; background: rgba(8,14,20,.94); backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.08); border-radius: 24px; padding: 18px; display: none; flex-direction: column; align-items: flex-start; gap: 14px;
  }
  .site-nav.open { display: flex; }
  .nav-phone, .header-ctas .btn { display: none; }
  .menu-toggle { display: inline-block; }
  .service-grid, .review-grid, .process-grid, .gallery-grid { grid-template-columns: 1fr; }
  .field-grid.two-up { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-content { padding-top: 126px; padding-bottom: 40px; }
  .proof-card { flex: 1 1 240px; }
  .slider-handle { width: 54px; height: 54px; }
}
@media (max-width: 560px) {
  .header-inner { min-height: 76px; }
  .brand img { width: 185px; }
  h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
  h2 { font-size: clamp(1.95rem, 8.5vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .before-after-label { top: 14px; font-size: .68rem; padding: 8px 10px; }
  .service-body, .review-card, .process-card, .quote-form { padding: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
