/* ============================================================
   RG SOLUCIONES — Design System
   Premium SaaS / B2B aesthetic
   ============================================================ */

:root {
  /* Brand */
  --brand-500: #27619e;
  --brand-600: #1f5288;
  --brand-700: #1a4474;
  --brand-800: #143659;
  --brand-400: #4a8dc8;
  --brand-300: #7eb2dd;
  --brand-100: #dde9f5;
  --brand-50: #f0f6fc;

  /* Neutrals */
  --ink-900: #0d1b2a;
  --ink-700: #2b3a4d;
  --ink-500: #5a6b80;
  --ink-400: #8593a5;
  --ink-300: #b8c3d1;
  --ink-200: #d9e0ea;
  --ink-100: #eaeef4;
  --ink-50: #f6f9fd;
  --white: #ffffff;

  /* Status */
  --success: #1f8a5b;
  --warn: #d18a1e;

  /* Effects */
  --grad-hero: linear-gradient(135deg, #143659 0%, #27619e 55%, #3a7bb8 100%);
  --grad-soft: linear-gradient(180deg, #f6f9fd 0%, #ffffff 100%);
  --grad-accent: linear-gradient(135deg, #27619e 0%, #4a8dc8 100%);

  --shadow-sm: 0 1px 2px rgba(20, 54, 89, 0.06), 0 1px 3px rgba(20, 54, 89, 0.04);
  --shadow-md: 0 4px 14px rgba(20, 54, 89, 0.08), 0 2px 6px rgba(20, 54, 89, 0.05);
  --shadow-lg: 0 20px 50px rgba(20, 54, 89, 0.12), 0 8px 20px rgba(20, 54, 89, 0.06);
  --shadow-glow: 0 20px 60px rgba(39, 97, 158, 0.35);

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Type */
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Container */
  --container: 1240px;
  --container-narrow: 980px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; color: var(--ink-900); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

/* ---------- Type scale ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-500);
  padding: 6px 12px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-pill);
}
.eyebrow.on-dark {
  color: #cfe1f3;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}
.container.narrow { max-width: var(--container-narrow); }

section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ink-100);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__brand img { height: 38px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-700);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  transition: color .15s ease, background .15s ease;
}
.nav__link:hover { color: var(--brand-500); background: var(--brand-50); }
.nav__link.active { color: var(--brand-500); }
.nav__link.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px;
  bottom: -22px;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--grad-accent);
  color: #fff;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(39, 97, 158, 0.28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(39, 97, 158, 0.36); }
.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  color: var(--ink-900);
  align-items: center;
  justify-content: center;
}
.nav__burger:hover { background: var(--ink-50); }
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
}
.nav__mobile {
  display: none;
  border-top: 1px solid var(--ink-100);
  background: #fff;
  padding: 8px 0 18px;
}
.nav__mobile.open { display: block; }
.nav__mobile .nav__link {
  display: block;
  padding: 14px 16px;
  border-radius: 0;
  border-bottom: 1px solid var(--ink-100);
}
.nav__mobile .nav__cta {
  display: inline-flex;
  margin: 14px 28px 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(39, 97, 158, 0.28);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(39, 97, 158, 0.36); }
.btn--ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-200);
}
.btn--ghost:hover { background: var(--ink-50); border-color: var(--ink-300); }
.btn--ghost-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.16); }
.btn--lg { padding: 16px 28px; font-size: 16px; }

/* ============================================================
   HEROES
   ============================================================ */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  padding: 120px 0 110px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(800px 400px at 85% 10%, rgba(126, 178, 221, 0.35), transparent 60%),
    radial-gradient(600px 300px at 10% 90%, rgba(74, 141, 200, 0.30), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero { padding: 80px 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  color: #fff;
  margin: 20px 0 22px;
}
.hero p.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  color: rgba(255,255,255,0.82);
  max-width: 56ch;
  margin-bottom: 36px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 560px;
}
.hero__stat .num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero__stat .lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}

/* Sub-hero (interior pages) */
.subhero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  padding: 90px 0 100px;
}
.subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(700px 320px at 80% 0%, rgba(126, 178, 221, 0.30), transparent 60%),
    radial-gradient(500px 260px at 0% 100%, rgba(74, 141, 200, 0.25), transparent 60%);
  pointer-events: none;
}
.subhero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  pointer-events: none;
}
.subhero__inner { position: relative; z-index: 1; max-width: 780px; }
.subhero h1 {
  font-size: clamp(36px, 4.6vw, 54px);
  color: #fff;
  margin: 18px 0 18px;
}
.subhero p {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 60ch;
}
.crumbs {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.crumbs a:hover { color: #fff; }
.crumbs span.sep { opacity: 0.5; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  margin: 16px 0 14px;
}
.sec-head p {
  font-size: 17px;
  color: var(--ink-500);
}

/* ============================================================
   CARDS / GRID
   ============================================================ */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--brand-50);
  color: var(--brand-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--ink-500); font-size: 15px; }

