/* ============================================
   ELIM OLOT - Main Stylesheet
   Design System & Core Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Nunito:wght@300;400;600;700&display=swap');

/* ---- CSS Variables (Light Mode) ---- */
:root {
  --teal:        #1A8F8C;
  --teal-dark:   #136E6B;
  --teal-light:  #2ab5b1;
  --lime:        #A8D400;
  --lime-dark:   #86a900;
  --cyan:        #4DD9E8;
  --white:       #ffffff;

  --bg:          #f4f9f8;
  --bg-card:     #ffffff;
  --bg-nav:      rgba(255,255,255,0.92);
  --text:        #1a2e2d;
  --text-muted:  #5a7a78;
  --border:      #d0eae8;
  --shadow:      0 4px 24px rgba(26,143,140,0.10);
  --shadow-lg:   0 8px 40px rgba(26,143,140,0.18);

  --radius:      16px;
  --radius-sm:   8px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Nunito', sans-serif;
}

/* ---- Dark Mode ---- */
[data-theme="dark"] {
  --bg:          #0d1e1e;
  --bg-card:     #132a2a;
  --bg-nav:      rgba(13,30,30,0.95);
  --text:        #e8f5f4;
  --text-muted:  #7ab5b2;
  --border:      #1e3f3d;
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.5);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--lime-dark); }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
}
.nav-container-logo-y-titulo {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
.nav-logo img { height: 48px; width: 48px; border-radius: 50%; object-fit: cover; }

.nav-titulo {
  display: flex;
  flex-direction: column;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  transition: all var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%; height: 2px;
  background: var(--lime);
  border-radius: 2px;
  transition: transform var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--teal);
  background: rgba(26,143,140,0.08);
}

.nav-links a:hover::after, .nav-links a.active::after { transform: translateX(-50%) scaleX(1); }

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}

.lang-btn:hover { border-color: var(--teal); background: rgba(26,143,140,0.06); }
.lang-btn .flag { font-size: 1.1rem; }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-width: 150px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: all var(--transition);
  z-index: 100;
}

.lang-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  transition: background var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}

.lang-option:hover { background: rgba(26,143,140,0.08); color: var(--teal); }
.lang-option.active { color: var(--teal); background: rgba(168,212,0,0.12); }

/* Theme Toggle */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
  color: var(--text);
}

.theme-toggle:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  transform: rotate(20deg);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav a {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  border: 1px solid transparent;
  transition: all var(--transition);
  display: block;
}

.mobile-nav a:hover {
  background: rgba(26,143,140,0.10);
  border-color: var(--teal);
  color: var(--teal);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, #1da8a5 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(168,212,0,0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 30%, rgba(77,217,232,0.15) 0%, transparent 50%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  animation: float linear infinite;
}

@keyframes float {
  0% { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-20vh) rotate(720deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
  max-width: 800px;
}

.hero-logo {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 32px;
  border: 4px solid rgba(255,255,255,0.3);
  box-shadow: 0 0 60px rgba(168,212,0,0.3), 0 20px 40px rgba(0,0,0,0.2);
  animation: heroLogoIn 1s cubic-bezier(0.4,0,0.2,1) both;
}

@keyframes heroLogoIn {
  from { transform: scale(0.5) rotate(-10deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
  animation: fadeUp 0.8s 0.2s both;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.3s both;
}

/* .hero h1 span { color: var(--lime); } */

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  animation: fadeUp 0.8s 0.4s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.5s both;
}

@keyframes fadeUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeUp 1s 1s both;
}

.scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2px solid rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.7);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.btn:hover::before { transform: scaleX(1); }

.btn-primary {
  background: var(--lime);
  color: #1a2e2d;
  border-color: var(--lime);
  box-shadow: 0 4px 20px rgba(168,212,0,0.35);
}

.btn-primary:hover {
  background: var(--lime-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168,212,0,0.45);
  color: #1a2e2d;
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

.btn-teal {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(26,143,140,0.3);
}

.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26,143,140,0.45);
  color: white;
}

/* ============================================
   SECTIONS & LAYOUT
   ============================================ */
section { padding: 96px 24px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(26,143,140,0.10);
  border: 1px solid rgba(26,143,140,0.2);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title span { color: var(--teal); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

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

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}

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

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

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

/* ============================================
   SCHEDULE / HORARIOS
   ============================================ */
.schedule-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.schedule-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--lime));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.schedule-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.schedule-card:hover::after { transform: scaleX(1); }

.schedule-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(26,143,140,0.25);
  transition: transform var(--transition);
}

.schedule-card:hover .schedule-icon { transform: scale(1.1) rotate(5deg); }

.schedule-day {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime-dark);
  margin-bottom: 8px;
}

.schedule-time {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 12px;
}

.schedule-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

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

/* ============================================
   MAP SECTION
   ============================================ */
.map-section { background: var(--bg); }

.map-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

#map {
  height: 450px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 1;
}

.map-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.map-info h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 24px;
}

