/* ===================================
   GrimeGhost Exterior Cleaning
   Daylight Minimal — clean, light, airy
   =================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  color-scheme: light;

  /* Canvas & ink */
  --bg: #ffffff;
  --bg-soft: #f5f8fa;
  --bg-softer: #eef3f7;
  --ink: #0f1c24;
  --ink-2: #3a4a54;
  --muted: #6b7b85;
  --line: #e6edf1;
  --line-strong: #d6e0e6;

  /* Single accent */
  --accent: #0a84c4;
  --accent-600: #0a6c9f;
  --accent-700: #0a587f;
  --accent-soft: #e8f3fb;

  /* Dark (footer / contrast block) */
  --dark: #0d1a23;
  --dark-2: #13242f;
  --on-dark: #e7eef2;
  --on-dark-muted: #93a4ae;

  --white: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.8);
  --header-scrolled-bg: rgba(255, 255, 255, 0.92);
  --nav-panel-bg: #ffffff;
  --overlay-bg: rgba(15, 28, 36, 0.35);
  --back-to-top-bg: #ffffff;
  --placeholder: #aab7bf;
  --slider-label-bg: rgba(255, 255, 255, 0.92);

  /* Legacy aliases (kept so inline SVGs / shared rules still resolve) */
  --cyan-400: var(--accent);
  --cyan-500: var(--accent-600);
  --slate-300: var(--ink-2);
  --slate-400: var(--muted);
  --slate-500: var(--muted);
  --navy-950: var(--dark);

  /* Radii */
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  /* Soft shadows (used sparingly) */
  --shadow-sm: 0 1px 2px rgba(15, 28, 36, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 28, 36, 0.08);
  --shadow-lg: 0 18px 48px rgba(15, 28, 36, 0.12);

  /* Transitions */
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0f171d;
  --bg-soft: #142028;
  --bg-softer: #1a2a34;
  --ink: #f3f8fb;
  --ink-2: #d5e1e7;
  --muted: #9aadb8;
  --line: #263945;
  --line-strong: #3a515f;

  --accent: #3bb8f2;
  --accent-600: #70cdf7;
  --accent-700: #a9e2fb;
  --accent-soft: rgba(59, 184, 242, 0.14);

  --dark: #081017;
  --dark-2: #101c24;
  --on-dark: #f3f8fb;
  --on-dark-muted: #adbfca;

  --header-bg: rgba(15, 23, 29, 0.82);
  --header-scrolled-bg: rgba(15, 23, 29, 0.94);
  --nav-panel-bg: #101a21;
  --overlay-bg: rgba(4, 9, 13, 0.62);
  --back-to-top-bg: #101a21;
  --placeholder: #718692;
  --slider-label-bg: rgba(15, 23, 29, 0.86);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 22px 54px rgba(0, 0, 0, 0.4);
}

/* Dark accent shades are light, so primary buttons and step
   numbers need dark ink for contrast */
:root[data-theme="dark"] .btn--primary,
:root[data-theme="dark"] .btn--primary:hover,
:root[data-theme="dark"] .step-card__number,
:root[data-theme="dark"] .gallery__tab.active,
:root[data-theme="dark"] .slider-label--after {
  color: #06202e;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink-2);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--accent-soft);
  color: var(--accent-700);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-600);
}

ul {
  list-style: none;
}

/* Accessible focus ring */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.faq__question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section headings ---------- */
.section__eyebrow {
  display: block;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(1.9rem, 1.35rem + 2.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  text-align: center;
  margin-bottom: 16px;
}

.section__subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 64px;
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  font-family: inherit;
  letter-spacing: 0;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-600));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(10, 132, 196, 0.18);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--accent-600), var(--accent-700));
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10, 132, 196, 0.26);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--outline:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--bg-soft);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  margin-top: 24px;
}

.btn__arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ===================================
   HEADER
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition), background var(--transition);
}

.header--scrolled {
  background: var(--header-scrolled-bg);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
  transition: height var(--transition);
}

.header--scrolled .header__inner {
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo__img {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition);
}

.header--scrolled .logo__img {
  height: 40px;
}

/* Nav */
.nav__list {
  display: flex;
  gap: 26px;
}

.nav__link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link:hover::after {
  width: 100%;
}

/* Header phone */
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 9px 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  transition: all var(--transition-fast);
}

.header__phone:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.header__phone .icon {
  flex-shrink: 0;
}

.header__social {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.header__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--muted);
  transition: all var(--transition-fast);
}

.header__social a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-soft);
}

.theme-switcher__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

/* Icon-only switcher: keep labels for screen readers */
.theme-switcher__option span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.theme-switcher__option:hover {
  color: var(--ink);
}

