/* ================================================
   RAMIL.PRO — Global Stylesheet (Light Theme)
   ================================================ */

/* ===== CSS Custom Properties ===== */
:root {
  /* Backgrounds */
  --bg: #ffffff;
  --bg-2: #f8f9fc;
  --bg-card: #ffffff;
  --bg-card-hover: #fff5f7;

  /* Borders */
  --border: #e5e7eb;
  --border-accent: rgba(128, 0, 32, 0.28);

  /* Accent — Magenta */
  --accent: #800020;
  --accent-hover: #6b0018;
  --accent-light: #c24b6e;
  --accent-glow: rgba(128, 0, 32, 0.12);
  --accent-bg: rgba(128, 0, 32, 0.06);

  /* Text */
  --text-1: #111827;
  --text-2: #4b5563;
  --text-3: #9ca3af;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.09);
  --shadow-accent: 0 4px 20px rgba(128, 0, 32, 0.18);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5 {
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-1);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; font-weight: 700; }
p { color: var(--text-2); line-height: 1.75; }

.text-accent { color: var(--accent); }
.text-muted { color: var(--text-3); }

/* ===== Layout ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }

/* ===== Lucide Icons ===== */
[data-lucide] {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  vertical-align: middle;
  display: inline-block;
  flex-shrink: 0;
}
.icon-lg { width: 22px; height: 22px; }
.icon-xl { width: 28px; height: 28px; }

/* ===== Section Header ===== */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-header p { font-size: 1.05rem; margin-top: 16px; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 5px 14px;
  background: var(--accent-bg);
  border: 1px solid rgba(128, 0, 32, 0.18);
  border-radius: 100px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(128, 0, 32, 0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--text-1);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-ghost {
  background: var(--bg-2);
  color: var(--text-1);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--border); }
.btn-lg { padding: 16px 34px; font-size: 1rem; border-radius: 10px; }
.btn-sm { padding: 9px 18px; font-size: 0.875rem; }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  transition: all 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 4px 16px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-1);
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-1);
  background: var(--bg-2);
}
.nav-cta { flex-shrink: 0; }

