/* ============================================================
   DentalControlPRO — Landing Page v2
   Colores del logo: #0071F2 (azul), #003DD4 (azul oscuro),
   #000620 (navy), #DEEEFB (azul claro)
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --brand: #0071F2;
  --brand-dark: #0058EC;
  --brand-deep: #003DD4;
  --brand-light: #DEEEFB;
  --brand-soft: #EAF4FE;
  --navy: #000620;
  --navy-2: #071A3F;
  --ink: #101C3A;
  --ink-2: #34406B;
  --muted: #5A6486;
  --line: #E4EAF6;
  --bg: #FFFFFF;
  --bg-alt: #F6F9FE;
  --success: #12B76A;
  --danger: #E5484D;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 40px rgba(0, 21, 82, 0.08);
  --shadow-lg: 0 24px 80px rgba(0, 21, 82, 0.18);
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-deep); }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; color: var(--ink); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  background: var(--brand);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 10px;
}
.skip-link:focus { left: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 14px 26px;
  border-radius: 12px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all .25s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.25);
  transform: translateX(-100%);
  transition: transform .4s ease;
}
.btn:hover::after { transform: translateX(100%); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 113, 242, .35);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 113, 242, .45); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.98);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(0,21,82,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand-logo {
  height: 56px;
  width: auto;
  image-rendering: auto;
  filter: none;
}
.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav ul a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.main-nav ul a:hover { color: var(--brand); }
.nav-cta { margin-left: 4px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 170px 0 90px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(0,113,242,.16), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(0,61,212,.10), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F6F9FE 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,113,242,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,113,242,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(700px 400px at 80% 20%, #000 0%, transparent 70%);
          mask-image: radial-gradient(700px 400px at 80% 20%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(0,113,242,.18);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(0,113,242,.4);} 50% { box-shadow: 0 0 0 6px rgba(0,113,242,0);} }
.hero-title { font-size: clamp(38px, 5vw, 58px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 22px; }
.text-gradient {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-deep) 60%, #6A5AFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-subtitle { font-size: 18px; color: var(--ink-2); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trustline { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.hero-trustline svg { color: var(--success); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-tags li { font-size: 13px; color: var(--ink-2); font-weight: 500; display: flex; align-items: center; gap: 6px; }
.check { color: var(--success); font-weight: 800; }

/* Ken Burns (efecto tipo video sobre imagen) */
@keyframes kenburns {
  0%   { transform: scale(1) translate(0, 0); }
  50%  { transform: scale(1.06) translate(-1%, 0.5%); }
  100% { transform: scale(1) translate(0, 0); }
}
.kenburns { animation: kenburns 18s ease-in-out infinite; will-change: transform; }

/* Animación entrada del hero */
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }
.hero-visual { position: relative; }

