/* ===== HOME PAGE SPECIFIC STYLES ===== */

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--white);
  padding-top: 92px;
  overflow: hidden;
  position: relative;
}
/* Rotating logo watermark filling the left margin */
.hero::before {
  content: '';
  position: absolute;
  left: -150px; bottom: -150px;
  width: 580px; height: 580px;
  background: url('../images/logo.png') center/contain no-repeat;
  opacity: .055;
  filter: grayscale(1);
  pointer-events: none;
  z-index: 0;
  animation: watermarkSpin 120s linear infinite;
}
@keyframes watermarkSpin { to { transform: rotate(360deg); } }
/* Soft silver glow top-left */
.hero::after {
  content: '';
  position: absolute;
  left: -160px; top: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(170,179,192,.30), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
/* Vertical brand label along the left edge */
.hero-side-label {
  position: absolute;
  left: 34px; top: 54%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .52em;
  text-transform: uppercase;
  color: var(--text-lt);
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 1;
  animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) .9s forwards;
}
.hero-side-label::before, .hero-side-label::after {
  content: '';
  width: 1px; height: 70px;
  background: linear-gradient(180deg, transparent, var(--silver), transparent);
}
@media (max-width: 1440px) { .hero-side-label { display: none; } }
.hero-left {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px 80px 0;
  padding-left: calc((100vw - 1200px) / 2 + 28px);
}
.hero-right {
  position: relative;
  background: var(--metal); background-size: 220% 220%; animation: sheenDrift 14s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 48px;
  gap: 16px;
}

/* Hero entrance cascade */
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes heroFadeIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes heroFloat  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-left > * { opacity: 0; animation: heroFadeUp .75s cubic-bezier(.16,1,.3,1) forwards; }
.hero-left > *:nth-child(1) { animation-delay: .15s; }
.hero-left > *:nth-child(2) { animation-delay: .28s; }
.hero-left > *:nth-child(3) { animation-delay: .40s; }
.hero-left > *:nth-child(4) { animation-delay: .50s; }
.hero-left > *:nth-child(5) { animation-delay: .60s; }
.hero-left > *:nth-child(6) { animation-delay: .70s; }
.hero-right { opacity: 0; animation: heroFadeIn 1s cubic-bezier(.16,1,.3,1) .45s forwards, sheenDrift 14s ease-in-out 1.5s infinite; }
.hero-stat-card { animation: heroFloat 4.5s ease-in-out 1.6s infinite; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-palest);
  border: 1px solid var(--border);
  color: var(--blue);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  width: fit-content;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  animation: blink 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink { 0%,100% { opacity:1 } 50% { opacity:.3 } }

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero-title-accent {
  background: linear-gradient(105deg, #5A6472 0%, #9DA8B8 42%, #C9D0DA 55%, #4C5563 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  color: var(--text-md);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 14px;
  max-width: 520px;
}
.hero-motto {
  font-size: .85rem;
  color: var(--text-lt);
  margin-bottom: 36px;
  font-style: italic;
  letter-spacing: .03em;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-trust { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-md);
  font-size: .75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.trust-chip svg { color: var(--blue); }

/* Hero right cards */
.hero-img-card { border-radius: var(--radius-lg); overflow: hidden; width: 100%; }
.hero-img-main { box-shadow: var(--shadow-lg); }
.hero-img-sm { width: 60%; align-self: flex-end; box-shadow: var(--shadow-md); }
.hero-stat-card {
  position: absolute;
  top: 40px;
  right: 40px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.hsc-num { display: block; font-family: 'Space Grotesk',sans-serif; font-weight: 700; font-size: 1.6rem; line-height: 1; }
.hsc-label { font-size: .7rem; font-weight: 600; opacity: .8; letter-spacing: .08em; margin-top: 4px; display: block; }

/* TRUST BAR */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  box-shadow: 0 2px 12px rgba(28,33,40,.06);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.tb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-md);
  padding: 6px 22px;
  white-space: nowrap;
}
.tb-item svg { color: var(--blue); flex-shrink: 0; }
.tb-sep { width: 1px; height: 18px; background: var(--border); }

/* STATS */
.stats-section { background: var(--metal-dark); padding: 64px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-card {
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat-card:last-child { border-right: none; }
.stat-icon { font-size: 2rem; margin-bottom: 12px; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: inline;
}
.stat-suffix {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  display: inline;
}
.stat-label { display: block; font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.6); margin-top: 8px; letter-spacing: .06em; }

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--ease);
  cursor: pointer;
}
.svc-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.svc-icon {
  width: 60px;
  height: 60px;
  background: var(--blue-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: var(--ease);
}
.svc-card:hover .svc-icon { background: var(--blue); color: var(--white); }
.svc-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.svc-card p { font-size: .85rem; color: var(--text-md); line-height: 1.65; flex: 1; }
.svc-link { font-size: .82rem; font-weight: 700; color: var(--blue); transition: var(--ease); }
.svc-card:hover .svc-link { letter-spacing: .04em; }

/* WHY US */
.why-section { background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-img-wrap { position: relative; }
.why-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.why-badge-num { font-family: 'Space Grotesk',sans-serif; font-size: 2.2rem; font-weight: 700; line-height: 1; }
.why-badge-label { font-size: .72rem; font-weight: 600; opacity: .8; margin-top: 4px; line-height: 1.4; }

.why-list { display: flex; flex-direction: column; gap: 20px; }
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 18px 20px;
  border: 1px solid var(--border);
  transition: var(--ease);
}
.why-item:hover { border-color: var(--blue); background: var(--blue-palest); }
.why-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.why-item strong { display: block; font-size: .92rem; color: var(--text); margin-bottom: 4px; }
.why-item p { font-size: .83rem; color: var(--text-md); margin: 0; line-height: 1.6; }

/* TESTIMONIALS */
.testimonials-section {}
.testi-carousel { overflow: hidden; }
.testi-track {
  display: flex;
  gap: 24px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  width: 100%;
}
.testi-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.testi-stars { color: #F59E0B; font-size: 1.1rem; letter-spacing: 2px; }
.testi-card p { font-size: .88rem; color: var(--text-md); line-height: 1.75; font-style: italic; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: .87rem; color: var(--text); }
.testi-author span { font-size: .75rem; color: var(--text-lt); display: block; margin-top: 2px; }

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.testi-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--blue);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.testi-btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.testi-dots { display: flex; gap: 8px; }
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--ease);
}
.testi-dot.active { background: var(--blue); transform: scale(1.3); }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dk) 0%, var(--blue) 50%, var(--blue-md) 100%);
  padding: 80px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--white); margin-bottom: 10px; }
.cta-inner p { color: rgba(255,255,255,.75); font-size: 1rem; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* UTILS */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 120px 28px 48px; }
  .hero-right { padding: 48px 28px; }
  .hero-img-sm { width: 50%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(2) { border-right: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-badge { display: none; }
  .testi-card { flex: 0 0 calc(50% - 12px); }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-btns { justify-content: center; }
}
@media (max-width: 768px) {
  .hero-left { padding: 100px 20px 40px; }
  .hero-right { padding: 32px 20px; }
  .hero-img-sm { width: 80%; }
  .hero-stat-card { top: 16px; right: 16px; padding: 12px 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat-card:last-child { border-bottom: none; }
  .services-grid { grid-template-columns: 1fr; }
  .testi-card { flex: 0 0 100%; }
  .trust-bar-inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .tb-sep { display: none; }
}
