:root {
  /* Paleta de la publicidad de KioPOS: azul marino profundo + verde vivo, con blanco de apoyo. */
  --navy: #0B2A5E;
  --navy-deep: #071C45;
  --navy-light: #12418A;
  --red: #E5484D;
  --blue: #1F5FBF;
  --yellow: #F5B301;
  --green: #16A34A;
  --green-bright: #22C55E;

  --bg: #ffffff;
  --bg-alt: #EAF1FB;
  --text: #0F1E3D;
  --text-muted: #4B5870;
  --border: #D5E0F0;

  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(26, 29, 35, 0.15);
  --container-w: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; font-weight: 700; }
h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(24px, 3.5vw, 32px); }
h3 { font-size: 18px; margin-bottom: 8px; }
p { margin: 0 0 16px; color: var(--text-muted); }

a { color: inherit; }

/* ---- Brand mark ---- */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-mark {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.site-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}
.site-nav a:hover { color: var(--text); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(59, 130, 246, 0.55);
}
.btn-primary:hover { box-shadow: 0 12px 26px -10px rgba(59, 130, 246, 0.6); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--bg-alt); }
.btn-small { padding: 9px 18px; font-size: 14px; }
.btn-large { padding: 16px 32px; font-size: 17px; }

/* ---- Hero ---- */
.hero { padding: 72px 0 96px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.lead { font-size: 18px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* ---- Hero visual mock ---- */
.mock-window {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-titlebar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-body { display: flex; min-height: 260px; }
.mock-sidebar {
  width: 56px;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock-sidebar-item { height: 10px; border-radius: 5px; background: var(--border); }
.mock-sidebar-item--active { background: var(--blue); }
.mock-content { flex: 1; padding: 20px; }
.mock-stat-row { display: flex; gap: 12px; margin-bottom: 18px; }
.mock-stat { flex: 1; height: 54px; border-radius: 10px; opacity: 0.85; }
.mock-stat--red { background: color-mix(in srgb, var(--red) 18%, white); }
.mock-stat--blue { background: color-mix(in srgb, var(--blue) 18%, white); }
.mock-stat--green { background: color-mix(in srgb, var(--green) 18%, white); }
.mock-table { display: flex; flex-direction: column; gap: 10px; }
.mock-row { height: 14px; border-radius: 6px; background: var(--border); }
.mock-row:nth-child(2) { width: 90%; }
.mock-row:nth-child(3) { width: 75%; }
.mock-row:nth-child(4) { width: 85%; }

/* ---- Section heading ---- */
.section-heading { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-heading p { font-size: 16px; }

/* ---- Products (suite overview) ---- */
.products { padding: 88px 0; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
}
.product-card--soon { box-shadow: none; }
.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.product-icon--kiosa { background: color-mix(in srgb, var(--blue) 15%, white); }
.product-icon--kiopos { background: color-mix(in srgb, var(--green) 15%, white); }
.product-icon--kiohuman { background: color-mix(in srgb, var(--yellow) 20%, white); }
.product-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.product-badge--live { background: color-mix(in srgb, var(--green) 16%, white); color: var(--green); }
.product-badge--soon { background: var(--bg-alt); color: var(--text-muted); border: 1px solid var(--border); }
.product-card h3 { font-size: 20px; margin-bottom: 2px; }
.product-tag {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.product-card > p { font-size: 15px; margin-bottom: 18px; }
.product-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex: 1;
}
.product-features li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}
.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.product-card .btn { width: 100%; }

/* ---- Features ---- */
.features { padding: 88px 0; background: var(--bg-alt); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-icon--red { background: color-mix(in srgb, var(--red) 15%, white); }
.feature-icon--blue { background: color-mix(in srgb, var(--blue) 15%, white); }
.feature-icon--yellow { background: color-mix(in srgb, var(--yellow) 20%, white); }
.feature-icon--green { background: color-mix(in srgb, var(--green) 15%, white); }
.feature-card p { margin: 0; font-size: 15px; }

/* ---- How it works ---- */
.how-it-works { padding: 88px 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step { text-align: center; padding: 0 12px; }
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 16px;
}
.step p { font-size: 15px; }

/* ---- CTA banner ---- */
.cta-banner {
  background: var(--text);
  color: #fff;
  padding: 64px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-banner h2 { color: #fff; margin: 0; }

/* ---- Contact ---- */
.contact { padding: 88px 0; text-align: center; background: var(--bg-alt); }

/* ---- Footer ---- */
.site-footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand p { margin: 8px 0 0; font-size: 13px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; font-size: 14px; color: var(--text-muted); font-weight: 600; }
.footer-nav a:hover { color: var(--text); }
.footer-nav-muted { opacity: 0.55; cursor: default; }
.footer-copy { width: 100%; font-size: 13px; color: var(--text-muted); margin: 24px 0 0; }

/* ---- Registro (registro.html) ---- */
.register-section { padding: 72px 0 96px; }
.register-container {
  max-width: 480px;
  text-align: center;
}
.register-intro .lead { margin: 0 auto 36px; }
.register-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: left;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.form-field input,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent);
}
.form-field-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  background: color-mix(in srgb, var(--red) 10%, white);
  color: var(--red);
  border: 1px solid color-mix(in srgb, var(--red) 30%, white);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  margin: 0 0 16px;
}
.register-card .btn { width: 100%; margin-top: 6px; }
.register-success { text-align: center; padding: 12px 0; }
.success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--green) 18%, white);
  color: var(--green);
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.register-success h2 { margin-bottom: 8px; }
.register-success p { margin: 0; }
.success-redirect { margin-top: 10px !important; font-size: 13px; color: var(--text-muted); }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .site-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .header-inner { height: 60px; }
}

/* ---- Compra (compra.html) ---- */
.inline-link { color: var(--blue); font-weight: 600; }
.price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 22px;
}
.price-box span { color: var(--text-muted); font-size: 14px; font-weight: 600; }
.price-box strong { font-size: 24px; letter-spacing: -0.02em; }
.optional { font-weight: 400; color: var(--text-muted); }
.form-note { font-size: 12px; text-align: center; margin: 14px 0 0; }
.form-error a { color: inherit; font-weight: 700; }

