/* ==========================================================================
   LIC. FACUNDO PERUZZI | KINESIOLOGÍA & PERSONAL TRAINING CÓRDOBA
   Diseño Base HD (Boceto 04) - Reconstrucción Fiel sobre prueba02
   ========================================================================== */

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

:root {
  --bg-dark: #07080b;
  --bg-surface: #0e1118;
  --bg-card: rgba(19, 23, 34, 0.75);
  --bg-card-hover: rgba(28, 34, 50, 0.85);
  --bg-glass: rgba(14, 17, 24, 0.85);
  
  --primary: #e61935;
  --primary-hover: #ff2e4d;
  --primary-glow: rgba(230, 25, 53, 0.35);
  --whatsapp-green: #25D366;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-active: rgba(230, 25, 53, 0.45);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px var(--primary-glow);
}

*, *::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;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 25, 53, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; color: var(--text-main); }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 2; }

/* Real FP Logo Image */
.brand-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.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;
}

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

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(230, 25, 53, 0.12);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-full);
  color: var(--primary-hover);
  font-size: 0.85rem;
  font-weight: 700;
  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; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-link { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--text-main); }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: linear-gradient(135deg, var(--primary) 0%, #a80a1d 100%);
  color: #fff; font-weight: 700; font-size: 0.95rem; padding: 0.8rem 1.8rem;
  border-radius: var(--radius-full); border: none; cursor: pointer; box-shadow: 0 4px 20px var(--primary-glow);
  transition: var(--transition);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(230, 25, 53, 0.55); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: rgba(255, 255, 255, 0.03); color: var(--text-main); font-weight: 600; font-size: 0.95rem;
  padding: 0.8rem 1.8rem; border-radius: var(--radius-full); border: 1px solid var(--border);
  cursor: pointer; transition: var(--transition);
}

.btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--text-muted); }

.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { padding: 10.5rem 0 5rem; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
.hero-content h2 { font-size: 3.6rem; font-weight: 900; margin: 1.2rem 0; letter-spacing: -0.03em; }
.hero-content p.subtitle { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2.2rem; }

.hero-actions { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 3rem; }
.hero-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }

.stat-card { background: var(--bg-card); padding: 1.25rem; border-radius: var(--radius-md); border: 1px solid var(--border); }
.stat-number { font-size: 1.8rem; font-weight: 900; color: var(--primary-hover); font-family: var(--font-heading); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

.profile-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(9, 11, 16, 0.95) 100%);
  border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 2.2rem;
  text-align: center; box-shadow: var(--shadow);
}

.profile-img-container {
  width: 160px; height: 160px; margin: 0 auto 1.25rem; border-radius: 50%;
  padding: 4px; background: linear-gradient(135deg, var(--primary) 0%, #800010 100%);
  box-shadow: var(--shadow-glow);
}

.profile-img-container img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 50%; }

.profile-card h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.profile-card .tagline { color: var(--primary-hover); font-weight: 600; font-size: 0.9rem; margin-bottom: 1.25rem; }

.profile-locations { display: flex; flex-direction: column; gap: 0.75rem; background: rgba(255,255,255,0.03); padding: 1rem; border-radius: var(--radius-md); text-align: left; }
.loc-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; }

/* Services Section */
.services { padding: 5rem 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-header h2 { font-size: 2.5rem; margin: 0.75rem 0; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.service-card {
  background: var(--bg-card); backdrop-filter: blur(12px); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.2rem; transition: var(--transition);
  display: flex; flex-direction: column; justify-content: space-between;
}

.service-card:hover { border-color: var(--border-active); transform: translateY(-5px); }

.service-icon-box {
  width: 52px; height: 52px; background: rgba(230, 25, 53, 0.12); border: 1px solid var(--border-active);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  color: var(--primary-hover); margin-bottom: 1.25rem;
}

.service-card h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }

.service-features { list-style: none; margin-bottom: 1.5rem; }
.service-features li { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.5rem; }

/* Sedes */
.sedes-section { padding: 5rem 0; }
.sedes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.sede-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2.5rem; display: flex; flex-direction: column; justify-content: space-between; transition: var(--transition);
}

.sede-card:hover { border-color: var(--border-active); transform: translateY(-5px); }

/* Linktree Embedded */
.linktree-section { padding: 5rem 0; }
.linktree-box {
  max-width: 680px; margin: 0 auto; background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 3rem 2rem; text-align: center; box-shadow: var(--shadow);
}

.linktree-avatar img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; border: 3px solid var(--primary); }

.linktree-links { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.link-btn {
  display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); border-radius: var(--radius-md);
  font-weight: 600; font-size: 0.95rem; transition: var(--transition);
}

.link-btn:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); border-color: var(--text-muted); }
.link-btn.highlight { background: linear-gradient(135deg, var(--primary) 0%, #800010 100%); color: #fff; border: none; }

.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; }

.modal-backdrop {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px); z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; opacity: 0; pointer-events: none; transition: var(--transition);
}

.modal-backdrop.active { opacity: 1; pointer-events: all; }
.modal-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); width: 100%; max-width: 550px; padding: 2.5rem; position: relative; }
.modal-close { position: absolute; top: 1.25rem; right: 1.25rem; background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; }

.form-group { margin-bottom: 1.25rem; text-align: left; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.5rem; }
.form-control { width: 100%; padding: 0.85rem 1.1rem; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-main); font-size: 0.95rem; }

footer { padding: 4rem 0 2rem; border-top: 1px solid var(--border); background: #040507; color: var(--text-muted); font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }

@media (max-width: 992px) {
  .hero-grid, .services-grid, .sedes-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-content h2 { font-size: 2.75rem; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
}
