/**
 * Alnitak Informática — Tema Claro 2025
 * Paleta: Blanco limpio · Azul confianza · Gris suave
 * Estilo: Minimalista SaaS, espacio generoso, tipografía nítida
 */

/* ============================================================
   VARIABLES GLOBALES
   ============================================================ */
:root {
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
  --font-heading: "Nunito", sans-serif;
  --font-nav:     "Inter", sans-serif;

  /* Colores principales */
  --blue:         #2563eb;   /* azul principal — confianza */
  --blue-hover:   #1d4ed8;
  --blue-light:   #eff6ff;   /* fondos de tarjetas/badges azules */
  --blue-border:  #bfdbfe;

  --ink:          #0f172a;   /* texto titulares */
  --body:         #475569;   /* texto de párrafo */
  --muted:        #94a3b8;   /* texto secundario */

  --bg:           #ffffff;
  --bg-alt:       #f5f7fa;   /* secciones alternas muy suaves */
  --bg-blue-tint: #f5f7fa;   /* tinte muy leve */
  --surface:      #ffffff;
  --border:       #e2e8f0;
  --border-light: #f1f5f9;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-xs: 0 1px 3px rgba(15,23,42,.06);
  --shadow-sm: 0 2px 8px rgba(15,23,42,.07), 0 1px 3px rgba(15,23,42,.04);
  --shadow-md: 0 4px 20px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.04);
  --shadow-lg: 0 12px 40px rgba(15,23,42,.10), 0 4px 12px rgba(15,23,42,.05);
  --shadow-xl: 0 24px 64px rgba(15,23,42,.12), 0 8px 24px rgba(15,23,42,.06);

  /* Colores de marca Alnitak */
  --color-primary:   #15A0DC;   /* azul corporativo */
  --color-secondary: #EF8307;   /* naranja corporativo */

  /* Compatibilidad con clases de Bootstrap / vendor */
  --accent-color: var(--blue);
  --heading-color: var(--ink);
  --default-color: var(--body);
  --background-color: var(--bg);
  --surface-color: var(--surface);
  --contrast-color: #ffffff;
}

/* ============================================================
   SUBPÁGINAS — page title + breadcrumb
   ============================================================ */
.page-title {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 28px 0 24px;
  margin-bottom: 0;
}
.page-title h1 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
}
.breadcrumbs ol {
  list-style: none;   /* quita los números */
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumbs ol li {
  font-size: .83rem;
  color: var(--muted);
}
.breadcrumbs ol li + li::before {
  content: '›';
  margin-right: 6px;
  color: var(--muted);
}
.breadcrumbs ol li a {
  color: var(--blue);
  text-decoration: none;
}
.breadcrumbs ol li a:hover { text-decoration: underline; }
.breadcrumbs ol li.current { color: var(--body); font-weight: 500; }

/* Contenido interior de subpáginas */
.starter-section {
  padding: 64px 0 80px;
  overflow: visible; /* override section { overflow: hidden } */
}


/* policy-body: usado en política de privacidad y cookies */
.policy-body {
  max-width: 860px;
}
.policy-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.policy-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 32px 0 10px;
}
.policy-body p {
  color: var(--body);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}
.policy-body ul {
  padding-left: 1.4rem;
  margin-bottom: 16px;
  color: var(--body);
  font-size: .95rem;
  line-height: 1.8;
}
.policy-body ul li { margin-bottom: 4px; }
.policy-body a { color: var(--blue); text-decoration: none; }
.policy-body a:hover { text-decoration: underline; }
.policy-body strong { color: var(--ink); font-weight: 600; }
.policy-body em { color: var(--muted); font-size: .9rem; }
.policy-body code {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: .84rem;
  color: #c7254e;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* ============================================================
   SUBPÁGINAS — compensar header fijo
   ============================================================ */
.starter-page-page main,
.service-details-page main {
  padding-top: 92px;
}

/* Header siempre visible (blanco) en subpáginas, sin esperar scroll */
.starter-page-page #header,
.service-details-page #header {
  background: rgba(255,255,255,.97) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.starter-page-page .navmenu a,
.service-details-page .navmenu a,
.starter-page-page .mobile-nav-toggle,
.service-details-page .mobile-nav-toggle {
  color: var(--ink) !important;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.2;
  margin-top: 0;
}

a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-hover); }

section { overflow: hidden; }

/* ============================================================
   UTILIDADES
   ============================================================ */
.section-pad     { padding: 120px 0; }
.section-pad-sm  { padding: 80px 0; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}
.tag-blue   { color: var(--blue);   background: var(--blue-light);   border: 1px solid var(--blue-border); }
.tag-green  { color: #16a34a;       background: #f0fdf4;             border: 1px solid #bbf7d0; }
.tag-purple { color: #7c3aed;       background: #f5f3ff;             border: 1px solid #ddd6fe; }
.tag-amber  { color: #b45309;       background: #fffbeb;             border: 1px solid #fde68a; }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .925rem;
  padding: 11px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  line-height: 1;
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,.35);
}
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}
.btn-ghost {
  background: var(--bg-alt);
  border-color: var(--border);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--blue-light);
  border-color: var(--blue-border);
  color: var(--blue);
}

/* Herencia Bootstrap */
.btn-primary.btn    { background: var(--blue); border-color: var(--blue); color:#fff; }
.btn-primary.btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); color:#fff; transform:translateY(-1px); box-shadow:0 6px 20px rgba(37,99,235,.3); }
.btn-outline-primary.btn { border-color: var(--blue); color: var(--blue); background:transparent; }
.btn-outline-primary.btn:hover { background: var(--blue); color:#fff; }

/* ============================================================
   FORMULARIO (PHP Email Form)
   ============================================================ */
.php-email-form .error-message {
  display: none;
  background: #fee2e2;
  color: #991b1b;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid #fca5a5;
  margin-bottom: 20px;
  font-size: .9rem;
  font-weight: 600;
}
.php-email-form .sent-message {
  display: none;
  background: #dcfce7;
  color: #166534;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid #86efac;
  margin-bottom: 20px;
  font-size: .9rem;
  font-weight: 600;
}
.php-email-form .loading {
  display: none;
  background: var(--bg-alt);
  text-align: center;
  padding: 14px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: .9rem;
}
.php-email-form .loading::before {
  content: "";
  display: inline-block;
  width: 18px; height: 18px;
  margin: 0 10px -4px 0;
  border: 2.5px solid var(--blue);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background .3s, box-shadow .3s, padding .3s;
  background: transparent;
}

/* Transparente sobre el hero claro — borde suave */
.header:not(.scrolled) {
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  transition: padding .3s;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.header.scrolled .header-container { padding-top: 14px; padding-bottom: 14px; }

/* Logo */
.header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.header .logo img    { height: 72px; width: auto; }
.header .sitename {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.3px;
}
.header .sitename span { color: var(--blue); }

/* Nav desktop */
@media (min-width: 1200px) {
  .navmenu ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    gap: 2px;
    align-items: center;
  }
  .navmenu a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 7px 14px;
    font-family: var(--font-nav);
    font-size: .875rem;
    font-weight: 500;
    color: var(--ink);
    border-radius: var(--radius-xs);
    transition: background .15s, color .15s;
    text-decoration: none;
  }
  .navmenu a:hover,
  .navmenu a.active {
    color: var(--blue);
    background: var(--blue-light);
  }
}

