/*
  Landing Entrenador Deportivo - Recurso gratuito editable
  Identidad visual: fondo oscuro + naranja deportivo
  Creada por Aguilar Forge
  Web: aguilarforge.com
*/

:root {
  --bg: #0d1117;
  --surface: #161e2a;
  --surface-soft: #111820;
  --text: #eef2f7;
  --muted: #7a95ac;
  --primary: #f97316;
  --primary-dark: #ea580c;
  --border: #243040;
  --radius: 12px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

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

/* === BASE === */
body {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  padding: 4.5rem 0;
}

.section-soft {
  background: var(--surface-soft);
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 17, 23, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #0d1117;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 900;
}

.brand-logo {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  display: block;
  object-fit: contain;
}

.brand-text {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.menu {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.menu a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--primary);
}

/* === HERO === */
.hero {
  background-image:
    linear-gradient(
      to right,
      rgba(13, 17, 23, 0.93) 0%,
      rgba(13, 17, 23, 0.80) 40%,
      rgba(13, 17, 23, 0.35) 65%,
      rgba(13, 17, 23, 0.08) 100%
    ),
    url(assets/fondo_hero.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 6rem 0;
  min-height: 520px;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

/* === TYPOGRAPHY === */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1.2rem;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.9rem;
  font-weight: 800;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.lead {
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-intro {
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 1.3rem;
}

/* === BUTTONS === */
.cta-row {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  border: 2px solid transparent;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--primary);
  color: #0d1117;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(249, 115, 22, 0.1);
}

/* === SHARED CARD BASE === */
.support-card,
.card,
.trust-item,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* === SUPPORT CARD (hero) === */
.support-card {
  padding: 1.8rem;
  border-top: 3px solid var(--primary);
}

.support-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.support-card > p {
  color: var(--muted);
  font-size: 0.95rem;
}

.support-card ul {
  margin-top: 1rem;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.support-card ul li {
  padding-left: 1.3rem;
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
}

.support-card ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.8rem;
  top: 0.2em;
}

/* === CARDS GRID === */
.cards-grid {
  margin-top: 1.3rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 1.4rem;
  border-top: 3px solid transparent;
  transition: border-top-color 0.15s ease;
}

.card:hover {
  border-top-color: var(--primary);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* === METODO / TRUST LIST === */
.trust-list {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-item {
  padding: 1.6rem 1.4rem;
  border-left: 3px solid var(--primary);
}

.trust-item h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.step-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.trust-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* === CONTACT GRID === */
.contact-grid {
  margin-top: 1.3rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-card {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card a {
  color: var(--text);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--primary);
}

.contact-card > span:last-child {
  color: var(--muted);
  font-weight: 600;
}

/* === FOOTER === */
.site-footer {
  background: #0a0e14;
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.4rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--primary);
}

.footer-credit {
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.75;
  margin-top: 0.4rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
}

.footer-credit a {
  color: var(--muted);
  text-decoration: none;
}

.footer-credit a:hover {
  color: var(--primary);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .cards-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .trust-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .menu {
    flex-wrap: wrap;
  }

  .section {
    padding: 3rem 0;
  }

  .hero {
    background-image:
      linear-gradient(
        rgba(13, 17, 23, 0.88),
        rgba(13, 17, 23, 0.88)
      ),
      url(assets/fondo_hero.png);
    background-position: 70% center;
    min-height: 0;
    padding: 4rem 0;
  }

  .hero-content {
    max-width: 100%;
  }

  .cta-row {
    flex-direction: column;
  }

  .cta-row .btn {
    width: 100%;
    text-align: center;
  }

  .cards-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
