:root {
  --blue-950: #00122f;
  --blue-900: #001840;
  --blue-800: #002050;
  --blue-700: #002860;
  --green-500: #25c94a;
  --green-600: #50c020;
  --green-soft: #e8faee;
  --ink: #081126;
  --muted: #677282;
  --line: #e4eaf1;
  --paper: #f6f8fb;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(0, 32, 80, .12);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 94% 4%, rgba(37, 201, 74, .12), transparent 24rem),
    radial-gradient(circle at 4% 32%, rgba(0, 40, 96, .08), transparent 26rem),
    var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(0, 40, 96, .08);
  backdrop-filter: blur(16px);
}
.brand img {
  display: block;
  width: min(198px, 47vw);
  height: auto;
  border-radius: 12px;
  filter: drop-shadow(0 8px 18px rgba(0, 24, 64, .15));
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--blue-800);
  font-weight: 850;
}
.top-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--green-500);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(37, 201, 74, .25);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  min-height: calc(100vh - 80px);
  padding: 66px clamp(18px, 5vw, 78px) 82px;
  background:
    radial-gradient(circle at 8% 14%, rgba(37,201,74,.16), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(0,40,96,.10), transparent 24%),
    linear-gradient(180deg, #fff 0%, #fff 55%, #f7f9fc 100%);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: clamp(18px, 5vw, 78px);
  bottom: 38px;
  width: min(28vw, 360px);
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--green-500), var(--blue-800), transparent);
  opacity: .55;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.app-icon-preview {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 0 22px;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(0, 32, 80, .18);
}
.kicker {
  margin: 0 0 14px;
  color: var(--green-500);
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero h1,
.section h2,
.contact-section h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(2.75rem, 6.7vw, 6.7rem);
  line-height: .93;
  letter-spacing: 0;
}
.hero p,
.section-head p,
.split p,
.contact-section p {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}
.hero-copy > p:not(.kicker) {
  max-width: 650px;
  margin: 24px 0 0;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 950;
}
.btn.primary {
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(37, 201, 74, .28);
}
.btn.secondary {
  background: var(--blue-800);
  color: var(--white);
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  max-width: 640px;
}
.hero-metrics span {
  min-height: 84px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(0, 32, 80, .06);
  color: var(--muted);
}
.hero-metrics strong {
  display: block;
  color: var(--blue-800);
  font-size: 1.08rem;
}

