/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--dark);
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }

:root {
  /* Klivatec brand */
  --brand: #0682C5;
  --brand-dark: #224989;
  --brand-light: #E6F2F9;
  --brand-gradient: linear-gradient(135deg, #224989 0%, #0682C5 100%);
  --dark: #2C3A57;
  --dark-soft: #40424D;
  /* grayscale palette */
  --gray-cloud: #EDEFF7;
  --gray-smoke: #D3D6E0;
  --gray-steel: #BCBFCC;
  --gray-space: #9DA2B3;
  --gray-graphite: #6E7180;
  --gray-arsenic: #40424D;
  --gray-phantom: #1E1E24;
  /* legacy aliases used across the file */
  --gray: var(--gray-graphite);
  --gray-light: var(--gray-cloud);
  --border: var(--gray-smoke);
  --radius: 16px;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.4rem); }
p { color: #2d3a5e; }

.eyebrow {
  display: block;
  text-align: center;
  color: var(--brand);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}
.eyebrow-light { color: var(--brand-light); }

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  color: var(--dark);
}
.section-title-sm { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; }
.section-sub {
  text-align: center;
  font-size: 1.1rem;
  color: #4a5878;
  margin-bottom: 40px;
}
.section-text { text-align: center; max-width: 880px; margin: 0 auto 40px; color: #4a5878; }

.brand-blue { color: var(--brand); }

/* ===== HIGHLIGHT (replaces Permanent Marker) ===== */
.hl-mark {
  position: relative;
  display: inline-block;
  color: var(--brand);
  font-weight: 800;
  white-space: nowrap;

  @media (max-width: 767px) {
    white-space: normal;
  }
}
.hl-mark::after {
  content: '';
  position: absolute;
  left: -2px; right: -2px;
  bottom: 1px;
  height: 8px;
  background: rgba(6, 130, 197, 0.22);
  border-radius: 4px;
  z-index: -1;
  transform: skewX(-6deg);
}
.hl-mark.hl-light { color: #fff; }
.hl-mark.hl-light::after { background: rgba(255, 255, 255, 0.22); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  max-width: 100%;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(6, 130, 197, 0.35);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-secondary:hover { background: #fff; color: var(--dark); }
.btn-large { padding: 20px 44px; font-size: 1.1rem; }
.btn-header { padding: 12px 24px; font-size: 0.92rem; }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(13, 130, 197, 0.55), 0 6px 18px rgba(6, 130, 197, 0.35); }
  70%  { box-shadow: 0 0 0 18px rgba(13, 130, 197, 0), 0 6px 18px rgba(6, 130, 197, 0.35); }
  100% { box-shadow: 0 0 0 0 rgba(13, 130, 197, 0), 0 6px 18px rgba(6, 130, 197, 0.35); }
}
.btn-pulse { animation: pulse 2s infinite; }

.center-cta { text-align: center; margin-top: 40px; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 13, 43, 0.92);
  backdrop-filter: blur(8px);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img {
  height: 44px;
  width: auto;

}
.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 24px;
}
.main-nav a {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--brand-light); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 2px; }

/* ===== HERO ===== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 60px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-inner { position: relative; z-index: 1; }
.hero-head {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 40px;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.hero-grid > .hero-text,
.hero-grid > .hero-media {
  display: flex;
  flex-direction: column;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(13, 130, 197, 0.2);
  color: var(--brand-light);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.hero-title {
  color: #fff;
  font-size: clamp(1.5rem, 3.4vw, 2.8rem);
  line-height: 1.18;
  margin-bottom: 18px;
}
.hero-title strong { color: var(--brand-light); font-weight: 800; }
.hero-title .hl-mark { color: #fff; }
.hero-title .hl-mark::after { background: rgba(17, 175, 244, 0.28); height: 10px; }
.hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 880px;
  margin: 0 auto;
}
.hero-list {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}
.hero-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  min-width: 0;
}
.hero-list li > div { min-width: 0; word-wrap: break-word; overflow-wrap: anywhere; }
.hero-list li strong { color: #fff; }
.check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand);
  position: relative;
  margin-top: 2px;
}
.check::after {
  content: '';
  position: absolute;
  left: 6px; top: 4px;
  width: 6px; height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.btn-hero { padding: 18px 32px; font-size: 1rem; }

/* Hero trust pills (Google + Trustpilot) */
.hero-trust {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 14px 12px;
  border-radius: 16px;
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s;
}
.trust-pill:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.trust-pill .g-icon, .trust-pill .tp-icon {
  width: 38px; height: 38px; flex-shrink: 0;
}
.trust-pill-logo {
  width: 40px; height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}
