:root {
  --primary: #0f766e;
  --primary-dark: #0b4f49;
  --accent: #f97316;
  --bg: #050816;
  --bg-soft: #0b1020;
  --text: #f9fafb;
  --muted: #9ca3af;
  --card: #111827;
  --radius: 14px;
  --shadow-soft: 0 18px 40px rgba(0,0,0,0.45);
}

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

body {
  background: radial-gradient(circle at top, #1f2937 0, #020617 45%, #000 100%);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

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

/* Header / Nav */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15,23,42,0.96), rgba(15,23,42,0.85), transparent);
  border-bottom: 1px solid rgba(148,163,184,0.15);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text span:first-child {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #a5f3fc;
}

.brand-text span:last-child {
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  list-style: none;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.15rem;
  color: #e5e7eb;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #22c55e, #f97316);
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: none;
}

@media (min-width: 768px) {
  .nav-cta {
    display: inline-flex;
  }
}

/* Buttons */
.btn {
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(148,163,184,0.4);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  background: radial-gradient(circle at top left, rgba(56,189,248,0.18), transparent 55%);
  color: #e5e7eb;
  transition: all 0.18s ease-out;
}

.btn-primary {
  border: none;
  background: linear-gradient(135deg, #22c55e, #0f766e);
  color: #022c22;
  font-weight: 600;
  box-shadow: 0 14px 35px rgba(16,185,129,0.45);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15,23,42,0.7);
  border-color: rgba(148,163,184,0.7);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

/* Layout */
main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 0 3rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 2.5rem;
  }
}

.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a5f3fc;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.hero-kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(to right, #22c55e, #f97316);
  opacity: 0.8;
}

.hero-title {
  font-size: clamp(2.1rem, 3vw + 1.4rem, 3.1rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.hero-title span {
  background: linear-gradient(to right, #22c55e, #f97316);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.badge {
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  color: #e5e7eb;
  background: radial-gradient(circle at top left, rgba(56,189,248,0.16), transparent 55%);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-note strong {
  color: #e5e7eb;
  font-weight: 600;
}

.hero-media {
  position: relative;
  min-height: 260px;
}

.hero-card {
  position: relative;
  background: radial-gradient(circle at top, #111827, #020617 70%);
  border-radius: 26px;
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148,163,184,0.35);
  overflow: hidden;
  isolation: isolate;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 10% 0, rgba(56,189,248,0.18), transparent 55%),
    radial-gradient(circle at 90% 0, rgba(34,197,94,0.18), transparent 55%);
  opacity: 0.9;
  z-index: -1;
}

.hero-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #a5f3fc;
  margin-bottom: 0.4rem;
}

.hero-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.hero-card-text {
  font-size: 0.85rem;
  color: #cbd5f5;
  margin-bottom: 0.9rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.hero-pill {
  border-radius: 14px;
  padding: 0.55rem 0.7rem;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.35);
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-pill span:first-child {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
}

.hero-pill span:last-child {
  font-weight: 600;
  color: #e5e7eb;
}

.hero-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: #9ca3af;
  border-top: 1px dashed rgba(148,163,184,0.4);
  padding-top: 0.6rem;
  margin-top: 0.4rem;
}

.hero-footer strong {
  color: #e5e7eb;
}

.hero-floating {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 120px;
  height: 120px;
  border-radius: 32px;
  background: conic-gradient(from 180deg, #22c55e, #f97316, #22c55e);
  opacity: 0.12;
  filter: blur(4px);
  transform: rotate(-8deg);
}

/* Sections */
section {
  margin-top: 3.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a5f3fc;
  margin-bottom: 0.25rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 26rem;
}

/* Cards grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  background: radial-gradient(circle at top, #020617, #020617 55%, #000 100%);
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 14px 35px rgba(15,23,42,0.7);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(56,189,248,0.16), transparent 55%);
  opacity: 0.7;
  z-index: -1;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.card-title {
  font-size: 0.98rem;
  font-weight: 600;
}

.card-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  color: #e5e7eb;
}

.card-body {
  font-size: 0.85rem;
  color: #cbd5f5;
  margin-bottom: 0.7rem;
}

.card-meta {
  font-size: 0.78rem;
  color: #9ca3af;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pill {
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.4);
}

/* Servicios detalle */
.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.services-list {
  display: grid;
  gap: 0.9rem;
}

.service-item {
  background: rgba(15,23,42,0.9);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(148,163,184,0.4);
  font-size: 0.85rem;
}

.service-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.service-item span {
  color: #9ca3af;
  font-size: 0.8rem;
}

.services-highlight {
  background: radial-gradient(circle at top, #111827, #020617 70%);
  border-radius: 18px;
  padding: 1.1rem 1rem;
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: var(--shadow-soft);
  font-size: 0.85rem;
  color: #cbd5f5;
}

.services-highlight h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.services-highlight ul {
  margin-top: 0.4rem;
  padding-left: 1.1rem;
}

.services-highlight li {
  margin-bottom: 0.25rem;
}

/* Eventos deportivos */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .events-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.event-card {
  background: rgba(15,23,42,0.95);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(148,163,184,0.4);
  font-size: 0.82rem;
}

.event-card strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.event-card span {
  color: #9ca3af;
}

/* Contacto */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-card {
  background: radial-gradient(circle at top, #111827, #020617 70%);
  border-radius: 18px;
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: var(--shadow-soft);
  font-size: 0.85rem;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
}

.contact-value {
  font-weight: 500;
  color: #e5e7eb;
  font-size: 0.9rem;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.contact-socials span {
  font-size: 0.8rem;
  color: #9ca3af;
}

.contact-form {
  background: rgba(15,23,42,0.9);
  border-radius: 18px;
  padding: 1.1rem 1rem;
  border: 1px solid rgba(148,163,184,0.4);
  font-size: 0.85rem;
}

.contact-form h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.field {
  margin-bottom: 0.7rem;
}

.field label {
  display: block;
  font-size: 0.78rem;
  color: #9ca3af;
  margin-bottom: 0.2rem;
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
  padding: 0.45rem 0.55rem;
  font-size: 0.85rem;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34,197,94,0.4);
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

/* Galería */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 10px 25px rgba(0,0,0,0.45);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Footer */
footer {
  border-top: 1px solid rgba(148,163,184,0.25);
  margin-top: 3rem;
  padding-top: 1.2rem;
  padding-bottom: 1.5rem;
  font-size: 0.78rem;
  color: #6b7280;
  text-align: center;
}