/* ============================================================
   LUMINESTARIO — COMPLETE STYLESHEET
   Dark Premium Design System
   ============================================================ */


@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500&display=swap');


:root {
  
  --bg-base:        #0a0c12;
  --bg-surface:     #0f1220;
  --bg-elevated:    #161926;
  --bg-card:        #1a1e2e;
  --bg-card-hover:  #1f2438;

  --accent:         #7c6af7;
  --accent-bright:  #9b8cff;
  --accent-glow:    rgba(124, 106, 247, 0.25);
  --accent-subtle:  rgba(124, 106, 247, 0.08);

  --gold:           #e8c87a;
  --gold-subtle:    rgba(232, 200, 122, 0.12);

  --text-primary:   #eef0f8;
  --text-secondary: #9ba3c0;
  --text-muted:     #5c6480;
  --text-inverse:   #0a0c12;

  --border:         rgba(124, 106, 247, 0.15);
  --border-subtle:  rgba(255, 255, 255, 0.06);

  
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.3);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 24px rgba(124,106,247,0.3), 0 0 48px rgba(124,106,247,0.1);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.4), 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);

  
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   32px;
  --r-full: 9999px;

  
  --t-fast:   150ms ease;
  --t-base:   250ms ease;
  --t-slow:   400ms ease;
  --t-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  
  --max-w:    1200px;
  --nav-h:    72px;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }


h1, h2, h3, h4, h5 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 600; }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 500; }
p  { color: var(--text-secondary); line-height: 1.75; }
strong { color: var(--text-primary); font-weight: 500; }


.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
@media (min-width: 768px) { .container { padding: 0 var(--sp-8); } }
@media (min-width: 1024px) { .container { padding: 0 var(--sp-12); } }


.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 12, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--t-base), box-shadow var(--t-base);
}
.site-nav.scrolled {
  background: rgba(10, 12, 18, 0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
@media (min-width: 1024px) { .nav-inner { padding: 0 var(--sp-12); } }

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo-text {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}


.nav-tabs {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
  padding: var(--sp-1) var(--sp-2);
}
@media (min-width: 900px) { .nav-tabs { display: flex; } }

.nav-tab {
  display: block;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--t-base);
  white-space: nowrap;
}
.nav-tab:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}
.nav-tab.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 16px rgba(124,106,247,0.4);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}


.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
  padding: 4px 10px;
}
.lang-btn {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-fast);
  letter-spacing: 0.05em;
  padding: 2px 4px;
  border-radius: var(--r-sm);
}
.lang-btn:hover { color: var(--text-primary); }
.lang-btn.active {
  color: var(--accent-bright);
  font-weight: 600;
}
.lang-divider { color: var(--text-muted); font-size: 0.75rem; }


.btn-nav {
  display: none;
  padding: var(--sp-2) var(--sp-5);
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--t-base);
  box-shadow: 0 0 16px rgba(124,106,247,0.3);
}
.btn-nav:hover {
  background: var(--accent-bright);
  box-shadow: 0 0 24px rgba(124,106,247,0.5);
  transform: translateY(-1px);
}
@media (min-width: 900px) { .btn-nav { display: block; } }


.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: var(--sp-2);
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.nav-hamburger:hover { background: rgba(255,255,255,0.06); }
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--t-base);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 900px) { .nav-hamburger { display: none; } }


.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(10, 12, 18, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 999;
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform var(--t-slow), opacity var(--t-slow);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-tab {
  display: block;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: all var(--t-base);
}
.mobile-tab:hover, .mobile-tab.active {
  color: var(--text-primary);
  background: var(--accent-subtle);
  border-color: var(--border);
}
.mobile-lang {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  margin-top: var(--sp-2);
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--r-full);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--t-base);
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px rgba(124,106,247,0.35), var(--shadow-md);
}
.btn-primary:hover {
  background: var(--accent-bright);
  box-shadow: var(--shadow-glow), var(--shadow-md);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--accent-subtle);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--text-inverse);
  box-shadow: 0 0 20px rgba(232,200,122,0.3), var(--shadow-md);
}
.btn-gold:hover {
  background: #f0d48a;
  box-shadow: 0 0 32px rgba(232,200,122,0.45), var(--shadow-md);
  transform: translateY(-2px);
}