/* Ocultar hamburguesa en escritorio */
.mobile-nav-toggle { display: none; }

/* Nav mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    display: block;
    font-size: 26px;
    color: var(--ink);
    cursor: pointer;
    transition: color .2s;
    line-height: 0;
  }
  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    top: 72px; left: 16px; right: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    margin: 0;
    z-index: 999;
  }
  .navmenu a {
    display: block;
    padding: 13px 24px;
    font-size: .95rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    transition: background .15s, color .15s;
  }
  .navmenu a:hover, .navmenu a.active {
    background: var(--blue-light);
    color: var(--blue);
  }
  .mobile-nav-active .navmenu ul { display: block; }
  .mobile-nav-active .mobile-nav-toggle { color: var(--blue); }
}

/* Botón Ayuda Online */
.btn-getstarted {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #fff !important;
  text-decoration: none;
  transition: all .18s;
  white-space: nowrap;
  border: 1.5px solid var(--blue);
}
.btn-getstarted:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}

/* ============================================================
   HERO — FONDO CLARO
   ============================================================ */
.hero {
  padding: 180px 0 120px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* Círculos decorativos sutiles */
.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.07) 0%, transparent 70%);
  top: -200px; right: -150px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.05) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  pointer-events: none;
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: var(--orange);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2.4s ease infinite;
}
.hero-badge--local {
  background: var(--blue-light);
  border-color: var(--blue-border);
  color: var(--blue);
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(.75); }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.8px;
  margin-bottom: 28px;
  overflow: visible;
}
.hero h1 .accent {
  color: var(--blue);
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--body);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 44px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero-verifactu-cta {
  display: inline-flex;
  align-items: center;
}
.hero-verifactu-img {
  height: 38px;
  width: auto;
  opacity: .85;
  transition: opacity .2s;
}
.hero-verifactu-img:hover { opacity: 1; }

.trust-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.trust-strip .ts-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .8px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--body);
  font-weight: 500;
}
.trust-item i { color: #22c55e; font-size: 14px; }

/* Hero imagen */
.hero-visual { position: relative; }
.hero-img-wrap { position: relative; }
.hero-img-wrap img {
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  border: none;
}

/* Float cards sobre la imagen */
.hero-float-anchor {
  position: absolute;
}
.hero-float-anchor.f1 { bottom: 72px; left: 60px; }
.hero-float-anchor.f2 { bottom: 24px; right: -10px; }
.hero-float {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
}
.hero-float .fi-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.hero-float .fi-icon.blue   { background: var(--blue-light); color: var(--blue); }
.hero-float .fi-icon.green  { background: #f0fdf4; color: #16a34a; }
.hero-float .fi-meta { font-size: .74rem; color: var(--muted); font-weight: 400; }

/* ============================================================
   STATS
   ============================================================ */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 52px 0;
}
.stat-item { text-align: center; padding: 8px 16px; }
.stat-item .num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}
.stat-item .lbl {
  font-size: .875rem;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ============================================================
   SECCIÓN TÍTULO GENÉRICO
   ============================================================ */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 72px; }
.sec-head .tag { margin-bottom: 10px; display: inline-flex; }
.sec-head h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; color: var(--ink); margin: 0 0 18px; letter-spacing: -.3px; line-height: 1.08; }
.sec-head p  { color: var(--body); font-size: 1.1rem; line-height: 1.7; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--bg-alt); padding: 120px 0; }

.about-img-wrap { position: relative; padding-bottom: 40px; padding-right: 24px; }
.about-main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  display: block;
}
.about-secondary-img {
  position: absolute;
  bottom: 0; right: 0;
  width: 52%;
  border-radius: var(--radius-md);
  border: 3px solid #fff;
  box-shadow: var(--shadow-md);
}
.exp-badge {
  position: absolute;
  top: 24px; left: -16px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 16px 22px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 120px;
}
.exp-badge .exp-num  { font-family:var(--font-heading); font-size:1.9rem; font-weight:900; line-height:1; }
.exp-badge .exp-desc { font-size:.72rem; opacity:.85; margin-top:4px; line-height:1.35; }

.about-text-col { padding-left: 0; }
.about-sub   { font-size:.78rem; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--blue); display:block; margin-bottom:10px; }
.about-title { font-size:1.9rem; font-weight:900; margin-bottom:18px; }
.about-body  { color:var(--body); line-height:1.8; margin-bottom:22px; font-size:1rem; }

.check-list { list-style:none; padding:0; margin:0 0 32px; display:flex; flex-direction:column; gap:10px; }
.check-list li { display:flex; align-items:flex-start; gap:10px; font-size:.95rem; color:var(--body); }
.check-list li i { color:var(--blue); font-size:15px; margin-top:3px; flex-shrink:0; }

/* ============================================================
   VERTEX ERP
   ============================================================ */
.erp-section { background: var(--bg); padding: 120px 0; }

.product-eyebrow { margin-bottom: 10px; }
.product-title   { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight:700; line-height:1.08; letter-spacing:-.3px; margin-bottom:14px; }
.product-lead    { color:var(--body); font-size:1.05rem; line-height:1.75; max-width:540px; }

.product-logo { height: 48px; margin-bottom: 12px; }

.screenshot {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  display: block;
}

