/* ==========================================================================
   CMY – Soluciones en Impresión · Estilos de la landing
   Paleta: azul oscuro, azul eléctrico, blanco y gris claro.
   ========================================================================== */

:root {
  --navy-950: #050d1f;
  --navy-900: #0a1a33;
  --navy-800: #11264a;
  --navy-700: #1b3563;
  --blue: #1f6fff;
  --blue-600: #1557d6;
  --blue-300: #8db8ff;
  --blue-50: #eaf2ff;
  --cyan: #22c7ee;
  --magenta: #e5398f;
  --yellow: #ffd23f;
  --gray-50: #f5f7fb;
  --gray-100: #eef2f8;
  --gray-200: #dde4ef;
  --gray-400: #8a98b0;
  --gray-500: #5b6b85;
  --gray-700: #2b3a55;
  --white: #ffffff;
  --wa: #25d366;
  --wa-dark: #128c4a;
  --wa-btn: #16a34a;
  --wa-btn-hover: #12893e;
  --blue-bright: #2f8bff;

  --font-heading: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --shadow: 0 20px 50px -20px rgba(10, 26, 51, 0.25);
  --shadow-blue: 0 18px 40px -14px rgba(31, 111, 255, 0.55);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--blue-300);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 20px;
}

.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-fill {
  fill: currentColor;
  stroke: none;
}

/* Datos pendientes: se ven resaltados para reemplazarlos antes de publicar */
.ph {
  display: inline-block;
  padding: 1px 8px;
  border: 1.5px dashed #f5a524;
  border-radius: 6px;
  background: rgba(255, 210, 63, 0.18);
  color: inherit;
  font-size: 0.92em;
  font-weight: 600;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 22px;
  border: 0;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-wa {
  background: var(--wa-btn);
  color: var(--white);
  box-shadow: 0 14px 30px -14px rgba(22, 163, 74, 0.75);
}

.btn-wa:hover {
  background: var(--wa-btn-hover);
}

.btn-wa .wa-badge {
  display: grid;
  place-items: center;
}

.btn-wa .wa-badge svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--white);
}

.btn-dark {
  background: var(--navy-900);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--blue);
}

.btn-sm {
  min-height: 46px;
  padding: 6px 18px;
  font-size: 15px;
}

.btn-sm .wa-badge svg {
  width: 21px;
  height: 21px;
}

.btn-header {
  min-height: 58px;
  padding: 8px 26px;
  font-size: 18px;
}

.btn-header .wa-badge svg {
  width: 28px;
  height: 28px;
}

.btn-lg {
  min-height: 64px;
  padding: 10px 24px;
  font-size: clamp(17px, 1.6vw, 21px);
}

.btn-lg .wa-badge svg {
  width: 30px;
  height: 30px;
}

.btn-lg .chevron {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
}

.btn-lg:hover .chevron {
  transform: translateX(4px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--blue);
}

.link-arrow .icon {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* ---------- Encabezados de sección ---------- */
.section {
  padding-block: 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--yellow));
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(30px, 4.4vw, 50px);
}

.section-head p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--gray-500);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  color: var(--navy-900);
  box-shadow: 0 1px 0 var(--gray-200);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px -14px rgba(10, 26, 51, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

/* Logo CMY (imagen oficial) + texto "Soluciones en impresión" */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  color: var(--navy-900);
}

.logo-mark {
  width: auto;
  max-width: none;
  height: 38px;
}

.logo-sub {
  margin-top: 3px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo-light {
  color: var(--white);
}

.main-nav {
  display: none;
}

.main-nav a {
  position: relative;
  padding: 10px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--navy-800);
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--blue);
}

.main-nav a.is-active::after,
.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .btn-wa {
  display: none;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--gray-100);
  color: var(--navy-900);
  cursor: pointer;
}

.icon-btn.wa {
  background: var(--wa-btn);
}

.icon-btn.wa svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.menu-toggle .icon-close,
.menu-open .menu-toggle .icon-open {
  display: none;
}

.menu-open .menu-toggle .icon-close {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  inset-inline: 0;
  z-index: 99;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 8px 20px 24px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 24px 40px -20px rgba(10, 26, 51, 0.35);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a:not(.btn) {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-900);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 20px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(100svh, 900px);
  padding-top: calc(var(--header-h) + 40px);
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.86);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 20%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 13, 31, 0.8) 0%, rgba(5, 13, 31, 0.9) 60%, rgba(5, 13, 31, 0.97) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-block: auto;
  padding-bottom: 44px;
}

.container-wide {
  max-width: 1560px;
}

@media (min-width: 1280px) {
  .container-wide {
    padding-inline: 56px;
  }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: clamp(12px, 1.1vw, 16px);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-bright);
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(36px, 3.9vw, 64px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--white);
}

.hero h1 .accent {
  color: var(--blue-bright);
}

/* Subrayado amarillo hecho a mano */
.scribble {
  position: relative;
  display: inline-block;
}

.scribble::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.12em;
  height: 0.2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11C60 3 140 2 197 7' fill='none' stroke='%23ffd23f' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero-lead {
  max-width: 600px;
  margin-top: 22px;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.45;
  color: var(--white);
}

.hero-lead span {
  color: #8fc1ff;
}

.hero .btn-lg {
  margin-top: 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
}

.hero-price-link {
  margin-top: 28px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 4px;
}

.hero-price-link strong {
  color: var(--yellow);
}

.btn .btn-ico {
  width: 26px;
  height: 26px;
}

/* Datos clave */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 0;
  margin-top: 36px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 clamp(14px, 2vw, 28px);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.3;
}

.hero-features li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-features .icon {
  width: clamp(30px, 2.6vw, 40px);
  height: clamp(30px, 2.6vw, 40px);
  stroke-width: 1.7;
  color: var(--blue-bright);
}

.hero-features span {
  display: flex;
  flex-direction: column;
}

.hero-features b {
  font-weight: 700;
  color: var(--white);
}

