/* ============================================================
   cms-page-css.css
   Combined stylesheet for:
     - About Us
     - Affiliate
     - Contact Us
     - Disclaimer
     - DMCA Policy
     - FAQ
     - Privacy Policy
     - Terms & Conditions
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Backgrounds */
  --bg:              #07080f;
  --bg2:             #0d0f1c;
  --bg3:             #131627;
  --surface:         #181b2e;
  --surface2:        #18181d;
  --bg-card:         #07101f;
  --bg-card-hover:   #0a1526;
  --glass-card:      rgba(20, 18, 61, 0.55);
  --glass-sidebar:   rgba(20, 18, 61, 0.75);
  --glass-border:    rgba(255, 255, 255, 0.06);

  /* Accents */
  --primary:         #6c63ff;
  --primary-l:       #8b85ff;
  --accent:          #4540ff;
  --accent2:         #5a55ff;
  --accent-glow:     rgba(69, 64, 255, 0.25);
  --accent-gradient: linear-gradient(135deg, #2563eb, #1d4ed8);
  --success:         #22c55e;
  --error:           #ff3838;

  /* Typography */
  --text:            #eeeeff;
  --text2:           #9b99c0;
  --text3:           #5e5c80;
  --text-muted:      #6c7894;

  /* Borders */
  --border:          rgba(108, 99, 255, 0.15);
  --border2:         rgba(255, 255, 255, 0.06);
  --border-hover:    rgba(255, 255, 255, 0.15);
  --border-accent:   rgba(69, 64, 255, 0.4);

  /* Border radii */
  --r:    14px;
  --rs:   9px;
  --rxl:  22px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  /* Transitions */
  --t:          0.25s ease;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Notice / Contact boxes */
  --notice-bg:     rgba(59, 130, 246, 0.08);
  --notice-border: #2563eb;
  --pill-bg:       rgba(124, 58, 237, 0.12);
}

/* ============================================================
   2. GLOBAL RESETS & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background radial + grid overlay (FAQ / shared pages) */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(76, 111, 255, 0.12), transparent 30%);
  pointer-events: none;
  z-index: 0;
}

a {
  text-decoration: none;
  color: #60a5fa;
  transition: color var(--t);
}
a:hover { color: #93c5fd; }

/* Hide default CMS page title */
.single-title { display: none !important; }

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  /*max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;*/
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Sidebar + Content two-column layout */
.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 25px;
  margin-top: 35px;
  align-items: start;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ============================================================
   4. HERO SECTION (shared across pages)
   ============================================================ */
.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(4rem, 10vh, 7rem) clamp(1.25rem, 5vw, 3rem) clamp(3rem, 8vh, 5rem);
  position: relative;
  overflow: hidden;
}

/* Ambient glows */
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% -5%, rgba(108, 99, 255, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse 45% 35% at 85% 90%, rgba(0, 212, 160, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 35% 25% at 10% 75%, rgba(255, 107, 107, 0.08) 0%, transparent 55%);
}

/* Subtle dot-grid */
.hero-grid,
.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(69, 64, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 64, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

/* Radial glow inside hero */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Badge / eyebrow */
.hero-badge,
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(69, 64, 255, 0.1);
  border: 1px solid rgba(69, 64, 255, 0.3);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  animation: fadeSlideDown 0.6s ease both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00d4a0;
  animation: pulse 2s ease infinite;
}

.hero-eyebrow span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent2);
}

/* Heading */
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: #fff;
  position: relative;
  z-index: 2;
  animation: fadeSlideDown 0.7s ease 0.1s both;
}

.hero h1 .grad,
.hero h1 span {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sub-heading */
.hero p,
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  line-height: 1.75;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 2;
  animation: fadeSlideDown 0.7s ease 0.2s both;
}

/* Updated date pill */
.updated-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  margin-top: 24px;
}
.updated-date::before {
  content: '•';
  color: #3b82f6;
  font-size: 18px;
}

/* CTA buttons row */
.hero-actions,
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
  animation: fadeSlideDown 0.7s ease 0.3s both;
  margin-top: 30px;
}

/* Stat strip */
.hero-stats {
  display: flex;
  gap: clamp(2rem, 4vw, 4rem);
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 2;
  animation: fadeSlideDown 0.7s ease 0.4s both;
}

