/* Agenda Clínica - Redesign 2026 */
/* Emerald/Teal Medical Theme - Premium SaaS Design */

:root {
  /* ========================================
     COLORES PRIMARIOS - Emerald/Teal Theme
     ======================================== */
  
  /* Primary: Emerald green - trust, health, growth */
  --primary: #047857;
  --primary-foreground: hsl(0, 0%, 100%);
  --primary-dark: #065f46;
  --primary-darker: #064e3b;
  --primary-light: #10b981;
  --primary-lighter: #34d399;
  --primary-bg: #ecfdf5;
  --primary-bg-subtle: #d1fae5;
  
  /* Accent: Warm teal */
  --accent: #10b981;
  --accent-foreground: hsl(0, 0%, 100%);
  --accent-dark: #059669;
  --accent-light: #34d399;
  --accent-bg: #ecfdf5;
  
  /* Secondary: Soft sage */
  --secondary: #d1fae5;
  --secondary-foreground: #065f46;
  
  /* Backgrounds */
  --background: hsl(210, 20%, 98%);
  --foreground: hsl(210, 40%, 10%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(210, 40%, 10%);
  
  /* Muted colors */
  --muted: hsl(210, 20%, 96%);
  --muted-foreground: hsl(210, 15%, 45%);
  
  /* Destructive */
  --destructive: hsl(0, 72%, 51%);
  --destructive-foreground: hsl(0, 0%, 100%);
  
  /* Borders */
  --border: hsl(210, 20%, 90%);
  --input: hsl(210, 20%, 90%);
  --ring: #047857;
  
  /* ========================================
     LEGACY ALIASES (compatibilidad)
     ======================================== */
  --medical-primary: #047857;
  --medical-primary-dark: #065f46;
  --medical-primary-light: #10b981;
  --medical-primary-bg: #ecfdf5;
  --medical-accent: #10b981;
  --medical-accent-dark: #059669;
  --medical-accent-bg: #ecfdf5;
  
  --bg-primary: hsl(0, 0%, 100%);
  --bg-secondary: hsl(210, 20%, 98%);
  --bg-tertiary: hsl(210, 20%, 96%);
  --text-primary: hsl(210, 40%, 10%);
  --text-secondary: hsl(210, 20%, 35%);
  --text-tertiary: hsl(210, 15%, 45%);
  --text-muted: hsl(210, 15%, 45%);
  --text-inverse: hsl(0, 0%, 100%);
  
  --white: hsl(0, 0%, 100%);
  --black: hsl(210, 40%, 10%);
  --blue: #047857;
  --blue-dark: #065f46;
  --blue-light: #ecfdf5;
  --green: #10b981;
  --green-dark: #059669;
  --green-light: #ecfdf5;
  --red: hsl(0, 72%, 51%);
  --red-light: hsl(0, 93%, 94%);
  
  /* Grays */
  --gray-50: hsl(210, 40%, 98%);
  --gray-100: hsl(210, 40%, 96%);
  --gray-200: hsl(210, 30%, 91%);
  --gray-300: hsl(210, 20%, 82%);
  --gray-400: hsl(210, 15%, 65%);
  --gray-500: hsl(210, 15%, 45%);
  --gray-600: hsl(210, 20%, 35%);
  --gray-700: hsl(210, 25%, 25%);
  --gray-800: hsl(210, 30%, 15%);
  --gray-900: hsl(210, 40%, 10%);
  
  /* ========================================
     GRADIENTES
     ======================================== */
  --gradient-hero: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, hsl(210, 40%, 98%) 100%);
  --gradient-primary: linear-gradient(135deg, #047857 0%, #059669 100%);
  --gradient-card: linear-gradient(145deg, hsl(0, 0%, 100%) 0%, #f6faf8 100%);
  --gradient-glass: linear-gradient(135deg, hsla(0, 0%, 100%, 0.9) 0%, hsla(0, 0%, 100%, 0.7) 100%);
  --gradient-medical: var(--gradient-primary);
  --gradient-accent: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  
  /* ========================================
     SHADOWS
     ======================================== */
  --shadow-sm: 0 1px 2px hsla(210, 40%, 10%, 0.05);
  --shadow-md: 0 4px 6px -1px hsla(210, 40%, 10%, 0.07), 0 2px 4px -2px hsla(210, 40%, 10%, 0.05);
  --shadow-lg: 0 10px 15px -3px hsla(210, 40%, 10%, 0.08), 0 4px 6px -4px hsla(210, 40%, 10%, 0.05);
  --shadow-xl: 0 20px 25px -5px hsla(210, 40%, 10%, 0.08), 0 8px 10px -6px hsla(210, 40%, 10%, 0.04);
  --shadow-2xl: 0 25px 50px -12px hsla(210, 40%, 10%, 0.2);
  --shadow-primary: 0 10px 30px -10px rgba(4, 120, 87, 0.35);
  --shadow-card: 0 4px 20px -4px rgba(16, 185, 129, 0.12);
  --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.15);
  --shadow-medical: var(--shadow-primary);
  
  /* ========================================
     RADIUS
     ======================================== */
  --radius: 0.75rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);
  --radius-full: 9999px;
  
  /* ========================================
     TYPOGRAPHY
     ======================================== */
  --font: 'Manrope', system-ui, sans-serif;
  
  /* ========================================
     TRANSITIONS
     ======================================== */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  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 slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-gradient {
  background: var(--gradient-hero);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.animate-fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }
.animate-scale-in { animation: scaleIn 0.5s ease-out forwards; }
.animate-float { animation: float 6s ease-in-out infinite; }

/* ========================================
   BASE STYLES
   ======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  letter-spacing: -0.011em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

.section {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .section { padding: 8rem 0; }
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity var(--transition-base);
}

.nav-logo:hover { opacity: 0.8; }

.nav-logo img { height: 2.5rem; width: auto; object-fit: contain; }

.nav-logo span {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color var(--transition-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-base);
  border-radius: 1px;
}

.nav-link:hover {
  color: var(--foreground);
}

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

.nav-cta {
  padding: 0.625rem 1.25rem;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   HERO
   ======================================== */

.hero {
  padding: 6rem 0 4rem;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(4, 120, 87, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-content { 
  text-align: center; 
}

@media (min-width: 1024px) {
  .hero-content { text-align: left; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--secondary);
  border: 1px solid rgba(4, 120, 87, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--secondary-foreground);
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.hero-title-highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 32rem;
}

@media (min-width: 1024px) {
  .hero-subtitle { margin-left: 0; }
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .hero-benefits { justify-content: flex-start; }
}

.hero-benefit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground);
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  background: var(--card);
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}

.hero-benefit:hover {
  border-color: var(--primary);
  background: var(--primary-bg);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  align-items: stretch;
}

@media (min-width: 480px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .hero-buttons { justify-content: flex-start; }
}

.hero-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-top: 1.25rem;
}

