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

/* HERO */
.hero {
  min-height: 100vh; background: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 110px 24px 80px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15; }
.hero-orb-1 { width: 700px; height: 700px; background: var(--blue); top: -200px; right: -150px; }
.hero-orb-2 { width: 400px; height: 400px; background: var(--gold); bottom: -100px; left: -80px; opacity: 0.08; }
.hero-orb-3 { width: 200px; height: 200px; background: var(--blue-light); top: 40%; left: 20%; opacity: 0.1; }
.hero-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 60px; position: relative; z-index: 2; width: 100%;
}
.hero-content { flex: 1; animation: fadeUp 0.9s ease both; }
.hero-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,168,76,0.5);
  padding: 5px 16px; border-radius: 100px; margin-bottom: 22px;
}
.hero-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-sub { color: rgba(255,255,255,0.68); font-size: 1.1rem; max-width: 480px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stat {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
}
.hs-item {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.6); font-size: 0.9rem;
}
.hs-item svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

.hero-logo-wrap {
  flex: 0 0 380px; text-align: center;
  animation: fadeUp 0.9s 0.2s ease both;
}
.hero-logo-ring {
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 0 60px rgba(26,111,196,0.12), 0 0 100px rgba(201,168,76,0.06);
  /* Static - no spin animation */
  padding: 20px;
}
.hero-logo-ring img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 50%;
}
.hero-logo-tagline {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.35); font-size: 0.72rem; letter-spacing: 0.15em;
  text-transform: uppercase; z-index: 2;
}
.hero-scroll span {
  display: block; width: 1.5px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* INTRO STRIP */
.intro-strip { background: var(--white); padding: 0; border-bottom: 1px solid var(--border); }
.strip-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-left: 1px solid var(--border);
}
.strip-item {
  padding: 36px 28px; border-right: 1px solid var(--border);
  transition: var(--transition);
}
.strip-item:hover { background: var(--gold-pale); }
.strip-icon { width: 36px; height: 36px; color: var(--gold); margin-bottom: 12px; }
.strip-icon svg { width: 100%; height: 100%; }
.strip-item h4 { color: var(--navy); margin-bottom: 6px; font-size: 1rem; }
.strip-item p { font-size: 0.84rem; color: var(--text-mid); }

/* ABOUT SNAP */
.about-snap-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.as-text { display: flex; flex-direction: column; gap: 0; }
.as-text .section-label { margin-bottom: 14px; }
.as-text h2 { margin-bottom: 18px; }
.as-text p { margin-bottom: 14px; }
.as-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.as-cards { display: flex; flex-direction: column; gap: 22px; }
.mv-card {
  background: var(--off-white); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 26px 24px;
  transition: var(--transition);
}
.mv-card:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.mv-icon { width: 36px; height: 36px; color: var(--gold); margin-bottom: 12px; }
.mv-icon svg { width: 100%; height: 100%; }
.mv-card h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.15rem; }
.mv-card p  { font-size: 0.9rem; }

/* PRACTICE PREVIEW */
.pp-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 36px; }
.pp-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition);
  display: block; color: inherit;
}
.pp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pp-img { height: 200px; overflow: hidden; }
.pp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pp-card:hover .pp-img img { transform: scale(1.06); }
.pp-body {
  padding: 18px 20px; display: flex;
  justify-content: space-between; align-items: center;
  background: var(--white);
}
.pp-body h4 { font-size: 0.95rem; color: var(--navy); }
.pp-body span { font-size: 0.8rem; color: var(--gold); font-weight: 600; white-space: nowrap; }
.pp-cta { text-align: center; }

/* TEAM PREVIEW */
.tp-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* CLIENTS */
.clients-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.client-pill {
  padding: 10px 22px;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 100px;
  font-size: 0.84rem; font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.client-pill:hover { border-color: var(--gold); color: var(--gold); }

/* CTA BANNER */
.cta-banner {
  background: var(--navy-deep);
  padding: 80px 0; text-align: center;
  background-image: radial-gradient(ellipse at center, rgba(26,111,196,0.1) 0%, transparent 70%);
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-banner p { color: rgba(255,255,255,0.6); margin-bottom: 32px; }

/* KEYFRAMES */
@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-logo-wrap { flex: 0 0 300px; }
  .hero-logo-ring { width: 260px; height: 260px; }
  .hero-logo-ring img { width: 180px; height: 180px; }
  .pp-grid { grid-template-columns: repeat(2,1fr); }
  .tp-grid { grid-template-columns: repeat(2,1fr); }
  .strip-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hs-item { justify-content: center; }
  .about-snap-grid { grid-template-columns: 1fr; gap: 40px; }
  .as-actions { justify-content: center; }
  .as-text { text-align: center; }
  .as-text .section-label { display: block; text-align: center; }
}
@media (max-width: 600px) {
  .pp-grid { grid-template-columns: 1fr; }
  .tp-grid { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-item { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--navy);
}
.gallery-item.gallery-wide {
  grid-column: span 2; /* last image spans 2 columns */
  aspect-ratio: 16/7;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,13,31,0.75) 0%, transparent 60%);
  display: flex; align-items: flex-end;
  padding: 18px 20px;
  opacity: 0; transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--white); font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.05em;
}

/* LIGHTBOX */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,0.94);
  align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lb-content {
  max-width: 90vw; max-height: 90vh;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.lb-content img {
  max-width: 100%; max-height: 80vh;
  object-fit: contain; border-radius: 8px;
}
.lb-content p {
  color: rgba(255,255,255,0.75); font-size: 0.9rem;
  text-align: center;
}
.lb-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: white;
  font-size: 1.8rem; cursor: pointer; z-index: 2;
  line-height: 1; padding: 4px 8px;
  transition: color 0.2s;
}
.lb-close:hover { color: var(--gold); }
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: white; font-size: 1.4rem; cursor: pointer;
  padding: 12px 18px; border-radius: 6px;
  transition: background 0.2s;
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: var(--gold); color: var(--navy-deep); }

/* GALLERY RESPONSIVE */
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.gallery-wide { grid-column: span 2; }
  .lb-prev { left: 8px; padding: 10px 14px; }
  .lb-next { right: 8px; padding: 10px 14px; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.gallery-wide { grid-column: span 1; aspect-ratio: 4/3; }
}
