:root {
  --navy: #0a1a2e;
  --blue: #2b6ff3;
  --gold: #d1a74c;
  --light: #f2f5fb;
  --text: #0f172a;
  --muted: #5b687a;
  --card-bg: rgba(255, 255, 255, 0.15);
  --border: rgba(255, 255, 255, 0.3);
  --shadow-lg: 0 30px 70px rgba(10, 20, 45, 0.18);
  --shadow-md: 0 18px 40px rgba(10, 20, 45, 0.12);
  --radius-xl: 24px;
}

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

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #edf2fb 100%);
  line-height: 1.6;
}

.section,
.hero {
  width: 100%;
}

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

img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

.hero {
  background: linear-gradient(120deg, rgba(10, 26, 46, 0.88) 0%, rgba(14, 38, 70, 0.88) 50%, rgba(43, 111, 243, 0.85) 100%),
    url("../images/imagen1.jpeg") center/cover no-repeat;
  color: white;
  padding: 40px 8%;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 18%, rgba(209, 167, 76, 0.28), transparent 55%);
  pointer-events: none;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 999px;
  transition: 0.3s ease;
}

.logo {
  display: flex;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.logo span {
  font-size: 28px;
  letter-spacing: 2px;
}

.logo small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
  font-weight: 500;
}

.nav-links a {
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: 0.3s ease;
}

.nav-links a:hover {
  border-color: var(--gold);
}

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  margin: 20px 0;
  letter-spacing: -0.5px;
}

.pill {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 24px 0 32px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  gap: 8px;
  position: relative;
}

.btn:disabled,
.btn.loading {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  box-shadow: none;
}

.btn.loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  display: inline-block;
  animation: spin 0.8s linear infinite;
}

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

.btn.primary {
  background: linear-gradient(135deg, #e2b45a, #c69a3f);
  color: #1b1f24;
}

.btn.wave-cta {
  position: relative;
}

.btn.wave-cta::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 16px;
  border: 2px solid rgba(226, 180, 90, 0.45);
  box-shadow: 0 0 0 rgba(226, 180, 90, 0);
  animation: wavePulse 2.6s ease-in-out infinite;
  pointer-events: none;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(209, 167, 76, 0.35);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn.accent {
  background: linear-gradient(135deg, #2b6ff3, #1c4bb8);
  color: white;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.hero-stats h3 {
  font-size: 20px;
  font-family: "Poppins", sans-serif;
}

.hero-card {
  background: rgba(10, 26, 46, 0.92);
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 22px 50px rgba(7, 18, 34, 0.4);
  transition: 0.35s ease;
  transform-style: preserve-3d;
}

.hero-card-image {
  margin-bottom: 16px;
  border-radius: 18px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 18px 36px rgba(7, 18, 34, 0.35);
}

.hero-card:hover .hero-card-image {
  transform: scale(1.04);
  box-shadow: 0 24px 50px rgba(7, 18, 34, 0.45);
}

.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(7, 18, 34, 0.5);
}

@media (hover: none) {
  .hero-card:hover .hero-card-image,
  .hero-card:hover {
    transform: none;
  }
}

.hero-card ul {
  list-style: none;
  margin: 16px 0 24px;
}

.hero-card li {
  margin-bottom: 8px;
}

.section {
  padding: 80px 8%;
}

.section.about {
  position: relative;
  background:
    radial-gradient(circle at 15% 10%, rgba(43, 111, 243, 0.08), transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(201, 162, 39, 0.08), transparent 45%),
    #f8f9fc;
}

.section.about::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(10, 26, 46, 0.04),
    rgba(10, 26, 46, 0.04) 1px,
    transparent 1px,
    transparent 12px
  );
  opacity: 0.25;
  pointer-events: none;
}

.section.about > * {
  position: relative;
  z-index: 1;
}

.section-title span {
  color: #2b6ff3;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(43, 111, 243, 0.12);
}

.section-title h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  margin-top: 12px;
  max-width: none;
}


.form-section .section-title h2,
#inscription-typing {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 700;
  color: #000;
  text-shadow: none;
}

