/* === RESET Y VARIABLES === */
:root {
  --primary: #23272c;
  --secondary: #1a1a1a;
  --accent: #6bc1ff;
  --silver: #eaeaea;
  --dark: #141518;
  --font-primary: 'Inter', system-ui, sans-serif;
  --font-display: 'Montserrat', sans-serif;
}

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

body {
  font-family: var(--font-primary);
  background: linear-gradient(135deg, #16181b 0%, #23272c 100%);
  color: var(--silver);
  overflow-x: hidden;
  scroll-behavior: smooth;
  line-height: 1.6;
}

/* === LOADER === */
.loader {
  position: fixed; 
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--dark);
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center;
  z-index: 9999; 
  transition: all 0.5s ease;
}

.loader.hide { 
  opacity: 0; 
  visibility: hidden; 
}

.loader-logo {
  font-family: var(--font-display); 
  font-size: clamp(1.8rem, 5vw, 2.5rem); 
  font-weight: 800;
  color: var(--accent); 
  margin-bottom: 2rem; 
  display: flex; 
  align-items: center; 
  gap: 1rem;
  animation: pulse 2s infinite;
}

.loader-spinner {
  border: 4px solid rgba(107, 193, 255, 0.3);
  border-top: 4px solid var(--accent);
  border-radius: 50%; 
  width: 50px; 
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin { 
  to { transform: rotate(360deg); } 
}

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

/* === NAVIGATION === */
.navbar {
  position: fixed; 
  top: 0; left: 0; right: 0; 
  z-index: 1000;
  padding: 1rem;
  background: rgba(20, 21, 24, 0.97);
  border-bottom: 1px solid rgba(107, 193, 255, 0.07); 
  transition: all 0.3s ease;
}

.nav-content {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  max-width: 1400px; 
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display); 
  font-size: clamp(1.2rem, 3vw, 1.5rem); 
  font-weight: 800;
  color: var(--accent); 
  text-decoration: none; 
  display: flex; 
  align-items: center; 
  gap: 0.5rem;
}

.nav-links { 
  display: flex; 
  gap: 2rem; 
  list-style: none; 
}

.nav-links a {
  color: var(--silver); 
  text-decoration: none; 
  font-weight: 500;
  cursor: pointer; 
  padding: 0.5rem 1rem; 
  border-radius: 20px; 
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-links a:hover, 
.nav-links a.active {
  color: var(--accent); 
  background: rgba(107, 193, 255, 0.07);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--silver);
  cursor: pointer;
  z-index: 1500;
  padding: 0.5rem;
}

/* === MOBILE MENU === */
.mobile-menu-blur {
  display: none;
  position: fixed;
  z-index: 1999;
  top: 0; left: 0; 
  width: 100vw; 
  height: 100vh;
  backdrop-filter: blur(5px);
  background: rgba(0,0,0,0.5);
  transition: opacity 0.4s;
  opacity: 0;
}

.mobile-menu-blur.active {
  display: block;
  opacity: 1;
}

/* === SKIP TO CONTENT (Accessibility) === */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--accent);
  color: var(--dark);
  padding: 8px;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  font-weight: 600;
  z-index: 100000;
  transition: top 0.3s;
}

.skip-to-content:focus {
  top: 0;
}

