/* ==========================================================================
   SIRTIKI — Coaching de Top Lane / Darius OTP
   Paleta extraída del logo (arte: COKAS): violeta profundo, magenta, sangre.
   ========================================================================== */

:root {
  --bg: #130a1c;
  --bg-alt: #1c1128;
  --bg-card: #201530;
  --violet: #532e97;
  --violet-deep: #2f1f47;
  --pink: #f5176e;
  --pink-soft: #ff4d8d;
  --crimson: #b31353;
  --white: #f8f3fa;
  --muted: #b6a5c9;
  --muted-dim: #7c6c94;
  --border: rgba(246, 235, 255, 0.1);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1180px;
  --radius: 18px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-image:
    radial-gradient(60% 50% at 85% 0%, rgba(83, 46, 151, 0.45), transparent 60%),
    radial-gradient(45% 40% at 5% 15%, rgba(245, 23, 110, 0.16), transparent 60%);
  background-repeat: no-repeat;
}

img { max-width: 100%; display: block; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; padding: 96px 0; }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--pink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--pink-soft);
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0;
  font-weight: 600;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.01em;
}

.section-head { max-width: 620px; margin-bottom: 56px; }

.section-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  margin-top: 14px;
}

p { line-height: 1.65; color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--pink-soft);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink) 0%, var(--crimson) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px -8px rgba(245, 23, 110, 0.55);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(245, 23, 110, 0.7); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--white);
}

.btn-ghost:hover { border-color: var(--pink-soft); color: var(--pink-soft); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 10, 28, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 18px; letter-spacing: 0.02em; }

.brand img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 2px var(--border); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  color: var(--muted);
}

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

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: 72px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 35%;
  opacity: 0.6;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, var(--bg) 0%, rgba(19, 10, 28, 0.92) 32%, rgba(19, 10, 28, 0.55) 58%, rgba(83, 46, 151, 0.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(19, 10, 28, 0.1) 30%, rgba(19, 10, 28, 0.1) 70%, var(--bg) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  margin-bottom: 22px;
}

.hero h1 span { color: var(--pink-soft); }

.hero .lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--white);
}

.hero-stats .stat span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(248, 243, 250, 0.22);
  box-shadow: 0 30px 70px -18px rgba(19, 10, 28, 0.85), 0 0 0 1px rgba(19, 10, 28, 0.4);
}

.hero-art img { width: 100%; height: 100%; object-fit: cover; }

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(19, 10, 28, 0.92) 100%);
}

.credit-tag {
  position: absolute;
  bottom: 68px;
  right: 18px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(248, 243, 250, 0.45);
}

/* ---------- Credibility bar ---------- */

.credibility {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.credibility .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 44px;
  justify-content: space-between;
}

.credibility .item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  flex: 1 1 220px;
}

.credibility .item strong {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 15px;
}

/* ---------- Planes ---------- */

/* ---------- Cómo funciona ---------- */

.steps { display: flex; flex-direction: column; gap: 0; }

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.step:last-child { border-bottom: 1px solid var(--border); }

.step-num {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--muted-dim);
}

.step h3 { font-size: 18px; margin-bottom: 8px; color: var(--white); }
.step p { font-size: 15px; margin: 0; max-width: 620px; }

.step-note {
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px dashed rgba(245, 23, 110, 0.4);
  background: rgba(245, 23, 110, 0.06);
  font-size: 14px;
  color: var(--muted);
}

.step-note strong { color: var(--pink-soft); }

/* ---------- Agenda ---------- */

.agenda-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.availability-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-wrap: wrap; }

.availability-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 14px;
  flex: 1 1 220px;
}

.availability-row:nth-last-child(-n+2) { border-bottom: none; }
.availability-row.off { color: var(--muted-dim); }

.availability-row .day { font-family: var(--font-display); font-size: 14.5px; color: var(--white); }
.availability-row .slots { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.02em; }
.availability-row.off .slots { color: var(--muted-dim); }

.cal-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}

.cal-reminder {
  padding: 14px 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  background: rgba(245, 23, 110, 0.07);
  border-bottom: 1px solid var(--border);
}