/* Dropdown */
.nav-item { position: relative; }
.nav-item > a .nav-arrow {
  display: inline-block;
  width: 14px; height: 14px;
  margin-left: 2px;
  vertical-align: middle;
  opacity: 0.5;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.2s var(--ease);
  box-shadow: var(--shadow-lg);
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-dropdown a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 14px !important;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-2) !important;
  background: none !important;
}
.nav-dropdown a:hover {
  background: var(--bg-2) !important;
  color: var(--text-1) !important;
}
.nav-dropdown-icon {
  width: 32px; height: 32px;
  background: var(--accent-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

/* Mobile Nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: all 0.2s;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.15s;
}
.mobile-menu a:hover { color: var(--accent); background: var(--accent-bg); }
.mobile-menu .mobile-cta { margin-top: 16px; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -150px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(128,0,32,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-bg);
  border: 1px solid rgba(128,0,32,0.18);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-hover);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}
.hero-title { margin-bottom: 24px; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 36px; padding-top: 40px; border-top: 1px solid var(--border); }
.hero-stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.03em;
}
.hero-stat-label { font-size: 0.78rem; color: var(--text-3); margin-top: 2px; }

/* Hero image */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  max-width: 460px;
  height: 560px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}
.hero-image-badge {
  position: absolute;
  bottom: 32px;
  left: -16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  z-index: 2;
}
.hero-image-badge-icon {
  width: 40px; height: 40px;
  background: var(--accent-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.hero-image-badge-text { font-size: 0.78rem; color: var(--text-2); }
.hero-image-badge-text strong { display: block; color: var(--text-1); font-size: 0.875rem; margin-bottom: 2px; }

/* Page Hero (inner pages) */
.page-hero {
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(circle, rgba(128,0,32,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.page-hero p { font-size: 1.1rem; margin-top: 20px; }

/* ===== Cards ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(128,0,32,0.1);
}
.card-icon {
  width: 48px; height: 48px;
  background: var(--accent-bg);
  border: 1px solid rgba(128,0,32,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.card-icon.neutral {
  background: var(--bg-2);
  border-color: var(--border);
  color: var(--text-2);
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.95rem; }

/* Service card with link */
.service-card { display: block; position: relative; overflow: hidden; }
.service-card .card-arrow {
  position: absolute;
  top: 28px; right: 28px;
  color: var(--text-3);
  transition: all 0.2s var(--ease);
}
.service-card:hover .card-arrow { color: var(--accent); transform: translateX(4px); }
.service-card .badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-3);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== Pain Section ===== */
.pain-section { background: var(--bg-2); }
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.pain-list { display: flex; flex-direction: column; gap: 12px; }
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.pain-item:hover { border-color: var(--border-accent); }
.pain-icon {
  width: 36px; height: 36px;
  background: var(--accent-bg);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.pain-text { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; padding-top: 7px; }

/* ===== About Section ===== */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-image { position: relative; }
.about-image img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about-tags {
  position: absolute;
  bottom: -16px; right: -16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 180px;
  justify-content: flex-end;
}
.tag {
  padding: 5px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.about-content .skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.skill {
  padding: 6px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.15s;
}
.skill:hover { border-color: var(--border-accent); color: var(--accent); }

/* ===== Process Section ===== */
.process-steps { display: flex; flex-direction: column; gap: 16px; position: relative; max-width: 800px; margin: 0 auto; }
.process-steps::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 52px; bottom: 52px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(128,0,32,0.15));
}
.process-step {
  display: flex;
  gap: 24px;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.process-step:hover { border-color: var(--border-accent); box-shadow: var(--shadow); }
.process-num {
  width: 54px; height: 54px;
  min-width: 54px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.process-step-content h4 { margin-bottom: 8px; }
.process-step-content p { font-size: 0.9rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.faq-item.open { border-color: var(--border-accent); box-shadow: var(--shadow); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-1);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
  gap: 16px;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  width: 28px; height: 28px; min-width: 28px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: transform 0.25s, background 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent-bg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 96px 24px;
  text-align: center;
  background: var(--bg-2);
}
.cta-section-inner { max-width: 680px; margin: 0 auto; }
.cta-section h2 { margin-bottom: 20px; }
.cta-section p { font-size: 1.05rem; margin-bottom: 40px; }
.cta-disclaimer { font-size: 0.8rem; color: var(--text-3); margin-top: 16px; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--accent-bg), rgba(128,0,32,0.04));
  border: 1px solid rgba(128,0,32,0.18);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
}

/* ===== Services List (detail pages) ===== */
.services-list { display: flex; flex-direction: column; gap: 40px; }
.services-group {}
.services-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.service-items { display: flex; flex-direction: column; gap: 8px; }
.service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-2);
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.service-item:hover { border-color: var(--border-accent); color: var(--text-1); }
.service-item-check {
  width: 20px; height: 20px; min-width: 20px;
  background: var(--accent-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

/* ===== Why Cards ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.why-card-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 10px;
}
.why-card h4 { margin-bottom: 8px; }
.why-card p { font-size: 0.875rem; }

/* ===== Contact ===== */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { font-size: 1rem; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.contact-detail-icon {
  width: 38px; height: 38px;
  background: var(--accent-bg);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-detail-text { font-size: 0.82rem; color: var(--text-3); }
.contact-detail-text a, .contact-detail-text strong {
  color: var(--text-1);
  font-weight: 600;
  display: block;
  margin-top: 2px;
}
.contact-photo-wrapper img {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form h3 { margin-bottom: 8px; }
.contact-form > p { font-size: 0.9rem; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text-1);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(128,0,32,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.78rem; color: var(--text-3); margin-top: 12px; }
.form-note a { color: var(--accent); }

/* ===== Footer ===== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 24px 32px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-brand p {
  font-size: 0.875rem;
  margin-top: 12px;
  max-width: 260px;
  line-height: 1.65;
}
.footer-logo { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.04em; color: var(--text-1); }
.footer-logo span { color: var(--accent); }
.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.875rem;
  color: var(--text-2);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-3); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 0.8rem; color: var(--text-3); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--text-2); }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-link {
  width: 34px; height: 34px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all 0.2s;
}
.social-link:hover {
  background: var(--accent-bg);
  border-color: var(--border-accent);
  color: var(--accent);
}

/* ===== Highlight Box ===== */
.highlight-box {
  background: var(--accent-bg);
  border: 1px solid rgba(128,0,32,0.15);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.highlight-box h4 { margin-bottom: 8px; color: var(--accent-hover); }
.highlight-box p { font-size: 0.9rem; }

/* ===== Two-col layout ===== */
.two-col-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ===== Growth Partner Page ===== */
.gp-content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}
.gp-main h2 { margin: 12px 0 24px; }
.gp-main p { font-size: 1rem; }
.gp-aside { position: -webkit-sticky; position: sticky; top: 88px; }
.gp-kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.gp-kpi {
  padding: 5px 14px;
  background: var(--accent-bg);
  border: 1px solid rgba(128, 0, 32, 0.18);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.03em;
}
.gp-no-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.gp-no-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
}
.gp-no-card h4 { margin-bottom: 10px; }
.gp-no-card p { font-size: 0.95rem; }

@media (max-width: 900px) {
  .gp-content-grid { grid-template-columns: 1fr; gap: 32px; }
  .gp-aside { position: static; }
}

/* ===== Hero Trust Badge ===== */
.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-3);
}
.hero-trust svg { color: var(--accent); flex-shrink: 0; }

/* ===== Metrics Section ===== */
.metrics-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.metric-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 32px 28px;
  background: var(--bg-card);
  transition: background 0.2s;
}
.metric-card:hover { background: var(--bg-card-hover); }
.metric-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}
.metric-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-1);
}
.metric-desc {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.5;
}

/* ===== History Section ===== */
.history-chapters {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.history-chapter {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 36px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.history-chapter:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow);
}
.history-chapter-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--accent-bg);
  border: 1px solid rgba(128, 0, 32, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.history-chapter-content { flex: 1; }
.history-chapter-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.history-chapter-content h3 { margin-bottom: 12px; }
.history-chapter-content p { font-size: 0.95rem; }

/* ===== Case Study ===== */
.case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.case-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.case-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.case-channel {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.case-from {
  font-size: 0.9rem;
  color: var(--text-3);
  text-decoration: line-through;
}
.case-arrow { color: var(--accent); }
.case-to {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.case-pct {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 3px 12px;
  border-radius: 100px;
  width: fit-content;
}
.case-note {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: 4px;
}
.case-footer {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-1);
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
}

/* ===== Mentorías page ===== */
.mentoria-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mentoria-level { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; background: var(--bg-card); position: relative; transition: box-shadow 0.2s; }
.mentoria-level.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.mentoria-level-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; padding: 4px 14px; border-radius: 99px; white-space: nowrap; }
.mentoria-level-num { font-size: 0.75rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.mentoria-level h3 { font-size: 1.15rem; margin-bottom: 12px; }
.mentoria-level p { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }
.mentoria-level-items { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.mentoria-level-item { display: flex; align-items: flex-start; gap: 8px; font-size: 0.82rem; color: var(--text-2); }
.mentoria-level-item i[data-lucide] { flex-shrink: 0; margin-top: 2px; color: var(--accent); width: 13px; height: 13px; }
.mentoria-arrow { display: flex; align-items: center; justify-content: center; margin-top: 32px; }
.mentoria-arrow-step { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mentoria-arrow-label { font-size: 0.75rem; color: var(--text-3); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.mentoria-arrow-icon { color: var(--text-3); margin: 0 12px; width: 20px; height: 20px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.compare-table th { padding: 14px 20px; text-align: left; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); border-bottom: 2px solid var(--border); }
.compare-table th:not(:first-child) { text-align: center; }
.compare-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); color: var(--text-2); vertical-align: middle; }
.compare-table td:not(:first-child) { text-align: center; font-weight: 600; color: var(--text-1); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table thead th:nth-child(2) { color: var(--accent); }
.session-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 860px) {
  .mentoria-levels { grid-template-columns: 1fr; }
  .session-detail { grid-template-columns: 1fr; }
  .compare-table { font-size: 0.8rem; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
}

/* ===== Contacto page ===== */
.calendly-wrapper { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.calendly-inline-widget { min-width: 320px; height: 700px; }
.contact-split { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.contact-sidebar { position: -webkit-sticky; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; }
.divider-or { display: flex; align-items: center; gap: 16px; margin: 56px 0 40px; color: var(--text-3); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.divider-or::before, .divider-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.contact-quick-link { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--text-2); transition: color 0.2s; }
.contact-quick-link:hover { color: var(--accent); }
.contact-form-photo { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; max-width: 960px; margin: 0 auto; }
.contact-photo-aside { display: flex; flex-direction: column; gap: 16px; }
.whatsapp-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); text-align: center; }
.whatsapp-box h4 { margin-bottom: 8px; }
.whatsapp-box p { font-size: 0.875rem; color: var(--text-2); margin-bottom: 16px; }
.btn-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #25D366; color: #fff; border-radius: var(--radius); padding: 12px 20px; font-weight: 600; font-size: 0.95rem; width: 100%; transition: background 0.2s; text-decoration: none; }
.btn-whatsapp:hover { background: #1ebe5d; color: #fff; }
@media (max-width: 900px) {
  .contact-split { grid-template-columns: 1fr; gap: 40px; }
  .contact-sidebar { position: static; }
  .calendly-inline-widget { height: 580px; }
  .contact-form-photo { grid-template-columns: 1fr; }
}

/* ===== Form success message ===== */
#form-success { display: none; background: #f0fdf4; border: 1px solid #86efac; border-radius: var(--radius-sm); padding: 14px 18px; color: #166534; font-size: 0.9rem; margin-bottom: 16px; }

/* ===== Animations ===== */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .two-col-section { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { display: flex; justify-content: center; }
  .hero-image img { max-width: 320px; height: 380px; }
  .hero-image-badge { left: 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-image { display: flex; justify-content: center; }
  .about-image img { max-width: 320px; }
  .about-tags { right: 0; bottom: -8px; }
  .contact-inner { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .case-results { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 90px 24px 60px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .hero-actions { flex-direction: column; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .history-chapter { flex-direction: column; gap: 20px; padding: 28px 24px; }
  .history-chapter-icon { width: 48px; height: 48px; min-width: 48px; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }
  .section-header { margin-bottom: 40px; }
}

/* ===== Blog ===== */
.blog-hero {
  padding: 100px 24px 64px;
  text-align: center;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.blog-hero h1 { margin-bottom: 16px; }
.blog-hero p { max-width: 560px; margin: 0 auto 32px; font-size: 1.1rem; }

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
}
.blog-filter-btn {
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.blog-filter-btn:hover,
.blog-filter-btn.active {
  border-color: var(--accent);
  background: var(--accent-bg);
  color: var(--accent);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  display: flex;
  flex-direction: column;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.blog-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.blog-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--accent-bg);
  color: var(--accent);
}
.blog-date {
  font-size: 0.8rem;
  color: var(--text-3);
}
.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
}
.blog-card-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.18s var(--ease);
}
.blog-card-link:hover svg { transform: translateX(4px); }

/* Article */
.article-hero {
  padding: 100px 24px 56px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.article-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}
.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.article-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  margin-bottom: 20px;
  line-height: 1.2;
}
.article-hero .article-lead {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto;
}
.article-read-time {
  font-size: 0.82rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 5px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
}
.article-body {
  min-width: 0;
}
.article-body h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 48px 0 16px;
  color: var(--text-1);
  padding-top: 8px;
  border-top: 2px solid var(--accent-bg);
}
.article-body h2:first-child { margin-top: 0; border-top: none; }
.article-body h3 {
  font-size: 1.1rem;
  margin: 32px 0 12px;
  color: var(--text-1);
}
.article-body p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-2);
}
.article-body ul,
.article-body ol {
  margin: 0 0 20px 24px;
  color: var(--text-2);
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li {
  margin-bottom: 8px;
  line-height: 1.75;
  font-size: 1rem;
}
.article-body strong { color: var(--text-1); font-weight: 700; }
.article-body em { font-style: italic; }

.article-takeaway {
  background: var(--accent-bg);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 32px 0;
}
.article-takeaway p {
  margin: 0;
  color: var(--text-1);
  font-weight: 500;
}
.article-takeaway strong { color: var(--accent); }

.article-insight {
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 36px 0;
}
.article-insight-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.article-insight p { margin: 0; color: var(--text-2); }

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.88rem;
  overflow-x: auto;
  display: block;
}
.article-table th {
  background: var(--bg-2);
  color: var(--text-1);
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.article-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: top;
}
.article-table tr:last-child td { border-bottom: none; }

.article-step {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.article-step-num {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.article-step-content p { margin: 0; }

.article-error-block {
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.article-error-block h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text-1);
}
.article-error-block p { margin: 0; font-size: 0.92rem; }
.article-error-block .solución-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-top: 10px;
  margin-bottom: 4px;
}

.article-case {
  background: linear-gradient(135deg, var(--accent-bg) 0%, rgba(128,0,32,0.03) 100%);
  border: 1.5px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 32px;
  margin: 36px 0;
}
.article-case h3 { margin-top: 0; color: var(--accent); }
.article-case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.article-case-stat {
  text-align: center;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  border: 1px solid var(--border);
}
.article-case-stat .stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}
.article-case-stat .stat-label {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-top: 4px;
  display: block;
}

.article-cta {
  background: var(--text-1);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 32px;
  margin: 48px 0 0;
  text-align: center;
}
.article-cta h3 { color: #fff; margin-bottom: 12px; font-size: 1.25rem; }
.article-cta p { color: rgba(255,255,255,0.75); margin-bottom: 24px; }

/* Sidebar */
.article-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
}
.sidebar-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-card h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-3);
  margin-bottom: 16px;
  font-weight: 700;
}
.toc-list { display: flex; flex-direction: column; gap: 10px; }
.toc-list a {
  font-size: 0.875rem;
  color: var(--text-2);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.45;
  transition: color 0.15s;
}
.toc-list a:hover { color: var(--accent); }
.toc-num {
  font-weight: 800;
  color: var(--accent);
  min-width: 18px;
  font-size: 0.8rem;
  margin-top: 1px;
}
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.article-breadcrumb {
  font-size: 0.82rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}
.article-breadcrumb a { color: var(--text-3); }
.article-breadcrumb a:hover { color: var(--accent); }
.article-breadcrumb span { color: var(--text-3); }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { position: static; }
  .article-case-results { grid-template-columns: 1fr 1fr 1fr; }
  /* TOC is useless at the bottom on mobile — keep tags & CTA */
  .article-sidebar .sidebar-card:first-child { display: none; }
}
@media (max-width: 768px) {
  .blog-hero { padding: 80px 20px 48px; }
  .article-hero { padding: 80px 20px 40px; }
  .article-layout { padding: 40px 20px; gap: 32px; }
  .article-body h2 { margin-top: 36px; }
  .article-table { min-width: 560px; }
}
/* ===== Instagram Section ===== */
.instagram-section .section-header { margin-bottom: 40px; }