/* Nota manuscrita */
.hero-note {
  display: none;
  position: absolute;
  z-index: 2;
  top: 34%;
  right: clamp(24px, 5vw, 90px);
  font-family: "Caveat", cursive;
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1.05;
  color: var(--white);
  text-align: right;
  transform: rotate(-7deg);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-note span {
  position: relative;
  display: inline-block;
}

.hero-note span::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -30%;
  bottom: -0.08em;
  height: 0.22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 12C60 5 140 3 197 5' fill='none' stroke='%23ffd23f' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero-note svg {
  position: absolute;
  left: -8px;
  top: 100%;
  width: 34px;
  height: 60px;
  color: var(--white);
}

/* Barra inferior: marcas + servicios */
.hero-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 13, 31, 0.72);
}

.hero-bar-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-block: 22px;
}

.hero-bar-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.hero-bar-brands > span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 0;
}

.hero-brands li {
  display: flex;
  align-items: center;
  padding: 0 clamp(10px, 1.3vw, 18px);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-brands li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-brands a {
  transition: opacity 0.2s ease;
}

.hero-bar .hb-logo img {
  height: clamp(18px, 1.6vw, 26px);
}

.hero-bar .hb-logo.logo-hp img {
  height: clamp(32px, 2.6vw, 42px);
}

.hero-brands a:hover {
  opacity: 0.7;
}

.hero-bar-services {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
}

.hero-bar-services li {
  padding: 0 clamp(12px, 1.8vw, 30px);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-bar-services li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-bar-services a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 600;
  color: var(--white);
  transition: color 0.2s ease;
}

.hero-bar-services a:hover {
  color: #8fc1ff;
}

.hero-bar-services .icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.7;
}

@media (max-width: 767.98px) {
  .hero-features {
    flex-direction: column;
    gap: 14px;
  }

  .hero-features li {
    padding: 0;
    border-left: 0;
  }

  .hero-bar-services li {
    padding: 0 10px;
  }

  .hero-bar-services li:first-child {
    padding-left: 0;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: calc(var(--header-h) + 30px);
  }

  /* La foto ocupa la derecha; el texto queda sobre el degradado */
  .hero-photo {
    left: auto;
    right: 0;
    width: 64%;
    object-position: 20% 20%;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, var(--navy-950) 0%, var(--navy-950) 37%, rgba(5, 13, 31, 0.75) 44%, rgba(5, 13, 31, 0.2) 58%, rgba(5, 13, 31, 0) 70%),
      linear-gradient(0deg, rgba(5, 13, 31, 0.85) 0%, rgba(5, 13, 31, 0) 30%);
  }

  .hero-note {
    display: block;
  }

  .hero-bar-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-bar-brands,
  .hero-bar .hero-brands,
  .hero-bar-services {
    flex-wrap: nowrap;
  }

  .hero h1 {
    max-width: min(760px, 44vw);
  }

  .hero-lead {
    max-width: min(600px, 40vw);
  }

  .hero-bar-brands > span {
    white-space: nowrap;
  }

  .hero-bar-services {
    padding-left: clamp(16px, 2vw, 36px);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
  }
}

@media (min-width: 1024px) and (max-width: 1439.98px) {
  .hero-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero-bar-services {
    padding-left: 0;
    border-left: 0;
  }
}

/* ---------- Servicios ---------- */
.card-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 8px 20px -10px rgba(10, 26, 51, 0.3);
}

.card-icon .icon {
  width: 28px;
  height: 28px;
}

.services {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.eyebrow-line {
  gap: 14px;
  letter-spacing: 0.3em;
  color: var(--gray-700);
}

.eyebrow-line::before {
  width: 40px;
  height: 2px;
  background: var(--blue);
}

.container-services {
  max-width: 1440px;
}

.services .section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.services .section-head h2 {
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 800;
}

.text-blue {
  color: var(--blue);
}

.services .section-head p {
  max-width: 720px;
  margin-inline: auto;
}

/* Franja de marcas a color */
.brand-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 0;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 40px;
  padding: 14px 26px;
  border-radius: 18px;
  background: rgba(214, 228, 250, 0.55);
}

.brand-pill li {
  display: flex;
  align-items: center;
  padding: 0 clamp(14px, 3vw, 40px);
  border-left: 1px solid rgba(43, 58, 85, 0.25);
}

.brand-pill li:first-child {
  border-left: 0;
}

.brand-pill a {
  line-height: 1;
  transition: opacity 0.2s ease;
}

.brand-pill a:hover {
  opacity: 0.7;
}

.bp-epson {
  font-family: "Arial Black", "Inter", sans-serif;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #1b3fae;
}

.bp-hp span {
  display: grid;
  place-items: center;
  width: clamp(36px, 3.4vw, 48px);
  height: clamp(36px, 3.4vw, 48px);
  border-radius: 50%;
  background: #0a8ad6;
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: clamp(18px, 1.8vw, 25px);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.bp-canon {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 700;
  color: #d0121b;
}

.bp-brother {
  font-family: "Inter", sans-serif;
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #1d3f9e;
}

/* Tarjetas de servicio: ícono · texto · foto */
.service-grid {
  display: grid;
  gap: 24px;
}

.service-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 18px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 0 0 1px #e1e7f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  box-shadow: 0 0 0 1px rgba(31, 111, 255, 0.2), 0 8px 18px -12px rgba(10, 26, 51, 0.25);
}

.service-card .card-icon {
  width: 64px;
  height: 64px;
  margin: 24px 0 0 22px;
  border-radius: 16px;
  background: var(--blue-50);
  box-shadow: none;
}

.service-card .card-icon .icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.8;
}

.service-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 26px 22px;
}

.service-card h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.12;
}

.service-card p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--gray-500);
}

.service-card .link-arrow {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 6px;
  font-size: 17px;
}

.service-img {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: right center;
}

.service-card .card-icon,
.service-card .service-copy {
  grid-row: 2;
}

