:root {
  --red: #ed1c24;
  --red-dark: #c81018;
  --ink: #101624;
  --muted: #667085;
  --line: #e8edf4;
  --soft: #f6f8fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(16, 22, 36, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(16, 22, 36, 0.04);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 176px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-main {
  font-size: 28px;
  line-height: 1;
}

.brand-main span {
  color: var(--red);
}

.brand-small {
  color: #9aa3b2;
  font-size: 10px;
  font-weight: 700;
  margin-top: 4px;
}

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  background: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 31px 0;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 270px;
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: 0.2s ease;
}

.dropdown a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  text-transform: none;
  font-size: 13px;
  line-height: 1.2;
}

.dropdown a:hover {
  color: var(--red);
  background: #fff3f4;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--red);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: var(--red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--red);
  border-radius: 7px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--white);
  color: var(--ink);
  border-color: #cfd6e2;
}

.btn-outline:hover {
  color: var(--red);
  background: var(--white);
  border-color: var(--red);
}

.whatsapp {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #14b858;
  background: var(--white);
  font-size: 22px;
}

.hero {
  padding: 54px 0 56px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 46px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.08;
  letter-spacing: 0;
}

.red {
  color: var(--red);
}

.lead {
  max-width: 570px;
  color: #495466;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.features-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 54px;
}

.mini-feature {
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.mini-feature i {
  display: block;
  color: var(--red);
  font-size: 25px;
  margin-bottom: 9px;
}

.hero-image {
  position: relative;
  margin-right: -64px;
}

.hero-image img {
  width: 100%;
  min-width: 620px;
  filter: drop-shadow(0 28px 45px rgba(16, 22, 36, 0.16));
}

section {
  padding: 68px 0;
}

.section-title {
  margin-bottom: 34px;
  text-align: center;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.18;
}

.goal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.card {
  min-height: 220px;
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(16, 22, 36, 0.06);
  text-align: center;
}

.card i {
  color: var(--red);
  font-size: 44px;
  margin-bottom: 18px;
}

.card h3 {
  margin-bottom: 13px;
  font-size: 16px;
}

.card p {
  color: #596579;
  font-size: 14px;
}

.caption {
  margin: 30px 0 0;
  text-align: center;
  font-size: 20px;
  font-weight: 900;
}

.process {
  background: #fbfcfe;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  align-items: center;
  gap: 44px;
}

.process h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.step {
  position: relative;
  text-align: center;
}

.step:not(:last-child)::after {
  content: "\f178";
  position: absolute;
  top: 28px;
  right: -18px;
  color: #8a94a6;
  font-family: FontAwesome;
}

.step-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  font-size: 31px;
  box-shadow: 0 12px 28px rgba(16, 22, 36, 0.07);
}

.step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.step p {
  color: #596579;
  font-size: 13px;
}

.results-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  gap: 18px;
}

.metric-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.metric {
  padding: 28px 14px;
  text-align: center;
}

.metric + .metric {
  border-left: 1px solid var(--line);
}

.metric i {
  color: var(--red);
  font-size: 28px;
  margin-bottom: 13px;
}

.metric strong {
  display: block;
  color: var(--red);
  font-size: 23px;
}

.metric span {
  font-size: 11px;
  font-weight: 800;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.case-card {
  min-height: 170px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(rgba(16, 22, 36, 0.4), rgba(16, 22, 36, 0.75)),
    radial-gradient(circle at 30% 20%, #6b7483, #111827 70%);
  box-shadow: var(--shadow);
}

.case-card:nth-child(1) {
  background-image:
    linear-gradient(rgba(16, 22, 36, 0.28), rgba(16, 22, 36, 0.82)),
    url("../images/caso-dentistas.jpg");
}

.case-card:nth-child(2) {
  background-image:
    linear-gradient(rgba(16, 22, 36, 0.28), rgba(16, 22, 36, 0.82)),
    url("../images/caso-abogados.jpg");
}

.case-card:nth-child(3) {
  background-image:
    linear-gradient(rgba(16, 22, 36, 0.28), rgba(16, 22, 36, 0.82)),
    url("../images/caso-taller-mecanico.jpg");
}

.case-card:nth-child(4) {
  background-image:
    linear-gradient(rgba(16, 22, 36, 0.28), rgba(16, 22, 36, 0.82)),
    url("../images/caso-inmobiliarias.jpg");
}

.case-card {
  background-position: center;
  background-size: cover;
}

.case-card h3 {
  margin-bottom: 12px;
  font-size: 15px;
}

.case-card strong {
  display: block;
  max-width: 100%;
  font-size: clamp(22px, 1.8vw, 27px);
  line-height: 1.08;
  overflow-wrap: break-word;
}

.case-card span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

@media (min-width: 1180px) and (max-width: 1380px) {
  .results-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .metric {
    padding-right: 10px;
    padding-left: 10px;
  }

  .metric strong {
    font-size: 20px;
  }
}

.case-card i {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
}

.project-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.project-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(16, 22, 36, 0.06);
  font-size: 13px;
  font-weight: 900;
}

.project-link i {
  color: var(--red);
}

.plans {
  background: #f7faff;
}

.plans-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.plans-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
}

.toggle {
  display: inline-flex;
  padding: 5px;
  border-radius: 9px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(16, 22, 36, 0.08);
}