#inscription-typing {
  text-transform: none;
  letter-spacing: normal;
  font-variant: normal;
  background: transparent;
  box-shadow: none;
  filter: none;
}

.form-section .section-title h2 {
  width: 100%;
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid #d7dbe5;
  min-height: 84px;
  line-height: 1.3;
  background-color: #ffffff;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(25, 55, 90, 0.08) 0px,
    rgba(25, 55, 90, 0.08) 1px,
    transparent 1px,
    transparent 28px
  );
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.section-title h2.about-title {
  font-size: clamp(24px, 3vw, 32px) !important;
  font-weight: 600;
  color: #111;
  line-height: 1.3;
  text-shadow: none;
  letter-spacing: 0.1px;
  text-transform: none;
  background: none;
  background-image: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

#about-typing {
  font-size: clamp(24px, 3vw, 32px) !important;
  font-weight: 600;
  color: #111;
  text-shadow: none;
  letter-spacing: 0.1px;
  text-transform: none;
  background: transparent;
  background-image: none;
  box-shadow: none;
}

.typing-text {
  position: relative;
  display: inline;
}

.typing-text::after {
  content: "";
  display: inline-block;
  margin-left: 4px;
  vertical-align: baseline;
  width: 2px;
  height: 0.9em;
  background: currentColor;
  transform: translateY(0.2em);
  animation: typingCaret 0.9s steps(1) infinite;
}

.section.about .section-title h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.2px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 32px;
  align-items: start;
}

.about-grid > p {
  font-size: 16px;
  color: #233042;
  line-height: 1.75;
  background: linear-gradient(135deg, #ffffff, #f3f6fc);
  padding: 30px 32px;
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(12, 24, 44, 0.1);
  border: 1px solid rgba(28, 109, 208, 0.12);
  position: relative;
}

.about-grid > p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--gold));
}

.about-cards {
  display: grid;
  gap: 18px;
}

.card {
  background: white;
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  transition: 0.3s ease;
}

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

.glass {
  background: var(--card-bg);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.about .glass.card {
  background: linear-gradient(160deg, #ffffff, #f6f8fd);
  border: 1px solid rgba(28, 109, 208, 0.1);
  backdrop-filter: none;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.about .glass.card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.about .glass.card p {
  color: var(--muted);
}

.about-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #0a1a2e;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.95), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: 0 10px 20px rgba(201, 162, 39, 0.2);
  flex: 0 0 34px;
}

.about .glass.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(28, 109, 208, 0.08), rgba(201, 162, 39, 0.08));
  opacity: 0;
  transition: 0.3s ease;
}

.about .glass.card:hover::after {
  opacity: 1;
}

.hero-card.glass {
  background: rgba(10, 28, 54, 0.92);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: none;
}

.offer-grid,
.events-grid,
.benefits-grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.events .card,
.instructor-card {
  color: white;
  background: linear-gradient(140deg, rgba(11, 31, 58, 0.9), rgba(28, 109, 208, 0.8));
}

.carousel-section {
  background: white;
}

.carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  margin-top: 32px;
}

.carousel-track {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.carousel-item {
  display: none;
  position: relative;
}

.carousel-item.active {
  display: block;
  animation: fadeIn 0.6s ease;
}

.carousel-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(10, 26, 46, 0.8);
  color: white;
  padding: 14px 18px;
  border-radius: 12px;
}