.section {
  padding: var(--sp-24) 0;
  position: relative;
}
.section-sm { padding: var(--sp-16) 0; }
.section-lg { padding: var(--sp-32) 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: var(--sp-4);
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}


.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(124,106,247,0.12) 0%, transparent 70%),
              radial-gradient(ellipse 50% 50% at 10% 80%, rgba(232,200,122,0.06) 0%, transparent 60%),
              var(--bg-base);
}
.hero-bg-number {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Fraunces', serif;
  font-size: clamp(200px, 30vw, 380px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(124,106,247,0.12);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.05em;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
  position: relative;
  z-index: 2;
  padding: var(--sp-20) 0;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--accent-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-bright);
  margin-bottom: var(--sp-6);
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero-title { margin-bottom: var(--sp-6); }
.hero-title em {
  font-style: normal;
  color: var(--accent-bright);
  position: relative;
}
.hero-desc {
  font-size: 1.0625rem;
  margin-bottom: var(--sp-8);
  max-width: 480px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}
.hero-image-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 60%);
  z-index: 1;
  opacity: 0.4;
}
.hero-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--r-xl);
  position: relative;
  z-index: 0;
}
@media (min-width: 900px) {
  .hero-image-wrap img { height: 520px; }
}
.hero-image-card {
  position: absolute;
  bottom: var(--sp-6);
  left: var(--sp-6);
  background: rgba(10,12,18,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  z-index: 3;
  box-shadow: var(--shadow-lg);
}
.hero-image-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-1);
}
.hero-image-card strong {
  font-size: 0.9rem;
  color: var(--text-primary);
}


.wave-divider {
  position: relative;
  height: 100px;
  overflow: hidden;
  margin-top: -2px;
}
.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}


.trust-strip {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--sp-10) 0;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  justify-content: center;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}
.trust-item i {
  color: var(--accent);
  font-size: 1.1rem;
}


.why-section {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-16);
  align-items: center;
}
@media (min-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-20); }
}
.why-image {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.why-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--r-xl);
}
.why-image-accent {
  position: absolute;
  top: -20px; right: -20px;
  width: 120px; height: 120px;
  background: var(--accent-glow);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.why-points {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}
.why-point {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.why-point-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--accent-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  font-size: 1rem;
  transition: all var(--t-base);
}
.why-point:hover .why-point-icon {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.why-point-text h4 { margin-bottom: var(--sp-1); }
.why-point-text p { font-size: 0.9rem; }


.courses-section {
  background: var(--bg-base);
  position: relative;
}
.courses-header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-12);
}
@media (min-width: 768px) {
  .courses-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 600px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .courses-grid { grid-template-columns: repeat(4, 1fr); }
}
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: all var(--t-base);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--t-base);
}
.course-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(124,106,247,0.08);
}
.course-card:hover::before { opacity: 1; }
.course-icon {
  width: 52px; height: 52px;
  background: var(--accent-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  font-size: 1.3rem;
  margin-bottom: var(--sp-5);
  transition: all var(--t-base);
}
.course-card:hover .course-icon {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.course-card h4 { margin-bottom: var(--sp-2); font-size: 1rem; }
.course-card p { font-size: 0.875rem; }


[data-tooltip] { position: relative; cursor: help; }
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.4;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  white-space: nowrap;
  max-width: 240px;
  white-space: normal;
  text-align: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base);
  transform: translateX(-50%) translateY(4px);
  z-index: 100;
}
[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


.how-section {
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 100%);
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  margin-top: var(--sp-12);
}
@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--t-base);
  position: relative;
}
.step-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step-number {
  font-family: 'Fraunces', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  line-height: 1;
  margin-bottom: var(--sp-4);
  opacity: 0.6;
}
.step-card h3 { font-size: 1.1rem; margin-bottom: var(--sp-3); }


.faq-section {
  background: var(--bg-surface);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-12);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.faq-item.open {
  border-color: var(--border);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(124,106,247,0.06);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-6);
  cursor: pointer;
  gap: var(--sp-4);
  transition: background var(--t-fast);
}
.faq-question:hover { background: rgba(255,255,255,0.02); }
.faq-question h4 {
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  line-height: 1.4;
}
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--accent-subtle);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  font-size: 0.75rem;
  transition: all var(--t-base);
}
.faq-item.open .faq-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) ease, padding var(--t-slow) ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 var(--sp-6) var(--sp-6);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--sp-5);
}
.faq-answer-inner p { font-size: 0.9rem; }


