/* ═══════════════════════════════════════════════════════
   CM Asesorías Integrales — Hoja de estilos compartida
   Tipografía: Petrona (títulos) + Karla (cuerpo)
   ═══════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────────── */
:root {
  /* Colores en OKLCH para uniformidad perceptual */
  --primary:      oklch(55% 0.161 34);    /* terracota   #ca401d */
  --primary-dk:   oklch(38% 0.12 34);     /* rojo oscuro #86271a */
  --primary-lt:   oklch(87% 0.048 34);    /* rosa cálido #f5c5bb */
  --primary-bg:   oklch(97% 0.018 55);    /* fondo suave #fdf0ee */
  --teal:         oklch(46% 0.08 187);    /* verde azul  #2a7166 */
  --teal-bg:      oklch(95% 0.022 187);   /* fondo teal  #eaf3f2 */
  --cream:        oklch(97% 0.012 80);    /* crema cálida #F7F5F0 */
  --graphite:     oklch(28% 0.009 35);    /* carbón      #3D3D3A */
  --neutral-mid:  oklch(48% 0.008 35);    /* gris medio  #6B6B68 */
  --surface:      oklch(100% 0.004 80);   /* blanco cálido */
  --ink-dark:     oklch(14% 0.005 35);    /* footer oscuro #1a1a1a */

  /* Alias compatibilidad (usado en HTML existente) */
  --verde:        var(--primary);
  --verde-osc:    var(--primary-dk);
  --verde-cl:     var(--primary-lt);
  --verde-fondo:  var(--primary-bg);
  --coral:        var(--teal);
  --coral-fondo:  var(--teal-bg);
  --crema:        var(--cream);
  --grafito:      var(--graphite);
  --gris:         var(--neutral-mid);
  --blanco:       var(--surface);

  /* Sombras */
  --sombra:   0 6px 28px oklch(38% 0.12 34 / 0.12);
  --sombra-h: 0 14px 44px oklch(38% 0.12 34 / 0.22);

  /* Forma */
  --radio:    12px;
  --radio-lg: 20px;

  /* Espaciado 4pt */
  --sp-1: 4px;   --sp-2: 8px;  --sp-3: 12px;
  --sp-4: 16px;  --sp-5: 24px; --sp-6: 32px;
  --sp-7: 48px;  --sp-8: 64px; --sp-9: 96px;

  /* Easing */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── SELECCIÓN Y FOCO ──────────────────────────────────── */
::selection {
  background: var(--primary-lt);
  color: var(--primary-dk);
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── BASE ──────────────────────────────────────────────── */
body {
  font-family: 'Karla', sans-serif;
  color: var(--graphite);
  background: var(--surface);
  font-size: 1.0625rem; /* 17px en rem para respetar preferencias del usuario */
  line-height: 1.75;
}

h1, h2, h3, h4 {
  font-family: 'Petrona', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
  color: var(--graphite);
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1;
}
h1 { font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.45rem); letter-spacing: -0.01em; }

p { color: var(--neutral-mid); line-height: 1.75; }
p + p { margin-top: 0.875rem; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal); }
img { max-width: 100%; display: block; }

/* ── LAYOUT ────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ── BADGES ────────────────────────────────────────────── */

/* Encabezados de sección — líneas a cada lado, sin fondo */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: 'Karla', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: none;
  padding: 0;
  border-radius: 0;
  margin-bottom: 20px;
  line-height: 1;
}
.badge::before,
.badge::after {
  content: '';
  display: block;
  width: 38px;
  height: 1.5px;
  background: currentColor;
  flex-shrink: 0;
  opacity: 0.75;
}

.badge-verde { color: var(--primary); }
.badge-coral { color: var(--teal); }
.badge-blanco { color: oklch(100% 0 0 / 0.9); }

/* Etiquetas de categoría blog — píldora, color sólido saturado */
.badge-primeros {
  background: oklch(42% 0.21 268);
  color: #fff;
  border-radius: 99px;
  padding: 5px 14px;
  letter-spacing: 0.12em;
}
.badge-primeros::before, .badge-primeros::after { display: none; }
.badge-ong {
  background: oklch(38% 0.17 152);
  color: #fff;
  border-radius: 99px;
  padding: 5px 14px;
  letter-spacing: 0.12em;
}
.badge-ong::before, .badge-ong::after { display: none; }
.badge-contabilidad {
  background: var(--primary-dk);
  color: #fff;
  border-radius: 99px;
  padding: 5px 14px;
  letter-spacing: 0.12em;
}
.badge-contabilidad::before, .badge-contabilidad::after { display: none; }
.badge-emprendimiento {
  background: oklch(42% 0.21 307);
  color: #fff;
  border-radius: 99px;
  padding: 5px 14px;
  letter-spacing: 0.12em;
}
.badge-emprendimiento::before, .badge-emprendimiento::after { display: none; }

/* ── SEPARADOR ─────────────────────────────────────────── */
.sep, .sep-coral { display: none; }

/* ── ENCABEZADO SECCIÓN ────────────────────────────────── */
.sec-header { text-align: center; max-width: 600px; margin: 0 auto var(--sp-7); }
.sec-header h2 { color: var(--graphite); margin-bottom: var(--sp-3); }
.sec-header p { font-size: 17px; }