.stat-item {
  text-align: center;
  border: 1px solid var(--accent2);
  padding: 23px 48px;
  border-radius: 7px;
}

.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

.stat-num em {
  font-style: normal;
  color: #00d4a0;
}

.stat-label {
  font-size: 12px;
  color: #b7b6cf;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-sep {
  width: 1px;
  background: var(--border2);
  align-self: stretch;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn,
.btn-primary,
.btn-outline {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--rs);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t), transform var(--t), border-color var(--t);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-l);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

/* ============================================================
   6. SIDEBAR
   ============================================================ */
.sidebar {
  background: var(--glass-sidebar);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  position: sticky;
  top: 140px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
}

.sidebar:hover {
  border-color: rgba(99, 102, 241, 0.25);
}

.sidebar h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.sidebar ul { list-style: none; }
.sidebar li { margin-bottom: 14px; }

.sidebar a {
  color: #9ca3af;
  font-size: 14px;
  font-weight: 500;
  display: block;
  padding: 4px 0;
  transition: var(--transition);
}

.sidebar a:hover {
  color: #2563eb;
  padding-left: 5px;
}

.sidebar a.active {
  color: #2563eb;
  padding-left: 8px;
  text-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
}

/* ============================================================
   7. CARDS
   ============================================================ */
.card {
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
  scroll-margin-top: 160px;
}

.card:hover {
  border-color: rgba(99, 102, 241, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.card h2 {
  font-size: clamp(24px, 3.5vw, 30px);
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card h3 {
  font-size: 21px;
  margin-top: 24px;
  margin-bottom: 12px;
  color: #fff;
}

.card p {
  margin-bottom: 20px;
  color: #d1d5db;
  font-size: 15px;
}

.card p:last-child { margin-bottom: 0; }

.card ul {
  margin-left: 22px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.card ul li {
  margin-bottom: 10px;
  color: #d1d5db;
  font-size: 15px;
}

.card ul li::marker { color: #3b82f6; }

.card a { color: #60a5fa; }
.card a:hover { color: #93c5fd; }

/* ============================================================
   8. NOTICE / HIGHLIGHT BOX
   ============================================================ */
.notice-box,
.highlight-box {
  background: rgba(59, 130, 246, 0.08);
  border-left: 4px solid #2563eb;
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-top: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #d0d4da;
}

.notice-box strong,
.card .notice-box strong {
  color: #fff;
  font-weight: 600;
}

/* ============================================================
   9. CONTACT BOX
   ============================================================ */
.contact-box {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border-radius: 22px;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.contact-box h3 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 21px;
  margin-top: 24px;
}

.contact-box p,
.contact-box a {
  color: rgba(255, 255, 255, 0.92);
}

.contact-box a:hover { color: #e0e7ff; }

/* ============================================================
   10. SECTION SHARED STYLES
   ============================================================ */
section {
  padding: clamp(3rem, 3vw, 7rem) 0;
}

.section-kicker {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text2);
  max-width: 550px;
  font-size: 16px;
  line-height: 1.8;
}

/* Gradient text utility */
.grad-text {
  background: var(--accent2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   11. ABOUT US — STORY SECTION
   ============================================================ */
.section-story {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

.story-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 0% 50%, rgba(108, 99, 255, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 100% 80%, rgba(0, 212, 160, 0.07) 0%, transparent 60%);
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.story-headline {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  margin-bottom: 0;
}

/* Image column */
.story-img-col { position: relative; }

.story-img-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
}

.story-img {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.story-img-frame:hover .story-img { transform: scale(1.04); }

.story-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 8, 15, 0.35) 0%, transparent 50%, rgba(7, 8, 15, 0.2) 100%);
  pointer-events: none;
}

/* Floating badges over image */
.sif-badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(13, 15, 28, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: 14px;
  padding: 0.75rem 1.1rem;
  text-align: center;
  line-height: 1.2;
  z-index: 2;
}

.sif-badge--tl { top: 1.2rem; left: 1.2rem; }
.sif-badge--br { bottom: 1.2rem; right: 1.2rem; }

.sif-badge-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--text);
}

.sif-badge-label {
  font-size: 10px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* Content column */
.story-content-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.story-para {
  color: var(--text2);
  font-size: 15px;
  line-height: 1.85;
}
.story-para strong { color: var(--text); font-weight: 600; }

/* Pull quote */
.story-quote {
  position: relative;
  background: rgba(108, 99, 255, 0.07);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--rs) var(--rs) 0;
  padding: 1.2rem 1.5rem 1.2rem 1.8rem;
  color: var(--text);
  font-style: italic;
  font-size: 15px;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sq-qmark {
  position: absolute;
  top: -0.4rem;
  left: 0.9rem;
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(108, 99, 255, 0.3);
  pointer-events: none;
}

.story-quote em { font-style: normal; color: #00d4a0; }

.sq-cite {
  font-style: normal;
  font-size: 12.5px;
  color: var(--text3);
  font-weight: 500;
}

/* Location pills */
.story-locs {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.story-loc-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border2);
  border-radius: var(--rs);
  padding: 0.75rem 1.1rem;
  flex: 1;
  min-width: 160px;
}

.slp-flag { font-size: 1.6rem; flex-shrink: 0; }

.story-loc-pill strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.2;
}

.story-loc-pill span {
  font-size: 11.5px;
  color: var(--text3);
}

/* ============================================================
   12. ABOUT US — VALUES / CORE PRINCIPLES
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.value-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), transform var(--t);
}

.value-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent2);
  opacity: 0;
  transition: opacity var(--t);
}

.value-card:hover {
  border-color: rgba(108, 99, 255, 0.4);
  transform: translateY(-4px);
}
.value-card:hover::after { opacity: 1; }

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--rs);
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.value-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.value-desc {
  color: var(--text2);
  font-size: 14px;
  line-height: 1.75;
}

/* ============================================================
   13. ABOUT US — WHAT WE OFFER
   ============================================================ */
.section-offer { background: var(--bg2); }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.offer-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  padding: 1.75rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: border-color var(--t);
}

.offer-card:hover { border-color: rgba(0, 212, 160, 0.25); }

.offer-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(108, 99, 255, 0.22);
  line-height: 1;
  flex-shrink: 0;
  width: 42px;
}

.offer-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.offer-desc {
  color: var(--text2);
  font-size: 14px;
  line-height: 1.72;
}

/* ============================================================
   14. ABOUT US — TEAM GALLERY
   ============================================================ */
.section-team { background: var(--bg); }

.team-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 260px 200px;
  gap: 14px;
  margin-top: 3rem;
}

.tg-hero { grid-column: 1/3; grid-row: 1/2; }
.tg-tall { grid-column: 3/5; grid-row: 1/2; }
.tg-sm:nth-child(3) { grid-column: 3/4; }
.tg-sm:nth-child(4) { grid-column: 4/5; }
.tg-wide { grid-column: 1/3; grid-row: 2/3; }
.tg-cell { border-radius: var(--r); overflow: hidden; }

.tg-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--surface);
}