@media (min-width: 1024px) {
  .hero-guarantee { justify-content: flex-start; }
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--border);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -10px rgba(4, 120, 87, 0.4);
}

.btn-whatsapp {
  background: var(--gradient-accent);
  color: var(--accent-foreground);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

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

.btn-secondary:hover {
  background: var(--muted);
  color: var(--foreground);
  border-color: var(--primary);
}

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

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
  text-align: center;
  max-width: 42.5rem;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ========================================
   PROBLEM SECTION
   ======================================== */

.problem {
  background: var(--background);
  position: relative;
  overflow: hidden;
}

.problem-insight {
  text-align: center;
  margin-bottom: 1.5rem;
}

.problem-insight span {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: hsla(0, 72%, 51%, 0.1);
  border: 1px solid hsla(0, 72%, 51%, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--destructive);
  letter-spacing: 0.02em;
}

.problem-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .problem-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.problem-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: all var(--transition-base);
  position: relative;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: hsla(0, 72%, 51%, 0.3);
}

.problem-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(0, 72%, 51%, 0.1);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  transition: all var(--transition-base);
}

.problem-card:hover .problem-icon {
  background: hsla(0, 72%, 51%, 0.2);
}

.problem-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--destructive);
  stroke-width: 1.75;
  fill: none;
}

