/* ================================
   CLIMATEMIX — Modern Redesign
   Design tokens + global system
================================ */

:root {
  /* Brand palette — cool, premium, trustworthy */
  --brand-900: #061826;
  --brand-800: #0A2A40;
  --brand-700: #0B4D6E;
  --brand-600: #0E6891;
  --brand-500: #1589B8;
  --brand-400: #2BA8D8;
  --brand-300: #5FC5E8;
  --brand-200: #A6E0F2;
  --brand-100: #E0F4FB;
  --brand-50:  #F2FAFD;

  --accent-500: #FF8A3D;  /* warm CTA accent (heating side) */
  --accent-400: #FFA866;

  --ink-900: #0A1420;
  --ink-800: #1A2836;
  --ink-700: #2E3E4E;
  --ink-500: #5B6A7A;
  --ink-400: #8697A6;
  --ink-300: #B5C2CE;
  --ink-200: #DBE3EB;
  --ink-100: #EEF2F6;
  --ink-50:  #F7F9FC;

  --white: #FFFFFF;
  --success: #16A571;
  --star: #F5B400;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Shape & motion */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(11,77,110,0.05);
  --shadow-sm: 0 2px 8px rgba(11,77,110,0.06);
  --shadow-md: 0 8px 24px rgba(11,77,110,0.08);
  --shadow-lg: 0 18px 48px rgba(11,77,110,0.12);
  --shadow-glow: 0 12px 40px rgba(43,168,216,0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink-800);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -0.028em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p  { color: var(--ink-700); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-100);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(43,168,216,0.5);
}
.btn-secondary {
  background: var(--white);
  color: var(--brand-700);
  border-color: var(--ink-200);
}
.btn-secondary:hover {
  border-color: var(--brand-500);
  color: var(--brand-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  color: var(--brand-700);
}
.btn-ghost:hover { color: var(--brand-500); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-400));
  color: var(--white);
  box-shadow: 0 12px 36px rgba(255,138,61,0.35);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(255,138,61,0.5);
}
.btn svg { width: 18px; height: 18px; }

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.35s var(--ease);
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--ink-100);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: center;
  color: var(--brand-700);
  transition: color 0.25s;
}
.logo img,
.logo svg {
  height: 34px;
  width: auto;
  display: block;
  transition: height 0.3s var(--ease);
}
.nav.scrolled .logo img,
.nav.scrolled .logo svg { height: 30px; }
.logo:hover { color: var(--brand-500); }
footer .logo { color: white; margin-bottom: 22px; }
footer .logo img,
footer .logo svg { height: 38px; }
@media (max-width: 768px) {
  .logo img, .logo svg { height: 28px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: all 0.25s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-700);
  background: var(--brand-50);
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600;
  color: var(--ink-800);
  font-size: 0.925rem;
}
.nav-phone svg { width: 16px; height: 16px; color: var(--brand-500); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--ink-50);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 18px; height: 2px;
  background: var(--ink-800);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(43,168,216,0.12), transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(11,77,110,0.08), transparent 55%),
    linear-gradient(180deg, #F7FBFD 0%, #FFFFFF 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(43,168,216,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,168,216,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero h1 {
  margin-bottom: 24px;
}
.hero h1 .highlight {
  background: linear-gradient(120deg, var(--brand-500), var(--brand-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--ink-600, var(--ink-500));
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--ink-100);
}
.trust-stars { display: flex; gap: 2px; color: var(--star); }
.trust-stars svg { width: 18px; height: 18px; fill: currentColor; }
.trust-text {
  font-size: 0.875rem;
  color: var(--ink-500);
}
.trust-text strong { color: var(--ink-900); }