/* ---------- Monitor de escritorio: aplicación ejecutándose ---------- */
.monitor { position: relative; margin: 0 auto; max-width: 660px; }
.monitor-screen {
  position: relative;
  background: linear-gradient(160deg, #2d3450 0%, #0c0f22 100%);
  border-radius: 22px;
  padding: 16px 16px 22px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    inset 0 2px 0 rgba(255,255,255,.05),
    0 46px 80px -42px rgba(9,20,64,.5);
}
.monitor-screen::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(255,255,255,.10), rgba(255,255,255,0) 42%);
  pointer-events: none;
  z-index: 2;
}
.monitor-cam {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7f8ab0, #12152a 72%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), inset 0 0 3px rgba(0,0,0,.7);
  z-index: 3;
}
.monitor-neck {
  width: 120px;
  height: 64px;
  margin: -6px auto 0;
  background: linear-gradient(180deg, #3a4159 0%, #1d2136 100%);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
}
.monitor-base {
  position: relative;
  width: 60%;
  height: 16px;
  margin: -3px auto 0;
  background: linear-gradient(180deg, #3a4159 0%, #24293f 60%, #151a30 100%);
  border-radius: 8px;
  box-shadow: 0 20px 34px -18px rgba(0,0,0,.55);
}
.monitor-base::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -18px;
  height: 34px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(0,113,242,.32), rgba(0,113,242,0) 70%);
  filter: blur(8px);
  pointer-events: none;
}
.screen-frame {
  position: relative;
  margin: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.7);
}
.screen-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--navy);
}
.screen-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.screen-dot:nth-child(1) { background: #FF5F57; }
.screen-dot:nth-child(2) { background: #FEBC2E; }
.screen-dot:nth-child(3) { background: #28C840; }
.screen-url {
  margin: 0 auto;
  font-size: 11px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.12);
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: .3px;
}
.screen-img { width: 100%; height: auto; display: block; }
.screen-live {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0,6,32,.74);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 100px;
  letter-spacing: .4px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px -12px rgba(0,6,32,.55);
}

.hero-float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: floaty 6s ease-in-out infinite;
}
.hero-float-card strong { font-size: 13px; color: var(--ink); display: block; }
.hero-float-card small { font-size: 11px; color: var(--muted); }
.fc-ico { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.calendar-ico { background: var(--brand-soft); }
.chart-ico { background: #E9F8F1; }
.fc-badge { background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 100px; }
.fc-badge.money { background: var(--success); }
.fc-appointments { top: 60px; left: -30px; }
.fc-finance { top: 56%; right: -26px; animation-delay: 1.4s; }

/* ---------- Secciones genéricas ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(0,113,242,.18);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.8px; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--ink-2); }

/* ---------- Problema ↦ Solución (compacto) ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; max-width: 960px; margin: 0 auto; }
.problem-item {
  background: #FDF3F3;
  border: 1px solid #F6D9D9;
  color: #7A2E2E;
  border-radius: 14px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.problem-item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(229,72,77,.12); }
.problem-item .x { color: var(--danger); font-weight: 800; flex-shrink: 0; }
.problem-close { text-align: center; margin-top: 40px; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--brand-deep); }

/* ---------- Módulos (tabs) ---------- */
.module-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.module-tab {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: all .25s ease;
}
.module-tab:hover { border-color: var(--brand); color: var(--brand); }
.module-tab.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0,113,242,.3);
}
.module-panel { display: none; }
.module-panel.active { display: block; animation: fadeIn .45s ease; }
.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.module-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.module-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(0,113,242,.3); }
.module-card:hover::before { transform: scaleX(1); }
.module-card h3 { font-size: 17px; margin-bottom: 8px; }
.module-card p { font-size: 14px; color: var(--ink-2); }

