/* SmartCBC — Web corporativa
   Paleta azul tecnológico + blanco. CSS moderno, sin frameworks. */

:root {
  /* Colores */
  --c-primary: #0a4ad9;
  --c-primary-dark: #0734a3;
  --c-primary-light: #3b6cf0;
  --c-accent: #00c2d1;
  --c-ink: #0b1733;
  --c-ink-soft: #344259;
  --c-muted: #6b7891;
  --c-line: #e5eaf2;
  --c-bg: #ffffff;
  --c-bg-soft: #f5f8fd;
  --c-bg-dark: #0b1733;
  --c-success: #18a957;
  --c-error: #e63946;

  /* Tipografía */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", var(--font-sans);

  /* Tamaños */
  --container: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(11, 23, 51, 0.06),
    0 2px 6px rgba(11, 23, 51, 0.04);
  --shadow: 0 6px 18px rgba(11, 23, 51, 0.08),
    0 2px 6px rgba(11, 23, 51, 0.04);
  --shadow-lg: 0 22px 60px rgba(11, 23, 51, 0.18);

  /* Transiciones */
  --t-fast: 150ms ease;
  --t: 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover {
  color: var(--c-primary-dark);
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--c-ink);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}
h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
}
p {
  margin: 0 0 1em;
  color: var(--c-ink-soft);
}
ul {
  padding-left: 1.2em;
  color: var(--c-ink-soft);
}

/* Layout */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.section--soft {
  background: var(--c-bg-soft);
}
.section--dark {
  background: var(--c-bg-dark);
  color: #fff;
}
.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: #fff;
}
.section--dark p {
  color: rgba(255, 255, 255, 0.78);
}
.section-header {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 0.8rem;
}
.section--dark .eyebrow {
  color: var(--c-accent);
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-weight: 600;
  font-size: 0.97rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast),
    background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(10, 74, 217, 0.28);
}
.btn-primary:hover {
  background: var(--c-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(10, 74, 217, 0.34);
}
.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line);
}
.btn-ghost:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.btn-light {
  background: #fff;
  color: var(--c-primary);
}
.btn-light:hover {
  color: var(--c-primary-dark);
  transform: translateY(-1px);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--c-primary);
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 2rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.nav-brand img {
  height: 52px;
  width: auto;
}
.nav-brand:hover {
  color: var(--c-ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--c-ink-soft);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--c-primary);
  background: var(--c-bg-soft);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  color: var(--c-ink);
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 920px) {
  .nav-links,
  .nav-cta .btn {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .site-header.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    padding: 0.5rem 1.25rem 1rem;
  }
  .site-header.is-open .nav-links a {
    padding: 0.85rem 0.6rem;
    border-bottom: 1px solid var(--c-bg-soft);
  }
  .site-header.is-open .nav-cta .btn {
    display: inline-flex;
    margin: 0.6rem 1.25rem 1rem;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 8vw, 6rem);
  background: linear-gradient(
      135deg,
      rgba(7, 52, 163, 0.94) 0%,
      rgba(10, 74, 217, 0.88) 45%,
      rgba(0, 194, 209, 0.82) 100%
    ),
    radial-gradient(
      1200px 600px at 80% -20%,
      rgba(255, 255, 255, 0.18),
      transparent 60%
    );
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 25% 30%,
      rgba(255, 255, 255, 0.08) 0,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.06) 0,
      transparent 50%
    );
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1.2rem;
}
.hero h1 .accent {
  background: linear-gradient(120deg, #fff, #b8e6ec);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 1.8rem;
}
.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-meta div strong {
  display: block;
  font-size: 1.6rem;
  color: #fff;
  font-weight: 700;
}
.hero-meta div span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.74);
}
.hero-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.02)
    ),
    url("../img/hero-bg.jpg") center/cover no-repeat;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(7, 52, 163, 0.4)
  );
}
@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-visual {
    aspect-ratio: 16/10;
  }
}

