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

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-card: rgba(255, 255, 255, 0.8);
  --border-card: rgba(0, 0, 0, 0.06);
  
  --accent-cyan: #0070f3; /* Azul eléctrico legible en fondo claro */
  --accent-cyan-glow: rgba(0, 112, 243, 0.15);
  --accent-green: #00875a; /* Verde esmeralda para excelente legibilidad */
  --accent-green-glow: rgba(0, 135, 90, 0.15);
  
  --text-main: #374151; /* Gris oscuro para el cuerpo de texto */
  --text-muted: #6b7280; /* Gris medio */
  --text-white: #111827; /* Casi negro para títulos */
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

/* Typography & General Classes */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--text-white);
  font-weight: 700;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #0070f3 0%, #00c6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  background: linear-gradient(135deg, #00875a 0%, #00c6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-btn {
  position: relative;
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--accent-cyan), #00c6ff);
  color: #ffffff;
  font-family: var(--font-title);
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 112, 243, 0.3);
  transition: var(--transition-smooth);
}

.glow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 112, 243, 0.4);
}

/* Glassmorphism containers in Light Theme */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: rgba(0, 112, 243, 0.15);
  box-shadow: 0 10px 30px rgba(0, 112, 243, 0.05);
}

/* Header Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-card);
  transition: var(--transition-smooth);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-cyan);
}

/* Hero Section with light gradient overlay */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.98)), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  padding: 40px 20px;
}

.hero-tagline {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-cyan);
  margin-bottom: 15px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
  color: var(--text-white);
}

.hero h1 span {
  font-weight: 800;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px auto;
}

/* Hero shortcut grid */
.hero-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px 60px 20px;
}

.shortcut-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 25px 20px;
  border-radius: 16px;
  cursor: pointer;
  text-decoration: none;
  background: var(--bg-card);
  transition: var(--transition-smooth);
}

.shortcut-card:hover {
  transform: translateY(-8px);
  background: rgba(0, 112, 243, 0.03);
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px rgba(0, 112, 243, 0.08);
}

.shortcut-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 112, 243, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: var(--accent-cyan);
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.shortcut-card:hover .shortcut-icon {
  background: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 112, 243, 0.3);
}

.shortcut-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-white);
}

.shortcut-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Section Common Styles */
section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--accent-cyan);
  font-family: var(--font-title);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-white);
}

/* Emprender Section */
.emprender-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.emprender-card {
  height: 100%;
}

.emprender-card-num {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.05);
  margin-bottom: 10px;
  line-height: 1;
  transition: var(--transition-smooth);
}

.emprender-card:hover .emprender-card-num {
  color: var(--accent-cyan);
}

.emprender-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-white);
}

.emprender-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Products Section (Whey & Creatina) */
.product-showcase {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.product-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.product-row.reverse {
  flex-direction: row-reverse;
}

.product-img-wrapper {
  flex: 1;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.product-img {
  width: 100%;
  display: block;
  transition: var(--transition-smooth);
  object-fit: cover;
  max-height: 400px;
}

.product-img-wrapper:hover .product-img {
  transform: scale(1.05);
}

.product-info {
  flex: 1.2;
}

.product-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(0, 135, 90, 0.08);
  color: var(--accent-green);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 15px;
}

.product-info h3 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--text-white);
}

.product-info p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.product-features {
  list-style: none;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.product-features li i {
  color: var(--accent-green);
}

/* Margenes Section */
.margenes-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.margenes-info {
  flex: 1.2;
}

.margin-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.stat-box {
  padding: 20px;
  background: rgba(0, 0, 0, 0.015);
  border: 1px solid var(--border-card);
  border-radius: 12px;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1.2;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.margenes-visual {
  flex: 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-card);
}

/* Proveedores Section */
.proveedores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.proveedor-card {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.proveedor-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-white);
}

.proveedor-location {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.proveedor-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.proveedor-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.specialty-tag {
  font-size: 0.7rem;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 4px;
  color: var(--text-main);
}

.suppliers-visual {
  max-width: 800px;
  margin: 40px auto 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-card);
}

/* Pros and Cons Section */
.pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.pros-panel h3 {
  color: var(--accent-green);
  font-size: 1.5rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cons-panel h3 {
  color: #d32f2f;
  font-size: 1.5rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pros-cons-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pros-cons-list li {
  display: flex;
  gap: 15px;
}

.pros-cons-list li i {
  font-size: 1.2rem;
  margin-top: 4px;
}

.pros-panel li i {
  color: var(--accent-green);
}

.cons-panel li i {
  color: #d32f2f;
}

.list-content h4 {
  font-size: 1.05rem;
  margin-bottom: 5px;
  color: var(--text-white);
}

.list-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA Footer section */
.cta-section {
  text-align: center;
  background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
  border-top: 1px solid var(--border-card);
  padding: 100px 20px;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--text-white);
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 40px;
}

footer {
  background: #f3f4f6;
  border-top: 1px solid var(--border-card);
  padding: 50px 20px;
  text-align: center;
}

footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-legal-links {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
}

.footer-legal-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-legal-links a:hover {
  color: var(--accent-cyan);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 150%);
  width: 90%;
  max-width: 600px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  padding: 24px;
  z-index: 10000;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translate(-50%, 0);
}

