/* --- CSS Variables & Tokens --- */
:root {
  /* Logo Colors & Gradients Palette */
  --c-blue: #0ea5e9;
  --c-blue-dark: #0284c7;
  --c-green: #10b981;
  --c-yellow: #facc15;
  --c-orange: #f97316;
  
  /* Neutral Palette */
  --c-bg: #f8fafc;
  --c-bg-off: #eef2f7;
  --c-text: #334155;
  --c-text-light: #475569;
  --c-heading: #0f172a;
  
  /* Fonts */
  --f-main: 'Inter', sans-serif;
  --f-display: 'Outfit', sans-serif;
  
  /* Effects */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 10px 40px -10px var(--c-blue);
  
  /* Gradients */
  --grad-logo: linear-gradient(135deg, var(--c-blue), var(--c-green), var(--c-yellow), var(--c-orange));
  --grad-health: linear-gradient(135deg, var(--c-blue), var(--c-green));
  --grad-democracy: linear-gradient(135deg, var(--c-green), var(--c-yellow));
  --grad-collab: linear-gradient(135deg, var(--c-yellow), var(--c-orange));
  --grad-cta: linear-gradient(135deg, var(--c-blue-dark), var(--c-green));
}

/* --- Reset & Global --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--c-heading);
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-lg {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.max-w-lg { max-width: 800px; margin-inline: auto; }
.text-center { text-align: center; }
.text-white { color: #ffffff !important; }
.font-semibold { font-weight: 600; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.mt-4 { margin-top: 1rem; }
.mt-12 { margin-top: 3rem; }
.mb-8 { margin-bottom: 2rem; }
.position-relative { position: relative; }
.z-10 { z-index: 10; }
.w-full { width: 100%; }

.bg-light { background-color: var(--c-bg-off); }

.margin-center { margin-inline: auto; }

/* Colors shorthand */
.color-green { color: var(--c-green); }
.color-yellow { color: var(--c-yellow); }
.color-orange { color: var(--c-orange); }

.mt-6 { margin-top: 1.5rem; }
.premium-shadow { box-shadow: 0 30px 60px -15px rgba(0,0,0,0.2); }
.text-left { text-align: left; }

/* --- Typography FX --- */
.text-gradient {
  background: var(--grad-logo);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-blue-green {
  background: var(--grad-health);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Header --- */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 100;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-text {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--c-heading);
}
.header-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-blue);
  transition: opacity 0.3s ease;
}
.header-cta:hover {
  opacity: 0.8;
}

/* --- Section Structure --- */
.section {
  padding: 80px 0;
  position: relative;
  border-top: 1px solid rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
  .section { padding: 120px 0; }
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}

.section-text {
  font-size: 1.125rem;
  color: var(--c-text-light);
}

.lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--c-heading);
}

/* --- Buttons --- */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 36px;
  background: var(--grad-cta);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-glow);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button::after {
  content: "";
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: 0.5s;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px -10px var(--c-blue);
}

.cta-button:hover::after {
  left: 150%;
}

.cta-white {
  background: #ffffff;
  color: var(--c-blue-dark);
  box-shadow: var(--shadow-lg);
}
.cta-white:hover {
  box-shadow: var(--shadow-glow);
}

.cta-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 30px -5px rgba(37, 211, 102, 0.4);
}

.cta-whatsapp:hover {
  background: #128C7E;
  box-shadow: 0 15px 40px -10px rgba(37, 211, 102, 0.6);
}

.instagram-gradient {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  box-shadow: 0 10px 30px -5px rgba(220, 39, 67, 0.4);
}

.instagram-gradient:hover {
  box-shadow: 0 15px 40px -5px rgba(220, 39, 67, 0.6);
}

/* --- Specific Components --- */

