/*
Theme Name: WOPE Calistenia
Theme URI: https://wopecalistenia.com
Author: WOPE
Description: Tema a medida para la escuela de calistenia WOPE. Incluye tipos de contenido personalizados para Videos, Clases, Productos y Sedes, con personalizador de diseno.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: wope
*/


:root {
  --orange: #F0A418;
  --purple: #4607C7;
  --black: #141414;
  --dark: #1A1A1A;
  --card: #1F1F1F;
  --border: #2A2A2A;
  --gray: #888;
  --light-gray: #C4C4C4;
  --white: #EFEFEF;
  --green: #07eb29;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: default;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 2px; }

/* ===== PAGES ===== */
.page { display: none; min-height: 100vh; }
.page.active { display: block; }

/* ===== NAVIGATION ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(20,20,20,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 2rem;
  gap: 1rem;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; cursor: pointer;
  flex-shrink: 0;
}
/* El tamano del logo se controla en assets/css/wope-v2.css */
.nav-logo span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem; color: var(--orange);
  letter-spacing: 2px;
}

.nav-links {
  display: flex; align-items: center; gap: 0;
  list-style: none; margin-left: auto;
  position: relative;
}

.nav-item { position: relative; }

.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 0 1rem; height: var(--nav-h);
  color: var(--light-gray); text-decoration: none;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.5px; text-transform: uppercase;
  cursor: pointer; transition: color 0.2s;
  white-space: nowrap; user-select: none;
}
.nav-link:hover, .nav-link.active { color: var(--orange); }

.nav-link .arrow {
  font-size: 0.6rem; transition: transform 0.2s;
  display: inline-block;
}
.nav-item:hover .arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: 100%; left: 0;
  background: #1A1A1A;
  border: 1px solid var(--border);
  border-top: 2px solid var(--orange);
  border-radius: 0 0 12px 12px;
  min-width: 200px;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  list-style: none;
  overflow: hidden;
  z-index: 1001;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown li a, .dropdown li span {
  display: block; padding: 12px 20px;
  color: var(--light-gray); text-decoration: none;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer; transition: all 0.15s;
  border-bottom: 1px solid var(--border);
}
.dropdown li:last-child a,
.dropdown li:last-child span { border-bottom: none; }
.dropdown li a:hover, .dropdown li span:hover {
  background: rgba(240,164,24,0.1);
  color: var(--orange);
  padding-left: 28px;
}

/* CTA button */
.nav-cta {
  margin-left: 1rem;
  background: var(--orange);
  color: var(--black) !important;
  padding: 8px 20px !important;
  height: auto !important;
  border-radius: 6px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: #ffc137 !important; color: var(--black) !important; }

/* Mobile menu */
.nav-hamburger {
  display: none; background: none; border: none;
  cursor: pointer; color: var(--white); font-size: 1.5rem;
  margin-left: auto;
}

.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(20,20,20,0.98);
  z-index: 999; overflow-y: auto;
  padding: 1.5rem;
  flex-direction: column; gap: 0;
}
.mobile-menu.open { display: flex; }

.mobile-nav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--white); text-decoration: none;
  font-size: 1.1rem; font-weight: 600;
  cursor: pointer;
}
.mobile-submenu {
  display: none; flex-direction: column;
  background: var(--card); border-radius: 8px;
  margin: 0.5rem 0 0.5rem 1rem;
  overflow: hidden;
}
.mobile-submenu.open { display: flex; }
.mobile-submenu a, .mobile-submenu span {
  padding: 0.8rem 1.2rem;
  color: var(--light-gray); text-decoration: none;
  font-size: 0.9rem; cursor: pointer;
  border-bottom: 1px solid var(--border);
  display: block;
}
.mobile-submenu a:last-child, .mobile-submenu span:last-child { border-bottom: none; }

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

.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(70,7,199,0.35) 0%, transparent 60%),
              radial-gradient(ellipse 50% 50% at 20% 80%, rgba(240,164,24,0.15) 0%, transparent 50%),
              var(--black);
}

.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  padding: 4rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem;
}

.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240,164,24,0.1);
  border: 1px solid rgba(240,164,24,0.3);
  color: var(--orange); font-size: 0.75rem;
  font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-label::before {
  content: ''; width: 6px; height: 6px;
  background: var(--orange); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.5); }
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 0.9;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero h1 .accent { color: var(--orange); }
.hero h1 .purple { color: var(--purple); }

