﻿@charset "UTF-8";
/* ==========================================================================
   SMI Integrados - hoja de estilos común
   Cada plantilla de página se activa con una clase en <html> (p. ej. <html class="tpl-site">).
   Las reglas usan :where(.clase), que no añade especificidad, para que la
   cascada de cada página sea exactamente la misma que con los <style> embebidos.
   ========================================================================== */


/* --------------------------------------------------------------------------
   Plantilla páginas SEO (software-sat, crm-whatsapp, gestion-tecnicos, software-instaladoras, automatizacion-ia, software-mantenimiento)  ·  .tpl-landing
   -------------------------------------------------------------------------- */
html:where(.tpl-landing),
:where(.tpl-landing) * {
  box-sizing: border-box;
}
:where(.tpl-landing) body {
  margin: 0;
  font-family: Arial,Helvetica,sans-serif;
  color: #0b213e;
  background: #f5f9fe;
}
:where(.tpl-landing) .wrap {
  max-width: 1180px;
  margin: auto;
  padding: 0 24px;
}
:where(.tpl-landing) header {
  height: 78px;
  background: #fff;
  border-bottom: 1px solid #e5edf6;
  display: flex;
  align-items: center;
}
:where(.tpl-landing) nav {
  display: flex;
  align-items: center;
  gap: 25px;
  width: 100%;
}
:where(.tpl-landing) .brand {
  font-size: 22px;
  font-weight: 900;
  color: #0b213e;
  text-decoration: none;
  margin-right: auto;
}
:where(.tpl-landing) nav a {
  color: #304c70;
  text-decoration: none;
  font-size: 14px;
}
:where(.tpl-landing) .demo {
  background: #147df5;
  color: #fff !important;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
}
:where(.tpl-landing) .hero {
  padding: 85px 0 55px;
  text-align: center;
  background: radial-gradient(circle at 80% 10%,#dff4ff 0,transparent 30%);
}
:where(.tpl-landing) .badge {
  display: inline-block;
  padding: 9px 15px;
  border: 1px solid #c9e0fb;
  border-radius: 30px;
  background: #edf6ff;
  color: #075db8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
}
:where(.tpl-landing) h1 {
  max-width: 880px;
  margin: 20px auto 18px;
  font-size: 52px;
  line-height: 1.04;
  letter-spacing: -2px;
}
:where(.tpl-landing) .lead {
  max-width: 780px;
  margin: auto;
  color: #4c6686;
  font-size: 19px;
  line-height: 1.65;
}
:where(.tpl-landing) .actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
:where(.tpl-landing) .btn {
  display: inline-block;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #d5e2f0;
  color: #173654;
  background: #fff;
}
:where(.tpl-landing) .btn.primary {
  background: #147df5;
  color: white;
  border-color: #147df5;
}
:where(.tpl-landing) .section {
  padding: 65px 0;
}
:where(.tpl-landing) .section-title {
  text-align: center;
  font-size: 34px;
  margin: 0 0 10px;
}
:where(.tpl-landing) .section-sub {
  text-align: center;
  color: #617997;
  margin: 0 0 34px;
}
:where(.tpl-landing) .grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
:where(.tpl-landing) .card {
  background: #fff;
  border: 1px solid #dce8f4;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 12px 35px rgba(35,78,120,.06);
}
:where(.tpl-landing) .card h2 {
  font-size: 19px;
  margin: 12px 0 8px;
}
:where(.tpl-landing) .card p {
  color: #5a718e;
  line-height: 1.55;
  margin: 0;
}
:where(.tpl-landing) .dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1eb980;
}
:where(.tpl-landing) .bottom {
  background: #0b213e;
  color: #fff;
  border-radius: 24px;
  padding: 38px;
  text-align: center;
  margin-bottom: 65px;
}
:where(.tpl-landing) .bottom h2 {
  font-size: 30px;
  margin: 0 0 10px;
}
:where(.tpl-landing) .bottom p {
  color: #c9d7e7;
  margin: 0 0 22px;
}
:where(.tpl-landing) footer {
  padding: 30px 0;
  border-top: 1px solid #dce8f4;
  color: #657b94;
  font-size: 13px;
}
@media (max-width:800px) {
  :where(.tpl-landing) h1 {
    font-size: 39px;
  }
  :where(.tpl-landing) .grid {
    grid-template-columns: 1fr;
  }
  :where(.tpl-landing) nav a:not(.brand):not(.demo) {
    display: none;
  }
  :where(.tpl-landing) .hero {
    padding-top: 55px;
  }
}

/* --------------------------------------------------------------------------
   Plantilla sitio (condiciones, privacidad, verifactu, contacto)  ·  .tpl-site
   -------------------------------------------------------------------------- */