/* Banner de WhatsApp */
.service-cta {
  position: relative;
  display: grid;
  grid-template-areas: "tile" "copy" "perks" "printer";
  gap: 24px;
  margin-top: 32px;
  padding: 32px 24px 0;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(420px 300px at var(--glow-x, 50%) 100%, rgba(30, 95, 235, 0.95), transparent 72%),
    linear-gradient(115deg, #0a2a6b 0%, #0d3a9c 55%, #0a2a6b 100%);
  color: rgba(255, 255, 255, 0.86);
}

.cta-wa-tile {
  grid-area: tile;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1.5px solid rgba(141, 184, 255, 0.55);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.cta-wa-tile svg {
  width: 40px;
  height: 40px;
  fill: var(--white);
}

.cta-copy {
  grid-area: copy;
}

.cta-copy h3 {
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 800;
  color: var(--white);
}

.cta-copy h3 span {
  color: #5aa6ff;
}

.cta-copy p {
  max-width: 620px;
  margin-top: 10px;
  font-size: 17px;
}

.cta-copy .btn {
  margin-top: 22px;
}

.cta-copy .btn .chevron {
  width: 22px;
  height: 22px;
}

.cta-printer {
  grid-area: printer;
  justify-self: center;
  align-self: end;
  width: 100%;
  max-width: 380px;
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 58% 70% at 50% 60%, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 58% 70% at 50% 60%, #000 45%, transparent 100%);
}

.cta-perks {
  grid-area: perks;
  display: grid;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.cta-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-perks span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}

.cta-perks .icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 559.98px) {
  .brand-pill {
    padding: 12px 14px;
  }

  .brand-pill li {
    padding: 0 9px;
  }

  .bp-epson {
    font-size: 17px;
  }

  .bp-hp span {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .bp-canon,
  .bp-brother {
    font-size: 19px;
  }
}

@media (min-width: 560px) {
  .service-card {
    grid-template-columns: 102px minmax(0, 1fr) 38%;
    column-gap: 0;
    min-height: 230px;
  }

  .service-card .card-icon {
    width: 76px;
    height: 76px;
    margin: 26px 0 0 26px;
  }

  .service-card .card-icon,
  .service-card .service-copy,
  .service-img {
    grid-row: 1;
  }

  .service-copy {
    padding: 26px 8px 26px 22px;
  }

  .service-img {
    grid-column: 3;
    height: 100%;
    align-self: stretch;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  }
}

@media (min-width: 768px) {
  .service-cta {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "tile copy"
      "perks printer";
    padding: 36px 36px 0;
    column-gap: 28px;
  }

  .cta-wa-tile {
    width: 92px;
    height: 92px;
    align-self: start;
  }

  .cta-wa-tile svg {
    width: 48px;
    height: 48px;
  }

  .cta-perks {
    align-self: center;
    grid-column: 1 / 2;
    padding-bottom: 28px;
    white-space: nowrap;
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .service-cta {
    --glow-x: 70%;
    grid-template-columns: auto minmax(0, 1.8fr) minmax(0, 0.7fr) auto;
    grid-template-areas: "tile copy printer perks";
    align-items: center;
    padding: 30px 36px 0;
  }

  .cta-copy {
    padding-bottom: 30px;
  }

  .cta-perks {
    grid-column: auto;
    padding-bottom: 0;
  }

  .cta-wa-tile {
    align-self: center;
    margin-bottom: 30px;
  }
}

/* ---------- Marcas ---------- */
.section-gray {
  background: var(--gray-50);
}

.brands-section {
  position: relative;
  overflow: hidden;
  background: #f4f6f9;
}

.eyebrow-both::after {
  content: none;
  width: 40px;
  height: 2px;
  border-radius: 3px;
  background: var(--blue);
}

.brands-section .section-head {
  max-width: 1200px;
  margin-bottom: 40px;
}

.brands-section .section-head h2 {
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 800;
}

.brands-section .section-head h2 .text-blue {
  display: block;
}

.brand-grid {
  display: grid;
  gap: 24px;
}

.brand-card {
  --accent: var(--blue);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px 24px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 0 0 1px #e1e7f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-card:hover {
  box-shadow: 0 0 0 1px var(--accent), 0 8px 18px -12px rgba(10, 26, 51, 0.25);
}

.brand-epson {
  --accent: #1463f3;
}

.brand-hp {
  --accent: #0a6fd6;
}

.brand-canon {
  --accent: #e3001b;
}

.brand-brother {
  --accent: #2d3bd6;
}

/* Logos de marca en texto, más grandes que en la franja de servicios */
.brand-card .brand-logo {
  display: flex;
  align-items: center;
  min-height: 68px;
  line-height: 1;
}

.brand-card .bp-epson {
  font-size: 40px;
}

.brand-card .bp-hp span {
  width: 64px;
  height: 64px;
  font-size: 34px;
}

.brand-card .bp-canon,
.brand-card .bp-brother {
  font-size: 42px;
}

.brand-img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 88%, transparent 100%);
}

.brand-card h3 {
  margin-top: 6px;
  font-size: clamp(22px, 1.9vw, 26px);
  font-weight: 800;
  line-height: 1.15;
}

.brand-card h3 span {
  color: var(--accent);
}

.brand-card p {
  font-size: 16px;
  color: var(--gray-500);
}

.brand-card ul {
  display: grid;
  gap: 10px;
  margin: 6px 0 10px;
  font-size: 16px;
  color: var(--gray-700);
}

.brand-card li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-card li .icon {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.brand-btn {
  width: 100%;
  margin-top: auto;
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 12px 26px -14px var(--accent);
}

.brand-btn:hover {
  filter: brightness(1.08);
}

.brand-btn .icon {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.brand-btn:hover .icon {
  transform: translateX(4px);
}

/* HP: botón con borde, como en la maqueta */
.brand-hp .brand-btn {
  background: var(--white);
  color: var(--accent);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.brand-hp .brand-btn:hover {
  background: var(--blue-50);
  filter: none;
}

/* Banda "otra marca" */
.other-brand {
  display: grid;
  gap: 20px;
  margin-top: 32px;
  padding: 28px 24px;
  border-radius: 22px;
  background: rgba(214, 228, 250, 0.5);
}

.other-brand .card-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: rgba(31, 111, 255, 0.12);
  box-shadow: none;
}

.other-brand .card-icon .icon {
  width: 40px;
  height: 40px;
  stroke-width: 1.7;
}

.other-brand h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
}

.other-brand p {
  max-width: 660px;
  margin-top: 8px;
  font-size: 17px;
  color: var(--gray-500);
}

.other-brand .btn .chevron {
  width: 22px;
  height: 22px;
}

@media (min-width: 900px) {
  .other-brand {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 30px;
    padding: 28px 40px;
  }

  .other-brand .card-icon {
    width: 96px;
    height: 96px;
  }

  .other-brand .card-icon .icon {
    width: 48px;
    height: 48px;
  }
}

/* ---------- Logos oficiales de marcas ---------- */
.hb-logo img,
.bp-logo img,
.brand-logo img {
  width: auto;
  max-width: none;
}

/* Hero (fondo oscuro): logos en blanco */
.hb-logo img {
  height: clamp(22px, 2.3vw, 36px);
  filter: brightness(0) invert(1);
}

.hb-logo.logo-hp img {
  height: clamp(38px, 3.8vw, 58px);
}

/* Franja de la sección Servicios */
.bp-logo img {
  height: clamp(20px, 2.1vw, 30px);
}

.bp-logo.logo-hp img {
  height: clamp(36px, 3.4vw, 48px);
}

/* Tarjetas de la sección Marcas */
.brand-card .brand-logo img {
  height: 40px;
}

.brand-card .brand-logo.logo-hp img {
  height: 64px;
}

@media (max-width: 767.98px) {
  .hero .hb-logo img {
    height: 17px;
  }

  .hero .hb-logo.logo-hp img {
    height: 34px;
  }
}

@media (max-width: 559.98px) {
  .bp-logo img {
    height: 16px;
  }

  .bp-logo.logo-hp img {
    height: 30px;
  }
}

/* ---------- Suministros ---------- */
.supplies-section {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.supplies-section .section-head {
  max-width: 1000px;
  margin-bottom: 40px;
}

.supplies-section .section-head h2 {
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 800;
}

.supplies-section .section-head h2 .text-blue {
  display: block;
}

.supplies-section .section-head p {
  max-width: 760px;
  margin-inline: auto;
}

.supply-grid {
  display: grid;
  gap: 22px;
}

/* Tarjeta: texto a la izquierda, foto del producto a la derecha */
.supply-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40%;
  overflow: hidden;
  min-height: 220px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 0 0 1px #e1e7f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.supply-card:hover {
  box-shadow: 0 0 0 1px rgba(31, 111, 255, 0.2), 0 8px 18px -12px rgba(10, 26, 51, 0.25);
}

.supply-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 8px 22px 22px;
}

.supply-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.supply-card .card-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--blue-50);
  box-shadow: none;
}