/* Hero secundario (subpáginas) */
.subhero {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
  background: linear-gradient(
    135deg,
    var(--c-bg-soft) 0%,
    #eaf1fc 100%
  );
  border-bottom: 1px solid var(--c-line);
}
.subhero h1 {
  margin-bottom: 0.8rem;
}
.subhero p.lead {
  font-size: 1.1rem;
  max-width: 720px;
  color: var(--c-ink-soft);
}
.subhero-breadcrumbs {
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-bottom: 1rem;
}
.subhero-breadcrumbs a {
  color: var(--c-muted);
}
.subhero-breadcrumbs a:hover {
  color: var(--c-primary);
}

/* Tarjetas */
.cards {
  display: grid;
  gap: 1.5rem;
}
.cards.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.cards.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.cards.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 940px) {
  .cards.cols-3,
  .cards.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .cards.cols-2,
  .cards.cols-3,
  .cards.cols-4 {
    grid-template-columns: 1fr;
  }
}
.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: border-color var(--t), box-shadow var(--t),
    transform var(--t);
}
.card:hover {
  border-color: rgba(10, 74, 217, 0.25);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(10, 74, 217, 0.12),
    rgba(0, 194, 209, 0.12)
  );
  color: var(--c-primary);
  margin-bottom: 1rem;
}
.card .icon svg {
  width: 26px;
  height: 26px;
}
.card h3 {
  margin-bottom: 0.5rem;
}
.card p {
  margin-bottom: 0;
  font-size: 0.97rem;
}
.card.card--accent {
  background: linear-gradient(
    135deg,
    var(--c-primary) 0%,
    var(--c-primary-dark) 100%
  );
  color: #fff;
  border-color: transparent;
}
.card.card--accent h3,
.card.card--accent p {
  color: #fff;
}
.card.card--accent .icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* Lista de features con check */
.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--c-ink-soft);
}
.feature-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(10, 74, 217, 0.1)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a4ad9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>")
    center/14px no-repeat;
  margin-top: 3px;
}

/* Two-column split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split.reverse > :first-child {
  order: 2;
}
@media (max-width: 880px) {
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .split.reverse > :first-child {
    order: 0;
  }
}
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--c-bg-soft);
}
.split-img img {
  width: 100%;
  display: block;
}

/* Hero de página de producto */
.product-hero {
  text-align: center;
}
.product-hero-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  min-height: 220px;
  min-width: 240px;
}
.product-hero-frame img {
  max-width: 240px;
  max-height: 180px;
  filter: brightness(0) invert(1);
}
.product-hero-frame img.no-invert {
  filter: none;
}
.product-hero-frame img.is-rounded {
  border-radius: var(--radius);
}

/* Mini-tarjeta de producto (grid de la home) */
.product-mini {
  display: flex;
  flex-direction: column;
}
.product-mini .product-icon {
  padding: 0.9rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  width: 64px;
  margin-bottom: 1rem;
}
.product-mini .product-icon img {
  max-width: 100%;
  max-height: 100%;
}
.product-mini .product-icon img.is-rounded {
  border-radius: 8px;
}
.product-mini .product-tag {
  color: var(--c-accent);
  font-weight: 600;
}
.product-mini .product-cta {
  margin-top: 0.6rem;
  align-self: flex-start;
}