.tg-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.tg-img-wrap:hover img { transform: scale(1.06); }

.tg-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(7, 8, 15, 0.85) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tg-img-wrap:hover .tg-overlay { opacity: 1; }

.tg-label {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

/* Team chips */
.team-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2.5rem;
  justify-content: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(108, 99, 255, 0.08);
  border: 1px solid rgba(108, 99, 255, 0.2);
  color: var(--text2);
  transition: background var(--t), border-color var(--t), color var(--t);
}

.chip:hover {
  background: rgba(108, 99, 255, 0.18);
  border-color: rgba(108, 99, 255, 0.45);
  color: var(--text);
}

/* ============================================================
   15. ABOUT US — WHY PLAY WITH US
   ============================================================ */
.section-why { background: var(--bg2); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(0, 212, 160, 0.04);
  border: 1px solid rgba(0, 212, 160, 0.1);
  border-radius: var(--rs);
  padding: 1.25rem;
  transition: background var(--t);
}

.why-item:hover { background: rgba(0, 212, 160, 0.09); }

.why-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(0, 212, 160, 0.15);
  color: #00d4a0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 1px;
}

.why-strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.why-span {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.65;
}

/* ============================================================
   16. ABOUT US — TIMELINE
   ============================================================ */
.timeline-wrap { margin-top: 3.5rem; }

.tl-line-wrap {
  position: relative;
  padding-left: 44px;
}

.tl-line-wrap::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  border-radius: 1px;
}

.tl-item {
  position: relative;
  margin-bottom: 2.5rem;
}
.tl-item:last-child { margin-bottom: 0; }