.hero-desc {
  font-size: 1.1rem; color: var(--light-gray);
  line-height: 1.7; margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: all 0.2s; border: none;
}
.btn-primary {
  background: var(--orange); color: var(--black);
}
.btn-primary:hover { background: #ffc137; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(240,164,24,0.3); }

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white);
}
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--purple);
  color: var(--purple);
}
.btn-ghost:hover { background: var(--purple); color: var(--white); }

.hero-stats {
  display: flex; gap: 2rem; margin-top: 2.5rem;
}
.stat { }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem; color: var(--orange);
  line-height: 1;
}
.stat-label { font-size: 0.75rem; color: var(--gray); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }

.hero-visual {
  display: flex; flex-direction: column; gap: 1rem; position: relative;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 1.5rem;
  position: relative; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.hero-card:hover { transform: translateY(-4px); border-color: var(--orange); }
.hero-card-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.hero-card-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
.hero-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.hero-card p { font-size: 0.82rem; color: var(--gray); line-height: 1.5; }

.hero-card-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}

/* ===== SECTION COMMONS ===== */
.section {
  padding: 6rem 2rem;
}

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

.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem; font-weight: 500;
  color: var(--orange); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 1rem;
}
.section-badge::before {
  content: '//'; color: var(--purple); font-weight: 700;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1; letter-spacing: 2px;
  margin-bottom: 1rem;
}
.section-title .o { color: var(--orange); }
.section-title .p { color: var(--purple); }

.section-sub {
  color: var(--gray); font-size: 1rem;
  max-width: 560px; line-height: 1.7;
}

.section-header { margin-bottom: 3.5rem; }

/* ===== GRID LAYOUTS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ===== CARD ===== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 1.8rem;
  transition: all 0.3s;
}
.card:hover { border-color: rgba(240,164,24,0.4); transform: translateY(-4px); }

/* ===== CLASSES PAGE ===== */
.classes-hero {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 4rem;
  background: radial-gradient(ellipse 80% 60% at 30% 50%, rgba(70,7,199,0.2) 0%, transparent 60%);
}

.class-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  transition: all 0.3s;
}
.class-card:hover { border-color: var(--orange); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }

.class-card-img {
  height: 220px;
  background: linear-gradient(135deg, rgba(70,7,199,0.4), rgba(240,164,24,0.2));
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; position: relative;
  overflow: hidden;
}
.class-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--card));
}

.class-card-body { padding: 1.5rem; }
.class-card-body h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.class-card-body .tag {
  display: inline-block; padding: 4px 10px; border-radius: 4px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 1rem;
}
.tag-presencial { background: rgba(240,164,24,0.15); color: var(--orange); }
.tag-online { background: rgba(70,7,199,0.15); color: #a78bfa; }
.tag-premium { background: rgba(7,235,41,0.1); color: var(--green); }

.class-card-body p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; margin-bottom: 1.5rem; }

.class-features {
  list-style: none; margin-bottom: 1.5rem;
}
.class-features li {
  padding: 6px 0; font-size: 0.82rem; color: var(--light-gray);
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.class-features li:last-child { border-bottom: none; }
.class-features li::before { content: '✓'; color: var(--orange); font-weight: 700; }

.location-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 12px;
  font-size: 0.75rem; color: var(--gray);
  margin-bottom: 1rem;
}

/* ===== STORE PAGE ===== */
.product-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  transition: all 0.3s; position: relative;
}
.product-card:hover { border-color: var(--orange); transform: translateY(-6px); }
.product-card-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--orange); color: var(--black);
  font-size: 0.65rem; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
}
.product-img {
  height: 240px;
  background: linear-gradient(135deg, #1a0a40, #2d1080);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; overflow: hidden; position: relative;
}
.product-img img {
  max-height: 200px; max-width: 90%;
  object-fit: contain; object-position: center;
}
.product-body { padding: 1.5rem; }
.product-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.product-body p { font-size: 0.82rem; color: var(--gray); line-height: 1.6; margin-bottom: 1.2rem; }
.product-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem; color: var(--orange); margin-bottom: 1rem;
}
.product-price span { font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; color: var(--gray); font-weight: 400; }

.includes-list {
  list-style: none; margin-bottom: 1.5rem;
}
.includes-list li {
  padding: 5px 0; font-size: 0.8rem; color: var(--light-gray);
  display: flex; gap: 8px;
}

