/* =========================================================
   SPORT CITY · CURSO DE MONITOR
   Sistema de diseño editorial · Negro & Naranja
   ========================================================= */

:root {
  --black: #1A1A1A;
  --black-soft: #2C2C2C;
  --ink: #111111;
  --orange: #E8852A;
  --orange-dark: #C46A15;
  --orange-soft: #FFF6EA;
  --cream: #FAF6F0;
  --paper: #FFFFFF;
  --grey: #888888;
  --grey-light: #E8E5E0;
  --grey-mid: #BDB8B0;

  --font-display: 'Anton', 'Impact', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-hand: 'Caveat', cursive;

  --radius: 4px;
  --radius-lg: 14px;
  --shadow-soft: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-strong: 0 20px 60px rgba(232, 133, 42, 0.25);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 820px; }
.container.center { text-align: center; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-light);
}
.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-weight: 800; letter-spacing: 0.05em; font-size: 15px; }
.brand-text span { color: var(--orange-dark); font-size: 11px; font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--black-soft);
  position: relative;
  transition: color 0.2s;
}
.nav-links a:not(.btn-mini)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s var(--ease);
}
.nav-links a:not(.btn-mini):hover::after { width: 100%; }

.btn-mini {
  background: var(--black);
  color: white !important;
  padding: 10px 18px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13px;
  transition: transform 0.2s, background 0.2s;
}
.btn-mini:hover { background: var(--orange); transform: translateY(-2px); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--black);
  color: white;
  padding: 100px 24px 120px;
  overflow: hidden;
}
.hero-bg-grain {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(232,133,42,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(232,133,42,0.10) 0%, transparent 50%);
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(232, 133, 42, 0.12);
  border: 1px solid rgba(232, 133, 42, 0.4);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 32px;
  animation: fadeUp 0.7s var(--ease) both;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(232,133,42,0.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232,133,42,0.25); }
  50% { box-shadow: 0 0 0 10px rgba(232,133,42,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  text-transform: uppercase;
  animation: fadeUp 0.8s var(--ease) 0.1s both;
}
.hero-title .orange { color: var(--orange); }
.hero-title .display {
  font-family: var(--font-hand);
  font-size: 0.7em;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  color: white;
  display: inline-block;
  transform: rotate(-3deg) translateY(-10px);
}

.hero-subtitle {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin-bottom: 48px;
  animation: fadeUp 0.8s var(--ease) 0.2s both;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s var(--ease) 0.3s both;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 4px;
}
.stat span { font-size: 13px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.05em; }

.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s var(--ease) 0.4s both;
}
.btn-primary {
  background: var(--orange);
  color: white !important;
  padding: 18px 32px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.2s;
  box-shadow: 0 8px 20px rgba(232, 133, 42, 0.4);
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(232, 133, 42, 0.55);
  background: var(--orange-dark);
}
.btn-primary.big {
  padding: 22px 40px;
  font-size: 18px;
}
.btn-ghost {
  color: white;
  padding: 16px 24px;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 0;
  transition: border-color 0.3s;
}
.btn-ghost:hover { border-color: var(--orange); }

.hero-note {
  margin-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  animation: fadeUp 0.8s var(--ease) 0.5s both;
}

.hero-deco { position: absolute; right: -100px; top: 50%; transform: translateY(-50%); }
.ring {
  border: 1px solid rgba(232,133,42,0.15);
  border-radius: 50%;
  position: absolute;
  animation: rotate 30s linear infinite;
}
.r1 { width: 400px; height: 400px; top: -200px; left: -200px; }
.r2 { width: 600px; height: 600px; top: -300px; left: -300px; animation-direction: reverse; animation-duration: 50s; }
@keyframes rotate {
  to { transform: rotate(360deg); }
}

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

/* =========================================================
   STRIP marquee
   ========================================================= */
.strip {
  background: var(--orange);
  color: var(--black);
  padding: 18px 0;
  overflow: hidden;
  border-top: 4px solid var(--black);
  border-bottom: 4px solid var(--black);
}
.strip-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.05em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   SECCIONES
   ========================================================= */
.section { padding: 100px 24px; }
.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head.light { color: white; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section-head h2 em {
  font-family: var(--font-hand);
  font-style: normal;
  font-weight: 600;
  color: var(--orange);
  font-size: 1em;
  text-transform: none;
  letter-spacing: 0;
}
.section-head .lead {
  margin-top: 18px;
  font-size: 17px;
  color: var(--grey);
}

/* CURSO === */
.curso-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.curso-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border: 1px solid var(--grey-light);
}
.curso-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}
.curso-card .card-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 20px;
}
.curso-card h3 { font-size: 24px; margin-bottom: 6px; font-weight: 800; }
.curso-card .card-meta {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-dark);
  margin-bottom: 16px;
  font-weight: 600;
}
.curso-card.highlight {
  background: var(--black);
  color: white;
  border-color: var(--black);
}
.curso-card.highlight h3 { color: white; }
.curso-card.highlight .card-meta { color: var(--orange); }

/* APRENDER === */
.aprender { background: var(--cream); }
.aprender-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 12px;
}
.aprender-list li {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: white;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--orange);
  transition: transform 0.3s var(--ease);
}
.aprender-list li:hover { transform: translateX(6px); }
.aprender-list li span {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--orange);
  line-height: 1;
  min-width: 40px;
}
.aprender-list li div { font-size: 15px; line-height: 1.55; }

