/* ============================================================
   MARCA ONE — Sistema de diseño compartido (Home + Blog)
   ============================================================ */

:root {
  --navy-950: #050f24;
  --navy-900: #071733;
  --navy-800: #0a2350;
  --navy-700: #0d2f6b;
  --blue-600: #1556c0;
  --blue-500: #1d6fe8;
  --cyan-500: #00c2d1;
  --cyan-300: #5fe3ec;
  --amber-500: #f5a623;
  --amber-400: #ffb83f;
  --green-500: #22c55e;
  --white: #ffffff;
  --off: #f4f7fe;
  --off-2: #eaf1fd;
  --ink: #0a1628;
  --text: #1b2a47;
  --muted: #56688a;
  --muted-2: #7d8cab;
  --border: #dce6f7;
  --border-dark: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 2px 10px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 14px 40px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 28px 70px rgba(5, 15, 36, 0.22);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1180px;
  --nav-h: 72px;
  --font-display: "Sora", "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", "Open Sans", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 2px; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible {
  outline: 3px solid var(--cyan-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 2000;
  background: var(--amber-500);
  color: var(--navy-900);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-400));
  color: var(--navy-900);
  box-shadow: 0 10px 28px rgba(245, 166, 35, 0.34);
}
.btn-primary:hover { box-shadow: 0 16px 36px rgba(245, 166, 35, 0.42); }

.btn-blue {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  box-shadow: 0 10px 28px rgba(21, 86, 192, 0.28);
}
.btn-blue:hover { box-shadow: 0 16px 36px rgba(21, 86, 192, 0.38); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline {
  background: #fff;
  border-color: var(--border);
  color: var(--navy-700);
}
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); }

.btn-sm { padding: 10px 18px; font-size: 12px; }
.btn-block { width: 100%; }

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 6px;
}
.topbar-points {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.topbar-points span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-points .icon { width: 15px; height: 15px; color: var(--cyan-300); }
.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.topbar-phone .icon { width: 15px; height: 15px; color: var(--amber-400); }
.topbar-phone:hover { color: var(--amber-400); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 23, 51, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  background: rgba(5, 15, 36, 0.985);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.3);
}
.header-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: none;
}
.brand-logo {
  height: 42px;
  width: auto;
  border-radius: 9px;
  background: #fff;
  padding: 3px 5px;
}
.brand-text {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
}
.brand-text em { font-style: normal; color: var(--amber-500); }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}
.nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  padding-block: 8px;
  transition: color 0.2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--amber-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav a:hover,
.nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-mobile-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 11px; }
.header-actions .btn { padding: 11px 20px; font-size: 12px; }
.header-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 4px;
  transition: color 0.2s ease;
}
.header-wa .icon { width: 19px; height: 19px; color: #4ade80; }
.header-wa:hover { color: var(--cyan-300); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 720px 480px at 82% 12%, rgba(0, 194, 209, 0.16), transparent 62%),
    radial-gradient(ellipse 620px 460px at 6% 88%, rgba(245, 166, 35, 0.1), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 56px;
  align-items: center;
  padding-block: 88px 92px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(0, 194, 209, 0.12);
  border: 1px solid rgba(0, 194, 209, 0.36);
  color: var(--cyan-300);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(0, 194, 209, 0.18);
}
.hero h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero h1 .accent {
  color: var(--amber-500);
  display: block;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 30px;
}
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}
.hero-trust .icon { width: 17px; height: 17px; color: var(--green-500); }

.hero-media { position: relative; }
.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-lg);
}
.hero-frame img {
  width: 100%;
  border-radius: 16px;
  background: #fff;
}
.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 13px;
  background: rgba(7, 23, 51, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.3;
}
.hero-chip strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.hero-chip .icon { width: 20px; height: 20px; }
.hero-chip--tl { top: 18px; left: -26px; }
.hero-chip--tl .icon { color: var(--green-500); }
.hero-chip--br { bottom: 20px; right: -22px; }
.hero-chip--br .icon { color: var(--amber-400); }

/* ---------- Plataformas / marquee ---------- */
.platforms {
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 22px 0;
}
.platforms-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.platforms-label {
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.platforms-list {
  display: flex;
  align-items: center;
  gap: 10px 26px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}
.platforms-list li {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.platforms-list li span { color: var(--amber-500); }

/* ---------- Stats ---------- */
.stats {
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 34px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--amber-500);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-lbl {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 76px 0; }
.section--off { background: var(--off); }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-600);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber-500);
}
.section-head--center .section-eyebrow { justify-content: center; }
.section-head--center .section-eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber-500);
}
.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-title .accent { color: var(--blue-600); }
.section-desc {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 640px;
}
.section-head--center .section-desc { margin-inline: auto; }