.hero-visual {
  position: relative;
  z-index: 1;
}
.hero-card {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(11,77,110,0) 40%, rgba(6,24,38,0.88) 100%),
    linear-gradient(145deg, var(--brand-700), var(--brand-900));
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% center;
  z-index: 0;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(95,197,232,0.25), transparent 50%),
    linear-gradient(180deg, rgba(6,24,38,0.15) 0%, rgba(6,24,38,0) 40%, rgba(6,24,38,0.85) 100%);
  z-index: 1;
}
.hero-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.05) 0,
      rgba(255,255,255,0.05) 1px,
      transparent 1px,
      transparent 14px);
  pointer-events: none;
  z-index: 1;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent);
}
.hero-badge {
  position: absolute;
  top: 28px; left: 28px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #5FC5E8;
  box-shadow: 0 0 12px #5FC5E8;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.hero-icon svg {
  width: 60%;
  height: auto;
  color: rgba(255,255,255,0.9);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* About page: Robert portrait */
.about-portrait {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--brand-900);
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-portrait-overlay {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  padding: 20px 24px;
  background: rgba(6,24,38,0.62);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 2;
}
.about-portrait-overlay strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 2px;
}
.about-portrait-overlay span {
  font-size: 0.8rem;
  opacity: 0.75;
}
.about-portrait-overlay .badges {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.about-portrait-overlay .badge {
  padding: 5px 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-stat {
  position: absolute;
  bottom: 28px; left: 28px;
  right: 28px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  color: white;
  z-index: 2;
}
.hero-stat-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.hero-stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-stat-item span {
  font-size: 0.75rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Floating ping cards */
.float-card {
  position: absolute;
  padding: 14px 18px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}
.float-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--brand-100);
  color: var(--brand-600);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.float-card-icon svg { width: 20px; height: 20px; }
.float-card strong {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-900);
  font-weight: 700;
}
.float-card span {
  font-size: 0.75rem;
  color: var(--ink-500);
}
.float-card-1 { top: 15%; left: -40px; animation-delay: 0s; }
.float-card-2 { bottom: 25%; right: -30px; animation-delay: 2.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============ LOGO STRIP ============ */
.logos {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--ink-100);
}
.logos-label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 28px;
  font-weight: 600;
}
.logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.75;
}
.logo-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink-400);
  letter-spacing: -0.02em;
  transition: color 0.25s;
}
.logo-brand:hover { color: var(--brand-700); }

/* ============ SECTIONS ============ */
section {
  padding: 100px 0;
  position: relative;
}
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-head.left {
  margin: 0 0 60px;
  text-align: left;
}
.section-head p {
  margin-top: 16px;
  font-size: 1.0625rem;
}

/* ============ SERVICES ============ */
.services {
  background: var(--ink-50);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: white;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-100), var(--brand-50));
  color: var(--brand-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: all 0.35s;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: white;
  transform: scale(1.05);
}
.service-card h3 { margin-bottom: 10px; }
.service-card p {
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-700);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.25s;
}
.service-link:hover { gap: 10px; }
.service-link svg { width: 14px; height: 14px; }

/* ============ BENEFITS / WHY ============ */
.why {
  position: relative;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.why-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(145deg, var(--brand-100), var(--brand-50));
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-visual::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 30% 30%, rgba(43,168,216,0.15), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(11,77,110,0.1), transparent 50%);
  animation: rotate 25s linear infinite;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.why-visual svg {
  position: relative;
  width: 70%;
  color: var(--brand-600);
  filter: drop-shadow(0 20px 40px rgba(11,77,110,0.15));
}

.why-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--ink-100);
}
.why-item:last-child { border-bottom: none; }
.why-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
}
.why-item h4 { margin-bottom: 6px; }
.why-item p { font-size: 0.95rem; }

