@font-face {
  font-family: 'Everett'; src: url('fonts/TWKEverett-Light.otf') format('opentype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Everett'; src: url('fonts/TWKEverett-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Everett'; src: url('fonts/TWKEverett-Medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Everett'; src: url('fonts/TWKEverett-Bold.otf') format('opentype');
  font-weight: 600 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Everett'; src: url('fonts/TWKEverett-Extrabold.otf') format('opentype');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Everett'; src: url('fonts/TWKEverett-Black.otf') format('opentype');
  font-weight: 900; font-style: normal; font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #0b1519;
  --white: #FFFFFF;
  --off-white: #e4f3fa;
  --mid-gray: #5a8ea3;
  --teal-700: #3b5d6f;
  --teal-500: #5a8ea3;
  --teal-300: #86bdd4;
  --teal-100: #e4f3fa;
}
html, body { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background-color: #080d10;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 30% 0%, #1a3040 0%, #0d1c26 55%, #060d12 100%);
  background-blend-mode: soft-light, normal;
  background-size: 200px 200px, cover;
  color: var(--white);
  font-family: 'Everett', sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
@media (max-width: 639px) {
  body {
    background-color: #04090c;
    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.2'/%3E%3C/svg%3E"),
      radial-gradient(ellipse 160% 100% at 0% 0%, #1e4060 0%, #0e2232 45%, #04090c 100%);
    background-blend-mode: soft-light, normal;
    background-size: 200px 200px, cover;
  }
}

/* ─── HEADER ─── */
header {
  padding: 0 28px;
  height: 60px;
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(59, 93, 111, 0.3);
  position: relative; z-index: 10;
}
.logo { height: 18px; width: auto; display: block; }
.logo-link { flex: 1; display: flex; align-items: center; }

/* ─── SECTIONS NAV ─── */
.sections-nav {
  position: absolute; left: 50%; top: 0; height: 100%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 0;
}
.sections-nav::-webkit-scrollbar { display: none; }
.sections-nav-link {
  font-family: 'Everett', sans-serif;
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  padding: 6px 16px;
  position: relative; white-space: nowrap;
  transition: color 0.2s;
}
.sections-nav-link::after {
  content: ''; position: absolute; bottom: -1px; left: 16px; right: 16px;
  height: 1.5px; background: var(--white); transform: scaleX(0); transition: transform 0.2s;
}
.sections-nav-link.active { color: var(--white); }
.sections-nav-link.active::after { transform: scaleX(1); }
.sections-nav-link:hover:not(.active) { color: rgba(255,255,255,0.65); }
.badge-soon {
  font-size: 9px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal-500); margin-left: 6px;
}

/* ─── HEADER RIGHT ─── */
.header-right {
  flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 14px;
}
.lang-toggle { display: flex; align-items: center; }
.lang-toggle-sep {
  color: rgba(255,255,255,0.18); font-family: 'Everett', sans-serif;
  font-size: 13px; font-weight: 500; margin: 0 3px;
  pointer-events: none; user-select: none;
}
.lang-toggle button {
  background: none; border: none; color: rgba(255,255,255,0.35);
  font-family: 'Everett', sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 6px 2px;
  cursor: pointer; transition: color 0.2s; position: relative;
}
.lang-toggle button::after {
  content: ''; position: absolute; bottom: 2px; left: 0; right: 0;
  height: 1.5px; background: currentColor; transform: scaleX(0); transition: transform 0.2s;
}
.lang-toggle button.active { color: var(--white); }
.lang-toggle button.active::after { transform: scaleX(1); }
.lang-toggle button:hover:not(.active) { color: rgba(255,255,255,0.6); }
.contact-btn {
  font-family: 'Everett', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 0.05em;
  color: var(--black); background: var(--white);
  text-decoration: none; padding: 7px 16px;
  border-radius: 980px; white-space: nowrap;
  transition: background 0.2s;
}
.contact-btn:hover { background: rgba(228,243,250,0.9); }

/* ─── CLASS HERO ─── */
.class-hero {
  padding: 48px 28px 56px;
  border-bottom: 1px solid rgba(59, 93, 111, 0.3);
}
.class-number {
  font-family: 'Everett', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.25); margin-bottom: 16px;
}
.class-name {
  font-family: 'Everett', sans-serif;
  font-size: clamp(56px, 14vw, 110px); font-weight: 900;
  line-height: 0.92; letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.class-tagline {
  font-size: 13px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}

/* ─── CONTENT SECTION ─── */
.class-content {
  background: var(--teal-100); color: var(--black);
  padding: 48px 28px 80px;
}
.content-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  max-width: 1000px;
}

.col-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--teal-500); margin-bottom: 16px;
}
.class-desc {
  font-size: 14px; line-height: 1.8; color: #444;
}

/* ─── SCHEDULE ─── */
.schedule-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.schedule-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--black);
}
.schedule-item::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--black); flex-shrink: 0;
}

/* ─── RATES ─── */
.tarifa-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }
.tarifa-item {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: 13px; color: var(--black);
}
.tarifa-item .tarifa-price { font-weight: 700; color: var(--teal-700); white-space: nowrap; }

.schedule-time-full { text-decoration: line-through; opacity: 0.5; }
.schedule-badge-full { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--white); background: #c0392b; padding: 2px 5px; border-radius: 3px; vertical-align: middle; margin-left: 2px; }

