@import url('https://fonts.googleapis.com/css2?family=Anton&family=Montserrat:ital,wght@0,300;0,400;0,600;0,800;1,400&display=swap');

:root {
  /* Color Palette */
  --color-black: #050505;
  --color-dark-gray: #1a1a1a;
  --color-light-gray: #333333;
  --color-gold: #c5a059;
  --color-crimson: #d91c1c;
  --color-white: #f5f5f5;

  /* Typography */
  --font-header: 'Anton', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  /* Spacing */
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-xxl: 8rem;

  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
}

/* Reset & Basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-black);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-header);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Typography Utilities */
.text-gold {
  color: var(--color-gold);
}

.text-crimson {
  color: var(--color-crimson);
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-header);
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-primary {
  background-color: var(--color-crimson);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: transparent;
  border-color: var(--color-crimson);
  color: var(--color-crimson);
  box-shadow: 0 0 15px rgba(217, 28, 28, 0.5);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn-outline:hover {
  background-color: var(--color-gold);
  color: var(--color-black);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.5);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  background-color: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-light-gray);
  transition: background-color var(--transition-normal);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-header);
  font-size: 1.8rem;
  color: var(--color-white);
  letter-spacing: 1px;
  z-index: 1002;
}

.logo span {
  color: var(--color-crimson);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--color-gold);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-white);
  margin: 5px 0;
  transition: all var(--transition-fast);
}

/* Mobile Side Drawer Navigation */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 998;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background-color: #0c0c0c;
    border-left: 2px solid var(--color-crimson);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.2rem;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.9);
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.8rem;
  }

  .nav-links a {
    font-size: 1.1rem;
    display: block;
    width: 100%;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* Sections General */
section {
  padding: var(--space-xl) 0;
  scroll-margin-top: 90px;
}

.section-title {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60%;
  height: 4px;
  background-color: var(--color-crimson);
}

.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(to right, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.4) 100%), url('../assets/images/manuel1.jpg') center/cover no-repeat;
  padding-top: 80px;
  /* Offset for navbar */
}

.hero-content {
  max-width: 800px;
  animation: fadeIn 1s ease-out forwards;
}

.hero-subtitle {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  display: block;
}

.hero-title {
  font-size: 5rem;
  margin-bottom: var(--space-md);
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-title span {
  color: var(--color-crimson);
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  color: #ccc;
  max-width: 600px;
}

/* Quick Bio / Stats */
.stats-section {
  background-color: var(--color-dark-gray);
  border-top: 2px solid var(--color-crimson);
  border-bottom: 2px solid var(--color-crimson);
  padding: var(--space-lg) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  color: #aaa;
}

/* Online Coaching Section */
.coaching {
  background-color: var(--color-black);
  position: relative;
}

.coaching-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.coaching-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.coaching-features {
  list-style: none;
  margin: 2rem 0;
}

.coaching-features li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.coaching-features li::before {
  content: '✓';
  color: var(--color-crimson);
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.5rem;
}

.coaching-image-wrapper {
  position: relative;
}

.coaching-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--color-gold);
  z-index: 0;
}

.coaching-image {
  position: relative;
  z-index: 1;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 600px;
  background-color: var(--color-dark-gray);
  /* Placeholder for JS generation */
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-header);
  color: var(--color-light-gray);
  font-size: 2rem;
}

/* Footer */
.footer {
  background-color: var(--color-dark-gray);
  padding: var(--space-xl) 0 2rem;
  border-top: 1px solid var(--color-light-gray);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-header);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #aaa;
}

.footer-links h4,
.footer-social h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--color-gold);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a:hover {
  color: var(--color-crimson);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-light-gray);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.social-icons a:hover {
  background-color: var(--color-crimson);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-light-gray);
  color: #777;
  font-size: 0.9rem;
}

/* Gallery / Trayectoria */
.gallery-section {
  padding-top: 120px;
  /* Offset for navbar */
  min-height: 80vh;
}

.gallery-header {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-header p {
  color: #aaa;
  max-width: 600px;
  margin: 0 auto;
}

.gallery-grid {
  column-count: 3;
  column-gap: 1.5rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  background-color: var(--color-light-gray);
  /* Placeholder background */
}

/* Placeholder aspect ratios since we don't have all images */
.gallery-item.tall {
  aspect-ratio: 3/4;
}

.gallery-item.wide {
  aspect-ratio: 16/9;
}

.gallery-item.square {
  aspect-ratio: 1/1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.gallery-caption h4 {
  color: var(--color-gold);
  font-family: var(--font-header);
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.gallery-caption p {
  font-size: 0.9rem;
  color: var(--color-white);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .gallery-grid {
    column-count: 2;
  }

  .coaching-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 4rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

/* ==========================================
   New Premium Technology & Onboarding Guide
   ========================================== */

/* Glassmorphism base */
.glass-panel {
  background: rgba(26, 26, 26, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 160, 89, 0.15);
  border-radius: 8px;
}

/* Technology Section */
.technology-section {
  background-color: var(--color-dark-gray);
  border-top: 1px solid var(--color-light-gray);
  border-bottom: 1px solid var(--color-light-gray);
  position: relative;
}

.tech-header {
  margin-bottom: var(--space-xl);
}

.tech-subtitle {
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-top: -1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.tech-intro {
  max-width: 700px;
  margin: 0 auto;
  color: #ccc;
  font-size: 1.1rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.tech-card {
  background: rgba(5, 5, 5, 0.4);
  border: 1px solid var(--color-light-gray);
  padding: 3rem 2rem;
  border-radius: 8px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tech-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold);
  box-shadow: 0 10px 30px rgba(197, 160, 89, 0.1);
  background: rgba(5, 5, 5, 0.8);
}

.tech-icon {
  margin-bottom: 1.5rem;
  background: rgba(197, 160, 89, 0.1);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.tech-card:hover .tech-icon {
  transform: scale(1.1);
  background: rgba(197, 160, 89, 0.2);
}

.tech-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.tech-card p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Guide Onboarding Section */
.guide-section {
  padding-top: 140px;
  background: radial-gradient(circle at top, rgba(217, 28, 28, 0.08) 0%, rgba(5, 5, 5, 1) 70%);
  min-height: 100vh;
}

.guide-header {
  margin-bottom: var(--space-xl);
}

.guide-intro {
  max-width: 700px;
  margin: 0 auto;
  color: #ccc;
  font-size: 1.2rem;
}

.guide-steps-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.guide-step-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  background: rgba(26, 26, 26, 0.4);
  border: 1px solid var(--color-light-gray);
  border-radius: 8px;
  padding: 2.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.guide-step-card:hover,
.guide-step-card.active {
  background: rgba(26, 26, 26, 0.85);
  border-color: var(--color-crimson);
  box-shadow: 0 10px 25px rgba(217, 28, 28, 0.08);
  transform: translateX(10px);
}

.step-num {
  font-family: var(--font-header);
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.15);
  transition: color var(--transition-normal);
  line-height: 1;
}

.guide-step-card:hover .step-num,
.guide-step-card.active .step-num {
  color: var(--color-crimson);
}

.step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
  letter-spacing: 1px;
}

.step-content h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--color-white);
}

.step-content p {
  color: #ccc;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* App Download Badges */
.app-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--color-black);
  border: 1px solid var(--color-light-gray);
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  font-family: var(--font-header);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-normal);
}