.cookie-banner h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: var(--text-white);
}

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 18px;
  line-height: 1.4;
}

.cookie-banner p a {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.cookie-btn.accept {
  background: var(--accent-cyan);
  color: #ffffff;
}

.cookie-btn.accept:hover {
  background: #005bb5;
}

.cookie-btn.decline {
  background: #f3f4f6;
  color: var(--text-main);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-btn.decline:hover {
  background: #e5e7eb;
}

/* Legal Pages Custom Layout (Simple clean article styling) */
.legal-container {
  max-width: 800px;
  margin: 140px auto 100px auto;
  padding: 0 20px;
}

.legal-header {
  margin-bottom: 40px;
  border-bottom: 2px dashed var(--border-card);
  padding-bottom: 20px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-white);
}

.legal-content p {
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: var(--text-main);
  text-align: justify;
}

.legal-content ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.legal-content li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
  background: var(--bg-secondary);
}

.faq-section > .section-header {
  margin-bottom: 50px;
}

.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 50px;
}

.faq-cat-btn {
  padding: 9px 22px;
  border-radius: 50px;
  border: 1px solid var(--border-card);
  background: var(--bg-primary);
  color: var(--text-muted);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.faq-cat-btn:hover,
.faq-cat-btn.active {
  background: var(--accent-cyan);
  color: #fff;
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 15px rgba(0, 112, 243, 0.25);
}

.faq-group {
  display: none;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-group.active {
  display: flex;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(0, 112, 243, 0.2);
  box-shadow: 0 4px 15px rgba(0, 112, 243, 0.04);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  gap: 15px;
  user-select: none;
}

.faq-question h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
  flex: 1;
  margin: 0;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 112, 243, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.faq-item.open .faq-icon {
  background: var(--accent-cyan);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
  padding: 0 24px 20px 24px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px dashed var(--border-card);
  padding-top: 16px;
  margin: 0;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
  .hero-shortcuts {
    grid-template-columns: repeat(2, 1fr);
  }
  .emprender-grid {
    grid-template-columns: 1fr;
  }
  .product-row, .product-row.reverse {
    flex-direction: column;
    gap: 40px;
  }
  .margenes-container {
    flex-direction: column;
    gap: 40px;
  }
  .proveedores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    position: sticky;
  }

  .navbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px 12px;
  }

  .logo {
    text-align: center;
    font-size: 1.35rem;
  }

  .nav-links {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    white-space: nowrap;
    font-size: 0.86rem;
  }

  section {
    padding: 72px 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
    background-attachment: scroll;
    background-position: center top;
  }

  .hero-content {
    padding: 34px 4px 28px;
  }

  .hero-tagline {
    max-width: 340px;
    margin: 0 auto 14px;
    font-size: 0.95rem;
    line-height: 1.45;
    letter-spacing: 0.2px;
    text-transform: none;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.12;
    letter-spacing: 0;
  }

  .hero-desc {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 28px;
  }

  .hero-shortcuts {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 0 42px;
  }

  .shortcut-card {
    padding: 22px 18px;
  }

  .section-header {
    margin-bottom: 42px;
  }

  .section-title {
    font-size: 2rem;
    line-height: 1.15;
  }

  .product-info h3 {
    font-size: 1.85rem;
  }

  .product-features li {
    align-items: flex-start;
  }

  .margin-stat-grid {
    grid-template-columns: 1fr;
  }

  .proveedores-grid {
    grid-template-columns: 1fr;
  }

  .pros-cons-grid {
    grid-template-columns: 1fr;
  }

  .faq-categories {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .faq-categories::-webkit-scrollbar {
    display: none;
  }

  .faq-cat-btn {
    white-space: nowrap;
  }

  .cta-box h2 {
    font-size: 2rem;
    line-height: 1.15;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    gap: 10px 18px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-tagline {
    max-width: 300px;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .glass-panel {
    padding: 24px 20px;
  }

  .product-row,
  .product-row.reverse,
  .margenes-container {
    gap: 28px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .faq-question {
    padding: 18px 18px;
  }

  .faq-answer p {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cookie-banner {
    bottom: 12px;
    padding: 20px;
  }

  .cookie-buttons {
    flex-direction: column-reverse;
  }

  .cookie-btn {
    width: 100%;
  }
}