/* ─── FORM ─── */
.form-success {
  display: none; text-align: center; padding: 16px 0 0;
}
.form-success img { width: 44px; height: 44px; margin: 0 auto 14px; display: block; }
.success-title {
  font-family: 'Everett', sans-serif;
  font-size: 44px; font-weight: 900;
  line-height: 0.95; letter-spacing: -0.03em; margin-bottom: 10px;
}
.success-sub { font-size: 13px; color: #666; line-height: 1.6; }

.form-group { margin-bottom: 12px; }
label {
  display: block; font-size: 12px; font-weight: 500;
  color: var(--teal-700); margin-bottom: 6px;
}
input[type="text"], input[type="email"], input[type="tel"], select {
  width: 100%; background: rgba(228,243,250,0.6); border: 1.5px solid rgba(59,93,111,0.3);
  border-radius: 12px; padding: 14px 16px;
  font-family: 'Everett', sans-serif; font-size: 15px; color: var(--black);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, select:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(90,142,163,0.2);
  background: rgba(228,243,250,0.9);
}
input::placeholder { color: rgba(59,93,111,0.5); }
.select-wrapper { position: relative; }
.select-wrapper::after {
  content: ''; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0; border-left: 5px solid transparent;
  border-right: 5px solid transparent; border-top: 6px solid var(--teal-700); pointer-events: none;
}
select option { color: var(--black); }
select optgroup { color: var(--teal-700); font-weight: 600; font-style: normal; }
select optgroup option { font-weight: 400; color: var(--black); padding-left: 8px; }
.consent-group { margin-top: 16px; }
.consent-label {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; font-size: 12px; color: var(--teal-700); line-height: 1.55;
}
.consent-checkbox {
  width: 18px; height: 18px; min-width: 18px; margin-top: 1px;
  accent-color: var(--teal-500); cursor: pointer;
}
.consent-label a { color: var(--black); text-decoration: underline; }
.submit-btn {
  width: 100%; background: var(--teal-700); color: var(--white);
  border: none; padding: 18px;
  font-family: 'Everett', sans-serif; font-size: 18px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em; cursor: pointer;
  margin-top: 20px; border-radius: 980px; transition: background 0.2s, transform 0.15s;
}
.submit-btn:hover { background: var(--teal-500); transform: scale(1.02); }

/* ─── FOOTER ─── */
footer {
  background: var(--black); padding: 28px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(59, 93, 111, 0.25);
}
.footer-logo { height: 14px; display: block; }
.footer-ig { color: var(--white); transition: color 0.2s; }
.footer-ig:hover { color: rgba(255,255,255,0.7); }

/* ─── HAMBURGER ─── */
.menu-btn {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px; width: 36px; align-self: center;
}
.menu-btn span {
  display: block; width: 22px; height: 1.5px;
  background: rgba(255,255,255,0.8);
  transition: all 0.25s ease; transform-origin: center;
}
.menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── FULL-SCREEN OVERLAY ─── */
.menu-overlay {
  position: fixed; inset: 0; z-index: 200;
  background-color: #080d10;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.3'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 30% 0%, #1a3040 0%, #0d1c26 55%, #060d12 100%);
  background-blend-mode: soft-light, normal;
  background-size: 200px 200px, cover;
  display: flex; flex-direction: column;
  padding: 0 28px 40px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease;
}
.menu-overlay.open { opacity: 1; pointer-events: all; }
.menu-overlay-top {
  height: 60px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(59,93,111,0.25); margin: 0 -28px; padding: 0 28px;
}
.menu-close {
  background: none; border: none; color: rgba(255,255,255,0.5);
  cursor: pointer; padding: 6px; display: flex; align-items: center; transition: color 0.2s;
}
.menu-close:hover { color: var(--white); }
.menu-nav {
  flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2px;
}
.menu-nav-link {
  font-family: 'Everett', sans-serif;
  font-size: clamp(26px, 9vw, 72px); font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.04em; line-height: 1.05;
  color: rgba(255,255,255,0.18); text-decoration: none; transition: color 0.2s;
}
.menu-nav-link.active,
.menu-nav-link:hover { color: var(--white); }
.menu-bottom {
  flex-shrink: 0; padding-top: 24px;
  border-top: 1px solid rgba(59,93,111,0.25);
  display: flex; align-items: center; justify-content: space-between;
}
#overlay-btn-eu, #overlay-btn-es {
  background: none; border: none; color: rgba(255,255,255,0.35);
  font-family: 'Everett', sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 6px 2px; cursor: pointer;
  transition: color 0.2s; position: relative;
}
#overlay-btn-eu::after, #overlay-btn-es::after {
  content: ''; position: absolute; bottom: 2px; left: 0; right: 0;
  height: 1.5px; background: currentColor; transform: scaleX(0); transition: transform 0.2s;
}
#overlay-btn-eu.active, #overlay-btn-es.active { color: var(--white); }
#overlay-btn-eu.active::after, #overlay-btn-es.active::after { transform: scaleX(1); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1023px) {
  .sections-nav { display: none !important; }
  .header-right { display: none !important; }
  .menu-btn { display: flex !important; }
}
.name-short { display: none; }
@media (max-width: 420px) {
  .name-full { display: none; }
  .name-short { display: block; }
  .class-hero { padding: 36px 20px 44px; }
}

@media (min-width: 640px) {
  header { padding: 0 48px; }
  .class-hero { padding: 56px 48px 64px; }
  .class-content { padding: 56px 48px 96px; }
  footer { padding: 32px 48px; }
  .menu-overlay { padding: 0 48px 48px; }
  .menu-overlay-top { margin: 0 -48px; padding: 0 48px; }
}
@media (min-width: 768px) {
  .content-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; }
}
@media (min-width: 1024px) {
  .menu-overlay { display: none !important; }
}
