/* ==========================================================================
   LIC. FACUNDO PERUZZI | KINESIOLOGÍA & PERSONAL TRAINING CÓRDOBA
   Boceto 09 - 100% SVG Vector Icons (Sin Emojis) + Bar Social (IG, FB, Linktree, WA)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,700;0,800;0,900;1,700;1,800&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.94);
  
  /* Accent Colors: Neon Gold + FP Brand Red */
  --primary: #facc15;
  --primary-hover: #ffe033;
  --primary-glow: rgba(250, 204, 21, 0.35);
  --primary-dark: #ca8a04;
  --brand-red: #ff2a3b;
  --brand-red-glow: rgba(255, 42, 59, 0.3);
  --btn-text: #0a0c10;
  --whatsapp-green: #25D366;
  --instagram-pink: #e1306c;
  --facebook-blue: #1877f2;
  --linktree-green: #43e660;
  
  --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: 12px;
  --radius-lg: 18px;
  --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 Override */
[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --text-main: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --border-active: #eab308;
  --primary: #ca8a04;
  --primary-hover: #a16207;
  --primary-glow: rgba(202, 138, 4, 0.25);
  --btn-text: #ffffff;
}

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

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

section[id] { scroll-margin-top: 80px; }

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

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

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

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

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

/* SVG Vector Icons */
.svg-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.4rem;
}

.svg-icon-lg { width: 28px; height: 28px; }

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

.bg-slogan-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(250, 204, 21, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  margin: 1rem auto;
  max-width: 520px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.1);
}

[data-theme="light"] .bg-slogan-box {
  background: rgba(202, 138, 4, 0.08);
  border: 1px solid rgba(202, 138, 4, 0.25);
  border-left: 4px solid var(--primary-dark);
}

/* Navbar */
.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.7rem 0;
}

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

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

.mobile-toggle { display: none; background: none; border: none; color: var(--text-main); font-size: 1.4rem; cursor: pointer; }

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

.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--primary); color: var(--btn-text); font-weight: 900; font-size: 0.92rem;
  padding: 0.85rem 1.8rem; border-radius: var(--radius-full); border: none; cursor: pointer;
  box-shadow: 0 4px 20px 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 30px var(--primary-glow); }

.btn-hero-lg {
  width: 100%;
  max-width: 460px;
  font-size: 1.05rem;
  padding: 1.05rem 1.8rem;
  box-shadow: 0 6px 30px var(--primary-glow);
}

/* Social Media Bar (Botonera Redes Sociales en SVG) */
.social-icons-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 1.15rem 0;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn .svg-icon { margin-right: 0; width: 22px; height: 22px; }

.social-btn:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 6px 20px var(--primary-glow);
  color: var(--primary);
}

.social-btn.instagram:hover { color: var(--instagram-pink); border-color: var(--instagram-pink); box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4); }
.social-btn.facebook:hover { color: var(--facebook-blue); border-color: var(--facebook-blue); box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4); }
.social-btn.linktree:hover { color: var(--linktree-green); border-color: var(--linktree-green); box-shadow: 0 6px 20px rgba(67, 230, 96, 0.4); }
.social-btn.whatsapp:hover { color: var(--whatsapp-green); border-color: var(--whatsapp-green); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }

/* Hero Section */
.hero { padding: 6rem 0 3rem; background: radial-gradient(circle at 50% 10%, rgba(250, 204, 21, 0.1) 0%, transparent 65%); text-align: center; }

.hero-photo-wrapper {
  width: 100%;
  max-width: 440px;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-active);
  box-shadow: var(--shadow-glow);
}

.hero-photo-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-cta-box { margin: 0.85rem 0 1.25rem; }

.hero-content { max-width: 780px; margin: 0 auto; }
.hero-content h1 { font-size: clamp(1.85rem, 5vw, 3rem); font-weight: 900; font-style: italic; }
.hero-subhead { font-size: 1rem; color: var(--text-muted); margin-bottom: 1rem; }