.supply-card .card-icon .icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.8;
}

.supply-card h3 {
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 800;
  line-height: 1.12;
}

.supply-card p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--gray-500);
}

.supply-card .link-arrow {
  align-self: flex-start;
  margin-top: auto;
  font-size: 17px;
}

.supply-img {
  width: 100%;
  height: 100%;
  max-height: 240px;
  align-self: center;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
}

/* Banner de WhatsApp de suministros (reutiliza .service-cta) */
.cta-supplies {
  grid-template-areas: "tile" "copy" "printer";
  --glow-x: 50%;
}

.cta-supplies .cta-copy h3 span {
  color: #5aa6ff;
}

.cta-line {
  font-style: normal;
}

@media (min-width: 768px) {
  .cta-line {
    display: block;
  }
}

/* Móvil: la foto del producto va arriba del texto */
@media (max-width: 559.98px) {
  .supply-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .supply-img {
    order: -1;
    height: 170px;
    padding-top: 12px;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.cta-collage {
  max-width: 560px;
  -webkit-mask-image: radial-gradient(ellipse 62% 80% at 50% 60%, #000 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 80% at 50% 60%, #000 50%, transparent 100%);
}

@media (min-width: 768px) {
  .cta-supplies {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "tile copy"
      "printer printer";
  }
}

@media (min-width: 1024px) {
  .supply-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta-supplies {
    --glow-x: 72%;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "tile copy printer";
  }

  .cta-supplies .cta-copy {
    padding-bottom: 36px;
  }
}

@media (min-width: 640px) and (max-width: 1023.98px) {
  .supply-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Proceso ---------- */
.process-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0b4bc4 0%, #0a3fa6 100%);
  color: rgba(255, 255, 255, 0.88);
}

.process-section .section-head {
  max-width: 1000px;
  margin-bottom: 44px;
}

.process-section .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.process-section .eyebrow-line::before,
.process-section .eyebrow-both::after {
  background: rgba(255, 255, 255, 0.6);
}

.process-section .section-head h2 {
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 800;
  color: var(--white);
}

@media (max-width: 559.98px) {
  .eyebrow-line {
    gap: 10px;
    letter-spacing: 0.18em;
  }

  .eyebrow-line::before,
  .eyebrow-both::after {
    width: 22px;
  }
}

.text-cyan {
  color: #4fd1ff;
}

.process-section .section-head p {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--white);
}

.process-grid {
  display: grid;
  gap: 24px;
}

.process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 26px 0;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 45%, #f1f5fc 100%);
  box-shadow: 0 30px 60px -30px rgba(0, 20, 80, 0.6);
}

.process-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.process-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #dcebff;
  color: var(--blue);
}

.process-icon svg {
  width: 42px;
  height: 42px;
}

.process-icon .icon {
  stroke-width: 1.8;
}

.process-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(34px, 3vw, 44px);
  font-weight: 800;
  line-height: 1;
  color: var(--blue);
}