/* ============ PROMISE ============ */
.promise {
  background:
    radial-gradient(ellipse at top right, rgba(43,168,216,0.12), transparent 60%),
    linear-gradient(135deg, var(--brand-900), var(--brand-700));
  color: white;
  position: relative;
  overflow: hidden;
}
.promise::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.promise h2 { color: white; }
.promise .section-head p { color: rgba(255,255,255,0.75); }
.promise .eyebrow {
  background: rgba(255,255,255,0.1);
  color: var(--brand-200);
}
.promise .eyebrow::before { background: var(--brand-300); }

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.promise-card {
  padding: 32px 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: all 0.4s var(--ease);
}
.promise-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}
.promise-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-600));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.promise-icon svg { width: 24px; height: 24px; color: white; }
.promise-card h4 { color: white; margin-bottom: 8px; }
.promise-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ============ PROCESS ============ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 36px 30px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  counter-increment: step;
  transition: all 0.4s var(--ease);
}
.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--brand-500), var(--brand-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.95rem; }
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-200);
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  background: var(--ink-50);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: white;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.testimonial:hover { box-shadow: var(--shadow-md); }
.testimonial-stars {
  display: flex; gap: 2px;
  color: var(--star);
  margin-bottom: 20px;
}
.testimonial-stars svg { width: 18px; height: 18px; fill: currentColor; }
.testimonial-quote {
  flex: 1;
  font-size: 1.0625rem;
  color: var(--ink-800);
  line-height: 1.55;
  margin-bottom: 24px;
  font-weight: 500;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-100);
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-600));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  color: var(--ink-900);
  font-size: 0.95rem;
}
.testimonial-author span {
  font-size: 0.825rem;
  color: var(--ink-500);
}

/* ============ FAQ ============ */
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  background: white;
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item:hover { border-color: var(--brand-200); }
.faq-item[open] {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--ink-900);
  font-size: 1.0625rem;
  transition: color 0.25s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.35s var(--ease);
}
.faq-icon svg { width: 14px; height: 14px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 26px 24px;
  color: var(--ink-600, var(--ink-700));
  line-height: 1.65;
}

/* ============ CTA BAND ============ */
.cta-band {
  padding: 0 0 100px;
}
.cta-box {
  position: relative;
  padding: 72px 60px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at bottom right, rgba(43,168,216,0.25), transparent 60%),
    linear-gradient(135deg, var(--brand-800), var(--brand-900));
  color: white;
  overflow: hidden;
  text-align: center;
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.cta-box h2 {
  color: white;
  max-width: 600px;
  margin: 0 auto 16px;
}
.cta-box p {
  color: rgba(255,255,255,0.75);
  max-width: 550px;
  margin: 0 auto 32px;
  font-size: 1.0625rem;
}
.cta-box .btn-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.cta-box .btn-primary {
  background: white;
  color: var(--brand-800);
}
.cta-box .btn-primary:hover {
  background: var(--brand-50);
  color: var(--brand-900);
}
.cta-box .btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.25);
}
.cta-box .btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: white;
  color: white;
}

/* ============ FOOTER ============ */
footer {
  background: var(--brand-900);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 30px;
  position: relative;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
footer .logo {
  color: white;
  margin-bottom: 18px;
}
.foot-about {
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.65;
  max-width: 340px;
}
.foot-socials { display: flex; gap: 10px; }
.foot-socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
}
.foot-socials a:hover {
  background: var(--brand-600);
  transform: translateY(-2px);
}
.foot-socials svg { width: 16px; height: 16px; color: white; }

.foot-col h5 {
  color: white;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-weight: 700;
}
.foot-col ul li { margin-bottom: 10px; }
.foot-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.foot-col ul li a:hover { color: white; }

.foot-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.foot-contact svg {
  width: 16px; height: 16px;
  color: var(--brand-400);
  flex-shrink: 0;
}

.foot-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}
.foot-bottom a { color: rgba(255,255,255,0.6); }
.foot-bottom a:hover { color: white; }

.foot-credit {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.foot-credit a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.45);
  font-size: 0.8125rem;
  transition: color 0.25s;
}
.foot-credit a:hover { color: white; }
.foot-credit img {
  height: 22px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.25s;
}
.foot-credit a:hover img { opacity: 1; }

