/*
Theme Name: FSV Theme
Theme URI: https://faeriedale.co.za
Author: Faeriedale Security Village
Description: Custom theme for Faeriedale Security Village
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: fsv-theme
*/

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --bg-base:       #ffffff;
  --bg-dark:       #f2f9f6;
  --bg-card:       #ffffff;
  --bg-card-hover: #f0faf7;
  --accent:        #00b894;
  --accent-dark:   #009e7d;
  --accent-light:  #00d4aa;
  --accent-glow:   rgba(0, 184, 148, 0.1);
  --text-primary:  #0f1f1a;
  --text-secondary:#2d4a41;
  --text-muted:    #6b8a82;
  --border:        rgba(0, 184, 148, 0.3);
  --border-subtle: #e0eeea;
  --shadow-card:   0 2px 20px rgba(0, 0, 0, 0.06);
  --shadow-glow:   0 0 30px rgba(0, 184, 148, 0.2);
  --radius:        12px;
  --radius-sm:     8px;
  --radius-lg:     20px;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display:  'Poppins', var(--font-sans);
  --max-width:     1200px;
  --nav-height:    72px;
  /* hero / footer / cta dark surfaces */
  --surface-dark:  #0a2419;
  --surface-mid:   #0d3526;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-light);
}

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

p { color: var(--text-secondary); }

/* =============================================
   UTILITY CLASSES
   ============================================= */
.container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--dark {
  background: var(--bg-dark);
}

.section--card {
  background: var(--bg-card);
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.text-accent { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* =============================================
   NAVIGATION
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all var(--transition);
  overflow: hidden;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* Nav text — white over dark hero, dark when scrolled into white content */
.site-header .nav__logo-name       { color: #ffffff; transition: color var(--transition); }
.site-header .nav__logo-tagline    { color: var(--accent); }
.site-header .nav__menu a          { color: rgba(255, 255, 255, 0.85); }
.site-header .nav__hamburger span  { background: #ffffff; }

.site-header.scrolled .nav__logo-name    { color: var(--text-primary); }
.site-header.scrolled .nav__menu a       { color: var(--text-secondary); }
.site-header.scrolled .nav__hamburger span { background: var(--text-primary); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  position: relative;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav__logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--bg-dark);
  font-family: var(--font-display);
  flex-shrink: 0;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
}

.nav__logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1;
}

.nav__logo-tagline {
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 3px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__menu a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}

.nav__menu a:hover,
.nav__menu a.current-menu-item,
.nav__menu a.current_page_item,
.nav__menu a.current-page-ancestor {
  color: var(--accent);
  background: var(--accent-glow);
}

/* Active page indicator dot */
.nav__menu a.current-menu-item::after,
.nav__menu a.current_page_item::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  margin: 3px auto 0;
}

/* Scrolled nav active state */
.site-header.scrolled .nav__menu a.current-menu-item,
.site-header.scrolled .nav__menu a.current_page_item {
  color: var(--accent);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 11px 8px;
  background: none;
  border: none;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header.scrolled .nav__hamburger span { background: var(--text-primary); }
.nav__hamburger.active span { background: var(--text-primary); }

.nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 100vw;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--nav-height) 24px 30px;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s, visibility 0.4s;
}

.nav__mobile.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav__mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.nav__mobile ul a {
  display: block;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}

.nav__mobile ul a:hover {
  color: var(--accent);
  background: var(--accent-glow);
}

.nav__mobile .btn {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  white-space: normal;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 36, 25, 0.72) 0%, rgba(13, 53, 38, 0.55) 50%, rgba(8, 32, 21, 0.68) 100%),
    url('/wp-content/themes/fsv-theme/assets/img/hero.png') center center / cover no-repeat;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,184,148,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,184,148,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 24px;
}

.hero__label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero__title .highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero__desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__cta .btn--outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.hero__cta .btn--outline:hover {
  color: var(--accent-light);
  border-color: var(--accent-light);
  background: rgba(255, 255, 255, 0.08);
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}

.hero__scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.hero__scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--surface-dark);
  border-top: none;
  border-bottom: none;
  padding: 40px 0;
}

.stats-bar .stat-item__label {
  color: rgba(255, 255, 255, 0.55);
}