.process-card h3 {
  margin-top: 4px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
}

.process-card p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--gray-500);
}

.process-img {
  width: 100%;
  height: 190px;
  margin-top: auto;
  object-fit: contain;
  object-position: center bottom;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%);
}

.steps-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.btn-pill {
  border-radius: 999px;
  padding-inline: 34px;
}

.process-section .btn-wa {
  background: #1fbf55;
  box-shadow: 0 18px 36px -16px rgba(0, 30, 10, 0.6);
}

.process-section .btn-wa:hover {
  background: #19a849;
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px;
  }

  /* Flecha entre pasos */
  .process-card:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 50%;
    right: -43px;
    width: 52px;
    height: 52px;
    border: 2px solid #8db8ff;
    border-radius: 50%;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / 24px no-repeat,
      var(--white);
    box-shadow: 0 8px 20px -8px rgba(0, 20, 80, 0.5);
    transform: translateY(-50%);
  }
}

/* ---------- Particulares y empresas ---------- */
.audience-section {
  position: relative;
  overflow: hidden;
  background: #f4f6f9;
}

.audience-section .section-head {
  max-width: 1000px;
  margin-bottom: 44px;
}

.audience-section .section-head h2 {
  font-size: clamp(30px, 4.2vw, 58px);
  font-weight: 800;
}

.audience-section .section-head h2 .text-blue {
  display: block;
}

.audience-section .section-head p {
  max-width: 820px;
  margin-inline: auto;
}

.audience {
  display: grid;
  gap: 28px;
}

.audience-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 0 0 1px #e1e7f0;
}

/* Mancha celeste detrás de la foto */
.audience-card::before {
  content: none;
  position: absolute;
  top: -10%;
  right: -12%;
  width: 70%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31, 111, 255, 0.16), rgba(31, 111, 255, 0));
  pointer-events: none;
}

.aud-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 30px 24px 0;
}

.aud-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.aud-head .card-icon {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border-radius: 18px;
  background: var(--blue-50);
  box-shadow: none;
}

.aud-head .card-icon .icon {
  width: 40px;
  height: 40px;
  stroke-width: 1.8;
}

.audience-card h3 {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
}

.aud-head p {
  margin-top: 6px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--gray-700);
}

.check-list {
  display: grid;
  gap: 16px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--navy-800);
}

.check-list .icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  stroke-width: 1.8;
  color: var(--blue);
}

.audience-card .btn {
  align-self: flex-start;
}

.audience-card .btn .chevron {
  width: 22px;
  height: 22px;
}

.btn-wa-blue {
  background: var(--blue);
  box-shadow: var(--shadow-blue);
}

.btn-wa-blue:hover {
  background: var(--blue-600);
}

.aud-img {
  position: relative;
  width: 100%;
  height: 240px;
  margin-top: 20px;
  object-fit: cover;
  object-position: center bottom;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 25%);
}

/* Tablet y escritorio: la foto ocupa la esquina derecha de la tarjeta */
@media (min-width: 640px) {
  .audience-card {
    min-height: 540px;
  }

  .aud-content {
    height: 100%;
    padding: 34px 34px 32px;
  }

  .aud-content .btn {
    margin-top: auto;
  }

  .check-list {
    max-width: 50%;
  }

  .aud-img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52%;
    height: 68%;
    margin: 0;
    object-position: left bottom;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%), linear-gradient(180deg, transparent 0%, #000 22%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 32%), linear-gradient(180deg, transparent 0%, #000 22%);
    mask-composite: intersect;
  }
}

@media (min-width: 1100px) {
  .audience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Nosotros ---------- */
.about-section {
  background: #ffffff;
}

.about-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.about-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 3.4vw, 54px);
  font-weight: 800;
  line-height: 1.05;
}

.about-copy h2 span {
  display: block;
}

.about-copy p {
  max-width: 620px;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--gray-500);
}

.about-copy p + p {
  margin-top: 16px;
}

/* Carrusel de fotos reales de CMY */
.gallery {
  position: relative;
}

.gallery-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--navy-900);
  box-shadow: 0 0 0 1px #e1e7f0, 0 24px 50px -32px rgba(10, 26, 51, 0.5);
  touch-action: pan-y;
}

.gallery-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gallery-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.gallery-slide figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* El aviso es vertical: se muestra completo sobre un fondo difuminado de la misma foto */
.gallery-slide.is-contain img:not(.gallery-bg) {
  position: relative;
  z-index: 1;
  object-fit: contain;
  padding: 18px 0 70px;
}

.gallery-bg {
  position: absolute;
  inset: 0;
  filter: blur(22px) brightness(0.55);
  transform: scale(1.15);
}

.gallery-slide figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding: 48px 22px 20px;
  background: linear-gradient(0deg, rgba(5, 13, 31, 0.88) 0%, rgba(5, 13, 31, 0.55) 55%, rgba(5, 13, 31, 0) 100%);
  color: var(--white);
}

.gallery-tag {
  justify-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-slide figcaption strong {
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  line-height: 1.3;
}

.gallery-arrow {
  position: absolute;
  top: calc(50% - 12px);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-900);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.gallery-arrow:hover {
  background: var(--blue);
  color: var(--white);
}

.gallery-prev {
  left: 12px;
}

.gallery-prev .icon {
  transform: rotate(180deg);
}

.gallery-next {
  right: 12px;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.gallery-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--gray-200);
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.gallery-dots button[aria-selected="true"] {
  width: 28px;
  background: var(--blue);
}

@media (max-width: 559.98px) {
  .gallery-arrow {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track {
    transition: none;
  }
}

/* Beneficios */
.about-features {
  display: grid;
  gap: 18px;
  margin-top: 44px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 20px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 0 0 1px #e1e7f0;
}

.about-feature .card-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--blue-50);
  box-shadow: none;
}

.about-feature .card-icon .icon {
  width: 30px;
  height: 30px;
  stroke-width: 1.8;
}