/* HERO Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f9ff, #f8fafc);
  border-top: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(14,165,233,0.12), rgba(16,185,129,0.12));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 24px;
  border-radius: 50%;
  box-shadow: var(--shadow-glow);
  border: 3px solid #fff;
  background-color: #fff;
  animation: floatShape 6s ease-in-out infinite alternate;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--c-blue);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero .title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

.hero .subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--c-heading);
  margin-bottom: 24px;
}

.hero .description {
  font-size: 1.25rem;
  margin-bottom: 48px;
  color: var(--c-text);
  font-weight: 500;
  max-width: 600px;
  margin-inline: auto;
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.4;
  animation: floatShape 15s ease-in-out infinite alternate;
}

.shape-1 {
  width: 500px; height: 500px;
  background: var(--c-blue);
  top: -150px; left: -150px;
}
.shape-2 {
  width: 400px; height: 400px;
  background: var(--c-green);
  bottom: -100px; right: 10%;
  animation-delay: -5s;
}
.shape-3 {
  width: 300px; height: 300px;
  background: var(--c-yellow);
  top: 30%; right: -100px;
  opacity: 0.3;
  animation-delay: -10s;
}

@keyframes floatShape {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, 50px) scale(1.1); }
}

@media (min-width: 768px) {
  .hero .title { font-size: 6rem; }
  .hero .subtitle { font-size: 2rem; }
}

/* SOBRE (Split Layout) */
.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .split-layout {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.split-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

.split-content {
  text-align: left;
}

.highlight-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-blue);
  line-height: 1.4;
}

.split-content .section-title {
  margin-bottom: 24px;
}

/* VALORES Cards */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.value-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  border: 1px solid rgba(0,0,0,0.03);
  text-align: center;
}

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

.icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 40px;
  color: #fff;
  transform: rotate(-5deg);
  transition: transform 0.3s ease;
}

.value-card:hover .icon-wrapper {
  transform: rotate(0deg) scale(1.1);
}

.bg-gradient-health { background: var(--grad-health); }
.bg-gradient-democracy { background: var(--grad-democracy); }
.bg-gradient-collab { background: var(--grad-collab); }

.card-title {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

/* TREINOS */
.schedule-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px 44px;
  border-radius: var(--radius-pill);
  max-width: 580px;
  margin: 48px auto;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 20px 40px -15px rgba(0, 0, 0, 0.1),
    inset 0 0 0 2px rgba(255, 255, 255, 0.5);
  transition: all 0.4s ease;
}

.schedule-highlight:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 25px 50px -12px rgba(14, 165, 233, 0.15);
}

.gradient-border::before {
  content: '';
  position: absolute;
  top: -2px; right: -2px; bottom: -2px; left: -2px;
  z-index: -1;
  border-radius: inherit;
  background: var(--grad-logo);
  opacity: 0.3; /* Border is now a subtle glow */
  transition: opacity 0.4s ease;
}

.schedule-highlight:hover::before {
  opacity: 0.6;
}

.schedule-disclaimer {
  font-size: 0.875rem;
  color: var(--c-text-light);
  margin-top: -24px;
  margin-bottom: 40px;
  font-style: italic;
  max-width: 500px;
  margin-inline: auto;
}

.schedule-icon-wrapper {
  font-size: 48px;
  color: var(--c-blue);
  display: flex;
  filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.3));
  animation: pulseScheduleIcon 2s ease-in-out infinite;
}

@keyframes pulseScheduleIcon {
  0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.3)); }
  50% { transform: scale(1.15); filter: drop-shadow(0 0 20px rgba(14, 165, 233, 0.6)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.3)); }
}

.schedule-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.schedule-info strong {
  font-size: 1.25rem;
  color: var(--c-heading);
}

.time-badge {
  color: var(--c-text-light);
  font-weight: 500;
  display: inline-block;
  margin-top: 4px;
}

.training-format {
  background: var(--c-bg-off);
  padding: 32px;
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
}