.trust-content { display: flex; flex-direction: column; gap: 4px; }
.trust-stars {
  display: flex; align-items: center; gap: 5px;
  color: #fbbf24; font-size: 1.2rem; line-height: 1;
}
.trust-stars strong { color: #fff; margin-left: 8px; font-size: 1.1rem; }
.trust-pill small { color: rgba(255, 255, 255, 0.85); font-size: 0.82rem; font-weight: 500; }

/* Trustpilot widget-style pill */
.trust-pill-tp {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 12px 18px;
  min-width: 220px;
}
.tp-head { display: flex; align-items: center; gap: 6px; }
.tp-head .tp-star { width: 22px; height: 22px; }
.tp-head .tp-name {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.tp-stars { display: flex; gap: 3px; }
.tp-star-box {
  width: 26px;
  height: 26px;
  position: relative;
  background: #00b67a;
}
.tp-star-box::before {
  content: '';
  position: absolute;
  inset: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon fill='white' points='12,2 15.09,8.26 22,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 2,9.27 8.91,8.26'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.tp-star-box.partial {
  background: linear-gradient(90deg, #00b67a 70%, #dcdce6 70%);
}
.tp-score {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}
.tp-score strong { color: #fff; font-weight: 800; }

.hero-media { position: relative; }
.hero-video {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  aspect-ratio: 16/9;
  background: #000;
}
.video-poster {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: pointer;
  transition: opacity 0.3s;
  background: #000;
}
.video-poster.fading { opacity: 0; pointer-events: none; }
.video-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
  transition: transform 0.2s;
}
.video-poster:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.08); }
.video-play-btn svg { width: 100%; height: 100%; }
.wistia_responsive_padding { padding: 56.25% 0 0 0; position: relative; }
.wistia_responsive_wrapper { height: 100%; left: 0; position: absolute; top: 0; width: 100%; }
.hero-quote {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--brand-light);
  padding: 16px 20px;
  border-radius: 12px;
}
.hero-quote blockquote {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-style: italic;
}

/* ===== PARTNERS MARQUEE ===== */
.partners-section {
  background: #fff;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.partners-section .container {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee { width: 100%; overflow: hidden; }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-item {
  flex: 0 0 auto;
  height: 60px;
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.marquee-item img {
  height: 100%;
  width: auto;
  max-height: 45px;
  max-width: 80%;
  object-fit: contain;
  filter: grayscale(0.15);
  opacity: 0.92;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  /* full single-set width = 5 items × 180px = 900px */
  to   { transform: translateX(-900px); }
}

/* ===== STATS ===== */
.stats-section { background: #fff; padding: 50px 0 70px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat {
  background: #f5f7fb;
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
}
.stat-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: var(--brand);
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  margin-bottom: 10px;
  line-height: 1;
  gap: 6px;
}
.stat-prefix { font-size: 1rem; color: var(--brand); margin-right: 8px; font-weight: 700; align-self: center; }
.stat-unit { font-size: 0.6em; color: var(--brand); }
.stat p { color: #4a5878; font-size: 1rem; max-width: 240px; margin: 0 auto; }

/* ===== CHALLENGES (TIMELINE) ===== */
.challenges-section { padding: 0px 0 50px; background: #fff; }
.challenges-list {
  position: relative;
  max-width: 880px;
  margin: 60px auto 0;
  padding-left: 56px;


}

@media (max-width: 767px) {

  .benefits-section, .challenges-section {
    padding: 30px 0 40px;
  }
}

.challenge-line {
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #d6dae0;
  border-radius: 2px;
  overflow: hidden;
}
.challenge-line-fill {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 0;
  background: var(--dark);
  transition: height 0.1s linear;
}
.challenge-item {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 36px;
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(5, 13, 43, 0.04);
}
.challenge-item::before {
  content: '';
  position: absolute;
  left: -44px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  background: var(--brand);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--brand);
  z-index: 2;
}
.challenge-img {
  width: 200px; height: 130px;
  border-radius: 12px;
  overflow: hidden;
}
.challenge-img img { width: 100%; height: 100%; object-fit: cover; }
.challenge-content h3 {
  color: var(--brand);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.challenge-content p { color: #4a5878; font-size: 0.95rem; }

/* ===== BENEFITS ===== */
.benefits-section { background: #fff; padding: 80px 0; border-top: 1px solid var(--border); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.benefit-card {
  background: #f7f9fc;
  border-radius: 20px;
  overflow: hidden;
  padding-bottom: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(5, 13, 43, 0.08);
}
.benefit-img { aspect-ratio: 16/10; overflow: hidden; }
.benefit-img img { width: 100%; height: 100%; object-fit: cover; }
.benefit-card h3 {
  margin: 22px 24px 10px;
  font-size: 1.15rem;
  color: var(--brand);
}
.benefit-card p { margin: 0 24px; color: #4a5878; font-size: 0.95rem; }

/* ===== AUDIENCE ===== */
.audience-section { background: #f7f9fc; padding: 80px 0; }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.audience-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1/1.15;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 0;
}
.audience-img { position: absolute; inset: 0; }
.audience-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,13,43,0.85), rgba(5,13,43,0.2) 50%, transparent);
}
.audience-img img { width: 100%; height: 100%; object-fit: cover; }
.audience-card h3 {
  position: relative;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 24px;
  z-index: 2;
}

/* ===== TESTIMONIALS / CAROUSEL ===== */
.testimonials-section { background: #fff; padding: 80px 0; }
.carousel {
  position: relative;
  margin-top: 30px;
  padding: 0 8px;
}
.carousel-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 12px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > .testimonial {
  flex: 0 0 calc(50% - 14px);
  scroll-snap-align: start;
  min-width: 0;
}
.carousel-nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(6, 130, 197, 0.35);
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}
.carousel-nav:hover { background: var(--brand-dark); transform: translateY(-50%) scale(1.08); }
.carousel-nav svg { width: 22px; height: 22px; }
.carousel-prev { left: -24px; }
.carousel-next { right: -24px; }
.carousel-nav[disabled] { opacity: 0.35; cursor: not-allowed; pointer-events: none; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d6dae0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: var(--brand);
  transform: scale(1.25);
}
.testimonial {
  background: #f7f9fc;
  border-radius: 22px;
  padding: 28px;
  border: 1px solid var(--border);
}
.t-header {
  min-height: 110px;        /* fits 2-line title + 2-line meta → equal video position */
  display: flex;
  flex-direction: column;
  margin-bottom: 4px;
}
.t-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.t-meta { color: var(--brand); font-size: 0.9rem; font-weight: 600; margin-bottom: 14px; line-height: 1.4; }
.t-video {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 16/9;
  background: #000;
}
.t-quote {
  font-style: italic;
  color: #2d3a5e;
  padding: 14px 16px;
  background: rgba(13, 130, 197, 0.08);
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.t-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.t-col h4 {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b7280;
  margin-bottom: 10px;
}
.t-list { display: grid; gap: 8px; }
.t-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: #2d3a5e;
}
.t-list li::before {
  position: absolute;
  left: 0; top: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 1;
}
.t-list.neg li::before { content: '✕'; background: #ef4444; }
.t-list.pos li::before { content: '✓'; background: #10b981; }
.t-result {
  background: rgba(13, 130, 197, 0.06);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #2d3a5e;
}

/* ===== WHY KLIVATEC ===== */
.why-section { background: #fff; padding: 80px 0; border-top: 1px solid var(--border); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.why-card {
  background: var(--gray-cloud);
  border-radius: 18px;
  padding: 36px 26px;
  text-align: center;
  border: 1px solid transparent;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.why-card:hover {
  transform: translateY(-3px);
  border-color: var(--gray-smoke);
  box-shadow: 0 14px 30px rgba(44, 58, 87, 0.08);
}
.why-card.highlight {
  background: var(--brand-gradient);
  color: #fff;
}
.why-card.highlight h3, .why-card.highlight p { color: #fff; }
.why-card.highlight .why-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.why-icon {
  display: inline-flex;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--dark);
  box-shadow: 0 4px 12px rgba(44, 58, 87, 0.08);
}
.why-icon svg { width: 30px; height: 30px; stroke: var(--dark); }
.why-card.highlight .why-icon svg { stroke: #fff; }

/* Per-card warm/varied icon accents (non-blue) */
.why-card:nth-child(1) .why-icon { background: #FFF4E5; color: #E8741A; }
.why-card:nth-child(1) .why-icon svg { stroke: #E8741A; }
.why-card:nth-child(2) .why-icon { background: #FFEFD9; color: #D9863A; }
.why-card:nth-child(2) .why-icon svg { stroke: #D9863A; }
.why-card:nth-child(3) .why-icon { background: #E5F6EE; color: #1F8A55; }
.why-card:nth-child(3) .why-icon svg { stroke: #1F8A55; }
.why-card:nth-child(4) .why-icon { background: #FFF0F1; color: #C8385A; }
.why-card:nth-child(4) .why-icon svg { stroke: #C8385A; }
.why-card:nth-child(5) .why-icon { background: #F1ECFB; color: #6E45C2; }
.why-card:nth-child(5) .why-icon svg { stroke: #6E45C2; }
.why-card:nth-child(6).highlight .why-icon { background: rgba(255,255,255,0.18); color: #fff; }

.why-card h3 { font-size: 1.08rem; margin-bottom: 10px; color: var(--dark); }
.why-card.highlight h3 { color: #fff; }
.why-card p { font-size: 0.93rem; color: var(--gray-graphite); }

/* ===== BRANDS ===== */
.brands-section { background: #f7f9fc; padding: 80px 0; }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin: 30px auto;
  max-width: 1000px;
}
.brand-logo {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo img { max-height: 34px; max-width: 100%; object-fit: contain; }
.brands-note {
  text-align: center;
  font-size: 1.05rem;
  color: #4a5878;
  margin-top: 30px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== TEAM ===== */
.team-section { background: #fff; padding: 80px 0; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.team-card {
  display: flex;
  flex-direction: column;
}
.team-photo {
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 14px;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-info { text-align: center; }
.team-info strong {
  display: block;
  color: var(--dark);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.team-info span {
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 500;
}

/* ===== EXPERTS / VIDEO ===== */
.experts-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 80px 0;
}
.experts-section .section-title-sm { color: #fff; }
.experts-section p { color: rgba(255,255,255,0.85); }
.experts-section .eyebrow { text-align: left; }
.experts-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.experts-video {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  aspect-ratio: 16/9;
  background: #000;
}

/* ===== LOCATIONS / SHOWROOMS ===== */
.locations-section { background: var(--brand-light); padding: 80px 0; }
.locations-section .section-title em {
  font-style: italic;
  color: var(--brand);
}
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 30px 0 32px;
}
.location-card {
  background: #fff;
  border: 1px solid var(--gray-smoke);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.location-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(44, 58, 87, 0.12);
}
.location-title {
  color: var(--brand);
  font-size: 1.2rem;
  margin: 0 0 14px;
  font-weight: 800;
}
.location-address strong {
  color: var(--dark);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}
.location-address p {
  color: var(--gray-graphite);
  font-size: 0.95rem;
  margin: 0 0 12px;
  line-height: 1.55;
}
.location-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-graphite);
}
.location-contact strong { color: var(--dark); font-weight: 600; }
.location-contact a {
  color: var(--brand);
  text-decoration: none;
}
.location-contact a:hover { text-decoration: underline; }
.location-hours {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-smoke);
}
.location-hours h4 {
  color: var(--dark);
  font-size: 0.95rem;
  margin: 0 0 6px;
  font-weight: 700;
}
.location-hours p {
  color: var(--gray-graphite);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}
.location-status {
  margin-top: auto;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
}
.location-status--open {
  background: rgba(76, 175, 80, 0.12);
  color: #2e7d32;
  margin-top: 18px;
}
.location-status--soon {
  background: rgba(255, 152, 0, 0.12);
  color: #e65100;
  margin-top: 18px;
}
.location-photo {
  margin-bottom: 32px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(44, 58, 87, 0.12);
}
.location-photo img { width: 100%; height: auto; display: block; }
.location-map-wrap {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(44, 58, 87, 0.12);
  border: 1px solid var(--gray-smoke);
}
.location-map {
  height: 480px;
  width: 100%;
  background: #fff;
}
.map-pin {
  width: 40px;
  height: 52px;
  position: relative;
}
.map-pin svg { width: 40px; height: 52px; display: block; }
.map-pin-label {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  line-height: 24px;
}
.map-pin-wrap { background: transparent; border: 0; }
.leaflet-attribution-flag { display: none !important; }

/* ===== PROCESS ===== */
.process-section { background: #f7f9fc; padding: 80px 0; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.process-step {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  padding-bottom: 28px;
  border: 1px solid var(--border);
}
.step-img { aspect-ratio: 16/10; overflow: hidden; }
.step-img img { width: 100%; height: 100%; object-fit: cover; }
.step-num {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--brand);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(13, 130, 197, 0.45);
}
.process-step h3 {
  margin: 22px 24px 10px;
  font-size: 1.1rem;
  color: var(--dark);
}
.process-step p { margin: 0 24px; color: #4a5878; font-size: 0.93rem; }

/* ===== FAQ ===== */
.faq-section { background: #fff; padding: 80px 0; }
.faq-list {
  max-width: 880px;
  margin: 30px auto 0;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: #f7f9fc;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--brand); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--dark);
  position: relative;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 24px 22px; color: #4a5878; font-size: 0.97rem; }

/* ===== URGENCY ===== */
.urgency-section { background: #f7f9fc; padding: 80px 0; }
.urgency-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.urgency-text .section-title { text-align: left; margin-bottom: 18px; }
.urgency-text p { color: #4a5878; margin-bottom: 22px; }
.urgency-image {
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  min-height: 100%;
}
.urgency-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== FINAL CTA ===== */
.final-cta-section {
  position: relative;
  padding: 90px 0;
  background: var(--brand);
  color: #fff;
  overflow: hidden;
}
.final-cta-bg { position: absolute; inset: 0; opacity: 0.18; }
.final-cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.final-cta-inner { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }
.final-cta-section .section-title { color: #fff; margin-bottom: 18px; }
.final-cta-section p { color: rgba(255,255,255,0.92); margin-bottom: 30px; font-size: 1.05rem; }
.final-cta-section .btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.final-cta-section .btn-primary:hover { background: var(--dark); color: #fff; }
@keyframes pulse-light {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.55), 0 10px 30px rgba(0,0,0,0.2); }
  70%  { box-shadow: 0 0 0 22px rgba(255,255,255,0), 0 10px 30px rgba(0,0,0,0.2); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0), 0 10px 30px rgba(0,0,0,0.2); }
}
.final-cta-section .btn-pulse { animation: pulse-light 2s infinite; }

/* ===== TRUST / QUALITY ===== */
.trust-section {
  background: #fff;
  color: var(--dark);
  padding: 90px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.trust-text .eyebrow { text-align: left; }
.trust-text .section-title {
  color: var(--dark);
  text-align: left;
  line-height: 1;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}
.trust-text .section-title .brand-blue { color: var(--brand); }
.trust-text p { color: var(--gray-graphite); margin: 24px 0 30px; font-size: 1.05rem; }
.trust-right {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.trust-badges-image {

  overflow: hidden;
  background: #fff;
}
.trust-badges-image img { width: 100%; height: auto; display: block; }

/* Reviews under the lmsb image (right column) */
.trust-reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--gray-smoke);
  border-radius: 18px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  color: var(--dark);
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(44, 58, 87, 0.10);
  border-color: var(--gray-steel);
}
.review-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-logo { width: 32px; height: 32px; object-fit: contain; }
.review-tp-star { width: 26px; height: 26px; }
.review-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.review-stars {
  color: #fbbf24;
  font-size: 1.4rem;
  letter-spacing: 2px;
  line-height: 1;
}
.review-tp-stars {
  display: flex;
  gap: 3px;
}
.review-card .tp-star-box {
  width: 30px; height: 30px;
}
.review-score {
  color: var(--gray-graphite);
  font-size: 0.95rem;
}
.review-score strong { color: var(--dark); font-weight: 800; font-size: 1rem; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 50px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 0.9fr;
  gap: 40px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.footer-logo img {
  height: 70px;

}
.footer-cta { font-size: 0.92rem; padding: 13px 22px; }
.footer-col h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.footer-col p, .footer-col a { color: rgba(255,255,255,0.7); font-size: 0.93rem; line-height: 1.8; }
.footer-col a:hover { color: var(--brand-light); }
.footer-col ul { display: grid; gap: 6px; }
.footer-menu li a {
  display: inline-block;
  transition: transform 0.15s, color 0.15s;
}
.footer-menu li a:hover { transform: translateX(3px); }
.footer-bottom { text-align: center; font-size: 0.85rem; }

.footer-bottom p {
  color: #848484;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stats-grid, .why-grid, .benefits-grid, .audience-grid, .process-grid { grid-template-columns: 1fr 1fr; }
  .audience-card { aspect-ratio: 1.4/1; }
  .carousel-track > .testimonial { flex: 0 0 100%; }
  .carousel-prev { left: 4px; }
  .carousel-next { right: 4px; }
  .map-grid, .urgency-grid, .experts-grid, .trust-grid, .locations-grid { grid-template-columns: 1fr; gap: 36px; }
  .location-map { height: 380px; }
  .trust-reviews { grid-template-columns: 1fr; gap: 16px; }
  .map-text .section-title, .urgency-text .section-title, .trust-text .section-title { text-align: center; }
  .map-text .eyebrow, .trust-text .eyebrow, .experts-section .eyebrow { text-align: center; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  /* === Hero reorder on mobile: head → video → CTA → trust → (partners) → list === */
  .hero-grid { display: flex; flex-direction: column; gap: 24px; }
  .hero-grid > .hero-media { order: 1; }
  .hero-grid > .hero-text { order: 2; display: flex; flex-direction: column; gap: 18px; }
  .hero-text > .hero-list { order: 3; display: none; } /* moved out by JS */
  .hero-text > .btn-hero { order: 1; margin: 0; }
  .hero-text > .hero-trust { order: 2; margin-top: 0; }
  .hero-quote { display: none; } /* hide secondary quote on mobile to reduce length */

  /* Bullet list when JS moves it after partners section */
  .mobile-list-host {
    background: #fff;
    padding: 24px 0 6px;
  }
  .mobile-list-host .hero-list {
    display: grid !important;
    color: #2d3a5e;
    margin-bottom: 0;
    padding: 0 24px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
  .mobile-list-host .hero-list li { color: #2d3a5e; }
  .mobile-list-host .hero-list li strong { color: var(--dark); }

  /* Unified reduced section padding on mobile */
  .stats-section,
  .challenges-section,
  .benefits-section,
  .audience-section,
  .testimonials-section,
  .why-section,
  .brands-section,
  .team-section,
  .experts-section,
  .locations-section,
  .process-section,
  .faq-section,
  .urgency-section,
  .final-cta-section,
  .trust-section { padding: 30px 0; }
  .hero-section { padding: 30px 0; }
  .partners-section { padding: 20px 0; }
  .site-footer { padding: 30px 0 20px; }
  /* tighten typography spacing */
  .section-title { margin-bottom: 12px; }
  .section-sub { margin-bottom: 24px; }
  .section-text { margin-bottom: 24px; }
  .center-cta { margin-top: 24px; }
  .hero-head { margin-bottom: 24px; }
}
@media (max-width: 720px) {
  .header-inner { position: relative; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    background: #050d2b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 0;
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 90;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a {
    padding: 14px 24px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .main-nav a:last-child { border-bottom: 0; }
  .btn-header { display: none; }
  .menu-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    transition: background 0.15s;
  }
  .menu-toggle:hover { background: rgba(255,255,255,0.16); }
  .menu-toggle span { transition: transform 0.2s, opacity 0.2s; transform-origin: center; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .stats-grid, .why-grid, .benefits-grid, .audience-grid, .process-grid { grid-template-columns: 1fr; }
  .challenge-item { grid-template-columns: 1fr; }
  .challenge-img { width: 100%; height: 180px; }
  .challenges-list { padding-left: 32px; }
  .challenge-line { left: 6px; }
  .challenge-item::before { left: -32px; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid > .team-card:first-child { grid-column: span 2; }
  .team-grid > .team-card:first-child .team-photo { aspect-ratio: 16/9; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .t-cols { grid-template-columns: 1fr; }
  .hero-section { padding: 40px 0 60px; }
  .hero-trust { flex-direction: column; }
  /* allow long button text to wrap on small screens */
  .btn { white-space: normal; line-height: 1.25; padding: 14px 22px; }
  .btn-large { padding: 16px 26px; font-size: 1rem; }
  .btn-hero { padding: 14px 22px; font-size: 0.95rem; width: 100%; }
  .center-cta .btn, .urgency-text .btn, .footer-cta { width: auto; }
  .trust-pill { width: 100%; }
  .hero-trust { width: 100%; }
  .hero-quote { margin-top: 18px; }
}