/* Sections */
.section-padding { padding: 3rem 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 2rem; }
.section-header h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-top: 0.4rem; }
.section-header p { color: var(--text-muted); font-size: 0.95rem; }

/* Acordeón Interactivo */
.accordion-group { display: flex; flex-direction: column; gap: 0.85rem; max-width: 780px; margin: 0 auto; }

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active {
  border-color: var(--border-active);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.accordion-header {
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
}

.accordion-header-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.accordion-header:hover { color: var(--primary); }

.accordion-icon {
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 0.75rem;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: var(--btn-text);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
  background: rgba(10, 12, 16, 0.4);
}

.accordion-item.active .accordion-body {
  max-height: 1200px;
  transition: max-height 0.4s ease-in-out;
}

.accordion-content {
  padding: 1.2rem 1.25rem 1.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.accordion-content p { margin-bottom: 0.85rem; line-height: 1.55; }
.accordion-content p:last-child { margin-bottom: 0; }

.service-bullets { list-style: none; margin: 0.85rem 0; color: var(--text-main); }
.service-bullets li { position: relative; padding-left: 1.3rem; margin-bottom: 0.4rem; font-size: 0.88rem; }
.service-bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

/* Sedes Card */
.sede-card {
  background: var(--bg-card); border: 1px solid var(--border-active);
  border-radius: var(--radius-lg); padding: 1.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
}
.sede-info h3 { font-size: 1.35rem; color: var(--primary); margin-bottom: 0.4rem; }

/* Proof Grid */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.proof-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.1rem; font-style: italic; font-size: 0.88rem;
  border-left: 3px solid var(--primary);
}
.proof-author { font-style: normal; font-weight: 700; font-size: 0.82rem; color: var(--primary); margin-top: 0.6rem; }

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 99;
  width: 56px; height: 56px; background: var(--whatsapp-green); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45); transition: var(--transition);
}
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }

/* Modal */
.modal-backdrop {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 1.25rem; opacity: 0; pointer-events: none; transition: var(--transition);
}
.modal-backdrop.active { opacity: 1; pointer-events: all; }
.modal-card {
  background: var(--bg-card); border: 1px solid var(--border-active);
  border-radius: var(--radius-lg); width: 100%; max-width: 500px;
  padding: 1.75rem; position: relative; box-shadow: var(--shadow-glow);
}
.modal-card h3 { color: var(--primary); font-size: 1.35rem; margin-bottom: 0.4rem; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.modal-close .svg-icon { margin-right: 0; }
.form-group { margin-bottom: 1rem; text-align: left; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.4rem; }
.form-control {
  width: 100%; padding: 0.75rem 1rem; background: var(--bg-dark);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  color: var(--text-main); font-family: var(--font-body); font-size: 0.9rem;
}

footer { padding: 2.5rem 0 1.5rem; border-top: 1px solid var(--border); background: var(--bg-surface); text-align: center; color: var(--text-muted); font-size: 0.85rem; }

/* Responsive Breakpoints & Mobile Optimization */
@media (max-width: 992px) {
  .proof-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: fixed; top: 0; right: 0;
    width: min(300px, 80vw); height: 100vh;
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 1.2rem; background: var(--bg-card); padding: 5rem 1.8rem 2rem;
    box-shadow: var(--shadow-glow); z-index: 99;
  }
  .nav-links.active { display: flex; z-index: 105; }
  .nav-links a, .nav-links .btn-gold { width: 100%; text-align: left; justify-content: flex-start; }
  .mobile-toggle { display: flex; z-index: 110; }
}

@media (max-width: 640px) {
  .hero { padding: 5rem 0 2rem; }
  .hero-photo-wrapper { max-width: 100%; }
  .btn-gold { font-size: 0.88rem; padding: 0.8rem 1.2rem; }
  .sede-card { flex-direction: column; text-align: center; }
  .sede-card .btn-gold { width: 100%; }
}