.training-format h3 {
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.format-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

@media (min-width: 768px) {
  .format-list { flex-direction: row; justify-content: center; gap: 32px; }
}

.format-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--c-heading);
}

.format-list i { font-size: 28px; }

.levels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .levels-grid { grid-template-columns: repeat(3, 1fr); }
}

.level-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-top: 6px solid transparent;
  transition: transform 0.3s ease;
}

.level-card:hover { transform: translateY(-5px); }

.level-beginner { border-top-color: var(--c-blue); }
.level-intermediate { border-top-color: var(--c-green); }
.level-advanced { border-top-color: var(--c-orange); }

.level-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-blue { background-color: var(--c-blue); }
.badge-green { background-color: var(--c-green); }
.badge-orange { background-color: var(--c-orange); }


/* OBJETIVO (Purpose Banner) */
.purpose-banner {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1534158914592-062992fbe900?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80'); /* Professional Table Tennis bg */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.purpose-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(14, 165, 233, 0.7));
  z-index: 1;
}

.purpose-banner .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.purpose-banner .section-title {
  color: #fff;
  margin-bottom: 32px;
}

.purpose-banner .lead {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 40px;
  font-weight: 600;
}

.purpose-banner .highlight-text {
  font-size: 1.75rem;
  color: var(--c-yellow);
  font-weight: 800;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.purpose-banner .purpose-icon {
  font-size: 72px;
  color: #ef4444;
  margin-bottom: 32px;
  filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.4));
  animation: pulseTarget 3s ease-in-out infinite;
}

@keyframes pulseTarget {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
  .purpose-banner { padding: 80px 24px; }
  .purpose-banner .lead { font-size: 1.25rem; }
  .purpose-banner .highlight-text { font-size: 1.5rem; }
  .instagram-icon-lg { font-size: 60px; }
}

.instagram-icon-lg {
  font-size: 80px;
  margin-bottom: 24px;
  display: inline-block;
  line-height: 1;
  filter: drop-shadow(0 10px 20px rgba(220, 39, 67, 0.3));
  animation: pulseInsta 2.5s ease-in-out infinite;
}

@keyframes pulseInsta {
  0% { transform: scale(1); filter: drop-shadow(0 10px 20px rgba(220, 39, 67, 0.3)); }
  50% { transform: scale(1.15); filter: drop-shadow(0 15px 30px rgba(220, 39, 67, 0.6)); }
  100% { transform: scale(1); filter: drop-shadow(0 10px 20px rgba(220, 39, 67, 0.3)); }
}

/* CTA FINAL */
.cta-section {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 800 400"><defs><pattern id="circles" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle fill="rgba(255,255,255,0.1)" cx="50" cy="50" r="10"></circle></pattern></defs><rect x="0" y="0" width="100%" height="100%" fill="url(%23circles)"></rect></svg>');
  background-color: var(--c-blue);
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--grad-health);
  opacity: 0.9;
}

.cta-title {
  font-size: 3rem;
}

/* FOOTER */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 40px;
}

