/* ═══════════════════════════════════════
   ANTIGUA PICKLEBALL — Shared Styles
════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #1a1a1a;
  overflow-x: hidden;
}

/* ── Variables ── */
:root {
  --green:       #2D6A4F;
  --green-mid:   #40916C;
  --green-light: #52B788;
  --yellow:      #F4D35E;
  --yellow-dark: #E8A800;
  --cream:       #FEFAE0;
  --terra:       #BC4749;
  --gray-50:     #F9FAFB;
  --gray-100:    #F3F4F6;
  --gray-200:    #E5E7EB;
  --gray-300:    #D1D5DB;
  --gray-500:    #6B7280;
  --gray-700:    #374151;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --radius-full: 9999px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.07);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.13);
}

/* ── Layout ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-alt  { background: var(--gray-50); }
.section-dark { background: var(--green); color: #fff; }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatBall {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(6deg); }
}
.anim { opacity: 0; animation: fadeInUp .6s ease-out forwards; }
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-100);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1140px; margin: 0 auto; padding: 0 24px; height: 100px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit; flex-shrink: 0;
}
.nav-logo img {
  height: 96px !important;
  width: auto !important;
  display: block;
  filter: brightness(0) saturate(100%) invert(27%) sepia(55%) saturate(550%) hue-rotate(108deg) brightness(87%);
}
.nav-links {
  display: flex; align-items: center; gap: 2px; list-style: none;
}
.nav-links a {
  display: block; padding: 6px 12px;
  font-size: .85rem; font-weight: 500; color: var(--gray-700);
  text-decoration: none; border-radius: var(--radius-full);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--gray-100); color: #1a1a1a; }
.nav-links a.active { background: var(--green); color: #fff; }
.nav-cta {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.btn-wa {
  display: flex; align-items: center; gap: 6px;
  background: #25D366; color: #fff;
  padding: 8px 16px; border-radius: var(--radius-full);
  font-size: .82rem; font-weight: 700; text-decoration: none;
  transition: opacity .2s; white-space: nowrap;
}
.btn-wa:hover { opacity: .88; }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: var(--radius-sm);
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #1a1a1a; border-radius: 2px; margin: 5px 0;
  transition: .3s;
}
.mobile-menu {
  display: none; flex-direction: column;
  padding: 12px 24px 20px; border-top: 1px solid var(--gray-100);
  background: rgba(255,255,255,.97);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem; font-weight: 500; color: var(--gray-700);
  text-decoration: none; padding: 11px 0;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-menu a:last-child { border: none; }

/* ── FOOTER ── */
footer {
  background: #111; color: rgba(255,255,255,.65);
  padding: 56px 24px 32px;
}
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; gap: 40px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}
.footer-brand h3 { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-brand p  { font-size: .87rem; line-height: 1.65; }
.footer-col h4   { font-size: .82rem; font-weight: 700; color: #fff; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul   { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a {
  font-size: .87rem; color: rgba(255,255,255,.55); text-decoration: none;
  transition: color .2s;
}
.footer-col ul li a:hover { color: #fff; }
.social-row { display: flex; gap: 8px; margin-top: 20px; }
.social-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 1rem;
  transition: background .2s;
}
.social-icon:hover { background: rgba(255,255,255,.2); }
.footer-bottom {
  max-width: 1140px; margin: 36px auto 0;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: .8rem;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--green); color: #fff;
  padding: 13px 30px; border-radius: var(--radius-full);
  font-size: .93rem; font-weight: 700; text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }
.btn-secondary {
  display: inline-block;
  background: var(--gray-100); color: #1a1a1a;
  padding: 13px 30px; border-radius: var(--radius-full);
  font-size: .93rem; font-weight: 700; text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn-secondary:hover { background: var(--gray-200); transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  border: 2px solid var(--green); color: var(--green);
  padding: 11px 28px; border-radius: var(--radius-full);
  font-size: .93rem; font-weight: 700; text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-outline-white {
  display: inline-block;
  border: 2px solid #fff; color: #fff;
  padding: 12px 28px; border-radius: var(--radius-full);
  font-size: .93rem; font-weight: 700; text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-outline-white:hover { background: #fff; color: var(--green); }
.btn-sm {
  display: inline-block;
  background: var(--green); color: #fff;
  padding: 7px 16px; border-radius: var(--radius-full);
  font-size: .8rem; font-weight: 700; text-decoration: none;
  transition: opacity .2s;
}
.btn-sm:hover { opacity: .85; }

/* ── SECTION HEADERS ── */
.section-tag {
  display: inline-block;
  background: var(--cream); color: var(--green);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 12px;
  border-radius: var(--radius-full); margin-bottom: 12px;
  border: 1px solid #e8e0c0;
}
.section-dark .section-tag {
  background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.3);
}
h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 12px;
}
.section-sub {
  font-size: 1.03rem; color: var(--gray-500); max-width: 520px; line-height: 1.65;
}
.section-dark .section-sub { color: rgba(255,255,255,.72); }
.section-header { margin-bottom: 44px; }

/* ── TAGS ── */
.tag {
  display: inline-block;
  font-size: .75rem; font-weight: 700; padding: 3px 10px;
  border-radius: var(--radius-full); border: 1px solid var(--gray-300); color: var(--gray-700);
}
.tag.green  { background: #D8F3DC; color: var(--green); border-color: #b7e4c7; }
.tag.yellow { background: #FFF9DB; color: #92680a; border-color: #ffe066; }
.tag.terra  { background: #FFE8E8; color: var(--terra); border-color: #f5c0c0; }

/* ── CARDS generic ── */
.cards-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.card {
  background: #fff; border: 1px solid var(--gray-100);
  border-radius: var(--radius-md); padding: 26px;
  transition: box-shadow .25s, transform .25s;
  box-shadow: var(--shadow-sm);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.card p  { font-size: .9rem; color: var(--gray-500); line-height: 1.6; }
.card-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }

/* ── STATS BAR ── */
.stats-bar {
  display: flex; flex-wrap: wrap;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.stat {
  flex: 1 1 150px; text-align: center;
  padding: 26px 12px; border-right: 1px solid var(--gray-100);
}
.stat:last-child { border-right: none; }
.stat-num   { font-size: 1.9rem; font-weight: 900; color: var(--green); }
.stat-label { font-size: .8rem; color: var(--gray-500); margin-top: 3px; font-weight: 500; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 130px 24px 64px;
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 60%, #40916C 100%);
  color: #fff; text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 14px;
}
.page-hero p {
  font-size: 1.05rem; color: rgba(255,255,255,.78); max-width: 540px;
  margin: 0 auto; line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: block; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .page-hero { padding: 100px 20px 50px; }
}