.carousel-btn {
  background: linear-gradient(135deg, #2b6ff3, #1c4bb8);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 24px;
  transition: 0.3s ease;
}

.carousel-btn:hover {
  transform: translateY(-2px);
}

.benefits {
  background: linear-gradient(120deg, rgba(28, 109, 208, 0.06), rgba(201, 162, 39, 0.08));
}

.instructor-card {
  margin-top: 28px;
  padding: 32px;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
}

.form-section {
  background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
}

.inscription-hero {
  margin-top: 28px;
  background: white;
  border-radius: 22px;
  padding: 18px;
  border: 2px solid rgba(28, 109, 208, 0.2);
  box-shadow: 0 24px 50px rgba(12, 24, 44, 0.16);
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.inscription-hero::before,
.inscription-hero::after {
  content: "";
  position: absolute;
  border-radius: 24px;
  pointer-events: none;
  z-index: -1;
}

.inscription-hero::after {
  inset: 8px;
  border-radius: 18px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: 0 0 0 rgba(201, 162, 39, 0);
  animation: inscriptionGlow 3.2s ease-in-out infinite;
  z-index: 0;
}

.inscription-hero::before {
  inset: -18px;
  border: 2px solid rgba(43, 111, 243, 0.22);
  opacity: 0.75;
  animation: wavePulse 4.2s ease-in-out infinite;
}

.inscription-hero .wave-ring {
  position: absolute;
  inset: -34px;
  border-radius: 28px;
  border: 2px solid rgba(201, 162, 39, 0.18);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
  animation: wavePulse 4.2s ease-in-out infinite;
  animation-delay: 1.2s;
}

.inscription-hero img {
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(7, 18, 34, 0.2);
}

.inscription-hero .ribbon-badge {
  position: absolute;
  top: 12px;
  right: -30px;
  padding: 8px 56px;
  background: linear-gradient(135deg, #d81328, #a80f20);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(9, 18, 34, 0.25);
  transform: rotate(45deg);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  animation: ribbonPulse 1.6s ease-in-out infinite;
}

@media (max-width: 600px) {
  .inscription-hero .ribbon-badge {
    top: 10px;
    right: -36px;
    padding: 6px 46px;
    font-size: 12px;
  }
}

.inscription-hero figcaption {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #1b2a44;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.18), rgba(43, 111, 243, 0.12));
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(28, 109, 208, 0.2);
}

.form-layout {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.form-info {
  background: linear-gradient(135deg, #0a1a2e 0%, #234c9f 55%, #2b6ff3 100%);
  color: white;
  padding: 30px;
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(11, 31, 58, 0.32);
  position: relative;
  overflow: hidden;
}

.form-info h3 {
  font-family: "Poppins", sans-serif;
  margin-bottom: 12px;
}

.form-info ul {
  margin-top: 16px;
  list-style: none;
  display: grid;
  gap: 10px;
}

.form-info li::before {
  content: "•";
  margin-right: 10px;
  color: var(--gold);
}

.form-info::after {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.35), transparent 60%);
  opacity: 0.8;
}

.form-info::before {
  content: "";
  position: absolute;
  inset: auto auto -60% -10%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 60%);
}

.inscription-form {
  margin-top: 32px;
  display: grid;
  gap: 18px;
  background: white;
  padding: 28px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(28, 109, 208, 0.12);
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.inscription-form input,
.inscription-form select,
.inscription-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(28, 109, 208, 0.2);
  font-family: inherit;
  background: #f8fbff;
  transition: 0.2s ease;
}

.inscription-form input:focus,
.inscription-form select:focus,
.inscription-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(28, 109, 208, 0.2);
}

.form-note {
  color: var(--muted);
  font-size: 14px;
}

.inscription-form .btn.primary {
  width: 100%;
  border-radius: 14px;
  padding: 14px 24px;
  box-shadow: 0 14px 30px rgba(201, 162, 39, 0.35);
}

.contact {
  background: linear-gradient(135deg, #0a1a2e 0%, #1f4796 55%, #2b6ff3 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.contact::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.4), transparent 60%);
  opacity: 0.8;
}

.contact::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 60%);
}

.contact .section-title,
.contact-grid {
  position: relative;
  z-index: 1;
}

.contact-grid > div:first-child {
  background: rgba(10, 26, 46, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 20px 45px rgba(7, 18, 34, 0.25);
}

.contact-grid h3 {
  font-family: "Poppins", sans-serif;
  margin-bottom: 12px;
}

.contact-cards {
  display: grid;
  gap: 16px;
}

.contact-cards .card {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 30px rgba(7, 18, 34, 0.2);
  position: relative;
  overflow: hidden;
}

.contact-cards .card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(201, 162, 39, 0.18), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: 0.3s ease;
}