.about-feature h3 {
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.about-feature p {
  font-size: 15px;
  line-height: 1.45;
  color: var(--gray-500);
}

@media (min-width: 640px) {
  .about-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
  }

  .about-copy h2 span,
  .cta-about .cta-line {
    white-space: nowrap;
  }

  .cta-about {
    grid-template-columns: auto minmax(0, 1.25fr) minmax(0, 0.85fr);
  }

  .cta-about .cta-copy h3 {
    font-size: clamp(26px, 2.3vw, 36px);
  }




  .about-features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Preguntas frecuentes ---------- */
.faq {
  display: grid;
  gap: 48px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--blue);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .icon {
  color: var(--blue);
  transition: transform 0.25s ease;
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

.faq-item .answer {
  padding: 0 22px 22px;
  color: var(--gray-500);
}

.faq-side .btn {
  margin-top: 28px;
}

/* ---------- Contacto ---------- */
.contact {
  display: grid;
  gap: 32px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
}

.info-row .icon-wrap {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--blue);
  color: var(--white);
}

.info-row .icon-wrap.wa {
  background: var(--wa);
}

.info-row .icon-wrap.wa svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.info-row small {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.info-row div > span,
.info-row div > a {
  font-weight: 600;
  color: var(--navy-900);
}

.info-row div > a:hover {
  color: var(--blue);
}

.contact-map {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px #e1e7f0;
}

.contact-form {
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.8);
}

.contact-form h3 {
  font-size: 26px;
  color: var(--white);
}

.contact-form > p {
  margin-top: 8px;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238db8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
  padding-right: 44px;
}

.field select option {
  color: var(--navy-900);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-300);
  background: rgba(255, 255, 255, 0.1);
}

.field .error {
  display: none;
  margin-top: 6px;
  font-size: 14px;
  color: #ffb4b4;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #ff7a7a;
}

.field.has-error .error {
  display: block;
}

/* Casilla de autorización de datos personales (Ley 1581 de 2012) */
.field-check label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.field-check input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  padding: 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.field-check a {
  color: #8fc1ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.field-check.has-error label {
  color: #ffb4b4;
}

.contact-form .btn {
  width: 100%;
  margin-top: 8px;
}

.form-note {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 88px;
  padding-top: 64px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.marquee {
  display: flex;
  overflow: hidden;
  padding-bottom: 56px;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  animation: marquee 38s linear infinite;
}

.marquee-track span {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 64px);
  font-weight: 700;
  color: var(--white);
}

.marquee-track span:nth-child(4n + 1) {
  color: var(--blue-300);
}

.marquee-track i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
}

.marquee-track i:nth-of-type(3n + 2) {
  background: var(--magenta);
}

.marquee-track i:nth-of-type(3n) {
  background: var(--yellow);
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  max-width: 380px;
  margin-top: 20px;
}

.footer-brand .btn {
  margin-top: 26px;
}

.footer-col h3 {
  margin-bottom: 16px;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-block: 26px 34px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* Información legal del pie de página */
.footer-legal {
  display: grid;
  gap: 10px;
  padding-top: 26px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
}

.footer-legal nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal nav a:hover {
  color: var(--white);
}

.footer-legal .ph {
  color: #ffd23f;
}

/* ---------- Páginas legales ---------- */
.legal-header {
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}

.legal-header .header-inner {
  height: 84px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
}

.legal-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}

.legal-main h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
}

.legal-updated {
  margin-top: 10px;
  font-size: 15px;
  color: var(--gray-500);
}

.legal-main h2 {
  margin: 40px 0 12px;
  font-size: 22px;
  font-weight: 800;
}

.legal-main p,
.legal-main li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
}

.legal-main p + p {
  margin-top: 12px;
}

.legal-main ul {
  display: grid;
  gap: 6px;
  margin: 10px 0;
  padding-left: 22px;
  list-style: disc;
}

.legal-main a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-box {
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--gray-50);
  box-shadow: 0 0 0 1px #e1e7f0;
}

.legal-box p {
  margin: 0;
}

.legal-footer {
  padding: 26px 20px;
  background: var(--navy-950);
  font-size: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.legal-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

/* Aviso de marcas en la sección Marcas */
.brand-disclaimer {
  max-width: 900px;
  margin: 22px auto 0;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
  color: var(--gray-500);
}

/* ---------- Botón flotante de WhatsApp (móvil) ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: var(--wa);
  color: var(--navy-950);
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 14px 30px -8px rgba(18, 140, 74, 0.6);
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.04);
}

.wa-float .wa-circle {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
}

.wa-float .wa-circle svg {
  width: 26px;
  height: 26px;
  fill: var(--wa-dark);
}

.wa-float .wa-circle::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--white);
  opacity: 0;
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* ---------- Animación de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 640px) {
  .container {
    padding-inline: 28px;
  }


  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid .full {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .section {
    padding-block: 112px;
  }


  .contact-form {
    padding: 40px;
  }
}

@media (min-width: 1024px) {
  :root {
    --header-h: 96px;
  }

  .logo-mark {
    height: 48px;
  }

  .logo-sub {
    font-size: 12px;
  }

  .main-nav {
    display: flex;
    gap: clamp(8px, 1.6vw, 34px);
  }

  .header-actions .btn-wa {
    display: inline-flex;
  }

  .header-actions .icon-btn {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }


  .brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }


  .faq {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 72px;
  }

  .faq-side {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    align-self: start;
  }

  .contact {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }

  /* En escritorio el botón de WhatsApp siempre visible está en el encabezado fijo */
  .wa-float {
    display: none;
  }
}

@media (max-width: 1023.98px) {
  /* Espacio para que el botón flotante no tape el pie de página */
  .site-footer {
    padding-bottom: 76px;
  }
}

@media (min-width: 1024px) and (max-width: 1279.98px) {
  .main-nav a {
    font-size: 15px;
  }

  .header-actions .hide-lg {
    display: none;
  }
}