/* ---------- Grid de pilares ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pillar {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.pillar:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #b9cff0;
}
.pillar:hover::before { transform: scaleX(1); }
.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--off-2);
  color: var(--blue-600);
  margin-bottom: 18px;
}
.pillar:nth-child(2) .pillar-icon { background: #e2f9fb; color: #0099a6; }
.pillar:nth-child(3) .pillar-icon { background: #fff3dd; color: #c47c00; }
.pillar:nth-child(4) .pillar-icon { background: #e7f8ed; color: #1a9b45; }
.pillar h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ---------- Control financiero (dark) ---------- */
.finance {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 700px 420px at 92% 8%, rgba(0, 194, 209, 0.18), transparent 60%),
    linear-gradient(150deg, var(--navy-800), var(--navy-700));
  color: #fff;
}
.finance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
}
.finance .section-eyebrow { color: var(--cyan-300); }
.finance .section-eyebrow::before { background: var(--cyan-500); }
.finance .section-title { color: #fff; }
.finance .section-title .accent { color: var(--amber-500); }
.finance-desc {
  color: rgba(255, 255, 255, 0.76);
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 520px;
}
.finance-points {
  display: grid;
  gap: 12px;
  list-style: none;
  margin-bottom: 30px;
}
.finance-points li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}
.finance-points .icon {
  width: 20px;
  height: 20px;
  color: var(--cyan-300);
  margin-top: 2px;
}