.phone-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 650px;
}
.phone-frame {
  width: min(330px, 76vw);
  max-height: 680px;
  padding: 10px;
  border-radius: 38px;
  background: #0a1430;
  box-shadow: 0 32px 80px rgba(0, 24, 64, .25);
  overflow: hidden;
}
.phone-frame img {
  display: block;
  width: 100%;
  max-height: 660px;
  object-fit: cover;
  object-position: top;
  border-radius: 29px;
}
.floating-card {
  position: absolute;
  z-index: 2;
  width: 190px;
  padding: 18px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.floating-card strong,
.floating-card span {
  display: block;
}
.floating-card strong {
  color: var(--green-500);
  font-size: 1.2rem;
}
.floating-card span {
  margin-top: 4px;
  color: var(--blue-800);
  font-weight: 800;
}
.card-left {
  left: 0;
  top: 86px;
}
.card-right {
  right: 0;
  bottom: 108px;
}

.logo-band {
  padding: 36px clamp(18px, 5vw, 78px);
  background:
    radial-gradient(circle at 50% 50%, rgba(37, 201, 74, .18), transparent 26rem),
    linear-gradient(90deg, rgba(0, 18, 47, .98), rgba(0, 40, 96, .98)),
    var(--blue-900);
  border-block: 1px solid rgba(37, 201, 74, .28);
  text-align: center;
}
.logo-band img {
  width: min(720px, 100%);
  height: auto;
  filter:
    drop-shadow(0 18px 34px rgba(0, 0, 0, .28))
    drop-shadow(0 0 18px rgba(37, 201, 74, .16));
}
.logo-band p {
  margin: 18px 0 0;
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section {
  padding: 92px clamp(18px, 5vw, 78px);
}
.section-head {
  max-width: 870px;
  margin-bottom: 32px;
}
.section-head.narrow {
  max-width: 720px;
}
.section-head h2,
.split h2,
.contact-section h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
}
.app-section {
  background:
    radial-gradient(circle at 92% 12%, rgba(37, 201, 74, .15), transparent 24rem),
    var(--paper);
}

.video-section {
  background:
    radial-gradient(circle at 12% 14%, rgba(37, 201, 74, .14), transparent 24rem),
    radial-gradient(circle at 90% 78%, rgba(0, 40, 96, .13), transparent 28rem),
    var(--white);
}
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: stretch;
}
.video-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  align-items: stretch;
  min-height: 360px;
  border: 1px solid rgba(0, 40, 96, .12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 12%, rgba(37, 201, 74, .18), transparent 18rem),
    var(--blue-900);
  box-shadow: 0 22px 55px rgba(0, 32, 80, .14);
  overflow: hidden;
}
.video-card.wide {
  min-height: 390px;
}
.video-card video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}
.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 18, 47, .08), transparent 45%, rgba(0, 18, 47, .24));
  pointer-events: none;
}
.video-card div {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 46px);
  color: var(--white);
}
.video-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--green-500);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.video-card h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(1.85rem, 3.6vw, 3.65rem);
  line-height: 1.08;
}
.video-card p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 1.04rem;
  line-height: 1.55;
}
.app-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.app-card,
.step-row article,
.venue-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(0, 32, 80, .07);
}
.app-card {
  padding: 28px;
}
.app-card.featured {
  background: var(--blue-800);
  color: var(--white);
  border-color: var(--blue-800);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: var(--green-soft);
  color: var(--green-500);
  font-weight: 950;
}
.featured .card-icon {
  background: var(--green-500);
  color: var(--white);
}
.app-card h3,
.step-row h3 {
  margin: 0 0 10px;
  color: var(--blue-800);
  font-size: 1.55rem;
}
.app-card.featured h3,
.app-card.featured p {
  color: var(--white);
}
.app-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.screen-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr .92fr;
  gap: 18px;
  align-items: stretch;
}
.screen-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 20px;
  min-height: 680px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(0, 32, 80, .08);
  overflow: hidden;
}
.screen-card:nth-child(2) {
  border-color: rgba(37, 201, 74, .32);
}
.screen-card:nth-child(3) {
  border-color: rgba(0, 40, 96, .22);
}
.screen-card.tall {
  min-height: 760px;
}
.screen-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: top;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(0, 32, 80, .08);
}
.screen-card div {
  padding: 0 8px 8px;
}
.screen-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--green-500);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.screen-card h3 {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.08;
}
.screen-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.community-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, .64fr);
  align-items: center;
  gap: clamp(26px, 5vw, 70px);
  background:
    radial-gradient(circle at 16% 14%, rgba(37, 201, 74, .18), transparent 28%),
    radial-gradient(circle at 88% 76%, rgba(0, 40, 96, .10), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}
.community-copy {
  max-width: 880px;
}
.community-copy h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(2.25rem, 5vw, 5rem);
  line-height: .98;
}
.community-copy > p:not(.kicker) {
  max-width: 740px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}
.community-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.community-features article {
  min-height: 154px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(0, 32, 80, .07);
}
.community-features strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-900);
  font-size: 1.2rem;
}
.community-features span {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}
.community-phone {
  justify-self: center;
  width: min(360px, 84vw);
  max-height: 760px;
  padding: 10px;
  border-radius: 38px;
  background: var(--blue-900);
  box-shadow: 0 32px 80px rgba(0, 24, 64, .22);
  overflow: hidden;
}
.community-phone img {
  display: block;
  width: 100%;
  max-height: 740px;
  object-fit: cover;
  object-position: top;
  border-radius: 29px;
}