/* === MAIN CONTAINER (Desktop Horizontal Scroll) === */
.main-container {
  display: flex; 
  width: 800vw; 
  height: 100vh;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section {
  width: 100vw; 
  min-height: 100vh; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  padding: 0 2rem; 
  position: relative; 
  overflow: hidden;
  background: transparent;
}

.section-content { 
  max-width: 1200px; 
  width: 100%; 
  text-align: center; 
  z-index: 2; 
  position: relative; 
}

.section-title {
  font-family: var(--font-display); 
  font-size: clamp(2rem, 6vw, 4rem); 
  font-weight: 800; 
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #fff 0%, #6bc1ff 100%);
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
  background-clip: text;
  animation: slideInUp 0.8s ease;
}

.section-subtitle { 
  font-size: clamp(1rem, 3vw, 1.2rem); 
  color: #b3c0c7; 
  margin-bottom: 2rem; 
  font-weight: 300; 
  animation: slideInUp 0.8s ease 0.1s both; 
}

/* === HERO SECTION === */
.hero { 
  background: var(--primary); 
  padding-top: 80px;
}

.hero h1 {
  font-family: var(--font-display); 
  font-size: clamp(2.5rem, 8vw, 6rem); 
  font-weight: 800; 
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, #6bc1ff 100%); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
  background-clip: text;
  animation: slideInUp 1s ease;
}

.hero p {
  font-size: clamp(1rem, 4vw, 1.5rem); 
  margin-bottom: 2rem; 
  opacity: 0.9; 
  font-weight: 300; 
  max-width: 600px; 
  margin-left: auto; 
  margin-right: auto;
  animation: slideInUp 1s ease 0.2s both;
}

.cta-button {
  display: inline-flex; 
  align-items: center; 
  gap: 1rem; 
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.03); 
  border: 2px solid var(--accent); 
  border-radius: 50px; 
  color: var(--accent);
  font-weight: 700; 
  font-size: clamp(0.9rem, 3vw, 1.1rem); 
  transition: all 0.3s ease; 
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  animation: slideInUp 1s ease 0.4s both; 
  position: relative; 
  overflow: hidden;
  text-decoration: none;
}

.cta-button:hover {
  background: var(--accent); 
  color: var(--dark); 
  border: 2px solid var(--accent);
  transform: translateY(-4px) scale(1.05); 
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.hero-image { 
  margin-top: 2rem; 
  animation: slideInUp 1s ease 0.6s both; 
}

.hero-image img {
  max-width: 100%; 
  width: 100%; 
  max-width: 520px;
  border-radius: 22px; 
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg); 
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.01);
}

/* === ABOUT SECTION === */
.about-text { 
  max-width: 730px; 
  margin: 2rem auto 0 auto; 
  color: #b3c0c7; 
  font-size: clamp(1rem, 3vw, 1.18rem); 
  line-height: 1.7; 
}

/* === ADVANTAGES SECTION === */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  justify-items: center;
}

.advantage-card {
  background: rgba(107,193,255,0.03);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(107,193,255,0.09);
  box-shadow: 0 10px 24px rgba(20,21,24,0.07);
  transition: all 0.3s;
  width: 100%;
  max-width: 340px;
}

.advantage-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: var(--accent);
}

.advantage-icon {
  font-size: 2.7rem;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.advantage-card h3 {
  color: var(--accent);
  font-size: clamp(1rem, 3vw, 1.13rem);
  margin-bottom: 0.4rem;
}

.advantage-card p {
  color: #eaeaea;
  font-size: clamp(0.9rem, 2.5vw, 1.01rem);
}

/* === COURSES SECTION === */
.courses { 
  background: var(--secondary); 
}

.courses-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
  gap: 2rem; 
  margin-top: 2.2rem; 
}

.course-card {
  background: rgba(255,255,255,0.02); 
  border: 1px solid rgba(107, 193, 255, 0.10);
  border-radius: 24px; 
  padding: 2rem; 
  text-align: left; 
  transition: all 0.3s ease; 
  position: relative; 
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(20,21,24,0.13);
  width: 100%;
}

.course-card:hover { 
  transform: scale(1.02) translateY(-3px); 
  border-color: var(--accent); 
}

.course-header h3 { 
  font-size: clamp(1.2rem, 4vw, 1.4rem); 
  color: var(--accent); 
  margin-bottom: 0.2rem; 
}

.course-location { 
  font-size: clamp(0.9rem, 2.5vw, 0.98rem); 
  color: #b3c0c7; 
  margin-bottom: 1.1rem; 
}

.course-card p { 
  color: #eaeaea; 
  margin-bottom: 1.3rem; 
  font-size: clamp(0.95rem, 3vw, 1.08rem); 
}