.stats-bar .stat-item:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.1);
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 24px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-item__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  display: block;
}

.stat-item__label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 8px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =============================================
   FEATURE CARDS
   ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  background: var(--accent-glow);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.feature-card__title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── How Entry Works — 4 col → 2 col → 1 col ── */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .how-it-works-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }
}

@media (max-width: 480px) {
  .how-it-works-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

/* ── Icon sizing inside containers ── */
.feature-card__icon i,
.doc-card__icon i,
.info-card__icon i,
.gate-card__icon i,
.contact-card__icon i {
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}

.doc-card__icon i   { font-size: 1.2rem; }
.info-card__icon i  { font-size: 2rem; }
.step__icon i       { color: var(--accent); font-size: 1rem; }
.gate-card__title i { color: var(--accent); margin-right: 10px; font-size: 1rem; }
.contact-card__email i { font-size: 0.9rem; }

/* ── Card link button ── */
.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 18px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  transition: all var(--transition);
  white-space: nowrap;
}

.card-btn span {
  display: inline-block;
  transition: transform var(--transition);
}

.card-btn:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.card-btn:hover span {
  transform: translateX(4px);
}

/* CTA section outline button — force white on dark bg */
.cta-section .btn--outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-section .btn--outline:hover {
  color: var(--accent-light);
  border-color: var(--accent-light);
  background: rgba(255, 255, 255, 0.08);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about__list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about__list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.about__list-item::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.about__image-wrap {
  position: relative;
  padding-bottom: 20px;
}

@media (max-width: 768px) {
  .about__image-wrap {
    padding-bottom: 0;
  }
}

.about__image-wrap img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about__image-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--accent);
  color: var(--bg-dark);
  padding: 20px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  box-shadow: var(--shadow-card);
}

.about__image-badge span {
  display: block;
  font-size: 2rem;
  font-family: var(--font-display);
  line-height: 1;
}

.about__image-badge small {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--surface-dark) 0%, var(--surface-mid) 100%);
  border-top: none;
  border-bottom: none;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,212,170,0.08) 0%, transparent 70%);
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  color: #ffffff;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   PAGE HEADER
   ============================================= */
.page-hero {
  padding: calc(var(--nav-height) + 64px) 0 64px;
  background: linear-gradient(180deg, var(--surface-dark) 0%, var(--surface-mid) 100%);
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 30% -20%, rgba(0,212,170,0.12) 0%, transparent 60%);
}

.page-hero__title { color: #ffffff; }
.page-hero__desc  { color: rgba(255, 255, 255, 0.92); }
.page-hero p      { color: rgba(255, 255, 255, 0.92); }

.page-hero .container { position: relative; z-index: 1; }

.page-hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.page-hero__desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* =============================================
   CONTENT AREA
   ============================================= */
.content-section {
  padding: 80px 0;
}

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 24px;
}

.content-card h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.content-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  margin-top: 24px;
}

.content-card p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.8;
}

.content-card ul, .content-card ol {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-secondary);
}

.content-card ul li, .content-card ol li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* =============================================
   FAQ ACCORDION
   ============================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--border);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  user-select: none;
  transition: background var(--transition);
}

.faq-item__question:hover {
  background: var(--bg-card-hover);
}

.faq-item.open .faq-item__question {
  color: var(--accent);
}

.faq-item__icon {
  width: 28px;
  height: 28px;
  background: var(--accent-glow);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1;
}

.faq-item.open .faq-item__icon {
  background: var(--accent);
  color: var(--bg-dark);
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-item__answer {
  max-height: 600px;
}

.faq-item__answer-inner {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  line-height: 1.8;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.faq-item__answer-inner ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 8px;
}

.faq-item__answer-inner li {
  margin-bottom: 6px;
}

/* =============================================
   DOCUMENTS
   ============================================= */
.doc-group {
  margin-bottom: 48px;
}

.doc-group__title {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.doc-group__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: all var(--transition);
}

.doc-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border);
  transform: translateX(4px);
  color: var(--text-primary);
}