/* ===== VIDEOS PAGE ===== */
.video-cats {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.video-cat-btn {
  padding: 8px 18px; border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent; color: var(--gray);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.video-cat-btn:hover, .video-cat-btn.active {
  background: var(--orange); border-color: var(--orange); color: var(--black);
}

.video-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.video-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  cursor: pointer; transition: all 0.3s;
}
.video-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.video-thumb {
  position: relative; aspect-ratio: 16/9;
  background: #0d0d0d; overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb-default {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(70,7,199,0.3), rgba(240,164,24,0.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.4);
  opacity: 0; transition: opacity 0.2s;
}
.play-btn svg { width: 48px; height: 48px; fill: white; }
.video-card:hover .play-btn { opacity: 1; }

.video-tag {
  position: absolute; top: 8px; left: 8px;
  background: rgba(240,164,24,0.9); color: var(--black);
  font-size: 0.65rem; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; padding: 3px 8px; border-radius: 4px;
}

.video-info { padding: 1rem; }
.video-info h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.3rem; line-height: 1.4; }
.video-info p { font-size: 0.75rem; color: var(--gray); }

/* Video modal */
.video-modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.92); z-index: 9999;
  align-items: center; justify-content: center;
  padding: 2rem;
}
.video-modal.open { display: flex; }
.video-modal-inner {
  background: var(--card); border-radius: 16px;
  border: 1px solid var(--border);
  width: 100%; max-width: 900px;
  overflow: hidden;
}
.video-modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.video-modal-header h3 { font-size: 1rem; font-weight: 700; }
.modal-close {
  background: none; border: none; color: var(--gray);
  font-size: 1.5rem; cursor: pointer; transition: color 0.2s;
}
.modal-close:hover { color: var(--white); }
.video-embed {
  position: relative; aspect-ratio: 16/9;
  background: #000;
}
.video-embed iframe { width: 100%; height: 100%; border: none; }

/* ===== CURSO PAGE ===== */
.course-hero {
  padding-top: calc(var(--nav-h) + 4rem);
  background: linear-gradient(180deg, rgba(70,7,199,0.15) 0%, transparent 100%);
}

.course-features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  margin: 2rem 0;
}
.course-feature {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border-radius: 10px; border: 1px solid var(--border);
}
.course-feature-icon { font-size: 1.4rem; flex-shrink: 0; }
.course-feature h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 3px; }
.course-feature p { font-size: 0.78rem; color: var(--gray); }

.pricing-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 3rem;
}
.pricing-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem;
  position: relative; transition: all 0.3s;
}
.pricing-card.featured {
  border-color: var(--orange);
  background: linear-gradient(180deg, rgba(240,164,24,0.08) 0%, var(--card) 100%);
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card .featured-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--black);
  font-size: 0.65rem; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; padding: 4px 14px; border-radius: 100px;
}
.pricing-name { font-size: 0.78rem; color: var(--gray); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem; }
.pricing-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem; color: var(--white); line-height: 1;
  margin-bottom: 0.3rem;
}
.pricing-price .currency { font-size: 1.5rem; vertical-align: super; }
.pricing-period { font-size: 0.78rem; color: var(--gray); margin-bottom: 1.5rem; }
.pricing-features {
  list-style: none; margin-bottom: 2rem;
}
.pricing-features li {
  padding: 8px 0; font-size: 0.83rem; color: var(--light-gray);
  display: flex; gap: 8px; align-items: flex-start;
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li .check { color: var(--orange); font-weight: 700; flex-shrink: 0; }

/* ===== ABOUT / NOSOTROS ===== */
.about-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem;
  align-items: center;
}