.instagram-link {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
}
.instagram-link:hover { opacity: 0.75; }

.instagram-widget-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

/* ===== Recursos Landing ===== */
.recursos-hero {
  padding: 120px 20px 60px;
  text-align: center;
  background: var(--bg-2);
}
.recursos-hero h1 { margin: 12px 0 16px; }
.recursos-hero p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
@media (max-width: 900px) { .recursos-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .recursos-grid { grid-template-columns: 1fr; } }

.recursos-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  text-decoration: none;
  color: inherit;
}
.recursos-card:not(.recursos-card--soon):hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}
.recursos-card--soon { opacity: 0.6; cursor: default; }

.recursos-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--accent-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.recursos-card-icon--muted { background: var(--bg-2); color: var(--text-3); }

.recursos-card-badge {
  position: absolute; top: 20px; right: 20px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent); color: #fff;
  padding: 3px 10px; border-radius: 99px;
}
.recursos-card-badge--soon { background: var(--bg-2); color: var(--text-3); }

.recursos-card h3 { margin: 0; font-size: 1.15rem; }
.recursos-card p  { font-size: 0.9rem; line-height: 1.6; flex: 1; }

.recursos-card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.875rem; font-weight: 600; color: var(--accent);
  margin-top: 4px;
}
.recursos-card-cta--muted { color: var(--text-3); }