.steps {
  background:
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}
.step-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step-row article {
  padding: 26px;
}
.step-row img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 20px;
  margin-bottom: 18px;
  box-shadow: 0 14px 28px rgba(0, 32, 80, .16);
}
.step-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 34px;
  background:
    radial-gradient(circle at 8% 20%, rgba(37, 201, 74, .13), transparent 22rem),
    var(--paper);
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.pill-list span {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--blue-800);
  font-weight: 900;
}
.venue-card {
  overflow: hidden;
}
.venue-image {
  min-height: 260px;
  background:
    linear-gradient(rgba(0,32,80,.18), rgba(0,32,80,.18)),
    url("../img/cancha-del-norte-heroes.png");
  background-size: cover;
  background-position: center center;
}
.venue-body {
  display: grid;
  gap: 8px;
  padding: 26px;
}
.venue-body strong {
  color: var(--blue-900);
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.1;
}
.venue-body span {
  color: var(--muted);
  font-weight: 850;
}
.venue-body p {
  margin: 0;
  color: var(--green-500);
  font-weight: 950;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: 28px;
  align-items: center;
  padding: 94px clamp(18px, 5vw, 78px);
  background: var(--white);
}
.contact-card {
  display: grid;
  gap: 12px;
  padding: 22px;
}
.contact-card a,
.contact-card button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 58px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 0;
  background: var(--paper);
  color: var(--blue-800);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}
.contact-card button,
.contact-card .whatsapp {
  justify-content: center;
  background: var(--green-500);
  color: var(--white);
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-800);
  font-weight: 950;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px 16px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  outline: none;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(37, 201, 74, .7);
  box-shadow: 0 0 0 4px rgba(37, 201, 74, .12);
}
.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.form-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}
.form-note.success {
  color: var(--green-500);
  font-weight: 900;
}
.form-note.error {
  color: #b42318;
  font-weight: 900;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(18px, 5vw, 78px);
  background:
    linear-gradient(135deg, var(--blue-950), var(--blue-800));
  color: var(--white);
  font-weight: 900;
}
.footer img {
  width: min(260px, 60vw);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .28));
}

@media (max-width: 980px) {
  .nav { display: none; }
  .hero,
  .split,
  .contact-section,
  .community-section {
    grid-template-columns: 1fr;
  }
  .phone-showcase { min-height: 580px; }
  .card-left { left: 6px; top: 18px; }
  .card-right { right: 6px; bottom: 24px; }
  .app-card-grid,
  .step-row,
  .screen-grid,
  .community-features {
    grid-template-columns: 1fr;
  }
  .screen-card,
  .screen-card.tall {
    min-height: auto;
  }
  .screen-card img {
    max-height: 620px;
  }
  .video-card,
  .video-card.wide {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .video-card video {
    min-height: 360px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 14px 16px;
  }
  .top-cta {
    display: none;
  }
  .hero {
    padding-top: 46px;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 14vw, 4.4rem);
  }
  .actions,
  .hero-metrics {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .btn,
  .contact-card a {
    width: 100%;
  }
  .phone-showcase {
    min-height: 520px;
  }
  .phone-frame {
    width: min(290px, 88vw);
  }
  .screen-card {
    padding: 12px;
    border-radius: 22px;
  }
  .screen-card img {
    min-height: 410px;
    max-height: 560px;
    border-radius: 18px;
  }
  .video-card,
  .video-card.wide {
    min-height: auto;
    border-radius: 24px;
  }
  .video-card div {
    padding: 16px;
  }
  .video-card video {
    min-height: 260px;
  }
  .community-features article {
    min-height: auto;
  }
  .floating-card {
    width: 160px;
    padding: 14px;
  }
  .card-left {
    left: 0;
    top: 0;
  }
  .card-right {
    right: 0;
    bottom: 0;
  }
  .section,
  .contact-section {
    padding-block: 70px;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