.value-pills {
  display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem;
}
.pill {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 14px;
  font-size: 0.78rem; font-weight: 500; color: var(--light-gray);
  display: flex; align-items: center; gap: 6px;
}
.pill.o { border-color: rgba(240,164,24,0.4); color: var(--orange); background: rgba(240,164,24,0.08); }
.pill.p { border-color: rgba(70,7,199,0.4); color: #a78bfa; background: rgba(70,7,199,0.08); }

.about-visual {
  position: relative;
}
.about-img-placeholder {
  background: linear-gradient(135deg, rgba(70,7,199,0.4) 0%, rgba(240,164,24,0.2) 100%);
  border-radius: 24px; aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  font-size: 8rem;
  border: 1px solid var(--border);
  overflow: hidden; position: relative;
}
.about-img-placeholder img {
  width: 100%; height: 100%; object-fit: contain;
}
.about-quote-card {
  position: absolute; bottom: -20px; left: -24px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.2rem;
  max-width: 280px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.about-quote-card p {
  font-size: 0.85rem; color: var(--light-gray);
  line-height: 1.5; font-style: italic;
}
.about-quote-card .author {
  font-size: 0.72rem; color: var(--orange);
  font-weight: 700; margin-top: 0.5rem;
  font-style: normal;
}

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.review-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.5rem;
  transition: all 0.3s;
}
.review-card:hover { border-color: rgba(240,164,24,0.3); transform: translateY(-4px); }
.stars { color: var(--orange); font-size: 1rem; margin-bottom: 0.8rem; letter-spacing: 2px; }
.review-text {
  font-size: 0.88rem; line-height: 1.7; color: var(--light-gray);
  margin-bottom: 1rem; font-style: italic;
}
.reviewer { font-size: 0.78rem; font-weight: 700; color: var(--orange); }

/* ===== CONTACT / FOOTER ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: flex-start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem; background: var(--card);
  border: 1px solid var(--border); border-radius: 10px;
  transition: border-color 0.2s;
}
.contact-item:hover { border-color: var(--orange); }
.contact-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-text h4 { font-size: 0.78rem; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-text a, .contact-text p { font-size: 0.9rem; color: var(--white); text-decoration: none; }
.contact-text a:hover { color: var(--orange); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.78rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }
.form-group input, .form-group textarea, .form-group select {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 14px;
  color: var(--white); font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem; transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--orange); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: var(--card); }

footer {
  background: var(--dark); border-top: 1px solid var(--border);
  padding: 3rem 2rem 1.5rem;
}
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 2rem; border-bottom: 1px solid var(--border);
}
.footer-brand p {
  font-size: 0.85rem; color: var(--gray); line-height: 1.7;
  margin-top: 1rem; max-width: 280px;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem; color: var(--orange); letter-spacing: 3px;
}
.footer-col h4 {
  font-size: 0.72rem; font-weight: 700; color: var(--white);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a, .footer-col ul li span {
  font-size: 0.85rem; color: var(--gray); text-decoration: none;
  cursor: pointer; transition: color 0.2s;
}
.footer-col ul li a:hover, .footer-col ul li span:hover { color: var(--orange); }
.footer-bottom {
  max-width: 1280px; margin: 1.5rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; color: var(--gray);
}
.social-links { display: flex; gap: 0.8rem; margin-top: 1rem; }
.social-link {
  width: 36px; height: 36px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--gray); font-size: 1rem;
  transition: all 0.2s; cursor: pointer;
}
.social-link:hover { border-color: var(--orange); color: var(--orange); background: rgba(240,164,24,0.1); }

/* ===== ADMIN PANEL ===== */
.admin-panel {
  display: none; position: fixed; inset: 0;
  z-index: 5000; background: #0d0d0d;
  flex-direction: row;
}
.admin-panel.active { display: flex; }
#adminLoginOverlay {
  position: absolute; inset: 0; z-index: 100;
  display: none;
  align-items: center; justify-content: center; flex-direction: column;
}
#adminContent { display: none; width: 100%; height: 100%; }

.admin-sidebar {
  width: 240px; background: var(--dark);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow-y: auto; flex-shrink: 0;
}
.admin-logo {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem; color: var(--orange); letter-spacing: 2px;
  display: flex; align-items: center; gap: 8px;
}
.admin-logo span { color: var(--gray); font-size: 0.65rem; letter-spacing: 1px; }
.admin-nav { flex: 1; padding: 1rem 0; }
.admin-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 1.5rem; color: var(--gray);
  font-size: 0.85rem; cursor: pointer;
  transition: all 0.2s; border-left: 2px solid transparent;
}
.admin-nav-item:hover, .admin-nav-item.active {
  color: var(--orange); background: rgba(240,164,24,0.05);
  border-left-color: var(--orange);
}
.admin-nav-section {
  padding: 0.5rem 1.5rem 0.3rem;
  font-size: 0.65rem; font-weight: 700; color: var(--border);
  text-transform: uppercase; letter-spacing: 2px;
  margin-top: 0.5rem;
}
.admin-close-btn {
  margin: 1rem; padding: 10px;
  background: rgba(255,0,0,0.1); border: 1px solid rgba(255,0,0,0.2);
  color: #ff6b6b; border-radius: 8px; cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  transition: all 0.2s;
}
.admin-close-btn:hover { background: rgba(255,0,0,0.2); }

.admin-main {
  flex: 1; overflow-y: auto;
  padding: 2rem;
}
.admin-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.admin-top h1 { font-size: 1.5rem; font-weight: 700; }
.admin-top p { font-size: 0.82rem; color: var(--gray); margin-top: 2px; }

