/* ==========================================================================
   MCF Immigration — Estilos del sitio
   Marcela Corva Flórez · mcfimmigration.com
   Paleta: rojo #9B0E26 + blanco + gris #5F6368 + negro
   ========================================================================== */

:root {
  --brand: #9B0E26;
  --brand-dark: #7A0B1E;
  --brand-light: #fbe9ed;
  --text: #1a1a1a;
  --text-muted: #5F6368;
  --bg: #ffffff;
  --bg-alt: #fafaf7;
  --border: #e5e5e0;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1200px;
  --radius: 12px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 30px 60px rgba(155, 14, 38, 0.12);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-dark); }

/* SELECTION + SCROLLBAR */
::selection { background: var(--brand); color: white; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 10px; }

/* CONTAINER */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* TIPOGRAFÍA */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
h1 { font-size: clamp(36px, 5.5vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: clamp(22px, 2.5vw, 28px); }
h4 { font-size: 20px; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.5;
}

.section-padding { padding: 100px 0; }
@media (max-width: 768px) { .section-padding { padding: 70px 0; } }

/* BOTONES — sombras vivas y efectos al hover */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--brand);
  color: white;
  border: 2px solid var(--brand);
  border-radius: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 14px rgba(155, 14, 38, 0.25),
    0 2px 4px rgba(155, 14, 38, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.2s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.25s, background-color 0.2s;
}
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s;
  pointer-events: none;
}
.btn:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: white;
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 16px 32px rgba(155, 14, 38, 0.35),
    0 6px 12px rgba(155, 14, 38, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn:hover::after { left: 100%; }
.btn:active {
  transform: translateY(-1px) scale(0.98);
  transition-duration: 0.1s;
}
.btn-outline {
  background: white;
  color: var(--brand);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.06),
    0 2px 4px rgba(0, 0, 0, 0.04);
}
.btn-outline:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  box-shadow:
    0 16px 32px rgba(155, 14, 38, 0.35),
    0 6px 12px rgba(155, 14, 38, 0.25);
}
.btn-secondary {
  background: var(--text);
  border-color: var(--text);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.18),
    0 2px 4px rgba(0, 0, 0, 0.10);
}
.btn-secondary:hover {
  background: #000;
  border-color: #000;
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.25),
    0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Pulso sutil en el CTA principal del hero */
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(155, 14, 38, 0.25), 0 2px 4px rgba(155, 14, 38, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
  50% { box-shadow: 0 6px 20px rgba(155, 14, 38, 0.45), 0 3px 8px rgba(155, 14, 38, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
}
.hero .btn:not(.btn-outline):not(.btn-secondary) { animation: btn-pulse 3s ease-in-out infinite; }
.hero .btn:not(.btn-outline):not(.btn-secondary):hover { animation: none; }

/* LOGO */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}
.logo-img-footer { height: 56px; }
@media (max-width: 540px) {
  .logo-img { height: 40px; }
}

/* HEADER / NAV */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* TOGGLE ES/EN */
.lang-toggle {
  display: inline-flex;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  background: transparent;
  border: none;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.05em;
  line-height: 1;
}
.lang-btn:hover:not(:disabled):not(.active) {
  background: white;
  color: var(--text);
}
.lang-btn.active {
  background: var(--brand);
  color: white;
  box-shadow: 0 2px 6px rgba(155, 14, 38, 0.25);
}
.lang-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  position: relative;
}
.lang-btn:disabled::after {
  content: 'Próximamente';
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  background: white;
  border: 1px solid var(--border);
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  box-shadow: var(--shadow-sm);
}
.lang-toggle:hover .lang-btn:disabled::after { opacity: 1; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: all 0.3s;
}

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: white;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
  .menu-toggle { display: block; }
  .nav-cta-desktop { display: none; }
}
@media (max-width: 540px) {
  .lang-toggle { display: none; }
}

main { padding-top: 80px; }

/* HERO */
.hero {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 10%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(155, 14, 38, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero-lead {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.5;
}
.hero-eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero-eyebrow-tag::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}
.cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-disclaimer {
  font-size: 13px;
  color: var(--text-muted);
  padding: 14px 18px;
  background: white;
  border-left: 3px solid var(--brand);
  border-radius: 4px;
  max-width: 540px;
  line-height: 1.5;
}
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--brand-light), white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--brand);
  text-align: center;
  padding: 24px;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-photo { color: var(--brand-dark); font-weight: 600; font-size: 14px; }