.app-btn:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

/* Guide Callout */
.guide-callout {
  max-width: 900px;
  margin: 4rem auto 0;
  padding: 3rem;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 2rem;
  align-items: center;
}

.callout-icon {
  background: rgba(217, 28, 28, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.callout-text h3 {
  font-size: 1.4rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.callout-text p {
  color: #ccc;
  font-size: 1rem;
}

/* Home Section Overrides */
.coaching-image {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(5, 5, 5, 0.95) 100%);
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.quote-text {
  font-size: 1.8rem;
  text-align: center;
  padding: 2rem;
  color: var(--color-gold);
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  font-family: var(--font-body);
}

.gallery-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.gallery-placeholder-label {
  color: rgba(255, 255, 255, 0.25);
  font-family: var(--font-header);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-item:hover .gallery-item-placeholder {
  transform: scale(1.05);
}

/* Responsive Overrides for new elements */
@media (max-width: 768px) {
  .guide-step-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem;
  }

  .guide-callout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem;
  }

  .callout-icon {
    margin: 0 auto;
  }
}

/* ==========================================
   New Landing Page Sections Styling
   ========================================== */

/* Section Headers & Tags */
.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-header.center {
  text-align: center;
}

.section-subtitle {
  color: #aaa;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0.5rem auto 0;
}

.section-title-clean {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  line-height: 1;
}

/* Hero Badge */
.hero-badge {
  display: inline-block;
  background: rgba(217, 28, 28, 0.15);
  border: 1px solid var(--color-crimson);
  color: var(--color-crimson);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  margin-bottom: 1.2rem;
}

/* Quién es Manuel Section */
.about-manuel-section {
  background-color: var(--color-dark-gray);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  border: 2px solid var(--color-light-gray);
}

.about-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.about-stat-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(5, 5, 5, 0.9);
  border: 1px solid var(--color-gold);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.about-stat-badge .stat-num {
  display: block;
  font-family: var(--font-header);
  font-size: 2.2rem;
  color: var(--color-gold);
  line-height: 1;
}

.about-stat-badge .stat-lbl {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #ccc;
  font-weight: 600;
  letter-spacing: 1px;
}

.credentials-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.pill-tag {
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 20px;
}

.experience-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(5, 5, 5, 0.5);
  border: 1px solid var(--color-light-gray);
  border-left: 4px solid var(--color-crimson);
  padding: 1.2rem 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
}

.exp-icon {
  color: var(--color-crimson);
  display: flex;
  align-items: center;
}

.exp-info strong {
  display: block;
  color: var(--color-white);
  font-size: 1rem;
}

.exp-info p {
  color: #aaa;
  font-size: 0.95rem;
  margin: 0;
}

.about-approach-text {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.8;
}

/* Propuesta de Valor Section */
.value-prop-section {
  background-color: var(--color-black);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-card {
  display: flex;
  gap: 1.5rem;
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid var(--color-light-gray);
  padding: 2rem;
  border-radius: 8px;
  transition: all var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-crimson);
  box-shadow: 0 10px 25px rgba(217, 28, 28, 0.1);
  background: rgba(26, 26, 26, 0.9);
}

.value-number {
  font-family: var(--font-header);
  font-size: 2.2rem;
  color: var(--color-crimson);
  line-height: 1;
}

.value-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.value-content p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Objetivos Section */
.objectives-section {
  background: linear-gradient(180deg, var(--color-dark-gray) 0%, var(--color-black) 100%);
  border-top: 1px solid var(--color-light-gray);
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.objective-card {
  background: rgba(15, 15, 15, 0.8);
  border: 1px solid var(--color-light-gray);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  text-align: center;
  transition: all var(--transition-normal);
}

.objective-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold);
  box-shadow: 0 12px 30px rgba(197, 160, 89, 0.12);
  background: rgba(26, 26, 26, 0.95);
}

.objective-icon {
  width: 70px;
  height: 70px;
  background: rgba(197, 160, 89, 0.1);
  color: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform var(--transition-normal);
}

.objective-card:hover .objective-icon {
  transform: scale(1.1);
  background: rgba(197, 160, 89, 0.2);
}

.objective-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--color-white);
}