.admin-section { display: none; }
.admin-section.active { display: block; }

.admin-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-bottom: 2rem;
}
.admin-stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.2rem;
}
.admin-stat-card h3 { font-size: 0.72rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.admin-stat-card .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem; color: var(--orange); line-height: 1;
}
.admin-stat-card p { font-size: 0.72rem; color: var(--gray); margin-top: 4px; }

.admin-table {
  width: 100%; border-collapse: collapse;
  background: var(--card); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
}
.admin-table th {
  background: var(--border); padding: 10px 14px;
  font-size: 0.72rem; font-weight: 700; color: var(--gray);
  text-transform: uppercase; letter-spacing: 1px; text-align: left;
}
.admin-table td {
  padding: 12px 14px; font-size: 0.85rem; color: var(--light-gray);
  border-bottom: 1px solid var(--border);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(240,164,24,0.03); }

.status-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 4px;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
}
.status-active { background: rgba(7,235,41,0.1); color: var(--green); }
.status-pending { background: rgba(240,164,24,0.1); color: var(--orange); }
.status-inactive { background: rgba(255,100,100,0.1); color: #ff6b6b; }

.admin-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-bottom: 1.5rem;
}
.admin-form-group { display: flex; flex-direction: column; gap: 6px; }
.admin-form-group label { font-size: 0.75rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }
.admin-form-group input, .admin-form-group select, .admin-form-group textarea {
  background: var(--dark); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 12px;
  color: var(--white); font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem; outline: none; transition: border-color 0.2s;
}
.admin-form-group input:focus, .admin-form-group select:focus, .admin-form-group textarea:focus { border-color: var(--orange); }
.admin-form-group textarea { min-height: 100px; resize: vertical; }
.admin-form-group select option { background: var(--dark); }
.admin-form-full { grid-column: 1 / -1; }
.admin-submit {
  background: var(--orange); color: var(--black);
  border: none; padding: 10px 24px; border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
}
.admin-submit:hover { background: #ffc137; }

.admin-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem;
}
.admin-card h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: 1.2rem;
  padding-bottom: 0.8rem; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.admin-card h3 span { font-size: 0.72rem; color: var(--gray); font-weight: 400; }

.video-admin-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem; background: var(--dark); border-radius: 8px;
  margin-bottom: 0.8rem;
}
.video-admin-thumb {
  width: 80px; height: 50px;
  background: var(--border); border-radius: 6px;
  overflow: hidden; flex-shrink: 0;
}
.video-admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-admin-info { flex: 1; }
.video-admin-info h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.video-admin-info p { font-size: 0.72rem; color: var(--gray); }
.video-admin-actions { display: flex; gap: 0.5rem; }
.admin-btn-sm {
  padding: 5px 10px; border-radius: 6px;
  font-size: 0.72rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.2s;
}
.admin-btn-edit { background: rgba(240,164,24,0.1); color: var(--orange); }
.admin-btn-delete { background: rgba(255,100,100,0.1); color: #ff6b6b; }
.admin-btn-edit:hover { background: rgba(240,164,24,0.2); }
.admin-btn-delete:hover { background: rgba(255,100,100,0.2); }

/* ===== PAGE HERO (sub pages) ===== */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 2rem 3rem;
  background: radial-gradient(ellipse 60% 50% at 20% 50%, rgba(70,7,199,0.2) 0%, transparent 60%);
  border-bottom: 1px solid var(--border);
}
.page-hero .container { display: flex; flex-direction: column; gap: 1rem; }
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1; letter-spacing: 2px;
}
.page-hero p { font-size: 1rem; color: var(--gray); max-width: 560px; line-height: 1.7; }

/* ===== SECTION SEPARATOR ===== */
.sep {
  height: 1px; background: var(--border);
  max-width: 1280px; margin: 0 auto;
}

/* Notification toast */
.toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--card); border: 1px solid var(--green);
  color: var(--green); border-radius: 10px;
  padding: 12px 20px; font-size: 0.88rem; font-weight: 600;
  z-index: 9999; display: none; animation: slideUp 0.3s ease;
}
.toast.show { display: block; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .course-features-grid { grid-template-columns: 1fr; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-panel { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; border-right: none; border-bottom: 1px solid var(--border); }
  .admin-nav { display: flex; overflow-x: auto; padding: 0; }
  .admin-nav-item { flex-shrink: 0; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .section { padding: 4rem 1.5rem; }
  .page-hero { padding: calc(var(--nav-h) + 2rem) 1.5rem 2rem; }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