.toggle span {
  padding: 9px 20px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
}

.toggle .selected {
  color: var(--white);
  background: var(--red);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(16, 22, 36, 0.08);
}

.price-card.featured {
  border-color: var(--red);
  transform: translateY(-10px);
}

.badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 20px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-size: 11px;
  font-weight: 900;
}

.price-card h3 {
  color: var(--red);
  font-size: 20px;
  text-transform: uppercase;
}

.price {
  margin: 18px 0;
  font-size: 34px;
  font-weight: 900;
}

.price small {
  font-size: 13px;
}

.billing {
  min-height: 48px;
  margin-bottom: 20px;
  color: #596579;
  font-size: 14px;
}

.billing strong {
  color: var(--ink);
}

.checks {
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  color: #475467;
  font-size: 14px;
}

.checks i {
  color: #29994f;
  margin-top: 3px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 30px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
}

.trust-item i {
  color: var(--red);
  font-size: 24px;
}

.footer {
  padding: 54px 0 24px;
  color: #d8e0ec;
  background: #07101f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 1.1fr 1.2fr;
  gap: 38px;
}

.footer .brand-main {
  color: var(--white);
}

.footer p,
.footer a {
  color: #b8c2d1;
  font-size: 14px;
}

.footer h3 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.socials {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  font-size: 20px;
}

.copyright {
  margin: 36px 0 0;
  color: #8995a6;
  text-align: center;
  font-size: 13px;
}

.page-main {
  background: #f7faff;
}

.page-hero {
  padding: 64px 0 34px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
}

.page-hero h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 56px);
}

.page-hero p {
  max-width: 680px;
  color: #596579;
  font-size: 17px;
}

.page-preview-section {
  padding: 34px 0 76px;
}

.preview-frame {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.preview-frame img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #edf1f6;
}

.page-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
}

.page-switcher .btn {
  min-width: 150px;
}

.service-page {
  background: var(--white);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb .current {
  color: var(--red);
}

.service-hero {
  padding: 48px 0 34px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 56px;
}

.service-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
}

.service-hero .lead {
  margin-bottom: 18px;
}

.hero-points {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  color: #475467;
  font-weight: 700;
}

.hero-points i,
.check-list i {
  color: var(--red);
}

.service-graphic {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-graphic img {
  width: 100%;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  padding: 24px 0;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 900;
}

.strip-item i {
  color: var(--red);
  font-size: 26px;
}

.service-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.service-steps.six {
  grid-template-columns: repeat(6, 1fr);
}

.service-step {
  position: relative;
  text-align: center;
}

.step-number {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -10px;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.service-step .step-icon {
  margin-top: 10px;
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 54px;
}

.check-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  color: #475467;
}

.stat-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.soft-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.soft-stat {
  padding: 18px;
  border-radius: 8px;
  background: #f8fbff;
}

.soft-stat strong {
  display: block;
  color: #12a66a;
  font-size: 28px;
}

.industry-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  text-align: center;
}

.industry-row i {
  display: block;
  color: var(--red);
  font-size: 30px;
  margin-bottom: 10px;
}