.objective-card p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Cómo Funciona Section */
.how-it-works-section {
  background-color: var(--color-black);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.step-card {
  background: rgba(26, 26, 26, 0.5);
  border: 1px solid var(--color-light-gray);
  border-top: 3px solid var(--color-crimson);
  padding: 2.5rem 1.8rem;
  border-radius: 8px;
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-5px);
  background: rgba(26, 26, 26, 0.9);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.step-badge-num {
  font-family: var(--font-header);
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.15);
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
}

.step-card:hover .step-badge-num {
  color: var(--color-crimson);
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--color-white);
}

.step-desc {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Modalidades de Asesoría / Planes Section */
.plans-section {
  background: radial-gradient(circle at center top, rgba(217, 28, 28, 0.06) 0%, var(--color-black) 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6rem 0;
}

.pricing-cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto 5rem;
  align-items: stretch;
}

.pricing-card {
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 28, 28, 0.5);
  box-shadow: 0 20px 40px rgba(217, 28, 28, 0.15);
}

/* Featured / Presencial Card */
.pricing-card-featured {
  background: linear-gradient(145deg, rgba(28, 20, 20, 0.95) 0%, rgba(14, 14, 14, 0.98) 100%);
  border: 2px solid var(--color-crimson);
  transform: scale(1.04);
  box-shadow: 0 15px 45px rgba(217, 28, 28, 0.25);
}

.pricing-card-featured:hover {
  transform: scale(1.06) translateY(-8px);
  box-shadow: 0 25px 50px rgba(217, 28, 28, 0.35);
}

/* Badge 'Más elegida' */
.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #d91c1c 0%, #b01414 100%);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(217, 28, 28, 0.4);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.badge-star {
  color: #ffda6a;
}

.pricing-card-header {
  margin-bottom: 1.5rem;
}

.pricing-card-title {
  font-family: var(--font-header);
  font-size: 2.2rem;
  color: var(--color-white);
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.pricing-card-desc {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.6;
  min-height: 3rem;
}

.pricing-card-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.price-amount {
  font-family: var(--font-header);
  font-size: 3rem;
  color: var(--color-white);
  letter-spacing: 1px;
  line-height: 1;
}

.pricing-card-featured .price-amount {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.price-period {
  font-size: 1.1rem;
  color: #888;
  font-weight: 500;
}

.pricing-card-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.05) 100%);
  margin-bottom: 2rem;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: #ddd;
  font-size: 0.95rem;
  line-height: 1.4;
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 28, 28, 0.15);
  color: var(--color-crimson);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card-featured .check-icon {
  background: rgba(217, 28, 28, 0.25);
  color: #ff4d4d;
}

.pricing-card-action {
  margin-top: auto;
}

.pricing-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.1rem 1.5rem;
  font-size: 1.05rem;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-glow {
  box-shadow: 0 6px 20px rgba(217, 28, 28, 0.4);
}

.btn-glow:hover {
  box-shadow: 0 10px 30px rgba(217, 28, 28, 0.6);
  transform: translateY(-2px);
}

.btn-outline-red {
  background: transparent;
  border: 2px solid var(--color-crimson);
  color: var(--color-white);
}

.btn-outline-red:hover {
  background: var(--color-crimson);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(217, 28, 28, 0.3);
  transform: translateY(-2px);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.pricing-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Schedule Info Section */
.schedule-info-section {
  max-width: 900px;
  margin: 2rem auto 0;
  background: rgba(14, 14, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  backdrop-filter: blur(8px);
}

.schedule-header {
  margin-bottom: 2rem;
}

.schedule-title {
  font-family: var(--font-header);
  font-size: 2rem;
  color: var(--color-white);
  letter-spacing: 1px;
}

.schedules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  margin-bottom: 2rem;
}

.schedule-card {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--color-crimson);
  border-radius: 12px;
  padding: 1.5rem 1.8rem;
  transition: all 0.3s ease;
}

.schedule-card:hover {
  background: rgba(32, 32, 32, 0.9);
  border-color: rgba(217, 28, 28, 0.4);
  transform: translateY(-3px);
}

.schedule-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.schedule-card-icon {
  color: var(--color-crimson);
  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule-location-name {
  font-family: var(--font-header);
  font-size: 1.2rem;
  color: var(--color-white);
  letter-spacing: 0.5px;
}

.schedule-details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.schedule-detail-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #bbb;
}

.schedule-detail-row.highlight-time {
  color: var(--color-gold);
  font-weight: 600;
}

.schedule-note-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(197, 160, 89, 0.06);
  border: 1px dashed rgba(197, 160, 89, 0.3);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  color: var(--color-gold);
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
}

/* Responsive Overrides for Pricing Section */
@media (max-width: 992px) {
  .pricing-cards-container {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 3rem;
  }

  .pricing-card-featured {
    transform: none;
  }

  .pricing-card-featured:hover {
    transform: translateY(-8px);
  }

  .pricing-card-desc {
    min-height: auto;
  }
}

@media (max-width: 576px) {
  .plans-section {
    padding: 4rem 0;
  }

  .pricing-card {
    padding: 2.2rem 1.5rem;
    border-radius: 16px;
  }

  .pricing-card-title {
    font-size: 1.8rem;
  }

  .price-amount {
    font-size: 2.5rem;
  }

  .schedule-info-section {
    padding: 2rem 1.2rem;
    border-radius: 16px;
  }

  .schedule-note-box {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgba(217, 28, 28, 0.15) 0%, rgba(5, 5, 5, 1) 100%);
  padding: var(--space-xxl) 0;
}

.cta-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: rgba(15, 15, 15, 0.8);
  border: 1px solid var(--color-crimson);
  padding: 4rem 3rem;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.cta-title {
  font-size: 3.5rem;
  margin-bottom: 1.2rem;
  color: var(--color-white);
}