@media (max-width: 380px) {
  .logo-mark {
    height: 32px;
  }

  .logo-sub {
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Paquetes y cotizador
   ========================================================================== */

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--blue-600);
}

.btn-outline {
  background: var(--white);
  color: var(--blue);
  box-shadow: inset 0 0 0 1.5px var(--blue);
}

.btn-outline:hover {
  background: var(--blue-50);
}

.btn .chevron {
  width: 20px;
  height: 20px;
}

/* ---------- Sección Paquetes ---------- */
.packages-section {
  background: #ffffff;
}

.packages-section .section-head,
.quote-section .section-head {
  max-width: 900px;
  margin-bottom: 40px;
}

.packages-section .section-head h2,
.quote-section .section-head h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
}

.packages-section .section-head h2 .text-blue,
.quote-section .section-head h2 .text-blue {
  display: block;
}

.packages-section .section-head p,
.quote-section .section-head p {
  max-width: 720px;
  margin-inline: auto;
}

.pkg-grid {
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin-inline: auto;
}

.pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 26px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 0 0 1px #e1e7f0;
}

.pkg-card.is-featured {
  box-shadow: 0 0 0 2px var(--blue), 0 18px 40px -26px rgba(31, 111, 255, 0.6);
}

.pkg-badge {
  position: absolute;
  top: -13px;
  right: 22px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.pkg-head h3 {
  font-size: 22px;
  font-weight: 800;
}

.pkg-price {
  margin-top: 6px;
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--blue);
}

.pkg-sub {
  margin-top: 6px;
  font-size: 15px;
  color: var(--gray-500);
}

.pkg-pickup,
.pkg-warranty {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
}

.pkg-pickup {
  padding: 10px 14px;
  border-radius: 12px;
  background: #e9f9ef;
  color: #0f6b33;
}

.pkg-pickup .icon,
.pkg-warranty .icon {
  width: 22px;
  height: 22px;
}

.pkg-warranty .icon {
  color: var(--blue);
}

.pkg-list {
  display: grid;
  gap: 9px;
}

.pkg-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--gray-700);
}

.pkg-list .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  stroke-width: 2.6;
  color: var(--wa-btn);
}

.pkg-cta {
  margin-top: auto;
  width: 100%;
}

.pkg-notes {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.pkg-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 20px;
  border-radius: 18px;
  background: var(--gray-50);
  box-shadow: 0 0 0 1px #e1e7f0;
}

.pkg-note .card-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--white);
  box-shadow: none;
}

.pkg-note .card-icon .icon {
  width: 26px;
  height: 26px;
}

.pkg-note h3 {
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 800;
}

.pkg-note p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--gray-500);
}

.pkg-note strong {
  color: var(--navy-900);
}

.pkg-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 30px;
  font-size: 15px;
  color: var(--gray-700);
}

.pkg-facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pkg-facts .icon {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.pkg-disclaimer {
  max-width: 760px;
  margin: 16px auto 0;
  font-size: 14px;
  text-align: center;
  color: var(--gray-500);
}

/* ---------- Cotizador ---------- */
.quote-section {
  background: #f4f6f9;
}

.quote-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.quote-card {
  min-width: 0;
  padding: 26px 20px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 0 0 1px #e1e7f0;
}

.q-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--gray-100);
}

.q-progress-bar {
  display: block;
  width: 12%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width 0.35s ease;
}

.q-progress-text {
  margin: 10px 0 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
}

.q-step {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.q-title {
  padding: 0;
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy-900);
  outline: none;
}

.q-help {
  margin: 8px 0 20px;
  font-size: 15px;
  color: var(--gray-500);
}

.q-grid-2 {
  display: grid;
  gap: 16px;
  margin-top: 4px;
}

.q-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
}

.q-field input,
.q-field select,
.q-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy-900);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.q-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
}

.q-field input:focus,
.q-field select:focus,
.q-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 111, 255, 0.15);
}

.q-field input:disabled {
  background: var(--gray-50);
  color: var(--gray-400);
}

.q-field textarea {
  resize: vertical;
}

.q-step .q-field + .q-field {
  margin-top: 0;
}

#q-problemas + .q-tip + .q-field,
#q-problemas + .q-field {
  margin-top: 18px;
}

.q-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  font-size: 15px;
  color: var(--gray-700);
  cursor: pointer;
}

.q-check input {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.q-field .q-check {
  font-weight: 500;
}

.q-legal {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.q-legal a {
  color: var(--blue);
  text-decoration: underline;
}

/* Tarjetas de opción (tipo, marca, modalidad) */
.opt-grid {
  display: grid;
  gap: 12px;
}

.opt-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.opt-card input,
.pkg-option input,
.seg input,
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.opt-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 18px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 0 0 1.5px var(--gray-200);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.opt-card:hover .opt-body {
  box-shadow: 0 0 0 1.5px var(--blue-300);
}

.opt-card input:checked + .opt-body {
  background: var(--blue-50);
  box-shadow: 0 0 0 2px var(--blue);
}

.opt-card input:focus-visible + .opt-body,
.pkg-option input:focus-visible ~ .pkg-head,
.seg input:focus-visible + span,
.chip input:focus-visible + span {
  outline: 3px solid var(--blue-300);
  outline-offset: 2px;
}

.opt-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue);
}

.opt-card input:checked + .opt-body .opt-icon {
  background: var(--blue);
  color: var(--white);
}

.opt-body strong {
  font-size: 16px;
  color: var(--navy-900);
}

.opt-body small {
  font-size: 14px;
  line-height: 1.45;
  color: var(--gray-500);
}

.opt-logo .opt-body {
  align-items: center;
  justify-content: center;
  min-height: 92px;
}

.opt-logo img {
  width: auto;
  max-width: 100%;
  height: 28px;
}

.opt-logo img.logo-hp {
  height: 48px;
}

/* Modelo + ayuda visual */
.q-model {
  display: grid;
  gap: 16px;
  align-items: center;
}