.course-summary {
  width: 100%;
  background: rgba(107, 193, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border-left: 3px solid #6bc1ff;
}

.course-dates-section,
.course-schedule,
.course-description,
.course-program,
.course-includes,
.course-target,
.trust-elements {
  margin-bottom: 1.5rem;
}

.course-dates-section p,
.course-schedule p {
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.location-item {
  background: rgba(107, 193, 255, 0.1);
  padding: 0.8rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  border-left: 3px solid #6bc1ff;
}

.course-schedule ul,
.course-program ul,
.course-includes ul,
.prerequisites ul {
  margin: 0.5rem 0;
  padding-left: 1.2rem;
}

.course-schedule li,
.course-program li,
.course-includes li,
.prerequisites li {
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.trust-elements {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.trust-icon {
  font-size: 1.1rem;
}

.course-urgency {
  background: rgba(255, 193, 7, 0.15);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid #ffc107;
  margin-bottom: 1rem;
}

.places-alert,
.expert-notice {
  font-weight: 600;
  color: #ffc107;
  margin-bottom: 0.5rem;
}

.course-price {
  background: rgba(40, 167, 69, 0.15);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid #28a745;
  text-align: center;
}

.course-price p {
  margin: 0;
  font-size: 1.2rem;
  color: #28a745;
}

.course-cta-text {
  text-align: center;
  font-size: 1.1rem;
  color: #6bc1ff;
  margin-top: 1rem;
}

.prerequisites {
  background: rgba(255, 107, 107, 0.1);
  padding: 0.8rem;
  border-radius: 8px;
  border-left: 3px solid #ff6b6b;
  margin-top: 0.8rem;
}

.date-options {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.date-option {
  padding: 0.5rem;
  background: rgba(0,0,0,0.3);
  border-radius: 6px;
}

.expert-notice-form {
  width: 100%;
  background: rgba(255, 193, 7, 0.15);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid #ffc107;
  margin-bottom: 1.5rem;
  text-align: center;
}

.expert-notice-form p {
  margin: 0;
  font-weight: 600;
  color: #ffc107;
}

/* === INSCRIPTION FORM === */
.inscription-form { 
  margin-top: 1.3rem; 
  background: rgba(255,255,255,0.03); 
  padding: 1.5rem; 
  border-radius: 18px; 
}

.inscription-form .form-group { 
  margin-bottom: 1.2rem; 
}

.inscription-form .form-label { 
  font-weight: 600; 
  color: var(--accent); 
  font-size: 1rem; 
  margin-bottom: 0.5rem; 
  display: block; 
}

.inscription-form .form-control {
  width: 100%; 
  padding: 0.9rem 1.2rem; 
  background: rgba(107,193,255,0.04);
  border: 1.5px solid rgba(107,193,255,0.14); 
  border-radius: 8px; 
  color: var(--silver); 
  font-size: 1rem;
  transition: all 0.3s;
}

.inscription-form .form-control:focus { 
  outline: none; 
  border-color: var(--accent); 
  background: rgba(107,193,255,0.10); 
}

.inscription-form .submit-btn {
  width: 100%; 
  padding: 1.1rem; 
  background: var(--accent); 
  border: none; 
  border-radius: 10px; 
  color: var(--dark); 
  font-weight: 700; 
  font-size: 1.1rem; 
  cursor: pointer; 
  transition: all 0.3s;
}

.inscription-form .submit-btn:hover { 
  filter: brightness(1.05); 
  box-shadow: 0 8px 20px rgba(107, 193, 255, 0.4); 
  transform: translateY(-2px);
}

.inscription-form .form-feedback { 
  margin-top: 0.8rem; 
  font-weight: 600; 
  font-size: 1rem; 
  text-align: center; 
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  margin: 0;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.checkbox-group label {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.form-footer {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #aaa;
}

.form-footer p {
  margin: 0.3rem 0;
}

/* === TEACHERS SECTION === */
.teachers { 
  background: var(--primary); 
}

.teachers-grid { 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem; 
  margin-top: 2.5rem; 
  justify-items: center;
}

.teacher-card {
  background: rgba(107, 193, 255, 0.03); 
  border-radius: 20px; 
  padding: 2rem 1.5rem; 
  width: 100%;
  max-width: 320px; 
  box-shadow: 0 10px 32px rgba(20,21,24,0.10);
  border: 1px solid rgba(107,193,255,0.09); 
  text-align: center;
  transition: all 0.3s;
}

.teacher-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.teacher-avatar { 
  width: 80px; 
  height: 80px; 
  border-radius: 50%; 
  margin: 0 auto 1rem auto; 
  object-fit: cover; 
  box-shadow: 0 4px 12px rgba(107, 193, 255, 0.3); 
  border: 2px solid var(--accent);
  display: block;
}

.teacher-card h3 { 
  color: var(--accent); 
  font-size: clamp(1rem, 3vw, 1.2rem); 
  margin-bottom: 0.2rem; 
}

.teacher-card span { 
  color: #b3c0c7; 
  font-size: clamp(0.9rem, 2.5vw, 1rem); 
}

.teacher-card p { 
  color: #dbeafe; 
  font-size: clamp(0.9rem, 2.5vw, 1.03rem); 
  margin-top: 0.7rem; 
}

/* === TESTIMONIALS SECTION === */
.testimonials { 
  background: var(--secondary); 
}

.testimonials-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
  gap: 2rem; 
  margin-top: 2.5rem; 
}

.testimonial-card {
  background: rgba(107, 193, 255, 0.03); 
  border-radius: 22px; 
  padding: 2rem;
  border: 1px solid rgba(107,193,255,0.10); 
  text-align: left; 
  box-shadow: 0 10px 32px rgba(20,21,24,0.08);
  width: 100%;
  transition: all 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.testimonial-text { 
  font-size: clamp(1rem, 3vw, 1.1rem); 
  color: #eaeaea; 
  margin-bottom: 1.2rem; 
}

.testimonial-author { 
  font-weight: 600; 
  color: var(--accent); 
  font-size: clamp(0.95rem, 3vw, 1.04rem); 
}

/* === FAQ SECTION === */
.faq { 
  background: var(--primary); 
}

.faq-list { 
  max-width: 700px; 
  margin: 2rem auto 0 auto; 
}

.faq-item { 
  border-radius: 13px; 
  background: rgba(107,193,255,0.05); 
  margin-bottom: 1rem; 
  border: 1px solid rgba(107,193,255,0.09); 
  overflow: hidden; 
}

.faq-question {
  width: 100%; 
  background: none; 
  border: none; 
  color: var(--accent); 
  font-size: clamp(1rem, 3vw, 1.08rem); 
  font-weight: 600; 
  padding: 1.2rem 1.4rem; 
  text-align: left; 
  cursor: pointer; 
  transition: all 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after { 
  content: '+'; 
  font-size: 1.5rem; 
  transition: transform 0.3s; 
}

.faq-question[aria-expanded="true"]::after { 
  transform: rotate(45deg); 
}

.faq-question:hover { 
  background: rgba(107,193,255,0.10); 
}

.faq-question[aria-expanded="true"] { 
  background: rgba(107,193,255,0.13); 
}

.faq-answer { 
  display: none; 
  padding: 0 1.4rem 1.2rem 1.4rem; 
  font-size: clamp(0.9rem, 2.5vw, 1.01rem); 
  color: #eaeaea; 
  background: rgba(107,193,255,0.06); 
}

.faq-question[aria-expanded="true"] + .faq-answer { 
  display: block; 
  animation: slideDown 0.3s; 
}

@keyframes slideDown { 
  from { opacity: 0; max-height: 0; } 
  to { opacity: 1; max-height: 200px; } 
}

/* === CONTACT SECTION === */
.contact { 
  background: var(--secondary); 
}

.contact-content { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 3rem; 
  margin-top: 2.2rem; 
  max-width: 1100px; 
  margin-left: auto; 
  margin-right: auto; 
}

.contact-form {
  background: rgba(255,255,255,0.04); 
  border: 1px solid rgba(107,193,255,0.10); 
  border-radius: 20px; 
  padding: 2.2rem; 
  animation: slideInLeft 0.8s;
}

.form-group { 
  margin-bottom: 1.2rem; 
}

.form-label { 
  display: block; 
  margin-bottom: 0.4rem; 
  font-weight: 600; 
  color: var(--accent); 
  font-size: 1rem; 
}

.form-control {
  width: 100%; 
  padding: 0.95rem 1.2rem; 
  background: rgba(107,193,255,0.04);
  border: 1.5px solid rgba(107,193,255,0.14); 
  border-radius: 8px; 
  color: var(--silver); 
  font-size: 1rem;
  transition: all 0.3s;
}

.form-control:focus { 
  outline: none; 
  border-color: var(--accent); 
  background: rgba(107,193,255,0.10); 
}

.submit-btn {
  width: 100%; 
  padding: 1.13rem; 
  background: var(--accent); 
  border: none; 
  border-radius: 10px; 
  color: var(--dark); 
  font-weight: 700; 
  font-size: 1.08rem; 
  cursor: pointer; 
  transition: all 0.3s;
}

.submit-btn:hover { 
  filter: brightness(1.05); 
  box-shadow: 0 8px 20px rgba(107, 193, 255, 0.4); 
  transform: translateY(-2px);
}

.form-feedback { 
  margin-top: 1rem; 
  color: #ff5577; 
  font-weight: 600; 
  font-size: 1rem; 
  text-align: center; 
}

.contact-info {
  background: rgba(255,255,255,0.01); 
  border: 1px solid rgba(107,193,255,0.08);
  border-radius: 20px; 
  padding: 2.2rem; 
  text-align: center; 
  animation: slideInRight 0.8s;
}

.contact-info h3 { 
  font-size: clamp(1.5rem, 5vw, 2rem); 
  margin-bottom: 1.3rem; 
  color: var(--accent); 
}

.contact-item { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 1rem; 
  margin-bottom: 1.1rem; 
  color: #b3c0c7; 
  font-size: clamp(0.95rem, 3vw, 1.05rem); 
}

.contact-item i { 
  font-size: 1.2rem; 
  color: var(--accent); 
}

.whatsapp-btn {
  display: inline-flex; 
  align-items: center; 
  gap: 0.5rem; 
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); 
  color: white;
  text-decoration: none; 
  border-radius: 50px; 
  font-weight: 600; 
  margin-top: 2rem; 
  transition: all 0.3s;
}

.whatsapp-btn:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3); 
}

/* === FLOATING ELEMENTS === */
.whatsapp-floating {
  position: fixed; 
  right: 1.5rem; 
  bottom: 1.5rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff; 
  font-weight: 600; 
  font-size: clamp(0.9rem, 3vw, 1.2rem); 
  border-radius: 50px;
  padding: 1rem 1.5rem; 
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3); 
  z-index: 1100;
  display: flex; 
  align-items: center; 
  gap: 0.7rem; 
  text-decoration: none; 
  animation: bounce 2s infinite;
  transition: all 0.3s;
}

.whatsapp-floating:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.progress-bar {
  position: fixed; 
  bottom: 2rem; 
  left: 50%; 
  transform: translateX(-50%);
  display: flex; 
  gap: 0.5rem; 
  z-index: 1000;
  background: rgba(20,21,24,0.97);
  padding: 1rem 1.5rem; 
  border-radius: 50px;
  border: 1px solid rgba(107,193,255,0.13);
}

.progress-dot {
  width: 12px; 
  height: 12px; 
  border-radius: 50%; 
  background: rgba(107, 193, 255, 0.2);
  cursor: pointer; 
  transition: all 0.3s ease;
}

.progress-dot.active {
  background: var(--accent); 
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(107, 193, 255, 0.3);
}

.progress-dot:hover { 
  transform: scale(1.15); 
}

/* === NAVIGATION ARROWS === */
.nav-arrow {
  position: fixed; 
  top: 50%; 
  transform: translateY(-50%);
  background: rgba(107,193,255,0.07); 
  border: 1.5px solid var(--accent); 
  border-radius: 50%;
  width: 56px; 
  height: 56px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  cursor: pointer;
  transition: all 0.3s ease; 
  z-index: 1000; 
  font-size: 1.5rem; 
  color: var(--accent);
}

.nav-arrow:hover { 
  background: var(--accent); 
  color: var(--dark); 
  transform: translateY(-50%) scale(1.09); 
}

.nav-arrow.prev { 
  left: 2rem; 
}

.nav-arrow.next { 
  right: 2rem; 
}

.nav-arrow.disabled { 
  opacity: 0.3; 
  cursor: not-allowed; 
}

.floating-element {
  position: absolute; 
  pointer-events: none; 
  opacity: 0.11; 
  font-size: 8rem; 
  color: var(--accent); 
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) { 
  top: 10%; 
  left: 10%; 
  animation-delay: 0s; 
}

.floating-element:nth-child(2) { 
  top: 20%; 
  right: 15%; 
  animation-delay: 2s; 
}

.floating-element:nth-child(3) { 
  bottom: 15%; 
  left: 20%; 
  animation-delay: 4s; 
}

@keyframes float { 
  0%, 100% { transform: translateY(0px) rotate(0deg); } 
  50% { transform: translateY(-20px) rotate(5deg); } 
}

/* === FOOTER === */
.footer {
  background: #171a1d;
  color: #fff;
  padding: 2rem 1rem 1.2rem 1rem;
  font-family: 'Montserrat', 'Inter', Arial, sans-serif;
  font-size: 15px;
  text-align: center;
  border-top: 3px solid #6bc1ff;
}

.footer-content {
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.footer-logo {
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo i {
  color: #6bc1ff;
  font-size: 1.5rem;
}

.footer-links {
  margin-bottom: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-links a {
  color: #6bc1ff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contact {
  margin-bottom: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: clamp(0.9rem, 3vw, 1rem);
}

.footer-contact i {
  color: #6bc1ff;
  margin-right: 6px;
}

.footer-copy {
  font-size: clamp(0.8rem, 2.5vw, 0.92rem);
  color: #aaa;
  margin-top: 0.5rem;
}

/* === GOOGLE TRANSLATE WIDGET === */
#google_translate_element {
  position: fixed;
  bottom: 100px;
  left: 1.5rem;
  z-index: 10000;
}

.gt-flags-dropdown {
  position: fixed;
  bottom: 30px;
  left: 1.5rem;
  z-index: 9999;
  font-family: inherit;
}

.gt-flags-btn {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: clamp(0.9rem, 3vw, 1rem);
  box-shadow: 0 3px 12px rgba(0,0,0,0.13);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gt-flags-list {
  display: none;
  flex-direction: column;
  position: absolute;
  left: 0;
  bottom: 45px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
  padding: 6px 0;
  min-width: 130px;
  transition: all 0.2s;
}

.gt-flags-dropdown.open .gt-flags-list {
  display: flex;
}

.gt-flags-list button {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: clamp(0.9rem, 3vw, 1rem);
  color: #222;
  padding: 7px 18px;
  cursor: pointer;
  transition: background 0.15s;
}

.gt-flags-list button:hover {
  background: #e8f3ff;
  color: #2086d7;
}

.gt-flags-list img {
  height: 22px;
  width: auto;
}

iframe#\:1\.container {
  display: none;
}

option {
  color: black;
}

/* === ANIMATIONS === */
@keyframes slideInUp { 
  from { opacity: 0; transform: translateY(50px); } 
  to { opacity: 1; transform: translateY(0); } 
}

@keyframes slideInLeft { 
  from { opacity: 0; transform: translateX(-50px); } 
  to { opacity: 1; transform: translateX(0); } 
}

@keyframes slideInRight { 
  from { opacity: 0; transform: translateX(50px); } 
  to { opacity: 1; transform: translateX(0); } 
}

/* === RESPONSIVE BREAKPOINTS === */

/* Large Desktop */
@media (min-width: 1400px) {
  .section {
    padding: 0 4rem;
  }
  
  .navbar {
    padding: 1rem 2rem;
  }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
  .section {
    padding: 0 1.5rem;
  }
  
  .contact-content {
    gap: 2rem;
  }
  
  .courses-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  /* === MOBILE MENU === */
  .menu-toggle { 
    display: block; 
  }
  
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 2rem;
    position: fixed;
    top: 0;
    right: -100vw;
    height: 100vh;
    width: 80vw;
    max-width: 300px;
    background: rgba(20, 21, 24, 0.98);
    backdrop-filter: blur(13px);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(.8,.2,.2,1);
    box-shadow: -6px 0 32px 6px rgba(0,0,0,0.25);
    padding: 6rem 2rem 2rem 2rem;
  }
  
  .nav-links.open {
    right: 0;
    animation: slideInMenu 0.5s cubic-bezier(.8,.2,.2,1);
  }
  
  @keyframes slideInMenu {
    from { right: -100vw; opacity: 0.6; }
    to   { right: 0; opacity: 1; }
  }
  
  .nav-links li {
    list-style: none;
    width: 100%;
    text-align: right;
  }
  
  .nav-links a {
    color: var(--accent);
    font-size: 1.2rem;
    text-decoration: none;
    padding: 0.8rem 0;
    display: inline-block;
    width: 100%;
    border-radius: 10px;
    transition: background 0.25s;
  }
  
  .nav-links a:hover, 
  .nav-links a.active {
    background: rgba(107,193,255,0.1);
    color: #fff;
  }

  /* === MOBILE LAYOUT === */
  body { 
    overflow-y: auto; 
    height: auto; 
  }
  
  .main-container { 
    flex-direction: column; 
    width: 100vw; 
    height: auto; 
    transform: none !important; 
  }
  
  .section { 
    width: 100vw; 
    height: auto; 
    min-height: 100vh; 
    padding: 2rem 1rem; 
  }
  
  /* Hide desktop navigation elements */
  .progress-bar, 
  .nav-arrow { 
    display: none; 
  }

  /* === HERO MOBILE === */
  .hero {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.2;
  }
  
  .hero p {
    font-size: clamp(1rem, 4vw, 1.2rem);
    margin-bottom: 2rem;
  }
  
  .cta-button {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    gap: 0.5rem;
  }

  /* === GRIDS MOBILE === */
  .courses-grid, 
  .teachers-grid, 
  .testimonials-grid {
    grid-template-columns: 1fr; 
    gap: 1.5rem; 
  }
  
  /* === ADVANTAGES MOBILE SCROLL === */
  .advantages-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) rgba(107, 193, 255, 0.1);
  }
  
  .advantages-grid::-webkit-scrollbar {
    height: 6px;
  }
  
  .advantages-grid::-webkit-scrollbar-track {
    background: rgba(107, 193, 255, 0.1);
    border-radius: 3px;
  }
  
  .advantages-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
  }
  
  .advantage-card {
    min-width: 280px;
    max-width: 300px;
    flex: 0 0 280px;
    scroll-snap-align: start;
    margin: 0 0.5rem;
  }

  /* === CONTACT MOBILE === */
  .contact-content { 
    grid-template-columns: 1fr; 
    gap: 2rem; 
  }

  /* === CARDS MOBILE === */
  .teacher-card, 
  .course-card, 
  .testimonial-card, 
  .contact-form, 
  .contact-info {
    width: 100%;
    max-width: none;
    padding: 1.5rem;
  }
  
  .course-card {
    margin-bottom: 1rem;
  }

  /* === FLOATING ELEMENTS MOBILE === */
  .whatsapp-floating { 
    right: 1rem; 
    bottom: 1rem; 
    padding: 0.8rem 1rem; 
    font-size: 1rem;
  }
  
  .wsp-text { 
    display: none; 
  }
  
  #google_translate_element,
  .gt-flags-dropdown {
    left: 1rem;
  }
  
  .gt-flags-dropdown {
    bottom: 80px;
  }

  /* === FAQ MOBILE === */
  .faq-question {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .faq-answer {
    padding: 0 1rem 1rem 1rem;
  }

  /* === FORMS MOBILE === */
  .inscription-form,
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 0.8rem 1rem;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .submit-btn {
    padding: 1rem;
    font-size: 1rem;
  }

  /* === FLOATING ELEMENTS HIDE ON MOBILE === */
  .floating-element {
    display: none;
  }
}

/* Large Mobile */
@media (max-width: 480px) {
  .section { 
    padding: 1.5rem 0.75rem; 
  }
  
  .navbar {
    padding: 0.8rem 1rem;
  }
  
  .hero h1 { 
    font-size: clamp(1.8rem, 10vw, 2.5rem); 
  }
  
  .section-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  
  .cta-button { 
    padding: 0.9rem 1.2rem; 
    font-size: 0.95rem; 
  }
  
  .teacher-card, 
  .course-card, 
  .testimonial-card, 
  .advantage-card, 
  .contact-form, 
  .contact-info { 
    padding: 1.2rem; 
  }
  
  .advantage-card {
    min-width: 260px;
    flex: 0 0 260px;
  }
  
  .whatsapp-floating {
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
  }
  
  .footer {
    padding: 1.5rem 0.75rem 1rem 0.75rem;
  }
  
  .footer-contact {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }
  
  .nav-links {
    width: 85vw;
  }
  
  .nav-links a {
    font-size: 1.1rem;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .section {
    padding: 1rem 0.5rem;
  }
  
  .hero {
    padding-top: 90px;
  }
  
  .advantage-card {
    min-width: 240px;
    flex: 0 0 240px;
    padding: 1rem;
  }
  
  .teacher-card,
  .course-card,
  .testimonial-card {
    padding: 1rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 1rem;
  }
  
  .whatsapp-floating {
    right: 0.5rem;
    bottom: 0.5rem;
    padding: 0.6rem 0.8rem;
  }
  
  .nav-links {
    width: 90vw;
    padding: 5rem 1.5rem 2rem 1.5rem;
  }
}

/* === ACCESSIBILITY & PERFORMANCE === */

/* Focus States */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-links a:focus {
  background: rgba(107, 193, 255, 0.2);
  border-radius: 6px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .floating-element {
    animation: none;
  }
  
  .main-container {
    transition: none;
  }
  
  .whatsapp-floating {
    animation: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary: #000000;
    --secondary: #000000;
    --accent: #ffffff;
    --silver: #ffffff;
    --dark: #000000;
  }
  
  .course-card,
  .teacher-card,
  .testimonial-card,
  .advantage-card {
    border: 2px solid #ffffff;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .whatsapp-floating,
  .progress-bar,
  .nav-arrow,
  .floating-element,
  .loader,
  .menu-toggle,
  .mobile-menu-blur {
    display: none !important;
  }
  
  .section {
    page-break-inside: avoid;
    width: 100% !important;
    height: auto !important;
    padding: 1rem !important;
  }
  
  .main-container {
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    display: block !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .course-card,
  .teacher-card,
  .testimonial-card,
  .advantage-card {
    border: 1px solid #ccc !important;
    margin-bottom: 2rem;
    break-inside: avoid;
  }
}

/* Performance Optimizations */
@media (max-width: 768px) {
  /* Reduce blur effects on mobile for performance */
  .navbar {
    backdrop-filter: none;
    background: rgba(20, 21, 24, 0.98);
  }
  
  .mobile-menu-blur {
    backdrop-filter: none;
    background: rgba(0,0,0,0.6);
  }
}

/* Loading States */
.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: var(--accent);
  font-size: 1.1rem;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(107,193,255,0.3);
  border-top: 2px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 0.5rem;
}

/* Error and Success States */
.error-state {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 8px;
  padding: 1rem;
  color: #ff6b6b;
  text-align: center;
  margin: 2rem 0;
}

.success-state {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  border-radius: 8px;
  padding: 1rem;
  color: #28a745;
  text-align: center;
  margin: 2rem 0;
}