.tl-dot {
  position: absolute;
  left: -38px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
  z-index: 2;
}

.tl-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(108, 99, 255, 0.25);
}

.tl-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
}

.tl-year {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.tl-event {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.tl-detail {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.65;
}

/* ============================================================
   17. ABOUT US / PRIVACY — FAQ ACCORDION
   ============================================================ */
.section-faq { background: var(--bg2); }

.faq-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Shared faq-item base */
.faq-item {
  background: linear-gradient(180deg, rgba(12, 20, 42, 0.88), rgba(9, 16, 34, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  margin-bottom: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(18px);
}

.faq-item:hover {
  border-color: rgba(76, 111, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28), 0 0 20px rgba(76, 111, 255, 0.08);
}

.faq-item.open {
  border-color: #4c6fff;
  box-shadow: 0 0 0 1px rgba(76, 111, 255, 0.08), 0 0 28px rgba(76, 111, 255, 0.12);
}

/* Question button */
.faq-q,
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  padding: 26px 28px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-q:hover,
.faq-question:hover { color: #dce6ff; }

/* Chevron */
.faq-chevron {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #b7c6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, border-color 0.2s, background 0.2s;
}

.faq-item:hover .faq-chevron {
  background: rgba(76, 111, 255, 0.12);
  color: #fff;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: rgba(76, 111, 255, 0.14);
  border-color: rgba(168, 85, 247, 0.4);
}

/* Inline + icon (simple pages) */
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(108, 99, 255, 0.1);
  color: var(--text3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.3s, background 0.3s, color 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(0, 212, 160, 0.12);
  color: #00d4a0;
}

/* Answer panel */
.faq-a,
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.3s;
}

.faq-item.open .faq-a,
.faq-item.open .faq-answer { max-height: 400px; }

.faq-item.open .faq-a { padding: 0 1.5rem 1.25rem; }

.faq-answer-inner {
  padding: 0 28px 28px;
  font-size: 18px;
  color: #a9b4d0;
  line-height: 1.9;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.faq-item.open .faq-answer-inner { border-color: rgba(124, 58, 237, 0.15); }

.faq-answer a { color: #79a6ff; font-weight: 600; }
.faq-answer a:hover { color: #9ebdff; text-decoration: underline; }

/* FAQ category tabs */
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0 2rem;
  margin-bottom: 48px;
}

.cat-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text2);
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.cat-btn .emoji { font-size: 18px; }
.cat-btn:hover { border-color: var(--border-hover); color: var(--text); }
.cat-btn.active { border-color: var(--accent); color: #fff; }

/* FAQ search */
.search-wrap {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.search-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

#faq-search {
  width: 100%;
  padding: 14px 16px 14px 46px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#faq-search::placeholder { color: #fff; opacity: 0.5; }
#faq-search:focus {
  background: #111827;
  color: #fff;
  border-color: var(--accent);
}

/* FAQ section header */
.faq-section { margin: 50px auto; max-width: 1100px; }

.section-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.section-header h2 { font-size: 34px; font-weight: 800; color: #fff; }

.section-emoji {
  width: 58px;
  height: 58px;
  min-width: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(76, 111, 255, 0.22), rgba(76, 111, 255, 0.08));
  border: 1px solid rgba(76, 111, 255, 0.16);
  box-shadow: 0 0 25px rgba(76, 111, 255, 0.12);
}

.section-title-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #4d49ff;
  margin-bottom: 0;
}

/* Hidden states for filtering */
.faq-section.hidden,
.faq-item.hidden { display: none; }

.no-results {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.no-results .nr-icon { font-size: 40px; margin-bottom: 12px; }
.no-results p { font-size: 15px; }

/* Footer CTA within FAQ */
.footer-cta {
  max-width: 760px;
  margin: 0 auto 60px;
  padding: 0 1.5rem;
}

.cta-box {
  background: var(--surface);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 16px;
  padding: 36px 32px;
  text-align: center;
}

.cta-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.cta-box p { font-size: 14px; color: var(--text2); margin-bottom: 24px; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #7c3aed;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.cta-btn:hover { background: #a855f7; transform: translateY(-1px); }

/* ============================================================
   18. CONTACT US PAGE
   ============================================================ */
.contact-page-container {
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  padding-bottom: 50px;
}

/* Info items */
.info-section { margin-bottom: 28px; }

.info-section-label {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  margin-bottom: 10px;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
}

.info-item:hover {
  background: rgba(69, 64, 255, 0.05);
  border-color: rgba(69, 64, 255, 0.2);
}

.info-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: rgba(69, 64, 255, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.info-content { flex: 1; }

.info-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.info-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

/* Social buttons */
.social-row,
.social-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
  justify-content: center;
}

.social-btn,
.social-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text2) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.social-btn:hover,
.social-link:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  background: rgba(69, 64, 255, 0.07);
  transform: translateY(-2px);
}

/* Social link (icon-only circle variant) */
.social-link {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
  font-size: 1.15rem;
}

/* Contact form */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field { margin-bottom: 18px; position: relative; text-align: left; }

.field label {
  display: block;
  font-size: 16px;
  color: #fff;
  margin-bottom: 7px;
}

.field label .req { color: var(--accent); margin-left: 2px; }

.contact-page-container input,
.contact-page-container select,
.contact-page-container textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
}

.contact-page-container input::placeholder,
.contact-page-container textarea::placeholder { color: #fff; opacity: 0.5; }

.contact-page-container input:focus,
.contact-page-container select:focus,
.contact-page-container textarea:focus {
  border-color: var(--accent);
  background: rgba(69, 64, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(69, 64, 255, 0.12);
}

.contact-page-container select { cursor: pointer; opacity: 0.5; }
.contact-page-container select option { background: var(--bg-card); }
.contact-page-container select.selected { background: #fff; }
.contact-page-container textarea { resize: vertical; min-height: 130px; }

.char-counter {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 11px;
  color: var(--text-muted);
  pointer-events: none;
}

/* Submit button */
.submit-btn {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(90deg, var(--accent), #4540ff);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  position: relative;
  overflow: hidden;
}

.submit-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity 0.2s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(69, 64, 255, 0.4);
  filter: brightness(1.05);
}

.submit-btn:hover::after { opacity: 1; }
.submit-btn:active { transform: translateY(0); }
.submit-btn.loading { pointer-events: none; filter: brightness(0.8); }

/* Toast notification */
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  border: 1px solid var(--success);
  border-radius: 12px;
  padding: 14px 24px;
  color: var(--success);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

#toast.show { transform: translateX(-50%) translateY(0); }
#toast.error { border-color: var(--error); color: var(--error); }

/* Address cards */
.address-section { margin-top: 28px; animation: fadeUp 0.7s ease 0.3s both; }

.address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.address-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.address-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.address-card:hover {
  border-color: rgba(69, 64, 255, 0.3);
  box-shadow: 0 0 30px rgba(69, 64, 255, 0.08);
}

.address-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.address-country {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.address-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text2);
}

.address-detail-icon { font-size: 15px; min-width: 20px; margin-top: 2px; }

.address-detail a { color: var(--text2); text-decoration: none; transition: color 0.2s; }
.address-detail a:hover { color: var(--accent); }

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(69, 64, 255, 0.25);
  background: rgba(69, 64, 255, 0.06);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}

.map-link:hover { border-color: #0a58ca !important; color: #fff; }

/* Card title (contact page variant) */
.card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  border-radius: 2px;
}

/* ============================================================
   19. AFFILIATE / FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.feature-box {
  background: var(--glass-card);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(229, 238, 252, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #fff;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
}

.feature-box h3 { margin-bottom: 10px; font-size: 20px; color: #fff; }
.feature-box p { font-size: 15px; color: #d1d5db; }

/* Steps */
.steps { display: grid; gap: 18px; margin-top: 25px; }

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--glass-card);
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--glass-border);
}

.step-number {
  min-width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.step-content h3 { margin-bottom: 8px; font-size: 20px; color: #fff; }
.step-content p { color: #d1d5db; font-size: 15px; }

/* ============================================================
   20. PRIVACY POLICY — ACCORDION
   ============================================================ */
.privacy-accordion {
  margin-top: 25px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(20, 18, 61, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.accordion-btn {
  width: 100%;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  transition: background 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.accordion-btn:hover { background: rgba(99, 102, 241, 0.12); }
.accordion-btn.active { background: rgba(99, 102, 241, 0.16); }

.accordion-icon {
  font-size: 24px;
  font-weight: 700;
  color: #818cf8;
  transition: transform 0.3s ease;
}

.accordion-btn.active .accordion-icon { transform: rotate(180deg); }

/* Parent accordion content */
.privacy-accordion > .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.02);
  color: #d1d5db;
}

.privacy-accordion.active > .accordion-content {
  max-height: 7000px;
  padding: 25px 24px;
}

/* Child accordion content */
.accordion-content .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 0 20px;
}

.accordion-btn.active + .accordion-content {
  max-height: 5000px;
  padding: 20px;
}

/* Shared text inside accordions */
.accordion-content ul li,
.accordion-content p { color: #9ca3af !important; }

/* Full explanation toggle */
.full_explaination {
  display: none;
  margin-top: 18px;
  padding: 18px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.18);
  color: #d1d5db;
  line-height: 1.8;
}

.full_explaination.active { display: block; }

.full_explaination h4 { margin: 24px 0 10px; font-size: 18px; color: #fff; }
.full_explaination p { margin-bottom: 15px; line-height: 1.8; }

/* ============================================================
   21. CTA SECTION (shared premium CTA)
   ============================================================ */
.section-cta {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.14) 0%, rgba(0, 212, 160, 0.07) 100%);
  border-top: 1px solid rgba(108, 99, 255, 0.12);
  border-bottom: 1px solid rgba(108, 99, 255, 0.12);
  text-align: center;
}

.section-cta .section-desc { margin: 1rem auto 2.5rem; }

/* ============================================================
   22. SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-btn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: #3b82f6;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
  z-index: 9999;
  transition: var(--transition);
}

.scroll-btn:hover {
  background: #60a5fa;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(59, 130, 246, 0.6);
}

/* ============================================================
   23. FOOTER
   ============================================================ */
.footer {
  text-align: center;
  padding: 40px 20px;
  color: #6b7280;
  font-size: 14px;
}

/* ============================================================
   24. UTILITIES
   ============================================================ */
hr {
  margin: 35px 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.p-hide { display: none; }

/* ============================================================
   25. ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   26. RESPONSIVE
   ============================================================ */

/* ---- Tablet ---- */
@media (max-width: 920px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    top: 0;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-stats { gap: 1.5rem; }
  .stat-sep { display: none; }

  .story-layout { grid-template-columns: 1fr; }
  .story-img-frame { aspect-ratio: 16 / 9; max-height: 320px; }

  .team-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px 180px;
    gap: 10px;
  }

  .tg-hero { grid-column: 1/3; grid-row: 1/2; }
  .tg-tall { grid-column: 1/2; grid-row: 2/3; }
  .tg-sm:nth-child(3) { grid-column: 2/3; grid-row: 2/3; }
  .tg-sm:nth-child(4) { grid-column: 1/2; grid-row: 3/4; }
  .tg-wide { grid-column: 2/3; grid-row: 3/4; }
}

/* ---- Tablet sidebar chips ---- */
@media (max-width: 991px) {
  .sidebar ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
  }

  .sidebar li { margin-bottom: 0; }

  .sidebar a {
    display: block;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sidebar a:hover,
  .sidebar a.active {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
    padding-left: 0;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
  }

  .card { scroll-margin-top: 100px; }

  .address-grid { grid-template-columns: 1fr; }
}

/* ---- Mobile ---- */
@media (max-width: 600px) {
  .hero {
    padding: 55px 22px;
    min-height: auto;
  }

  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }

  .card { padding: 26px; }
  .card h2 { font-size: 25px; }

  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; }

  .form-row { grid-template-columns: 1fr; }

  .story-locs { flex-direction: column; }
  .story-loc-pill { min-width: unset; }

  .team-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 190px 160px 160px;
    gap: 8px;
  }

  .tg-hero { grid-column: 1/3; }

  .cta-box { padding: 28px 20px; }

  .scroll-btn { right: 16px; bottom: 16px; width: 44px; height: 44px; font-size: 18px; }

  .section-emoji { width: 52px; height: 52px; font-size: 22px; }

  .faq-question { font-size: 18px; padding: 22px; }
  .faq-answer-inner { font-size: 16px; padding: 0 22px 22px; }

  .section-header h2 { font-size: 28px; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 1.5rem; }
  .sidebar ul { grid-template-columns: repeat(auto-fill, minmax(115px, 1fr)); gap: 8px; }
  .sidebar a { font-size: 12px; padding: 8px 6px; }
}

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}
