/* ═══════════════════════════════════════════════════════════════════
   LIGA LATAM PICKLEBALL — Shared site styles
   Used by: index.php, sponsors.php, tecnologia.php, representantes.php,
            verify.html (legacy), partner.php, admin/*
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --bg: #FFFFFF;
  --bg-soft: #FAFAF8;
  --bg-deep: #F2F2EE;

  --ink: #0A1A3A;
  --ink-soft: rgba(10,26,58,0.74);
  --ink-dim: rgba(10,26,58,0.52);
  --ink-mute: rgba(10,26,58,0.34);

  --line: rgba(10,26,58,0.1);
  --line-strong: rgba(10,26,58,0.22);

  --yellow: #FFD60A;
  --yellow-deep: #E0B800;
  --coral: #FF5840;
  --coral-deep: #E03A23;
  --green: #54CC68;
  --green-deep: #2BA945;
  --blue: #4F8CFF;
  --blue-deep: #2563EB;

  --error: #dc2626;
  --good: #16a34a;

  --max: 1240px;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

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

/* ───────── NAV ───────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.88);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img {
  width: 80px; height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(10,26,58,0.15));
}
.brand-text {
  display: flex; flex-direction: column;
  font-family: 'Big Shoulders Display', sans-serif;
  line-height: 1;
}
.brand-line1 {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand-line2 {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--coral);
  margin-top: 4px;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  transition: color .15s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a::after {
  content: ''; position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--coral);
  transition: width .25s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: all .2s;
}
.nav-cta:hover { background: var(--coral); }
.nav-cta .arrow { font-size: 11px; transition: transform .2s; }
.nav-cta:hover .arrow { transform: translateX(2px); }

@media (max-width: 1080px) { .nav-links { gap: 22px; } }
@media (max-width: 920px) {
  .nav-links { display: none; }
  .brand img { width: 48px; height: 48px; }
}
@media (max-width: 600px) {
  .nav-inner { padding: 12px 16px; gap: 12px; }
  .brand { gap: 10px; }
  .brand img { width: 42px; height: 42px; }
  .brand-line1 { font-size: 15px; }
  .brand-line2 { font-size: 9px; letter-spacing: 0.22em; margin-top: 3px; }
  .nav-cta { padding: 9px 14px; font-size: 11px; letter-spacing: 0.08em; gap: 6px; }
}
@media (max-width: 380px) {
  .brand img { width: 38px; height: 38px; }
  .brand-line1 { font-size: 14px; }
  .nav-cta .label { display: none; }
  .nav-cta::after { content: 'Repr.'; }
}

/* ───────── BUTTONS (shared) ───────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 28px 17px 30px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800; font-size: 14px;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: all .25s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--coral); transform: translateY(-2px); }
.btn-primary .arrow {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 24px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800; font-size: 14px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  transition: all .25s;
  cursor: pointer;
}
.btn-secondary:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.btn-secondary .arrow { font-size: 11px; transition: transform .2s; }
.btn-secondary:hover .arrow { transform: translateX(3px); }

/* ───────── SECTION TITLE (shared) ───────── */
.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-soft);
  font-weight: 700; margin-bottom: 18px;
}
.section-tag::before { content: ''; width: 18px; height: 1.5px; background: var(--coral); }
.section-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.92;
  letter-spacing: -0.022em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-title em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400; font-style: italic;
  color: var(--coral); text-transform: none;
}
.section-lead {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 560px;
  margin: 0 auto;
}

/* ───────── PAGE HEADER (sub-pages) ───────── */
.page-head {
  text-align: center;
  padding: 70px 0 50px;
  position: relative;
}
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: var(--ink); color: var(--bg);
  border-radius: 999px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 24px;
}
.page-eyebrow::before {
  content: ''; width: 7px; height: 7px;
  background: var(--yellow); border-radius: 50%;
}
.page-head h1 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.88;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0 auto 24px;
  max-width: 1100px;
}
.page-head h1 em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400; font-style: italic;
  color: var(--coral);
  text-transform: none;
}
.page-head .lead {
  font-size: 17.5px;
  max-width: 660px;
  margin: 0 auto;
  color: var(--ink-soft);
  line-height: 1.55;
  padding: 0 18px;
}
.page-head .lead strong { color: var(--ink); font-weight: 600; }
@media (max-width: 600px) {
  .page-head { padding: 44px 0 32px; }
  .page-eyebrow { font-size: 10px; padding: 7px 14px; margin-bottom: 18px; letter-spacing: 0.14em; }
  .page-head h1 { font-size: clamp(40px, 13vw, 72px); margin-bottom: 18px; }
  .page-head .lead { font-size: 15.5px; }
}

/* ───────── FOOTER (shared) ───────── */
.footer {
  background: var(--bg);
  color: var(--ink);
  padding: 60px 0 22px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand-row { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; object-fit: contain; }
.footer-brand-name {
  font-family: 'Big Shoulders Display', sans-serif;
  display: flex; flex-direction: column; line-height: 1;
}
.footer-brand-name .l1 { font-weight: 900; font-size: 15px; letter-spacing: 0.04em; color: var(--ink); }
.footer-brand-name .l2 { font-weight: 700; font-size: 9.5px; letter-spacing: 0.26em; color: var(--coral); margin-top: 4px; }
.footer-quote { max-width: 380px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }
.footer-col h6 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--coral);
  font-weight: 700; margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li, .footer-col a { font-size: 13px; color: var(--ink-soft); transition: color .15s; }
.footer-col a:hover { color: var(--coral); }
.footer-bottom {
  margin-top: 50px; padding: 22px 32px 0;
  border-top: 1px solid var(--line);
  max-width: var(--max); margin-left: auto; margin-right: auto;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-dim);
}
@media (max-width: 720px) {
  .footer { padding: 44px 0 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 0 18px; }
  .footer-bottom { margin-top: 36px; padding: 22px 18px 0; flex-direction: column; gap: 8px; font-size: 11px; }
}