/* Category preview cards (used on home) */
.catcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.catcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200, #c9dcef);
}
.catcard__visual {
  aspect-ratio: 4 / 3;
  background: var(--ink-50);
  position: relative;
  overflow: hidden;
}
.catcard__body { padding: 26px 28px 28px; }
.catcard__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-500);
}
.catcard h3 { font-size: 22px; margin: 8px 0 10px; }
.catcard p { color: var(--ink-500); font-size: 15px; margin-bottom: 18px; }
.catcard__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-500);
  font-weight: 700;
  font-size: 14px;
}
.catcard__link svg { transition: transform .15s ease; }
.catcard:hover .catcard__link svg { transform: translateX(3px); }

/* Product card (used on category pages) */
.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.product__media {
  aspect-ratio: 4 / 3;
  background: var(--ink-50);
  border-bottom: 1px solid var(--ink-100);
  position: relative;
  overflow: hidden;
}
.product__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--brand-500);
  border: 1px solid var(--brand-100);
}
.product__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product__cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.product h3 { font-size: 19px; margin: 6px 0 10px; }
.product p { color: var(--ink-500); font-size: 14px; margin-bottom: 18px; flex: 1; }
.product__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.spec-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--ink-50);
  color: var(--ink-700);
  border: 1px solid var(--ink-100);
}
.product__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--ink-100);
}
.product__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-500);
  font-weight: 700;
  font-size: 14px;
}

/* ============================================================
   PLACEHOLDER VISUALS
   ============================================================ */
.placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    repeating-linear-gradient(135deg, rgba(39, 97, 158, 0.06) 0 10px, rgba(39, 97, 158, 0.02) 10px 20px);
  color: var(--brand-500);
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.placeholder span {
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--brand-100);
  border-radius: var(--r-sm);
}

/* Card mock (pretty PVC card render) */
.cardmock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(600px 300px at 80% 20%, rgba(74, 141, 200, 0.3), transparent 65%),
    linear-gradient(135deg, #f0f6fc, #dde9f5);
}
.cardmock__card {
  width: 64%;
  aspect-ratio: 1.586 / 1;
  border-radius: 14px;
  background: linear-gradient(135deg, #143659 0%, #27619e 60%, #3a7bb8 100%);
  box-shadow: 0 24px 50px rgba(20, 54, 89, 0.30), 0 8px 20px rgba(20, 54, 89, 0.18), inset 0 1px 0 rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}
.cardmock__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(300px 120px at 90% 0%, rgba(255,255,255,0.18), transparent 60%);
}
.cardmock__chip {
  position: absolute;
  top: 22%;
  left: 10%;
  width: 18%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #d4af37, #b58a1c);
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
}
.cardmock__chip::after {
  content: "";
  position: absolute;
  inset: 12%;
  background-image:
    linear-gradient(#9a7415 1px, transparent 1px),
    linear-gradient(90deg, #9a7415 1px, transparent 1px);
  background-size: 30% 30%;
  opacity: .55;
}
.cardmock__strip {
  position: absolute;
  bottom: 14%;
  left: 8%;
  right: 8%;
  height: 14%;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.18);
}
.cardmock__logo {
  position: absolute;
  top: 14%;
  right: 10%;
  font-family: var(--font-sans);
  font-weight: 800;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
  opacity: 0.92;
}
.cardmock__name {
  position: absolute;
  bottom: 36%;
  left: 10%;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Printer mock */
.printermock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12% 14% 14%;
  background:
    radial-gradient(500px 220px at 50% 30%, rgba(74, 141, 200, 0.22), transparent 65%),
    linear-gradient(180deg, #eef4fa 0%, #dde9f5 100%);
}
.printermock__body {
  width: 100%;
  height: 70%;
  background: linear-gradient(180deg, #2b3a4d 0%, #143659 100%);
  border-radius: 14px 14px 8px 8px;
  position: relative;
  box-shadow: 0 24px 40px rgba(20, 54, 89, 0.30), inset 0 1px 0 rgba(255,255,255,0.10);
}
.printermock__slot {
  position: absolute;
  bottom: 22%;
  left: 12%;
  right: 12%;
  height: 6%;
  background: #060d16;
  border-radius: 4px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
}
.printermock__panel {
  position: absolute;
  top: 14%;
  right: 12%;
  width: 26%;
  height: 22%;
  background: linear-gradient(135deg, #27619e, #4a8dc8);
  border-radius: 6px;
  box-shadow: 0 0 24px rgba(74, 141, 200, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}
.printermock__led {
  position: absolute;
  top: 16%;
  left: 14%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
}

/* Accessory mock */
.accessorymock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f6fc, #dde9f5);
}
.accessorymock__shape {
  width: 60%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: linear-gradient(135deg, #27619e, #4a8dc8);
  box-shadow: 0 20px 40px rgba(20, 54, 89, 0.25);
  position: relative;
}
.accessorymock__shape::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff 0%, #e5edf5 100%);
  box-shadow: inset 0 4px 12px rgba(20,54,89,0.15);
}

/* ============================================================
   FEATURE STRIP
   ============================================================ */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}
.feature-strip__item {
  padding: 28px 24px;
  border-right: 1px solid var(--ink-100);
}
.feature-strip__item:last-child { border-right: 0; }
.feature-strip__item .icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  background: var(--brand-50);
  color: var(--brand-500);
  margin-bottom: 14px;
}
.feature-strip__item h4 { font-size: 16px; margin-bottom: 4px; }
.feature-strip__item p { font-size: 14px; color: var(--ink-500); }
@media (max-width: 900px) {
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-strip__item { border-right: 0; border-bottom: 1px solid var(--ink-100); }
  .feature-strip__item:nth-child(odd) { border-right: 1px solid var(--ink-100); }
  .feature-strip__item:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 540px) {
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip__item { border-right: 0 !important; border-bottom: 1px solid var(--ink-100); }
  .feature-strip__item:last-child { border-bottom: 0; }
}

/* ============================================================
   SPLIT / FEATURE BLOCK
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse > :first-child { order: initial; }
}
.split__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
}
.split__media-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #f0f6fc 0%, #dde9f5 100%);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   CHECKLIST
   ============================================================ */
.checklist { display: grid; gap: 14px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-700);
}
.checklist li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand-500);
}