.social-platform-row {
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.social-platform-row > div {
  font-size: 18px;
  font-weight: 800;
}

.social-platform-row i {
  font-size: 52px;
}

.service-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border-radius: 8px;
  background: linear-gradient(90deg, #fff1f2 0%, #ffffff 100%);
}

.service-cta.dark {
  color: var(--white);
  background: #07101f;
}

.service-cta i {
  color: var(--red);
  font-size: 54px;
}

.service-cta h2 {
  margin-bottom: 4px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  transition: transform .2s ease;
}

.faq-item[open] summary i {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.vs {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 28px;
  font-weight: 900;
}

@media (max-width: 1050px) {
  .nav {
    min-height: 74px;
  }

  .hamburger {
    display: inline-flex;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle:checked ~ .nav-links,
  .menu-toggle:checked ~ .nav-actions {
    display: flex;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    order: 4;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .nav-links a {
    padding: 15px 0;
  }

  .nav-item {
    display: block;
  }

  .nav-item > a {
    width: 100%;
  }

  .dropdown {
    position: static;
    width: 100%;
    padding: 0 0 8px 14px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links a.active::after {
    bottom: 8px;
    right: auto;
    width: 42px;
  }

  .nav-actions {
    width: 100%;
    order: 5;
    justify-content: flex-start;
    padding-bottom: 18px;
  }

  .hero-grid,
  .process-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .features-row,
  .goal-grid,
  .trust-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .step::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .service-hero-grid,
  .two-col,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip,
  .service-steps,
  .service-steps.six,
  .industry-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand-main {
    font-size: 23px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .features-row,
  .goal-grid,
  .metric-panel,
  .case-grid,
  .pricing-grid,
  .trust-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-links {
    grid-template-columns: 1fr;
  }

  .feature-strip,
  .service-steps,
  .service-steps.six,
  .stat-card-grid,
  .industry-row {
    grid-template-columns: 1fr;
  }

  .hero-image {
    margin: 0 -14px;
    overflow: hidden;
  }

  .hero-image img {
    min-width: 0;
    width: 112%;
    max-width: none;
    transform: translateX(-6%);
  }

  .metric + .metric {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .plans-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-card.featured {
    transform: none;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .page-switcher {
    align-items: stretch;
    flex-direction: column;
  }

  section {
    padding: 50px 0;
  }
}

/* Blog */
.blog-index,
.article-page {
  background: #f7f9fc;
}

.blog-index-hero {
  padding: 72px 0 44px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 20%, rgba(237, 28, 36, 0.1), transparent 30%),
    linear-gradient(180deg, #fff, #f7f9fc);
}

.blog-index-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 68px);
}

.blog-index-hero p:last-child {
  max-width: 720px;
  color: #596579;
  font-size: 19px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(16, 22, 36, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(16, 22, 36, 0.12);
}

.blog-card-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 8.8;
  overflow: hidden;
  background: #eef2f7;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.025);
}

.blog-card-image span {
  position: absolute;
  top: 18px;
  left: 18px;
  min-width: 45px;
  padding: 9px 11px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.blog-card-body {
  padding: 28px;
}

.blog-card-body h2 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.2;
}

.blog-card-body h2 a {
  color: var(--ink);
}

.blog-card-body > p:not(.eyebrow) {
  color: #596579;
  line-height: 1.7;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.blog-card-meta a {
  color: var(--red);
}

.home-blog {
  border-top: 1px solid var(--line);
  background: #f7f9fc;
}

.home-blog-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.home-blog-head h2 {
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 42px);
}

.home-blog-head p:last-child {
  max-width: 690px;
  color: #596579;
}

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-blog-grid .blog-card-body {
  padding: 22px;
}

.home-blog-grid .blog-card-body h2 {
  font-size: 20px;
}

.home-blog-grid .blog-card-meta {
  align-items: flex-start;
  flex-direction: column;
}

.article-hero {
  padding: 52px 0 56px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 54px;
}

.article-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 5.5vw, 66px);
}

.article-dek {
  color: #4d596b;
  font-size: 19px;
  line-height: 1.65;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.article-hero-grid > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 26px 60px rgba(16, 22, 36, 0.15);
}

.article-layout {
  max-width: 900px;
  padding-top: 64px;
  padding-bottom: 20px;
}

.article-content {
  color: #354052;
  font-size: 18px;
  line-height: 1.86;
}

.article-lead {
  margin-bottom: 36px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.65;
}

.article-section {
  padding: 12px 0 24px;
}

.article-section h2,
.article-checklist h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 31px;
  line-height: 1.25;
}

.story-box {
  margin: 26px 0 42px;
  padding: 30px 34px;
  border-left: 5px solid var(--red);
  border-radius: 0 12px 12px 0;
  background: #fff;
  box-shadow: 0 16px 36px rgba(16, 22, 36, 0.07);
}

.story-box p:last-child {
  margin-bottom: 0;
}

.article-checklist {
  margin: 24px 0 34px;
  padding: 32px;
  border-radius: 14px;
  background: #07101f;
  color: #dbe4ef;
}

.article-checklist h2 {
  color: #fff;
}

.article-checklist ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-checklist li {
  display: flex;
  gap: 12px;
}

.article-checklist i {
  color: #35c979;
  margin-top: 7px;
}

.atp-blog-ad {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  margin: 42px 0;
  padding: 32px 36px;
  border: 1px solid rgba(237, 28, 36, 0.18);
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 10%, rgba(237, 28, 36, 0.16), transparent 35%),
    linear-gradient(135deg, #fff1f2, #fff);
  box-shadow: 0 18px 42px rgba(16, 22, 36, 0.08);
}

.atp-blog-ad h2 {
  margin: 5px 0 7px;
  color: var(--ink);
  font-size: 26px;
}

.atp-blog-ad p {
  margin-bottom: 0;
  color: #596579;
  font-size: 15px;
  line-height: 1.6;
}

.ad-kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
  padding-top: 26px;
  padding-bottom: 70px;
}

.article-nav > a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 110px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 22, 36, 0.06);
}

.article-nav > a:last-child {
  text-align: right;
}

.article-nav span {
  margin-bottom: 7px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-nav strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}

.article-nav .article-nav-index {
  align-items: center;
  min-width: 112px;
  color: var(--ink);
  text-align: center;
}