/* SALIDAS === */
.salidas { background: var(--black); color: white; }
.salidas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.sal {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 24px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s var(--ease);
}
.sal:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-4px);
}
.salidas-foot {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 700px;
}
.salidas-foot strong { color: var(--orange); }

/* REQUISITOS === */
.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.req {
  text-align: center;
  padding: 40px 28px;
  border: 2px dashed var(--grey-light);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.req:hover { border-color: var(--orange); transform: translateY(-4px); }
.req-icon { font-size: 48px; margin-bottom: 16px; }
.req strong {
  display: block;
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 800;
}
.req p { color: var(--grey); font-size: 15px; }

/* PRECIO === */
.precio { background: var(--black); color: white; }
.precio-box {
  background: var(--orange);
  color: var(--black);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}
.precio-box::before {
  content: '★';
  position: absolute;
  top: -40px;
  right: -20px;
  font-size: 280px;
  color: rgba(0,0,0,0.05);
  font-family: var(--font-display);
  line-height: 1;
}
.precio-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  position: relative;
}
.precio-label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-weight: 600;
}
.precio-amount {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 96px);
  line-height: 1;
  display: block;
}
.precio-amount.orange { color: var(--black); }
.precio-mini { display: block; font-size: 13px; margin-top: 4px; opacity: 0.7; }
.precio-divider {
  width: 1px;
  height: 80px;
  background: var(--black);
  opacity: 0.25;
}
.precio-incluye {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  border-top: 2px solid rgba(0,0,0,0.15);
  padding-top: 32px;
  position: relative;
}
.precio-incluye li {
  font-weight: 600;
  font-size: 15px;
}

/* RESERVAR === */
.reservar { background: var(--cream); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 56px;
}
.step {
  background: white;
  padding: 28px;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--orange);
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 12px;
}
.step h4 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--grey); }

/* FORM === */
.form {
  background: white;
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--grey-light);
}
.form-title {
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form label {
  display: block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black-soft);
  letter-spacing: 0.02em;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-top: 8px;
  border: 1.5px solid var(--grey-light);
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  background: white;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-weight: 400;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(232,133,42,0.15);
}
.form textarea { resize: vertical; }

.form .check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 24px 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: var(--black-soft);
  cursor: pointer;
}
.form .check input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--orange);
}
.form .check a { color: var(--orange-dark); text-decoration: underline; }

.form button { margin-top: 12px; width: 100%; justify-content: center; }
.form-foot {
  margin-top: 20px;
  font-size: 13px;
  color: var(--grey);
  text-align: center;
  line-height: 1.6;
}

.hidden-field { display: none; }

/* FAQ === */
.faqs { display: grid; gap: 12px; max-width: 880px; }
.faqs details {
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-light);
  overflow: hidden;
  transition: all 0.3s;
}
.faqs details[open] { background: white; box-shadow: var(--shadow-soft); }
.faqs summary {
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
}
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--orange);
  transition: transform 0.3s;
  line-height: 1;
}
.faqs details[open] summary::after { transform: rotate(45deg); }
.faqs details p {
  padding: 0 24px 24px;
  color: var(--grey);
  font-size: 15px;
  line-height: 1.6;
}

/* CTA FINAL === */
.cta-final {
  background: var(--orange);
  color: var(--black);
  padding: 100px 24px;
  text-align: center;
}
.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 16px;
}
.cta-final p { font-size: 18px; margin-bottom: 32px; font-weight: 500; }
.cta-final .btn-primary {
  background: var(--black);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.cta-final .btn-primary:hover { background: var(--ink); }

/* FOOTER === */
.footer {
  background: var(--black);
  color: white;
  padding: 60px 24px 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  padding: 6px;
  margin-bottom: 16px;
}
.footer h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 16px;
  font-weight: 800;
}
.footer p { font-size: 14px; margin-bottom: 6px; color: rgba(255,255,255,0.7); }
.footer p.muted { color: var(--orange); font-weight: 600; }
.footer a { color: white; transition: color 0.2s; }
.footer a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* =========================================================
   PÁGINAS SECUNDARIAS (gracias, inscripción, legal)
   ========================================================= */
.page {
  min-height: calc(100vh - 80px);
  padding: 80px 24px;
  background: var(--cream);
}
.page-inner {
  max-width: 820px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: var(--shadow-soft);
}
.page-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  text-transform: uppercase;
  margin-bottom: 24px;
  line-height: 1;
}
.page-inner h2 {
  font-size: 22px;
  margin: 32px 0 14px;
  font-weight: 800;
  color: var(--orange-dark);
}
.page-inner h3 { font-size: 17px; margin: 24px 0 10px; font-weight: 700; }
.page-inner p { margin-bottom: 14px; font-size: 15px; line-height: 1.65; color: var(--black-soft); }
.page-inner ul, .page-inner ol { margin: 0 0 16px 24px; }
.page-inner li { margin-bottom: 8px; font-size: 15px; line-height: 1.6; }

.success {
  text-align: center;
  padding: 80px 24px;
}
.success-icon {
  width: 96px;
  height: 96px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 48px;
  color: white;
  box-shadow: var(--shadow-strong);
  animation: scaleIn 0.5s var(--ease);
}
@keyframes scaleIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn-mini) { display: none; }
  .hero { padding: 60px 24px 80px; }
  .hero-stats { gap: 28px; }
  .stat strong { font-size: 40px; }
  .section { padding: 70px 24px; }
  .form { padding: 28px; }
  .form .row { grid-template-columns: 1fr; gap: 0; }
  .precio-box { padding: 36px 24px; }
  .precio-divider { display: none; }
  .page-inner { padding: 32px 24px; }
}