.cta-text {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  font-size: 1.3rem;
  padding: 1.2rem 3rem;
}

/* Navbar CTA Highlight */
.nav-btn-highlight {
  background: var(--color-crimson);
  color: var(--color-white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.nav-btn-highlight:hover {
  background: var(--color-gold);
  color: var(--color-black) !important;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-img {
    height: 400px;
  }

  .plan-card.featured {
    transform: none;
  }
}

@media (max-width: 576px) {
  .section-title-clean {
    font-size: 2.5rem;
  }

  .cta-title {
    font-size: 2.4rem;
  }

  .cta-card {
    padding: 2.5rem 1.5rem;
  }
}

/* ==========================================
   Sección de Información de Pago (/informacion-pago)
   ========================================== */

.pago-section {
  padding-top: 140px;
  padding-bottom: 6rem;
  background: radial-gradient(circle at top center, rgba(217, 28, 28, 0.08) 0%, var(--color-black) 75%);
  min-height: 100vh;
}

.pago-header {
  margin-bottom: 3.5rem;
}

.pago-security-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  margin-bottom: 1.2rem;
}

.pago-subtitle {
  color: #ccc;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0.8rem auto 0;
  line-height: 1.6;
}

.pago-content-grid {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Tarjeta Elegante de Datos Bancarios */
.bank-card {
  background: linear-gradient(145deg, rgba(26, 26, 26, 0.95) 0%, rgba(12, 12, 12, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--color-crimson);
  border-radius: 20px;
  padding: 2.8rem 2.5rem;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(217, 28, 28, 0.08);
  overflow: hidden;
}

.bank-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(217, 28, 28, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.bank-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.bank-data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.bank-data-row:last-child {
  margin-bottom: 0;
}

.bank-data-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.data-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  font-weight: 600;
}

.data-value {
  font-family: var(--font-header);
  letter-spacing: 1px;
  color: var(--color-white);
}

.bank-name-highlight {
  font-size: 2.2rem;
  color: var(--color-gold);
}

.card-number-highlight {
  font-size: 1.8rem;
  letter-spacing: 2px;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.bank-card-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 50%, transparent 100%);
  margin: 1.5rem 0;
}

/* Botones independientes de copiar */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.copy-btn:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-black);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
}

.copy-btn.copied {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
  transform: scale(1.05);
}

/* Bloque de Pasos Siguientes */
.pago-steps-card {
  background: rgba(18, 18, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.2rem 2rem;
}

.steps-card-title {
  font-family: var(--font-header);
  font-size: 1.5rem;
  color: var(--color-white);
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.pago-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.pago-step-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(26, 26, 26, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 1.4rem;
  border-radius: 12px;
}

.pago-step-badge {
  font-family: var(--font-header);
  font-size: 1.3rem;
  color: var(--color-crimson);
  background: rgba(217, 28, 28, 0.15);
  border: 1px solid rgba(217, 28, 28, 0.3);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pago-step-text {
  color: #ddd;
  font-size: 1.02rem;
  font-weight: 500;
}

/* Botón CTA Principal */
.pago-cta-wrapper {
  margin: 0.5rem 0;
}

.btn-pago-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  font-size: 1.15rem;
  font-weight: 800;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(217, 28, 28, 0.4);
  transition: all 0.3s ease;
}

.btn-pago-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(217, 28, 28, 0.6);
}

/* Apartado de Ayuda */
.pago-help-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: rgba(26, 26, 26, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  padding: 1.8rem 2rem;
  border-radius: 16px;
}

.help-title {
  font-family: var(--font-header);
  font-size: 1.3rem;
  color: var(--color-gold);
  margin-bottom: 0.3rem;
}

.help-desc {
  color: #aaa;
  font-size: 0.95rem;
  margin: 0;
}

.btn-pago-help {
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  border-radius: 10px;
  white-space: nowrap;
}

/* Toast de Confirmación */
.pago-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0f2b1d;
  border: 1px solid #10b981;
  color: #a7f3d0;
  padding: 1rem 1.8rem;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pago-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive pago rules */
@media (max-width: 768px) {
  .pago-section {
    padding-top: 110px;
  }

  .bank-card {
    padding: 2rem 1.5rem;
  }

  .bank-data-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .copy-btn {
    width: 100%;
    justify-content: center;
  }

  .card-number-highlight {
    font-size: 1.35rem;
    word-break: break-all;
  }

  .pago-help-card {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }

  .btn-pago-help {
    width: 100%;
    text-align: center;
  }

  .pago-toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   CENTRO DE RECURSOS (Panel Interno)
   ========================================================================== */

.recursos-section {
  padding-top: 130px;
  padding-bottom: 80px;
  min-height: 85vh;
  background: radial-gradient(circle at 50% 0%, rgba(217, 28, 28, 0.08) 0%, rgba(5, 5, 5, 1) 70%);
}

.recursos-header {
  margin-bottom: 2.5rem;
}

.recursos-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.recursos-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.recursos-subtitle {
  color: #aaaaaa;
  font-size: 1.05rem;
  max-width: 650px;
  margin-top: 0.6rem;
  line-height: 1.6;
}

.recursos-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-update-recursos {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  border-radius: 6px;
  background: rgba(197, 160, 89, 0.05);
  border-color: var(--color-gold);
  color: var(--color-gold);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-update-recursos:hover {
  background: var(--color-gold);
  color: var(--color-black);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
}

.btn-update-recursos.loading .refresh-icon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Barra de Filtro y Búsqueda */
.recursos-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #111111;
  border: 1px solid #282828;
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  gap: 0.8rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input-wrapper:focus-within {
  border-color: var(--color-gold);
  box-shadow: 0 0 12px rgba(197, 160, 89, 0.2);
}

.search-input-wrapper svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

.search-input-wrapper input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
}

.search-input-wrapper input::placeholder {
  color: #666666;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.category-pill {
  background: #181818;
  border: 1px solid #333333;
  color: #aaaaaa;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-pill:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.category-pill.active {
  background: var(--color-crimson);
  border-color: var(--color-crimson);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 28, 28, 0.4);
}

/* Grid de Tarjetas */
.recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
}