/* ══════════════════ HEADER ════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1.5px solid oklch(55% 0.161 34 / 0.2);
  box-shadow: 0 4px 24px oklch(38% 0.12 34 / 0.09);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px;
  max-width: 1140px;
  margin: 0 auto;
}
.site-logo img { height: 52px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--graphite);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  text-decoration: none;
}
.site-nav a:hover { color: var(--primary); }
.site-nav a.active {
  color: var(--primary);
  position: relative;
}
.site-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}
.nav-cta {
  background: var(--primary) !important;
  color: var(--surface) !important;
  padding: 9px 20px;
  border-radius: var(--radio);
  font-size: 13px !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover {
  background: var(--primary-dk) !important;
  color: var(--surface) !important;
  transform: translateY(-1px);
}
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--graphite);
  margin: 5px 0;
  border-radius: 2px;
}

/* ══════════════════ BOTONES ════════════════════════════ */
.btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: var(--primary);
  color: var(--surface);
  border: 2px solid var(--primary);
  border-radius: var(--radio);
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: var(--sombra);
}
.btn-primary:hover {
  background: var(--primary-dk);
  border-color: var(--primary-dk);
  color: var(--surface);
  transform: translateY(-2px);
  box-shadow: var(--sombra-h);
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: #25D366;
  color: var(--surface);
  border: 2px solid #25D366;
  border-radius: var(--radio);
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}
.btn-wa:hover {
  background: #1da851;
  border-color: #1da851;
  color: var(--surface);
  transform: translateY(-2px);
}
.btn-wa svg { width: 20px; height: 20px; fill: white; flex-shrink: 0; }
.btn-outline {
  display: inline-block;
  padding: 12px 26px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radio);
  font-family: 'Karla', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-outline:hover {
  background: var(--primary-bg);
  color: var(--primary);
  transform: translateY(-1px);
}
.btn-outline-light {
  display: inline-block;
  padding: 12px 26px;
  background: transparent;
  color: var(--primary-lt);
  border: 2px solid var(--primary-lt);
  border-radius: var(--radio);
  font-family: 'Karla', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-outline-light:hover {
  background: oklch(87% 0.048 34 / 0.15);
  color: var(--primary-lt);
}
.btn-blanco {
  display: inline-block;
  padding: 14px 30px;
  background: var(--surface);
  color: var(--primary);
  border: 2px solid var(--surface);
  border-radius: var(--radio);
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-blanco:hover {
  background: var(--cream);
  color: var(--primary);
  transform: translateY(-2px);
}
/* btn-verde = alias de btn-primary para contacto page */
.btn-verde {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: var(--primary);
  color: var(--surface);
  border: 2px solid var(--primary);
  border-radius: var(--radio);
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
}
.btn-verde:hover {
  background: var(--primary-dk);
  border-color: var(--primary-dk);
  color: var(--surface);
  transform: translateY(-2px);
}

/* ══════════════════ HERO PRINCIPAL ═════════════════════ */
.hero {
  background: var(--cream);
  padding: 90px 0 80px;
  overflow: hidden;
  position: relative;
}
/* Grano de papel */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 220px 220px;
  opacity: 0.065;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}
/* Resplandor terracota desde esquina superior derecha */
.hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, oklch(87% 0.065 34 / 0.9) 0%, oklch(87% 0.04 34 / 0.4) 40%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}
.hero-kicker {
  font-family: 'Karla', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-kicker::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
  flex-shrink: 0;
}
.hero h1 { color: var(--primary); margin-bottom: 20px; }
.hero-sub {
  font-size: 18px;
  color: var(--neutral-mid);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-btns   { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust  { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-item  { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--neutral-mid); }
.trust-dot   { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
/* Círculos decorativos flotantes */
.hero-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-deco-a {
  position: absolute;
  width: 280px; height: 280px;
  bottom: -60px; left: -60px;
  border-radius: 50%;
  background: oklch(46% 0.08 187 / 0.14);
  animation: cm-drift-a 22s ease-in-out infinite;
}
.hero-deco-b {
  position: absolute;
  width: 64px; height: 64px;
  top: 20%; left: 52%;
  border-radius: 50%;
  background: oklch(55% 0.161 34 / 0.18);
  animation: cm-drift-b 14s ease-in-out infinite;
}
.hero-deco-c {
  position: absolute;
  width: 28px; height: 28px;
  bottom: 22%; right: 12%;
  border-radius: 50%;
  background: oklch(46% 0.08 187 / 0.22);
  animation: cm-drift-b 18s ease-in-out infinite reverse;
}
@keyframes cm-drift-a {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(18px, -22px); }
  66%       { transform: translate(-12px, 14px); }
}
@keyframes cm-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-14px, -18px) scale(1.15); }
}

.hero-img-wrap { position: relative; }
.hero-blob {
  position: absolute;
  width: 115%; height: 115%;
  top: -7%; left: -7%;
  background: oklch(89% 0.07 34); /* rosa terracota visible, no el casi-blanco original */
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
  z-index: 0;
  opacity: 0.75;
  animation: cm-blob-morph 16s ease-in-out infinite;
}
.hero-img-wrap img {
  position: relative;
  z-index: 1;
  border-radius: var(--radio-lg);
  border: 4px solid var(--primary-lt);
  box-shadow: var(--sombra-h);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

/* ── HERO PÁGINA INTERIOR ──────────────────────────────── */
.page-hero { background: var(--cream); padding: 72px 0; text-align: center; }
.page-hero h1 { color: var(--graphite); margin-bottom: 16px; }
.page-hero h1 span { color: var(--primary); }
.page-hero p { color: var(--neutral-mid); font-size: 18px; max-width: 560px; margin: 0 auto; }

/* ══════════════════ BANDA ESTADÍSTICAS ═════════════════ */
.banda { background: var(--primary); padding: 36px 0; }
.banda-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}
.banda-item { text-align: center; padding: 12px 0; position: relative; }
.banda-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%;
  height: 60%; width: 1px;
  background: oklch(100% 0 0 / 0.2);
}
.banda-num {
  font-family: 'Petrona', serif;
  font-size: clamp(1.8rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: var(--surface);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.banda-desc {
  font-size: 0.8125rem;
  color: oklch(100% 0 0 / 0.82);
  margin-top: 4px;
}

/* ══════════════════ SOBRE MÍ (homepage) ════════════════ */
.sobre { padding: 100px 0; background: var(--surface); }
.sobre-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}
.sobre-img img {
  border-radius: var(--radio-lg);
  border: 3px solid var(--primary-bg);
  box-shadow: var(--sombra);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}
.sobre-texto h2 { color: var(--graphite); margin-bottom: 16px; }
.sobre-texto p  { font-size: 1rem; max-width: 62ch; }
.link-verde {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  border-bottom: 2px solid var(--primary-lt);
  padding-bottom: 2px;
  transition: border-color 0.2s;
  margin-top: 8px;
}
.link-verde:hover { color: var(--primary-dk); border-color: var(--primary); }

/* ══════════════════ SERVICIOS ══════════════════════════ */
.servicios { background: var(--cream); padding: 100px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}
.service-card {
  background: var(--surface);
  border: 1.5px solid var(--primary-bg);
  border-radius: var(--radio-lg);
  padding: 32px 26px;
  transition: border-color 0.3s var(--ease-out-quart),
              box-shadow 0.3s var(--ease-out-quart),
              transform 0.3s var(--ease-out-quart);
}
.service-card:hover {
  border-color: var(--teal);
  box-shadow: var(--sombra-h);
  transform: translateY(-6px);
}
.service-card:hover h3 { color: var(--teal); }
.service-card:hover .service-icon-wrap {
  background: var(--teal);
  color: var(--surface);
  transition: background 0.25s var(--ease-out-quart), color 0.25s var(--ease-out-quart);
}
.service-icon { font-size: 36px; margin-bottom: 14px; }
.service-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--teal-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--teal);
}
.service-icon-wrap svg { stroke: currentColor; }
.service-card h3 { color: var(--primary); font-size: 1.3rem; margin-bottom: 10px; }
.service-card p  { font-size: 15px; }
.servicios-cta   { text-align: center; margin-top: 44px; }