/* Web Analyzer styles live in /recursos/web-analyzer/style.css */

/* LightWidget: make iframe fully responsive */
.instagram-widget-wrap iframe {
  display: block;
  width: 100% !important;
  border: none;
  border-radius: var(--radius-lg);
}

.instagram-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.instagram-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.instagram-follow-btn:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-case-results { grid-template-columns: 1fr; }
  .article-table { font-size: 0.82rem; min-width: 480px; }
  .article-hero { padding: 72px 16px 32px; text-align: left; }
  .article-hero-meta { justify-content: flex-start; }
  .article-hero .article-lead { text-align: left; }
  .article-layout { padding: 28px 16px; gap: 24px; }
  .article-body h2 { margin-top: 28px; }
  .article-body h3 { margin: 24px 0 10px; }
  .article-case { padding: 20px 16px; }
  .article-insight { padding: 18px 16px; }
  .article-takeaway { padding: 16px 18px; }
  .article-step { gap: 12px; }
  .carousel-llamadas { padding: 0 8px; }
}

/* ─── Carrusel "Llamadas Incómodas" ──────────────────────────────────────── */
.carousel-llamadas {
  display: flex;
  justify-content: center;
  width: 100%;
}
.carousel-llamadas .carousel-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: 540px;
}
.carousel-llamadas .viewport {
  width: 100%;
  aspect-ratio: 4 / 5;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  box-shadow: 0 32px 80px rgba(0,0,0,0.55);
}
/* Safari fallback for aspect-ratio */
@supports not (aspect-ratio: 4 / 5) {
  .carousel-llamadas .viewport { padding-top: 125%; height: 0; position: relative; }
  .carousel-llamadas .slide { position: absolute; top: 0; right: 0; bottom: 0; left: 0; height: auto; }
}
.carousel-llamadas .slide {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.carousel-llamadas .slide.active { display: flex; }

/* Slide 1 */
.carousel-llamadas .s1 { position: relative; }
.carousel-llamadas .s1-photo {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.carousel-llamadas .s1-overlay {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to bottom,
    rgba(8,8,24,0.50) 0%,
    rgba(8,8,24,0.25) 25%,
    rgba(8,8,24,0.72) 58%,
    rgba(8,8,24,0.97) 100%);
}
.carousel-llamadas .s1-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 6.5% 7.5% 7%;
}
.carousel-llamadas .s1-tag {
  font-size: clamp(10px, 2.2vw, 13px);
  letter-spacing: 0.14em;
  color: #e2b96f;
  font-weight: 700;
  background: rgba(8,8,24,0.55);
  padding: 7px 18px;
  border-radius: 40px;
  border: 1px solid rgba(226,185,111,0.35);
  align-self: flex-start;
}
.carousel-llamadas .s1-bottom { display: flex; flex-direction: column; gap: 3%; }
.carousel-llamadas .s1-hook {
  font-size: clamp(30px, 8.5vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  text-shadow: 0 4px 24px rgba(0,0,0,0.9);
}
.carousel-llamadas .s1-hook em { color: #e2b96f; font-style: normal; }
.carousel-llamadas .s1-sub {
  font-size: clamp(12px, 3vw, 17px);
  color: rgba(255,255,255,0.80);
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(0,0,0,0.9);
}
.carousel-llamadas .s1-swipe {
  font-size: clamp(11px, 2.6vw, 15px);
  color: #e2b96f;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 2%;
}

/* Slide 2 */
.carousel-llamadas .s2 {
  background: #0f0f1e;
  flex-direction: column;
  justify-content: center;
  padding: 9%;
  gap: 0;
}
.carousel-llamadas .s2 .label {
  font-size: clamp(9px, 2vw, 12px);
  color: rgba(255,255,255,0.32);
  letter-spacing: 0.14em;
  font-weight: 600;
}
.carousel-llamadas .s2 .num {
  font-size: clamp(90px, 28vw, 170px);
  font-weight: 900;
  color: #e2b96f;
  line-height: 1;
  margin: 1% 0 0;
}
.carousel-llamadas .s2 .stat-title {
  font-size: clamp(18px, 5vw, 30px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-top: 1%;
}
.carousel-llamadas .s2 .stat-body {
  font-size: clamp(11px, 2.8vw, 16px);
  color: rgba(255,255,255,0.48);
  line-height: 1.7;
  margin-top: 6%;
}
.carousel-llamadas .s2 .line {
  width: 60px; height: 5px;
  background: #e2b96f;
  margin-top: 8%;
  border-radius: 4px;
}

/* Slides 3–6 (tips) */
.carousel-llamadas .tip {
  background: #12122a;
  flex-direction: column;
  justify-content: flex-start;
  padding: 8% 8.5%;
  gap: 0;
}
.carousel-llamadas .tip-num {
  font-size: clamp(9px, 2vw, 12px);
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.14em;
  font-weight: 600;
}
.carousel-llamadas .tip-title {
  font-size: clamp(26px, 7.2vw, 44px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-top: 5%;
}
.carousel-llamadas .tip-title em { color: #e2b96f; font-style: normal; }
.carousel-llamadas .tip-body {
  font-size: clamp(11px, 2.8vw, 16px);
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  margin-top: 5%;
  flex: 1;
}
.carousel-llamadas .tip-pill {
  background: rgba(226,185,111,0.10);
  border: 1.5px solid rgba(226,185,111,0.35);
  border-radius: 16px;
  padding: 5% 6%;
  font-size: clamp(11px, 2.7vw, 15px);
  color: #e2b96f;
  font-weight: 600;
  line-height: 1.6;
  margin-top: 6%;
}

/* Slide 7 */
.carousel-llamadas .s7 {
  background: #0d1b2a;
  flex-direction: column;
  padding: 8% 8.5%;
}
.carousel-llamadas .s7-title {
  font-size: clamp(9px, 2.2vw, 13px);
  font-weight: 800;
  color: #e2b96f;
  letter-spacing: 0.12em;
  margin-bottom: 7%;
}
.carousel-llamadas .sline {
  display: flex;
  gap: 5%;
  align-items: flex-start;
  margin-bottom: 5%;
}
.carousel-llamadas .snum {
  min-width: clamp(32px, 8vw, 48px);
  height: clamp(32px, 8vw, 48px);
  border-radius: 50%;
  background: #e2b96f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(13px, 3.2vw, 19px);
  font-weight: 900;
  color: #0d1b2a;
  flex-shrink: 0;
}
.carousel-llamadas .stext {
  font-size: clamp(11px, 2.7vw, 16px);
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  padding-top: 2%;
}
.carousel-llamadas .stext strong { color: #fff; font-weight: 700; }
.carousel-llamadas .s7-hint {
  font-size: clamp(10px, 2.2vw, 13px);
  color: rgba(255,255,255,0.22);
  margin-top: auto;
  padding-top: 3%;
}

/* Slide 8 */
.carousel-llamadas .s8 {
  background: linear-gradient(150deg, #10102a 0%, #0f3460 100%);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 9%;
}
.carousel-llamadas .s8-eye {
  font-size: clamp(9px, 2vw, 12px);
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.30);
  margin-bottom: 6%;
}
.carousel-llamadas .s8-title {
  font-size: clamp(30px, 8.5vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}
.carousel-llamadas .s8-title em { color: #e2b96f; font-style: normal; }
.carousel-llamadas .s8-sub {
  font-size: clamp(11px, 2.8vw, 16px);
  color: rgba(255,255,255,0.48);
  line-height: 1.7;
  margin-top: 6%;
  max-width: 88%;
}
.carousel-llamadas .s8-action {
  margin-top: 9%;
  background: #e2b96f;
  color: #0d1b2a;
  font-size: clamp(13px, 3.2vw, 18px);
  font-weight: 900;
  padding: 4% 11%;
  border-radius: 80px;
  letter-spacing: 0.02em;
}

/* Controls */
.carousel-llamadas .controls {
  display: flex;
  align-items: center;
  gap: 20px;
}
.carousel-llamadas .csl-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(226,185,111,0.4);
  background: rgba(226,185,111,0.08);
  color: #e2b96f;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  user-select: none;
}
.carousel-llamadas .csl-btn:hover { background: rgba(226,185,111,0.20); border-color: #e2b96f; }
.carousel-llamadas .csl-btn:disabled { opacity: 0.25; cursor: default; }
.carousel-llamadas .dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.carousel-llamadas .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(226,185,111,0.25);
  cursor: pointer;
  transition: all 0.25s;
}
.carousel-llamadas .dot.active {
  width: 24px;
  border-radius: 4px;
  background: #e2b96f;
}
.carousel-llamadas .counter {
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.08em;
  font-weight: 600;
  min-width: 44px;
  text-align: center;
}

/* ========== Language Switcher ========== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-switcher .lang-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.55;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  text-decoration: none;
}

.lang-switcher .lang-flag svg {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.lang-switcher .lang-flag:hover {
  opacity: 1;
  transform: scale(1.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
}

.lang-switcher .lang-flag--active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-bg);
}

@media (max-width: 768px) {
  .lang-switcher {
    display: none;
  }
}