.theme-switcher__option[aria-pressed="true"] {
  background: var(--bg);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.theme-switcher__option svg {
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition-fast);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   HERO
   =================================== */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  background:
    radial-gradient(900px 480px at 88% -12%, var(--accent-soft), transparent 65%),
    radial-gradient(720px 420px at -8% 112%, var(--accent-soft), transparent 60%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero__content {
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-700);
  letter-spacing: 0.2px;
  margin-bottom: 26px;
}

.hero__badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

.hero__title {
  font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.5rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero__highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero__underline {
  display: none;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 34px;
  line-height: 1.65;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Social-proof strip */
.hero__proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--accent);
}

.hero__stars svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.hero__proof-text {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
}

.hero__proof-text strong {
  color: var(--ink);
  font-weight: 700;
}

.hero__visual {
  position: relative;
}

/* ===================================
   TRUST BANNER
   =================================== */
.trust-banner {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}

.trust-banner__inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-banner__item {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
}

.trust-banner__item svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  flex-shrink: 0;
}

/* ===================================
   SERVICES
   =================================== */
.services {
  padding: 110px 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

/* Accent hairline sweeps in on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card__icon-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  /* tint the black source icon to the accent blue */
  filter: brightness(0) saturate(100%) invert(34%) sepia(86%) saturate(1190%) hue-rotate(173deg) brightness(92%) contrast(96%);
}

:root[data-theme="dark"] .service-card__icon-img {
  filter: brightness(0) saturate(100%) invert(68%) sepia(72%) saturate(840%) hue-rotate(169deg) brightness(101%) contrast(92%);
}

.service-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}

.service-card__text {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.service-card__list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
  color: var(--ink-2);
  font-weight: 500;
}

/* Clean line-art check */
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ===================================
   BEFORE / AFTER GALLERY
   =================================== */