/* ══════════════════ POR QUÉ ════════════════════════════ */
.porque { background: var(--primary); padding: 100px 0; }
.porque-titulo { color: var(--surface); text-align: center; margin-bottom: 52px; }
.porque-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
  padding: 0 28px;
}
.porque-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 44px 48px;
  text-align: left;
}
.porque-item:nth-child(1),
.porque-item:nth-child(2) { border-bottom: 1px solid oklch(100% 0 0 / 0.12); }
.porque-item:nth-child(odd) { border-right: 1px solid oklch(100% 0 0 / 0.12); }
.porque-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: oklch(100% 0 0 / 0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.porque-item-texto { flex: 1; min-width: 0; }
.porque-icon { font-size: 40px; margin-bottom: 14px; }
.porque-item h3 { color: var(--surface); font-size: 1.2rem; margin-bottom: 8px; }
.porque-item p  { color: oklch(100% 0 0 / 0.82); font-size: 15px; line-height: 1.65; }

/* ══════════════════ CLIENTES STRIP ════════════════════ */
.clients-strip { background: var(--surface); padding: 56px 0; border-top: 1px solid oklch(88% 0.01 80); }
.clients-inner { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.clients-label { text-align: center; font-size: 12px; font-weight: 800; color: var(--neutral-mid); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 28px; }
.clients-logos { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.clients-logos img { height: 44px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: 0.55; transition: filter 0.3s, opacity 0.3s; }
.clients-logos img:hover { filter: grayscale(0%); opacity: 1; }

/* ══════════════════ SOCIAL (homepage) ══════════════════ */
.social-sec { background: var(--primary-bg); padding: 100px 0; }
.social-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}
.social-texto h2 { color: var(--teal); margin-bottom: 16px; }
.social-texto p  { color: var(--teal); font-size: 1rem; margin-bottom: 14px; max-width: 58ch; }
.social-card {
  background: var(--surface);
  border-radius: var(--radio-lg);
  padding: 40px 32px;
  border: 2px solid var(--primary-lt);
  text-align: center;
  box-shadow: var(--sombra);
}
.social-card-icon { font-size: 52px; margin-bottom: 14px; }
.social-card h3 { color: var(--primary); font-size: 1.5rem; margin-bottom: 12px; }
.social-card p  { font-size: 15px; color: var(--neutral-mid); margin-bottom: 24px; line-height: 1.7; }

/* ══════════════════ CTA FINAL ══════════════════════════ */
.cta-final { background: var(--graphite); padding: 80px 0; text-align: center; }
.cta-final h2    { color: var(--surface); margin-bottom: 16px; }
.cta-final .cta-sub { color: oklch(100% 0 0 / 0.75); font-size: 18px; max-width: 520px; margin: 0 auto 36px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════ PRECIOS TEASER (homepage) ══════════ */
.precios-teaser       { background: var(--cream); padding: 70px 0; }
.precios-teaser-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.precios-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.precio-card {
  background: var(--surface);
  border: 1px solid oklch(88% 0.01 80);
  border-radius: var(--radio-lg);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow 0.3s;
}
.precio-card:hover   { box-shadow: var(--sombra-h); }
.precio-card.destacado {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 48px oklch(55% 0.161 34 / 0.35);
}
.precio-badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-family: 'Karla', sans-serif;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.precio-nombre { font-family: 'Petrona', serif; font-size: 22px; color: var(--graphite); margin: 8px 0 4px; }
.precio-card.destacado .precio-nombre { color: #fff; }
.precio-valor  { font-size: 14px; color: var(--neutral-mid); margin-bottom: 8px; }
.precio-valor strong { font-family: 'Petrona', serif; font-size: 22px; font-weight: 700; color: var(--primary); }
.precio-card.destacado .precio-valor strong { color: #fff; }
.precio-card.destacado .precio-valor { color: oklch(100% 0 0 / 0.8); }
.precio-foco   { font-size: 13px; color: var(--neutral-mid); margin-bottom: 18px; line-height: 1.5; }
.precio-card.destacado .precio-foco { color: oklch(100% 0 0 / 0.85); }
.btn-precio {
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--radio);
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-family: 'Karla', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-precio:hover           { background: var(--primary); color: #fff; }
.btn-precio-destacado       { background: #fff; color: var(--primary); border-color: #fff; }
.btn-precio-destacado:hover { background: transparent; color: #fff; border-color: #fff; }
.precios-cta { text-align: center; margin-top: 36px; }

/* ══════════════════ FAQ + BLOG (homepage) ══════════════ */
.faq-blog-sec { background: var(--surface); padding: 80px 0; }
.faq-blog-sec .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.faq-blog-faq .sec-header { margin-bottom: 32px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
details.faq-item { border: 1px solid oklch(88% 0.01 80); border-radius: var(--radio); overflow: hidden; }
details.faq-item summary {
  font-family: 'Karla', sans-serif;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--graphite);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
  margin-left: 12px;
}
details.faq-item[open] summary { color: var(--primary); background: var(--primary-bg); }
details.faq-item[open] summary::after { content: '−'; }
.faq-body { padding: 4px 24px 20px; font-size: 15px; color: var(--neutral-mid); line-height: 1.75; }

.featured-art-card {
  display: block;
  border: 1.5px solid oklch(88% 0.01 80);
  border-radius: var(--radio-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}
.featured-art-card:hover { box-shadow: var(--sombra); transform: translateY(-4px); border-color: var(--primary); }
.featured-art-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--teal-bg), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-art-body { padding: 24px 22px 28px; }
.featured-art-tag  { font-family: 'Karla', sans-serif; font-size: 11px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.featured-art-body h3 { font-size: 1.2rem; color: var(--graphite); margin-bottom: 10px; line-height: 1.3; }
.featured-art-body p  { font-size: 14px; color: var(--neutral-mid); margin-bottom: 16px; }
.featured-art-link { font-size: 14px; font-weight: 700; color: var(--primary); border-bottom: 2px solid var(--primary-lt); padding-bottom: 2px; transition: border-color 0.2s; }
.featured-art-card:hover .featured-art-link { border-color: var(--primary); }
.faq-blog-art-cta { margin-top: 20px; }

/* ══════════════════ PLANES (servicios) ═════════════════ */
.planes-sec { background: var(--surface); padding: 100px 0; }
.planes-header { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.planes-header h2 { color: var(--graphite); margin-bottom: 14px; }
.planes-header p  { font-size: 17px; }
.planes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
  align-items: start;
}
.plan-card {
  background: var(--surface);
  border-radius: var(--radio-lg);
  border: 2px solid var(--primary-bg);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.plan-card:hover   { border-color: var(--primary); box-shadow: var(--sombra-h); transform: translateY(-6px); }
.plan-card.destacado { border-color: var(--primary); box-shadow: var(--sombra-h); transform: translateY(-8px); }
.plan-header { padding: 24px 22px 20px; position: relative; }
.plan-card:nth-child(1) .plan-header { background: var(--primary); }
.plan-card:nth-child(2) .plan-header { background: var(--teal); }
.plan-card:nth-child(3) .plan-header { background: var(--graphite); }
.plan-card:nth-child(4) .plan-header { background: var(--teal); }
.plan-popular {
  position: absolute; top: 12px; right: 12px;
  background: var(--primary-lt);
  color: var(--primary-dk);
  font-family: 'Karla', sans-serif;
  font-size: 10px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.plan-icon     { font-size: 32px; margin-bottom: 8px; }
.plan-nombre   { font-family: 'Petrona', serif; font-size: 24px; font-weight: 700; color: var(--surface); margin-bottom: 4px; }
.plan-subtitulo { font-size: 12px; color: oklch(100% 0 0 / 0.78); line-height: 1.5; }
.plan-precio   { padding: 20px 22px 16px; border-bottom: 1px solid var(--primary-bg); }
.plan-desde    { font-family: 'Karla', sans-serif; font-size: 11px; font-weight: 700; color: var(--neutral-mid); text-transform: uppercase; letter-spacing: 0.06em; }
.plan-monto    { font-family: 'Petrona', serif; font-size: 38px; font-weight: 700; line-height: 1.1; }
.plan-card:nth-child(1) .plan-monto { color: var(--primary); }
.plan-card:nth-child(2) .plan-monto { color: var(--teal); }
.plan-card:nth-child(3) .plan-monto { color: var(--graphite); }
.plan-card:nth-child(4) .plan-monto { color: var(--teal); }
.plan-periodo  { font-size: 13px; color: var(--neutral-mid); margin-top: 2px; }
.plan-body     { padding: 20px 22px; flex: 1; }
.plan-incluye-titulo { font-family: 'Karla', sans-serif; font-size: 11px; font-weight: 700; color: var(--neutral-mid); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 12px; }
.plan-lista    { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.plan-lista li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--graphite); line-height: 1.5; }
.plan-lista li .ck { font-weight: 700; font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.plan-card:nth-child(1) .ck { color: var(--primary); }
.plan-card:nth-child(2) .ck { color: var(--teal); }
.plan-card:nth-child(3) .ck { color: var(--graphite); }
.plan-card:nth-child(4) .ck { color: var(--teal); }
/* Plan extra: fondo cálido en lugar del border-left prohibido */
.plan-extra {
  background: var(--primary-bg);
  border-radius: var(--radio);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--neutral-mid);
  margin-bottom: 18px;
  line-height: 1.6;
}
.plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 12px;
  color: var(--surface);
  border: none;
  border-radius: var(--radio);
  font-family: 'Karla', sans-serif;
  font-size: 14px; font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.plan-btn:hover { opacity: 0.88; transform: translateY(-1px); color: var(--surface); }
.plan-btn svg   { width: 17px; height: 17px; fill: white; }
.plan-card:nth-child(1) .plan-btn { background: var(--primary); }
.plan-card:nth-child(2) .plan-btn { background: var(--teal); }
.plan-card:nth-child(3) .plan-btn { background: var(--graphite); }
.plan-card:nth-child(4) .plan-btn { background: var(--teal); }

/* Nota Renta */
.nota-renta       { max-width: 1140px; margin: 28px auto 0; padding: 0 28px; }
.nota-renta-inner {
  background: var(--surface);
  border: 2px dashed var(--primary-lt);
  border-radius: var(--radio-lg);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.nota-renta-icon { font-size: 28px; flex-shrink: 0; }
.nota-renta-texto { flex: 1; }
.nota-renta-texto strong { color: var(--graphite); font-size: 15px; }
.nota-renta-texto p { font-size: 14px; margin: 4px 0 0; }

/* Extras */
.extras-sec    { background: var(--primary-bg); padding: 100px 0; }
.extras-header { text-align: center; max-width: 580px; margin: 0 auto 52px; }
.extras-header h2 { color: var(--graphite); margin-bottom: 14px; }
.extras-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}
.extra-card {
  background: var(--surface);
  border: 1.5px solid var(--primary);
  border-radius: var(--radio-lg);
  padding: 28px 22px;
  text-align: center;
  transition: all 0.3s;
}
.extra-card:hover { border-width: 2px; box-shadow: var(--sombra-h); transform: translateY(-4px); }
.extra-icon  { font-size: 36px; margin-bottom: 12px; }
.extra-card h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 8px; }
.extra-card p  { font-size: 14px; margin-bottom: 14px; }
.extra-precio  { font-family: 'Petrona', serif; font-size: 28px; font-weight: 700; color: var(--graphite); margin-bottom: 4px; }
.extra-precio-periodo { font-size: 12px; color: var(--neutral-mid); }

/* FAQ (servicios page — con JS accordion) */
.faq-sec  { background: var(--surface); padding: 100px 0; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1140px;
  margin: 48px auto 0;
  padding: 0 28px;
}
.faq-item   { background: var(--surface); border-radius: var(--radio-lg); border: 1.5px solid var(--primary-bg); overflow: hidden; }
.faq-q      { font-family: 'Karla', sans-serif; padding: 20px 24px; font-size: 15px; font-weight: 700; color: var(--graphite); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background 0.2s; }
.faq-q:hover { background: var(--cream); }
.faq-q.open  { color: var(--primary); }
.faq-chev   { font-size: 16px; color: var(--primary); transition: transform 0.3s; flex-shrink: 0; }
.faq-chev.open { transform: rotate(180deg); }
.faq-a      { display: none; padding: 16px 24px 20px; font-size: 15px; color: var(--neutral-mid); line-height: 1.75; border-top: 1px solid var(--primary-bg); }
.faq-a.open { display: block; }

/* Portal próximamente */
.portal-sec { background: var(--graphite); padding: 80px 0; overflow: hidden; position: relative; }
.portal-sec::before { content: ''; position: absolute; top: -60px; right: -60px; width: 300px; height: 300px; border-radius: 50%; background: oklch(38% 0.12 34 / 0.08); }
.portal-sec::after  { content: ''; position: absolute; bottom: -80px; left: -40px; width: 240px; height: 240px; border-radius: 50%; background: oklch(55% 0.161 34 / 0.06); }
.portal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}
.pronto-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: oklch(38% 0.12 34 / 0.2);
  border: 1px solid oklch(87% 0.048 34 / 0.3);
  color: var(--primary-lt);
  font-family: 'Karla', sans-serif;
  font-size: 12px; font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.pronto-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary-lt); animation: pulso 1.8s ease-in-out infinite; }
@keyframes pulso { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
.portal-texto h2       { color: var(--surface); margin-bottom: 16px; }
.portal-texto h2 span  { color: var(--primary-lt); }
.portal-texto p        { color: oklch(100% 0 0 / 0.72); font-size: 16px; margin-bottom: 14px; }
.portal-features       { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.portal-feature        { display: flex; align-items: center; gap: 12px; font-size: 14px; color: oklch(100% 0 0 / 0.85); }
.portal-feature-icon   { width: 36px; height: 36px; border-radius: 8px; background: oklch(38% 0.12 34 / 0.2); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.portal-mockup         { background: #0f0f0f; border-radius: var(--radio-lg); border: 1px solid oklch(100% 0 0 / 0.1); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.mockup-bar            { background: #1a1a1a; padding: 10px 16px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid oklch(100% 0 0 / 0.06); }
.mockup-dot            { width: 9px; height: 9px; border-radius: 50%; }
.mockup-url            { margin-left: 8px; font-size: 11px; color: oklch(100% 0 0 / 0.3); font-family: monospace; }
.mockup-body           { padding: 20px 18px; filter: blur(3px); opacity: 0.6; pointer-events: none; }
.mockup-title          { font-size: 11px; font-weight: 700; color: oklch(100% 0 0 / 0.4); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.mockup-metrics        { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.mockup-metric         { background: #1a1a1a; border-radius: 8px; padding: 12px 10px; border: 1px solid oklch(100% 0 0 / 0.06); }
.mockup-metric-label   { font-size: 10px; color: oklch(100% 0 0 / 0.4); margin-bottom: 4px; }
.mockup-metric-value   { font-size: 16px; font-weight: 700; }
.mockup-metric-value.mv-verde  { color: var(--primary-lt); }
.mockup-metric-value.mv-coral  { color: var(--teal); }
.mockup-metric-value.mv-blanco { color: oklch(100% 0 0 / 0.8); }
.mockup-bar-chart      { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-bottom: 12px; }
.mockup-bar-item       { flex: 1; border-radius: 4px 4px 0 0; opacity: 0.85; }
.mockup-lock           { text-align: center; padding: 10px 18px 14px; font-size: 11px; color: oklch(100% 0 0 / 0.35); letter-spacing: 0.04em; }

/* ══════════════════ BLOG ═══════════════════════════════ */
.cats-sec   { background: var(--primary); padding: 28px 0; }
.cats-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.cat-label  { font-family: 'Karla', sans-serif; font-size: 12px; font-weight: 700; color: oklch(100% 0 0 / 0.6); text-transform: uppercase; letter-spacing: 0.06em; margin-right: 4px; }
.cat-btn {
  font-family: 'Karla', sans-serif;
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 13px; font-weight: 700;
  cursor: pointer;
  border: 1.5px solid oklch(100% 0 0 / 0.3);
  color: var(--graphite);
  background: transparent;
  transition: all 0.2s;
}
.cat-btn:hover, .cat-btn.active { background: oklch(100% 0 0 / 0.15); border-color: oklch(100% 0 0 / 0.6); color: var(--surface); }
.cat-btn.active { background: var(--surface); color: var(--primary); border-color: var(--surface); }

.destacado-sec { background: var(--cream); padding: 60px 0 0; }
.destacado-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px 60px;
}
.dest-img {
  border-radius: var(--radio-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-bg), var(--primary-lt));
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
}
.dest-nuevo {
  position: absolute; top: 16px; left: 16px;
  background: var(--teal); color: var(--surface);
  font-family: 'Karla', sans-serif;
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 99px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.dest-texto .dest-cat { margin-bottom: 12px; }
.dest-texto h2      { color: var(--graphite); margin-bottom: 14px; line-height: 1.25; }
.dest-texto p       { font-size: 16px; margin-bottom: 20px; }
.dest-meta          { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--neutral-mid); margin-bottom: 20px; }
.dest-meta span     { display: flex; align-items: center; gap: 5px; }
.leer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--surface);
  border-radius: var(--radio);
  font-family: 'Karla', sans-serif;
  font-size: 14px; font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
}
.leer-btn:hover { background: var(--primary-dk); color: var(--surface); transform: translateY(-1px); }

.blog-sec  { background: var(--surface); padding: 80px 0; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}
.blog-card {
  border: 1.5px solid oklch(88% 0.01 80);
  border-radius: var(--radio-lg);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { border-color: var(--primary); box-shadow: var(--sombra-h); transform: translateY(-5px); }
.blog-thumb { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 52px; position: relative; }
.blog-thumb.cat-primeros     { background: linear-gradient(135deg, #EEF2FF, #C7D2FE); }
.blog-thumb.cat-ong          { background: linear-gradient(135deg, #F0FDF4, #BBF7D0); }
.blog-thumb.cat-contabilidad { background: linear-gradient(135deg, #FFF7ED, #FED7AA); }
.blog-thumb.cat-emprendimiento { background: linear-gradient(135deg, #FDF4FF, #E9D5FF); }
.blog-thumb.cat-verde        { background: linear-gradient(135deg, var(--primary-bg), var(--primary-lt)); }
.blog-tiempo { position: absolute; bottom: 10px; right: 12px; background: rgba(0,0,0,0.45); color: white; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.blog-body   { padding: 22px 20px; flex: 1; display: flex; flex-direction: column; }
.blog-tag-wrap { margin-bottom: 10px; }
.blog-body h3   { font-size: 1.15rem; color: var(--graphite); margin-bottom: 8px; line-height: 1.3; flex: 1; }
.blog-body h3 a { color: var(--graphite); transition: color 0.2s; }
.blog-body h3 a:hover { color: var(--primary); }
.blog-excerpt { font-size: 14px; color: var(--neutral-mid); margin-bottom: 16px; line-height: 1.6; }
.blog-footer  { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid oklch(94% 0.01 80); }
.blog-fecha   { font-size: 12px; color: var(--neutral-mid); }
.blog-leer    { font-size: 13px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 4px; }
.blog-leer:hover { color: var(--teal); }

.newsletter-sec { background: var(--primary-bg); padding: 80px 0; }
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}
.newsletter-texto h2 { color: var(--primary-dk); margin-bottom: 12px; }
.newsletter-texto p  { color: oklch(43% 0.07 187); font-size: 16px; }
.newsletter-form     { display: flex; flex-direction: column; gap: 12px; }
.newsletter-form input {
  font-family: 'Karla', sans-serif;
  padding: 13px 16px;
  border: 1.5px solid var(--primary-lt);
  border-radius: var(--radio);
  font-size: 15px;
  color: var(--graphite);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px oklch(38% 0.12 34 / 0.1); }
.newsletter-btn {
  font-family: 'Karla', sans-serif;
  padding: 14px;
  background: var(--primary);
  color: var(--surface);
  border: none;
  border-radius: var(--radio);
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
}
.newsletter-btn:hover { background: var(--primary-dk); }
.newsletter-nota { font-size: 12px; color: oklch(43% 0.07 187); text-align: center; }

/* ══════════════════ CONTACTO ═══════════════════════════ */
.canales-sec { background: var(--primary); padding: 52px 0; }
.canales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}
.canal-card {
  background: oklch(100% 0 0 / 0.1);
  border: 1.5px solid oklch(100% 0 0 / 0.2);
  border-radius: var(--radio-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
}
.canal-card:hover { background: oklch(100% 0 0 / 0.18); transform: translateY(-4px); color: var(--surface); }
.canal-icon  { font-size: 40px; margin-bottom: 12px; }
.canal-card h3 { font-family: 'Petrona', serif; font-size: 1.4rem; color: var(--surface); margin-bottom: 6px; }
.canal-card p  { color: oklch(100% 0 0 / 0.82); font-size: 14px; margin-bottom: 12px; }
.canal-valor   { font-size: 15px; font-weight: 700; color: var(--primary-lt); }
.canal-cta {
  display: inline-block;
  margin-top: 14px;
  background: oklch(100% 0 0 / 0.15);
  color: var(--surface);
  font-family: 'Karla', sans-serif;
  font-size: 13px; font-weight: 700;
  padding: 7px 18px;
  border-radius: var(--radio);
  transition: background 0.2s;
}
.canal-cta:hover { background: oklch(100% 0 0 / 0.25); color: var(--surface); }

.contacto-sec   { background: var(--cream); padding: 100px 0; }
.contacto-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
  align-items: start;
}
.form-card     { background: var(--surface); border-radius: var(--radio-lg); padding: 40px 36px; box-shadow: var(--sombra); }
.form-card h2  { color: var(--graphite); margin-bottom: 8px; }
.form-card .form-sub { font-size: 15px; color: var(--neutral-mid); margin-bottom: 28px; }
.form-row      { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group    { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: 'Karla', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--graphite);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid oklch(88% 0.01 80);
  border-radius: var(--radio);
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  color: var(--graphite);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(38% 0.12 34 / 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B68' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-submit {
  width: 100%; padding: 15px;
  background: var(--primary);
  color: var(--surface);
  border: none; border-radius: var(--radio);
  font-family: 'Karla', sans-serif;
  font-size: 16px; font-weight: 700;
  cursor: pointer; transition: all 0.25s; margin-top: 4px;
}
.form-submit:hover { background: var(--primary-dk); transform: translateY(-1px); box-shadow: var(--sombra); }
.form-nota { font-size: 12px; color: var(--neutral-mid); text-align: center; margin-top: 12px; }
.form-nota a { color: var(--primary); }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success-icon { font-size: 52px; margin-bottom: 16px; }
.form-success h3 { color: var(--primary); font-size: 1.6rem; margin-bottom: 10px; }
.form-success p  { font-size: 15px; color: var(--neutral-mid); }

.info-lateral { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  background: var(--surface);
  border-radius: var(--radio-lg);
  padding: 24px 22px;
  border: 1.5px solid var(--primary-bg);
}
.info-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.info-card-icon   { width: 42px; height: 42px; border-radius: 10px; background: var(--primary-bg); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.info-card-header h3 { font-size: 1.1rem; color: var(--graphite); }
.info-card p { font-size: 14px; margin-bottom: 8px; }
.info-card a { font-weight: 700; color: var(--primary); font-size: 14px; }

.horario-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.horario-item { display: flex; flex-direction: column; }
.horario-dia  { font-family: 'Karla', sans-serif; font-size: 12px; font-weight: 700; color: var(--neutral-mid); text-transform: uppercase; letter-spacing: 0.04em; }
.horario-hora { font-size: 14px; color: var(--graphite); font-weight: 700; }

.mapa-card   { background: var(--surface); border-radius: var(--radio-lg); overflow: hidden; border: 1.5px solid var(--primary-bg); }
.mapa-visual { background: linear-gradient(135deg, var(--primary-bg) 0%, var(--primary-lt) 100%); height: 140px; display: flex; align-items: center; justify-content: center; position: relative; }
.mapa-pin    { font-size: 36px; }
.mapa-ondas  { position: absolute; width: 80px; height: 80px; border: 2px solid oklch(38% 0.12 34 / 0.3); border-radius: 50%; animation: onda 2s ease-out infinite; }
.mapa-ondas-2 { animation-delay: 0.7s; }
@keyframes onda { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.mapa-info   { padding: 16px 20px; }
.mapa-info p { font-size: 14px; color: var(--neutral-mid); margin-bottom: 4px; }
.mapa-info strong { color: var(--graphite); }
.mapa-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--primary); border-bottom: 1.5px solid var(--primary-lt); padding-bottom: 1px; }

.rapidas-sec  { background: var(--surface); padding: 80px 0; }
.rapidas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 40px auto 0;
  padding: 0 28px;
}
.rapida-card { border: 1.5px solid var(--primary-bg); border-radius: var(--radio-lg); padding: 24px 22px; transition: all 0.3s; }
.rapida-card:hover { border-color: var(--primary); box-shadow: var(--sombra); transform: translateY(-3px); }
.rapida-icon { font-size: 28px; margin-bottom: 10px; }
.rapida-card h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 8px; }
.rapida-card p  { font-size: 14px; color: var(--neutral-mid); margin-bottom: 12px; }
.rapida-wa      { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #25D366; }
.rapida-wa svg  { width: 16px; height: 16px; fill: #25D366; }

/* ══════════════════ SOBRE MÍ (página) ═════════════════ */
.sobre-hero { background: var(--cream); padding: 80px 0 0; overflow: hidden; }
.sobre-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: end;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}
.sobre-hero-texto { padding-bottom: 60px; }
.sobre-hero-texto .kicker {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: 'Karla', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 20px;
}
.sobre-hero-texto .kicker::before,
.sobre-hero-texto .kicker::after {
  content: '';
  display: block;
  width: 38px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.75;
  flex-shrink: 0;
}
.sobre-hero-texto h1 { color: var(--graphite); margin-bottom: 20px; }
.sobre-hero-texto h1 span { color: var(--primary); }
.sobre-hero-texto .bajada { font-size: 18px; color: var(--neutral-mid); line-height: 1.75; max-width: 480px; margin-bottom: 32px; }
.sobre-hero-foto { position: relative; display: flex; justify-content: center; align-items: flex-end; max-width: 260px; margin: 0 auto; }
.sobre-hero-foto img {
  width: 100%; max-width: 220px; max-height: 300px;
  object-fit: cover; object-position: center 10%;
  border-radius: var(--radio-lg);
  border: 3px solid var(--primary-lt);
  border-bottom: none;
}

.credenciales { background: var(--primary-bg); padding: 60px 0; }
.cred-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}
.cred-card { background: var(--surface); border-radius: var(--radio-lg); padding: 28px 24px; border: 1.5px solid var(--primary-lt); text-align: center; }
.cred-icon     { font-size: 36px; margin-bottom: 10px; }
.cred-card h3  { color: var(--primary); font-size: 1.2rem; margin-bottom: 6px; }
.cred-card p   { font-size: 14px; color: var(--neutral-mid); margin: 0; }

.historia { padding: 100px 0; background: var(--surface); }
.historia-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}
.historia-texto h2 { color: var(--graphite); margin-bottom: 8px; }
.historia-texto p  { font-size: 16px; }
.historia-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.historia-fotos img { border-radius: var(--radio-lg); object-fit: cover; width: 100%; box-shadow: var(--sombra); border: 2px solid var(--primary-bg); }
.historia-fotos img:first-child { grid-column: 1 / -1; aspect-ratio: 4/3; object-position: center 15%; }
.historia-fotos img:not(:first-child) { aspect-ratio: 3/4; }

.valores { background: var(--cream); padding: 100px 0; }
.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 40px auto 0;
  padding: 0 28px;
}
/* Reemplaza el border-left: 4px prohibido con tarjeta con borde completo y acento de color en ícono */
.valor-card {
  background: var(--surface);
  border-radius: var(--radio-lg);
  padding: 32px 26px;
  border: 2px solid var(--primary-bg);
  box-shadow: 0 2px 12px oklch(38% 0.12 34 / 0.06);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.valor-card:hover { border-color: var(--primary-lt); box-shadow: var(--sombra); }
.valor-icon  { font-size: 32px; margin-bottom: 12px; }
.valor-card h3 { color: var(--primary); font-size: 1.25rem; margin-bottom: 8px; }
.valor-card p  { font-size: 15px; margin: 0; }

.galeria { background: var(--surface); padding: 80px 0; }
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1140px;
  margin: 40px auto 0;
  padding: 0 28px;
}
.galeria-grid img { border-radius: var(--radio-lg); object-fit: cover; width: 100%; aspect-ratio: 3/4; box-shadow: var(--sombra); border: 2px solid var(--primary-bg); transition: all 0.3s; }
.galeria-grid img:hover { transform: scale(1.02); box-shadow: var(--sombra-h); }

/* ══════════════════ FOOTER ═════════════════════════════ */
.site-footer { background: var(--ink-dark); padding: 52px 0 28px; border-top: 2px solid var(--primary); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px 36px;
  border-bottom: 1px solid oklch(100% 0 0 / 0.08);
  position: relative;
  z-index: 1;
}
.footer-logo img  { height: 38px; width: auto; margin-bottom: 14px; }
.footer-desc      { font-size: 14px; color: oklch(100% 0 0 / 0.55); line-height: 1.7; }
.footer-col h4    { font-family: 'Karla', sans-serif; font-size: 13px; font-weight: 700; color: var(--primary-lt); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col ul    { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: oklch(100% 0 0 / 0.6); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary-lt); }
.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: oklch(100% 0 0 / 0.35);
}

/* ══════════════════ FLOTANTES ══════════════════════════ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 9999; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6); }
.whatsapp-float svg   { width: 30px; height: 30px; fill: white; }

.scroll-top {
  position: fixed; bottom: 96px; right: 28px;
  width: 46px; height: 46px;
  background: var(--teal); border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 9998;
  box-shadow: 0 4px 16px oklch(46% 0.08 187 / 0.35);
  opacity: 0;
  transition: opacity 0.3s, transform 0.2s;
}
.scroll-top.visible { opacity: 1; }
.scroll-top:hover   { transform: translateY(-2px); }

/* ══════════════════ ANIMACIONES ════════════════════════ */

@keyframes cm-blob-morph {
  0%, 100% { border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%; }
  25%       { border-radius: 48% 52% 38% 62% / 58% 42% 64% 36%; }
  50%       { border-radius: 42% 58% 62% 38% / 48% 56% 44% 52%; }
  75%       { border-radius: 54% 46% 44% 56% / 36% 64% 36% 64%; }
}
@keyframes cm-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes cm-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes cm-slide-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* Hero: entrada escalonada al cargar la página */
.hero-kicker   { animation: cm-fade-up 0.6s var(--ease-out-expo) 0.00s both; }
.hero h1       { animation: cm-fade-up 0.7s var(--ease-out-expo) 0.10s both; }
.hero-sub      { animation: cm-fade-up 0.6s var(--ease-out-expo) 0.22s both; }
.hero-btns     { animation: cm-fade-up 0.6s var(--ease-out-expo) 0.34s both; }
.hero-trust    { animation: cm-fade-up 0.5s var(--ease-out-expo) 0.44s both; }
.hero-img-wrap { animation: cm-fade-in 0.9s var(--ease-out-quart) 0.10s both; }

/* WhatsApp float: entra después de que la página se asienta */
.whatsapp-float { animation: cm-slide-up 0.5s var(--ease-out-expo) 1.2s both; }

/* Feedback táctil en botones */
.btn-primary:active,
.btn-wa:active,
.btn-outline:active,
.btn-outline-light:active { transform: scale(0.97); transition-duration: 0.08s; }

/* Scroll reveal: easing más natural */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-out-expo),
              transform 0.65s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Accesibilidad: respetar preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero-blob, .hero-deco-a, .hero-deco-b, .hero-deco-c { animation: none; }
}

/* ══════════════════ RESPONSIVE ═════════════════════════ */
@media (max-width: 900px) {
  .hero-inner, .sobre-inner, .social-inner,
  .sobre-hero-inner, .historia-inner,
  .portal-inner, .newsletter-inner,
  .destacado-inner, .contacto-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-img-wrap { order: -1; max-width: 380px; margin: 0 auto; }
  .sobre { background: var(--primary-bg); position: relative; overflow: hidden; }
  .sobre::after {
    content: "";
    position: absolute; right: -50px; bottom: -50px;
    width: 400px; height: 400px;
    background: url("https://cmcontadora.cl/wp-content/uploads/2026/04/ISOTIPO%20ROJO.svg") no-repeat center/contain;
    opacity: 0.07; pointer-events: none; z-index: 0;
  }
  .sobre .sobre-inner { position: relative; z-index: 1; }
  .sobre-img { max-width: 340px; margin: 0 auto; }
  .banda-inner { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .porque-grid { grid-template-columns: 1fr; max-width: 560px; padding: 0 24px; }
  .porque-item { padding: 32px 24px; }
  .porque-item:nth-child(odd) { border-right: none; }
  .porque-item:nth-child(1), .porque-item:nth-child(2), .porque-item:nth-child(3) { border-bottom: 1px solid oklch(100% 0 0 / 0.12); }
  .faq-blog-sec .container { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .planes-grid, .extras-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .portal-features { grid-template-columns: 1fr; }
  .precios-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-inner { grid-template-columns: 1fr; }
  .valores-grid, .galeria-grid { grid-template-columns: repeat(2, 1fr); }
  .canales-grid { grid-template-columns: 1fr; gap: 12px; }
  .rapidas-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .banda-item:not(:last-child)::after { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 66px; left: 0; right: 0;
    background: #1a1a1a;
    padding: 16px 28px;
    border-bottom: 2px solid #2a2a2a;
    z-index: 99;
    gap: 4px;
  }
  /* Touch targets mínimo 44px */
  .site-nav.open a {
    color: oklch(100% 0 0 / 0.85);
    padding: 10px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .site-nav.open a:hover { color: var(--primary-lt); }
  .menu-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  /* porque-grid: mantener 1 col del breakpoint 900px (eliminar conflicto) */
  .porque-grid   { max-width: 100%; }
  .porque-item   { padding: 24px 20px; gap: 16px; }
  .hero { padding: 60px 0 48px; }
  .hero-btns, .cta-btns { flex-direction: column; align-items: flex-start; }
  .cta-btns { align-items: center; }
  /* Reset elevación del card destacado en móvil */
  .precio-card.destacado { transform: none; box-shadow: var(--sombra); }
  /* Logos de clientes: gap más compacto */
  .clients-logos { gap: 20px; }
  .clients-logos img { height: 36px; }
  .precios-teaser { padding: 44px 0; }
  .faq-blog-sec { padding: 44px 0; }
  details.faq-item summary { font-size: 14px; padding: 14px 18px; }
  .faq-body { padding: 4px 18px 16px; }
  .planes-grid, .extras-grid { grid-template-columns: 1fr; }
  .precios-grid { grid-template-columns: 1fr; }
  .valores-grid, .galeria-grid { grid-template-columns: 1fr; }
  .historia-fotos { grid-template-columns: 1fr; }
  .historia-fotos img:first-child { aspect-ratio: 4/3; }
  .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* =============================================
   ARTÍCULOS DE BLOG — estilos compartidos
   ============================================= */

/* Hero del artículo */
.art-hero {
  background: var(--graphite);
  padding: 80px 0 64px;
}
.art-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.art-breadcrumb {
  font-family: 'Karla', sans-serif;
  font-size: 13px;
  color: oklch(100% 0 0 / 0.5);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.art-breadcrumb a {
  color: oklch(100% 0 0 / 0.6);
  text-decoration: none;
}
.art-breadcrumb a:hover { color: var(--primary-lt); }

.art-hero h1 {
  font-family: 'Petrona', serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  color: oklch(99% 0.008 80);
  line-height: 1.2;
  margin: 16px 0 28px;
}

.art-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.art-meta-item {
  font-family: 'Karla', sans-serif;
  font-size: 13px;
  color: oklch(100% 0 0 / 0.55);
  display: flex;
  align-items: center;
  gap: 6px;
}
.art-meta-item span { color: oklch(100% 0 0 / 0.75); }

/* Cuerpo del artículo */
.art-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.art-body h2 {
  font-family: 'Petrona', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--graphite);
  margin: 2.5em 0 0.75em;
}
.art-body h3 {
  font-family: 'Petrona', serif;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--graphite);
  margin: 1.8em 0 0.6em;
}
.art-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--graphite);
  margin-bottom: 1.2em;
}
.art-body ul, .art-body ol {
  padding-left: 1.4em;
  margin-bottom: 1.4em;
}
.art-body li {
  line-height: 1.75;
  margin-bottom: 0.4em;
  color: var(--graphite);
}
.art-body strong { color: var(--graphite); }

/* Cajas de llamada */
.caja-verde {
  background: oklch(93% 0.04 150);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 28px 0;
}
.caja-verde p { margin: 0; font-size: 0.97rem; }

.caja-coral {
  background: var(--primary-lt);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 28px 0;
}
.caja-coral p { margin: 0; font-size: 0.97rem; }

.caja-crema {
  background: var(--cream);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 28px 0;
}
.caja-crema p { margin: 0; font-size: 0.97rem; }

/* Lista con checkmarks */
.lista-check {
  list-style: none;
  padding-left: 0;
}
.lista-check li {
  padding-left: 1.8em;
  position: relative;
  margin-bottom: 0.6em;
  line-height: 1.7;
}
.lista-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.lista-check.coral li::before {
  content: '✗';
  color: var(--primary);
}
.lista-check.num {
  counter-reset: lista-num;
}
.lista-check.num li {
  counter-increment: lista-num;
}
.lista-check.num li::before {
  content: counter(lista-num) '.';
  color: var(--teal);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Tarjetas de gastos */
.gasto-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 28px 28px 22px;
  margin: 28px 0;
  position: relative;
  box-shadow: 0 2px 12px oklch(28% 0.009 35 / 0.06);
}
.gasto-num {
  font-family: 'Petrona', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-lt);
  line-height: 1;
  margin-bottom: 4px;
}
.gasto-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.gasto-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}
.gasto-card p { margin-bottom: 12px; }
.gasto-ejemplo {
  font-family: 'Karla', sans-serif;
  font-size: 0.88rem;
  background: var(--cream);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--neutral-mid);
  margin-top: 12px;
}

/* Tarjetas de pasos */
.paso-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface);
  border-radius: 12px;
  padding: 24px 24px;
  margin: 20px 0;
  box-shadow: 0 2px 12px oklch(28% 0.009 35 / 0.05);
}
.paso-num {
  font-family: 'Petrona', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  min-width: 2rem;
  flex-shrink: 0;
}
.paso-content h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}
.paso-content p { margin: 0; font-size: 0.97rem; }

/* Tabla */
.tabla-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: 10px;
}
.tabla {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Karla', sans-serif;
  font-size: 0.95rem;
}
.tabla th {
  background: var(--graphite);
  color: oklch(99% 0.008 80);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
}
.tabla td {
  padding: 11px 16px;
  color: var(--graphite);
  vertical-align: top;
}
.tabla tr:nth-child(even) td { background: var(--cream); }
.tabla tr:nth-child(odd) td  { background: var(--surface); }

/* CTA dentro del artículo */
.art-cta {
  background: var(--primary-bg);
  border-radius: 14px;
  padding: 36px 32px;
  margin: 48px 0 40px;
  text-align: center;
}
.art-cta h3 {
  font-family: 'Petrona', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--graphite);
  margin: 0 0 10px;
}
.art-cta p {
  color: var(--neutral-mid);
  margin: 0 0 22px;
  font-size: 1rem;
}

.btn-wa-art {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-wa-art:hover { background: #1ebe5d; transform: translateY(-1px); }
.btn-wa-art svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* Autor */
.autor-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 0;
  border-top: 1px solid oklch(28% 0.009 35 / 0.12);
  margin-top: 48px;
}
.autor-foto {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.autor-info h4 {
  font-family: 'Petrona', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--graphite);
  margin: 0 0 6px;
}
.autor-info p {
  font-size: 0.9rem;
  color: var(--neutral-mid);
  margin: 0;
  line-height: 1.5;
}

/* Artículos relacionados */
.relacionados {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid oklch(28% 0.009 35 / 0.12);
}
.relacionados h3 {
  font-family: 'Petrona', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--graphite);
  margin: 0 0 24px;
}
.rel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.rel-card {
  background: var(--surface);
  border-radius: 10px;
  padding: 22px 20px;
  box-shadow: 0 2px 10px oklch(28% 0.009 35 / 0.06);
}
.rel-cat {
  font-family: 'Karla', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 8px;
}
.rel-card h4 {
  font-family: 'Petrona', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--graphite);
  margin: 0 0 14px;
  line-height: 1.35;
}
.rel-card a {
  font-family: 'Karla', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.rel-card a:hover { text-decoration: underline; }

/* Badge variants de blog — mantiene colores sólidos definidos arriba */

/* Responsive artículo */
@media (max-width: 760px) {
  .art-hero { padding: 56px 0 44px; }
  .art-body { padding: 40px 20px 60px; }
  .rel-grid { grid-template-columns: 1fr; }
  .paso-card { flex-direction: column; gap: 10px; }
  .gasto-card { padding: 22px 18px 18px; }
  .art-cta { padding: 28px 20px; }
  .autor-card { flex-direction: column; gap: 14px; }
}