.doc-card__icon {
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.doc-card__info {
  flex: 1;
  min-width: 0;
}

.doc-card__name {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-card__type {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.doc-card__arrow {
  color: var(--text-muted);
  font-size: 1rem;
  transition: color var(--transition);
  flex-shrink: 0;
}

.doc-card:hover .doc-card__arrow {
  color: var(--accent);
}

/* =============================================
   MEMBERSHIP PAGE
   ============================================= */
.membership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.membership-grid--single {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 36px;
}

.info-card--accent {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0,184,148,0.05) 100%);
}

.info-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.info-card__title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.info-card__price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 4px;
}

.info-card__price-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.info-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.membership-steps {
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}

.step:hover {
  border-color: var(--border);
  transform: translateX(4px);
}

.step__number {
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-display);
  flex-shrink: 0;
  font-size: 1rem;
}

.step__content h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.step__content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   MAP PAGE
   ============================================= */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  background: var(--bg-card);
}

.map-container img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.map-legend {
  padding: 24px 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.map-legend__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.map-legend__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

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

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color var(--transition);
}

.contact-card:hover {
  border-color: var(--border);
}

.contact-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.contact-card__name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-card__role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.contact-card__email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition);
}

.contact-card__email:hover {
  color: var(--accent-light);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form h2 {
  font-size: 1.4rem;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select option {
  background: var(--bg-card);
}

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

.form-success,
.form-error {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: none;
}

.form-success {
  background: rgba(0, 184, 148, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
}

.form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #ef4444;
}

/* =============================================
   NEWS / IMPORTANT DATES
   ============================================= */
.news-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}

.dates-table {
  width: 100%;
  border-collapse: collapse;
}

.dates-table th {
  background: var(--accent-glow);
  color: var(--accent);
  padding: 14px 20px;
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.dates-table td {
  padding: 16px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.dates-table tr:hover td {
  background: var(--bg-card-hover);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge--green {
  background: rgba(0, 184, 148, 0.15);
  color: var(--accent);
  border: 1px solid var(--border);
}

.badge--blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge--orange {
  background: rgba(251, 146, 60, 0.15);
  color: #fb923c;
  border: 1px solid rgba(251, 146, 60, 0.2);
}

/* =============================================
   VISION / SECURITY PAGE
   ============================================= */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.gate-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.gate-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow-card);
}

.gate-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gate-card__body {
  padding: 24px;
}

.gate-card__title {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--accent);
}

.gate-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--surface-dark);
  border-top: none;
  padding: 64px 0 0;
}

/* Footer text overrides — dark green surface needs light text */
.site-footer .footer-brand p,
.site-footer .footer-col ul a,
.site-footer .footer-contact-item span,
.site-footer .footer-contact-item a,
.site-footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
}

.site-footer .footer-col__title,
.site-footer .footer-contact-item strong {
  color: rgba(255, 255, 255, 0.35);
}

.site-footer .nav__logo-name    { color: #ffffff; }
.site-footer .nav__logo-tagline { color: var(--accent); }

.site-footer .footer-col ul a:hover,
.site-footer .footer-contact-item a:hover,
.site-footer .footer-bottom a {
  color: var(--accent);
}

.site-footer .footer-grid {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 260px;
}

.footer-col__title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.footer-contact-item strong {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-contact-item span,
.footer-contact-item a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 2px;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
}

/* =============================================
   AOS ANIMATION OVERRIDES
   ============================================= */
[data-aos] {
  pointer-events: none;
}
[data-aos].aos-animate {
  pointer-events: auto;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  /* Compress nav so 7 links + CTA fit between 768–1024px */
  .nav__menu { gap: 0; }
  .nav__menu a { font-size: 0.82rem; padding: 6px 8px; }
  .nav__cta .btn { padding: 8px 14px; font-size: 0.82rem; }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .section { padding: 64px 0; }

  .nav__menu,
  .nav__cta {
    display: none !important;
  }

  .nav__hamburger {
    display: flex !important;
    margin-left: auto;
  }

  .nav__mobile {
    display: block;
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form {
    padding: 28px 20px;
  }

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

  .content-card { padding: 24px; }

  .about__image-badge {
    bottom: auto;
    left: auto;
    top: 12px;
    right: 12px;
    padding: 12px 18px;
  }
  .about__image-badge span {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .btn { padding: 12px 20px; font-size: 0.875rem; }
}