.placeholder-photo svg { width: 72px; height: 72px; margin-bottom: 12px; opacity: 0.5; }
.placeholder-photo span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 400;
}

/* PILARES */
.pillars {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 24px; }
}
.pillar {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar-icon {
  width: 48px; height: 48px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pillar-icon svg { width: 24px; height: 24px; }
.pillar h3 { margin-bottom: 12px; font-size: 22px; }
.pillar p { color: var(--text-muted); font-size: 15px; }

/* TARJETAS SERVICIOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 920px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card-number {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.service-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
  font-family: var(--serif);
}
.service-card p { color: var(--text-muted); font-size: 14px; line-height: 1.5; margin-bottom: 16px; }
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.arrow-link span { transition: transform 0.2s; display: inline-block; }
.service-card:hover .arrow-link span { transform: translateX(4px); }

/* PROCESS WIZARD — estilo "appointment assistant" con sidebar + panel */
.process-wizard {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.06),
    0 8px 20px rgba(0, 0, 0, 0.04);
  max-width: 1080px;
  margin: 48px auto 0;
}
@media (max-width: 900px) {
  .process-wizard { grid-template-columns: 1fr; }
}

.process-sidebar {
  background: var(--bg-alt);
  padding: 32px 20px;
  border-right: 1px solid var(--border);
}
@media (max-width: 900px) {
  .process-sidebar { border-right: none; border-bottom: 1px solid var(--border); padding: 24px 16px; }
}

.process-sidebar .sidebar-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
  padding: 0 12px;
}
.process-sidebar .sidebar-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  padding: 0 12px;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border-left: 3px solid transparent;
  position: relative;
  user-select: none;
}
.step-item:hover { background: rgba(155, 14, 38, 0.04); }
.step-item.active {
  background: white;
  border-left-color: var(--brand);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.step-circle {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-muted);
  transition: all 0.2s;
}
.step-item.active .step-circle {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
  box-shadow: 0 4px 10px rgba(155, 14, 38, 0.3);
}
.step-item.completed .step-circle {
  background: #16a34a;
  border-color: #16a34a;
  color: white;
}
.step-item.completed .step-circle::before {
  content: '';
  width: 12px; height: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5 9-11'/></svg>") center/contain no-repeat;
}
.step-item.completed .step-circle .step-num { display: none; }

.step-info { flex: 1; min-width: 0; }
.step-info strong {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.3;
}
.step-info small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* PANEL DEL PASO ACTIVO */
.process-panel-wrap { padding: 48px 44px; position: relative; }
@media (max-width: 768px) { .process-panel-wrap { padding: 32px 24px; } }

.process-panel {
  display: none;
  animation: panel-fade 0.4s ease;
}
.process-panel.active { display: block; }
@keyframes panel-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.panel-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-light);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.process-panel h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.15;
}
.panel-lead {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.panel-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.panel-bullets li {
  position: relative;
  padding: 8px 0 8px 30px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}
.panel-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 18px; height: 18px;
  background: var(--brand-light) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239B0E26' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5 9-11'/></svg>") center/10px no-repeat;
  border-radius: 50%;
}

.panel-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.panel-nav button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}
.panel-nav button:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand);
}
.panel-nav button:disabled { opacity: 0.4; cursor: not-allowed; }
.panel-nav button svg { width: 14px; height: 14px; }