.dash {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 8px;
}
.dash-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-300);
}
.dash-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6ee7a0;
  font-size: 11.5px;
  font-weight: 600;
}
.dash-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.82); }
}
.dash-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dash-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.dash-label {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.dash-val {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.dash-right { text-align: right; min-width: 112px; }
.dash-bar {
  width: 112px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.13);
  overflow: hidden;
  margin-bottom: 6px;
  margin-left: auto;
}
.dash-bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan-500), var(--blue-500));
}
.dash-change { font-size: 11px; font-weight: 600; color: #6ee7a0; }
.dash-change.neutral { color: var(--cyan-300); }

/* ---------- Sistemas ---------- */
.systems {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.system {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 23px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}
.system::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.system:hover {
  transform: translateY(-5px);
  border-color: #b9cff0;
  box-shadow: var(--shadow-md);
}
.system:hover::after { transform: scaleX(1); }
.system-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.system-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--off-2);
  color: var(--blue-600);
}
.system:nth-child(2) .system-icon { background: #e2f9fb; color: #0099a6; }
.system:nth-child(3) .system-icon { background: #e7f8ed; color: #1a9b45; }
.system:nth-child(4) .system-icon { background: #fff3dd; color: #c47c00; }
.system:nth-child(5) .system-icon { background: #efe9ff; color: #6d4bd8; }
.system:nth-child(6) .system-icon { background: #ffe8ee; color: #d6336c; }
.system:nth-child(7) .system-icon { background: #e6f0ff; color: #1d6fe8; }
.system:nth-child(8) .system-icon { background: #eaf1fd; color: #315d9b; }
.system h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy-700);
  margin: 0;
}
.system p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
  flex: 1;
}
.system-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}
.system-link .icon { width: 15px; height: 15px; transition: transform 0.2s ease; }
.system:hover .system-link .icon { transform: translateX(3px); }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fff3dd;
  color: #9a6100;
  border: 1px solid #f4d9a6;
  white-space: nowrap;
}
.badge--new { background: #e7f8ed; color: #177c3c; border-color: #bfe9cd; }

/* ---------- Nosotros ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.about-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  background: linear-gradient(150deg, var(--blue-600), var(--navy-700));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.about-card::after {
  content: "2005";
  position: absolute;
  right: -18px;
  bottom: -38px;
  font-family: var(--font-display);
  font-size: 130px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.07);
  line-height: 1;
  pointer-events: none;
}
.about-card .big {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 54px);
  font-weight: 800;
  color: var(--amber-500);
  line-height: 1;
  margin-bottom: 12px;
}
.about-card p { color: rgba(255, 255, 255, 0.82); font-size: 14.5px; line-height: 1.75; max-width: 330px; }
.about-copy h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 16px; }
.about-copy p { color: var(--muted); font-size: 15.5px; line-height: 1.8; margin-bottom: 14px; }
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
  margin-top: 22px;
}
.about-tags li {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--off);
  border: 1px solid var(--border);
  color: var(--navy-700);
  font-size: 12.5px;
  font-weight: 600;
}
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: var(--blue-600);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.about-link .icon { width: 16px; height: 16px; transition: transform 0.2s ease; }
.about-link:hover .icon { transform: translateX(3px); }

/* ---------- Cómo funciona ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--amber-500);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ---------- Diagnóstico / checklist ---------- */
.diag-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}
.diag-grid p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 22px; }
.check-list { list-style: none; display: grid; gap: 11px; margin-bottom: 28px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--text); }
.check-list .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  color: #fff;
  stroke-width: 2.6;
}
.diag-panel {
  border-radius: var(--radius-lg);
  padding: 32px;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-700));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.diag-panel h3 {
  color: var(--cyan-300);
  font-size: 17px;
  margin-bottom: 20px;
}
.diag-items { display: grid; gap: 10px; }
.diag-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13.5px;
}
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot--g { background: #4ade80; }
.dot--o { background: var(--amber-500); }
.dot--c { background: var(--cyan-500); }

/* ---------- Precio / CTA de venta ---------- */
.offer {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 52px;
  background:
    radial-gradient(ellipse 520px 300px at 88% 0%, rgba(0, 194, 209, 0.2), transparent 65%),
    linear-gradient(150deg, var(--navy-900), var(--navy-700));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 40px;
  align-items: center;
}
.offer h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 14px; }
.offer h2 .accent { color: var(--amber-500); }
.offer p { color: rgba(255, 255, 255, 0.76); font-size: 15px; line-height: 1.75; max-width: 520px; }
.offer-price {
  text-align: center;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.offer-price .from {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.offer-price .amount {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  color: var(--amber-500);
  line-height: 1.1;
  margin: 6px 0 2px;
}
.offer-price .amount small { font-size: 16px; color: rgba(255, 255, 255, 0.65); font-weight: 500; }
.offer-price .note { color: rgba(255, 255, 255, 0.6); font-size: 12px; margin-bottom: 18px; }
.offer-price .btn { width: 100%; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--blue-600);
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { background: var(--off); }
.faq-body {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}
.contact-copy p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 24px; max-width: 460px; }
.contact-list { display: grid; gap: 12px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-item:hover {
  transform: translateX(4px);
  border-color: #b9cff0;
  box-shadow: var(--shadow-md);
}
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--off-2);
  color: var(--blue-600);
  flex: none;
}
.contact-item:nth-child(1) .contact-icon { background: #e7f8ed; color: #1a9b45; }
.contact-item:nth-child(3) .contact-icon { background: #fff3dd; color: #c47c00; }
.contact-info { flex: 1; min-width: 0; }
.contact-info strong { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 1px; }
.contact-info span { display: block; font-size: 12.5px; color: var(--muted); }
.contact-arrow { color: var(--blue-600); }
.contact-arrow .icon { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 0;
  border-top: 3px solid var(--amber-500);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 18px;
}
.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber-400);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.footer-contact .icon { width: 17px; height: 17px; }
.footer-contact:hover { color: #fff; }
.footer-col h4 {
  font-family: var(--font-display);
  color: var(--amber-500);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-col a:hover { color: var(--cyan-300); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom a { color: var(--amber-400); text-decoration: none; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- WhatsApp flotante ---------- */
.wa-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: var(--font-body);
}
.wa-bubble {
  width: min(310px, calc(100vw - 44px));
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 20px 56px rgba(5, 15, 36, 0.28);
  border: 1px solid var(--border);
  display: none;
  animation: waIn 0.24s ease;
}
.wa-bubble.open { display: block; }
@keyframes waIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.wa-bubble-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 11px;
  margin-bottom: 11px;
  border-bottom: 1px solid #eef2f9;
}
.wa-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-500), #ff8c00);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  flex: none;
}
.wa-bubble-head strong { display: block; font-size: 14px; color: var(--ink); }
.wa-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--green-500);
  font-weight: 600;
}
.wa-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
}
.wa-close {
  margin-left: auto;
  border: 0;
  background: none;
  color: #98a6c0;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.wa-close:hover { color: var(--ink); }
.wa-bubble p { color: #475569; font-size: 13px; line-height: 1.6; margin-bottom: 13px; }
.wa-bubble-actions { display: grid; gap: 8px; }
.wa-bubble-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}
.wa-bubble-actions .primary { background: #22c55e; color: #fff; }
.wa-bubble-actions .secondary { background: var(--off); color: var(--navy-700); }
.wa-fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  background: #22c55e;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.wa-fab:hover { transform: scale(1.06); box-shadow: 0 16px 38px rgba(34, 197, 94, 0.52); }
.wa-fab .icon { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.wa-dot {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--amber-500);
  border: 2px solid #fff;
  color: var(--navy-900);
  font-size: 9px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.wa-dot.hidden { display: none; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 62px;
  background:
    radial-gradient(ellipse 640px 420px at 85% 10%, rgba(0, 194, 209, 0.16), transparent 62%),
    linear-gradient(155deg, var(--navy-950), var(--navy-800));
  color: #fff;
}
.blog-hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.blog-hero h1 .accent { color: var(--amber-500); }
.blog-hero p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 30px;
}
.blog-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 430px;
}
.search-box .icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}
.search-box input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.search-box input::placeholder { color: rgba(255, 255, 255, 0.45); }
.search-box input:focus {
  border-color: var(--cyan-500);
  background: rgba(255, 255, 255, 0.12);
}
.blog-stats {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
  flex-wrap: wrap;
}
.blog-stats strong { color: var(--amber-400); }