/* ---- Renovacion (renovar.html) ---- */
.renew-info { margin: 0 0 22px; display: grid; gap: 12px; }
.renew-info div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.renew-info dt { color: var(--text-muted); font-size: 14px; }
.renew-info dd { margin: 0; font-weight: 700; text-align: right; }

/* ---- Paginas de herramientas y de producto ---- */
.page-hero { padding: 64px 0 56px; background: var(--bg-alt); border-bottom: 1px solid var(--border); text-align: center; }
.page-hero .lead { margin: 0 auto 28px; max-width: 660px; }
.page-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.status-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.status-pill--live { background: color-mix(in srgb, var(--green) 16%, white); color: var(--green); }
.status-pill--soon { background: #fff; color: var(--text-muted); border: 1px solid var(--border); }
.breadcrumb { font-size: 13px; color: var(--text-muted); margin: 0 0 18px; }
.breadcrumb a { color: var(--blue); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

.page-section { padding: 72px 0; }
.page-section--alt { background: var(--bg-alt); }
.section-heading--left { text-align: left; margin-left: 0; }

.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.module-grid--2 { grid-template-columns: repeat(2, 1fr); }
.module-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.module-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
  background: color-mix(in srgb, var(--blue) 14%, white);
}
.module-card h3 { margin-bottom: 6px; }
.module-card > p { font-size: 15px; margin-bottom: 4px; }
.module-card ul { list-style: none; margin: 12px 0 0; padding: 0; }
.module-card li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}
.module-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.module-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 12%, white);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.module-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--blue); text-decoration: none; }
.module-link:hover { text-decoration: underline; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fact { text-align: center; padding: 8px 12px; }
.fact strong { display: block; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 4px; }
.fact span { font-size: 14px; color: var(--text-muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th, .compare-table td {
  padding: 13px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.compare-table thead th { background: var(--bg-alt); font-size: 14px; text-transform: none; color: var(--text); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--green); font-weight: 700; }
.compare-table .no { color: #b9bfcb; }
.compare-table .partial { color: var(--text-muted); font-size: 13px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  font-size: 15px;
  color: var(--text-muted);
  padding-left: 26px;
  position: relative;
  margin-bottom: 12px;
}
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.check-list strong { color: var(--text); }

.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: 12px; background: #fff; margin-bottom: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--text-muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 16px; font-size: 15px; }

.product-card .card-more { display: block; text-align: center; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--blue); text-decoration: none; }
.product-card .card-more:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .module-grid, .module-grid--2 { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .page-hero { padding: 48px 0 40px; }
  .page-section { padding: 52px 0; }
  /* con varias paginas, el menu no se oculta: pasa a una fila con scroll horizontal */
  .header-inner { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 8px; gap: 8px 16px; }
  .site-nav { display: flex; order: 3; width: 100%; flex: none; overflow-x: auto; justify-content: flex-start; gap: 20px; padding-bottom: 6px; }
  .site-nav a { white-space: nowrap; }
}
@media (max-width: 560px) {
  .module-grid, .module-grid--2 { grid-template-columns: 1fr; }
  .header-inner { height: auto; }
}
@media (max-width: 860px) {
  .site-nav { scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
}

/* =====================================================================
   Tema de color (azul marino + verde, como la publicidad). Va al final para
   sobreescribir el estilo base sin tocar el HTML de cada pagina.
   ===================================================================== */
.accent { color: var(--green-bright); }

/* Botones: el principal es verde (como "Solicita mas informacion" del anuncio). */
.btn-primary {
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  box-shadow: 0 10px 22px -8px rgba(22, 163, 74, 0.6);
}
.btn-primary:hover { box-shadow: 0 14px 28px -10px rgba(22, 163, 74, 0.7); }
.btn-secondary { border-color: var(--navy); color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }

/* Encabezado azul con filo verde */
.site-header {
  background: rgba(7, 28, 69, 0.96);
  border-bottom: 3px solid var(--green);
}
.site-header .brand { color: #fff; }
.site-header .btn-secondary { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.site-header .btn-secondary:hover { background: #fff; color: var(--navy); }
.site-nav a { color: rgba(255, 255, 255, 0.78); }
.site-nav a:hover { color: var(--green-bright); }

/* Portada: degradado azul, esquina verde en diagonal y texto claro */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: linear-gradient(225deg, var(--green) 0 34%, transparent 34%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.28), transparent 68%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .lead, .hero p { color: rgba(255, 255, 255, 0.82); }
.hero strong { color: #fff; }
.hero .eyebrow { color: var(--green-bright); }
.hero .btn-secondary { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.hero .btn-secondary:hover { background: #fff; color: var(--navy); }
.mock-window { border: 0; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55); }
.mock-sidebar-item--active { background: var(--green); }

/* Titulos de seccion con subrayado verde */
.section-heading h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--green);
  margin: 12px auto 0;
}
.section-heading--left h2::after { margin-left: 0; }

/* Productos: fondo azul claro y tarjetas con filo de color */
.products { background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
.product-card { border-top: 5px solid var(--green); }
.product-card--soon { border-top-color: var(--navy-light); box-shadow: var(--shadow); }
.product-tag { color: var(--navy-light); }
.product-icon--kioerp { background: color-mix(in srgb, var(--navy-light) 14%, white); }
.card-more, .product-card .card-more { color: var(--green) !important; }

/* Caracteristicas sobre azul marino */
.features { background: linear-gradient(160deg, var(--navy-deep), var(--navy)); }
.features .section-heading h2 { color: #fff; }
.features .section-heading p { color: rgba(255, 255, 255, 0.78); }
.feature-card { border: 0; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.5); }

/* Como funciona */
.step-number { background: linear-gradient(135deg, var(--green-bright), var(--green)); box-shadow: 0 8px 18px -6px rgba(22, 163, 74, 0.6); }

/* Banda de llamada a la accion en verde */
.cta-banner { background: linear-gradient(100deg, #0F7A36, var(--green) 55%, var(--green-bright)); }
.cta-banner .btn-primary { background: #fff; color: var(--navy); box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.35); }

/* Contacto y pie en azul profundo */
.contact { background: var(--navy-deep); }
.contact h2 { color: #fff; }
.contact p { color: rgba(255, 255, 255, 0.78); }
.site-footer { background: #05122F; border-top: 0; }
.site-footer .brand-name { color: #fff; }
.footer-brand p, .footer-copy { color: rgba(255, 255, 255, 0.6); }
.footer-nav a { color: rgba(255, 255, 255, 0.78); }
.footer-nav a:hover { color: var(--green-bright); }

/* Paginas internas: cabecera azul */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, var(--navy-light));
  border-bottom: 4px solid var(--green);
  color: #fff;
}
.page-hero h1 { color: #fff; }
.page-hero p, .page-hero .lead { color: rgba(255, 255, 255, 0.82); }
.page-hero .btn-secondary { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.page-hero .btn-secondary:hover { background: #fff; color: var(--navy); }
.breadcrumb, .page-hero .breadcrumb { color: rgba(255, 255, 255, 0.7); }
.breadcrumb a { color: var(--green-bright); }
.status-pill--live { background: var(--green); color: #fff; }
.status-pill--soon { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.3); }

.page-section--alt { background: var(--bg-alt); }
.module-card { border-top: 4px solid var(--navy-light); }
.module-icon { background: color-mix(in srgb, var(--green) 14%, white); }
.module-tag { color: var(--navy-light); background: color-mix(in srgb, var(--navy-light) 12%, white); }
.module-link, .inline-link { color: var(--green); }
.fact strong { color: var(--navy); }
.compare-table thead th { background: var(--navy); color: #fff; }
.faq details { border-color: var(--border); }
.faq summary::after { color: var(--green); }

/* Formularios (registro, compra, renovacion, timbres): fondo azul y tarjeta blanca */
.register-section { background: linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, var(--navy-light)); }
.register-intro h1 { color: #fff; }
.register-intro .lead, .register-intro p { color: rgba(255, 255, 255, 0.82); }
.register-card { background: #fff; border: 0; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55); }
.form-field input:focus, .form-field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 20%, transparent); }
.price-box { background: var(--bg-alt); }

/* ---- Paquetes de timbres (timbres.html) ---- */
.package-list { display: grid; gap: 12px; margin-bottom: 18px; }
.package-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.package-card strong { display: block; font-size: 16px; }
.package-card span { font-size: 13px; color: var(--text-muted); }
.package-card .btn { white-space: nowrap; padding: 11px 18px; font-size: 14px; }
@media (max-width: 560px) {
  .package-card { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ---- Division de AlphaPyME: franja superior y pie ---- */
.parent-bar { background: #05122F; color: rgba(255, 255, 255, 0.7); font-size: 12px; }
.parent-bar-inner { display: flex; align-items: center; gap: 10px; height: 34px; justify-content: flex-end; }
.parent-logo { height: 18px; width: auto; display: block; }
.footer-parent { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.75) !important; font-size: 13px !important; margin-top: 14px !important; }
.footer-parent .parent-logo { height: 22px; }
@media (max-width: 560px) { .parent-bar-inner { justify-content: center; } }

/* ---- Pagina de precios ---- */
.price-grid { display: grid; gap: 24px; max-width: 880px; margin: 0 auto; }
.price-grid--2 { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 5px solid var(--navy-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
}
.price-card--featured { border-top-color: var(--green); box-shadow: 0 24px 50px -22px rgba(11, 42, 94, 0.45); }
.price-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.price-badge--alt { background: var(--navy-light); }
.price-card h3 { font-size: 22px; margin-bottom: 4px; color: var(--navy); }
.price-tagline { font-size: 15px; margin-bottom: 14px; }
.price-amount { margin: 0 0 6px; color: var(--text-muted); }
.price-amount strong { font-size: 44px; letter-spacing: -0.03em; color: var(--navy); line-height: 1; }
.price-amount span { font-size: 15px; font-weight: 600; }
.price-users { font-size: 14px; margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.price-card .check-list { flex: 1; margin: 14px 0 24px; }
.price-card .check-list li { font-size: 14.5px; margin-bottom: 9px; }
.price-card .btn { width: 100%; }
.price-link { display: block; text-align: center; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--green); text-decoration: none; }
.price-link:hover { text-decoration: underline; }
.price-note { font-size: 13px; background: var(--bg-alt); border-radius: 10px; padding: 12px 14px; margin: 0; }
@media (max-width: 760px) { .price-grid--2 { grid-template-columns: 1fr; } }

.price-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 880px; }
.price-card--mini { padding: 24px 22px; text-align: center; }
.price-card--mini .price-badge { align-self: center; }
.price-card--mini .price-tagline { margin-bottom: 0; }
.price-footnote { max-width: 880px; margin: 22px auto 0; text-align: center; font-size: 14px; }
@media (max-width: 760px) { .price-grid--3 { grid-template-columns: 1fr; } }

.price-grid--wide { max-width: 1080px; }

