* {
  box-sizing: border-box;
}

:root {
  --pink: #dc3275;
  --pink-dark: #b92360;
  --black: #000;
  --dark: #101010;
  --dark-2: #171717;
  --text: #fff;
  --muted: rgba(255,255,255,.72);
  --border: rgba(255,255,255,.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.narrow {
  width: min(860px, calc(100% - 36px));
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(70, 40, 160, .34), transparent 28%),
    radial-gradient(circle at 20% 35%, rgba(220, 50, 117, .24), transparent 30%),
    linear-gradient(135deg, #090909 0%, #111 50%, #050505 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.28) 55%, #000 100%),
    repeating-linear-gradient(
      115deg,
      rgba(255,255,255,.015) 0 2px,
      transparent 2px 10px
    );
}

.hero__overlay {
  position: absolute;
  inset: auto 0 0 0;
  height: 12px;
  background: linear-gradient(90deg, #20a044, #ffd800, #dc3275, #136796);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding: 120px 0 90px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--pink);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.entry-card h3,
.step h3 {
  margin: 0;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.04em;
}

.hero h1 {
  font-size: clamp(5rem, 17vw, 11rem);
  line-height: .82;
}

.hero__claim {
  margin: 8px 0 22px;
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  font-weight: 800;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero__meta span {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,.05);
  font-size: .76rem;
  font-weight: 800;
}

.hero__lead {
  max-width: 620px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section {
  padding: 84px 0;
}

.section--black {
  background: #000;
}

.section--dark {
  background: var(--dark);
}

.section__heading {
  margin-bottom: 34px;
}

.section__heading h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: .95;
}

.section__heading p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.entry-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(220,50,117,.11), transparent 28%),
    var(--dark-2);
  box-shadow: 0 18px 48px rgba(0,0,0,.25);
}

.entry-card--runner {
  border-color: rgba(220,50,117,.34);
}

.entry-card__tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(220,50,117,.13);
  color: #ff7fb0;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.entry-card h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.entry-card__big {
  margin: 18px 0 8px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
}

.entry-card > p:not(.entry-card__big) {
  color: var(--muted);
  line-height: 1.65;
}

.entry-card small {
  display: block;
  margin-top: 14px;
  color: rgba(255,255,255,.52);
  line-height: 1.5;
}

.runner-form {
  margin-top: 24px;
}

.runner-form label {
  display: block;
  margin-bottom: 8px;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.runner-form__row {
  display: flex;
  gap: 10px;
}

.runner-form input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: #0c0c0c;
  color: #fff;
  padding: 0 18px;
  font: inherit;
}

.runner-form input:focus {
  outline: 2px solid rgba(220,50,117,.4);
  border-color: var(--pink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: .2s ease;
}

.btn--primary {
  background: var(--pink);
  color: #fff;
}

.btn--primary:hover {
  background: var(--pink-dark);
  transform: translateY(-1px);
}

.btn--outline {
  margin-top: 22px;
  border: 1px solid rgba(255,255,255,.55);
  background: transparent;
  color: #fff;
}

.btn--outline:hover {
  background: #fff;
  color: #111;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.step {
  padding: 26px;
  border-top: 1px solid rgba(255,255,255,.18);
}

.step__number {
  display: block;
  margin-bottom: 20px;
  color: var(--pink);
  font-size: 2.2rem;
  font-weight: 900;
}

.step h3 {
  font-size: 1.45rem;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.notice {
  border-left: 5px solid var(--pink);
  padding: 8px 0 8px 24px;
}

.notice h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.notice p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #111;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer {
  padding: 36px 0;
  background: #080808;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.62);
  font-size: .88rem;
}

.footer strong {
  color: #fff;
}

.footer p {
  margin: 5px 0;
}

@media (max-width: 820px) {
  .hero {
    min-height: 78vh;
  }

  .entry-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .runner-form__row {
    flex-direction: column;
  }

  .runner-form__row .btn {
    width: 100%;
  }

  .footer__inner {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1180px);
  }

  .hero__content {
    padding: 100px 0 68px;
  }

  .hero h1 {
    font-size: clamp(4.4rem, 26vw, 7rem);
  }

  .section {
    padding: 62px 0;
  }

  .entry-card {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .btn {
    width: 100%;
  }
}

/* KFest: formularios, constancias y panel */
.runner-form { display:flex; flex-direction:column; align-items:stretch; gap:10px; margin-top:20px; }
.runner-form input,.runner-form select,.plain input,.plain select { width:100%; padding:15px; border:1px solid #555; border-radius:8px; background:#191919; color:#fff; font:inherit; }
.runner-form label,.plain label { display:block; font-size:.82rem; font-weight:800; margin-top:8px; }
.runner-form .btn { width:100%; margin-top:10px; }
.center-link { text-align:center; margin:25px 0; }
.plain { min-height:100vh; padding:70px 0; background:linear-gradient(155deg,#15040e,#090909 50%); }
.plain-title { font-size:clamp(2rem,5vw,3.8rem); overflow-wrap:anywhere; }
.plain form:not(.action-row form) { margin:20px 0; }
.plain form>input:not([type=hidden]),.plain form>label { display:block; margin:12px 0; }
.plain form>.btn { margin:12px 0; }
.msg,.receipt,.stats,.admin-item { background:#171717; border:1px solid #393939; border-radius:12px; padding:24px; margin:22px 0; }
.receipt h2 { font-size:clamp(1.4rem,5vw,2.8rem); color:#fff; overflow-wrap:anywhere; letter-spacing:.04em; }
.receipt p { line-height:1.6; }.muted {color:#bdbdbd}.receipt-actions {display:flex; gap:12px; flex-wrap:wrap;}
.action-row {display:flex; flex-wrap:wrap; gap:8px;}.action-row form {margin:0!important;}.small-btn {border:1px solid #555; background:#222; color:#fff; padding:9px 12px; border-radius:5px; cursor:pointer;font:inherit;font-size:.75rem}
.admin-list {margin-top:25px}.admin-item h3 { overflow-wrap:anywhere }.admin-item p {font-size:.9rem}.stats {line-height:2}.plain code {color:#ff9fc5}
@media print {body,.plain {background:#fff!important;color:#000!important}.plain {padding:0}.plain .eyebrow,.plain-title,.receipt-actions,.muted {display:none!important}.receipt {border:2px solid #111;background:#fff;color:#000;margin:0}.receipt h2 {color:#000} .receipt .eyebrow {display:block!important;color:#333!important} .receipt * {color:#000!important}}

/* KFEST · imagen y logos oficiales */
.hero {background: #06060d url("img/hero-kfest-2026.jpg?v=20261016.1") center 46% / cover no-repeat;}
.hero::before {background:linear-gradient(90deg,rgba(0,0,0,.76),rgba(0,0,0,.27) 70%), linear-gradient(0deg,#000 1%,transparent 60%);}
.hero__brand {font-size:0!important;line-height:1!important;max-width:min(680px,84vw);}
.hero__brand img {display:block;width:100%;max-width:650px;height:auto;object-fit:contain;}
.footer__logo {display:block;max-width:180px;width:60%;height:auto;object-fit:contain;margin-bottom:15px;}
.deadline-alert {border-radius:12px;padding:15px 17px;font-weight:700;line-height:1.6;margin:17px 0!important;}
.deadline-alert--open {border:1px solid rgba(220,50,117,.5);background:rgba(220,50,117,.10);color:#fff;}
.deadline-alert--closed {border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.05);color:#ddd;}
.deadline-small {font-size:.88rem;line-height:1.65;color:#ccc;}
.deadline-small a {color:#f46aa0;text-decoration:underline;}
@media(max-width:640px){.hero{background-position:53% center}.hero::before{background:linear-gradient(180deg,rgba(0,0,0,.4),rgba(0,0,0,.6)),linear-gradient(0deg,#000 0%,transparent 80%)}.hero__brand {max-width:90vw;}}

/* Logos del pie: KFest, Zionz y Samsara */
.footer__inner {align-items:center;flex-wrap:wrap;}
.footer__brands {display:flex;align-items:center;gap:clamp(16px,3vw,32px);margin-bottom:20px;}
.footer__brands .footer__logo {width:clamp(100px,24vw,180px);max-width:180px;margin:0;flex:0 1 auto;}
.footer__partner {display:block;object-fit:contain;flex:0 1 auto;height:auto;}
.footer__partner--zionz {width:clamp(78px,18vw,130px);}
.footer__partner--samsara {width:clamp(66px,16vw,96px);}
@media(max-width:820px){.footer__inner {align-items:flex-start;}}
@media(max-width:360px){.footer__brands {gap:12px;}.footer__brands .footer__logo {width:90px;}.footer__partner--zionz {width:72px;}.footer__partner--samsara {width:60px;}}