.contact-cards .card:hover::after {
  opacity: 1;
}


.footer {
  text-align: center;
  padding: 28px 8%;
  background: #0a1a2e;
  color: rgba(255, 255, 255, 0.75);
}

.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 81px;
  height: 81px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1da851);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 36px rgba(10, 20, 45, 0.35);
  z-index: 20000;
  animation: whatsappFloat 1.9s ease-in-out infinite, labelPulse 1.3s ease-out infinite;
  animation-delay: 0s, 0s;
}

.whatsapp-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.whatsapp-label {
  position: fixed;
  right: 22px;
  bottom: 112px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.95), rgba(29, 168, 81, 0.95));
  color: white;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 16px 32px rgba(10, 20, 45, 0.35);
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  animation: labelFloat 1.9s ease-in-out infinite, labelPulse 1.3s ease-out infinite;
  animation-delay: 0s, 0.65s;
  z-index: 20001;
  overflow: hidden;
}

.whatsapp-label::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: inherit;
  transform: rotate(45deg);
  border-radius: 2px;
}

.whatsapp-label::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-120%);
}

@keyframes labelGlow {
  0%,
  100% {
    box-shadow: 0 16px 32px rgba(10, 20, 45, 0.35);
  }
  50% {
    box-shadow: 0 22px 44px rgba(37, 211, 102, 0.55);
  }
}

@keyframes labelFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes labelPulse {
  0% {
    box-shadow: 0 16px 32px rgba(10, 20, 45, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  70% {
    box-shadow: 0 16px 32px rgba(10, 20, 45, 0.35), 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 16px 32px rgba(10, 20, 45, 0.35), 0 0 0 18px rgba(37, 211, 102, 0);
  }
}

@keyframes labelSheen {
  0% {
    transform: translateX(-120%);
  }
  50%,
  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 600px) {
  .whatsapp-label {
    right: 16px;
    bottom: 106px;
    font-size: 13px;
  }
}

.whatsapp-fab::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: none;
}

@keyframes whatsappFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes whatsappPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes inscriptionGlow {
  0%,
  100% {
    border-color: rgba(201, 162, 39, 0.28);
    box-shadow: 0 0 0 rgba(201, 162, 39, 0);
  }
  50% {
    border-color: rgba(201, 162, 39, 0.55);
    box-shadow: 0 0 18px rgba(201, 162, 39, 0.28);
  }
}

@keyframes typingCaret {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@keyframes wavePulse {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

@keyframes ribbonPulse {
  0%,
  100% {
    transform: rotate(45deg) scale(1);
    box-shadow: 0 12px 24px rgba(9, 18, 34, 0.25);
  }
  50% {
    transform: rotate(45deg) scale(1.06);
    box-shadow: 0 18px 36px rgba(9, 18, 34, 0.3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .inscription-hero::before,
  .inscription-hero::after,
  .inscription-hero .wave-ring {
    animation: none;
  }

  .typing-text::after {
    animation: none;
  }

  .inscription-hero .ribbon-badge {
    animation: none;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 76px;
    right: 16px;
    background: rgba(11, 31, 58, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 16px;
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
    box-shadow: 0 18px 40px rgba(5, 12, 24, 0.35);
    backdrop-filter: blur(10px);
    z-index: 10001;
    pointer-events: auto;
  }

  .nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 10000;
  }

  .nav-cta {
    display: none;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: clamp(28px, 6vw, 40px);
  }

  .hero-card {
    order: 2;
  }

  .hero-text {
    order: 1;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 32px 6%;
  }

  .section {
    padding: 64px 6%;
  }

  .carousel {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    justify-self: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .about-grid,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .form-section .section-title h2,
  #inscription-typing {
    font-size: clamp(18px, 6vw, 24px);
  }

  .section-title h2.about-title {
    font-size: clamp(30px, 8vw, 44px);
  }

  .instructor-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hero {
    padding: 28px 5%;
  }

  .section {
    padding: 56px 5%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    left: 0;
    right: auto;
    width: 100%;
  }
}