/* Bloques ERP apilados */
.erp-block {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.erp-block:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 40px;
}
/* Lista hero ERP */
.erp-hero-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.erp-hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .93rem;
  color: var(--text);
  line-height: 1.4;
}
.erp-hero-list li i {
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
/* Botón outline primario */
.btn-primary-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-primary-outline:hover {
  background: var(--color-primary);
  color: #fff;
}
/* Collage ERP */
.erp-header-top {
  margin-bottom: 32px;
}
.erp-collage-wrap {
  margin-bottom: 16px;
}
.erp-collage-img {
  width: 100%;
  height: auto;
  display: block;
}
.erp-collage-caption { display: none; }

.erp-block-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid #bde1f5;
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 10px;
}
.erp-block h3 { font-size:1.3rem; font-weight:800; margin-bottom:12px; }
.erp-block p  { color:var(--body); line-height:1.8; margin-bottom:18px; }

.feat-list { list-style:none; padding:0; display:flex; flex-direction:column; gap:9px; }
.feat-list li { display:flex; align-items:flex-start; gap:9px; font-size:.925rem; color:var(--body); }
.feat-list li i { color:var(--blue); font-size:15px; margin-top:3px; flex-shrink:0; }
.feat-list li strong { color:var(--ink); }

.tab-img { border-radius:var(--radius-md); box-shadow:var(--shadow-md); width:100%; border:1px solid var(--border); }

/* ============================================================
   FEATURE CARDS (ERP)
   ============================================================ */
.feat-cards-section { background:var(--bg-alt); padding:100px 0; }