@media (max-width: 1050px) {
  .home-blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .article-hero-grid {
    grid-template-columns: 1fr;
  }

  .atp-blog-ad {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .blog-grid,
  .home-blog-grid {
    grid-template-columns: 1fr;
  }

  .home-blog-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-hero h1 {
    font-size: 40px;
  }

  .article-content {
    font-size: 17px;
  }

  .article-lead {
    font-size: 20px;
  }

  .story-box,
  .article-checklist,
  .atp-blog-ad {
    padding: 24px;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .article-nav > a:last-child {
    text-align: left;
  }
}
.checkout-page {
  min-height: 100vh;
  padding: 48px 0 80px;
  background: var(--soft);
}

.checkout-shell {
  max-width: 1080px;
}

.checkout-brand {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--ink);
}

.checkout-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.checkout-progress span {
  padding: 10px 12px;
  border-bottom: 2px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.checkout-progress .active {
  border-color: var(--red);
  color: var(--ink);
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}

.checkout-grid > section,
.checkout-summary,
.checkout-status {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.checkout-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.checkout-form label,
.checkout-form fieldset {
  display: grid;
  gap: 7px;
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 400;
}

.checkout-form fieldset,
.checkout-form .checkout-choice,
.checkout-form button {
  grid-column: 1 / -1;
}

.checkout-form fieldset {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.checkout-form .checkout-choice {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 9px;
  font-weight: 600;
}

.checkout-form .checkout-choice input {
  width: auto;
  min-height: 0;
  margin-top: 3px;
}

.checkout-sites-heading,
#atp-sites {
  grid-column: 1 / -1;
}

.checkout-sites-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.checkout-sites-heading small {
  color: var(--muted);
  font-weight: 500;
}

#atp-sites {
  display: grid;
  gap: 12px;
}

.checkout-form fieldset.checkout-site {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, .65fr);
  gap: 12px;
  background: #fafbfc;
}

.checkout-site legend {
  padding: 0 6px;
  color: var(--red);
  font-weight: 900;
}

.checkout-summary {
  position: sticky;
  top: 24px;
}

.checkout-summary ol {
  display: grid;
  gap: 12px;
  padding-left: 20px;
}

.checkout-alert {
  padding: 12px 14px;
  border-left: 3px solid var(--red);
  color: var(--ink);
  background: #fff3f4;
}

.checkout-status {
  max-width: 680px;
  margin: 60px auto;
  text-align: center;
}

@media (max-width: 760px) {
  .checkout-progress,
  .checkout-grid,
  .checkout-form {
    grid-template-columns: 1fr;
  }

  .checkout-progress span {
    padding: 7px 10px;
  }

  .checkout-summary {
    position: static;
  }

  .checkout-form fieldset.checkout-site {
    grid-template-columns: 1fr;
  }

  .checkout-sites-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
.demo-body {
  min-width: 320px;
  background: #f4f6fa;
}

.demo-topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.demo-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-badge {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--red);
  background: #fff0f2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.demo-close {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
}

.demo-app {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
}

.demo-menu-toggle {
  display: none;
}

.demo-sidebar {
  padding: 28px 18px;
  border-right: 1px solid var(--line);
  background: #111827;
  color: var(--white);
}

.demo-project-label,
.demo-domain {
  display: block;
  margin: 0 0 4px;
  color: #aeb8c7;
  font-size: 11px;
}

.demo-sidebar > strong {
  display: block;
  margin-bottom: 3px;
}

.demo-nav {
  display: grid;
  gap: 5px;
  margin: 28px 0;
}

.demo-nav button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 0;
  border-radius: 6px;
  color: #d8dee8;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.demo-nav button:hover,
.demo-nav button.active {
  color: var(--white);
  background: #273244;
}

.demo-nav button.active i {
  color: var(--red);
}

.demo-sidebar-note {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  padding: 12px;
  border: 1px solid #354154;
  border-radius: 7px;
  color: #bac4d2;
  font-size: 11px;
}

.demo-sidebar-note p {
  margin: 0;
}

.demo-main {
  position: relative;
  min-width: 0;
  padding: 34px;
}

.demo-view {
  display: none;
}

.demo-view.active {
  display: block;
}

.demo-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.demo-heading h1 {
  margin-bottom: 7px;
  font-size: clamp(27px, 3vw, 40px);
}

.demo-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.demo-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 13px 15px;
  border: 1px solid #f2ccd1;
  border-radius: 7px;
  color: #6b2830;
  background: #fff5f6;
  font-size: 13px;
}

.demo-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.demo-kpis article,
.demo-panel,
.demo-calendar article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(26, 35, 50, .05);
}

.demo-kpis span,
.demo-kpis small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.demo-kpis strong {
  display: block;
  margin: 8px 0 5px;
  color: var(--ink);
  font-size: 26px;
}

.demo-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 18px;
}

.demo-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.demo-panel-head h2 {
  margin: 0;
  font-size: 17px;
}

.demo-panel-head span,
.demo-panel-head button {
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 11px;
}

.demo-panel-head button {
  color: var(--red);
  font-weight: 800;
  cursor: pointer;
}

.demo-chart {
  height: 190px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 12px;
  padding: 18px 16px 0;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 45px, #edf0f4 46px);
}

.demo-chart span {
  min-height: 10px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #ff4050, var(--red));
}

.demo-axis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 8px 16px 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.demo-activity {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-activity li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
}

.demo-activity i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--red);
  background: #fff0f2;
}

.demo-activity strong,
.demo-activity small {
  display: block;
}

.demo-activity small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.demo-table-wrap {
  overflow-x: auto;
}

.demo-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 13px;
}