:root:where(.tpl-site) {
  --navy: #07172b;
  --blue: #1769ff;
  --cyan: #29c7f3;
  --ink: #10213a;
  --muted: #607087;
  --soft: #f4f8fc;
  --line: #dfe8f1;
  --white: #fff;
  --green: #19a66b;
  --shadow: 0 20px 55px rgba(15,45,78,.12);
  --radius: 24px;
  --max: 1180px;
}
html:where(.tpl-site),
:where(.tpl-site) * {
  box-sizing: border-box;
}
html:where(.tpl-site) {
  scroll-behavior: smooth;
}
:where(.tpl-site) body {
  margin: 0;
  font-family: Inter,Arial,Helvetica,sans-serif;
  color: var(--ink);
  background: #fff;
}
:where(.tpl-site) a {
  color: inherit;
}
:where(.tpl-site) .container {
  width: min(var(--max),calc(100% - 36px));
  margin: auto;
}
:where(.tpl-site) header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223,232,241,.9);
}
:where(.tpl-site) .nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
:where(.tpl-site) .brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
}
:where(.tpl-site) .brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
:where(.tpl-site) .brand span {
  font-size: 18px;
}
:where(.tpl-site) .brand small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}
:where(.tpl-site) .menu {
  display: flex;
  gap: 24px;
  align-items: center;
}
:where(.tpl-site) .menu a {
  text-decoration: none;
  color: #40516a;
  font-size: 14px;
  font-weight: 700;
}
:where(.tpl-site) .menu a:hover,
:where(.tpl-site) .menu a.active {
  color: var(--blue);
}
:where(.tpl-site) .btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 21px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: .2s;
  font: inherit;
}
:where(.tpl-site) .btn:hover {
  transform: translateY(-2px);
}
:where(.tpl-site) .btn-primary {
  background: linear-gradient(135deg,var(--blue),#128edc);
  color: #fff;
  box-shadow: 0 12px 28px rgba(23,105,255,.22);
}
:where(.tpl-site) .btn-light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
:where(.tpl-site) .page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg,#f7fbff 0,#edf6ff 50%,#f8fcff 100%);
  padding: 70px 0 62px;
}
:where(.tpl-site) .page-hero:before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(41,199,243,.13);
  right: -170px;
  top: -260px;
}
:where(.tpl-site) .hero-inner {
  position: relative;
  max-width: 850px;
}
:where(.tpl-site) .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e7f2ff;
  border: 1px solid #cfe4ff;
  color: #1053a4;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 800;
}
:where(.tpl-site) .pill b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
:where(.tpl-site) .page-hero h1 {
  font-size: clamp(40px,5.4vw,64px);
  line-height: 1.04;
  letter-spacing: -.045em;
  margin: 17px 0 18px;
}
:where(.tpl-site) .page-hero h1 span {
  color: var(--blue);
}
:where(.tpl-site) .page-hero p {
  font-size: 19px;
  line-height: 1.7;
  color: #52657e;
  max-width: 760px;
  margin: 0;
}
:where(.tpl-site) .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
:where(.tpl-site) section {
  padding: 78px 0;
}
:where(.tpl-site) .soft {
  background: var(--soft);
}
:where(.tpl-site) .eyebrow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
}
:where(.tpl-site) .section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}
:where(.tpl-site) .section-head h2,
:where(.tpl-site) .copy h2 {
  font-size: clamp(31px,4vw,47px);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 10px 0 15px;
}
:where(.tpl-site) .section-head p,
:where(.tpl-site) .copy p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}
:where(.tpl-site) .cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}
:where(.tpl-site) .card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 25px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(22,61,98,.06);
}
:where(.tpl-site) .card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eaf4ff;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 17px;
}
:where(.tpl-site) .card h3 {
  margin: 0 0 9px;
  font-size: 20px;
}
:where(.tpl-site) .card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
  font-size: 15px;
}
:where(.tpl-site) .split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 38px;
  align-items: start;
}
:where(.tpl-site) .panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  padding: 30px;
  box-shadow: var(--shadow);
}
:where(.tpl-site) .panel h2,
:where(.tpl-site) .panel h3 {
  margin-top: 0;
}
:where(.tpl-site) .form-grid {
  display: grid;
  gap: 14px;
}
:where(.tpl-site) .form-grid label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #40516a;
}
:where(.tpl-site) .form-grid input,
:where(.tpl-site) .form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px 14px;
  font: inherit;
  margin-top: 7px;
  background: #fff;
}
:where(.tpl-site) .form-grid textarea {
  min-height: 125px;
  resize: vertical;
}
:where(.tpl-site) .interest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
:where(.tpl-site) .interest {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px 13px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: #40516a;
  background: #fbfdff;
}
:where(.tpl-site) .interest input {
  width: auto;
  margin: 2px 0 0;
}
:where(.tpl-site) .contact-mail {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
}
:where(.tpl-site) .contact-mail img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
:where(.tpl-site) .contact-mail strong {
  display: block;
}
:where(.tpl-site) .contact-mail span {
  font-size: 14px;
  color: var(--muted);
}
:where(.tpl-site) .legal-wrap {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 26px;
  align-items: start;
}
:where(.tpl-site) .legal-nav {
  position: sticky;
  top: 100px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  background: #fff;
}
:where(.tpl-site) .legal-nav a {
  display: block;
  text-decoration: none;
  padding: 10px 11px;
  border-radius: 10px;
  color: #52657e;
  font-size: 13px;
  font-weight: 700;
}
:where(.tpl-site) .legal-nav a:hover {
  background: #eef6ff;
  color: var(--blue);
}
:where(.tpl-site) .legal {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  padding: 34px;
  box-shadow: 0 12px 35px rgba(22,61,98,.05);
}
:where(.tpl-site) .legal-section {
  padding: 0 0 27px;
  margin: 0 0 27px;
  border-bottom: 1px solid var(--line);
}
:where(.tpl-site) .legal-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}
:where(.tpl-site) .legal-section h2 {
  font-size: 23px;
  margin: 0 0 11px;
  letter-spacing: -.02em;
}
:where(.tpl-site) .legal-section p,
:where(.tpl-site) .legal-section li {
  color: #53667e;
  line-height: 1.75;
  font-size: 15px;
}
:where(.tpl-site) .legal-section ul,
:where(.tpl-site) .legal-section ol {
  padding-left: 22px;
}
:where(.tpl-site) .note {
  padding: 17px 19px;
  border-radius: 16px;
  background: #f2f8ff;
  border: 1px solid #d8eaff;
  color: #45617e;
  line-height: 1.6;
  font-size: 14px;
}
:where(.tpl-site) .feature-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
}
:where(.tpl-site) .feature {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  background: #fff;
}
:where(.tpl-site) .feature strong {
  font-size: 17px;
  display: block;
  margin-bottom: 8px;
}
:where(.tpl-site) .feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}
:where(.tpl-site) .status {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e8f8f1;
  color: #14714b;
  font-size: 12px;
  font-weight: 900;
}
:where(.tpl-site) .pdf-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
}
:where(.tpl-site) .pdf-card img {
  width: 44px;
}
:where(.tpl-site) .pdf-card strong {
  display: block;
}
:where(.tpl-site) .pdf-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}
:where(.tpl-site) .cta-wrap {
  background: linear-gradient(135deg,#0b2340,#135694);
  border-radius: 30px;
  padding: 43px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
:where(.tpl-site) .cta-wrap h2 {
  font-size: clamp(30px,4vw,44px);
  letter-spacing: -.035em;
  margin: 0 0 12px;
}
:where(.tpl-site) .cta-wrap p {
  color: #c8d9e9;
  line-height: 1.7;
  max-width: 690px;
  margin: 0;
}
:where(.tpl-site) .cta-wrap .btn-light {
  border: 0;
  white-space: nowrap;
}
:where(.tpl-site) footer {
  background: #061424;
  color: #aebdcd;
  padding: 40px 0;
}
:where(.tpl-site) .foot {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
:where(.tpl-site) .foot strong {
  color: #fff;
}
:where(.tpl-site) .foot-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
:where(.tpl-site) .foot-links a {
  text-decoration: none;
  font-size: 13px;
}
:where(.tpl-site) .foot-links a:hover {
  color: #fff;
}
@media (max-width:960px) {
  :where(.tpl-site) .menu {
    display: none;
  }
  :where(.tpl-site) .cards {
    grid-template-columns: repeat(2,1fr);
  }
  :where(.tpl-site) .split,
  :where(.tpl-site) .legal-wrap {
    grid-template-columns: 1fr;
  }
  :where(.tpl-site) .legal-nav {
    position: static;
  }
  :where(.tpl-site) .feature-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width:680px) {
  :where(.tpl-site) .nav {
    height: 68px;
  }
  :where(.tpl-site) .brand small {
    display: none;
  }
  :where(.tpl-site) .nav>.btn {
    padding: 11px 14px;
  }
  :where(.tpl-site) .page-hero {
    padding: 48px 0;
  }
  :where(.tpl-site) .page-hero h1 {
    font-size: 40px;
  }
  :where(.tpl-site) .page-hero p {
    font-size: 17px;
  }
  :where(.tpl-site) .cards,
  :where(.tpl-site) .interest-grid {
    grid-template-columns: 1fr;
  }
  :where(.tpl-site) section {
    padding: 62px 0;
  }
  :where(.tpl-site) .panel,
  :where(.tpl-site) .legal {
    padding: 22px;
  }
  :where(.tpl-site) .cta-wrap {
    padding: 29px;
    display: block;
  }
  :where(.tpl-site) .cta-wrap .btn {
    margin-top: 22px;
  }
  :where(.tpl-site) .foot {
    display: block;
  }
  :where(.tpl-site) .foot-links {
    margin-top: 18px;
  }
}

/* --------------------------------------------------------------------------
   Contacto: añadidos sobre la plantilla sitio  ·  .pg-contacto
   -------------------------------------------------------------------------- */
:where(.pg-contacto) .contact-mail strong {
  display: block;
  margin-bottom: 4px;
}
:where(.pg-contacto) .contact-mail a {
  display: inline-block;
  font-size: 17px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}
:where(.pg-contacto) .contact-mail a:hover {
  text-decoration: underline;
}
:where(.pg-contacto) .contact-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
:where(.pg-contacto) .contact-points {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
:where(.pg-contacto) .contact-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #40516a;
  font-size: 14px;
  line-height: 1.55;
}
:where(.pg-contacto) .contact-points li:before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  height: 22px;
  border-radius: 50%;
  background: #e8f8f1;
  color: #14714b;
  font-weight: 900;
}
:where(.pg-contacto) .form-help {
  margin: -3px 0 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
:where(.pg-contacto) .privacy-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}
:where(.pg-contacto) .privacy-note a {
  color: var(--blue);
}
:where(.pg-contacto) .overlay-loading {
  visibility: hidden;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(7,23,43,.55);
  display: grid;
  place-items: center;
}
:where(.pg-contacto) .overlay-loading .box {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: var(--shadow);
  font-weight: 800;
  color: var(--ink);
}
:where(.pg-contacto) .sent-message {
  visibility: hidden;
  position: fixed;
  z-index: 1100;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: min(520px,calc(100% - 36px));
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
  text-align: center;
}
:where(.pg-contacto) .sent-message strong {
  font-size: 23px;
  color: #1053a4;
}
:where(.pg-contacto) .sent-message p {
  color: var(--muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Agente IA  ·  .pg-agente
   -------------------------------------------------------------------------- */
:root:where(.pg-agente) {
  --blue: #0d5ea8;
  --blue2: #0a4c8a;
  --ink: #0b1e31;
  --muted: #5f7183;
  --soft: #f4f8fc;
  --line: #dce7f1;
  --max: 1180px;
}
html:where(.pg-agente),
:where(.pg-agente) * {
  box-sizing: border-box;
}
html:where(.pg-agente) {
  scroll-behavior: smooth;
}
:where(.pg-agente) body {
  margin: 0;
  font-family: Inter,Arial,Helvetica,sans-serif;
  color: var(--ink);
  background: #fff;
}
:where(.pg-agente) .container {
  width: min(var(--max),calc(100% - 36px));
  margin: auto;
}
:where(.pg-agente) a {
  color: inherit;
}
:where(.pg-agente) .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
}
:where(.pg-agente) .btn-primary {
  background: linear-gradient(135deg,var(--blue),var(--blue2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(13,94,168,.22);
}
:where(.pg-agente) .btn-light {
  background: #fff;
  color: #133a5e;
  border: 1px solid var(--line);
}
:where(.pg-agente) header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(220,231,241,.9);
}
:where(.pg-agente) .nav {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}
:where(.pg-agente) .brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-right: auto;
}
:where(.pg-agente) .brand img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}
:where(.pg-agente) .brand span {
  display: block;
  font-weight: 900;
}
:where(.pg-agente) .brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}
:where(.pg-agente) .menu {
  display: flex;
  gap: 22px;
}
:where(.pg-agente) .menu a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: #35516d;
}
:where(.pg-agente) .hero {
  padding: 86px 0;
  background: radial-gradient(circle at 80% 20%,#dff5ff 0,transparent 30%),linear-gradient(180deg,#f7fbff,#fff);
}
:where(.pg-agente) .hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 44px;
  align-items: center;
}
:where(.pg-agente) .pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #e9f4ff;
  color: #145b93;
  font-weight: 800;
  font-size: 13px;
}
:where(.pg-agente) .pill b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20bd73;
}
:where(.pg-agente) .hero h1 {
  font-size: clamp(42px,5vw,66px);
  line-height: .98;
  letter-spacing: -.048em;
  margin: 17px 0;
}
:where(.pg-agente) .hero h1 span {
  color: var(--blue);
}
:where(.pg-agente) .hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  max-width: 700px;
}
:where(.pg-agente) .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
:where(.pg-agente) .flow {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg,#07172b,#12385c);
  color: #fff;
  box-shadow: 0 22px 55px rgba(7,23,43,.2);
}
:where(.pg-agente) .flow h3 {
  font-size: 25px;
  margin: 0 0 18px;
}
:where(.pg-agente) .step {
  display: flex;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
:where(.pg-agente) .step:last-child {
  border-bottom: 0;
}
:where(.pg-agente) .step i {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1b75bd;
  font-style: normal;
  font-weight: 900;
}
:where(.pg-agente) .step strong {
  display: block;
}
:where(.pg-agente) .step span {
  display: block;
  color: #c4d2df;
  font-size: 13px;
  margin-top: 3px;
  line-height: 1.45;
}
:where(.pg-agente) section {
  padding: 82px 0;
}
:where(.pg-agente) .soft {
  background: var(--soft);
}
:where(.pg-agente) .section-head {
  max-width: 760px;
  margin-bottom: 36px;
}
:where(.pg-agente) .eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}
:where(.pg-agente) .section-head h2 {
  font-size: clamp(32px,4vw,48px);
  line-height: 1.07;
  letter-spacing: -.035em;
  margin: 10px 0 13px;
}
:where(.pg-agente) .section-head p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}
:where(.pg-agente) .cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}
:where(.pg-agente) .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 25px;
  box-shadow: 0 12px 35px rgba(22,61,98,.06);
}
:where(.pg-agente) .card .icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #eaf4ff;
  display: grid;
  place-items: center;
  font-size: 24px;
}
:where(.pg-agente) .card h3 {
  font-size: 20px;
  margin: 17px 0 9px;
}
:where(.pg-agente) .card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}
:where(.pg-agente) .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
:where(.pg-agente) .panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 26px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(22,61,98,.07);
}
:where(.pg-agente) .checks {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
:where(.pg-agente) .check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
:where(.pg-agente) .check i {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f7ef;
  color: #12814d;
  font-style: normal;
  font-weight: 900;
}
:where(.pg-agente) .check span {
  color: #445b70;
  line-height: 1.55;
}
:where(.pg-agente) .example {
  background: #0a1b2f;
  color: #fff;
  border-radius: 26px;
  padding: 30px;
}
:where(.pg-agente) .bubble {
  background: #fff;
  color: #17344e;
  border-radius: 18px 18px 18px 5px;
  padding: 16px 18px;
  max-width: 88%;
  line-height: 1.55;
}
:where(.pg-agente) .agent {
  margin: 18px 0 0 auto;
  background: #dcf8e8;
  color: #204737;
  border-radius: 18px 18px 5px 18px;
  padding: 16px 18px;
  max-width: 91%;
  line-height: 1.55;
}
:where(.pg-agente) .cta {
  background: linear-gradient(135deg,#0b2340,#135694);
  border-radius: 30px;
  padding: 44px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
:where(.pg-agente) .cta h2 {
  font-size: clamp(30px,4vw,44px);
  margin: 0 0 10px;
  letter-spacing: -.035em;
}
:where(.pg-agente) .cta p {
  color: #c8d9e9;
  line-height: 1.7;
  margin: 0;
  max-width: 720px;
}
:where(.pg-agente) footer {
  background: #061424;
  color: #aebdcd;
  padding: 40px 0;
}
:where(.pg-agente) .foot {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
:where(.pg-agente) .foot strong {
  color: #fff;
}
:where(.pg-agente) .foot-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
:where(.pg-agente) .foot-links a {
  color: #aebdcd;
  text-decoration: none;
  font-size: 13px;
}
@media (max-width:960px) {
  :where(.pg-agente) .menu {
    display: none;
  }
  :where(.pg-agente) .hero-grid,
  :where(.pg-agente) .split {
    grid-template-columns: 1fr;
  }
  :where(.pg-agente) .cards {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (max-width:640px) {
  :where(.pg-agente) .container {
    width: min(var(--max),calc(100% - 24px));
  }
  :where(.pg-agente) .nav {
    height: 68px;
  }
  :where(.pg-agente) .brand small {
    display: none;
  }
  :where(.pg-agente) .hero {
    padding: 55px 0;
  }
  :where(.pg-agente) .hero h1 {
    font-size: 41px;
  }
  :where(.pg-agente) .cards {
    grid-template-columns: 1fr;
  }
  :where(.pg-agente) section {
    padding: 62px 0;
  }
  :where(.pg-agente) .cta {
    display: block;
    padding: 30px;
  }
  :where(.pg-agente) .cta .btn {
    margin-top: 22px;
  }
  :where(.pg-agente) .foot {
    display: block;
  }
  :where(.pg-agente) .foot-links {
    margin-top: 18px;
  }
}

/* --------------------------------------------------------------------------
   Inicio (default.asp)  ·  .pg-home
   -------------------------------------------------------------------------- */
:root:where(.pg-home) {
  --navy: #07172b;
  --blue: #1769ff;
  --cyan: #29c7f3;
  --ink: #10213a;
  --muted: #607087;
  --soft: #f4f8fc;
  --line: #dfe8f1;
  --white: #fff;
  --green: #19a66b;
  --shadow: 0 20px 55px rgba(15,45,78,.12);
  --radius: 24px;
  --max: 1180px;
}
html:where(.pg-home),
:where(.pg-home) * {
  box-sizing: border-box;
}
html:where(.pg-home) {
  scroll-behavior: smooth;
}
:where(.pg-home) body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
}
:where(.pg-home) a {
  color: inherit;
}
:where(.pg-home) .container {
  width: min(var(--max), calc(100% - 36px));
  margin: auto;
}
/* ---------- Cabecera ---------- */
:where(.pg-home) header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223,232,241,.9);
}
:where(.pg-home) .nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
:where(.pg-home) .brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
}
:where(.pg-home) .brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
:where(.pg-home) .brand span {
  font-size: 18px;
}
:where(.pg-home) .brand small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}
:where(.pg-home) .menu {
  display: flex;
  gap: 24px;
  align-items: center;
}
:where(.pg-home) .menu a {
  text-decoration: none;
  color: #40516a;
  font-size: 14px;
  font-weight: 700;
}
:where(.pg-home) .menu a:hover {
  color: var(--blue);
}
/* ---------- Botones ---------- */
:where(.pg-home) .btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 21px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: .2s;
  font: inherit;
}
:where(.pg-home) .btn:hover {
  transform: translateY(-2px);
}
:where(.pg-home) .btn-primary {
  background: linear-gradient(135deg, var(--blue), #128edc);
  color: #fff;
  box-shadow: 0 12px 28px rgba(23,105,255,.22);
}
:where(.pg-home) .btn-light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
/* ---------- Hero ---------- */
:where(.pg-home) .hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f7fbff 0, #edf6ff 50%, #f8fcff 100%);
  padding: 78px 0 68px;
}
:where(.pg-home) .hero:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(41,199,243,.13);
  filter: blur(6px);
  right: -180px;
  top: -220px;
}
:where(.pg-home) .hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
:where(.pg-home) .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e7f2ff;
  border: 1px solid #cfe4ff;
  color: #1053a4;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 800;
}
:where(.pg-home) .pill b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
:where(.pg-home) .hero h1 {
  font-size: clamp(42px, 5.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: 17px 0 20px;
  max-width: 760px;
}
:where(.pg-home) .hero h1 span {
  color: var(--blue);
}
:where(.pg-home) .hero p {
  font-size: 19px;
  line-height: 1.7;
  color: #52657e;
  max-width: 690px;
  margin: 0;
}
:where(.pg-home) .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 29px;
}
:where(.pg-home) .trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 30px;
  color: #4a5e78;
  font-size: 13px;
  font-weight: 700;
}
:where(.pg-home) .trust span:before {
  content: "✓";
  color: var(--green);
  margin-right: 7px;
}
:where(.pg-home) .hero-visual {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 6px 20px 24px;
}
:where(.pg-home) .hero-screen {
  width: 100%;
  background: #fff;
  border: 1px solid #dce7f3;
  border-radius: 28px;
  padding: 13px;
  box-shadow: 0 32px 80px rgba(20,68,112,.18);
  transform: scale(1.08);
  transform-origin: center left;
}
:where(.pg-home) .hero-screen img {
  width: 100%;
  display: block;
  border-radius: 18px;
}
/* ---------- Teléfono con chat IA ---------- */
:where(.pg-home) .ai-phone {
  position: absolute;
  right: -34px;
  bottom: 8px;
  width: 218px;
  background: #05080d;
  border: 6px solid #05080d;
  border-radius: 38px;
  box-shadow: 0 28px 65px rgba(7,23,43,.34);
  overflow: hidden;
}
:where(.pg-home) .ai-phone-screen {
  background: #efeae2;
  border-radius: 31px;
  overflow: hidden;
  position: relative;
}
:where(.pg-home) .ai-status {
  height: 25px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  font-size: 9px;
  font-weight: 800;
  color: #111;
}
:where(.pg-home) .ai-notch {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 66px;
  height: 17px;
  background: #05080d;
  border-radius: 12px;
  z-index: 3;
}
:where(.pg-home) .ai-icons {
  font-size: 8px;
  letter-spacing: 1px;
}
:where(.pg-home) .ai-phone-head {
  height: 49px;
  background: #f7f8fa;
  color: #111;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid #e4e4e4;
}
:where(.pg-home) .ai-back {
  font-size: 20px;
  color: #168b72;
  line-height: 1;
}
:where(.pg-home) .ai-avatar {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #123a62;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
}
:where(.pg-home) .ai-contact {
  flex: 1;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
}
:where(.pg-home) .ai-contact small {
  display: block;
  color: #777;
  font-size: 8px;
  font-weight: 500;
  margin-top: 2px;
}
:where(.pg-home) .ai-call {
  font-size: 15px;
  color: #168b72;
}
:where(.pg-home) .ai-phone-body {
  background-color: #efeae2;
  background-image: radial-gradient(rgba(120,110,95,.09) .7px, transparent .7px);
  background-size: 8px 8px;
  padding: 13px 9px 8px;
  min-height: 228px;
  font-size: 10px;
  line-height: 1.35;
}
:where(.pg-home) .msg {
  position: relative;
  padding: 8px 9px 14px;
  border-radius: 8px;
  margin: 0 0 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.13);
}
:where(.pg-home) .msg.user {
  background: #d9fdd3;
  margin-left: 28px;
}
:where(.pg-home) .msg.ai {
  background: #fff;
  margin-right: 14px;
}
:where(.pg-home) .msg-time {
  position: absolute;
  right: 6px;
  bottom: 3px;
  font-size: 7px;
  color: #75817c;
}
:where(.pg-home) .msg.user .msg-time:after {
  content: " ✓✓";
  color: #53bdeb;
  font-weight: 900;
}
:where(.pg-home) .ai-compose {
  height: 42px;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
}
:where(.pg-home) .ai-input {
  flex: 1;
  background: #fff;
  border-radius: 18px;
  color: #8a8f94;
  padding: 7px 9px;
  font-size: 8px;
}
:where(.pg-home) .ai-mic {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #00a884;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
/* ---------- Tarjetas flotantes del hero ---------- */
:where(.pg-home) .wa-bubble {
  position: absolute;
  right: -22px;
  top: 20px;
  background: #fff;
  border: 1px solid #dce7f3;
  border-radius: 18px;
  padding: 13px 15px;
  width: 245px;
  box-shadow: 0 16px 35px rgba(20,68,112,.15);
  font-size: 12px;
  line-height: 1.45;
  color: #17406a;
}
:where(.pg-home) .wa-bubble b {
  color: #07172b;
}
:where(.pg-home) .wa-dot {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  align-items: center;
  justify-content: center;
  margin-right: 7px;
  font-weight: 900;
}
:where(.pg-home) .float-card {
  position: absolute;
  left: 12px;
  bottom: 0;
  background: #07172b;
  color: #fff;
  border-radius: 18px;
  padding: 15px 17px;
  width: 215px;
  box-shadow: 0 18px 40px rgba(7,23,43,.24);
}
:where(.pg-home) .float-card strong {
  display: block;
  font-size: 15px;
}
:where(.pg-home) .float-card span {
  display: block;
  color: #b8c7d9;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 5px;
}
/* ---------- Franja de áreas ---------- */
:where(.pg-home) .logo-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
:where(.pg-home) .strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
}
:where(.pg-home) .strip div {
  padding: 22px 14px;
  text-align: center;
  border-right: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  color: #52657e;
}
:where(.pg-home) .strip div:last-child {
  border-right: 0;
}
/* ---------- Secciones genéricas ---------- */
:where(.pg-home) section {
  padding: 88px 0;
}
:where(.pg-home) .eyebrow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
}
:where(.pg-home) .section-head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}
:where(.pg-home) .section-head h2,
:where(.pg-home) .split-copy h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 10px 0 15px;
}
:where(.pg-home) .section-head p,
:where(.pg-home) .split-copy p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}
:where(.pg-home) .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
:where(.pg-home) .card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 25px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(22,61,98,.06);
}
:where(.pg-home) .card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eaf4ff;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 17px;
}
:where(.pg-home) .card h3 {
  margin: 0 0 9px;
  font-size: 20px;
}
:where(.pg-home) .card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}
:where(.pg-home) .soft {
  background: var(--soft);
}
:where(.pg-home) .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}
:where(.pg-home) .screen {
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px;
  box-shadow: var(--shadow);
}
:where(.pg-home) .screen img {
  width: 100%;
  display: block;
  border-radius: 17px;
}
:where(.pg-home) .checks {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
:where(.pg-home) .check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #43566f;
  line-height: 1.5;
}
:where(.pg-home) .check i {
  width: 23px;
  height: 23px;
  min-width: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e6f8f0;
  color: var(--green);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}