/* Variantes de degradado para iconos de producto */
.bg-grad-onduty {
  background: linear-gradient(135deg, #1e3a5f, #0ea5e9);
}
.bg-grad-gestnube {
  background: linear-gradient(135deg, #0a4ad9, #3b6cf0);
}
.bg-grad-adminube {
  background: linear-gradient(135deg, #00c2d1, #0a4ad9);
}
.bg-grad-native {
  background: linear-gradient(135deg, #0a4ad9, #00c2d1);
}
.bg-grad-appmifinca {
  background: linear-gradient(135deg, #00c2d1, #0a4ad9);
}

/* Card centrada para CTA dentro de grid */
.card--cta-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* Producto destacado (Native / Appmifinca) */
.product-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.6rem;
  align-items: start;
  transition: border-color var(--t), box-shadow var(--t),
    transform var(--t);
}
.product-card:hover {
  border-color: rgba(10, 74, 217, 0.3);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.product-card .product-logo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  background: var(--c-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.product-card .product-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
}
.product-card .product-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
}
@media (max-width: 540px) {
  .product-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .product-card .product-logo {
    margin: 0 auto;
  }
}

/* CTA franja */
.cta-band {
  background: linear-gradient(
    135deg,
    var(--c-primary) 0%,
    var(--c-primary-dark) 60%,
    #042074 100%
  );
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 0 auto;
}
.cta-band h2 {
  color: #fff;
  margin-bottom: 0.6rem;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 620px;
  margin: 0 auto 1.6rem;
}

/* Formulario contacto */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .full {
  grid-column: 1 / -1;
}
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--c-ink);
}
.field input,
.field textarea,
.field select {
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--c-ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(10, 74, 217, 0.12);
}
.form-msg {
  margin-top: 0.8rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}
.form-msg.is-success {
  display: block;
  background: rgba(24, 169, 87, 0.12);
  color: var(--c-success);
}
.form-msg.is-error {
  display: block;
  background: rgba(230, 57, 70, 0.1);
  color: var(--c-error);
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.87rem;
  color: var(--c-muted);
}
.consent input {
  width: auto;
  margin-top: 4px;
}

/* Contact info bloque */
.contact-info {
  display: grid;
  gap: 1.2rem;
}
.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.contact-info .info-item .icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(10, 74, 217, 0.1);
  color: var(--c-primary);
  flex-shrink: 0;
}
.contact-info .info-item .icon svg {
  width: 20px;
  height: 20px;
}
.contact-info .info-item h4 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}
.contact-info .info-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* Variante WhatsApp para info-item */
.info-item--wa .icon {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
}
.info-meta {
  font-size: 0.88rem;
}

/* Map */
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat {
  text-align: center;
}
.stat strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.1;
}
.section--dark .stat strong {
  color: var(--c-accent);
}
.stat span {
  display: block;
  font-size: 0.92rem;
  color: var(--c-muted);
}
.section--dark .stat span {
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 700px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Footer */
.site-footer {
  background: #050d22;
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 1.5rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.footer-grid a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}
.footer-grid a:hover {
  color: #fff;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}
.footer-brand img {
  height: 36px;
  filter: brightness(0) invert(1);
}
.footer-tag {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.2rem;
  max-width: 320px;
}
.social {
  display: flex;
  gap: 0.6rem;
}
.social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: background var(--t-fast), transform var(--t-fast);
}
.social a:hover {
  background: var(--c-primary);
  transform: translateY(-2px);
  color: #fff;
}
.social svg {
  width: 18px;
  height: 18px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

/* WhatsApp flotante */
.wa-float {
  position: fixed;
  bottom: 1.4rem;
  right: 1.4rem;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.wa-float:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}
.wa-float svg {
  width: 30px;
  height: 30px;
}
.wa-float::after {
  content: "Escríbenos por WhatsApp";
  position: absolute;
  right: calc(100% + 0.6rem);
  top: 50%;
  transform: translateY(-50%);
  background: var(--c-ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast);
}
.wa-float:hover::after {
  opacity: 1;
}
@media (max-width: 540px) {
  .wa-float {
    bottom: 1rem;
    right: 1rem;
    width: 52px;
    height: 52px;
  }
  .wa-float::after {
    display: none;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  max-width: 540px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.2rem 1.4rem;
  display: none;
  z-index: 100;
}
.cookie-banner.is-visible {
  display: block;
  animation: fadeUp 0.3s ease;
}
.cookie-banner p {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
}
.cookie-banner .actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
}
.cookie-banner .btn {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reveal en scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Tabla / lista de contenidos */
.toc {
  display: grid;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}
.toc strong {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 0.4rem;
  display: block;
}
.toc a {
  font-size: 0.94rem;
  color: var(--c-ink-soft);
  padding: 0.3rem 0;
}
.toc a:hover {
  color: var(--c-primary);
}

/* Pricing block */
.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  background: rgba(10, 74, 217, 0.08);
  color: var(--c-primary);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
}

/* Sectors badges */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.badges span {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  background: rgba(10, 74, 217, 0.08);
  color: var(--c-primary);
  font-size: 0.85rem;
  font-weight: 500;
}
.section--dark .badges span {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Utilidades */
.text-center {
  text-align: center;
}
.mt-2 {
  margin-top: 2rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}