.problem-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.problem-card p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.problem-footer {
  text-align: center;
  margin-top: 3rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.problem-footer p {
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.problem-footer strong {
  color: var(--foreground);
  font-weight: 600;
}

/* ========================================
   SOLUTION SECTION
   ======================================== */

.solution-why {
  max-width: 620px;
  margin: 0 auto 3.5rem;
  text-align: center;
  padding: 1.75rem 2.25rem;
  background: var(--primary-bg);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(4, 120, 87, 0.12);
}

.solution-why p {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  margin: 0;
}

.solution-why-highlight {
  margin-top: 0.875rem !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  color: var(--primary) !important;
}

.solution-grid {
  display: grid;
  gap: 1rem;
  max-width: 680px;
  margin: 0 auto 3rem;
}

@media (min-width: 640px) {
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
}

.solution-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.25rem 1.5rem;
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}

.solution-item:hover {
  background: var(--primary-bg);
  border-color: rgba(4, 120, 87, 0.15);
  transform: translateX(4px);
}

.solution-check {
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.solution-check svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--primary-foreground);
}

.solution-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--foreground);
}

.solution-cta { text-align: center; }

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
  background: var(--background);
}

.features-bento {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(240px, auto);
}

@media (max-width: 1024px) {
  .features-bento { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .features-bento {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.feature-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.feature-card-tall {
  grid-column: span 1;
  grid-row: span 2;
}

.feature-card-wide {
  grid-column: span 2;
}

@media (max-width: 1024px) {
  .feature-card-large, .feature-card-wide { grid-column: span 2; }
  .feature-card-tall { grid-column: span 1; grid-row: span 1; }
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--primary-foreground);
  fill: none;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.feature-card img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: auto;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.feature-badge {
  display: inline-flex;
  padding: 0.3125rem 0.875rem;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: auto;
  align-self: flex-start;
}

/* ========================================
   PRICING SECTION
   ======================================== */

.pricing-emotional {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.625rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pricing-grid {
  display: grid;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

.pricing-card {
  background: var(--card);
  border-radius: var(--radius-2xl);
  padding: 2.25rem;
  border: 2px solid var(--border);
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(4, 120, 87, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
  box-shadow: var(--shadow-primary);
}

.pricing-badge {
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1rem;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--foreground);
}

.pricing-period {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.pricing-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.75rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 1.75rem;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 0.875rem;
  color: var(--foreground);
}

.pricing-feature svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.0625rem;
}

.pricing-feature.warning {
  color: var(--muted-foreground);
}

.pricing-feature.warning svg {
  color: var(--muted-foreground);
}

.pricing-cta { width: 100%; }

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-container {
  max-width: 52.5rem;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 1.75rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--transition-base);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.75rem 1.75rem 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonial {
  background: var(--secondary);
}

.testimonial-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 3.5rem 2.75rem;
  background: var(--card);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  color: var(--foreground);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
}

.testimonial-avatar {
  width: 3.25rem;
  height: 3.25rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 1.125rem;
}

.testimonial-info h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
}

.testimonial-info p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.testimonial-stat {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.testimonial-stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.testimonial-stat-label {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-top: 0.375rem;
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 3rem;
}

.testimonial-card-v2 {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.testimonial-card-v2::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4.5rem;
  font-family: Georgia, serif;
  color: var(--primary-bg);
  line-height: 1;
  z-index: 0;
}

.testimonial-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.testimonial-quote-v2 {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author-v2 {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-avatar-v2 {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-info-v2 h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.125rem;
}

.testimonial-info-v2 p {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.testimonial-stat-badge {
  display: inline-flex;
  padding: 0.375rem 0.875rem;
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-top: 1rem;
}

/* ========================================
   CTA FINAL
   ======================================== */

.cta-final {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-final .container {
  position: relative;
  z-index: 1;
}

.cta-final .section-title {
  color: var(--primary-foreground);
}

.cta-final .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.25rem;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  padding: 3.5rem 0 1.75rem;
  background: var(--foreground);
  color: var(--primary-foreground);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.875rem;
  max-width: 300px;
  line-height: 1.6;
}

.footer-section h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.625rem; }

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--primary-foreground);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  display: flex;
  gap: 1.75rem;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-base);
}

.footer-legal a:hover {
  color: var(--primary-foreground);
}

/* ========================================
   COMPLIANCE SECTION (Nueva)
   ======================================== */

.compliance-section {
  background: var(--secondary);
}

.compliance-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 3rem;
}

.compliance-card {
  background: var(--card);
  border: 1px solid rgba(4, 120, 87, 0.2);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all var(--transition-base);
}

.compliance-card:hover {
  border-color: rgba(4, 120, 87, 0.4);
  box-shadow: var(--shadow-lg);
}

.compliance-icon {
  width: 3rem;
  height: 3rem;
  background: var(--primary-bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.compliance-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.compliance-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.compliance-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */

.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  animation: fadeIn 0.5s ease-out 2s both;
}

.whatsapp-float-button {
  width: 3.75rem;
  height: 3.75rem;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
  transition: all var(--transition-base);
  position: relative;
  cursor: pointer;
}

.whatsapp-float-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.5);
}