.map-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.map-detail:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.map-detail-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(26,143,140,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.map-detail-text strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.map-detail-text p {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

.gallery-item:hover .gallery-img-wrap img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,143,140,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-icon {
  color: white;
  font-size: 1.5rem;
  margin-left: auto;
}

.gallery-info { padding: 16px 20px; }

.gallery-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.gallery-info time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open { display: flex; }

.lightbox-inner {
  max-width: 900px;
  width: 100%;
  position: relative;
  animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-inner img {
  width: 100%;
  border-radius: var(--radius);
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -16px; right: -16px;
  width: 40px; height: 40px;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover { background: var(--lime-dark); }

.lightbox-caption {
  text-align: center;
  color: rgba(255,255,255,0.85);
  margin-top: 16px;
  font-size: 0.95rem;
}

/* ============================================
   ALABANZAS / WORSHIP
   ============================================ */
.worship-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.worship-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
}

.worship-item:hover {
  border-color: var(--teal);
  background: rgba(26,143,140,0.05);
  transform: translateX(4px);
  color: var(--text);
}

.worship-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: background var(--transition);
}

.worship-item:hover .worship-num { background: var(--lime-dark); }

.worship-info { flex: 1; }

.worship-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.worship-artist {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.worship-yt {
  width: 36px; height: 36px;
  background: rgba(255,0,0,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #ff0000;
  transition: all var(--transition);
  flex-shrink: 0;
}

.worship-item:hover .worship-yt {
  background: #ff0000;
  color: white;
  transform: scale(1.1);
}

/* ============================================
   FAQ / ACCORDION
   ============================================ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

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

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  transition: color var(--transition);
}

.accordion-item.open .accordion-header { color: var(--teal); }

.accordion-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(26,143,140,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
  flex-shrink: 0;
  color: var(--teal);
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  background: var(--teal);
  color: white;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-item.open .accordion-body { max-height: 300px; }

.accordion-content {
  padding: 0 24px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--lime);
  color: #1a2e2d;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.about-badge strong { display: block; font-size: 1.8rem; }

.value-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.value-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(26,143,140,0.25);
}

.value-item h4 {
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.value-item p { font-size: 0.9rem; color: var(--text-muted); }

/* ============================================
   STATS BANNER
   ============================================ */
.stats-banner {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 64px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.stat-item { color: white; }

.stat-num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--lime);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 64px 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand img {
  height: 56px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-contact-item strong { color: var(--text); }

.footer-col h4 {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--teal); }

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   PAGE HEADER (for inner pages)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(168,212,0,0.12) 0%, transparent 60%),
    radial-gradient(circle at 80% 30%, rgba(77,217,232,0.12) 0%, transparent 50%);
}

.page-header h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  margin-bottom: 16px;
  position: relative;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  position: relative;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  font-size: 0.85rem;
}

.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb span { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: var(--lime); font-weight: 600; }

/* ============================================
   FORMS (Login / Admin)
   ============================================ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: all var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,143,140,0.15);
}

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

/* ============================================
   ALERTS / MESSAGES
   ============================================ */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background: rgba(168,212,0,0.12);
  border: 1px solid rgba(168,212,0,0.4);
  color: var(--lime-dark);
}

.alert-error {
  background: rgba(220,50,50,0.10);
  border: 1px solid rgba(220,50,50,0.3);
  color: #c0392b;
}

/* ============================================
   POLICY / TERMS PAGE
   ============================================ */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--teal);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.policy-content h2:first-child { margin-top: 0; }

.policy-content p { margin-bottom: 16px; color: var(--text-muted); font-size: 0.95rem; }

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 24px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: border-color var(--transition);
}

.file-item:hover { border-color: var(--teal); }

.file-thumb {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.file-meta { flex: 1; }

.file-meta strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }

.file-meta span { font-size: 0.78rem; color: var(--text-muted); }

.file-actions {
  display: flex;
  gap: 8px;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.btn-danger {
  background: rgba(220,50,50,0.10);
  color: #c0392b;
  border: 1px solid rgba(220,50,50,0.25);
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--transition);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.8rem;
}

.btn-danger:hover { background: #c0392b; color: white; }

/* Upload area */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  margin-bottom: 24px;
}

.upload-area:hover, .upload-area.drag-over {
  border-color: var(--teal);
  background: rgba(26,143,140,0.04);
}

.upload-area p { color: var(--text-muted); margin-top: 12px; font-size: 0.9rem; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  animation: toastIn 0.3s ease;
  border-left: 4px solid var(--teal);
}

.toast.success { border-left-color: var(--lime); }
.toast.error { border-left-color: #e74c3c; }

@keyframes toastIn {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .map-wrapper { grid-template-columns: 1fr; }
  #map { height: 350px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 825px) {
  section { padding: 64px 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { position: static; margin-top: 20px; display: inline-block; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .map-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-lime { color: var(--lime-dark); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.items-center { align-items: center; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal-dark); }

/* Selection */
::selection { background: rgba(168,212,0,0.3); color: var(--text); }