.cal-reminder strong { color: var(--white); }
.cal-reminder a { color: var(--pink-soft); }

.cal-panel-body {
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 40px;
}

.cal-panel-body + .cal-panel-body { border-top: 1px solid var(--border); }

.cal-info h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.cal-desc {
  font-size: 14.5px;
  margin-bottom: 20px;
}

.cal-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cal-features li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.cal-features li::before { content: "▸"; color: var(--pink-soft); flex-shrink: 0; }

.cal-order {
  border-left: 1px solid var(--border);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.cal-price-row { display: flex; gap: 24px; }

.cal-price-row > div { display: flex; flex-direction: column; }

.cal-price-row .amount {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--white);
}

.cal-price-row .method {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-dim);
}

.cal-pay-chips { display: flex; flex-direction: column; gap: 8px; }

.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  background: rgba(248, 243, 250, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  width: fit-content;
}

.chip.chip-link {
  color: var(--pink-soft);
  border-color: rgba(245, 23, 110, 0.4);
  cursor: pointer;
}

.chip.chip-link:hover { background: rgba(245, 23, 110, 0.1); }

/* ---------- Lightbox ---------- */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 5, 15, 0.92);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: min(90vw, 720px);
  max-height: 85vh;
  border-radius: 14px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(19, 10, 28, 0.7);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
}

.lightbox-close:hover { border-color: var(--pink-soft); color: var(--pink-soft); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(19, 10, 28, 0.7);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
}

.lightbox-nav:hover { border-color: var(--pink-soft); color: var(--pink-soft); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 640px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 15px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* ---------- Resultados / carrusel ---------- */

.carousel { position: relative; }

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
  scroll-snap-align: start;
  flex: 0 0 min(320px, 84vw);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  border: 1px dashed rgba(248, 243, 250, 0.22);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 10px;
  font: inherit;
  color: inherit;
}

.carousel-slide img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

.carousel-slide .icon { font-size: 28px; color: var(--pink-soft); }
.carousel-slide span { font-size: 13px; color: var(--muted-dim); }

.carousel-controls { display: flex; gap: 12px; margin-top: 22px; }

.carousel-controls button {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 16px;
}

.carousel-controls button:hover { border-color: var(--pink-soft); color: var(--pink-soft); }

.carousel-slide[data-clickable] { cursor: zoom-in; }
.carousel-slide[data-clickable]:hover { border-color: var(--pink-soft); }
.carousel-slide:focus-visible { outline: 2px solid var(--pink-soft); outline-offset: 3px; }

/* ---------- Discord CTA ---------- */

.discord-cta {
  border-radius: 24px;
  background: linear-gradient(120deg, var(--violet) 0%, var(--crimson) 100%);
  padding: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.discord-cta h2 { font-size: clamp(24px, 3vw, 32px); max-width: 480px; }
.discord-cta p { color: rgba(248, 243, 250, 0.85); max-width: 440px; margin-top: 10px; }
.discord-cta .btn-ghost { border-color: rgba(248, 243, 250, 0.5); }
.discord-cta .btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.1); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--border); padding: 52px 0 32px; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 17px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 9px; }

.footer-links { display: flex; gap: 26px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--pink-soft); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--muted-dim);
  font-family: var(--font-mono);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin: 0 auto; }
  .agenda-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .discord-cta { padding: 36px 28px; }
}

@media (max-width: 900px) {
  body.nav-open .nav-links {
    display: flex;
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    padding: 32px 24px;
    gap: 22px;
    font-size: 18px;
    z-index: 60;
  }
  body.nav-open .nav-cta { display: none; }
}

@media (max-width: 700px) {
  .cal-panel-body { grid-template-columns: 1fr; gap: 28px; }
  .cal-order { border-left: none; padding-left: 0; padding-top: 24px; border-top: 1px solid var(--border); }
}

@media (max-width: 560px) {
  section { padding: 64px 0; }
  .step { grid-template-columns: 40px 1fr; }
  .credibility .container { flex-direction: column; }
  .cal-panel-body { padding: 24px 20px; }
}