/* BLOQUE DESTACADO MEMBRESÍAS */
.membership-banner {
  background: var(--brand);
  color: white;
  border-radius: 24px;
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.membership-banner::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.membership-banner > * { position: relative; z-index: 1; }
@media (max-width: 768px) {
  .membership-banner { grid-template-columns: 1fr; padding: 40px 28px; text-align: center; }
}
.membership-banner h3 {
  color: white;
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 12px;
}
.membership-banner p { color: rgba(255,255,255,0.9); font-size: 17px; max-width: 540px; }
.membership-banner .btn {
  background: white;
  color: var(--brand);
  border-color: white;
}
.membership-banner .btn:hover {
  background: var(--text);
  color: white;
  border-color: var(--text);
}

/* TESTIMONIOS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 920px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
.testimonial {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: transform 0.3s;
}
.testimonial:hover { transform: translateY(-4px); }
.testimonial::before {
  content: '"';
  position: absolute;
  top: 8px; left: 24px;
  font-family: var(--serif);
  font-size: 80px;
  color: var(--brand);
  opacity: 0.12;
  line-height: 1;
}
.testimonial-text {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  position: relative;
}
.testimonial-author {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.testimonial-placeholder {
  background: var(--bg-alt);
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* CTA FINAL — card claro con acento rojo + sombra flotante */
.final-cta {
  background: white;
  color: var(--text);
  border-radius: 24px;
  padding: 72px 60px 68px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 30px 80px rgba(155, 14, 38, 0.12),
    0 10px 30px rgba(0, 0, 0, 0.06);
}
@media (max-width: 768px) {
  .final-cta { padding: 52px 24px 48px; border-radius: 16px; }
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark), var(--brand));
}
.final-cta::after {
  content: '';
  position: absolute;
  top: -100px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--brand-light) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.8;
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta .eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 12px;
}
.final-cta h2 {
  color: var(--text);
  margin-bottom: 16px;
}
.final-cta p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.final-cta .cta-group { justify-content: center; gap: 14px; }
.final-cta .btn-outline {
  color: var(--brand);
  border-color: var(--brand);
  background: white;
}
.final-cta .btn-outline:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

/* FOOTER */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-about { grid-column: 1 / -1; }
}
.footer-about p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 16px 0;
  max-width: 360px;
}
.footer-col h5 {
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--brand); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transition: all 0.25s;
  color: var(--text);
}
.socials a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
  transform: translateY(-2px);
}
.socials svg { width: 16px; height: 16px; }
.footer-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 24px;
}
.footer-disclaimer strong { color: var(--text); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

/* === COMPONENTES DE PÁGINAS INTERIORES === */

/* Page hero (más compacto que el de la home) */
.page-hero {
  padding: 60px 0 40px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.5vw, 56px);
}
.page-hero .lead {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.5;
}

/* Aviso destacado (banner amarillo/info) */
.alert {
  padding: 20px 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fffaf0;
  border-left: 4px solid #d97706;
  margin: 32px 0;
  font-size: 15px;
  line-height: 1.6;
}
.alert strong { color: var(--text); }
.alert-info {
  background: #f0f7ff;
  border-left-color: #2563eb;
}
.alert-brand {
  background: var(--brand-light);
  border-left-color: var(--brand);
}

/* Tablas de servicios */
.services-table-wrap { overflow-x: auto; margin: 24px 0; }
.services-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.services-table thead {
  background: var(--bg-alt);
}
.services-table th {
  text-align: left;
  padding: 16px 20px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
}
.services-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.services-table tr:last-child td { border-bottom: none; }
.services-table .price {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--brand);
  font-size: 17px;
  white-space: nowrap;
}
.services-table .form-code {
  display: inline-block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 8px;
  font-family: 'SF Mono', Consolas, monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Lista con checks (qué incluye / no incluye) */
.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}
.check-list li {
  position: relative;
  padding: 8px 0 8px 36px;
  font-size: 16px;
  line-height: 1.5;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 22px; height: 22px;
  background: var(--brand) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5 9-11'/></svg>") center/14px no-repeat;
  border-radius: 50%;
}
.x-list { list-style: none; padding: 0; margin: 16px 0 24px; }
.x-list li {
  position: relative;
  padding: 8px 0 8px 36px;
  font-size: 16px;
  line-height: 1.5;
}
.x-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 22px; height: 22px;
  background: var(--text) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 6l12 12M6 18L18 6'/></svg>") center/12px no-repeat;
  border-radius: 50%;
}

/* SOBRE: foto sticky + bio */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 920px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
.about-photo {
  position: sticky;
  top: 100px;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--brand-light), white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 920px) { .about-photo { position: static; max-width: 480px; margin: 0 auto; } }