.recurso-card {
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.recurso-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 160, 89, 0.4);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.recurso-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.recurso-card-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}

.recurso-category-badge {
  background: rgba(217, 28, 28, 0.15);
  color: #ff5252;
  border: 1px solid rgba(217, 28, 28, 0.3);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.recurso-card-desc {
  color: #aaaaaa;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  line-height: 1.5;
  flex-grow: 1;
}

.recurso-value-container {
  margin-bottom: 1.2rem;
}

.recurso-value-field {
  width: 100%;
  background: #080808;
  border: 1px solid #252525;
  border-radius: 8px;
  color: var(--color-gold);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.recurso-value-field:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.2);
}

.recurso-value-field.multiline {
  resize: vertical;
  min-height: 85px;
  line-height: 1.4;
}

.recurso-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.recurso-tag {
  font-size: 0.75rem;
  color: #888888;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.recurso-card-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
}

.btn-copy {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-crimson);
  color: #ffffff;
  border: 1px solid var(--color-crimson);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: var(--font-header);
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy:hover {
  background: transparent;
  color: var(--color-crimson);
  box-shadow: 0 0 15px rgba(217, 28, 28, 0.4);
}

.btn-copy.copied {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4) !important;
}

.btn-link-out {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #181818;
  border: 1px solid #333333;
  border-radius: 6px;
  color: var(--color-gold);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-link-out:hover {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
}

/* Skeleton Loading State */
.skeleton-card {
  pointer-events: none;
}

.skeleton-line {
  background: linear-gradient(90deg, #181818 25%, #252525 50%, #181818 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s infinite;
  border-radius: 4px;
}

.skeleton-box {
  background: linear-gradient(90deg, #181818 25%, #252525 50%, #181818 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s infinite;
  border-radius: 8px;
}

.skeleton-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.skeleton-title {
  height: 22px;
  width: 65%;
}

.skeleton-badge {
  height: 18px;
  width: 25%;
  border-radius: 12px;
}

.skeleton-desc {
  height: 14px;
  width: 100%;
  margin-bottom: 0.5rem;
}

.skeleton-desc.short {
  width: 75%;
  margin-bottom: 1.5rem;
}

.skeleton-field {
  height: 42px;
  width: 100%;
  margin-bottom: 1.5rem;
}

.skeleton-button {
  height: 42px;
  width: 100%;
}

@keyframes skeletonPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Estado de Error */
.recursos-error-card {
  padding: 3.5rem 2rem;
  max-width: 600px;
  margin: 2rem auto;
  background: rgba(18, 18, 18, 0.9);
  border: 1px solid rgba(217, 28, 28, 0.3);
  border-radius: 16px;
}

.error-icon-wrapper {
  margin-bottom: 1.2rem;
}

.recursos-error-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.error-detail {
  color: #ff6b6b;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.error-hint {
  color: #aaaaaa;
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
}

.btn-retry {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 2rem;
  border-radius: 6px;
}

/* Toast de Recursos */
.recursos-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #10b981;
  color: #ffffff;
  padding: 1rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 9999;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
}

.recursos-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Reglas Responsivas */
@media (max-width: 768px) {
  .recursos-section {
    padding-top: 110px;
  }

  .recursos-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .recursos-actions {
    width: 100%;
  }

  .btn-update-recursos {
    width: 100%;
    justify-content: center;
  }

  .recursos-grid {
    grid-template-columns: 1fr;
  }

  .recursos-toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   OBJETIVOS COMPRIMIDOS & CÓMO FUNCIONA COMPACTO
   ========================================================================== */

.compact-section {
  padding: 3rem 0;
}

.compact-header {
  margin-bottom: 1.5rem;
}

/* Objetivos Micro-Grid */
.objectives-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.objective-micro-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.objective-micro-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.objective-micro-icon {
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.objective-micro-icon svg {
  width: 24px;
  height: 24px;
}

.objective-micro-text h3 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.15rem;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
}

.objective-micro-text p {
  font-size: 0.78rem;
  color: #aaaaaa;
  line-height: 1.25;
}

/* Cómo Funciona Tarjetas Delgadas */
.steps-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}

.step-card-compact {
  padding: 1.2rem 1.4rem;
  border-radius: 10px;
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step-card-compact:hover {
  border-color: var(--color-crimson);
  transform: translateY(-2px);
}

.step-header-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.step-header-row .step-badge-num {
  font-family: var(--font-header);
  font-size: 1.2rem;
  color: var(--color-gold);
  line-height: 1;
}

.step-header-row .step-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
}

/* Mapa Interactivo de Gimnasios */
.schedule-location-addr {
  font-size: 0.85rem;
  color: #aaaaaa;
  margin-top: 0.2rem;
  font-weight: 400;
  line-height: 1.3;
}

.schedule-card-footer {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-gym-map {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gold);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.btn-gym-map:hover {
  color: var(--color-crimson);
}

.gym-map-wrapper {
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.35);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
}

.gym-interactive-map {
  width: 100%;
  height: 380px;
  background: #111111;
}

@media (max-width: 768px) {
  .compact-section {
    padding: 2rem 0;
  }

  .objectives-compact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .objective-micro-card {
    padding: 0.7rem 0.8rem;
    gap: 0.6rem;
  }

  .objective-micro-icon svg {
    width: 20px;
    height: 20px;
  }

  .objective-micro-text h3 {
    font-size: 0.85rem;
  }

  .objective-micro-text p {
    font-size: 0.72rem;
  }

  .steps-compact-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .step-card-compact {
    padding: 1rem 1.2rem;
  }

  .gym-interactive-map {
    height: 320px;
  }
}

/* ==========================================================================
   TRAYECTORIA INSTITUCIONAL - ESTILOS MEJORADOS
   ========================================================================== */

.trayectoria-page-wrapper {
  padding-bottom: 4rem;
  background-color: var(--color-black);
}

/* HERO TRAYECTORIA */
.trayectoria-hero-section {
  padding: 8rem 0 5rem 0;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(217, 28, 28, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(197, 160, 89, 0.05) 0%, transparent 50%);
}

.trayectoria-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.trayectoria-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: rgba(217, 28, 28, 0.1);
  border: 1px solid rgba(217, 28, 28, 0.3);
  color: var(--color-crimson);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.trayectoria-hero-pill .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-crimson);
  box-shadow: 0 0 8px var(--color-crimson);
}