.footer-logo {
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.footer-desc {
  margin-bottom: 8px;
}

.footer-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.footer-location i { color: var(--c-green); }

.footer-copyright {
  font-size: 0.875rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  max-width: 400px;
  margin: 0 auto;
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
  will-change: opacity, transform;
}

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

.delay-1 { transition-delay: 0.2s; }

.cta-bounce {
  animation: float 4s ease-in-out infinite;
}

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

/* --- Navigation & Header Actions --- */
.desktop-nav {
  display: none;
  gap: 24px;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    align-items: center;
  }
  .desktop-nav a {
    font-weight: 500;
    color: var(--c-heading);
    transition: color 0.2s;
  }
  .desktop-nav a:hover {
    color: var(--c-blue);
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.social-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.share-text {
  font-size: 0.9rem;
  color: var(--c-text-light);
  font-weight: 600;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--c-bg-off);
  color: var(--c-green);
  font-size: 20px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.share-btn:hover {
  transform: translateY(-2px);
  background-color: var(--c-green);
  color: white;
}

/* --- Dynamic Gallery Carousel --- */
.gallery-dynamic {
  background-color: #0f172a; /* Dark Base */
  background-image: 
    radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(16, 185, 129, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(250, 204, 21, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(249, 115, 22, 0.1) 0px, transparent 50%);
  padding: 100px 0;
  overflow: hidden;
}

/* --- Static Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--c-blue);
}

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

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

/* --- Lightbox Overlay --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  padding: 24px;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  position: relative;
  text-align: center;
}

.lightbox-content img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 50px rgba(14, 165, 233, 0.3);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox.active .lightbox-content img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: var(--c-blue);
  transform: rotate(90deg);
}

.lightbox-caption-text {
  color: white;
  margin-top: 20px;
  font-size: 1.2rem;
  font-family: var(--f-display);
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
  max-width: 900px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

.testimonial-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: left;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 80px;
  font-family: serif;
  color: rgba(14, 165, 233, 0.1);
  line-height: 1;
}

.stars {
  color: var(--c-yellow);
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

/* --- SEO Box --- */
.seo-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.highlight-box {
  display: inline-block;
  background: var(--c-blue);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
  margin-top: 16px;
}

/* --- FAQ Accordion --- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}

.accordion-item {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 24px;
  background: transparent;
  border: none;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--c-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.accordion-header:hover {
  color: var(--c-blue);
}

.accordion-header i {
  transition: transform 0.3s ease;
  color: var(--c-blue);
}

.accordion-header.active i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
}

.accordion-content p {
  padding-bottom: 24px;
  margin: 0;
  color: var(--c-text-light);
}

/* --- Membership Section --- */
.membership-section {
  background: var(--c-bg-off);
  position: relative;
}

.membership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .membership-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.member-benefit-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(14, 165, 233, 0.1);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s ease;
}

.member-benefit-card:hover {
  transform: translateY(-8px);
  background: #fff;
  box-shadow: var(--shadow-lg);
  border-color: var(--c-blue);
}

.benefit-icon-box {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: var(--grad-cta);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 8px 16px rgba(14, 165, 233, 0.2);
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--c-heading);
}

.benefit-text {
  font-size: 1rem;
  color: var(--c-text-light);
  line-height: 1.6;
}

.membership-cta {
  margin-top: 56px;
  text-align: center;
}

/* --- Map Container --- */
/* --- Mentores Section Enhancement --- */
#mentores {
  background: linear-gradient(180deg, #ffffff 0%, var(--c-bg-off) 100%);
  position: relative;
  overflow: hidden;
}

#mentores::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(var(--c-blue) 0.5px, transparent 0.5px);
  background-size: 30px 30px;
  opacity: 0.03;
  pointer-events: none;
}

.map-container {
  width: 100%;
  max-width: 900px;
  margin: 40px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid #fff;
}
/* --- Mentors Section (Option 1) --- */
.mentors-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
  margin-top: 48px;
  max-width: 1000px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .mentors-grid { grid-template-columns: repeat(3, 1fr); }
}

.mentor-card {
  background: #fff;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
}

.mentor-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.1);
}

.mentor-img-wrapper {
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  border-radius: 50%;
  padding: 8px;
  background: var(--grad-logo);
  position: relative;
}

.mentor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  background: #f1f5f9; /* Placeholder bg */
}

.mentor-name {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--c-heading);
}

.mentor-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-blue { background: rgba(14, 165, 233, 0.1); color: var(--c-blue); }
.tag-green { background: rgba(16, 185, 129, 0.1); color: var(--c-green); }
.tag-orange { background: rgba(249, 115, 22, 0.1); color: var(--c-orange); }

.mentor-card:hover .mentor-img-wrapper {
  animation: pulseImg 2s infinite;
}

@keyframes pulseImg {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