.about-credentials {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}
.about-credentials::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--brand);
  border-radius: 50%;
}
.about-content h2 { margin-bottom: 16px; }
.about-content p {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.65;
}
.transparency-box {
  margin-top: 36px;
  padding: 32px;
  background: var(--brand);
  color: white;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.transparency-box::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.transparency-box > * { position: relative; }
.transparency-box h3 { color: white; margin-bottom: 16px; font-size: 22px; }
.transparency-box p { color: rgba(255,255,255,0.95); font-size: 15px; }
.transparency-box ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.transparency-box ul li {
  padding: 6px 0 6px 28px;
  position: relative;
  color: rgba(255,255,255,0.95);
  font-size: 15px;
  line-height: 1.5;
}
.transparency-box ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 16px; height: 2px;
  background: rgba(255,255,255,0.7);
}

/* PLANES MEMBRESIAS */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 920px) { .plans-grid { grid-template-columns: 1fr; } }
.plan-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan-card.featured {
  border-color: var(--brand);
  border-width: 2px;
  background: linear-gradient(180deg, var(--brand-light), white);
}
.plan-card.featured::before {
  content: 'Recomendado';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: white;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.plan-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.plan-tagline {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.plan-price {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 4px;
}
.plan-price small {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  flex: 1;
}
.plan-features li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 16px; height: 16px;
  background: var(--brand-light) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239B0E26' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5 9-11'/></svg>") center/10px no-repeat;
  border-radius: 50%;
}

.plans-disclaimer {
  margin: 40px auto 0;
  max-width: 880px;
  padding: 20px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}
.plans-disclaimer strong { color: var(--text); }

/* PRODUCTOS DIGITALES */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) { .products-grid { grid-template-columns: 1fr; } }
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.3s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.product-price {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--brand);
  font-weight: 600;
  margin: 20px 0;
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-section {
  margin-bottom: 48px;
}
.faq-section h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand);
  display: inline-block;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  user-select: none;
}
.faq-question h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  flex: 1;
  letter-spacing: -0.01em;
  margin: 0;
}
.faq-icon {
  width: 32px; height: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--brand);
  transition: all 0.3s;
  font-weight: 300;
  line-height: 1;
}
.faq-item.active .faq-icon {
  background: var(--brand);
  color: white;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}
.faq-answer p { margin-bottom: 12px; }
.faq-item.active .faq-answer {
  max-height: 600px;
  padding-bottom: 20px;
}

/* FORMULARIO DE CONTACTO */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-info {
  background: var(--bg-alt);
  border-radius: 20px;
  padding: 36px;
}
.contact-info h3 { font-size: 22px; margin-bottom: 20px; }
.contact-method {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-method:last-child { border-bottom: none; }
.contact-method-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}
.contact-method-icon svg { width: 20px; height: 20px; }
.contact-method strong { display: block; font-family: var(--serif); font-size: 17px; margin-bottom: 2px; }
.contact-method a { color: var(--text); text-decoration: none; font-size: 15px; }
.contact-method a:hover { color: var(--brand); }
.contact-method p { font-size: 13px; color: var(--text-muted); margin: 4px 0 0; }

.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 15px;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(155, 14, 38, 0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-muted);
}
.form-check input { width: auto; margin-top: 3px; flex-shrink: 0; }

/* Calendar embed (Google Calendar Appointments) — versión compacta y estética */
.calendar-card {
  max-width: 880px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(155, 14, 38, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}
.calendar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  z-index: 2;
}
.calendar-card-header {
  background: white;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}
.calendar-card-header .badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.calendar-card-header .badge svg { width: 22px; height: 22px; }
.calendar-card-header h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.calendar-card-header p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}
.calendar-card-iframe {
  position: relative;
  height: 580px;
  overflow: hidden;
}
.calendar-card-iframe iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  border: 0;
  display: block;
}
@media (max-width: 600px) {
  .calendar-card-iframe { height: 520px; }
  .calendar-card-header { padding: 20px 20px 16px; }
  .calendar-card-header h3 { font-size: 18px; }
}

/* PAYMENT CARD — estilo Stripe */
.payment-card {
  max-width: 460px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}
