/* ============================
   LONESTAR IT SERVICES — STYLES
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Lato:wght@400;700&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  --charcoal: #323234;
  --charcoal-dark: #1A1A1C;
  --charcoal-deep: #28282A;
  --charcoal-deeper: #1E1E20;
  --gold: #D4AF37;
  --gold-dark: #b8951e;
  --slate: #787E82;
  --white: #FFFFFF;
  --light-bg: #F5F5F7;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--charcoal); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 { font-family: var(--font-display); }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500; }
p { font-family: var(--font-body); font-weight: 400; line-height: 1.7; }

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-pad { padding: 90px 0; }
.gold-text { color: var(--gold); }

.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 0;
}

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  transition: all 0.2s ease;
  border-radius: 0;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--charcoal); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--charcoal); }
.btn-dark { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.btn-dark:hover { background: var(--charcoal-deeper); }
.btn-gold-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-gold-outline:hover { background: var(--gold); color: var(--charcoal); }

/* =========================================
   A. NAVIGATION
   ========================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow 0.3s ease;
}
#navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.13); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 2rem;
  max-width: 1280px;
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--charcoal);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover  { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 10px 22px;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  white-space: nowrap;
  border-radius: 0;
}
.nav-cta:hover { background: var(--gold); color: var(--charcoal); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  z-index: 999;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.mobile-menu.active { display: block; }
.mobile-menu a {
  display: block;
  padding: 18px 2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
  border-bottom: 1px solid #eeeeee;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu a:hover { background: var(--light-bg); color: var(--gold); }
.mobile-menu .mob-cta {
  display: block;
  margin: 1.25rem 2rem 1.5rem;
  padding: 14px;
  text-align: center;
  background: var(--gold);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

/* =========================================
   B. HERO
   ========================================= */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-dark) 100%);
  display: flex;
  align-items: center;
  padding-top: 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 80px 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hero-left h1 { color: var(--white); }
.hero-subtext { color: var(--slate); font-size: 1.05rem; max-width: 480px; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.hero-right { position: relative; }
.hero-image-box {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #162440 0%, #0d1b2a 50%, #0a141f 100%);
}
.hero-image-box svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
}

/* Floating stat badges */
.hero-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 31, 53, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.5);
  padding: 10px 16px;
  z-index: 10;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.hfb-tl {
  top: -18px;
  right: 32px;
}
.hfb-br {
  bottom: -18px;
  left: 28px;
}
.hfb-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  flex-shrink: 0;
}
.hfb-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hfb-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gold);
  line-height: 1;
}
.hfb-plus {
  font-size: 0.8rem;
}
.hfb-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(220, 232, 244, 0.75);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* =========================================
   C. TRUSTED-BY STRIP
   ========================================= */
#trusted {
  background: #f4f4f5;
  padding: 48px 0;
  border-top: 1px solid #e2e2e4;
  border-bottom: 1px solid #e2e2e4;
}
.trusted-label {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 36px;
}
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease;
  padding: 10px 16px;
}
.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}
.client-logo img {
  height: 36px;
  width: auto;
  max-width: 120px;
  display: block;
  mix-blend-mode: multiply;
  filter: grayscale(100%) brightness(1.6) contrast(0.85);
  object-fit: contain;
}

/* =========================================
   D. SERVICES
   ========================================= */
#services {
  background: var(--charcoal);
  padding: 90px 0;
}
.services-header { margin-bottom: 3rem; }
.services-header h2 { color: var(--white); margin-bottom: 1rem; }
.services-header p { color: var(--slate); max-width: 520px; font-size: 0.97rem; }

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

.service-card {
  background: #272729;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 290px;
  padding: 2rem;
}
.service-card-front {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: opacity 0.3s ease;
}
.service-card-back {
  position: absolute;
  inset: 0;
  padding: 2rem;
  background: #202022;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card:hover .service-card-front { opacity: 0; }
.service-card:hover .service-card-back { opacity: 1; transform: translateY(0); }

.service-icon { margin-bottom: 1.5rem; flex-shrink: 0; }
.service-icon svg { width: 44px; height: 44px; }

.service-card-front .service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-top: auto;
}
.service-back-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.service-back-desc {
  color: var(--slate);
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.service-back-bullets {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.service-back-bullets li {
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.service-back-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--gold);
}
.service-learn-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  transition: opacity 0.2s;
}
.service-learn-btn:hover { opacity: 0.75; }

.service-cta-card {
  background: var(--gold);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 290px;
  cursor: pointer;
  transition: background 0.2s;
}
.service-cta-card:hover { background: var(--gold-dark); }
.service-cta-card p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
  text-align: center;
  line-height: 1.55;
}

/* =========================================
   E. INDUSTRY VERTICALS
   ========================================= */