.gallery {
  padding: 110px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Segmented-control style tabs */
.gallery__tabs {
  display: flex;
  width: fit-content;
  margin: 0 auto 44px;
  gap: 4px;
  padding: 4px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.gallery__tab {
  background: transparent;
  color: var(--muted);
  border: none;
  padding: 9px 20px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery__tab:hover {
  color: var(--ink);
}

.gallery__tab.active {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.gallery__container {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.slider-wrapper {
  display: none;
  opacity: 0;
  width: 100%;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.slider-wrapper.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.slider-image {
  width: 100%;
  height: auto;
  user-select: none;
}

.slider-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.slider-image.before {
  position: relative;
  z-index: 1;
  background: var(--bg-softer);
}

.slider-image.after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  mask-image: linear-gradient(to right, #000 0%, #000 calc(var(--slide-percent, 50%) - 8%), transparent calc(var(--slide-percent, 50%) + 8%), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(var(--slide-percent, 50%) - 8%), transparent calc(var(--slide-percent, 50%) + 8%), transparent 100%);
}

.slider-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 28, 36, 0.12);
  z-index: 3;
  pointer-events: none;
  transform: translateX(-50%);
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: grab;
  pointer-events: auto;
  transition: transform var(--transition-fast);
}

.slider-button:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

.slider-button:active {
  cursor: grabbing;
}

.slider-button__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.slider-label {
  position: absolute;
  bottom: 18px;
  padding: 6px 14px;
  background: var(--slider-label-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ink);
  border: 1px solid var(--line);
  z-index: 4;
  pointer-events: none;
}

.slider-label--before {
  right: 18px;
}

.slider-label--after {
  left: 18px;
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Drag-to-compare hint chip (hero slider) */
.slider-hint {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: var(--slider-label-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ink);
  z-index: 4;
  pointer-events: none;
  white-space: nowrap;
}

/* ===================================
   WHY CHOOSE US
   =================================== */
.why-us {
  padding: 110px 0;
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-us__item {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.why-us__item:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-us__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent);
}

.why-us__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.why-us__item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.why-us__item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ===================================
   HOW IT WORKS (PROCESS)
   =================================== */
.process {
  padding: 110px 0;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 16px;
}

/* Dashed connector visible in the gaps between step cards */
.process__grid::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 8%;
  right: 8%;
  border-top: 2px dashed var(--line-strong);
}

.step-card {
  position: relative;
  text-align: center;
  padding: 44px 28px 36px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.step-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-card__number {
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-600));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(10, 132, 196, 0.28);
}

.step-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px auto 20px;
  color: var(--accent);
}

.step-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ===================================
   ESTIMATE / FORM
   =================================== */
.estimate {
  padding: 110px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.form {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg);
  padding: 48px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
}

.form__grid .form__group {
  margin-bottom: 0;
}

.form__group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form__group:last-child {
  margin-bottom: 0;
}

.form__group--full {
  grid-column: 1 / -1;
}

.form__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.form__input {
  padding: 13px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form__input:hover:not(:focus) {
  border-color: var(--muted);
}

.form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.form__input::placeholder {
  color: var(--placeholder);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230a84c4' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 46px;
  cursor: pointer;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__secure-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form__lock-icon {
  stroke: var(--muted);
  flex-shrink: 0;
}

/* ===================================
   FAQ
   =================================== */
.faq {
  padding: 110px 0;
}

.faq__grid {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq__item:hover {
  border-color: var(--line-strong);
}

.faq__question {
  width: 100%;
  padding: 20px 22px;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq__icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq__answer-inner {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq__item.active {
  border-color: var(--line-strong);
  border-left-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.faq__item.active .faq__question {
  color: var(--accent);
}

.faq__item.active .faq__icon {
  transform: rotate(180deg);
}

/* ===================================
   CONTACT
   =================================== */
.contact {
  padding: 110px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact__grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 44px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--transition-fast);
}

.contact__info-item:hover {
  border-color: var(--line-strong);
}

.contact__info-item .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 10px;
  background: var(--accent-soft);
  stroke: var(--accent);
}

.contact__info-item div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.contact__info-item strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  font-weight: 700;
}

.contact__info-item a,
.contact__info-item span {
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 600;
  word-break: break-word;
  line-height: 1.4;
}

.contact__info-item a:hover {
  color: var(--accent);
}

.contact .form {
  max-width: 100%;
  width: 100%;
}

/* ===================================
   FOOTER (dark contrast block)
   =================================== */
.footer {
  background: var(--dark);
  color: var(--on-dark-muted);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.footer__tagline {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 320px;
  color: var(--on-dark-muted);
}

.footer__links h4,
.footer__contact h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.2px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  color: var(--on-dark-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: #fff;
}

.footer__contact p {
  font-size: 0.9rem;
  margin-bottom: 9px;
  font-weight: 500;
}

.footer__contact a {
  color: var(--on-dark-muted);
  transition: color var(--transition-fast);
}

.footer__contact a:hover {
  color: #fff;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-dark-muted);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer__bottom {
  padding: 22px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===================================
   THANK YOU MODAL
   =================================== */
.thankyou-modal {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  background: transparent;
  max-width: 560px;
  width: 90%;
  box-shadow: none;
  margin: auto;
}

.thankyou-modal::backdrop {
  background: rgba(15, 28, 36, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.thankyou-modal__card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  text-align: center;
  box-sizing: border-box;
}

.thankyou-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.thankyou-modal__close:hover {
  color: var(--ink);
  background: var(--bg-soft);
}

.thankyou__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 26px;
}

.thankyou__icon svg {
  width: 40px;
  height: 40px;
}

.thankyou__title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
}

.thankyou__message {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.thankyou__details {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 32px;
  text-align: left;
}

.thankyou__details p {
  font-size: 0.95rem;
  color: var(--ink-2);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.thankyou__details p:last-child {
  margin-bottom: 0;
}

.thankyou__details p strong {
  color: var(--accent);
  font-weight: 700;
}

.thankyou__details p a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.thankyou__details p a:hover {
  color: var(--accent);
}

.thankyou__details .detail-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.thankyou__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.thankyou__actions .btn {
  width: 100%;
}

.thankyou__social-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.thankyou__social-wrapper span {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.thankyou__social-links {
  display: flex;
  gap: 10px;
}

.thankyou__social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  border: 1px solid var(--line);
  transition: all var(--transition-fast);
}

.thankyou__social-links a:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Animations for open modal dialog */
.thankyou-modal[open] {
  animation: scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.thankyou-modal[open] .thankyou__icon {
  animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.thankyou-modal[open] .thankyou__title {
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.thankyou-modal[open] .thankyou__message {
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.thankyou-modal[open] .thankyou__details {
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.thankyou-modal[open] .thankyou__actions {
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
.thankyou-modal[open] .thankyou__social-wrapper {
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .thankyou-modal__card {
    padding: 40px 24px;
  }
  .thankyou__title {
    font-size: 2.0rem;
  }
}

/* ===================================
   MOBILE NAV OVERLAY
   =================================== */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-bg);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===================================
   BACK TO TOP
   =================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--back-to-top-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 900;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* ===================================
   SCROLL ANIMATIONS
   =================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__subtitle {
    max-width: 540px;
  }

  .hero__actions,
  .hero__proof {
    justify-content: center;
  }

  .hero__visual {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid .service-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    justify-self: center;
  }

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav__list,
  .header__phone,
  .header__social {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--nav-panel-bg);
    padding: 100px 32px 32px;
    box-shadow: -12px 0 40px rgba(15, 28, 36, 0.12);
    transition: right var(--transition);
    z-index: 999;
    border-left: 1px solid var(--line);
  }

  .nav.open {
    right: 0;
  }

  .nav__list {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .nav__link {
    font-size: 1.05rem;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 130px 0 80px;
  }

  .services,
  .gallery,
  .why-us,
  .process,
  .estimate,
  .faq,
  .contact {
    padding: 72px 0;
  }

  .process__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process__grid::before {
    display: none;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .services__grid .service-card:last-child {
    max-width: 100%;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .form {
    padding: 32px 22px;
  }

  .form__grid {
    grid-template-columns: 1fr;
  }

  .slider-image img {
    aspect-ratio: 1 / 1;
  }

  .slider-button {
    width: 44px;
    height: 44px;
  }

  .slider-label {
    padding: 5px 12px;
    font-size: 0.68rem;
    bottom: 14px;
  }

  .slider-label--before { right: 14px; }
  .slider-label--after { left: 14px; }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 400px) {
  .hero__actions .btn {
    width: 100%;
  }
}

/* ===================================
   REDUCED MOTION
   =================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