/* ---------- Sección IA ---------- */
:where(.pg-home) .ai-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
}
:where(.pg-home) .ai-main {
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, #07172b, #12385c);
  color: #fff;
  position: relative;
  overflow: hidden;
}
:where(.pg-home) .ai-main:after {
  content: "IA";
  position: absolute;
  right: 16px;
  bottom: -45px;
  font-size: 180px;
  font-weight: 900;
  color: rgba(255,255,255,.035);
}
:where(.pg-home) .ai-main .eyebrow {
  color: #68d9ff;
}
:where(.pg-home) .ai-main h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin: 10px 0 16px;
}
:where(.pg-home) .ai-main p {
  color: #c1cedb;
  line-height: 1.75;
  font-size: 17px;
  max-width: 630px;
}
:where(.pg-home) .ai-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 25px;
}
:where(.pg-home) .ai-item {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.09);
  padding: 14px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 700;
}
:where(.pg-home) .wa-card {
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, #edfff6, #f8fffb);
  border: 1px solid #ccefdc;
}
:where(.pg-home) .wa-card .wa {
  font-size: 46px;
}
:where(.pg-home) .wa-card h3 {
  font-size: 29px;
  margin: 12px 0 10px;
}
:where(.pg-home) .wa-card p {
  color: #547065;
  line-height: 1.7;
}
:where(.pg-home) .wa-card .mini-note {
  margin-top: 22px;
  background: #fff;
  border: 1px solid #d8eee2;
  border-radius: 16px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #426055;
}
/* ---------- Módulos ---------- */
:where(.pg-home) .modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
:where(.pg-home) .module {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
:where(.pg-home) .module-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #eaf4ff;
  display: grid;
  place-items: center;
  font-size: 23px;
  margin-bottom: 14px;
}
:where(.pg-home) .module strong {
  display: block;
  font-size: 15px;
}
:where(.pg-home) .module span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 6px;
}
/* ---------- Precios ---------- */
:where(.pg-home) .pricing {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
}
:where(.pg-home) .price-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 17px;
  background: #fff;
}
:where(.pg-home) .price-card.pop {
  border-color: #9fc7ff;
  background: #f4f9ff;
  box-shadow: 0 14px 35px rgba(23,105,255,.10);
}
:where(.pg-home) .price-card h3 {
  font-size: 15px;
  margin: 0;
  color: #4f6178;
}
:where(.pg-home) .price {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -.04em;
  margin: 10px 0 4px;
}
:where(.pg-home) .price small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
:where(.pg-home) .price-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 13px 0 0;
}
/* ---------- CTA ---------- */
:where(.pg-home) .cta-wrap {
  background: linear-gradient(135deg, #0b2340, #135694);
  border-radius: 30px;
  padding: 45px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
:where(.pg-home) .cta-wrap h2 {
  font-size: clamp(30px, 4vw, 45px);
  letter-spacing: -.035em;
  margin: 0 0 12px;
}
:where(.pg-home) .cta-wrap p {
  color: #c8d9e9;
  line-height: 1.7;
  max-width: 690px;
  margin: 0;
}
:where(.pg-home) .cta-wrap .btn-light {
  border: 0;
  white-space: nowrap;
}
/* ---------- Pie ---------- */
:where(.pg-home) footer {
  background: #061424;
  color: #aebdcd;
  padding: 40px 0;
}
:where(.pg-home) .foot {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
:where(.pg-home) .foot strong {
  color: #fff;
}
:where(.pg-home) .foot-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
:where(.pg-home) .foot-links a {
  text-decoration: none;
  font-size: 13px;
}
:where(.pg-home) .foot-links a:hover {
  color: #fff;
}
/* ---------- Modal de demo / contacto ---------- */
:where(.pg-home) .demo-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5,18,34,.64);
  padding: 20px;
  align-items: center;
  justify-content: center;
}
:where(.pg-home) .demo-modal.is-open {
  display: flex;
}
:where(.pg-home) .demo-box {
  width: min(570px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
:where(.pg-home) .demo-box h3 {
  font-size: 28px;
  margin: 0 0 7px;
}
:where(.pg-home) .demo-box > p {
  color: var(--muted);
  margin: 0 0 20px;
}
:where(.pg-home) .demo-form {
  display: grid;
  gap: 14px;
}
:where(.pg-home) .demo-form label {
  font-size: 14px;
  font-weight: 800;
}
:where(.pg-home) .demo-form input,
:where(.pg-home) .demo-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px 14px;
  font: inherit;
  margin-top: 7px;
}
:where(.pg-home) .demo-form textarea {
  min-height: 110px;
  resize: vertical;
}
:where(.pg-home) .demo-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
:where(.pg-home) .demo-msg {
  margin-top: 15px;
  border-radius: 12px;
  padding: 13px;
  font-weight: 700;
}
:where(.pg-home) .demo-ok {
  background: #e8f9f1;
  color: #116440;
}
:where(.pg-home) .demo-ko {
  background: #fff0f0;
  color: #942c2c;
}
/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  :where(.pg-home) .menu {
    display: none;
  }
  :where(.pg-home) .hero-grid,
  :where(.pg-home) .split,
  :where(.pg-home) .ai-grid {
    grid-template-columns: 1fr;
  }
  :where(.pg-home) .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  :where(.pg-home) .modules {
    grid-template-columns: repeat(2, 1fr);
  }
  :where(.pg-home) .pricing {
    grid-template-columns: repeat(2, 1fr);
  }
  :where(.pg-home) .float-card {
    right: 14px;
  }
  :where(.pg-home) .strip {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 680px) {
  :where(.pg-home) .nav {
    height: 68px;
  }
  :where(.pg-home) .brand small {
    display: none;
  }
  :where(.pg-home) .nav > .btn {
    padding: 11px 14px;
  }
  :where(.pg-home) .hero {
    padding: 48px 0;
  }
  :where(.pg-home) .hero h1 {
    font-size: 42px;
  }
  :where(.pg-home) .hero p {
    font-size: 17px;
  }
  :where(.pg-home) .hero-visual {
    padding: 7px;
    min-height: auto;
    margin-top: 20px;
  }
  :where(.pg-home) .hero-screen {
    transform: none;
  }
  :where(.pg-home) .float-card,
  :where(.pg-home) .wa-bubble,
  :where(.pg-home) .ai-phone {
    display: none;
  }
  :where(.pg-home) .cards,
  :where(.pg-home) .modules,
  :where(.pg-home) .pricing,
  :where(.pg-home) .ai-list {
    grid-template-columns: 1fr;
  }
  :where(.pg-home) .strip {
    grid-template-columns: 1fr 1fr;
  }
  :where(.pg-home) .strip div {
    border-bottom: 1px solid var(--line);
  }
  :where(.pg-home) section {
    padding: 68px 0;
  }
  :where(.pg-home) .cta-wrap {
    padding: 30px;
    display: block;
  }
  :where(.pg-home) .cta-wrap .btn {
    margin-top: 23px;
  }
  :where(.pg-home) .foot {
    display: block;
  }
  :where(.pg-home) .foot-links {
    margin-top: 18px;
  }
}
/* Bloque comercial destacado en portada */
:where(.pg-home) .talk-section {
  background: #eef6ff;
  padding: 76px 0 82px;
  overflow: hidden;
  position: relative;
}
:where(.pg-home) .talk-section:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(23,105,255,.07);
  right: -130px;
  bottom: -190px;
}
:where(.pg-home) .talk-inner {
  position: relative;
  z-index: 1;
}
:where(.pg-home) .talk-section .pill {
  margin-bottom: 18px;
}
:where(.pg-home) .talk-title {
  font-size: clamp(48px, 6.2vw, 78px);
  line-height: .99;
  letter-spacing: -.052em;
  margin: 0;
  max-width: 1050px;
  color: var(--ink);
}
:where(.pg-home) .talk-title span {
  color: var(--blue);
}
:where(.pg-home) .talk-copy {
  font-size: 18px;
  line-height: 1.7;
  color: #52657e;
  max-width: 760px;
  margin: 24px 0 0;
}
:where(.pg-home) .talk-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
@media (max-width: 680px) {
  :where(.pg-home) .talk-section {
    padding: 58px 0 64px;
  }
  :where(.pg-home) .talk-title {
    font-size: clamp(42px, 13vw, 62px);
  }
  :where(.pg-home) .talk-copy {
    font-size: 16px;
  }
}
:where(.pg-home) .talk-section-top {
  padding: 62px 0 68px;
  border-bottom: 1px solid #dfe8f1;
}
:where(.pg-home) .talk-title-main {
  font-size: clamp(48px, 6.3vw, 76px);
  line-height: 1.01;
  max-width: 1060px;
  margin: 18px 0 20px;
}
:where(.pg-home) .talk-title-main span {
  display: block;
  color: var(--blue);
}
:where(.pg-home) .talk-section-top .talk-copy {
  max-width: 800px;
  font-size: 18px;
  line-height: 1.7;
}
@media (max-width: 680px) {
  :where(.pg-home) .talk-section-top {
    padding: 46px 0 52px;
  }
  :where(.pg-home) .talk-title-main {
    font-size: 42px;
  }
  :where(.pg-home) .talk-section-top .talk-copy {
    font-size: 16px;
  }
}
:where(.pg-home) .contact-email {
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.1;
  margin-top: 3px;
  opacity: .72;
  text-transform: none;
  letter-spacing: 0;
}
:where(.pg-home) .header-actions .js-contact-open {
  flex-direction: column;
  line-height: 1.05;
  padding-top: 10px;
  padding-bottom: 9px;
}

/* --------------------------------------------------------------------------
   Inicio: fondo IA  ·  .pg-home
   -------------------------------------------------------------------------- */
html:where(.pg-home) {
  background: #f4f9ff;
}
:where(.pg-home) body {
  background-color: #f4f9ff !important;
  background-image: linear-gradient(rgba(248,252,255,.88), rgba(248,252,255,.88)), url("smi-ai-background.svg") !important;
  background-size: auto, 1920px auto !important;
  background-position: center top !important;
  background-repeat: repeat-y !important;
  background-attachment: fixed !important;
}
:where(.pg-home) header,
:where(.pg-home) nav,
:where(.pg-home) .topbar,
:where(.pg-home) .navbar {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
:where(.pg-home) section,
:where(.pg-home) .section,
:where(.pg-home) .wrap,
:where(.pg-home) .container {
  position: relative;
}
:where(.pg-home) .card,
:where(.pg-home) .feature-card,
:where(.pg-home) .module-card,
:where(.pg-home) .price-card,
:where(.pg-home) .contact-card,
:where(.pg-home) .legal-card,
:where(.pg-home) .ai-card {
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
@media (max-width: 900px) {
  :where(.pg-home) body {
    background-attachment: scroll !important;
    background-size: auto, 1350px auto !important;
  }
}

/* --------------------------------------------------------------------------
   Inicio: botón de contacto en cabecera  ·  .pg-home
   -------------------------------------------------------------------------- */
:where(.pg-home) .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
:where(.pg-home) .header-actions .btn {
  padding-left: 18px;
  padding-right: 18px;
}
@media (max-width: 980px) {
  :where(.pg-home) .header-actions {
    gap: 7px;
  }
  :where(.pg-home) .header-actions .btn {
    padding: 10px 12px;
    font-size: 13px;
  }
}
@media (max-width: 760px) {
  :where(.pg-home) .header-actions .js-contact-open {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Empresas de mantenimiento  ·  .pg-empresas
   -------------------------------------------------------------------------- */
:root:where(.pg-empresas) {
  --blue: #1769ff;
  --ink: #10213a;
  --muted: #607087;
  --soft: #f4f8fc;
  --line: #dfe8f1;
  --max: 1120px;
}
html:where(.pg-empresas),
:where(.pg-empresas) * {
  box-sizing: border-box;
}
:where(.pg-empresas) body {
  margin: 0;
  font-family: Inter,Arial,sans-serif;
  color: var(--ink);
}
:where(.pg-empresas) a {
  color: inherit;
}
:where(.pg-empresas) .c {
  width: min(var(--max),calc(100% - 36px));
  margin: auto;
}
:where(.pg-empresas) header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 5;
}
:where(.pg-empresas) .nav {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}
:where(.pg-empresas) .brand {
  font-weight: 900;
  text-decoration: none;
  margin-right: auto;
}
:where(.pg-empresas) .nav a:not(.brand) {
  font-size: 14px;
  text-decoration: none;
  font-weight: 700;
  color: #40516a;
}
:where(.pg-empresas) .demo,
:where(.pg-empresas) .btn {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 12px 17px;
  border-radius: 12px;
}
:where(.pg-empresas) .hero {
  padding: 82px 0;
  background: linear-gradient(135deg,#f7fbff,#edf6ff);
}
:where(.pg-empresas) .hero h1 {
  font-size: clamp(40px,5.5vw,64px);
  line-height: 1.03;
  letter-spacing: -.04em;
  max-width: 850px;
  margin: 0 0 20px;
}
:where(.pg-empresas) .hero p {
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 800px;
}
:where(.pg-empresas) .actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
}
:where(.pg-empresas) .btn {
  text-decoration: none;
  font-weight: 800;
  display: inline-block;
}
:where(.pg-empresas) .ghost {
  background: #fff !important;
  color: var(--ink) !important;
  border: 1px solid var(--line);
}
:where(.pg-empresas) section {
  padding: 76px 0;
}
:where(.pg-empresas) .intro {
  max-width: 800px;
}
:where(.pg-empresas) .intro h2 {
  font-size: 38px;
  margin: 0 0 14px;
}
:where(.pg-empresas) .intro p,
:where(.pg-empresas) .card p,
:where(.pg-empresas) .seo-links {
  color: var(--muted);
  line-height: 1.7;
}
:where(.pg-empresas) .grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
  margin-top: 34px;
}
:where(.pg-empresas) .card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 25px;
}
:where(.pg-empresas) .card h3 {
  margin: 0 0 9px;
}
:where(.pg-empresas) .soft {
  background: var(--soft);
}
:where(.pg-empresas) .cta {
  background: #07172b;
  color: #fff;
  border-radius: 26px;
  padding: 38px;
}
:where(.pg-empresas) .cta p {
  color: #c7d4e2;
  line-height: 1.7;
}
:where(.pg-empresas) .seo-links a {
  margin-right: 16px;
}
:where(.pg-empresas) footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
@media (max-width:760px) {
  :where(.pg-empresas) .nav a:not(.brand):not(.demo) {
    display: none;
  }
  :where(.pg-empresas) .grid {
    grid-template-columns: 1fr;
  }
  :where(.pg-empresas) .hero {
    padding: 58px 0;
  }
}

/* --------------------------------------------------------------------------
   Envío de correo (enviar_correo.asp)  ·  .pg-correo
   -------------------------------------------------------------------------- */
:root:where(.pg-correo) {
  --blue: #1769ff;
  --ink: #10213a;
  --muted: #607087;
  --line: #dfe8f1;
  --green: #19a66b;
  --red: #c0392b;
}
html:where(.pg-correo),
:where(.pg-correo) * {
  box-sizing: border-box;
}
:where(.pg-correo) body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: Inter,Arial,Helvetica,sans-serif;
  color: var(--ink);
  background: #f4f9ff;
}
:where(.pg-correo) .box {
  width: min(520px,100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px 30px;
  text-align: center;
  box-shadow: 0 20px 55px rgba(15,45,78,.12);
}
:where(.pg-correo) .box img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
:where(.pg-correo) .icon {
  width: 58px;
  height: 58px;
  margin: 18px auto 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
}
:where(.pg-correo) .ok .icon {
  background: var(--green);
}
:where(.pg-correo) .ko .icon {
  background: var(--red);
}
:where(.pg-correo) h1 {
  font-size: 24px;
  margin: 16px 0 10px;
}
:where(.pg-correo) .ok h1 {
  color: #1053a4;
}
:where(.pg-correo) .ko h1 {
  color: var(--red);
}
:where(.pg-correo) p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 26px;
}
:where(.pg-correo) .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg,var(--blue),#128edc);
  box-shadow: 0 12px 28px rgba(23,105,255,.22);
}
:where(.pg-correo) .btn:hover {
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Módulos  ·  .pg-modulos
   -------------------------------------------------------------------------- */
:root:where(.pg-modulos) {
  --navy: #07172b;
  --blue: #1769ff;
  --cyan: #29c7f3;
  --ink: #10213a;
  --muted: #607087;
  --soft: #f4f8fc;
  --line: #dfe8f1;
  --white: #fff;
  --green: #19a66b;
  --shadow: 0 20px 55px rgba(15,45,78,.12);
  --radius: 24px;
  --max: 1180px;
}
html:where(.pg-modulos),
:where(.pg-modulos) * {
  box-sizing: border-box;
}
html:where(.pg-modulos) {
  scroll-behavior: smooth;
}
:where(.pg-modulos) body {
  margin: 0;
  font-family: Inter,Arial,Helvetica,sans-serif;
  color: var(--ink);
  background: #fff;
}
:where(.pg-modulos) a {
  color: inherit;
}
:where(.pg-modulos) .container {
  width: min(var(--max),calc(100% - 36px));
  margin: auto;
}
:where(.pg-modulos) header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223,232,241,.9);
}
:where(.pg-modulos) .nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
:where(.pg-modulos) .brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
}
:where(.pg-modulos) .brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
:where(.pg-modulos) .brand span {
  font-size: 18px;
}
:where(.pg-modulos) .brand small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}
:where(.pg-modulos) .menu {
  display: flex;
  gap: 24px;
  align-items: center;
}
:where(.pg-modulos) .menu a {
  text-decoration: none;
  color: #40516a;
  font-size: 14px;
  font-weight: 700;
}
:where(.pg-modulos) .menu a:hover,
:where(.pg-modulos) .menu a.active {
  color: var(--blue);
}
:where(.pg-modulos) .btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 21px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: .2s;
  font: inherit;
}
:where(.pg-modulos) .btn:hover {
  transform: translateY(-2px);
}
:where(.pg-modulos) .btn-primary {
  background: linear-gradient(135deg,var(--blue),#128edc);
  color: #fff;
  box-shadow: 0 12px 28px rgba(23,105,255,.22);
}
:where(.pg-modulos) .btn-light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
:where(.pg-modulos) .hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg,#f7fbff 0,#edf6ff 50%,#f8fcff 100%);
  padding: 72px 0 66px;
}
:where(.pg-modulos) .hero:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(41,199,243,.13);
  right: -180px;
  top: -250px;
}
:where(.pg-modulos) .hero-inner {
  position: relative;
  text-align: center;
  max-width: 880px;
  margin: auto;
}
:where(.pg-modulos) .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e7f2ff;
  border: 1px solid #cfe4ff;
  color: #1053a4;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 800;
}
:where(.pg-modulos) .pill b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
:where(.pg-modulos) .hero h1 {
  font-size: clamp(42px,5.8vw,64px);
  line-height: 1.03;
  letter-spacing: -.045em;
  margin: 17px 0 19px;
}
:where(.pg-modulos) .hero h1 span {
  color: var(--blue);
}
:where(.pg-modulos) .hero p {
  font-size: 19px;
  line-height: 1.7;
  color: #52657e;
  max-width: 790px;
  margin: 0 auto;
}
:where(.pg-modulos) .hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
:where(.pg-modulos) .summary-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
:where(.pg-modulos) .summary {
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
:where(.pg-modulos) .summary div {
  padding: 22px 14px;
  text-align: center;
  border-right: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  color: #52657e;
}
:where(.pg-modulos) .summary div:last-child {
  border-right: 0;
}
:where(.pg-modulos) .summary strong {
  display: block;
  color: var(--blue);
  font-size: 19px;
  margin-bottom: 4px;
}
:where(.pg-modulos) section {
  padding: 88px 0;
}
:where(.pg-modulos) .eyebrow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
}
:where(.pg-modulos) .section-head {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}
:where(.pg-modulos) .section-head h2 {
  font-size: clamp(32px,4vw,48px);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 10px 0 15px;
}
:where(.pg-modulos) .section-head p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}
:where(.pg-modulos) .soft {
  background: var(--soft);
}
:where(.pg-modulos) .modules-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}
:where(.pg-modulos) .module-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 25px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(22,61,98,.06);
  transition: .22s;
  min-height: 210px;
  display: flex;
  flex-direction: column;
}
:where(.pg-modulos) .module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(22,61,98,.12);
  border-color: #c8dcf2;
}
:where(.pg-modulos) .module-top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 17px;
}
:where(.pg-modulos) .module-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 15px;
  background: #eaf4ff;
  display: grid;
  place-items: center;
  overflow: hidden;
}
:where(.pg-modulos) .module-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
:where(.pg-modulos) .module-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.22;
}
:where(.pg-modulos) .module-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14.5px;
}
:where(.pg-modulos) .module-card p br {
  display: block;
  content: "";
  margin-top: 5px;
}
:where(.pg-modulos) .highlight {
  padding-top: 0;
}
:where(.pg-modulos) .highlight-box {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 24px;
}
:where(.pg-modulos) .ai-main {
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(135deg,#07172b,#12385c);
  color: #fff;
  position: relative;
  overflow: hidden;
}
:where(.pg-modulos) .ai-main:after {
  content: "SMI";
  position: absolute;
  right: 16px;
  bottom: -38px;
  font-size: 120px;
  font-weight: 900;
  color: rgba(255,255,255,.035);
}
:where(.pg-modulos) .ai-main .eyebrow {
  color: #68d9ff;
}
:where(.pg-modulos) .ai-main h2 {
  font-size: clamp(30px,3.5vw,43px);
  line-height: 1.07;
  letter-spacing: -.035em;
  margin: 10px 0 16px;
}
:where(.pg-modulos) .ai-main p {
  color: #c1cedb;
  line-height: 1.75;
  font-size: 16px;
  max-width: 650px;
}
:where(.pg-modulos) .ai-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-top: 24px;
}
:where(.pg-modulos) .ai-item {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.09);
  padding: 14px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 700;
}
:where(.pg-modulos) .value-card {
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(180deg,#edfff6,#f8fffb);
  border: 1px solid #ccefdc;
}
:where(.pg-modulos) .value-card .big-icon {
  font-size: 43px;
}
:where(.pg-modulos) .value-card h3 {
  font-size: 28px;
  margin: 12px 0 10px;
}
:where(.pg-modulos) .value-card p {
  color: #547065;
  line-height: 1.7;
}
:where(.pg-modulos) .value-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
:where(.pg-modulos) .value-list div {
  background: #fff;
  border: 1px solid #d8eee2;
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 14px;
  color: #426055;
  font-weight: 700;
}
:where(.pg-modulos) .cta-wrap {
  background: linear-gradient(135deg,#0b2340,#135694);
  border-radius: 30px;
  padding: 45px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
:where(.pg-modulos) .cta-wrap h2 {
  font-size: clamp(30px,4vw,45px);
  letter-spacing: -.035em;
  margin: 0 0 12px;
}
:where(.pg-modulos) .cta-wrap p {
  color: #c8d9e9;
  line-height: 1.7;
  max-width: 690px;
  margin: 0;
}
:where(.pg-modulos) .cta-wrap .btn-light {
  border: 0;
  white-space: nowrap;
}
:where(.pg-modulos) footer {
  background: #061424;
  color: #aebdcd;
  padding: 40px 0;
}
:where(.pg-modulos) .foot {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
:where(.pg-modulos) .foot strong {
  color: #fff;
}
:where(.pg-modulos) .foot-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
:where(.pg-modulos) .foot-links a {
  color: #aebdcd;
  text-decoration: none;
  font-size: 13px;
}
:where(.pg-modulos) .foot-links a:hover {
  color: #fff;
}
:where(.pg-modulos) .loading {
  position: fixed;
  visibility: hidden;
  inset: 0;
  background: rgba(255,255,255,.78);
  z-index: 100;
  display: grid;
  place-items: center;
  backdrop-filter: blur(2px);
}
:where(.pg-modulos) .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #dbe8f5;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width:980px) {
  :where(.pg-modulos) .menu {
    display: none;
  }
  :where(.pg-modulos) .modules-grid {
    grid-template-columns: repeat(2,1fr);
  }
  :where(.pg-modulos) .highlight-box {
    grid-template-columns: 1fr;
  }
  :where(.pg-modulos) .summary {
    grid-template-columns: repeat(2,1fr);
  }
  :where(.pg-modulos) .summary div:nth-child(2) {
    border-right: 0;
  }
  :where(.pg-modulos) .summary div:nth-child(-n/**/+2) {
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width:760px) {
  :where(.pg-modulos) .modules-grid+* {
  }
  :where(.pg-modulos) #todos .container>div[style*="grid-template-columns:1.15fr"] {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width:640px) {
  :where(.pg-modulos) .container {
    width: min(var(--max),calc(100% - 24px));
  }
  :where(.pg-modulos) .nav {
    height: 68px;
  }
  :where(.pg-modulos) .brand span {
    font-size: 16px;
  }
  :where(.pg-modulos) .brand small {
    font-size: 10px;
  }
  :where(.pg-modulos) .brand img {
    width: 38px;
    height: 38px;
  }
  :where(.pg-modulos) .nav>.btn {
    padding: 11px 14px;
    font-size: 13px;
  }
  :where(.pg-modulos) .hero {
    padding: 54px 0 48px;
  }
  :where(.pg-modulos) .hero h1 {
    font-size: 39px;
  }
  :where(.pg-modulos) .hero p {
    font-size: 16px;
  }
  :where(.pg-modulos) .modules-grid {
    grid-template-columns: 1fr;
  }
  :where(.pg-modulos) .summary {
    grid-template-columns: 1fr;
  }
  :where(.pg-modulos) .summary div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  :where(.pg-modulos) .summary div:last-child {
    border-bottom: 0;
  }
  :where(.pg-modulos) section {
    padding: 62px 0;
  }
  :where(.pg-modulos) .module-card {
    min-height: 0;
  }
  :where(.pg-modulos) .ai-list {
    grid-template-columns: 1fr;
  }
  :where(.pg-modulos) .cta-wrap {
    padding: 30px 24px;
    display: block;
  }
  :where(.pg-modulos) .cta-wrap .btn {
    margin-top: 22px;
  }
  :where(.pg-modulos) .foot {
    display: block;
  }
  :where(.pg-modulos) .foot-links {
    margin-top: 20px;
  }
}

/* --------------------------------------------------------------------------
   Fondo IA global  ·  .bg-ai
   -------------------------------------------------------------------------- */
html:where(.bg-ai) {
  background: #f4f9ff;
}
:where(.bg-ai) body {
  background-color: #f4f9ff !important;
  background-image: linear-gradient(rgba(248,252,255,.88),rgba(248,252,255,.88)), url("smi-ai-background.svg") !important;
  background-size: auto,1920px auto !important;
  background-position: center top !important;
  background-repeat: repeat-y !important;
  background-attachment: fixed !important;
}
:where(.bg-ai) header,
:where(.bg-ai) nav,
:where(.bg-ai) .topbar,
:where(.bg-ai) .navbar {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
:where(.bg-ai) section,
:where(.bg-ai) .section,
:where(.bg-ai) .wrap,
:where(.bg-ai) .container {
  position: relative;
}
:where(.bg-ai) .card,
:where(.bg-ai) .feature-card,
:where(.bg-ai) .module-card,
:where(.bg-ai) .price-card,
:where(.bg-ai) .contact-card,
:where(.bg-ai) .legal-card,
:where(.bg-ai) .ai-card {
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
@media (max-width:900px) {
  :where(.bg-ai) body {
    background-attachment: scroll !important;
    background-size: auto,1350px auto !important;
  }
}

/* --------------------------------------------------------------------------
   Fondo IA atenuado (condiciones, privacidad)  ·  .bg-ai-soft
   -------------------------------------------------------------------------- */
:where(.bg-ai-soft) body {
  background-image: linear-gradient(rgba(250,253,255,.95),rgba(250,253,255,.95)),url("smi-ai-background.svg") !important;
}

/* --------------------------------------------------------------------------
   Equipo  ·  .pg-equipo
   -------------------------------------------------------------------------- */
:where(.pg-equipo) .bloque3d {
  width: 10vw;
  height: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}
:where(.pg-equipo) .bloque3d > div {
  background-color: #D6EAF8;
  color: white;
  font-weight: bold;
  padding: 10px 10px;
  font-size: 24px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
  transform: rotateY(20deg) rotateX(20deg);
  transition: transform 0.5s ease;
}
:where(.pg-equipo) .bloque3d > div:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

/* --------------------------------------------------------------------------
   Plantilla interior clásica (baja_servicio, equipo, smintegra)  ·  .tpl-interior
   -------------------------------------------------------------------------- */
:where(.tpl-interior) .bloqueo_clase_fondo {
  position: fixed;
  visibility: visible;
  background-image: url(../logos/fondo_inicio.jpg);
  width: 100%;
  height: 100%;
  right: 0;
  top: 0;
  z-index: -1;
  opacity: 0.85;
}
:where(.tpl-interior) .containerIzquierda {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
  max-width: 80%;
  margin: auto;
  height: 100vh;
  gap: 50px;
}
:where(.tpl-interior) .miniContainer {
  display: flex;
  flex-direction: column;
  justify-content: right;
  align-items: center;
  font-family: Arial, sans-serif;
  gap: 5px;
}
:where(.tpl-interior) .textoGrande {
  font-size: 2.5em;
  font-weight: bold;
  color: #094E92;
}
:where(.tpl-interior) .textoGrande3 {
  font-size: 1.5em;
  font-weight: bold;
  color: #094E92;
}
:where(.tpl-interior) .textoGrande2 {
  font-size: 1em;
  color: #094E92;
}
:where(.tpl-interior) .checkbox-container {
  display: flex;
  align-items: center;
  background-color: #D6EAF8;
  padding: 5px 5px;
  border-radius: 10px;
  border: 1px solid #A9CCE3;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #2C3E50;
  width: 300px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
:where(.tpl-interior) .table-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #D6EAF8;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid #A9CCE3;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #2C3E50;
  width: 320px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
:where(.tpl-interior) .checkbox-container input[type="checkbox"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: #3498DB;
}
:where(.tpl-interior) .inputSimple input,
:where(.tpl-interior) textarea {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease-in-out;
  width: 300px;
}
:where(.tpl-interior) .inputSimple textarea {
  height: 100px;
}
:where(.tpl-interior) .inputSimple input:focus,
:where(.tpl-interior) textarea:focus {
  border-color: #007bff;
}
:where(.tpl-interior) .boton-container {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}
:where(.tpl-interior) .boton-enviar {
  background-color: #6EC6FF;
  color: white;
  font-size: 18px;
  font-weight: bold;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
:where(.tpl-interior) .boton-enviar:hover {
  background-color: #4DA8DC;
}
:where(.tpl-interior) .main-container3 {
  display: flex;
  justify-content: center;
  /* Centrado horizontal */
  align-items: center;
  /* Centrado vertical */
  margin: 0;
}
:where(.tpl-interior) .main-container {
  display: flex;
  justify-content: center;
  /* Centrado horizontal */
  align-items: center;
  /* Centrado vertical */
  margin: 0;
}
:where(.tpl-interior) .list-box {
  background-color: white;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
  max-width: 500px;
}
:where(.tpl-interior) .feature {
  margin-bottom: 0px;
  padding: 12px 16px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}
:where(.tpl-interior) .list-box {
  background-color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 1px 1px 6px rgba(0,0,0,0.1);
  max-width: 500px;
}
:where(.tpl-interior) .feature {
  margin-bottom: 8px;
  /* menos separación entre items */
  padding: 6px 10px 6px 30px;
  /* menos padding */
  border-radius: 6px;
  position: relative;
  transition: all 0.2s ease;
  cursor: pointer;
}
:where(.tpl-interior) .feature:hover {
  background-color: #eaf4ff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
:where(.tpl-interior) .feature::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 8px;
  width: 18px;
  height: 18px;
  background-image: url("../sm/iconos/ico_ok_2.png");
  /* Usa aquí tu imagen */
  background-size: contain;
  background-repeat: no-repeat;
}
:where(.tpl-interior) .feature-title {
  font-size: 14px;
  /* más pequeño */
  align-content: left;
  color: #333;
  font-weight: bold;
  line-height: 1.2;
}
:where(.tpl-interior) .feature-description {
  font-size: 13px;
  color: #555;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
  margin-top: 3px;
}
:where(.tpl-interior) .feature:hover .feature-description {
  opacity: 1;
  max-height: 60px;
  /* menos espacio */
}

/* --------------------------------------------------------------------------
   Componente: preguntas frecuentes SEO
   -------------------------------------------------------------------------- */
.seo-faq {
  padding: 60px 0;
  background: #f7f9fc;
}
.seo-faq .wrap {
  width: min(1120px,calc(100% - 36px));
  margin: auto;
}
.seo-faq h2 {
  font-size: 34px;
  margin: 0 0 24px;
}
.seo-faq article {
  margin: 0 0 22px;
}
.seo-faq h3 {
  margin: 0 0 7px;
  font-size: 20px;
}
.seo-faq p {
  margin: 0;
  color: #607087;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Componente: bloque long-tail SEO
   -------------------------------------------------------------------------- */
.seo-longtail {
  padding: 70px 0;
  background: #fff;
}
.seo-longtail .wrap {
  width: min(1120px,calc(100% - 36px));
  margin: auto;
}
.seo-longtail h2 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 14px;
}
.seo-longtail>.wrap>p {
  color: #607087;
  line-height: 1.7;
  max-width: 850px;
}
.seo-longtail-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
  margin-top: 28px;
}
.seo-longtail-card {
  border: 1px solid #dfe8f1;
  border-radius: 18px;
  padding: 24px;
}
.seo-longtail-card h3 {
  font-size: 20px;
  margin: 0 0 9px;
}
.seo-longtail-card p {
  color: #607087;
  line-height: 1.7;
  margin: 0;
}
@media (max-width:760px) {
  .seo-longtail-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Antiguos atributos style="" en línea
   Llevan !important para conservar la prioridad que tenía el estilo en línea.
   -------------------------------------------------------------------------- */
.campo-trampa {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.btn-h35 {
  height: 35px !important;
}
.eyebrow-green {
  color: #168452 !important;
}
.foot-tagline {
  font-size: 13px !important;
}
.img-bg-white {
  background-color: #ffffff !important;
}
.justify-center {
  justify-content: center !important;
}
.mod-destacado {
  margin: 0 0 30px !important;
  padding: 28px !important;
  border-radius: 26px !important;
  background: linear-gradient(135deg,#07172b,#12385c) !important;
  color: #fff !important;
  box-shadow: 0 20px 45px rgba(7,23,43,.18) !important;
}
.mod-destacado-card {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  padding: 24px !important;
  border-radius: 22px !important;
}
.mod-destacado-card-text {
  color: #c1cedb !important;
  line-height: 1.65 !important;
  margin: 10px 0 0 !important;
}
.mod-destacado-card-title {
  font-size: 18px !important;
}
.mod-destacado-emoji {
  font-size: 42px !important;
  margin-bottom: 10px !important;
}
.mod-destacado-eyebrow {
  color: #68d9ff !important;
}
.mod-destacado-grid {
  display: grid !important;
  grid-template-columns: 1.15fr .85fr !important;
  gap: 24px !important;
  align-items: center !important;
}
.mod-destacado-text {
  color: #c1cedb !important;
  line-height: 1.75 !important;
  margin: 0 0 20px !important;
}
.mod-destacado-title {
  font-size: clamp(28px,3vw,40px) !important;
  line-height: 1.08 !important;
  margin: 9px 0 14px !important;
  letter-spacing: -.03em !important;
}
.mt-0 {
  margin-top: 0 !important;
}
.mt-22 {
  margin-top: 22px !important;
}
.mt-24 {
  margin-top: 24px !important;
}
.mt-8 {
  margin-top: 8px !important;
}
.no-underline {
  text-decoration: none !important;
}
.pos-rel {
  position: relative !important;
}
.pt-20 {
  padding-top: 20px !important;
}
.pt-30 {
  padding-top: 30px !important;
}
.seo-topic-inner {
  max-width: 1120px !important;
  margin: auto !important;
}
.seo-topic-intro {
  line-height: 1.7 !important;
  color: #607087 !important;
}
.seo-topic-list {
  line-height: 2 !important;
}
.seo-topic-section {
  padding: 55px 20px !important;
  background: #f7f9fc !important;
}
.tabla-baja {
  border-collapse: collapse !important;
  font-family: sans-serif !important;
}
.txt-muted-17 {
  color: var(--muted) !important;
  line-height: 1.7 !important;
}
.txt-muted-175 {
  color: var(--muted) !important;
  line-height: 1.75 !important;
}
.w-full {
  width: 100% !important;
}