.q-model-help {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 14px;
  border-radius: 16px;
  background: var(--gray-50);
  box-shadow: 0 0 0 1px #e1e7f0;
}

.q-model-help svg {
  width: 120px;
  flex-shrink: 0;
}

.q-model-help figcaption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-500);
}

.q-model-help strong {
  color: var(--navy-900);
}

.q-question {
  margin-top: 26px;
}

.q-question[hidden] {
  display: none;
}

.q-question-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy-900);
}

.q-question .q-help {
  margin: 4px 0 12px;
}

/* Botones segmentados (Sí / No / No lo sé) */
.seg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.seg-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seg label {
  position: relative;
  cursor: pointer;
}

.seg label > span {
  display: block;
  min-height: 50px;
  padding: 14px 10px;
  line-height: 1.35;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 0 0 1.5px var(--gray-200);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  color: var(--navy-900);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.seg label:hover > span {
  box-shadow: 0 0 0 1.5px var(--blue-300);
}

.seg input:checked + span {
  background: var(--blue);
  box-shadow: 0 0 0 2px var(--blue);
  color: var(--white);
}

/* Chips de problemas */
.chips {
  display: grid;
  gap: 10px;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip > span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 0 0 1.5px var(--gray-200);
  font-size: 15px;
  line-height: 1.35;
  color: var(--navy-900);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.chip > span::before {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1.5px var(--gray-400);
  background: var(--white) center / 14px no-repeat;
}

.chip:hover > span {
  box-shadow: 0 0 0 1.5px var(--blue-300);
}

.chip input:checked + span {
  background: var(--blue-50);
  box-shadow: 0 0 0 2px var(--blue);
}

.chip input:checked + span::before {
  box-shadow: none;
  background-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.q-tip {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff8db;
  font-size: 14px;
  line-height: 1.5;
  color: #6b5200;
}

.q-tip[hidden] {
  display: none;
}

/* Paquetes seleccionables dentro del asistente */
.pkg-grid-select {
  max-width: none;
}

.pkg-option {
  cursor: pointer;
  padding: 26px 22px;
  box-shadow: 0 0 0 1.5px var(--gray-200);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.pkg-option.is-featured {
  box-shadow: 0 0 0 1.5px var(--blue-300);
}

.pkg-option:hover {
  box-shadow: 0 0 0 1.5px var(--blue);
}

.pkg-option:has(input:checked) {
  background: #f6f9ff;
  box-shadow: 0 0 0 2.5px var(--blue);
}

.pkg-select-mark {
  position: absolute;
  top: 20px;
  left: 20px;
  display: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}

.pkg-select-mark .icon {
  width: 16px;
  height: 16px;
  stroke-width: 3;
}

.pkg-option input:checked ~ .pkg-select-mark {
  display: grid;
}

.pkg-option input:checked ~ .pkg-head {
  padding-left: 38px;
}

.q-conditions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding: 18px;
  border-radius: 16px;
  background: var(--gray-50);
  box-shadow: 0 0 0 1px #e1e7f0;
}

.q-conditions p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-700);
}

.q-conditions strong {
  color: var(--navy-900);
}

/* Resumen */
.q-summary {
  display: grid;
  margin: 0;
}

.q-summary > div {
  display: grid;
  gap: 2px;
  padding: 11px 0;
  border-bottom: 1px solid var(--gray-100);
}

.q-summary dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.q-summary dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-900);
}

.q-error {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fdecec;
  font-size: 14px;
  font-weight: 600;
  color: #b42318;
}

.q-error[hidden] {
  display: none;
}

.q-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

.q-nav .q-next,
.q-nav .q-send {
  margin-left: auto;
}

.q-nav [hidden] {
  display: none;
}

/* Resumen lateral */
.quote-aside {
  display: none;
  padding: 24px;
  border-radius: 24px;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.8);
}

.quote-aside-title {
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}

.q-summary-sm > div {
  border-color: rgba(255, 255, 255, 0.1);
}

.q-summary-sm dt {
  color: var(--blue-300);
}

.q-summary-sm dd {
  font-size: 15px;
  color: var(--white);
}

.q-aside-empty {
  padding: 10px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.quote-aside-total {
  display: grid;
  gap: 2px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.quote-aside-total span {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-300);
}

.quote-aside-total strong {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  color: var(--white);
}

.quote-aside-total small {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

@media (min-width: 640px) {
  .quote-card {
    padding: 34px 32px;
  }

  .q-grid-2,
  .opt-grid-2,
  .opt-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .opt-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .seg-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .pkg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pkg-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .q-model {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
}

@media (min-width: 1024px) {
  .quote-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
  }

  .quote-aside {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .opt-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pkg-card {
    padding: 34px 32px;
  }
}

/* ---------- Panel de cotización en Contacto ---------- */
.contact-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 22px;
  border-radius: 24px;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(31, 111, 255, 0.35), transparent 70%),
    var(--navy-900);
  color: rgba(255, 255, 255, 0.8);
}

.contact-panel .quote-aside-title {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 30px);
}

.contact-panel-lead {
  font-size: 16px;
  line-height: 1.5;
}

.contact-panel-pkgs {
  display: grid;
  gap: 12px;
}

.contact-panel-pkgs a {
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-panel-pkgs a:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1.5px var(--blue-300);
}

.contact-panel-pkgs a.is-featured {
  box-shadow: inset 0 0 0 1.5px var(--blue-bright);
}

.contact-panel-pkgs span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-300);
}

.contact-panel-pkgs strong {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
}

.contact-panel-pkgs small {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-panel-facts {
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: var(--white);
}

.contact-panel-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-panel-facts .icon {
  width: 20px;
  height: 20px;
  color: var(--blue-300);
}

.contact-panel-cta {
  width: 100%;
}

.contact-panel-alt {
  font-size: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.contact-panel-alt a {
  font-weight: 700;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 640px) {
  .contact-panel {
    padding: 36px 34px;
  }

  .contact-panel-pkgs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}