.cta-banner {
  background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(124,106,247,0.15) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-16) var(--sp-12);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.06);
  margin: var(--sp-24) 0;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: var(--accent-glow);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 150px; height: 150px;
  background: rgba(232,200,122,0.08);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}
.cta-banner h2 { margin-bottom: var(--sp-4); position: relative; z-index: 1; }
.cta-banner p { margin-bottom: var(--sp-8); position: relative; z-index: 1; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .btn { position: relative; z-index: 1; }


.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  margin-top: var(--sp-12);
}
@media (min-width: 600px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--t-base);
}
.team-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.team-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
}
.team-card-body {
  padding: var(--sp-6);
}
.team-card-role {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: var(--sp-2);
}
.team-card-name {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
}
.team-card-bio { font-size: 0.875rem; }


.course-full-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr;
  transition: all var(--t-base);
}
@media (min-width: 768px) {
  .course-full-card { grid-template-columns: 1fr 1fr; }
  .course-full-card.reverse { direction: rtl; }
  .course-full-card.reverse > * { direction: ltr; }
}
.course-full-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
}
.course-full-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
@media (min-width: 768px) { .course-full-img { height: 100%; min-height: 320px; } }
.course-full-body {
  padding: var(--sp-10) var(--sp-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.course-full-body .section-label { margin-bottom: var(--sp-4); }
.course-full-body h3 { margin-bottom: var(--sp-4); }
.course-full-body p { margin-bottom: var(--sp-6); }
.course-topics {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.course-topic {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.course-topic i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.courses-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}


.talleres-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
  margin-bottom: var(--sp-16);
}
@media (min-width: 900px) {
  .talleres-intro { grid-template-columns: 1fr 1fr; }
}
.talleres-intro img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--r-xl);
}
.format-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}
@media (min-width: 768px) { .format-grid { grid-template-columns: repeat(2, 1fr); } }
.format-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-card);
  transition: all var(--t-base);
}
.format-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.format-card-icon {
  width: 56px; height: 56px;
  background: var(--accent-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  font-size: 1.4rem;
  margin-bottom: var(--sp-5);
  transition: all var(--t-base);
}
.format-card:hover .format-card-icon {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.format-card h3 { margin-bottom: var(--sp-3); font-size: 1.2rem; }
.format-list {
  margin-top: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.format-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.format-list li i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }


.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  margin-top: var(--sp-12);
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.4fr; gap: var(--sp-16); }
}
.contact-info { display: flex; flex-direction: column; gap: var(--sp-6); }
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: all var(--t-base);
}
.contact-info-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--accent-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-info-text p { font-size: 0.78rem; color: var(--text-muted); margin-bottom: var(--sp-1); }
.contact-info-text a, .contact-info-text strong {
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: color var(--t-fast);
}
.contact-info-text a:hover { color: var(--accent-bright); }


.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  margin-top: var(--sp-6);
}
.map-wrap iframe {
  width: 100%;
  height: 260px;
  display: block;
  filter: grayscale(0.5) invert(0.85) hue-rotate(170deg);
}


.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-8);
  box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: var(--sp-5); }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--sp-2);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: all var(--t-base);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,106,247,0.15);
  background: var(--bg-card);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }


.iti, #phone, #phone-es { width: 100%; }
.iti__flag-container { border-right: 1px solid var(--border-subtle); }
.iti--separate-dial-code .iti__selected-flag {
  background: var(--bg-elevated);
  border-radius: var(--r-md) 0 0 var(--r-md);
}
.iti__country-list {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
}
.iti__country.iti__highlight { background: var(--accent-subtle); }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-check label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}
.form-check label a { color: var(--accent-bright); }
.form-check label a:hover { text-decoration: underline; }