/* ============ PAGE HEADERS (sub-pages) ============ */
.page-head {
  padding: 160px 0 80px;
  background:
    radial-gradient(ellipse at top right, rgba(43,168,216,0.1), transparent 55%),
    linear-gradient(180deg, var(--brand-50), var(--white));
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(43,168,216,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,168,216,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.page-head-inner { position: relative; max-width: 780px; }
.page-head h1 { margin: 16px 0 20px; }
.page-head p { font-size: 1.125rem; color: var(--ink-600, var(--ink-500)); }
.breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--ink-500);
}
.breadcrumbs a { color: var(--brand-700); font-weight: 500; }

/* ============ RICH CONTENT (inner pages) ============ */
.rich {
  max-width: 760px;
  margin: 0 auto;
}
.rich > * + * { margin-top: 24px; }
.rich h2 { margin-top: 56px; }
.rich h3 { margin-top: 40px; }
.rich ul {
  list-style: none;
  padding: 0;
}
.rich ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}
.rich ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 18px; height: 18px;
  background: var(--brand-100);
  border-radius: 50%;
}
.rich ul li::after {
  content: "";
  position: absolute;
  left: 5px; top: 12px;
  width: 8px; height: 5px;
  border-left: 2px solid var(--brand-600);
  border-bottom: 2px solid var(--brand-600);
  transform: rotate(-45deg);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-row:nth-child(even) .feature-visual { order: -1; }
.feature-row:last-child { margin-bottom: 0; }
.feature-visual {
  aspect-ratio: 5/4;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--brand-100), var(--brand-50));
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.feature-visual::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 30% 30%, rgba(43,168,216,0.2), transparent 50%);
  animation: rotate 30s linear infinite;
}
.feature-visual svg {
  position: relative;
  width: 55%;
  color: var(--brand-600);
  filter: drop-shadow(0 16px 32px rgba(11,77,110,0.15));
}

/* ============ FORMS ============ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.form-box {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-800);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--ink-50);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  color: var(--ink-900);
  transition: all 0.25s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: white;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(43,168,216,0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-box button[type="submit"] {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.form-note {
  font-size: 0.8125rem;
  color: var(--ink-400);
  margin-top: 14px;
  text-align: center;
}
.info-card {
  padding: 32px;
  background: var(--brand-50);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}
.info-card h4 { margin-bottom: 6px; }
.info-card p { font-size: 0.95rem; margin-bottom: 12px; }
.info-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-700);
  font-weight: 600;
}
.info-list {
  list-style: none;
  padding: 0;
}
.info-list li {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ink-100);
}
.info-list li:last-child { border-bottom: none; }
.info-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-100);
  color: var(--brand-700);
  display: flex; align-items: center; justify-content: center;
}
.info-icon svg { width: 20px; height: 20px; }
.info-list strong {
  display: block;
  color: var(--ink-900);
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.info-list span { font-size: 0.875rem; color: var(--ink-500); }
.info-list a { color: var(--brand-700); font-weight: 500; }

/* ============ ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  section { padding: 80px 0; }
  .hero { padding: 140px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .why-grid { grid-template-columns: 1fr; gap: 50px; }
  .why-visual { max-width: 480px; margin: 0 auto; }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row:nth-child(even) .feature-visual { order: 0; }
  .form-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }
  section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding: 120px 0 60px; }
  .hero-sub { font-size: 1rem; }
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { padding: 10px 16px; font-size: 0.875rem; }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%; left: 16px; right: 16px;
    padding: 16px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--ink-100);
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .services-grid,
  .process-grid,
  .testimonials-grid,
  .promise-grid { grid-template-columns: 1fr; }
  .logos-grid { gap: 28px; }
  .logo-brand { font-size: 1.125rem; }
  .float-card { display: none; }

  .foot-grid { grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; }
  .foot-bottom { flex-direction: column; gap: 8px; }

  .cta-box { padding: 48px 28px; }
  .form-box { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .page-head { padding: 130px 0 60px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .btn { padding: 12px 20px; font-size: 0.875rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .hero-stat-row { flex-direction: column; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============ BLOG ============ */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}
.empty-state h2 { margin-bottom: 12px; }