.trayectoria-hero-title {
  font-family: var(--font-header);
  font-size: 3.5rem;
  line-height: 1.05;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  letter-spacing: 1.5px;
}

.trayectoria-hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.7;
  color: #cccccc;
  margin-bottom: 2rem;
  max-width: 650px;
}

.trayectoria-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-white);
}

.mini-badge svg {
  color: var(--color-crimson);
}

/* HERO MEDIA */
.hero-img-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(217, 28, 28, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(217, 28, 28, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-img-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(217, 28, 28, 0.25);
}

.trayectoria-hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
}

.hero-img-overlay-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.85) 0%, transparent 50%);
  pointer-events: none;
}

.hero-photo-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1rem 1.2rem;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.photo-badge-title {
  font-family: var(--font-header);
  font-size: 1.2rem;
  color: var(--color-white);
  letter-spacing: 1px;
}

.photo-badge-sub {
  font-size: 0.82rem;
  color: var(--color-crimson);
  font-weight: 600;
}

/* SECCIONES TRAYECTORIA */
.trayectoria-section {
  padding: 4.5rem 0;
}

.section-header-left {
  margin-bottom: 2.5rem;
}

.trayectoria-section-title {
  font-family: var(--font-header);
  font-size: 2.2rem;
  color: var(--color-white);
  letter-spacing: 1px;
  line-height: 1.2;
}

.title-underline {
  width: 60px;
  height: 3px;
  background: var(--color-crimson);
  margin-top: 0.6rem;
  border-radius: 2px;
}

.trayectoria-text-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #dddddd;
}

/* SECCIÓN 1: EXPERIENCIA */
.trayectoria-exp-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: stretch;
}

.trayectoria-exp-content {
  padding: 3rem;
  border-radius: 20px;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trayectoria-stat-highlight-card {
  background: linear-gradient(145deg, #181818 0%, #0c0c0c 100%);
  border: 2px solid rgba(217, 28, 28, 0.4);
  border-radius: 20px;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(217, 28, 28, 0.15);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.trayectoria-stat-highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-crimson);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(217, 28, 28, 0.25);
}

.stat-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-header);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-crimson);
  text-shadow: 0 0 20px rgba(217, 28, 28, 0.4);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CARDS GRIDS */
.trayectoria-cards-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.trayectoria-cards-grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.trayectoria-card {
  padding: 2.2rem;
  border-radius: 18px;
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.trayectoria-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 28, 28, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(217, 28, 28, 0.12);
}

.trayectoria-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.crimson-icon {
  background: rgba(217, 28, 28, 0.12);
  color: var(--color-crimson);
  border: 1px solid rgba(217, 28, 28, 0.25);
}

.trophy-icon {
  background: rgba(197, 160, 89, 0.12);
  color: var(--color-gold);
  border: 1px solid rgba(197, 160, 89, 0.25);
}

.trayectoria-card-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
}

.trayectoria-badge-sub {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--color-gold);
  font-weight: 600;
  margin-top: 0.4rem;
  letter-spacing: 0.5px;
}

/* SECTOR CARD */
.main-sector-card {
  padding: 2.8rem;
}

.sector-card-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.sector-role-title {
  font-family: var(--font-header);
  font-size: 1.8rem;
  color: var(--color-white);
  letter-spacing: 1px;
}

.sector-badge {
  display: inline-block;
  font-size: 0.8rem;
  color: #aaaaaa;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sector-desc {
  max-width: 800px;
}

/* SECCIÓN 5: RECONOCIMIENTO PROFESIONAL (PRO HIGHLIGHT - LA MÁS IMPORTANTE) */
.section-reconocimiento-pro {
  padding: 6rem 0;
}

.pro-recognition-highlight-box {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(217, 28, 28, 0.15) 0%, rgba(14, 14, 14, 0.98) 45%, rgba(10, 10, 10, 1) 100%);
  border: 2px solid rgba(217, 28, 28, 0.6);
  padding: 4.5rem 3.5rem;
  box-shadow: 0 0 60px rgba(217, 28, 28, 0.22), inset 0 0 35px rgba(217, 28, 28, 0.1);
  overflow: hidden;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.pro-recognition-highlight-box:hover {
  border-color: var(--color-crimson);
  box-shadow: 0 0 80px rgba(217, 28, 28, 0.35), inset 0 0 45px rgba(217, 28, 28, 0.18);
}

.pro-bg-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(217, 28, 28, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.pro-content-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.pro-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  background: rgba(217, 28, 28, 0.2);
  border: 1px solid rgba(217, 28, 28, 0.5);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  box-shadow: 0 0 15px rgba(217, 28, 28, 0.3);
}

.pro-top-badge svg {
  color: var(--color-gold);
}