/* ---------- Íconos ---------- */
.sol-ico, .benefit-ico, .aud-ico, .trust-ico, .contact-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 16px;
  position: relative;
  color: var(--brand-deep);
}
.sol-ico i, .benefit-ico i, .aud-ico i, .trust-ico i, .contact-ico i {
  font-size: 22px;
  line-height: 1;
}
.fc-ico { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--brand); font-size: 17px; }
.social-link i { font-size: 17px; color: #fff; }
.ic-historia, .ic-pacientes, .ic-panel, .ic-mail { background-color: #EAF4FE; }
.ic-odon, .ic-doc, .ic-consent { background-color: #EDF1FF; }
.ic-period { background-color: #F2F0FE; }
.ic-trat, .ic-pago { background-color: #EAF8F4; }
.ic-plan, .ic-presu, .ic-planpago { background-color: #EEF6FE; }
.ic-receta { background-color: #F8F1FF; }
.ic-agenda, .ic-cubiculo, .ic-telefono { background-color: #EBF7F0; }
.ic-factura, .ic-caja { background-color: #E9F8F1; }
.ic-nota, .ic-cxc, .ic-cobranza { background-color: #FFF3EC; }
.ic-estado { background-color: #F0F4FF; }
.ic-sucursal, .ic-odontologo, .ic-usuarios, .ic-ubicacion { background-color: #EEF6FE; }
.ic-inv { background-color: #FFF6EA; }
.ic-rep { background-color: #F0F4FF; }

/* ---------- Demo player ---------- */
.demo { background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
.demo-player { max-width: 1080px; margin: 0 auto; }
.player-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}
.player-slide { position: relative; margin: 0; overflow: hidden; background: var(--navy); }
.player-img { width: 100%; height: auto; display: block; }
.player-caption {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0,6,32,.72);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
  z-index: 3;
}
.player-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(18,183,106,.9);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: .3px;
  z-index: 3;
  animation: blinkDot 1.4s infinite;
}
@keyframes blinkDot { 0%,100% { opacity: 1; } 50% { opacity: .65; } }
.player-progress { height: 4px; background: rgba(255,255,255,.18); }
.player-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--brand), #3FA7FF); transition: width .25s linear; }
.player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--navy);
}
.player-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--brand-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .25s ease;
}
.player-btn:hover { transform: scale(1.08); background: var(--brand-soft); }
.player-btn .ico-pause { display: none; }
.player-btn.playing .ico-play { display: none; }
.player-btn.playing .ico-pause { display: block; }
.player-timeline { flex: 1; }
.player-timeline input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,.25);
  border-radius: 100px;
  outline: none;
}
.player-timeline input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  cursor: pointer;
}
.player-timeline input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  cursor: pointer;
}
.player-counter { color: rgba(255,255,255,.8); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; flex-shrink: 0; }

/* Tabs del player (miniaturas) */
.player-tabs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.player-tab {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  transition: all .25s ease;
  text-align: center;
}
.player-tab:hover { border-color: rgba(0,113,242,.5); transform: translateY(-3px); box-shadow: var(--shadow); }
.player-tab.active { border-color: var(--brand); box-shadow: 0 8px 24px rgba(0,113,242,.28); }
.player-tab img { width: 100%; height: auto; display: block; }
.player-tab span { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-2); padding: 8px 6px; line-height: 1.25; min-height: 34px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.player-tab.active span { color: var(--brand); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: translateY(0);} }
.demo-note { text-align: center; margin-top: 34px; }
.demo-note p { color: var(--ink-2); margin-bottom: 18px; font-size: 15px; }

/* ---------- Todo conectado ---------- */
.connected-flow { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 700px; margin: 0 auto 36px; }
.cf-node {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  box-shadow: var(--shadow);
  min-width: 220px;
  text-align: center;
  transition: all .3s ease;
}
.cf-node:hover { border-color: rgba(0,113,242,.4); transform: translateY(-2px); }
.cf-node.main { border-color: rgba(0,113,242,.3); }
.cf-node.highlight { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; border-color: transparent; }
.cf-node.highlight:hover { color: #fff; }
.cf-arrow { color: var(--brand); font-weight: 700; font-size: 20px; line-height: 1; }
.cf-arrow.split { font-size: 15px; letter-spacing: 10px; }
.cf-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.cf-row .cf-node { min-width: 180px; font-size: 14px; }
.connected-tagline { text-align: center; font-size: 20px; color: var(--ink); }

/* ---------- Beneficios ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.benefit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: all .3s ease;
  position: relative;
}
.benefit-card::after {
  content: '';
  position: absolute;
  inset: auto -1px -1px -1px;
  height: 4px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(90deg, var(--brand), var(--brand-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.benefit-card:hover::after { transform: scaleX(1); }
.benefit-card h3 { font-size: 18px; margin-bottom: 8px; }
.benefit-card p { font-size: 14.5px; color: var(--ink-2); }
.ic-tiempo { background-color: #EEF6FE; }
.ic-atencion { background-color: #EAF4FE; }
.ic-control { background-color: #E9F8F1; }
.ic-decisiones { background-color: #F0F4FF; }
.ic-organiza { background-color: #F2F0FE; }
.ic-crece { background-color: #FFF6EA; }

/* ---------- Audiencia ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.audience-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; transition: all .3s ease; }
.audience-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.audience-card .aud-ico { margin: 0 auto 16px; display: flex; }
.audience-card h3 { font-size: 18px; margin-bottom: 8px; }
.audience-card p { font-size: 14.5px; color: var(--ink-2); }
.ic-odontologo { background-color: #EAF4FE; }
.ic-asistente { background-color: #EBF7F0; }
.ic-admin { background-color: #F0F4FF; }
.ic-centro { background-color: #FFF6EA; }

/* ---------- Confianza ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.trust-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; transition: all .3s ease; }
.trust-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.trust-card .trust-ico { margin: 0 auto 14px; display: flex; }
.trust-card h3 { font-size: 17px; margin-bottom: 8px; }
.trust-card p { font-size: 13.5px; color: var(--ink-2); }
.ic-gestion { background-color: #EAF4FE; }
.ic-central { background-color: #F0F4FF; }
.ic-seguridad { background-color: #F2F0FE; }
.ic-controlt { background-color: #EBF7F0; }
.ic-soporte { background-color: #FFF6EA; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .3s ease, box-shadow .3s ease; }
.faq-item[open] { border-color: rgba(0,113,242,.4); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--brand); transition: transform .3s ease; flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--brand); }
.faq-item p { padding: 0 24px 0; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.faq-item p + p { padding: 0 24px 20px; margin-top: 12px; }
.faq-item p:last-child { padding-bottom: 20px; }
.faq-item a { color: var(--brand); font-weight: 600; }
.faq-item a:hover { text-decoration: underline; }

/* ---------- Formulario final ---------- */
.final-cta { background: linear-gradient(160deg, #F6F9FE 0%, #EAF4FE 100%); }
.final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list .contact-ico { margin-bottom: 0; flex-shrink: 0; }
.contact-list strong { font-size: 13px; color: var(--muted); font-weight: 600; display: block; }
.contact-list a { font-size: 16px; font-weight: 600; color: var(--ink); }
.contact-list a:hover { color: var(--brand); }
.contact-list .contact-val { font-size: 16px; font-weight: 600; color: var(--ink); }
.ic-whatsapp { background-color: #E9F8F1; }
.trustline-final { margin-top: 28px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.trustline-final::before { content: '✓'; width: 20px; height: 20px; border-radius: 50%; background: var(--success); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

.form-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 40px; }
.form-card h3 { font-size: 24px; margin-bottom: 8px; }
.form-intro { color: var(--ink-2); font-size: 15px; margin-bottom: 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field .optional { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #FBFCFE;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0,113,242,.12);
  background: #fff;
}
.field textarea { resize: vertical; }
.field .error-msg { display: none; color: var(--danger); font-size: 12.5px; margin-top: 6px; }
.field.invalid input, .field.invalid select { border-color: var(--danger); background: #FFF8F8; }
.field.invalid .error-msg { display: block; }
.form-legal { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }
.form-success { text-align: center; padding: 40px 10px; animation: fadeIn .5s ease; }
.success-ico {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #3ED598);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  animation: popIn .5s ease;
}
@keyframes popIn { 0% { transform: scale(.5); opacity: 0;} 60% { transform: scale(1.15);} 100% { transform: scale(1); opacity: 1;} }
.form-success h3 { font-size: 26px; margin-bottom: 12px; }
.form-success p { color: var(--ink-2); font-size: 16px; max-width: 420px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.footer-logo { height: 46px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14.5px; max-width: 300px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  position: relative;
}
.social-link:hover { background: var(--brand); transform: translateY(-3px); }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255,255,255,.65); font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.5); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,.5); }
.footer-legal a:hover { color: #fff; }

/* ---------- WhatsApp widget ---------- */
.wa-widget { position: fixed; right: 22px; bottom: 22px; z-index: 120; }
.wa-fab {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  filter: drop-shadow(0 10px 18px rgba(37, 211, 102, .45));
  transition: transform .25s ease, filter .25s ease;
}
.wa-fab:hover { transform: scale(1.08); filter: drop-shadow(0 14px 24px rgba(37, 211, 102, .55)); }
.wa-fab .wa-ico-main {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.wa-fab .wa-ico-close {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  align-items: center;
  justify-content: center;
  padding: 19px;
  box-sizing: border-box;
  color: #fff;
}
.wa-fab .wa-ico-close svg { width: 100%; height: 100%; }
.wa-widget.open .wa-fab .wa-ico-main { display: none; }
.wa-widget.open .wa-fab .wa-ico-close { display: inline-flex; }
.wa-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  border-radius: 100px;
  background: #E5484D;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  animation: waPulse 2s infinite;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229,72,77,.5); }
  60% { box-shadow: 0 0 0 8px rgba(229,72,77,0); }
}
.wa-widget.open .wa-badge { display: none; }

.wa-card {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,21,82,.25);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.96);
  transform-origin: bottom right;
  transition: all .3s ease;
}
.wa-widget.open .wa-card { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wa-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
}
.wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wa-head-text { flex: 1; line-height: 1.3; }
.wa-head-text strong { display: block; font-size: 15px; }
.wa-head-text small { font-size: 11.5px; opacity: .9; display: flex; align-items: center; gap: 5px; }
.wa-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #B7F397; display: inline-block; }
.wa-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s ease;
}
.wa-close:hover { background: rgba(255,255,255,.3); }
.wa-body {
  background:
    linear-gradient(rgba(0,113,242,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,113,242,.035) 1px, transparent 1px),
    #ECE5DD;
  background-size: 24px 24px;
  padding: 18px 14px;
  max-height: 380px;
  overflow-y: auto;
}
.wa-date-badge {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #667781;
  background: #fff;
  border-radius: 100px;
  padding: 3px 12px;
  width: max-content;
  margin: 0 auto 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.wa-msg {
  max-width: 82%;
  background: #fff;
  border-radius: 4px 14px 14px 14px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: #1f2c33;
  line-height: 1.45;
  margin-bottom: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  animation: waMsgIn .45s ease forwards;
}
@keyframes waMsgIn { to { opacity: 1; transform: translateY(0); } }
.wa-msg::after {
  content: attr(data-time);
  position: absolute;
  right: 8px;
  bottom: 4px;
  font-size: 10px;
  color: #8696a0;
}
.wa-quick { margin-top: 12px; }
.wa-chat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 18px;
  border-radius: 12px;
  text-decoration: none;
  transition: all .25s ease;
  box-shadow: 0 8px 20px rgba(37,211,102,.35);
}
.wa-chat-btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 28px rgba(37,211,102,.45); }
.wa-note { text-align: center; font-size: 11.5px; color: #667781; margin-top: 10px; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 98px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-size: 20px;
  box-shadow: 0 10px 26px rgba(0,113,242,.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s ease;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 640px; margin: 0 auto; width: 100%; }
  .hero { padding: 148px 0 70px; }
  .final-grid { grid-template-columns: 1fr; gap: 44px; }
  .final-text { max-width: 640px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .player-tabs { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 84px;
    right: 0;
    width: min(320px, 85vw);
    height: calc(100vh - 84px);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 28px;
    box-shadow: -20px 0 60px rgba(0,21,82,.12);
    transform: translateX(100%);
    transition: transform .35s ease;
    border-left: 1px solid var(--line);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 18px; }
  .main-nav ul a { font-size: 17px; }
  .nav-cta { margin-left: 0; }
}

/* Tablets estrechas: las tarjetas flotantes caben dentro del monitor para no cortarse */
@media (max-width: 820px) {
  .fc-appointments { left: 10px; top: 46px; }
  .fc-finance { right: 10px; top: 56%; }
  .player-tabs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 128px 0 56px; }
  .hero-title { font-size: 34px; }
  .hero-subtitle { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-float-card.fc-appointments { left: 6px; top: 10px; }
  .hero-float-card.fc-finance { right: 6px; top: 62%; }
  .hero-float-card { padding: 10px 13px; gap: 10px; }
  .fc-ico { width: 32px; height: 32px; }
  .screen-live { bottom: 12px; left: 12px; font-size: 10.5px; padding: 6px 11px; }
  .cf-arrow.split { letter-spacing: 4px; font-size: 13px; }
  .problem-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .player-tabs { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 28px 22px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .back-to-top { bottom: 86px; right: 18px; }
  .brand-logo { height: 44px; }
  .wa-fab { width: 56px; height: 56px; }
  .wa-widget { right: 16px; bottom: 16px; }
  .wa-card { bottom: 68px; right: 0; }
  .wa-ico-close { padding: 16px; }
}

/* Muy pequeñas: el logo y el botón deben caber sin romper el header */
@media (max-width: 480px) {
  .header-inner { height: 72px; }
  .main-nav { top: 72px; height: calc(100vh - 72px); }
  .brand-logo { height: 38px; }
  .nav-toggle { transform: scale(.9); }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .kenburns { animation: none; }
}

/* ============================================================
   Páginas SEO — Landings y Blog
   (añadido posteriormente; solo amplía, no modifica el diseño)
   ============================================================ */

/* ---------- Breadcrumb ---------- */
.crumb-bar {
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F9FE 100%);
  padding: 108px 0 0;
  border-bottom: 1px solid var(--line);
}
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13.5px; color: var(--muted); padding: 16px 0; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: '/'; color: var(--line); }
.breadcrumb a { color: var(--ink-2); font-weight: 500; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .current { color: var(--brand); font-weight: 600; }

/* ---------- Hero de landing (reusa .hero) ---------- */
.page-hero { padding: 40px 0 90px; }

/* ---------- Contenido de landing ---------- */
.lp-lead { max-width: 860px; margin: 0 auto; text-align: center; font-size: 18px; color: var(--ink-2); line-height: 1.8; }
.lp-lead strong { color: var(--ink); font-weight: 700; }
.lp-text-col { max-width: 860px; margin: 0 auto; }
.lp-text-col h2 { font-size: clamp(24px, 3vw, 34px); margin: 48px 0 16px; }
.lp-text-col h3 { font-size: 21px; margin: 32px 0 12px; }
.lp-text-col p, .lp-text-col li { font-size: 16.5px; color: var(--ink-2); line-height: 1.85; margin-bottom: 14px; }
.lp-text-col ul { padding: 0; margin: 0 0 18px; }
.lp-text-col ul li { position: relative; padding-left: 30px; }
.lp-text-col ul li::before {
  content: '✓';
  position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--success); color: #fff;
  font-size: 11px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ---------- Pasos ---------- */
.lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.lp-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: all .3s ease; }
.lp-step:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(0,113,242,.3); }
.lp-step-num {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.lp-step h3 { font-size: 17px; margin-bottom: 8px; }
.lp-step p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- CTA banner ---------- */
.lp-cta { background: linear-gradient(160deg, #F6F9FE 0%, #EAF4FE 100%); border-top: 1px solid var(--line); }
.lp-cta-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.lp-cta h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.8px; margin-bottom: 14px; }
.lp-cta p { font-size: 17px; color: var(--ink-2); margin-bottom: 28px; }
.lp-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Enlaces relacionados ---------- */
.lp-related { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lp-related a {
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 9px 18px; transition: all .25s ease;
}
.lp-related a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.lp-related-title { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }

/* ---------- Blog hub ---------- */
.blog-intro { max-width: 820px; margin: 0 auto 40px; text-align: center; font-size: 17px; color: var(--ink-2); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.blog-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: all .3s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(0,113,242,.3); }
.blog-card-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--brand-light); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta { display: flex; gap: 12px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.blog-card h3 { font-size: 19px; margin-bottom: 10px; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--brand); }
.blog-card p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 16px; }
.blog-card-link { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.blog-card-link:hover { color: var(--brand-deep); }
.category-chip {
  display: inline-flex; align-items: center;
  font-size: 11.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); border: 1px solid rgba(0,113,242,.18);
  padding: 5px 12px; border-radius: 100px;
}
.upcoming-chip {
  font-size: 12px; font-weight: 600; color: var(--muted);
  background: var(--bg-alt); border: 1px dashed var(--line);
  padding: 6px 12px; border-radius: 100px;
}

/* ---------- Artículo ---------- */
.post { max-width: 780px; margin: 0 auto; }
.post-header { margin-bottom: 32px; }
.post-title { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; letter-spacing: -1px; margin-bottom: 18px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.post-meta .sep::before { content: '·'; margin-right: 8px; color: var(--line); }
.post-featured { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow); }
.post-featured img { width: 100%; height: auto; }
.post-body p { font-size: 17px; color: var(--ink-2); line-height: 1.85; margin-bottom: 18px; }
.post-body h2 { font-size: clamp(23px, 3vw, 30px); margin: 44px 0 14px; }
.post-body h3 { font-size: 21px; margin: 30px 0 12px; }
.post-body ul, .post-body ol { padding: 0; margin: 0 0 20px; }
.post-body ul li { position: relative; padding-left: 30px; font-size: 16.5px; color: var(--ink-2); line-height: 1.8; margin-bottom: 10px; }
.post-body ul li::before {
  content: '✓';
  position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--success); color: #fff;
  font-size: 11px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.post-body ol { counter-reset: ol; }
.post-body ol li { counter-increment: ol; position: relative; padding-left: 42px; font-size: 16.5px; color: var(--ink-2); line-height: 1.8; margin-bottom: 12px; }
.post-body ol li::before {
  content: counter(ol);
  position: absolute; left: 0; top: 2px;
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--brand-soft); color: var(--brand-deep);
  font-weight: 800; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
}
.post-callout {
  background: var(--brand-soft); border: 1px solid rgba(0,113,242,.2); border-left: 4px solid var(--brand);
  border-radius: 12px; padding: 20px 24px; margin: 24px 0; font-size: 16px; color: var(--ink);
}
.post-cta {
  background: linear-gradient(160deg, #F6F9FE 0%, #EAF4FE 100%);
  border: 1px solid rgba(0,113,242,.16); border-radius: var(--radius-lg);
  padding: 34px 28px; text-align: center; margin: 40px 0;
}
.post-cta h3 { font-size: 24px; margin-bottom: 10px; }
.post-cta p { font-size: 16px; color: var(--ink-2); margin-bottom: 22px; }
.post-cta .btn { margin: 0 6px 8px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.post-tags a { font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--bg-alt); border: 1px solid var(--line); border-radius: 100px; padding: 7px 14px; }
.post-tags a:hover { color: var(--brand); border-color: var(--brand); }
.post-related { margin-top: 52px; }
.post-related h3 { font-size: 22px; margin-bottom: 20px; }
.post-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }

/* ---------- Responsive páginas SEO ---------- */
@media (max-width: 1080px) { .page-hero { padding: 24px 0 60px; } }
@media (max-width: 640px) {
  .crumb-bar { padding-top: 96px; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-body p, .post-body li { font-size: 16px; }
  .lp-cta-actions .btn, .post-cta .btn { width: 100%; }
  .breadcrumb { overflow-x: auto; white-space: nowrap; }
}