.blog-featured { padding: 100px 0 60px; }
.featured-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 30px;
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  transition: all 0.4s var(--ease);
  color: inherit;
}
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.featured-image {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brand-50);
}
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.featured-card:hover .featured-image img { transform: scale(1.03); }
.featured-content { padding: 10px 20px 10px 10px; }
.featured-content h2 { margin: 14px 0 14px; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.featured-content p { margin-bottom: 20px; color: var(--ink-600, var(--ink-500)); }
.featured-meta {
  display: flex; gap: 8px;
  font-size: 0.875rem;
  color: var(--ink-400);
  margin-bottom: 18px;
}
.featured-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-700);
  font-weight: 600;
  transition: gap 0.25s;
}
.featured-arrow svg { width: 16px; height: 16px; }
.featured-card:hover .featured-arrow { gap: 12px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: inherit;
  transition: all 0.4s var(--ease);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.blog-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--brand-50);
}
.blog-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.blog-card:hover .blog-card-image img { transform: scale(1.04); }
.blog-card-body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { margin: 10px 0 10px; font-size: 1.25rem; }
.blog-card-body p {
  margin-bottom: 18px;
  font-size: 0.95rem;
  color: var(--ink-600, var(--ink-500));
  flex: 1;
}
.blog-card-meta {
  display: flex; gap: 8px;
  font-size: 0.8125rem;
  color: var(--ink-400);
  padding-top: 16px;
  border-top: 1px solid var(--ink-100);
  margin-top: auto;
}

/* ============ BLOG POST ============ */
.post-head {
  padding: 140px 0 50px;
  background:
    radial-gradient(ellipse at top right, rgba(43,168,216,0.08), transparent 55%),
    linear-gradient(180deg, var(--brand-50), var(--white));
  position: relative;
  overflow: hidden;
}
.post-head-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.post-head .breadcrumbs { justify-content: center; }
.post-head .eyebrow { margin: 18px 0 18px; }
.post-head h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: 18px;
}
.post-lede {
  font-size: 1.125rem;
  color: var(--ink-600, var(--ink-500));
  max-width: 620px;
  margin: 0 auto 32px;
}
.post-meta {
  display: flex;
  justify-content: center;
  padding-top: 18px;
  border-top: 1px solid var(--ink-100);
}
.post-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.post-author strong { display: block; color: var(--ink-900); font-size: 0.95rem; }
.post-author span { font-size: 0.825rem; color: var(--ink-500); }

.post-hero { padding: 30px 0 60px; }
.post-hero img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.post-body { padding: 0 0 60px; }
.post-body .rich {
  max-width: 720px;
}
.post-body .rich p,
.post-body .rich ul,
.post-body .rich ol,
.post-body .rich blockquote {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-800);
}
.post-body .rich h2 {
  font-size: 1.75rem;
  margin-top: 56px;
  margin-bottom: 18px;
}
.post-body .rich h3 {
  font-size: 1.375rem;
  margin-top: 36px;
  margin-bottom: 14px;
}
.post-body .rich a {
  color: var(--brand-700);
  text-decoration: underline;
  text-decoration-color: var(--brand-200);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.25s;
}
.post-body .rich a:hover { text-decoration-color: var(--brand-500); }
.post-body .rich blockquote {
  border-left: 4px solid var(--brand-500);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--ink-700);
}
.post-body .rich img {
  border-radius: var(--radius-md);
  margin: 32px 0;
}
.post-body .rich code {
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  background: var(--ink-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.95em;
}
.post-body .rich pre {
  background: var(--brand-900);
  color: white;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 24px 0;
}
.post-body .rich pre code { background: transparent; padding: 0; color: inherit; }

.post-cta { padding: 0 0 100px; }

@media (max-width: 1024px) {
  .featured-card { grid-template-columns: 1fr; gap: 30px; padding: 20px; }
  .featured-content { padding: 0 10px 10px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .post-head { padding: 120px 0 40px; }
  .post-hero { padding: 24px 0 40px; }
}