.whatsapp-float-button svg {
  width: 2rem;
  height: 2rem;
  fill: var(--accent-foreground);
}

.whatsapp-float-button::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
  animation: pulse 2.5s ease-in-out infinite;
}

.whatsapp-float-tooltip {
  position: absolute;
  right: 4.6875rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--card);
  padding: 0.75rem 1.125rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
}

.whatsapp-float-tooltip::after {
  content: '';
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 0.5rem solid transparent;
  border-bottom: 0.5rem solid transparent;
  border-left: 0.5rem solid var(--card);
}

@media (max-width: 640px) {
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; }
  .whatsapp-float-button { width: 3.5rem; height: 3.5rem; }
  .whatsapp-float-tooltip { display: none; }
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

/* Solo ocultar si JS está disponible (clase .js en <html>) */
.js .scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.js .scroll-reveal-delay-1 { transition-delay: 0.1s; }
.js .scroll-reveal-delay-2 { transition-delay: 0.2s; }
.js .scroll-reveal-delay-3 { transition-delay: 0.3s; }
.js .scroll-reveal-delay-4 { transition-delay: 0.4s; }

/* ========================================
   MOBILE OPTIMIZATIONS
   ======================================== */

@media (max-width: 640px) {
  .section { padding: 3.75rem 0; }
  .container { padding: 0 1.25rem; }
  .hero { padding: 6.25rem 0 3.75rem; min-height: auto; }
  
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.625rem; }
  
  .feature-card { padding: 1.5rem; }
  .pricing-card { padding: 1.75rem; }
}

/* ========================================
   BLOG STYLES (mantener compatibilidad)
   ======================================== */

.blog-page {
  padding: 7.5rem 0 5rem;
}

.blog-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  background: var(--primary-bg);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0 auto 1.5rem;
  text-align: center;
}

.blog-social-proof-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* ========================================
   BLOG INDEX - Header & Layout
   ======================================== */

.blog-evocative {
  text-align: center;
  margin-bottom: 1rem;
}