.demo-table th,
.demo-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.demo-table th {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.status {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.status.approved { color: #14653a; background: #e8f7ef; }
.status.review { color: #855b0b; background: #fff5d8; }
.status.draft { color: #536071; background: #eef1f5; }
.status.scheduled { color: #2d4b88; background: #eaf0ff; }

.demo-link-map {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}

.demo-link-map div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.demo-link-map strong,
.demo-link-map span {
  display: block;
}

.demo-link-map span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.demo-link-map > i {
  color: var(--red);
}

.demo-calendar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.demo-calendar article {
  min-height: 170px;
}

.demo-calendar article.today {
  border-color: var(--red);
}

.demo-calendar span,
.demo-calendar strong,
.demo-calendar small {
  display: block;
}

.demo-calendar span {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
}

.demo-calendar strong {
  margin: 30px 0 8px;
}

.demo-calendar small {
  color: var(--muted);
}

.demo-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  max-width: 380px;
  padding: 14px 16px;
  border-radius: 7px;
  color: var(--white);
  background: #111827;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: .2s ease;
}

.demo-toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .demo-app { display: block; }
  .demo-menu-toggle {
    position: fixed;
    left: 14px;
    bottom: 18px;
    z-index: 90;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--red);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    font-size: 20px;
    cursor: pointer;
  }
  .demo-sidebar {
    position: fixed;
    top: 72px;
    bottom: 0;
    left: 0;
    z-index: 80;
    width: min(300px, 86vw);
    overflow-y: auto;
    border-right: 1px solid #354154;
    transform: translateX(-100%);
    transition: transform .25s ease;
    box-shadow: 12px 0 30px rgba(0,0,0,.2);
  }
  .demo-sidebar.open { transform: translateX(0); }
  .demo-nav { grid-template-columns: 1fr; }
  .demo-sidebar-note { display: none; }
  .demo-kpis { grid-template-columns: repeat(2, 1fr); }
  .demo-two-col { grid-template-columns: 1fr; }
  .demo-calendar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .demo-topbar { padding: 10px 14px; }
  .demo-badge, .demo-top-actions .btn { display: none; }
  .demo-main { padding: 22px 14px; }
  .demo-nav { grid-template-columns: 1fr; }
  .demo-heading { display: grid; }
  .demo-kpis, .demo-calendar { grid-template-columns: 1fr; }
  .demo-link-map { grid-template-columns: 1fr; }
  .demo-link-map > i { transform: rotate(90deg); justify-self: center; }
}

.demo-calendar-toolbar { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; padding:10px 12px; border:1px solid var(--line); border-radius:9px; background:var(--white); }
.demo-calendar-toolbar button, .demo-heading-actions button { padding:9px 12px; border:1px solid var(--line); border-radius:7px; background:#fff; color:var(--ink); font-weight:800; cursor:pointer; }
.demo-month { display:grid; grid-template-columns:repeat(7,minmax(90px,1fr)); overflow:auto; border:1px solid var(--line); border-radius:9px; background:#fff; }
.demo-month > b { padding:10px; text-align:center; color:var(--muted); background:#f5f7fa; font-size:11px; text-transform:uppercase; }
.demo-month > button, .demo-month > span { min-height:92px; padding:8px; border:0; border-top:1px solid var(--line); border-right:1px solid var(--line); background:#fff; text-align:left; }
.demo-month > button { cursor:pointer; }.demo-month > button:hover{background:#fff8f8}.demo-month .empty{background:#f7f8fa}.demo-month .today{box-shadow:inset 0 0 0 2px var(--red)}
.demo-month em { display:block; margin-bottom:7px; color:var(--ink); font-style:normal; font-weight:900; }
.demo-month small { display:block; margin:3px 0; padding:4px 5px; border-radius:4px; font-size:9px; font-weight:800; white-space:nowrap; }.demo-month .seo{color:#174ea6;background:#e8f0fe}.demo-month .ad{color:#8b245b;background:#fce8f3}.demo-month .map{color:#17633a;background:#e7f5ec}
.demo-schedule { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(290px,.75fr); gap:16px; margin-top:18px; }.demo-schedule-main,.demo-preview{padding:20px;border:1px solid var(--line);border-radius:9px;background:#fff}.demo-schedule h3{margin:18px 0 10px;font-size:14px}.demo-form-row,.demo-selects{display:grid;grid-template-columns:1fr 1fr;gap:12px}.demo-schedule label{display:grid;gap:6px;color:var(--ink);font-size:11px;font-weight:800}.demo-schedule input,.demo-schedule select,.demo-sitemap-search input{width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;background:#f8f9fb}.demo-channel{display:grid;grid-template-columns:56px 1fr 28px 25px;align-items:center;gap:10px;padding:12px 0;border-top:1px solid var(--line)}.demo-channel span{color:var(--red);font-size:19px}.demo-channel span i{margin-right:6px}.demo-channel small,.demo-channel strong{display:block}.demo-channel small{margin-top:3px;color:var(--muted)}.demo-channel>i{color:#21a366;font-size:24px}.demo-preview-tabs{display:flex;gap:8px;margin-bottom:10px}.demo-preview-tabs i{width:36px;height:32px;display:grid;place-items:center;border-radius:5px;color:#fff;background:#273448}.demo-post{overflow:hidden;border:1px solid var(--line);border-radius:7px}.demo-post>div:first-child,.demo-post p{padding:10px;margin:0}.demo-post small,.demo-post b{display:block}.demo-post small{color:var(--muted)}.demo-post-image{height:130px;display:grid;place-items:center;color:#a3adba;background:linear-gradient(135deg,#eef1f5,#dfe5eb);font-size:38px}.demo-preview ul{padding:0;list-style:none}.demo-preview li{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--line);font-size:11px}.demo-preview li span{color:var(--muted)}
.demo-heading-actions{display:flex;flex-wrap:wrap;gap:8px}.demo-sitemap-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.demo-sitemap-metrics article{display:flex;align-items:center;gap:13px;padding:16px;border:1px solid var(--line);border-radius:9px;background:#fff}.demo-sitemap-metrics i{width:40px;height:40px;display:grid;place-items:center;border-radius:9px;color:var(--red);background:#fff0f2}.demo-sitemap-metrics b,.demo-sitemap-metrics small{display:block}.demo-sitemap-metrics b{font-size:21px}.demo-sitemap-metrics small{color:var(--muted)}.demo-sitemap-shell{padding:18px;border:1px solid var(--line);border-radius:9px;background:#fff}.demo-sitemap-search{display:grid;grid-template-columns:20px 1fr auto;align-items:center;gap:8px;margin-bottom:14px}.demo-sitemap-search span{padding:6px 8px;border-radius:99px;color:#855b0b;background:#fff5d8;font-size:10px;font-weight:900}.demo-sitemap-list{display:grid;gap:8px}.demo-sitemap-list article{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:12px;padding:13px;border:1px solid var(--line);border-radius:7px}.demo-sitemap-list article>i{color:var(--red)}.demo-sitemap-list strong,.demo-sitemap-list small{display:block;overflow-wrap:anywhere}.demo-sitemap-list small{margin-top:3px;color:var(--muted)}.demo-sitemap-list .is-disabled{opacity:.55;background:#f6f7f9}.demo-switch input{display:none}.demo-switch span{width:42px;height:23px;display:block;position:relative;border-radius:99px;background:#cbd2dc}.demo-switch span:after{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff;transition:.2s}.demo-switch input:checked+span{background:#21a366}.demo-switch input:checked+span:after{left:22px}
@media(max-width:980px){.demo-schedule{grid-template-columns:1fr}.demo-month{grid-template-columns:repeat(7,minmax(78px,1fr))}}
@media(max-width:620px){.demo-form-row,.demo-selects,.demo-sitemap-metrics{grid-template-columns:1fr}.demo-heading-actions{display:grid}.demo-month{grid-template-columns:repeat(7,minmax(72px,1fr))}.demo-sitemap-search{grid-template-columns:20px 1fr}.demo-sitemap-search span{grid-column:2}.demo-sitemap-list article{grid-template-columns:26px 1fr auto}}

.demo-modal{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(8,15,28,.72);backdrop-filter:blur(3px)}.demo-modal.open{display:flex}.demo-modal-box{position:relative;width:min(720px,100%);max-height:92vh;overflow:auto;padding:24px;border-radius:13px;background:#f4f6f9;box-shadow:0 26px 70px rgba(0,0,0,.28)}.demo-modal-wide{width:min(1120px,100%)}.demo-modal-close{position:absolute;top:12px;right:14px;z-index:2;width:34px;height:34px;border:0;border-radius:50%;color:#253044;background:#e5e9ef;font-size:23px;cursor:pointer}.demo-modal-title{display:flex;align-items:center;gap:13px;padding-right:38px}.demo-modal-title>i{width:46px;height:46px;display:grid;place-items:center;border-radius:11px;color:#fff;background:var(--red)}.demo-modal-title h2,.demo-modal-title p{margin:0}.demo-modal-title p{margin-top:4px;color:var(--muted)}.demo-auto-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.demo-auto-modes label{display:grid;gap:4px;padding:15px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}.demo-auto-modes label.selected{border-color:var(--red);box-shadow:inset 0 0 0 1px var(--red)}.demo-auto-modes small{color:var(--muted)}.demo-auto-channels{display:grid;gap:8px}.demo-auto-channels label{display:flex;align-items:center;justify-content:space-between;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fff;font-weight:800}.demo-auto-channels i{margin-right:6px;color:var(--red)}.demo-modal-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.demo-modal-footer button{padding:10px 14px;border:1px solid var(--line);border-radius:7px;background:#fff;font-weight:800;cursor:pointer}body.demo-modal-open{overflow:hidden}
.demo-library-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:15px}.demo-library-metrics.ads{grid-template-columns:repeat(4,1fr)}.demo-library-metrics article{display:flex;align-items:center;gap:13px;padding:16px;border:1px solid var(--line);border-radius:9px;background:#fff}.demo-library-metrics article>i{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;color:var(--red);background:#fff0f2}.demo-library-metrics span,.demo-library-metrics strong{display:block}.demo-library-metrics span{color:var(--muted);font-size:11px}.demo-library-metrics strong{margin-top:3px;font-size:21px}.demo-library-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:18px}.demo-library-controls article{padding:18px;border:1px solid var(--line);border-radius:9px;background:#fff}.demo-library-controls h3{margin:0 0 12px;font-size:14px}.demo-library-controls h3 i{margin-right:7px;color:var(--red)}.demo-library-controls button{margin-top:10px;padding:9px 12px;border:0;border-radius:6px;color:#fff;background:#283448;font-weight:800;cursor:pointer}.demo-file{display:flex;align-items:center;gap:10px;padding:14px;border:1px dashed #b9c1cc;border-radius:7px;color:var(--muted);background:#f8f9fb}.demo-library-controls textarea{width:100%;min-height:62px;padding:10px;border:1px solid var(--line);border-radius:7px;resize:vertical}.demo-library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:19px 0 12px}.demo-library-toolbar h2{margin:0;font-size:17px}.demo-library-toolbar input{min-width:260px;padding:10px;border:1px solid var(--line);border-radius:7px}.demo-gallery article{padding:0;overflow:hidden;background:#fff}.demo-thumb{position:relative;min-height:145px;display:grid;place-items:center;color:#aab2bd;background:linear-gradient(145deg,#e8edf2,#ced6df);font-size:39px}.demo-thumb span,.demo-ad-image span{position:absolute;top:10px;left:10px;padding:5px 7px;border-radius:5px;color:#fff;background:#243147;font-size:9px;font-weight:900}.thumb-two{background:linear-gradient(145deg,#f2e9e4,#d8c8bd)}.thumb-three{background:linear-gradient(145deg,#e8edf5,#bac8dd)}.thumb-four{background:linear-gradient(145deg,#eee9f3,#d3c7df)}.demo-gallery article>strong,.demo-gallery article>small{padding:0 13px}.demo-gallery article>strong{margin-top:12px}.demo-gallery article>small{margin-bottom:13px}.demo-ads-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.demo-ads-grid article{padding:14px;border:1px solid var(--line);border-radius:9px;background:#fff}.demo-ad-image{position:relative;height:165px;display:grid;place-items:center;margin:-14px -14px 13px;border-radius:9px 9px 0 0;color:#abb4c0;background:linear-gradient(145deg,#e9edf2,#cdd5df);font-size:40px}.demo-ad-image.ad-two{background:linear-gradient(145deg,#f0e7e3,#d5c2b8)}.demo-ad-image.ad-three{background:linear-gradient(145deg,#e8ebf1,#c5ccd8)}.demo-ad-image span.high{background:#d5273f}.demo-ad-image span.paused{background:#727b89}.demo-ads-grid article>strong{display:block;margin-bottom:12px}.demo-ads-grid label{display:grid;gap:5px;margin-top:10px;font-size:11px;font-weight:800}.demo-ads-grid textarea,.demo-ads-grid select{width:100%;padding:9px;border:1px solid var(--line);border-radius:6px;background:#f8f9fb}.demo-ads-grid textarea{min-height:72px;resize:vertical}.demo-save-footer{display:flex;justify-content:flex-end;margin-top:16px}
@media(max-width:980px){.demo-library-metrics.ads{grid-template-columns:repeat(2,1fr)}.demo-ads-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.demo-modal{padding:8px}.demo-modal-box{padding:18px 12px}.demo-auto-modes,.demo-library-metrics,.demo-library-metrics.ads,.demo-library-controls,.demo-ads-grid{grid-template-columns:1fr}.demo-library-toolbar{align-items:stretch;flex-direction:column}.demo-library-toolbar input{min-width:0;width:100%}}
.demo-report-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.demo-report-metrics article{display:flex;align-items:center;gap:13px;padding:16px;border:1px solid var(--line);border-radius:9px;background:#fff}.demo-report-metrics i{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;color:var(--red);background:#fff0f2}.demo-report-metrics span,.demo-report-metrics strong{display:block}.demo-report-metrics span{color:var(--muted);font-size:11px}.demo-report-metrics strong{margin-top:3px;font-size:21px}.demo-report-panel{margin-bottom:16px;padding:18px;border:1px solid var(--line);border-radius:9px;background:#fff}.demo-report-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.demo-report-flow article{display:grid;gap:6px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#f8f9fb}.demo-report-flow i{color:var(--red);font-size:19px}.demo-report-flow span{color:var(--muted);font-size:10px;line-height:1.5}.demo-keyword-toolbar{display:flex;justify-content:space-between;gap:12px;margin:15px 0}.demo-keyword-toolbar input{flex:1;padding:10px;border:1px solid var(--line);border-radius:7px}.demo-keyword-toolbar button:disabled{cursor:not-allowed;opacity:.6}.demo-keyword-pill,.demo-position{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border-radius:99px;color:#506071;background:#eef1f5;font-size:10px;font-weight:900}.demo-position{color:#8a5a05;background:#fff1cb}.demo-position.top{color:#14653a;background:#e8f7ef}.demo-position.empty{color:#616b79;background:#edf0f4}.demo-config-grid .demo-report-config{grid-column:span 3}.demo-report-config select{width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;color:var(--muted);background:#f7f8fa}.demo-config-grid label.demo-check{display:flex;grid-template-columns:auto 1fr;align-items:center}.demo-check input{width:auto}
@media(max-width:980px){.demo-report-metrics,.demo-report-flow{grid-template-columns:repeat(2,1fr)}.demo-config-grid .demo-report-config{grid-column:span 2}}@media(max-width:620px){.demo-report-metrics,.demo-report-flow{grid-template-columns:1fr}.demo-keyword-toolbar{flex-direction:column}.demo-config-grid .demo-report-config{grid-column:span 1}}
.demo-dashboard-report{margin:18px 0;padding:18px;border:1px solid var(--line);border-radius:9px;background:#fff}.demo-dashboard-report-grid,.demo-operation-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.demo-dashboard-report-grid>div,.demo-operation-grid>div{display:grid;gap:4px;padding:13px;border:1px solid var(--line);border-radius:8px;background:#f8f9fb}.demo-dashboard-report-grid i,.demo-operation-grid i{color:var(--red)}.demo-dashboard-report-grid strong,.demo-operation-grid strong{font-size:18px}.demo-dashboard-report-grid span,.demo-operation-grid span{color:var(--muted);font-size:10px}.demo-dashboard-report>p{color:var(--muted);line-height:1.6}.demo-dashboard-report-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.demo-dashboard-report-actions button{padding:10px 13px;border:0;border-radius:7px;color:#fff;background:var(--red);font-weight:900;cursor:pointer}.demo-dashboard-report-actions span{color:var(--muted);font-size:11px}.demo-operations{margin-top:18px}.demo-next-run{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--line);border-radius:8px;background:#f8f9fb}.demo-next-run>i{font-size:24px;color:var(--red)}.demo-next-run strong,.demo-next-run span{display:block}.demo-next-run span{margin-top:4px;color:var(--muted);font-size:11px}
@media(max-width:620px){.demo-dashboard-report-grid,.demo-operation-grid{grid-template-columns:repeat(2,1fr)}.demo-dashboard-report-actions{align-items:flex-start;flex-direction:column}}
/* Mantiene visibles las acciones del modal de programación automática. */
.demo-modal-footer{position:sticky;bottom:-24px;z-index:3;margin:20px -24px -24px;padding:16px 24px;border-radius:0 0 13px 13px;background:#f4f6f9;box-shadow:0 -8px 18px rgba(20,30,45,.06)}
.demo-modal-footer .btn{border-color:var(--red);color:#fff;background:var(--red)}
.demo-modal-footer .btn:hover{border-color:#d70d21;color:#fff;background:#d70d21}
@media(max-width:620px){.demo-modal-footer{bottom:-18px;margin:18px -12px -18px;padding:13px 12px}}
.demo-promo-section{padding:24px 0;background:#f7f8fb}.demo-promo-banner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;padding:24px 28px;border:1px solid #ffd2d8;border-radius:14px;background:linear-gradient(110deg,#fff 0%,#fff5f6 62%,#ffe9ec 100%);box-shadow:0 14px 34px rgba(24,33,48,.08)}.demo-promo-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:15px;color:#fff;background:var(--red);font-size:28px;box-shadow:0 9px 20px rgba(240,17,43,.24)}.demo-promo-banner .eyebrow{margin:0 0 4px}.demo-promo-banner h2{margin:0 0 5px;font-size:24px}.demo-promo-banner p:last-child{margin:0;color:var(--muted)}.demo-promo-banner .btn{white-space:nowrap}
@media(max-width:760px){.demo-promo-banner{grid-template-columns:auto 1fr}.demo-promo-banner .btn{grid-column:1/-1;justify-self:stretch;text-align:center}.demo-promo-banner h2{font-size:20px}}@media(max-width:480px){.demo-promo-banner{grid-template-columns:1fr;padding:21px}.demo-promo-icon{width:50px;height:50px}}
.demo-real-logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 0 10px 28px;
  font-size: 25px;
  font-weight: 900;
}

.demo-real-logo b { color: var(--white); }
.demo-real-logo > span { color: var(--red); }
.demo-real-logo small { margin-left: 4px; color: #aeb8c7; font-size: 10px; }

.demo-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 10px 0;
  border-top: 1px solid #354154;
}

.demo-user > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.demo-user strong,
.demo-user small { display: block; }
.demo-user small { color: #aeb8c7; font-size: 10px; }

.demo-date {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.demo-kpis-real {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.demo-kpis-real article {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  column-gap: 12px;
}

.demo-kpis-real article > i {
  width: 42px;
  height: 42px;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--red);
  background: #fff0f2;
}

.demo-kpis-real strong { margin: 2px 0 0; }

.demo-social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.demo-social-card > i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  font-size: 22px;
}

.demo-social-card.facebook > i { background: #1877f2; }
.demo-social-card.instagram > i { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.demo-social-card strong,
.demo-social-card small { display: block; }
.demo-social-card small { margin-top: 3px; color: var(--muted); }

.demo-info-list { margin-top: 15px; }
.demo-info-list p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.demo-info-list span { color: var(--muted); }

.demo-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.demo-gallery article {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: linear-gradient(145deg, #f9fafc, #e6eaf0);
}

.demo-gallery i { margin: auto; color: #9ba6b5; font-size: 42px; }
.demo-gallery strong,
.demo-gallery small { display: block; }
.demo-gallery small { margin-top: 5px; color: var(--muted); }

.demo-engine {
  display: grid;
  gap: 12px;
}

.demo-engine article {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
}

.demo-engine article > i { color: var(--red); font-size: 22px; text-align: center; }
.demo-engine strong,
.demo-engine small { display: block; }
.demo-engine small { margin-top: 4px; color: var(--muted); }
.engine-on,
.engine-off { padding: 6px 9px; border-radius: 999px; font-size: 10px; font-weight: 900; }
.engine-on { color: #14653a; background: #e8f7ef; }
.engine-off { color: #855b0b; background: #fff5d8; }

.demo-config-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.demo-config-grid h2 { margin-bottom: 16px; font-size: 17px; }
.demo-config-grid label { display: grid; gap: 6px; margin-top: 12px; color: var(--ink); font-size: 11px; font-weight: 800; }
.demo-config-grid input { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: #f7f8fa; }

@media (max-width: 980px) {
  .demo-kpis-real,
  .demo-gallery,
  .demo-config-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .demo-kpis-real,
  .demo-gallery,
  .demo-config-grid { grid-template-columns: 1fr; }
  .demo-engine article { grid-template-columns: 36px 1fr; }
  .demo-engine article > span { grid-column: 2; justify-self: start; }
}