.page-hero {
  padding: calc(var(--nav-h) + var(--sp-16)) 0 var(--sp-16);
  background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(124,106,247,0.12) 0%, transparent 70%),
              var(--bg-base);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-bg-num {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Fraunces', serif;
  font-size: clamp(100px, 18vw, 220px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(124,106,247,0.08);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}
.page-hero-content { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.page-hero h1 { margin-bottom: var(--sp-4); }
.page-hero p { font-size: 1.0625rem; }


.thanks-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-24) var(--sp-6);
  text-align: center;
  background: radial-gradient(ellipse 60% 60% at 50% 30%, rgba(124,106,247,0.12) 0%, transparent 70%),
              var(--bg-base);
}
.thanks-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-16) var(--sp-12);
  max-width: 520px;
  box-shadow: var(--shadow-lg);
}
.thanks-icon {
  width: 72px; height: 72px;
  background: var(--accent-subtle);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  font-size: 1.8rem;
  margin: 0 auto var(--sp-6);
}
.thanks-card h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: var(--sp-4); }
.thanks-card p { margin-bottom: var(--sp-8); }


.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--sp-12) 0 var(--sp-24);
}
.legal-content h2 {
  font-size: 1.4rem;
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-4);
  color: var(--text-primary);
}
.legal-content h3 {
  font-size: 1.1rem;
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
  color: var(--text-primary);
}
.legal-content p { margin-bottom: var(--sp-4); font-size: 0.9375rem; }
.legal-content ul {
  list-style: disc;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
}
.legal-content ul li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: var(--sp-2);
}
.legal-content a { color: var(--accent-bright); }
.legal-content a:hover { text-decoration: underline; }
.legal-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-8);
}


.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.footer-illustration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
}
.footer-inner {
  position: relative;
  z-index: 1;
  padding: var(--sp-16) 0 var(--sp-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer-brand img { height: 32px; margin-bottom: var(--sp-4); }
.footer-brand p { font-size: 0.875rem; max-width: 280px; }
.footer-col h5 {
  font-family: 'Fraunces', serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
  letter-spacing: 0.02em;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--accent-bright); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer-contact-item i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: var(--text-muted); transition: color var(--t-fast); }
.footer-contact-item a:hover { color: var(--accent-bright); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
}
.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer-legal a:hover { color: var(--accent-bright); }


.cookie-banner {
  position: fixed;
  bottom: var(--sp-6);
  left: var(--sp-6);
  right: var(--sp-6);
  max-width: 520px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  z-index: 9999;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0,0,0,0.5);
  transform: translateY(120%);
  opacity: 0;
  transition: transform var(--t-slow), opacity var(--t-slow);
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner h4 {
  font-size: 1rem;
  margin-bottom: var(--sp-3);
  font-family: 'Fraunces', serif;
}
.cookie-banner p { font-size: 0.8rem; margin-bottom: var(--sp-5); }
.cookie-banner a { color: var(--accent-bright); }
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.cookie-btn {
  flex: 1;
  min-width: 80px;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t-base);
  border: none;
}
.cookie-btn-accept {
  background: var(--accent);
  color: #fff;
}
.cookie-btn-accept:hover {
  background: var(--accent-bright);
  box-shadow: 0 0 16px rgba(124,106,247,0.4);
}
.cookie-btn-reject {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.cookie-btn-reject:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}
.cookie-btn-customize {
  background: transparent;
  color: var(--accent-bright);
  border: 1px solid var(--border);
}
.cookie-btn-customize:hover { background: var(--accent-subtle); }


.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.cookie-modal h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  margin-bottom: var(--sp-6);
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.cookie-category:last-of-type { border-bottom: none; }
.cookie-category-info p { font-size: 0.78rem; color: var(--text-muted); margin-top: var(--sp-1); }
.cookie-category-info strong { font-size: 0.875rem; color: var(--text-primary); }
.toggle-switch {
  position: relative;
  width: 44px; height: 24px;
  flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all var(--t-base);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 2px; top: 2px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all var(--t-base);
}
.toggle-switch input:checked + .toggle-slider { background: var(--accent); border-color: var(--accent); }
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
  background: #fff;
}
.toggle-switch input:disabled + .toggle-slider { opacity: 0.5; cursor: not-allowed; }
.cookie-modal-actions {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  flex-wrap: wrap;
}
.cookie-modal-actions .cookie-btn { flex: 1; }


.fade-up {
  opacity: 0;
  transform: translateY(24px);
}
.fade-up.animated {
  opacity: 1;
  transform: translateY(0);
}


.text-accent { color: var(--accent-bright); }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }
.mt-4 { margin-top: var(--sp-4); }
.mt-8 { margin-top: var(--sp-8); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}


::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }


::selection { background: var(--accent-glow); color: var(--text-primary); }