/* ==========================================================================
   LIC. FACUNDO PERUZZI | KINESIOLOGÍA & PERSONAL TRAINING CÓRDOBA
   Propuesta Executive Light Studio (Boceto 05) - Clean Medical Architecture
   ========================================================================== */

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

:root {
  /* Light Executive Palette */
  --bg-light: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.88);
  
  /* Primary & Medical Accents */
  --primary: #d9142d;
  --primary-hover: #b90e24;
  --primary-subtle: rgba(217, 20, 45, 0.08);
  --secondary: #059669;
  --secondary-subtle: rgba(5, 150, 105, 0.08);
  --accent-gold: #d97706;
  --whatsapp-green: #25D366;
  
  /* Typography Colors */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  
  /* Borders & Shadows */
  --border: #e2e8f0;
  --border-focus: rgba(217, 20, 45, 0.35);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.09);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

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-gradient {
  background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1.1rem;
  background: var(--primary-subtle);
  border: 1px solid rgba(217, 20, 45, 0.2);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.bg-badge-green {
  background: var(--secondary-subtle);
  border-color: rgba(5, 150, 105, 0.2);
  color: var(--secondary);
}

.bg-badge-gold {
  background: rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.2);
  color: var(--accent-gold);
}

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

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

/* 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.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: 2rem; 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); }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: var(--primary); color: #ffffff; font-weight: 700; font-size: 0.95rem;
  padding: 0.85rem 2rem; border-radius: var(--radius-full); border: none; cursor: pointer;
  box-shadow: 0 8px 20px rgba(217, 20, 45, 0.25); transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-hover); transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(217, 20, 45, 0.35);
}

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: var(--bg-surface); color: var(--text-main); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 2rem; border-radius: var(--radius-full); border: 1px solid var(--border);
  cursor: pointer; transition: var(--transition); box-shadow: var(--shadow-sm);
}

.btn-outline:hover { background: var(--bg-subtle); border-color: var(--text-muted); transform: translateY(-2px); }

/* Hero Section */
.hero {
  padding: 10rem 0 5rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 900;
  margin: 1.2rem 0;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.hero-content p.subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  max-width: 600px;
}

.hero-actions { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 3rem; flex-wrap: wrap; }

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.hero-floating-badge img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

/* Bento Grid Architecture (Light Mode P2) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.col-12 { grid-column: span 12; }
.col-8  { grid-column: span 8; }
.col-6  { grid-column: span 6; }
.col-4  { grid-column: span 4; }

.bento-icon-wrapper {
  width: 56px;
  height: 56px;
  background: var(--primary-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

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

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--bg-surface);
  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);
  box-shadow: var(--shadow-sm);
}

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

.pricing-card:hover { transform: translateY(-5px); }

.pricing-header h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.pricing-header p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.pricing-tag { font-size: 1.8rem; font-weight: 900; color: var(--primary); margin-bottom: 1.5rem; font-family: var(--font-heading); }

.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.6rem; }

/* Lead Magnet Box */
.lead-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
}

.lead-content h3 { font-size: 2.4rem; margin-bottom: 1rem; }
.lead-content p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1.75rem; }

/* Floating WhatsApp Button */
.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:hover { transform: scale(1.1); box-shadow: 0 15px 40px rgba(37, 211, 102, 0.65); }
.whatsapp-float svg { width: 36px; height: 36px; fill: #fff; }

/* Modal */
.modal-backdrop {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(8px);
  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; box-shadow: var(--shadow-lg);
}

.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-main); margin-bottom: 0.5rem; }

.form-control {
  width: 100%; padding: 0.85rem 1.1rem; background: var(--bg-light);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  color: var(--text-main); font-family: var(--font-body); font-size: 0.95rem;
}

.form-control:focus { outline: none; border-color: var(--primary); }

footer {
  padding: 4rem 0 2rem; border-top: 1px solid var(--border);
  background: var(--bg-surface); 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 var(--border); }

@media (max-width: 992px) {
  .hero-grid, .pricing-grid, .footer-grid, .lead-box { grid-template-columns: 1fr; }
  .col-12, .col-8, .col-6, .col-4 { grid-column: span 12; }
  .hero-content h1 { font-size: 2.8rem; }
  .nav-links { display: none; }
}