.blog-main { padding: 56px 0 90px; }
.cat-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.cat-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.18s ease;
}
.cat-btn:hover { border-color: var(--blue-500); color: var(--blue-600); }
.cat-btn.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}
.cat-btn .count {
  margin-left: 5px;
  opacity: 0.55;
  font-size: 11px;
}

.featured {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
  margin-bottom: 26px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.featured:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.featured-visual {
  position: relative;
  min-height: 300px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(ellipse 420px 280px at 85% 12%, rgba(0, 194, 209, 0.2), transparent 62%),
    linear-gradient(150deg, var(--navy-900), var(--blue-600));
  color: #fff;
  overflow: hidden;
}
.featured-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 70%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse at 30% 70%, #000 10%, transparent 72%);
}
.featured-visual > * { position: relative; z-index: 1; }
.featured-visual .icon-big {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 64px;
  height: 64px;
  color: rgba(255, 255, 255, 0.22);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  z-index: 1;
}
.featured-tag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--amber-500);
  color: var(--navy-900);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.featured-visual h2 {
  color: #fff;
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.featured-body {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.post-cat {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--off-2);
  color: var(--blue-600);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.featured-body p { color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.featured-body .leer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.featured-body .leer .icon { width: 15px; height: 15px; transition: transform 0.2s ease; }
.featured:hover .featured-body .leer .icon { transform: translateX(3px); }

[hidden] { display: none !important; }
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 12px;
}
.post-meta .icon { width: 14px; height: 14px; }
.post-meta span { display: inline-flex; align-items: center; gap: 5px; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #b9cff0;
}
.post-card-top {
  position: relative;
  padding: 24px 22px 20px;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(145deg, var(--navy-900), var(--blue-600));
  overflow: hidden;
}
.post-card:nth-child(3n + 2) .post-card-top {
  background: linear-gradient(145deg, var(--navy-800), #0e7c8a);
}
.post-card:nth-child(3n + 3) .post-card-top {
  background: linear-gradient(145deg, #3a2a08, #a86c0a);
}
.post-card-top .icon-bg {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  color: rgba(255, 255, 255, 0.2);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.post-card-top h3 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.34;
}
.post-card-top .post-cat {
  position: relative;
  z-index: 1;
  background: var(--amber-500);
  color: var(--navy-900);
  margin-bottom: 10px;
}
.post-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.post-card-body .resumen {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.68;
  flex: 1;
}
.post-card-body .post-meta {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  justify-content: space-between;
}
.post-card-body .leer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue-600);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.post-card-body .leer .icon { width: 14px; height: 14px; transition: transform 0.2s ease; }
.post-card:hover .leer .icon { transform: translateX(3px); }

.empty {
  text-align: center;
  padding: 70px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--off);
}
.empty .icon { width: 42px; height: 42px; margin: 0 auto 14px; color: var(--muted-2); }
.empty h3 { font-size: 18px; margin-bottom: 6px; }

/* ---------- Artículo ---------- */
.article-view { padding: 44px 0 90px; }
.article-shell { max-width: 820px; margin-inline: auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 12.5px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--blue-600); text-decoration: none; font-weight: 600; }
.breadcrumb .icon { width: 13px; height: 13px; }
.article-head { margin-bottom: 30px; }
.article-head .post-cat { margin-bottom: 16px; }
.article-head h1 {
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.article-head h1:focus,
.article-head h1:focus-visible { outline: none; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .icon { width: 15px; height: 15px; color: var(--blue-600); }
.article-body {
  font-size: 16.5px;
  line-height: 1.85;
  color: #24344f;
}
.article-body p { margin-bottom: 20px; }
.article-body h2 {
  font-size: 25px;
  margin: 40px 0 14px;
  color: var(--navy-800);
}
.article-body h3 {
  font-size: 20px;
  margin: 32px 0 12px;
  color: var(--navy-800);
}
.article-body ul,
.article-body ol { margin: 0 0 20px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--blue-600); font-weight: 600; }
.article-body blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--amber-500);
  background: var(--off);
  border-radius: 0 10px 10px 0;
  color: var(--navy-700);
  font-style: italic;
}
.article-body img { border-radius: 12px; margin: 24px 0; }
.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-share strong { font-size: 13px; color: var(--ink); margin-right: 4px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
}
.share-btn:hover { border-color: var(--blue-500); color: var(--blue-600); background: var(--off); }
.share-btn .icon { width: 15px; height: 15px; }