.payment-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
}
.payment-card .vendor {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.payment-card .vendor-icon {
  width: 32px; height: 32px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}
.payment-card .vendor-icon svg { width: 16px; height: 16px; }
.payment-card .service-name {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.payment-card .amount {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.payment-card .amount-currency {
  font-size: 22px;
  color: var(--text-muted);
  margin-left: 4px;
  font-weight: 500;
}
.payment-card .description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}
.payment-card .pay-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow:
    0 6px 16px rgba(155, 14, 38, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  text-decoration: none;
}
.payment-card .pay-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow:
    0 12px 28px rgba(155, 14, 38, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: white;
}
.payment-card .pay-btn svg { width: 18px; height: 18px; }
.payment-card .secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
}
.payment-card .secure-note svg { width: 14px; height: 14px; }
.payment-card .secure-note .powered {
  color: var(--text-muted);
}
.payment-card .secure-note .powered strong {
  color: var(--text);
  font-weight: 600;
}

/* Grid reserva (calendario + pago) responsive */
@media (max-width: 900px) {
  .reserve-grid {
    grid-template-columns: 1fr !important;
  }
}

/* MODAL para confirmar pago (placeholder mientras se integra Stripe) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade-in 0.2s ease;
}
.modal-overlay.open { display: flex; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  font-size: 18px;
  line-height: 1;
}
.modal-close:hover { background: var(--border); }

/* LEGAL pages */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.legal-page h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 12px; }
.legal-page .legal-date {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.legal-page h2 {
  font-size: 24px;
  margin: 40px 0 16px;
}
.legal-page h3 {
  font-size: 18px;
  margin: 24px 0 12px;
  font-family: var(--sans);
  font-weight: 600;
}
.legal-page p, .legal-page li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}
.legal-page ul, .legal-page ol { margin: 12px 0 16px 20px; }
.legal-page li { margin-bottom: 6px; }

/* BLOG */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 920px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--brand-light), var(--bg-alt));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 60px;
  color: var(--brand);
  opacity: 0.5;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.blog-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 10px;
  line-height: 1.25;
}
.blog-card h3 a { color: var(--text); text-decoration: none; }
.blog-card h3 a:hover { color: var(--brand); }
.blog-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; flex: 1; }
.blog-card-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.blog-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.blog-post .post-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.blog-post .post-meta .cat {
  background: var(--brand-light);
  color: var(--brand);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 12px;
}
.blog-post h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 24px;
  line-height: 1.15;
}
.blog-post .post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.blog-post .post-author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.blog-post .post-author strong { display: block; font-family: var(--serif); font-size: 16px; }
.blog-post .post-author span { font-size: 13px; color: var(--text-muted); }
.blog-post .content p,
.blog-post .content li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}
.blog-post .content p { margin-bottom: 18px; }
.blog-post .content h2 {
  font-size: 28px;
  margin: 40px 0 16px;
}
.blog-post .content h3 {
  font-size: 22px;
  margin: 32px 0 12px;
}
.blog-post .content ul,
.blog-post .content ol { margin: 12px 0 20px 24px; }
.blog-post .content li { margin-bottom: 8px; }
.blog-post .content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-size: 15px;
}
.blog-post .content table th {
  background: var(--bg-alt);
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.blog-post .content table td {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}
.post-takeaway {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-alt);
  border-left: 4px solid var(--brand);
  border-radius: 12px;
}
.post-takeaway h3 { font-family: var(--serif); margin-bottom: 16px; }
.post-takeaway ul { margin-left: 20px; }
.post-disclaimer {
  margin-top: 40px;
  padding: 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* WHATSAPP FLOATING — esquina inferior izquierda, chat IA va a la derecha */
.wa-float {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 50;
  transition: transform 0.3s;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); color: white; }
.wa-float svg { width: 32px; height: 32px; }

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   BANNER DE COOKIES / CONSENTIMIENTO (Meta Pixel)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.cookie-banner.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cookie-banner__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1 1 420px;
  margin: 0;
}
.cookie-banner__text a { color: var(--brand); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn { font-size: 14px; padding: 10px 22px; cursor: pointer; border: none; }
.cookie-btn--reject {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border) !important;
}
.cookie-btn--reject:hover { background: var(--bg-alt); }
.cookie-btn--accept { background: var(--brand); color: #fff; }
.cookie-btn--accept:hover { background: var(--brand-dark); }
@media (max-width: 640px) {
  .cookie-banner__inner { padding: 16px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; }
}
