/* ==========================================================================
   LIC. FACUNDO PERUZZI | KINESIOLOGÍA & PERSONAL TRAINING CÓRDOBA
   Boceto 06 - Réplica de Rodri Bustos Fit (Neon Gold & Dark Theme + Day/Night)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg-dark: #0a0c10;
  --bg-surface: #121620;
  --bg-card: #181d2a;
  --bg-card-hover: #202738;
  --bg-glass: rgba(18, 22, 32, 0.88);
  
  /* Rodri Bustos Neon Gold Accent */
  --primary: #facc15;
  --primary-hover: #ffe033;
  --primary-glow: rgba(250, 204, 21, 0.35);
  --primary-dark: #ca8a04;
  --whatsapp-green: #25D366;
  
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --border: rgba(255, 255, 255, 0.1);
  --border-active: rgba(250, 204, 21, 0.5);
  
  --font-heading: 'Roboto Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 30px var(--primary-glow);
}

/* Light Theme Day Override */
[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --text-main: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --border-active: #eab308;
  --primary: #ca8a04;
  --primary-hover: #a16207;
  --primary-glow: rgba(202, 138, 4, 0.25);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg-dark: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.92);
    --text-main: #0f172a;
    --text-muted: #475569;
    --border: #e2e8f0;
    --border-active: #eab308;
    --primary: #ca8a04;
    --primary-hover: #a16207;
  }
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--text-main);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }

.text-gold { color: var(--primary); }

.bg-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--bg-glass); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 0.85rem 0;
}

.nav-container { display: flex; align-items: center; justify-content: space-between; }
.brand-logo-img { height: 46px; width: auto; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-link { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--primary); }

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text-main);
  border-radius: 50%; width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.15rem; transition: var(--transition);
}

.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: var(--primary); color: #0a0c10; font-weight: 900; font-size: 1rem;
  padding: 0.85rem 2.2rem; border-radius: var(--radius-full); border: none; cursor: pointer;
  box-shadow: 0 4px 25px var(--primary-glow); transition: var(--transition);
  text-transform: uppercase; font-family: var(--font-heading);
}

.btn-gold:hover { transform: translateY(-2px); background: var(--primary-hover); box-shadow: 0 8px 35px var(--primary-glow); }

.hero { padding: 10.5rem 0 5rem; background: radial-gradient(circle at 80% 20%, rgba(250, 204, 21, 0.12) 0%, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.hero-content h1 { font-size: 4rem; font-weight: 900; margin: 1.2rem 0; font-style: italic; }

.hero-img-box {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 2px solid var(--border-active); box-shadow: var(--shadow-glow);
}

.hero-img-box img { width: 100%; height: 500px; object-fit: cover; }

.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; margin-top: 3rem; }
.bento-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.2rem; transition: var(--transition);
}

.bento-card:hover { border-color: var(--border-active); transform: translateY(-5px); }
.col-12 { grid-column: span 12; }
.col-6  { grid-column: span 6; }
.col-4  { grid-column: span 4; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem 2rem; display: flex; flex-direction: column;
  justify-content: space-between; transition: var(--transition);
}

.pricing-card.featured { border-color: var(--primary); box-shadow: 0 0 35px var(--primary-glow); transform: scale(1.03); }

.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 99;
  width: 64px; height: 64px; background: var(--whatsapp-green); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45); transition: var(--transition);
}

.whatsapp-float svg { width: 36px; height: 36px; fill: #fff; }

footer { padding: 4rem 0 2rem; border-top: 1px solid var(--border); background: var(--bg-surface); text-align: center; color: var(--text-muted); }

@media (max-width: 992px) {
  .hero-grid, .pricing-grid { grid-template-columns: 1fr; }
  .col-12, .col-6, .col-4 { grid-column: span 12; }
  .hero-content h1 { font-size: 3rem; }
}