.feat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  height: 100%;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-border);
}
.feat-card-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.feat-card-icon.blue   { background:var(--blue-light);  color:var(--blue); }
.feat-card-icon.green  { background:#f0fdf4;  color:#16a34a; }
.feat-card-icon.orange { background:#fff7ed;  color:#ea580c; }
.feat-card-icon.purple { background:#f5f3ff;  color:#7c3aed; }

.feat-card h4 { font-size:1rem; font-weight:800; color:var(--ink); margin-bottom:8px; }
.feat-card p  { font-size:.9rem; color:var(--body); line-height:1.65; margin:0; }

/* ============================================================
   CTA BANNER — FONDO CLARO AZUL
   ============================================================ */
.cta-band {
  background: var(--blue-light);
  border-top: 1px solid var(--blue-border);
  border-bottom: 1px solid var(--blue-border);
  padding: 72px 0;
  text-align: center;
}
.cta-band h3 {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 10px;
}
.cta-band p {
  color: var(--body);
  max-width: 500px;
  margin: 0 auto 32px;
  font-size: 1rem;
}
.cta-band .cta-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   VERTEX ITINERE
   ============================================================ */
.itinere-section { background: var(--bg-alt); padding: 120px 0; }

.itinere-eyebrow { color:#7c3aed; background:#f5f3ff; border-color:#ddd6fe; margin-bottom:10px; }

.itinere-title { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight:700; line-height:1.08; letter-spacing:-.3px; margin-bottom:14px; }
.itinere-lead  { color:var(--body); line-height:1.8; margin-bottom:28px; font-size:1rem; }
.itinere-note  { font-size:.85rem; color:var(--muted); display:flex; align-items:flex-start; gap:7px; line-height:1.5; }
.itinere-note i { color:var(--blue); flex-shrink:0; margin-top:2px; }

/* Trazabilidad visual */
.traz-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.traz-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: box-shadow .2s, transform .2s;
}
.traz-card:hover {
  box-shadow: 0 6px 20px rgba(21,160,220,.1);
  transform: translateY(-2px);
}
.traz-card-ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.traz-card-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.traz-type {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
}
.traz-card-body strong {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.traz-meta {
  font-size: .78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.traz-meta i { font-size: .8rem; }

/* Centros de coste visual */
.cc-visual {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.07);
}
.cc-header {
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  flex-wrap: wrap;
}
.cc-obra-label {
  font-size: .82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: .9;
}
.cc-badge {
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.cc-badge--activa { background: #15A0DC22; color: #15A0DC; border: 1px solid #15A0DC55; }
.cc-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  color: var(--body);
}
.cc-row--head {
  background: var(--bg-alt);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  padding: 9px 18px;
}
.cc-row i { color: var(--blue); margin-right: 5px; }
.cc-amount {
  font-weight: 700;
  color: var(--dark);
  font-size: .9rem;
  white-space: nowrap;
}
.cc-pill {
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
}
.cc-pill--ref  { background: #EAF6FD; color: #15A0DC; }
.cc-pill--warn { background: #FFF4E6; color: #EF8307; }
.cc-pill--ok   { background: #EDF7ED; color: #2E7D32; }
.cc-footer {
  display: flex;
  gap: 0;
  background: var(--bg-alt);
}
.cc-stat {
  flex: 1;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cc-stat + .cc-stat {
  border-left: 1px solid var(--border);
}
.cc-stat-label {
  font-size: .72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
}
.cc-stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}
.cc-pos { color: #2E7D32; }

.plat-badge {
  display:inline-flex; align-items:center; gap:6px;
  background:var(--bg-alt); border:1px solid var(--border);
  color:var(--body); font-size:.8rem; font-weight:600;
  padding:5px 12px; border-radius:100px;
}
.plat-badge i { color:var(--blue); }

.itin-feat { display:flex; gap:14px; align-items:flex-start; }
.itin-feat-icon {
  width:42px; height:42px;
  border-radius:var(--radius-sm);
  background:#f5f3ff; color:#7c3aed;
  display:flex; align-items:center; justify-content:center;
  font-size:18px; flex-shrink:0;
}
.itin-feat h4 { font-size:.925rem; font-weight:700; color:var(--ink); margin:0 0 4px; }
.itin-feat p  { font-size:.875rem; color:var(--body); line-height:1.6; margin:0; }

.device-frame { text-align:center; position:relative; }
.device-frame img { max-height:500px; filter:drop-shadow(0 20px 40px rgba(37,99,235,.15)); }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services-section { background:var(--bg); padding:120px 0; }

.svc-card {
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:36px 32px;
  height:100%;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.svc-card:hover {
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
  border-color:var(--blue-border);
}
.svc-icon {
  width:54px; height:54px;
  border-radius:var(--radius-sm);
  background:var(--blue-light);
  color:var(--blue);
  display:flex; align-items:center; justify-content:center;
  font-size:24px;
  margin-bottom:22px;
  transition:background .2s, color .2s;
}
.svc-card:hover .svc-icon { background:var(--blue); color:#fff; }
.svc-card h3 { font-size:1.05rem; font-weight:800; color:var(--ink); margin-bottom:10px; }
.svc-card p  { font-size:.9rem; color:var(--body); line-height:1.7; margin-bottom:20px; }
.svc-card--clickable { cursor: pointer; }
.svc-card--clickable:hover { border-color: var(--color-primary); }
.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
  transition: all .2s ease;
  text-decoration: none;
}
.svc-more:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21,160,220,.35);
}

/* CTA block al pie de la sección de servicios */
.svc-cta-block {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.svc-cta-block p {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
}
.svc-cta-block .svc-cta-sub {
  font-size: .9rem;
  font-weight: 400;
  color: var(--body);
  margin-top: 4px;
}
.svc-cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
/* Botón naranja de marca (reutilizable) */
.btn-orange {
  background: #EF8307 !important;
  border-color: #EF8307 !important;
  color: #fff !important;
}
.btn-orange:hover {
  background: #d4720a !important;
  border-color: #d4720a !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(239,131,7,.35);
}

/* ============================================================
   VERIFACTU — SECCIÓN DESTACADA (FONDO CLARO)
   ============================================================ */
.verifactu-section {
  background: var(--bg);
  padding: 96px 0;
  position: relative;
}

/* Línea azul lateral decorativa */
.verifactu-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--blue) 0%, #93c5fd 100%);
  opacity: 0;
}

.verifactu-title {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--ink);
  margin: 12px 0 16px;
  line-height: 1.2;
}
/* Especificidad mayor que .sec-head h2 para recuperar el margin-top correcto */
.sec-head .verifactu-title { margin-top: 16px; }
.verifactu-title span { color: var(--blue); }

.vf-lead { color:var(--body); font-size:1rem; line-height:1.8; margin-bottom:28px; }

.vf-point { display:flex; gap:14px; align-items:flex-start; }
.vf-icon {
  width:44px; height:44px;
  border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  font-size:19px; flex-shrink:0;
}
.vf-icon.blue   { background:var(--blue-light); color:var(--blue); }
.vf-icon.green  { background:#f0fdf4;           color:#16a34a; }
.vf-icon.amber  { background:#fffbeb;           color:#d97706; }
.vf-icon.purple { background:#f5f3ff;           color:#7c3aed; }
.vf-point h4 { font-size:.93rem; font-weight:700; color:var(--ink); margin:0 0 4px; }
.vf-point p  { font-size:.875rem; color:var(--body); line-height:1.6; margin:0; }

.deadline-box {
  background: var(--blue-light);
  border: 1px solid var(--blue-border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-size: .88rem;
  color: var(--body);
  line-height: 1.65;
}
.deadline-box strong { color: var(--ink); }
.deadline-box .ok   { color: #16a34a; font-weight: 700; display:flex; align-items:center; gap:6px; margin-top:8px; }

/* Factura mockup */
.invoice-wrap {
  position: relative;
}
.invoice-wrap::before {
  content: '';
  position: absolute;
  inset: -24px;
  background: radial-gradient(ellipse, rgba(37,99,235,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.invoice-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  position: relative;
}

/* Logos Verifactu strip */
.vf-logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.vf-logo-strip img { height: 34px; width: auto; opacity: .75; }
.vf-logo-strip img:hover { opacity: 1; }

/* ============================================================
   CLIENTES
   ============================================================ */
.clients-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.clients-label {
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
}
.client-logo {
  max-height: 48px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .45;
  transition: filter .25s, opacity .25s;
  margin: 0 auto;
}
.client-logo:hover { filter: none; opacity: .9; }

/* ============================================================
   CONTACTO
   ============================================================ */
/* ============================================================
   KIT DIGITAL
   ============================================================ */
.kd-section { background: var(--bg); padding: 120px 0; border-top: 1px solid var(--border); }

.kd-title { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; color: var(--ink); margin: 10px 0 16px; letter-spacing: -.2px; }
.kd-lead  { color: var(--body); font-size: 1.05rem; line-height: 1.75; max-width: 600px; margin-bottom: 24px; }

.kd-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: .9rem;
  color: #78350f;
  max-width: 600px;
}
.kd-notice i { font-size: 1.1rem; color: #d97706; flex-shrink: 0; margin-top: 2px; }

.kd-notice { align-self: center; }

.kd-banner { width: 100%; margin: 48px 0; }
.kd-banner-img { width: 100%; height: auto; border-radius: var(--radius-sm); display: block; }

/* Cards de precios */
.kd-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  position: relative;
  transition: box-shadow .2s;
}
.kd-card:hover { box-shadow: var(--shadow-md); }
.kd-card--highlight {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}
.kd-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #fff;
  background: var(--blue);
  border-radius: 100px;
  padding: 3px 12px;
  white-space: nowrap;
}
.kd-cat   { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); margin-bottom: 8px; }
.kd-price { font-size: 1.5rem; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.kd-price strong { font-size: 2rem; }
.kd-ref { display: block; font-size: .72rem; font-weight: 400; color: var(--muted); letter-spacing: .02em; margin-top: 2px; }
.kd-solution { font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.kd-desc  { font-size: .875rem; color: var(--body); line-height: 1.65; border-top: 1px solid var(--border); padding-top: 14px; margin-bottom: 14px; }
.kd-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.kd-features li { font-size: .85rem; color: var(--body); display: flex; align-items: center; gap: 7px; }
.kd-features i  { color: #22c55e; font-size: .95rem; flex-shrink: 0; }

.kd-disclaimer { font-size: .8rem; color: var(--muted); }
.kd-disclaimer a { color: var(--blue); text-decoration: none; }
.kd-disclaimer a:hover { text-decoration: underline; }
.kd-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 16px; font-size: .82rem; font-weight: 600; color: var(--blue); text-decoration: none; }
.kd-link:hover { text-decoration: underline; color: var(--blue); }
.kd-card--highlight .kd-link { color: var(--blue); }

/* Hero Kit Digital img */
.hero-kitdigital-img {
  height: 34px;
  width: auto;
  opacity: .8;
  transition: opacity .2s;
}
.hero-kitdigital-img:hover { opacity: 1; }

.contact-section { background: var(--bg); padding: 120px 0; }

.info-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  height: 100%;
}
.info-card h3 { color:var(--ink); font-size:1.4rem; margin-bottom:6px; }
.info-card .ic-sub { color:var(--muted); font-size:.9rem; margin-bottom:36px; }

.ci { display:flex; gap:14px; align-items:flex-start; margin-bottom:22px; }
.ci-icon {
  width:40px; height:40px;
  background:var(--blue-light);
  border-radius:var(--radius-xs);
  display:flex; align-items:center; justify-content:center;
  font-size:17px; color:var(--blue); flex-shrink:0;
}
.ci-lbl  { font-size:.72rem; text-transform:uppercase; letter-spacing:.8px; color:var(--muted); font-weight:600; margin-bottom:3px; }
.ci-val  { color:var(--ink); font-size:.93rem; line-height:1.5; }
.ci-val a { color:var(--blue); }

.info-card .social-row { margin-top:32px; padding-top:22px; border-top:1px solid var(--border); display:flex; gap:8px; }
.info-card .social-row a {
  width:36px; height:36px;
  background:var(--border);
  border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  color:var(--body); font-size:16px;
  transition:background .2s, color .2s;
}
.info-card .social-row a:hover { background:var(--blue); color:#fff; }

.form-card {
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:48px 40px;
  box-shadow:var(--shadow-sm);
}
.form-card h3  { font-size:1.3rem; font-weight:800; color:var(--ink); margin-bottom:6px; }
.form-card .form-sub { font-size:.9rem; color:var(--muted); margin-bottom:28px; }

.form-card label {
  display:block;
  font-size:.83rem; font-weight:600; color:var(--ink);
  margin-bottom:6px;
}
.form-card .form-control,
.form-card .form-select {
  background:var(--bg-alt);
  border:1.5px solid var(--border);
  border-radius:var(--radius-sm);
  padding:11px 15px;
  font-size:.9rem;
  color:var(--ink);
  width:100%;
  transition:border-color .18s, box-shadow .18s;
  font-family:var(--font-body);
}
.form-card .form-control:focus,
.form-card .form-select:focus {
  outline:none;
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(37,99,235,.12);
  background:#fff;
}
.form-card .form-control::placeholder { color:var(--muted); }

.map-box {
  border-radius:var(--radius-md);
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow:var(--shadow-sm);
  margin-top:20px;
}
.map-box iframe { display:block; width:100%; height:280px; border:none; }

/* ============================================================
   DECLARACIÓN RESPONSABLE — Verifactu
   ============================================================ */
.dec-intro {
  max-width: 800px;
  margin: 0 auto 48px;
  font-size: .97rem;
  color: var(--body);
  line-height: 1.8;
}
.dec-intro p { margin-bottom: 12px; }

.dec-section { margin-bottom: 48px; }
.dec-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.dec-section-title i { color: var(--blue); font-size: 1.2rem; }

.versiones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.version-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .2s, border-color .2s;
}
.version-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-border);
}
.version-card .ver-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  width: fit-content;
}
.version-card .ver-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  font-family: var(--font-heading);
}
.version-card .ver-fecha {
  font-size: .82rem;
  color: var(--muted);
}
.version-card a.ver-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border-light);
}
.version-card a.ver-download:hover { text-decoration: underline; }

.version-card--latest {
  border-color: #16a34a;
  border-width: 2px;
  box-shadow: var(--shadow-md);
}
.version-card--latest .ver-badge {
  background: #dcfce7;
  color: #15803d;
}
.version-card--latest .ver-num { color: #15803d; }
.version-card--latest a.ver-download { color: #15803d; }

.versiones-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 32px 0;
  font-size: .95rem;
}
.spin { animation: spin 1s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.versiones-error {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
}
.versiones-error a { color: #92400e; font-weight: 600; }

.dec-note {
  background: var(--blue-light);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .9rem;
  color: var(--body);
  margin-top: 8px;
}
.dec-note i { color: var(--blue); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.dec-note a { color: var(--blue); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}
.footer-brand p {
  font-size:.87rem;
  color:var(--body);
  line-height:1.7;
  max-width:280px;
  margin:14px 0 14px;
}
.footer-contact-info {
  list-style:none; padding:0; margin:0 0 18px;
  display:flex; flex-direction:column; gap:7px;
}
.footer-contact-info li {
  display:flex; align-items:center; gap:8px;
  font-size:.82rem; color:var(--body);
}
.footer-contact-info i { color:var(--blue); font-size:.9rem; flex-shrink:0; }
.footer-contact-info a { color:var(--body); text-decoration:none; }
.footer-contact-info a:hover { color:var(--blue); }
.footer-brand .brand-name {
  font-family:var(--font-heading);
  font-size:1.1rem;
  font-weight:800;
  color:var(--ink);
}
.footer-brand .logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.footer-brand img   { height:60px; }
.footer-socials { display:flex; gap:8px; }
.footer-socials a {
  width:34px; height:34px;
  background:var(--border);
  border-radius:7px;
  display:flex; align-items:center; justify-content:center;
  color:var(--body); font-size:15px;
  transition:background .2s, color .2s;
}
.footer-socials a:hover { background:var(--blue); color:#fff; }

.footer-col h4 {
  font-size:.77rem;
  font-weight:700;
  letter-spacing:1.1px;
  text-transform:uppercase;
  color:var(--ink);
  margin-bottom:16px;
}
.footer-col ul { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:9px; }
.footer-col ul a { color:var(--muted); font-size:.875rem; transition:color .15s; }
.footer-col ul a:hover { color:var(--blue); }

.footer-bottom {
  margin-top:56px;
  padding:20px 0;
  border-top:1px solid var(--border);
}
.footer-bottom p { font-size:.8rem; color:var(--muted); margin:0; }

.footer-subsidy {
  margin-top:48px;
  padding-top:32px;
  border-top:1px solid var(--border);
}
.footer-subsidy-link {
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
  text-decoration:none;
}
.footer-subsidy-text {
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.3px;
  text-transform:uppercase;
  color:var(--muted);
  max-width:640px;
  margin:0 auto;
  transition:color .15s;
}
.footer-subsidy-logos {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:36px;
}
.footer-subsidy-logos img {
  height:42px;
  width:auto;
  transition:opacity .15s;
}
.footer-subsidy-link:hover .footer-subsidy-text { color:var(--blue); }
.footer-subsidy-link:hover .footer-subsidy-logos img { opacity:.8; }

/* ============================================================
   COOKIE BANNER — RGPD conforme
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 9999;
  width: calc(100% - 32px);
  max-width: 620px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  transition: opacity .35s ease, transform .35s ease;
  opacity: 1;
}
.cookie-banner.cb-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  pointer-events: none;
}
.cookie-banner-inner { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.cookie-banner-icon { font-size: 1.4rem; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.cookie-banner-text { flex: 1; min-width: 200px; }
.cookie-banner-text strong { display: block; font-size: .88rem; color: var(--ink); margin-bottom: 5px; }
.cookie-banner-text p { font-size: .8rem; color: var(--body); margin: 0 0 7px; line-height: 1.55; }
.cookie-banner-text a { color: var(--blue); font-size: .78rem; text-decoration: none; }
.cookie-banner-text a:hover { text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  min-width: 148px;
}
.cookie-banner-actions button {
  font-size: .82rem;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
  font-family: var(--font-body);
  white-space: nowrap;
}
#accept-cookies { background: var(--blue); color: #fff; }
#accept-cookies:hover { background: var(--blue-hover); }
#reject-cookies { background: var(--bg-alt); color: var(--body); border: 1px solid var(--border); }
#reject-cookies:hover { border-color: var(--blue); color: var(--blue); }

/* Placeholder del mapa cuando no hay consentimiento */
.map-placeholder {
  width: 100%; height: 100%;
  min-height: 300px;
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}
.map-placeholder-inner { max-width: 280px; }
.map-placeholder i { font-size: 2rem; color: var(--muted); margin-bottom: 12px; display: block; }
.map-placeholder p { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.map-placeholder button {
  font-size: .82rem; padding: 9px 20px;
  background: var(--blue); color: #fff;
  border: none; border-radius: var(--radius-sm);
  font-weight: 600; cursor: pointer; transition: background .18s;
  font-family: var(--font-body);
}
.map-placeholder button:hover { background: var(--blue-hover); }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.cookie-settings-btn {
  position: fixed; left: 16px; bottom: 16px;
  z-index: 9997;
  width: 36px; height: 36px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 16px;
  cursor: pointer;
  transition: color .2s, background .2s, transform .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.cookie-settings-btn:hover {
  color: var(--blue);
  background: var(--blue-light);
  border-color: var(--blue-border);
  transform: scale(1.1);
}

.whatsapp-float {
  position: fixed; right: 22px; bottom: 72px;
  z-index: 9998;
  width: 48px; height: 48px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .45);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.07);
  box-shadow: 0 8px 24px rgba(37, 211, 102, .55);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--bg-alt); padding: 120px 0; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; padding: 20px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 1rem; font-weight: 600; color: var(--ink);
  text-align: left; cursor: pointer; transition: color .2s;
}
.faq-q:hover { color: var(--blue); }
.faq-q i { flex-shrink: 0; font-size: 1.1rem; transition: transform .25s; color: var(--blue); }
.faq-q[aria-expanded="true"] { color: var(--blue); }
.faq-q[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 4px 18px; }
.faq-a.open { display: block; }
.faq-a p { font-size: .92rem; color: var(--body); line-height: 1.7; margin: 0; }

/* ============================================================
   SCROLL TOP
   ============================================================ */
.scroll-top {
  position:fixed; right:22px; bottom:22px;
  z-index:9999;
  width:40px; height:40px;
  background:var(--blue);
  border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:20px;
  box-shadow:0 4px 16px rgba(37,99,235,.4);
  opacity:0; visibility:hidden;
  transition:all .25s;
}
.scroll-top.active { opacity:1; visibility:visible; }
.scroll-top:hover  { background:var(--blue-hover); color:#fff; transform:translateY(-2px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .hero { padding: 120px 0 72px; }
  .hero h1 { font-size: 2rem; }
  .about-img-wrap .about-secondary-img { display:none; }
  .exp-badge { left:0; }
  .device-frame img { max-height:380px; }
  .info-card, .form-card { padding: 32px 24px; }
}

@media (max-width: 575px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-ctas { flex-direction:column; }
  .hero-ctas .btn { width:100%; justify-content:center; }
  .hero-float { display:none; }
  .sec-head h2 { font-size: 2rem; }
  .cta-band .cta-btns { flex-direction:column; align-items:center; }
  .p-tabs .nav-tabs { flex-wrap:wrap; }
  .about-section, .erp-section, .itinere-section, .services-section,
  .verifactu-section, .kd-section, .contact-section { padding: 64px 0; }
}

/* ============================================================
   ERP — MOD CARDS (MÓDULOS VISUALES)
   ============================================================ */
.mod-card {
  background: #fff;
  border: 1px solid #e8eef6;
  border-radius: var(--radius-md);
  padding: 20px 16px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(15,23,42,.06);
  transition: transform .2s, box-shadow .2s;
}
.mod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(15,23,42,.12);
}
.mod-card.blue   .mod-card-ico { background: #e2f1f9; color: #15A0DC; }
.mod-card.orange .mod-card-ico { background: #fceedd; color: #EF8307; }
.mod-card.teal   .mod-card-ico { background: #e2f1f9; color: #15A0DC; }
.mod-card.green  .mod-card-ico { background: #fceedd; color: #EF8307; }
.mod-card-ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.mod-card h5 { font-size: .95rem; font-weight: 700; color: var(--ink) !important; margin: 0 0 4px; }
.mod-card p  { font-size: .84rem; color: var(--body) !important; margin: 0; line-height: 1.45; }
.mod-card--clickable { cursor: pointer; }
.mod-card--clickable:hover { border-color: var(--color-primary); }
.mod-card--clickable.blue:hover   .mod-card-ico { background: #15A0DC; color: #fff; }
.mod-card--clickable.orange:hover .mod-card-ico { background: #EF8307; color: #fff; }

/* ============================================================
   ERP — IMPLANTACIÓN (PASOS)
   ============================================================ */
.impl-steps { border-top: 1px solid var(--border); padding-top: 48px; }
.impl-title { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.impl-title i { color: var(--blue); margin-right: 4px; }
.impl-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  height: 100%;
}
.impl-num {
  font-size: .75rem;
  font-weight: 800;
  color: var(--blue);
  background: var(--blue-light);
  border-radius: 50%;
  min-width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.impl-step strong { font-size: .85rem; color: var(--ink); display: block; margin-bottom: 2px; }
.impl-step p { font-size: .8rem; color: var(--body); margin: 0; }

/* ============================================================
   ERP — SECTORES
   ============================================================ */
.sector-block {
  background: #15A0DC;
  border: none;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}
.sector-eyebrow {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: center;
  margin-bottom: 20px;
}
.sector-eyebrow i { margin-right: 5px; }
.sector-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.sector-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #EF8307;
  border: none;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  min-width: 110px;
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
  transition: transform .2s, box-shadow .2s;
  cursor: default;
}
.sector-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.sector-item--clickable { cursor: pointer; }
.sector-item--clickable:hover { background: #d4720a; }
.sector-item i {
  font-size: 28px;
  color: #fff;
  display: block;
}

/* ============================================================
   ITINERE — RUTERO BLOCK
   ============================================================ */
.rutero-block {
  background: linear-gradient(135deg, #e2f1f9 0%, #f8fafc 100%);
  border: 1px solid #c2cdd5;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}
.rutero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #15A0DC;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: 40px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.rutero-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #15242E;
  margin-bottom: 10px;
  line-height: 1.25;
}
.rutero-lead {
  font-size: .95rem;
  color: var(--body);
  margin-bottom: 18px;
  line-height: 1.6;
}
.rutero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rutero-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .9rem;
  color: var(--ink);
  font-weight: 500;
}
.rutero-list li i { color: #15A0DC; font-size: 16px; flex-shrink: 0; }
.rutero-img {
  border-radius: var(--radius-md);
  max-width: 100%;
  filter: drop-shadow(0 4px 16px rgba(21,36,46,.12));
}

/* ============================================================
   ITINERE — SUBTÍTULOS DE SECCIÓN
   ============================================================ */
.itin-sub-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #15242E;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 8px;
}
.itin-sub-title i { color: #7c3aed; }

/* ============================================================
   ITINERE — FUNCIONALIDADES CARDS
   ============================================================ */
.func-card {
  background: #fff;
  border: 1px solid #e8eef6;
  border-radius: var(--radius-md);
  padding: 20px 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  box-shadow: 0 2px 12px rgba(15,23,42,.06);
  transition: transform .2s, box-shadow .2s;
}
.func-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(15,23,42,.12);
}
.func-card-ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: #e2f1f9;
  color: #15A0DC;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.func-card h5 { font-size: .88rem; font-weight: 700; color: var(--ink); margin: 0 0 3px; }
.func-card p  { font-size: .78rem; color: var(--body); margin: 0; line-height: 1.4; }
.func-card--clickable { cursor: pointer; }
.func-card--clickable:hover { border-color: var(--color-primary); }
.func-card--clickable:hover .func-card-ico { background: var(--color-primary); color: #fff; }

/* Modal funcionalidades ITINERE */
.func-modal-content { border: none; border-radius: var(--radius-md); overflow: hidden; }
.func-modal-header {
  background: linear-gradient(135deg, #eaf5fc 0%, #f0f7fd 100%);
  border-bottom: 1px solid #d6eaf6;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.func-modal-ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--color-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.func-modal-header .modal-title { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 0; }
.func-modal-body { padding: 24px; }
.func-modal-body p { color: var(--body); font-size: .95rem; line-height: 1.8; margin: 0; }

/* Variante naranja del modal */
.func-modal--orange .func-modal-header {
  background: linear-gradient(135deg, #fff4e8 0%, #fef9f2 100%);
  border-bottom-color: #f5d5a8;
}
.func-modal--orange .func-modal-ico {
  background: var(--color-secondary);
}

/* ============================================================
   ITINERE — VENTAJAS CLAVE CARDS
   ============================================================ */
.vnt-card {
  background: #fff;
  border: 1px solid #e8eef6;
  border-radius: var(--radius-md);
  padding: 24px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(15,23,42,.06);
  transition: transform .2s, box-shadow .2s;
}
.vnt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(15,23,42,.12);
}
.vnt-card-ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: #fceedd;
  color: #EF8307;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.vnt-card h5 { font-size: .92rem; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.vnt-card p  { font-size: .8rem; color: var(--body); margin: 0; line-height: 1.45; }
.vnt-card--clickable { cursor: pointer; }
.vnt-card--clickable:hover { border-color: #EF8307; }
.vnt-card--clickable:hover .vnt-card-ico { background: #EF8307; color: #fff; }

/* ============================================================
   SERVICIOS — MINI CARDS GRID
   ============================================================ */
.svc-grid-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #15242E;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.svc-grid-title i { color: var(--blue); }

.svc-mini-card {
  background: #fff;
  border: 1px solid #e8eef6;
  border-radius: var(--radius-md);
  padding: 18px 16px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(15,23,42,.06);
  transition: transform .2s, box-shadow .2s;
}
.svc-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(15,23,42,.12);
}
.svc-mini-card.blue   .svc-mini-ico { background: #e2f1f9; color: #15A0DC; }
.svc-mini-card.orange .svc-mini-ico { background: #fceedd; color: #EF8307; }
.svc-mini-card.teal   .svc-mini-ico { background: #e2f1f9; color: #15A0DC; }
.svc-mini-card.green  .svc-mini-ico { background: #fceedd; color: #EF8307; }
.svc-mini-ico {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.svc-mini-card h5 { font-size: .88rem; font-weight: 700; color: var(--ink); margin: 0 0 3px; }
.svc-mini-card p  { font-size: .78rem; color: var(--body); margin: 0; line-height: 1.4; }
.svc-mini-card--clickable { cursor: pointer; }
.svc-mini-card--clickable:hover { border-color: var(--color-primary); }
.svc-mini-card--clickable.blue:hover   .svc-mini-ico { background: #15A0DC; color: #fff; }
.svc-mini-card--clickable.orange:hover .svc-mini-ico { background: #EF8307; color: #fff; }

/* ============================================================
   MODAL — ZONA VISUAL DE SERVICIOS
   ============================================================ */
.func-modal-visual {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 12px 12px;
  margin-bottom: 16px;
}

/* Flujo remoto */
.svc-vis-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.svc-vis-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--body);
}
.svc-vis-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.svc-vis-icon-wrap.blue   { background: #D6EDFB; color: #15A0DC; }
.svc-vis-icon-wrap.orange { background: #FEE8CC; color: #EF8307; }
.svc-vis-icon-wrap.green  { background: #DCFCE7; color: #16a34a; }
.svc-vis-connector {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--muted); font-size: .72rem;
}
.svc-vis-connector > i { font-size: 20px; color: var(--color-primary); }

/* Stats comunes */
.svc-vis-stats {
  display: flex; flex-wrap: wrap; gap: 5px 14px;
  justify-content: center;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.svc-vis-stat {
  font-size: .8rem; color: var(--body);
  display: flex; align-items: center; gap: 5px;
}
.svc-vis-stat i { color: #16a34a; font-size: 12px; }

/* Mantenimiento: checks circular */
.svc-vis-checks {
  display: flex; justify-content: center; gap: 16px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.svc-vis-check {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.svc-vis-check-ring {
  width: 54px; height: 54px; border-radius: 50%;
  border: 3px solid #16a34a;
  background: #DCFCE7;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #16a34a;
}
.svc-vis-check-label  { font-size: .78rem; font-weight: 700; color: var(--ink); }
.svc-vis-check-status { font-size: .72rem; color: #16a34a; display: flex; align-items: center; gap: 3px; }

/* Topología de red */
.svc-vis-topology {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 12px; flex-wrap: wrap;
}
.svc-vis-topo-node {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: .75rem; font-weight: 600; color: var(--body);
}
.svc-vis-topo-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: #D6EDFB; color: #15A0DC;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.svc-vis-topo-arrow { color: #15A0DC; font-size: 14px; }
.svc-vis-topo-group { display: flex; flex-direction: column; gap: 4px; }

/* Pilares de seguridad */
.svc-vis-pillars {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.svc-vis-pillar {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 8px; min-width: 64px;
}
.svc-vis-pillar i    { font-size: 22px; color: #15A0DC; }
.svc-vis-pillar span { font-size: .72rem; color: var(--body); font-weight: 600; text-align: center; }

/* ============================================================
   SERVICE-DETAILS PAGE — SIDEBAR BOXES
   ============================================================ */
.service-box {
  background: #e2f1f9 !important;
  border: 1px solid #b3d6ed !important;
  border-radius: var(--radius-md) !important;
  padding: 24px 20px !important;
  margin-bottom: 20px !important;
}
.service-box h4 {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #15242E !important;
  margin-bottom: 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid #15A0DC !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.services-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.services-list a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #fff !important;
  border: 1px solid #c2d9ec !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: .875rem !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
  text-decoration: none !important;
  transition: background .2s, border-color .2s, color .2s !important;
}
.services-list a:hover,
.services-list a.active {
  background: #15A0DC !important;
  border-color: #15A0DC !important;
  color: #fff !important;
}
.services-list a i {
  font-size: 16px !important;
  flex-shrink: 0 !important;
}
.download-catalog {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.download-catalog a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #fff !important;
  border: 1px solid #f5c98a !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: .875rem !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
  text-decoration: none !important;
  transition: background .2s, border-color .2s, color .2s !important;
}
.download-catalog a:hover {
  background: #EF8307 !important;
  border-color: #EF8307 !important;
  color: #fff !important;
}
.download-catalog a i {
  font-size: 18px !important;
  color: #EF8307 !important;
  flex-shrink: 0 !important;
  transition: color .2s !important;
}
.download-catalog a:hover i {
  color: #fff !important;
}

/* service-details content lists — hide default bullets */
#service-details .col-lg-8 ul {
  list-style: none !important;
  padding-left: 0 !important;
}
#service-details .col-lg-8 ul li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin-bottom: 6px !important;
}
#service-details .col-lg-8 ul li i {
  color: #15A0DC !important;
  font-size: 1rem !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

/* second box (documentos) use orange tint */
.service-box:nth-child(2) {
  background: #fceedd !important;
  border-color: #f5c98a !important;
}
.service-box:nth-child(2) h4 {
  border-bottom-color: #EF8307 !important;
}

.help-box {
  background: #15A0DC !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  padding: 28px 20px !important;
  text-align: center !important;
}
.help-box h4 {
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}
.help-box p,
.help-box a,
.help-box span {
  color: rgba(255,255,255,.9) !important;
  font-size: .9rem !important;
}
.help-box a:hover { color: #fff !important; text-decoration: underline !important; }
.help-icon {
  font-size: 2.5rem !important;
  color: rgba(255,255,255,.85) !important;
  margin-bottom: 10px !important;
}

/* ============================================================
   KALAM — Solo para los 7 títulos principales
   ============================================================ */
.hero h1,
.product-title,
.itinere-title,
.verifactu-title,
.kd-title,
.feat-cards-section .sec-head h2,
.services-section   .sec-head h2,
.contact-section    .sec-head h2,
.faq-section        .sec-head h2 {
  font-family: "Kalam", cursive;
  transform: rotate(-1.5deg);
  transform-origin: left center;
  margin-top: 16px;
}

/* Dos colores en títulos Kalam: oscuro + azul corporativo */
.hero h1 .accent,
.product-title .accent,
.itinere-title .accent,
.verifactu-title .accent,
.kd-title .accent,
.feat-cards-section .sec-head h2 .accent,
.services-section   .sec-head h2 .accent,
.contact-section    .sec-head h2 .accent,
.faq-section        .sec-head h2 .accent {
  color: var(--blue);
}

/* ============================================================
   EFECTOS DOODLE — subrayados de pincel y anotaciones
   ============================================================ */

/* Subrayado pincel — naranja en ambos casos */
.brush-blue,
.brush-orange {
  display: inline;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2,9 C30,3 60,11 90,7 C120,3 150,10 180,6 C188,4 194,7 198,6' stroke='%23EF8307' stroke-width='10' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 80%;
  background-size: 100% 10px;
  padding-bottom: 0;
  text-decoration: none;
}
.brush-blue  { color: #15A0DC; }
.brush-orange { color: #EF8307; }

/* Highlight marcador (fondo) */
.brush-mark {
  position: relative;
  display: inline;
}
.brush-mark::before {
  content: '';
  position: absolute;
  left: -3px; right: -3px;
  top: 10%; bottom: 5%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 28' preserveAspectRatio='none'%3E%3Cpath d='M3,14 C25,10 55,17 85,13 C115,9 145,16 175,12 C185,10 193,13 197,11 L197,20 C175,23 145,18 115,22 C85,25 55,20 25,23 L3,21 Z' fill='%23EF8307' fill-opacity='0.18'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
  z-index: -1;
}

/* Anotaciones doodle */
.doodle-note {
  position: absolute;
  font-family: "Kalam", cursive;
  font-size: .95rem;
  font-weight: 700;
  color: #EF8307;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
}
.doodle-note svg {
  display: block;
}
/* Contenedor relativo para las tarjetas flotantes */
.hero-float-wrap {
  position: relative;
}