.article-cta {
  margin-top: 42px;
  border-radius: var(--radius-lg);
  padding: 36px;
  background:
    radial-gradient(ellipse 460px 260px at 88% 0%, rgba(0, 194, 209, 0.2), transparent 65%),
    linear-gradient(150deg, var(--navy-900), var(--navy-700));
  color: #fff;
  text-align: center;
}
.article-cta h2 { color: #fff; font-size: 26px; margin-bottom: 10px; }
.article-cta p { color: rgba(255, 255, 255, 0.74); font-size: 14.5px; margin-bottom: 20px; }
.article-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--off);
}
.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-500), #ff8c00);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  flex: none;
}
.article-author strong { display: block; font-size: 14px; color: var(--ink); }
.article-author span { display: block; font-size: 12.5px; color: var(--muted); }

.related { margin-top: 56px; }
.related h2 { font-size: 24px; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #b9cff0;
}
.related-card .post-cat { align-self: flex-start; }
.related-card h3 { font-size: 14.5px; line-height: 1.4; }
.related-card span { color: var(--muted-2); font-size: 11.5px; }

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 1500;
  background: linear-gradient(90deg, var(--amber-500), var(--cyan-500));
  transition: width 0.1s linear;
}

.skeleton {
  background: linear-gradient(90deg, #eef3fb 25%, #f7faff 37%, #eef3fb 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: 8px;
}
@keyframes shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { gap: 38px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .systems { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-template-columns: 1fr; }
  .featured-visual { min-height: 240px; }
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 20px;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 14.5px; }
  .nav a::after { display: none; }
  .nav .nav-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 13px 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber-500), var(--amber-400));
    color: var(--navy-900);
    font-weight: 700;
    text-align: center;
  }
  .nav-toggle { display: inline-flex; }
  .header-wa span { display: none; }
  .header-actions .btn { display: none; }
  .hero-inner,
  .finance-grid,
  .about-grid,
  .diag-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 66px 74px; }
  .hero-media { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero-chip--tl { left: -8px; }
  .hero-chip--br { right: -8px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .container { width: calc(100% - 36px); }
  .btn { white-space: normal; text-align: center; }
  .offer-grid { grid-template-columns: minmax(0, 1fr); }
  .offer-price { padding: 24px 16px; }
  .topbar-points span:not(:first-child) { display: none; }
  .hero h1 { font-size: clamp(32px, 9vw, 42px); }
  .hero-sub { font-size: 15.5px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 8px 16px; }
  .hero-chip { display: none; }
  .section { padding: 68px 0; }
  .section--tight { padding: 56px 0; }
  .pillars,
  .systems,
  .posts-grid,
  .related-grid,
  .footer-top { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1),
  .stat:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .about-card { padding: 34px 28px; }
  .offer { padding: 34px 24px; }
  .offer-price .amount { font-size: 40px; }
  .article-body { font-size: 16px; }
  .article-cta { padding: 28px 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .wa-widget { right: 16px; bottom: 16px; }
  .brand-text { font-size: 17px; }
  .brand-logo { height: 38px; }
  .blog-hero { padding: 56px 0 46px; }
  .featured-body { padding: 26px 22px; }
  .featured-visual { padding: 26px 22px; min-height: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