.blog-evocative-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.blog-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.blog-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--foreground);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.blog-brand {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.blog-subtitle {
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ========================================
   BLOG INDEX - Topic Chips
   ======================================== */

.blog-topics {
  margin-bottom: 3rem;
}

.blog-topics-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: all var(--transition-base);
}

.blog-chip svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

.blog-chip:hover {
  background: var(--primary-bg);
  border-color: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

/* ========================================
   BLOG INDEX - Article Cards
   ======================================== */

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.blog-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.blog-card-link {
  display: block;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
}

.blog-card-category {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: var(--primary-bg);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.blog-card-category svg {
  width: 0.8125rem;
  height: 0.8125rem;
}

.blog-card-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.blog-card:hover .blog-card-title {
  color: var(--primary-dark);
}

.blog-card-excerpt {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.blog-card-takeaway {
  background: var(--primary-bg);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.blog-card-takeaway-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.blog-card-takeaway ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.blog-card-takeaway li {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.blog-card-takeaway li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.75rem;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.blog-card-date {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.blog-card-read {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition-base);
}

.blog-card-read svg {
  width: 1rem;
  height: 1rem;
  transition: transform var(--transition-base);
}

.blog-card:hover .blog-card-read svg {
  transform: translateX(3px);
}

/* ========================================
   BLOG INDEX - CTA Sections
   ======================================== */

.blog-cta-mid {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
}

.blog-cta-mid-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.blog-cta-mid-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.blog-cta-mid-text {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.blog-cta-final {
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  margin-top: 3rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.blog-cta-final-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.blog-cta-final-text {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* ========================================
   BLOG POST - Article Layout
   ======================================== */

.blog-post {
  padding-top: 5rem;
}

.blog-post-header {
  text-align: center;
  padding: 3rem 0 2.5rem;
}

.blog-post-header-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}

.blog-post-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.blog-post-breadcrumb a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.blog-post-breadcrumb a:hover {
  color: var(--primary);
}

.blog-post-breadcrumb span {
  color: var(--gray-300);
}

.blog-post-eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.blog-post-title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: var(--foreground);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.blog-post-subtitle {
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.blog-post-emotional {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.blog-post-meta-compact {
  gap: 1rem;
}

.blog-post-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.blog-post-meta-item svg {
  width: 0.875rem;
  height: 0.875rem;
  opacity: 0.6;
}

/* ========================================
   BLOG POST - Hero Image
   ======================================== */

.blog-post-hero-image {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.blog-post-hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: block;
}

/* ========================================
   BLOG POST - Content Sections
   ======================================== */

.blog-post-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.blog-post-section {
  margin-bottom: 2.5rem;
}

.blog-post-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-post-section p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.blog-post-section a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-post-section a:hover {
  color: var(--primary-dark);
}

.blog-post-micro-subtitle {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.375rem;
}

.blog-post-lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ========================================
   BLOG POST - Checklist
   ======================================== */

.blog-post-checklist {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-post-checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.blog-post-checklist .check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.125rem;
}

.blog-post-checklist li div {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.blog-post-checklist li div strong {
  color: var(--foreground);
}

/* ========================================
   BLOG POST - Tables
   ======================================== */

.blog-post-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.blog-post-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.blog-post-table thead {
  background: var(--primary-bg);
}

.blog-post-table th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid var(--border);
}

.blog-post-table td {
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.blog-post-table tr:last-child td {
  border-bottom: none;
}

.blog-post-table tr.highlight {
  background: var(--primary-bg);
}

.blog-post-table tr.highlight td {
  color: var(--primary-dark);
}

/* ========================================
   BLOG POST - Chart
   ======================================== */

.blog-post-chart {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.blog-post-chart-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.blog-post-chart-bars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-post-chart-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.blog-post-chart-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-foreground);
  min-width: 4.5rem;
}

.blog-post-chart-bar-bg {
  flex: 1;
  height: 1.5rem;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.blog-post-chart-bar-fill {
  height: 100%;
  background: var(--gray-300);
  border-radius: var(--radius-full);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-post-chart-bar-fill-blue {
  background: var(--gradient-primary);
}

.blog-post-chart-bar-highlight .blog-post-chart-label {
  color: var(--primary-dark);
  font-weight: 600;
}

.blog-post-chart-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
  min-width: 2.5rem;
  text-align: right;
}

.blog-post-chart-bar-highlight .blog-post-chart-value {
  color: var(--primary-dark);
}

/* ========================================
   BLOG POST - Insight Box
   ======================================== */

.blog-post-insight {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--primary-bg);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 1.5rem 0;
}

.blog-post-insight-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.blog-post-insight-content {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.blog-post-insight-content strong {
  display: block;
  color: var(--primary-dark);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.blog-post-insight-content p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.9375rem;
}

/* ========================================
   BLOG POST - CTA Mid & Final
   ======================================== */

.blog-post-cta-mid {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin: 2.5rem 0;
}

.blog-post-cta-fadein {
  animation: fadeIn 0.6s ease-out;
}

.blog-post-cta-mid-text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.blog-post-cta-final {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  margin: 2rem 0;
}

.blog-post-cta-final h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 0.5rem;
}

.blog-post-cta-final p {
  font-size: 1rem;
  color: hsla(0, 0%, 100%, 0.85);
  margin-bottom: 1.5rem;
}

.blog-post-cta-final .btn-primary {
  background: var(--card);
  color: var(--primary-dark);
  border-color: var(--card);
}

.blog-post-cta-final .btn-primary:hover {
  background: hsla(0, 0%, 100%, 0.9);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   BLOG POST - Summary Box
   ======================================== */

.blog-post-summary {
  background: var(--primary-bg);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.blog-post-summary h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.blog-post-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-post-summary li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}

.blog-post-summary li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}

/* ========================================
   BLOG POST - Testimonial
   ======================================== */

.blog-post-micro-testimonial {
  border-left: 3px solid var(--primary-light);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: var(--gray-50);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.blog-post-micro-testimonial-quote {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.blog-post-micro-testimonial-author {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

/* ========================================
   BLOG POST - Related Articles
   ======================================== */

.blog-post-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.blog-post-related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.blog-post-related-header h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.blog-post-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.blog-post-back-link:hover {
  color: var(--primary);
}

.blog-post-back-link svg {
  width: 0.875rem;
  height: 0.875rem;
}

.blog-post-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.blog-post-related-card {
  display: block;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-base);
}

.blog-post-related-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-post-related-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-bg);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-post-related-card h5 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.4;
  margin: 0;
}

.blog-post-related-card:hover h5 {
  color: var(--primary-dark);
}

.blog-post-end-separator {
  height: 1px;
  background: var(--border);
  margin: 3rem 0 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   BLOG POST - Infographics
   ======================================== */

.blog-post-infographic {
  margin: 2rem 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}

.blog-post-infographic svg {
  display: block;
}

/* ========================================
   BLOG - Responsive
   ======================================== */

@media (max-width: 768px) {
  .blog-page {
    padding: 6rem 0 3rem;
  }

  .blog-card-link {
    padding: 1.5rem;
  }

  .blog-card-title {
    font-size: 1.1875rem;
  }

  .blog-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .blog-post-header {
    padding: 2rem 0 1.5rem;
  }

  .blog-post-content {
    padding: 0 1rem 2rem;
  }

  .blog-post-section h2 {
    font-size: 1.25rem;
  }

  .blog-post-insight {
    flex-direction: column;
    gap: 0.5rem;
  }

  .blog-post-related-grid {
    grid-template-columns: 1fr;
  }

  .blog-post-related-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .blog-post-cta-final {
    padding: 2rem 1.25rem;
  }

  .blog-post-cta-final h3 {
    font-size: 1.25rem;
  }

  .blog-cta-final {
    padding: 2.5rem 1.5rem;
    margin-top: 2rem;
  }

  .blog-cta-mid {
    padding: 2rem 1.25rem;
  }

  .blog-post-table th,
  .blog-post-table td {
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
  }

  .blog-post-meta {
    gap: 0.75rem;
  }
}