/* ============================================================
   BRAND BAR
   ============================================================ */
.brandbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.brandbar__logo {
  padding: 12px 24px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--ink-100);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink-700);
  letter-spacing: 0.02em;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  background: var(--grad-hero);
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 56px 64px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(500px 220px at 90% 0%, rgba(126, 178, 221, 0.30), transparent 60%),
    radial-gradient(420px 200px at 0% 100%, rgba(74, 141, 200, 0.22), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.82); font-size: 16px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  background: var(--ink-900);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 56px;
}
@media (max-width: 900px) {
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 540px) {
  .foot__grid { grid-template-columns: 1fr; }
}
.foot__brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.foot__brand-logo {
  background: #fff;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: var(--r-md);
  width: max-content;
}
.foot__brand-logo img { height: 32px; width: auto; }
.foot__brand p { font-size: 14px; line-height: 1.7; max-width: 36ch; }
.foot h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.foot ul li { margin-bottom: 10px; }
.foot ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color .15s ease;
}
.foot ul li a:hover { color: #fff; }
.foot__contact {
  display: grid;
  gap: 12px;
  font-size: 14px;
}
.foot__contact .item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255,255,255,0.78);
}
.foot__contact .item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-300);
}
.foot__bar {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.foot__bar a { color: rgba(255,255,255,0.65); }
.foot__bar a:hover { color: #fff; }
.foot__legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */
.bg-soft { background: var(--grad-soft); }
.bg-ink { background: var(--ink-50); }

/* ============================================================
   SPEC TABLE (impresoras)
   ============================================================ */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: 14px;
}
.spec-table th, .spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--ink-100);
}
.spec-table th {
  background: var(--ink-50);
  font-weight: 700;
  color: var(--ink-900);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:hover { background: var(--brand-50); }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card p.sub { color: var(--ink-500); margin-bottom: 28px; font-size: 15px; }
.field { margin-bottom: 18px; display: grid; gap: 6px; }
.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-900);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink-900);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(74, 141, 200, 0.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.check-line {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 22px;
}
.check-line input { margin-top: 3px; }
.check-line a { color: var(--brand-500); text-decoration: underline; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.info-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-card .ic {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--brand-50);
  color: var(--brand-500);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-card h4 { font-size: 15px; margin-bottom: 4px; }
.info-card p { font-size: 14px; color: var(--ink-500); line-height: 1.6; }
.info-card a { color: var(--brand-500); font-weight: 600; }

.map-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--ink-100);
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #f0f6fc 0%, #dde9f5 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-500);
}
.map-card iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   PROCESS / STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 28px;
  counter-increment: step;
  position: relative;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-500);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
}
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--ink-500); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq__item details summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-900);
}
.faq__item details summary::-webkit-details-marker { display: none; }
.faq__item details summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--brand-500);
  transition: transform .15s ease;
}
.faq__item details[open] summary::after { content: "−"; }
.faq__item details > div {
  padding: 0 24px 22px;
  color: var(--ink-500);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================================
   USE CASES
   ============================================================ */
.usecase {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.usecase:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.usecase__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--grad-accent);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.usecase h4 { font-size: 18px; margin-bottom: 6px; }
.usecase p { font-size: 14px; color: var(--ink-500); }

/* ============================================================
   UTIL
   ============================================================ */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.dim { color: var(--ink-500); }