.pro-recognition-title {
  font-family: var(--font-header);
  font-size: 3.2rem;
  line-height: 1.1;
  color: var(--color-white);
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.text-crimson-glow {
  color: var(--color-crimson);
  text-shadow: 0 0 25px rgba(217, 28, 28, 0.6);
}

.pro-divider {
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-crimson), transparent);
  margin: 1.5rem auto;
}

.pro-recognition-description {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.8;
  color: #eeeeee;
  margin-bottom: 2.5rem;
}

.pro-trophy-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(217, 28, 28, 0.1);
  border: 1px solid rgba(217, 28, 28, 0.3);
  color: var(--color-gold);
  box-shadow: 0 0 30px rgba(197, 160, 89, 0.2);
}

/* SECCIÓN 6: FILOSOFÍA */
.filosofia-card {
  padding: 3.5rem;
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  background: rgba(18, 18, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.filosofia-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: rgba(217, 28, 28, 0.12);
  border: 1px solid rgba(217, 28, 28, 0.3);
  color: var(--color-crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.filosofia-content {
  flex: 1;
}

.filosofia-content .trayectoria-section-title {
  margin-bottom: 1rem;
}

/* CTA TRAYECTORIA */
.trayectoria-cta-section {
  padding: 5rem 0 3rem 0;
}

.trayectoria-cta-box {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.8) 0%, rgba(10, 10, 10, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-header);
  font-size: 2.8rem;
  color: var(--color-white);
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.15rem;
  color: #cccccc;
  max-width: 600px;
  margin: 0 auto 2.2rem auto;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 2.8rem;
  font-size: 1.1rem;
  border-radius: 12px;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {
  .trayectoria-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .trayectoria-hero-title {
    font-size: 2.8rem;
  }

  .trayectoria-exp-layout {
    grid-template-columns: 1fr;
  }

  .trayectoria-cards-grid3 {
    grid-template-columns: 1fr;
  }

  .pro-recognition-title {
    font-size: 2.5rem;
  }

  .filosofia-card {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .trayectoria-hero-section {
    padding: 6rem 0 3rem 0;
  }

  .trayectoria-hero-title {
    font-size: 2.2rem;
  }

  .trayectoria-hero-subtitle {
    font-size: 1rem;
  }

  .trayectoria-hero-img {
    height: 380px;
  }

  .trayectoria-section {
    padding: 3rem 0;
  }

  .trayectoria-section-title {
    font-size: 1.8rem;
  }

  .trayectoria-cards-grid2 {
    grid-template-columns: 1fr;
  }

  .pro-recognition-highlight-box {
    padding: 3rem 1.5rem;
  }

  .pro-recognition-title {
    font-size: 2rem;
  }

  .pro-recognition-description {
    font-size: 1.05rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-text {
    font-size: 1rem;
  }
}

/* ==========================================
   Avena Getting Started Guide
   ========================================== */
.avena-page-wrapper {
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 4rem;
}

.avena-header-section {
  margin-bottom: 3rem;
}

.avena-title {
  font-size: 3.5rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.avena-subtitle {
  font-size: 1.2rem;
  color: #ccc;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.avena-flow-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  font-family: var(--font-header);
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: var(--color-white);
}

@media (min-width: 768px) {
  .avena-flow-indicator {
    flex-direction: row;
    gap: 1rem;
  }
}

.flow-step {
  padding: 0.5rem 1rem;
  background: rgba(26, 26, 26, 0.6);
  border-radius: 4px;
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.flow-arrow {
  color: var(--color-crimson);
}

@media (max-width: 767px) {
  .flow-arrow {
    transform: rotate(90deg);
  }
}

.avena-accordion-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.avena-accordion {
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.avena-accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition-normal);
}

.avena-accordion-header:hover, 
.avena-accordion-header.active {
  background: rgba(197, 160, 89, 0.05);
}

.accordion-header-left {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.accordion-num {
  font-family: var(--font-header);
  font-size: 2.5rem;
  line-height: 1;
}

.accordion-text h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.accordion-text p {
  color: #aaa;
  font-size: 0.95rem;
  margin: 0;
}

.accordion-icon {
  color: var(--color-gold);
  transition: transform var(--transition-normal);
}

.avena-accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.avena-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(5, 5, 5, 0.5);
  border-top: 1px solid transparent;
}

.avena-accordion-body.open {
  border-top-color: rgba(197, 160, 89, 0.15);
}

.video-wrapper {
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.vertical-video {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background-color: var(--color-black);
}

@media (max-width: 576px) {
  .avena-accordion-header {
    padding: 1.2rem;
  }
  .accordion-header-left {
    gap: 1rem;
  }
  .accordion-num {
    font-size: 2rem;
  }
  .accordion-text h2 {
    font-size: 1.2rem;
  }
  .video-wrapper {
    padding: 1.5rem 1rem;
  }
}

/* ==========================================================================
   Sección & Páginas: Resultados (Galería & Lightbox Modal)
   ========================================================================== */

.resultados-page-wrapper {
  padding-top: 100px;
  padding-bottom: 4rem;
  min-height: 80vh;
}

.resultados-header-section {
  padding: 3rem 0 2rem;
}

.resultados-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--color-white);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.resultados-subtitle {
  max-width: 750px;
  margin: 0 auto;
  color: #cccccc;
  font-size: 1.05rem;
  line-height: 1.7;
}

.resultados-content-section {
  padding: 2rem 0 4rem;
}

/* Responsividad Grid MOBILE FIRST: Mobile 2 columnas, Tablet 3, Desktop 4 */
.resultados-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
}

@media (min-width: 640px) {
  .resultados-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .resultados-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* Tarjeta de Galería */
.resultado-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  background: var(--color-dark-gray);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  outline: none;
}

.resultado-card:hover,
.resultado-card:focus-visible {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--color-gold);
  box-shadow: 0 10px 25px rgba(217, 28, 28, 0.25);
}

.resultado-card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.resultado-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.resultado-card:hover .resultado-card-img,
.resultado-card:focus-visible .resultado-card-img {
  transform: scale(1.05);
}

.resultado-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.resultado-card:hover .resultado-card-overlay,
.resultado-card:focus-visible .resultado-card-overlay {
  opacity: 1;
}

.zoom-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(217, 28, 28, 0.9);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transform: scale(0.8);
  transition: transform var(--transition-normal);
}

.resultado-card:hover .zoom-icon,
.resultado-card:focus-visible .zoom-icon {
  transform: scale(1);
}

/* Skeleton Loading */
.resultado-card-skeleton {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.skeleton-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: skeletonLoading 1.5s infinite;
}

@keyframes skeletonLoading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Estados Vacíos y de Error */
.resultados-empty-box,
.resultados-error-box {
  padding: 4rem 2rem;
  border-radius: 16px;
  margin: 2rem 0;
}

.empty-icon, .error-icon {
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.error-icon {
  color: var(--color-crimson);
}

.empty-title, .error-title {
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.empty-desc, .error-desc {
  color: #aaaaaa;
  max-width: 500px;
  margin: 0 auto;
}

.margin-top-md {
  margin-top: 1.5rem;
}

/* CTA Section */
.resultados-cta-section {
  padding: 3rem 0;
}

/* ==========================================================================
   MODAL / LIGHTBOX DE RESULTADOS
   ========================================================================== */

body.modal-open {
  overflow: hidden !important;
}

.resultados-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.resultados-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.resultados-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.resultados-modal-container {
  position: relative;
  z-index: 10000;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(217, 28, 28, 0.2);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.resultados-modal.active .resultados-modal-container {
  transform: scale(1);
}

.resultados-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-crimson);
  color: var(--color-white);
  border: 2px solid var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.resultados-modal-close:hover,
.resultados-modal-close:focus-visible {
  transform: scale(1.1) rotate(90deg);
  background: #ff2a2a;
  box-shadow: 0 0 15px rgba(217, 28, 28, 0.8);
}

.resultados-modal-img-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}

.resultados-modal-img {
  max-width: 85vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

@media (max-width: 576px) {
  .resultados-page-wrapper {
    padding-top: 85px;
  }
  .resultados-header-section {
    padding: 1.5rem 0 1rem;
  }
  .resultados-modal-container {
    padding: 0.5rem;
    max-width: 96vw;
  }
  .resultados-modal-close {
    top: -12px;
    right: -12px;
    width: 38px;
    height: 38px;
  }
  .resultados-modal-img {
    max-width: 90vw;
    max-height: 75vh;
  }
}

/* ==========================================================================
   SECCIÓN: PLATAFORMA DIGITAL DE SEGUIMIENTO (Avena App Integration)
   ========================================================================== */
.digital-platform-section {
  padding: 6rem 0;
  background-color: var(--color-black);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.platform-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  margin-top: 3rem;
}

.platform-content-title {
  font-family: var(--font-header);
  font-size: 2.2rem;
  color: var(--color-white);
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.platform-description {
  color: #bbb;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.platform-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.platform-benefit-card {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.platform-benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 160, 89, 0.4);
  background: rgba(26, 26, 26, 0.9);
}

.benefit-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-title {
  font-family: var(--font-header);
  font-size: 1.1rem;
  color: var(--color-white);
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.benefit-desc {
  font-size: 0.88rem;
  color: #aaa;
  line-height: 1.45;
}

.platform-quote-card {
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.1) 0%, rgba(26, 26, 26, 0.8) 100%);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 12px 12px 0;
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.quote-icon {
  color: var(--color-gold);
  flex-shrink: 0;
}

.quote-text {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-gold);
  font-style: italic;
  margin: 0;
  line-height: 1.4;
}

.platform-cta-wrapper {
  margin-top: 0.5rem;
}

.btn-platform-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 2rem;
}

.btn-platform-cta .btn-arrow {
  transition: transform var(--transition-fast);
}

.btn-platform-cta:hover .btn-arrow {
  transform: translateX(4px);
}

/* Columna Derecha: Capturas de Pantalla Portrait */
.platform-visual-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

.platform-images-wrapper {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 520px;
}

.platform-phone-frame {
  width: 48%;
  max-width: 240px;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 15px rgba(197, 160, 89, 0.08);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  background: #0f0f0f;
}

.platform-phone-frame.phone-primary {
  transform: translateY(-12px);
}

.platform-phone-frame.phone-secondary {
  transform: translateY(12px);
}

.platform-phone-frame:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(197, 160, 89, 0.5);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(197, 160, 89, 0.2);
}

.platform-app-img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  display: block;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .digital-platform-section {
    padding: 4.5rem 0;
  }

  .platform-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .platform-content-title {
    font-size: 1.8rem;
  }

  .platform-phone-frame.phone-primary,
  .platform-phone-frame.phone-secondary {
    transform: none;
  }

  .platform-images-wrapper {
    max-width: 460px;
  }
}

@media (max-width: 576px) {
  .digital-platform-section {
    padding: 3.5rem 0;
  }

  .platform-benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .platform-benefit-card {
    padding: 1rem 1.2rem;
  }

  .platform-quote-card {
    padding: 1rem 1.2rem;
  }

  .quote-text {
    font-size: 0.9rem;
  }

  .platform-images-wrapper {
    gap: 0.8rem;
    max-width: 100%;
  }

  .platform-phone-frame {
    width: 48%;
    max-width: 170px;
    border-radius: 14px;
    border-width: 2px;
  }

  .btn-platform-cta {
    width: 100%;
    justify-content: center;
  }
}