/* ==========================================================================
   Origen Asesores - Design System & Custom Stylesheet
   Covers branding manual colors: Navy (#123547), Warm Sand (#aba8a3)
   Fonts: Cormorant Garamond (Serif), Outfit (Sans-Serif)
   ========================================================================== */

/* Variables */
:root {
  --color-primary: #123547;       /* Deep Navy */
  --color-primary-light: #1b4961; /* Lighter Navy */
  --color-primary-dark: #0a1f2a;  /* Darker Navy */
  --color-secondary: #aba8a3;     /* Warm Sand / Slate Gray */
  --color-accent: #bfa175;        /* Warm Gold / Bronze Accent */
  --color-accent-light: #d8c3a5;  /* Soft Gold Accent */
  --color-bg-light: #fdfdfc;      /* Warm white background */
  --color-bg-alt: #f8f7f5;        /* Soft cream background */
  --color-text-dark: #1a263b;     /* Main text dark color */
  --color-text-muted: #5e6b7e;   /* Secondary muted text */
  --color-white: #ffffff;
  
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'Outfit', 'Helvetica Neue', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --shadow-sm: 0 4px 6px -1px rgba(18, 53, 71, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(18, 53, 71, 0.08), 0 4px 6px -2px rgba(18, 53, 71, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(18, 53, 71, 0.1), 0 10px 10px -5px rgba(18, 53, 71, 0.04);
  --shadow-glass: 0 8px 32px 0 rgba(18, 53, 71, 0.06);
  
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.calc-inputs {
  padding: 40px;
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
}

.quiz-progress {
  height: 4px;
  background-color: rgba(18, 53, 71, 0.05);
  border-radius: 2px;
  margin-bottom: 30px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background-color: var(--color-accent);
  transition: var(--transition-smooth);
}

.quiz-step {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.quiz-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.quiz-opt-btn {
  width: 100%;
  text-align: left;
  padding: 14px 20px;
  border-radius: var(--border-radius-md);
  background-color: var(--color-white);
  border: 1px solid rgba(18, 53, 71, 0.12);
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: pointer;
  font-family: var(--font-sans);
}

.quiz-opt-btn:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: var(--color-white);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.quiz-opt-btn.selected {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.calc-results {
  padding: 40px;
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.results-placeholder {
  text-align: center;
  padding: 40px 0;
}

.results-placeholder h3 {
  font-size: 1.5rem;
  color: var(--color-white);
  margin-top: 16px;
}

.results-dashboard {
  display: none;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
}

.result-main {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.result-label {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.8;
}

.result-value-big {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.score-bar-group {
  margin-bottom: 16px;
}

.score-track {
  height: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}

.score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  border-radius: 3px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.calc-cta-box {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 18px;
  border-radius: var(--border-radius-md);
  margin-top: auto;
}

.calc-cta-box h4 {
  color: var(--color-accent-light);
  font-size: 1rem;
  margin-bottom: 6px;
}

.calc-cta-box p {
  font-size: 0.85rem;
  margin-bottom: 16px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-accent { color: var(--color-accent) !important; }
.text-muted { color: var(--color-text-muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(191, 161, 117, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
}

.btn-secondary:hover {
  background-color: rgba(18, 53, 71, 0.05);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-accent);
  font-weight: 600;
}

.btn-accent:hover {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* Glassmorphism Styles */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-glass);
}

.glass-card-dark {
  background: rgba(18, 53, 71, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  color: var(--color-white);
}

/* Navigation Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 20px 0;
}

.header.scrolled {
  background: rgba(253, 253, 252, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(18, 53, 71, 0.05);
  padding: 12px 0;
  border-bottom: 1px solid rgba(171, 168, 163, 0.2);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  height: 48px;
  width: 180px;
  display: flex;
  align-items: center;
}

.logo-container img, .logo-container svg {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: left center;
}

/* Logo SVG (wordmark vectorial) */
.logo-svg {
  color: var(--color-primary);
}

.logo-svg .logo-sub {
  fill: var(--color-secondary);
}

.logo-svg-footer {
  color: var(--color-white);
}

.logo-svg-footer .logo-sub {
  fill: rgba(255, 255, 255, 0.65);
}

/* Header transparente sobre el hero oscuro: logo y navegación en blanco */
.header:not(.scrolled) .logo-svg {
  color: var(--color-white);
}

.header:not(.scrolled) .logo-svg .logo-sub {
  fill: rgba(255, 255, 255, 0.7);
}

.header:not(.scrolled) .nav-link {
  color: var(--color-white);
}

.header:not(.scrolled) .nav-link.active::after {
  background-color: var(--color-accent);
}

.header:not(.scrolled) .menu-toggle {
  color: var(--color-white);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-primary);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active::after {
  width: 100%;
  background-color: var(--color-primary);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--color-primary);
}

@media (max-width: 992px) {
  /* Header siempre blanco en móvil — fondo puro para que el logo JPG no contraste */
  .header {
    background: #ffffff;
    box-shadow: 0 2px 16px rgba(18, 53, 71, 0.08);
    border-bottom: 1px solid rgba(171, 168, 163, 0.18);
    padding: 10px 0;
  }

  /* Logo pegado al borde izquierdo, respetando el notch del iPhone */
  .header .container {
    padding-left: max(8px, env(safe-area-inset-left, 8px));
    padding-right: max(8px, env(safe-area-inset-right, 8px));
  }

  .logo-container {
    height: 40px;
    width: 150px;
  }

  /* En móvil el header siempre es blanco: logo y toggle vuelven a oscuro */
  .header:not(.scrolled) .logo-svg {
    color: var(--color-primary);
  }

  .header:not(.scrolled) .logo-svg .logo-sub {
    fill: var(--color-secondary);
  }

  .header:not(.scrolled) .nav-link {
    color: var(--color-primary);
  }

  .header:not(.scrolled) .menu-toggle {
    color: var(--color-primary);
  }

  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-light);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    z-index: 999;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.open {
    top: 0;
  }
  
  .nav-link {
    font-size: 1.4rem;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-primary-dark);
  padding-top: 100px;
  color: var(--color-white);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: grayscale(20%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(18, 53, 71, 0.95) 0%, rgba(10, 31, 42, 0.7) 100%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 60px;
  }
}

.hero-content {
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(191, 161, 117, 0.15);
  border: 1px solid rgba(191, 161, 117, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-accent-light);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 4.2rem;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--color-white);
  font-family: var(--font-serif);
}

.hero-title span {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 580px;
}

@media (max-width: 992px) {
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .hero-cta {
    justify-content: center;
  }
}

.hero-card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0;
}

.hero-cta-card {
  width: 100%;
  max-width: 380px;
  padding: 32px;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.hero-cta-card h3 {
  font-size: 1.8rem;
  color: var(--color-white);
  margin-bottom: 12px;
}

.hero-cta-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Philosophy Section */
.philosophy {
  background-color: var(--color-bg-alt);
  position: relative;
}

.philosophy-header {
  max-width: 700px;
  margin: 0 auto 60px;
}

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

.section-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  padding: 40px 30px;
  border-radius: var(--border-radius-md);
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid rgba(171, 168, 163, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.value-card.scroll-reveal {
  transition-delay: calc(var(--delay, 1) * 0.15s);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.value-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(18, 53, 71, 0.04);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.value-card:hover .value-icon {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.value-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

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

/* Solutions Section */
.solutions {
  background-color: var(--color-white);
}

.solutions-header {
  max-width: 700px;
  margin: 0 auto 50px;
}

.solutions-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border: 1px solid rgba(171, 168, 163, 0.3);
  background-color: var(--color-bg-light);
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.tab-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.solutions-content {
  position: relative;
  min-height: 400px;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-pane.active {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 992px) {
  .tab-pane.active {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.solution-details h3 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.solution-tag {
  display: inline-block;
  background-color: rgba(191, 161, 117, 0.15);
  color: var(--color-accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.solution-details p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.solution-features {
  list-style: none;
  margin-bottom: 32px;
}

.solution-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
}

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

.solution-img-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 380px;
  background-color: var(--color-primary-dark);
}

/* We render pure CSS abstract representations in case images are loaded dynamically, which looks modern and high-tech */
.solution-abstract-art {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(191, 161, 117, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(18, 53, 71, 0.6) 0%, transparent 60%),
              linear-gradient(135deg, #0a1f2a 0%, #1b4961 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.solution-abstract-art::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 15%;
  width: 70%;
  height: 70%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--color-accent);
  animation: rotate 20s linear infinite;
}

.solution-art-icon {
  font-size: 5rem;
  color: var(--color-white);
  z-index: 2;
  opacity: 0.8;
}

/* Method Section */
.method {
  background: linear-gradient(180deg, #0a1f2a 0%, #123547 100%);
  position: relative;
  overflow: hidden;
}

.method::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 40%;
  height: 60%;
  background: radial-gradient(circle, rgba(191, 161, 117, 0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.method-interactive-showcase {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .method-interactive-showcase {
    flex-direction: column;
  }
}

.method-step-selector {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding-left: 20px;
}

.selector-tracker-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

.selector-tracker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 33.33%;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  border-radius: 2px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px var(--color-accent);
}

@media (max-width: 992px) {
  .method-step-selector {
    padding-left: 0;
    padding-top: 15px;
  }
  .selector-tracker-bar {
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
  }
  .selector-tracker-indicator {
    height: 100%;
    width: 33.33%;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

.step-select-btn {
  text-align: left;
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
  width: 100%;
}

.step-select-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.step-select-btn.active {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(191, 161, 117, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-step-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  transition: var(--transition-smooth);
}

.step-select-btn.active .btn-step-num {
  transform: scale(1.15);
  text-shadow: 0 0 15px rgba(191, 161, 117, 0.4);
}

.btn-step-info h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 4px;
  transition: var(--transition-fast);
}

.step-select-btn.active h4 {
  color: var(--color-accent-light);
}

.btn-step-info span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  display: block;
}

.method-details-panel {
  flex: 1.5;
  border-radius: var(--border-radius-lg);
  padding: 48px;
  min-height: 380px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 576px) {
  .method-details-panel {
    padding: 32px 20px;
  }
}

.method-step-content {
  display: none;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.method-step-content.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.step-content-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 768px) {
  .step-content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.step-text-col h3 {
  font-size: 2.2rem;
  color: var(--color-white);
  margin-bottom: 16px;
}

.step-badge {
  display: inline-block;
  background-color: rgba(191, 161, 117, 0.15);
  color: var(--color-accent-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.step-text-col p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.step-checklist {
  list-style: none;
}

.step-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.step-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-visual-svg {
  width: 100%;
  max-width: 160px;
  height: auto;
}

/* SVG Animations */
@keyframes rotateSVG {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.svg-rotate-anim {
  transform-origin: 100px 100px;
  animation: rotateSVG 25s linear infinite;
}

@keyframes pulseSVG {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.06); opacity: 1; }
}

.svg-pulse-anim {
  transform-origin: 135px 115px;
  animation: pulseSVG 4s ease-in-out infinite;
}

/* Calculator Section */
.calculator {
  background-color: var(--color-white);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}

@media (max-width: 992px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Appointment Form Section (Multi-step Booking) */
.booking {
  background-color: var(--color-bg-alt);
  position: relative;
}

.booking-header {
  max-width: 700px;
  margin: 0 auto 50px;
}

.booking-box {
  max-width: 750px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(171, 168, 163, 0.15);
  background: var(--color-white);
}

.booking-progress-bar {
  height: 4px;
  width: 100%;
  background-color: rgba(18, 53, 71, 0.05);
  position: relative;
}

.progress-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 33.33%;
  background-color: var(--color-accent);
  transition: var(--transition-smooth);
}

.booking-form-wrapper {
  padding: 50px;
}

@media (max-width: 768px) {
  .booking-form-wrapper {
    padding: 30px 20px;
  }
}

.booking-step {
  display: none;
  animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.booking-step.active {
  display: block;
}

.step-title {
  font-size: 1.8rem;
  margin-bottom: 28px;
  text-align: center;
}

/* Step 1 Options Grid */
.priority-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 576px) {
  .priority-options {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (min-width: 577px) {
  .priority-options .priority-card:last-child:nth-child(odd) {
    grid-column: span 2;
  }
}

.priority-card {
  border: 1px solid rgba(171, 168, 163, 0.3);
  padding: 24px;
  border-radius: var(--border-radius-md);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.priority-card:hover {
  border-color: var(--color-primary);
  background-color: rgba(18, 53, 71, 0.02);
  transform: translateY(-2px);
}

.priority-card.selected {
  border-color: var(--color-primary);
  background-color: rgba(18, 53, 71, 0.05);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.priority-card i {
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  transition: var(--transition-fast);
}

.priority-card.selected i {
  color: var(--color-accent);
}

.priority-card h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

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

/* Step 2 Inputs */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.form-control {
  padding: 14px 18px;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(171, 168, 163, 0.4);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition-fast);
  outline: none;
  background-color: var(--color-bg-light);
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(18, 53, 71, 0.1);
}

/* Step 3 Date/Time */
.datetime-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
}

@media (max-width: 768px) {
  .datetime-container {
    grid-template-columns: 1fr;
  }
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  max-height: 250px;
  overflow-y: auto;
  padding: 4px;
}

.time-slot {
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(171, 168, 163, 0.3);
  text-align: center;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.time-slot:hover {
  border-color: var(--color-primary);
}

.time-slot.selected {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* Form Action Buttons */
.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  border-top: 1px solid rgba(171, 168, 163, 0.2);
  padding-top: 30px;
}

.booking-success-box {
  text-align: center;
  padding: 20px 0;
  animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-icon-circle {
  width: 80px;
  height: 80px;
  background-color: rgba(191, 161, 117, 0.15);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.booking-success-box h3 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.booking-success-box p {
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto 30px;
}

.whatsapp-success-btn {
  background-color: #25d366;
  color: var(--color-white);
  border: 1px solid #25d366;
}

.whatsapp-success-btn:hover {
  background-color: #20ba56;
  border-color: #20ba56;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* Social Proof & Partnership Section */
.credentials {
  background-color: var(--color-white);
  border-bottom: 1px solid rgba(171, 168, 163, 0.2);
}

.partnership-box {
  max-width: 800px;
  margin: 0 auto 80px;
  padding: 40px;
  border-radius: var(--border-radius-lg);
  text-align: center;
  border: 1px dashed rgba(171, 168, 163, 0.4);
}

.partnership-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.partner-logo {
  height: 48px;
  opacity: 0.85;
  transition: var(--transition-fast);
}

.partner-logo:hover {
  opacity: 1;
}

.logo-divider {
  width: 1px;
  height: 30px;
  background-color: rgba(171, 168, 163, 0.4);
}

.partnership-box p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Testimonials Carousel */
.testimonials {
  position: relative;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonial-wrapper {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.testimonial-slide {
  min-width: 100%;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
}

.testimonial-stars {
  color: var(--color-accent);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 30px;
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .testimonial-text {
    font-size: 1.4rem;
  }
}

.testimonial-author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background-color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--color-white);
  font-size: 1.2rem;
}

.testimonial-author-info h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.testimonial-author-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(18, 53, 71, 0.15);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--color-primary);
  transform: scale(1.3);
}

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

.faq-list {
  max-width: 800px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(171, 168, 163, 0.15);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary);
}

.faq-question-btn i {
  font-size: 1rem;
  color: var(--color-accent);
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-question-btn i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 24px 24px 24px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  border-top: 1px solid rgba(171, 168, 163, 0.05);
}

/* Footer Section */
.footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  font-size: 0.9rem;
}

.footer h3, .footer h4 {
  color: var(--color-white);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-brand-col p {
  margin: 20px 0;
  font-size: 0.95rem;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.footer-links-col h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-links-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: 4px;
}

.footer-contact-info li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-info i {
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.8rem;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Scroll Fade-in effects */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Recruitment Form Stepper Styles */
.recruit-form-step {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.recruit-form-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Form row responsive layout */
.form-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 576px) {
  .form-grid-row {
    grid-template-columns: 1fr;
  }
  
  #recruitmentCard,
  #quizCard,
  .calc-inputs,
  .calc-results {
    padding: 24px 16px !important;
  }

  .form-control {
    padding: 12px 14px;
    font-size: 0.95rem;
  }
  
  select.form-control {
    padding: 12px !important;
  }
}

/* ==========================================================================
   New Sections: Audience Filter, Team Profile, Cost of Inaction
   ========================================================================== */

/* 1. Audience Filter (¿Es Origen para ti?) */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.audience-card {
  background-color: var(--color-white);
  border: 1px solid rgba(171, 168, 163, 0.15);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.audience-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.audience-icon {
  font-size: 1.8rem;
  color: var(--color-primary);
  background-color: rgba(18, 53, 71, 0.04);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.audience-card:hover .audience-icon {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
}

.audience-card h3 {
  font-size: 1.3rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--color-primary);
}

.audience-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.audience-target {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 2. Team Section (Diana Profile Layout) */
.team-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: stretch;
  margin-top: 40px;
}

.team-photo-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 480px;
  background-color: var(--color-primary-dark);
}

.team-photo-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* Driven by image onload/onerror */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 24px;
}

.team-photo-icon {
  font-size: 4rem;
  color: var(--color-accent);
  margin-bottom: 16px;
  opacity: 0.8;
}

.team-photo-fallback span {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.team-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-photo-container:hover .team-photo-img {
  transform: scale(1.05);
}

.team-bio-container {
  padding: 40px;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(18, 53, 71, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-bio-container h3 {
  font-size: 2.4rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.team-member-role {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 24px;
  display: inline-block;
  letter-spacing: 0.5px;
}

.team-bio-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.team-credentials-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.team-credential-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-primary);
}

@media (max-width: 992px) {
  .team-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .team-photo-container {
    min-height: 380px;
  }

  .team-bio-container {
    padding: 30px 24px;
  }
}

/* 2b. Advisors Grid (Equipo de Asesores) */
.advisors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.advisor-card {
  background-color: var(--color-white);
  border: 1px solid rgba(18, 53, 71, 0.08);
  border-radius: var(--border-radius-md);
  padding: 30px 20px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.advisor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(191, 161, 117, 0.4);
}

.advisor-photo {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-accent-light);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-light) 100%);
}

.advisor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advisor-photo-fallback {
  position: absolute;
  inset: 0;
  display: none; /* Se muestra vía onerror de la imagen */
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--color-accent);
  opacity: 0.85;
}

.advisor-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.advisor-role {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.advisor-bio {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

@media (max-width: 992px) {
  .advisors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .advisors-grid {
    grid-template-columns: 1fr;
  }
}

/* 3. Cost of Inaction Section (Costo de la Inacción) */
.inaction-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.inaction-row-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(171, 168, 163, 0.18);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.inaction-row-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(191, 161, 117, 0.4);
}

.inaction-header-col {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.inaction-row-icon {
  font-size: 2.2rem;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.inaction-header-col h4 {
  color: var(--color-white);
  font-size: 1.3rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.inaction-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.compare-col {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.compare-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.compare-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-col li {
  font-size: 0.9rem;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.compare-col li i {
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Row-specific colors */
.compare-col.status-red {
  background-color: rgba(229, 62, 62, 0.015);
  border-right: 1px solid rgba(171, 168, 163, 0.12);
}

.compare-col.status-red h5 {
  color: #cf5c5c;
}

.compare-col.status-red li i {
  color: #cf5c5c;
}

.compare-col.status-green {
  background-color: rgba(56, 161, 105, 0.015);
}

.compare-col.status-green h5 {
  color: #4a9d70;
}

.compare-col.status-green li i {
  color: #4a9d70;
}

@media (max-width: 992px) {
  .inaction-row-card {
    grid-template-columns: 1fr;
  }
  
  .inaction-header-col {
    padding: 20px;
    flex-direction: row;
    gap: 16px;
    justify-content: flex-start;
    text-align: left;
  }
  
  .inaction-row-icon {
    margin-bottom: 0;
    font-size: 1.8rem;
  }
  
  .inaction-compare-grid {
    grid-template-columns: 1fr;
  }
  
  .compare-col.status-red {
    border-right: none;
    border-bottom: 1px solid rgba(171, 168, 163, 0.12);
  }
}

/* =========================================
   PWA & MOBILE OPTIMIZATIONS
   ========================================= */

.bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  /* Hide top menu items, keep logo */
  .nav-menu, .menu-toggle {
    display: none !important;
  }
  
  .header {
    padding: 10px 0;
  }

  /* Bottom Nav Container */
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    justify-content: space-around;
    padding: 10px 5px 25px 5px; /* Extra bottom padding for iOS home indicator */
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 500;
    gap: 4px;
    padding: 8px;
    border-radius: 12px;
    transition: all 0.2s ease;
  }

  .bottom-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 2px;
  }

  .bottom-nav-item.active, .bottom-nav-item:hover {
    color: var(--color-primary);
  }

  .bottom-nav-cta {
    color: var(--color-white);
    background: var(--color-primary);
  }
  
  .bottom-nav-cta.active, .bottom-nav-cta:hover {
    color: var(--color-white);
    background: var(--color-accent);
  }

  /* Hide Solution Images on Mobile to save vertical space */
  .solution-img-wrapper {
    display: none !important;
  }

  /* Pad body to not hide content behind bottom nav */
  body {
    padding-bottom: 80px;
  }

  /* Horizontal Swipe for Tabs and Selectors */
  .solutions-tabs-nav, .method-step-selector {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    gap: 16px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .method-step-selector > .step-select-btn {
    min-width: 85vw;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
  
  .solutions-tabs-nav > * {
    scroll-snap-align: center;
    flex-shrink: 0;
  }
  
  /* Hide scrollbar */
  .solutions-tabs-nav::-webkit-scrollbar, .method-step-selector::-webkit-scrollbar {
    display: none;
  }

  /* Optimize Paddings */
  .section-padding {
    padding: 60px 0;
  }
}