#verticals {
  background: var(--light-bg);
  padding: 90px 0 60px;
  overflow: hidden;
}
#verticals .section-header h2 { color: var(--charcoal); }
#verticals .section-header p { color: var(--slate); }
.section-header { margin-bottom: 3rem; }

.verticals-bleed {
  padding-left: max(2rem, calc((100vw - 1200px) / 2 + 2rem));
  margin-bottom: 0;
}

.verticals-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.verticals-track::-webkit-scrollbar { display: none; }

.vertical-card {
  flex: 0 0 270px;
  height: 380px;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
}
.vertical-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vertical-bg svg { width: 100%; height: 100%; }
.vertical-overlay {
  position: absolute;
  inset: 0;
  background: rgba(50,50,52,0.68);
  transition: background 0.3s ease;
}
.vertical-card:hover .vertical-overlay { background: rgba(50,50,52,0.45); }
.vertical-content {
  position: absolute;
  inset: 0;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.vertical-sector {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.vertical-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.vertical-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.vertical-learn {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  transition: opacity 0.2s;
}
.vertical-learn:hover { opacity: 0.75; }

.verticals-nav {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.nav-arrow {
  width: 44px;
  height: 44px;
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: none;
  border-radius: 0;
  flex-shrink: 0;
}
.nav-arrow:hover { background: var(--gold); color: var(--charcoal); }
.nav-arrow svg { width: 18px; height: 18px; }

/* =========================================
   F. METRICS
   ========================================= */
#metrics {
  background: var(--charcoal-deep);
  position: relative;
  overflow: hidden;
}
#metrics::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.metrics-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

/* Left column */
.metrics-left {
  padding: 80px 60px 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  max-width: 540px;
  margin-left: auto;
  padding-left: 40px;
}
.badge-light {
  background: rgba(212,175,55,0.12);
  color: var(--gold);
  border-color: rgba(212,175,55,0.25);
}
.metrics-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  color: var(--white);
  line-height: 1.3;
  margin: 0;
}
.metrics-copy {
  font-size: 0.92rem;
  color: rgba(120,126,130,0.9);
  line-height: 1.8;
  margin: 0;
}
.metrics-cta {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* Right column — 2×2 grid */
.metrics-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.metric-tile {
  display: flex;
  align-items: stretch;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.25s;
}
.metric-tile:nth-child(2)  { border-right: none; }
.metric-tile:nth-child(4)  { border-right: none; border-bottom: none; }
.metric-tile:nth-child(3)  { border-bottom: none; }
.metric-tile:hover { background: rgba(255,255,255,0.025); }
.metric-accent {
  width: 3px;
  background: var(--gold);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.4s;
}
.metric-tile:hover .metric-accent,
.metric-tile.counted .metric-accent { opacity: 1; }
.metric-tile-body {
  padding: 2.5rem 2rem 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.metric-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.01em;
}
.metric-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 0.35rem;
}
.metric-desc {
  font-size: 0.82rem;
  color: rgba(120,126,130,0.8);
  line-height: 1.65;
  margin-top: 0.2rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .metrics-inner { grid-template-columns: 1fr; }
  .metrics-left {
    max-width: 100%;
    margin-left: 0;
    padding: 60px 2rem 40px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .metrics-cta { align-self: flex-start; }
  .metrics-right { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .metrics-right { grid-template-columns: 1fr; }
  .metric-tile { border-right: none; }
  .metric-tile:nth-child(3) { border-bottom: 1px solid rgba(255,255,255,0.06); }
}

/* =========================================
   G. WHY US
   ========================================= */
#why-us {
  background: var(--white);
  padding: 90px 0;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-visual {
  display: flex;
  align-items: stretch;
}
.why-card {
  background: var(--charcoal);
  width: 100%;
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--gold);
  overflow: hidden;
}
.why-card-top {
  padding: 36px 36px 32px;
  background: var(--charcoal);
  flex: 1;
}
.why-card-mid {
  padding: 28px 36px;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.why-card-bot {
  padding: 24px 36px;
  background: rgba(0,0,0,0.35);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.why-card-eyebrow {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.why-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 16px;
}
.why-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.why-stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.why-stat-plus {
  font-size: 1.4rem;
  color: var(--gold);
}
.why-stat-label {
  font-size: 0.75rem;
  color: var(--slate);
  letter-spacing: 0.04em;
}
.why-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cert-chip {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 5px 12px;
}
.why-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.why-stack span {
  font-size: 0.8rem;
  color: var(--slate);
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}
.why-stack span::before {
  content: '·  ';
  color: var(--gold);
}

.why-content h2 { color: var(--charcoal); margin-bottom: 1rem; }
.why-intro {
  color: var(--slate);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.75;
}
.pillar {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.pillar-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-icon svg { width: 20px; height: 20px; }
.pillar-text h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}
.pillar-text p { font-size: 0.86rem; color: var(--slate); line-height: 1.65; }

/* =========================================
   H. TESTIMONIALS
   ========================================= */
#testimonials {
  background: var(--white);
  padding: 90px 0;
  border-top: 1px solid #ebebeb;
  overflow: hidden;
}

/* Split outer: left panel + right bleed track */
.testi-outer {
  display: flex;
  align-items: stretch;
  padding-left: max(2rem, calc((100vw - 1200px) / 2 + 2rem));
}

/* Left panel */
.testi-panel {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
  padding-right: 4rem;
}
.testi-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  color: var(--charcoal);
  line-height: 1.3;
  margin: 0;
}
.testi-sub {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.7;
  margin: 0;
}
.testi-arrows {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.testi-btn {
  width: 42px;
  height: 42px;
  border: 1.5px solid #d0d0d0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--charcoal);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.testi-btn:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

/* Scrollable track — bleeds to right viewport edge */
.testi-scroller {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.testi-scroller:active { cursor: grabbing; }
.testi-scroller::-webkit-scrollbar { display: none; }

.testi-track {
  display: flex;
  gap: 1.25rem;
  padding-right: max(2rem, calc((100vw - 1200px) / 2 + 2rem));
  width: max-content;
}

/* Card */
.testimonial-card {
  flex: 0 0 340px;
  border: 1px solid #e8e8e8;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.testimonial-card:hover { border-color: var(--gold); }
.quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.testimonial-text {
  font-size: 0.88rem;
  color: var(--charcoal);
  line-height: 1.82;
  flex: 1;
  margin-bottom: 1.5rem;
}
.testimonial-divider {
  width: 100%;
  height: 1px;
  background: #e8e8e8;
  margin-bottom: 1.25rem;
}
.testimonial-author h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--slate);
}

/* Responsive */
@media (max-width: 768px) {
  .testi-outer {
    flex-direction: column;
    padding-left: 1.5rem;
  }
  .testi-panel {
    width: 100%;
    padding-right: 1.5rem;
    padding-bottom: 2rem;
  }
  .testi-track { padding-right: 1.5rem; }
  .testimonial-card { flex: 0 0 280px; }
}

/* =========================================
   I. CLOSING CTA SECTION
   ========================================= */
#cta-banner {
  background: var(--charcoal-deeper);
  padding: 90px 0 70px;
}
.cta-inner {
  text-align: center;
}
.cta-inner h2 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}
.cta-inner p {
  color: var(--slate);
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 0.97rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================
   SITE FOOTER
   ========================================= */
.site-footer {
  background: #161618;
  border-top: 3px solid var(--gold);
}
.footer-main {
  padding: 64px 0 52px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 52px;
  align-items: start;
}
.footer-logo-link {
  display: inline-block;
  margin-bottom: 1.25rem;
}
.footer-logo-img {
  height: 54px;
  display: block;
  mix-blend-mode: screen;
}
.footer-tagline {
  color: #6b7280;
  font-size: 0.84rem;
  line-height: 1.7;
  max-width: 230px;
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  color: #6b7280;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  text-decoration: none;
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.07);
}
.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links li a {
  color: #6b7280;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links li a:hover {
  color: var(--white);
}
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #6b7280;
  font-size: 0.85rem;
  line-height: 1.6;
}
.footer-contact-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-list li a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-list li a:hover {
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.77rem;
  color: #3d3d42;
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.footer-legal a {
  color: #3d3d42;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: #6b7280;
}
.footer-divider {
  opacity: 0.35;
}

/* =========================================
   J. MODAL
   ========================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.modal-overlay.active {
  display: flex;
}
.modal-box {
  background: var(--white);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: sticky;
  top: 0;
  float: right;
  background: var(--white);
  border: none;
  font-size: 1.4rem;
  color: var(--charcoal);
  cursor: pointer;
  line-height: 1;
  padding: 1rem 1.25rem;
  transition: color 0.2s;
  z-index: 1;
}
.modal-close:hover { color: var(--gold); }
.modal-body { padding: 1.5rem 2.5rem 2.5rem; }
.modal-badge { margin-bottom: 1rem; }
.modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.modal-desc {
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.modal-bullets { margin-bottom: 2rem; }
.modal-bullets li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.88rem;
  color: var(--charcoal);
  line-height: 1.55;
}
.modal-bullets li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--gold);
  margin-top: 7px;
}
.modal-action {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 1.75rem;
  padding: 16px;
  background: var(--gold);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s;
}
.modal-action:hover { background: var(--gold-dark); }
.modal-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid #ebebeb;
  padding-top: 1.25rem;
}
.modal-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--slate);
}
.modal-contact-item svg { flex-shrink: 0; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; padding: 60px 1.5rem; }
  .hero-right { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .modal-body { padding: 1rem 1.5rem 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-tagline { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 0.75rem; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
}
