﻿/* ============================================================
   Digital Country — Mockup Visual
   Versión 1.0 | Junio 2026
   Paleta: Azul #1a3a8c · Verde #2e7d32 · Amarillo #f5c800
   ============================================================ */

/* ==============================
   CUSTOM PROPERTIES
   ============================== */
:root {
  /* Brand colors */
  --azul:          #0D1F63;
  --azul-oscuro:   #091852;
  --azul-darkest:  #060e36;
  --verde:         #2E8B3C;
  --verde-dark:    #1e6029;
  --amarillo:      #F2C400;
  --amarillo-dark: #c9a400;
  --cian:          #00B4D8;
  --magenta:       #E0396B;
  --naranja:       #F07A3E;

  /* Neutrals */
  --blanco:        #ffffff;
  --gris-claro:    #f4f4f4;
  --gris-borde:    #e0e0e8;
  --texto:         #14204A;
  --texto-medio:   #3d4a72;
  --texto-suave:   #7a7a95;

  /* Backgrounds */
  --fondo-calido:  #F6F3EC;
  --fondo-frio:    #F3F6FB;

  /* Shadows */
  --shadow-card:  0 4px 20px rgba(13, 31, 99, 0.08);
  --shadow-hover: 0 10px 36px rgba(13, 31, 99, 0.15);

  /* Border radius */
  --radius:    10px;
  --radius-sm:  6px;
  --radius-xs:  4px;

  /* Layout */
  --container:  1200px;
  --section-py: 56px;
  --header-h:   78px;

  /* Typography */
  --font-title: 'Montserrat', sans-serif;
  --font-body:  'Inter', sans-serif;

  /* Transitions */
  --t: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--texto);
  background: #FAFAF8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ==============================
   CONTAINER
   ============================== */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ==============================
   SECTIONS
   ============================== */
.section {
  padding: var(--section-py) 0;
}

.section--white {
  background: var(--fondo-calido);
  background-image: radial-gradient(circle, rgba(13,31,99,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.section--gray {
  background: var(--fondo-frio);
  background-image: radial-gradient(circle, rgba(13,31,99,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.section--blue-dark { background: linear-gradient(172deg, #1C2E73 0%, #0D1F63 45%, #060e36 100%); }

/* ==============================
   CONTINUIDAD — HOJAS DE PAPEL
   Secciones claras flotan sobre
   las oscuras como papel impreso
   ============================== */
#soluciones,
#nosotros,
#contacto {
  margin-top: -24px;
  border-radius: 22px 22px 0 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.16);
}

/* Secciones oscuras que siguen a una clara: top suavizado */
#proceso.section--blue-dark {
  border-radius: 22px 22px 0 0;
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 44px;
  position: relative;
}

.section-header::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--amarillo);
  border-radius: 2px;
  margin: 0 auto 20px;
}

.section--blue-dark .section-header::before {
  background: rgba(245, 200, 0, 0.55);
}

.section-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  color: var(--texto);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.section-title--light { color: var(--blanco); }
.section-title--left  { text-align: left; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--texto-medio);
  max-width: 620px;
  margin-inline: auto;
  line-height: 1.65;
}

.section-subtitle--light { color: rgba(255, 255, 255, 0.78); margin-inline: 0; }

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ==============================
   BUTTONS
   ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 0.95rem;
}

.btn--full {
  width: 100%;
}

/* Blue button */
.btn--azul {
  background: var(--azul);
  color: var(--blanco);
}
.btn--azul:hover {
  background: var(--azul-oscuro);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Green / WhatsApp button */
.btn--verde {
  background: var(--verde);
  color: var(--blanco);
}
.btn--verde:hover {
  background: var(--verde-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(46, 125, 50, 0.5);
}

/* Outline white button (for dark hero backgrounds) */
.btn--outline-white {
  background: transparent;
  color: var(--blanco);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.85);
  transform: translateY(-2px);
}

/* Yellow / CTA button */
.btn--amarillo {
  background: var(--amarillo);
  color: var(--azul-oscuro);
}
.btn--amarillo:hover {
  background: var(--amarillo-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 200, 0, 0.4);
}

/* ==============================
   HEADER
   ============================== */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  /* Capa invisible sobre el hero — integrado, no separado */
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid transparent;
  height: var(--header-h);
  transition: background 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

/* Al hacer scroll: header sólido cálido */
.header--scrolled {
  background: rgba(246, 243, 236, 0.98);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(13, 31, 99, 0.10);
  box-shadow: 0 2px 20px rgba(13, 31, 99, 0.09);
}

/* ── Texto blanco cuando el header es glass (sobre el hero) ── */
.header:not(.header--scrolled) .nav__link {
  color: rgba(255, 255, 255, 0.88);
}
.header:not(.header--scrolled) .nav__link:hover {
  color: var(--amarillo);
  border-bottom-color: rgba(245, 200, 0, 0.65);
  background: transparent;
}
.header:not(.header--scrolled) .header__brand-name {
  color: var(--blanco);
}
.header:not(.header--scrolled) .header__brand-sub {
  color: rgba(255, 255, 255, 0.72);
}
/* badge en glass: colores ya definidos en la regla base */
.header:not(.header--scrolled) .header__brand-text {
  border-left-color: rgba(255, 255, 255, 0.20);
}
.header:not(.header--scrolled) .header__logo {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}
.header:not(.header--scrolled) .header__cta {
  background: rgba(242, 196, 0, 0.92);
  color: var(--azul-darkest);
}
.header:not(.header--scrolled) .hamburger__line {
  background: rgba(255, 255, 255, 0.90);
}

/* ── Texto oscuro restaurado al hacer scroll ── */
.header--scrolled .nav__link       { color: var(--texto); }
.header--scrolled .header__brand-name { color: var(--azul-oscuro); }
.header--scrolled .header__brand-sub  { color: var(--verde); }
.header--scrolled .header__brand-text { border-left-color: var(--gris-borde); }
.header--scrolled .header__logo {
  background: none;
  border: none;
  padding: 0;
}
.header--scrolled .header__cta     { background: var(--amarillo); color: var(--azul-oscuro); }
.header--scrolled .hamburger__line { background: var(--texto); }
.header--scrolled .header__po {
  border-left-color: var(--gris-borde);
}
/* badge en glass: colores ya en la imagen PNG */

.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}

/* Brand block: logo + name + institutional subtitle */
.header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.header__logo {
  flex-shrink: 0;
  line-height: 0;
  display: flex;
  align-items: center;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.header__brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-left: 1px solid var(--gris-borde);
  padding-left: 12px;
}

.header__brand-name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--azul-oscuro);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.header__brand-sub {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.62rem;
  color: var(--verde);
  letter-spacing: 0.025em;
  line-height: 1;
  white-space: nowrap;
  text-transform: none;
}

/* ── Badge PRINT & Office — imagen PNG ── */
.header-print-office {
  display: block;
  width: 74px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
  margin-left: 18px;
  margin-right: 28px;
  filter:
    drop-shadow(1.2px 0 0 #fff)
    drop-shadow(-1.2px 0 0 #fff)
    drop-shadow(0 1.2px 0 #fff)
    drop-shadow(0 -1.2px 0 #fff)
    drop-shadow(1.2px 1.2px 0 #fff)
    drop-shadow(-1.2px -1.2px 0 #fff)
    drop-shadow(1.2px -1.2px 0 #fff)
    drop-shadow(-1.2px 1.2px 0 #fff);
}

.header__logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

/* Nav */
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  justify-content: center;
}

.nav__link {
  display: block;
  padding: 8px 11px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--texto);
  border-radius: var(--radius-xs);
  transition: background var(--t), color var(--t);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link--active {
  background: transparent;
  color: var(--azul);
  border-bottom: 2px solid var(--amarillo);
}
.header:not(.header--scrolled) .nav__link--active {
  color: var(--amarillo);
  border-bottom-color: rgba(245,200,0,0.65);
}

.header__cta {
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: auto;
  font-size: 0.82rem;
  padding: 10px 18px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--texto);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger--open .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger--open .hamburger__line:nth-child(2) {
  opacity: 0;
}
.hamburger--open .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==============================
   HERO
   ============================== */
.hero {
  width: 100%;
  min-height: 84vh;
  min-height: 84svh;
  background-color: var(--azul-darkest);
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}

/* Franja CMYK vertical — marca de imprenta */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom,
    #00B4D8 0%, #00B4D8 25%,
    #E0396B 25%, #E0396B 50%,
    #F2C400 50%, #F2C400 75%,
    #14204A 75%, #14204A 100%
  );
  z-index: 3;
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 12%;
  transform: translateY(-50%);
  width: 260px;
  height: 260px;
  border: 2px solid rgba(245,200,0,0.12);
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
}

.hero__video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Overlay suavizado: imagen respira más en el lado derecho */
  background:
    linear-gradient(to bottom, transparent 72%, rgba(6, 14, 54, 0.55) 100%),
    linear-gradient(108deg,
      rgba(6, 14, 54, 0.82) 0%,
      rgba(6, 14, 54, 0.65) 30%,
      rgba(6, 14, 54, 0.18) 60%,
      transparent 80%
    );
  z-index: 1;
}

.hero__content {
  padding-top: 36px;
  padding-bottom: 56px;
  padding-left: 36px;
  max-width: 720px;
  margin-right: auto;
  margin-left: 0;
  position: relative;
  z-index: 4;
}

.hero__title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(1.5rem, 2.8vw, 2.6rem);
  color: var(--blanco);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  text-align: left;
}

/* .hero__subtitle removed from HTML — rule kept as no-op guard */
.hero__subtitle {
  display: none;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amarillo);
  background: rgba(242, 196, 0, 0.08);
  border: 1px solid rgba(242, 196, 0, 0.30);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.hero__service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.76rem;
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.hero__tag i {
  color: var(--amarillo);
  font-size: 0.82rem;
}

.hero__btns {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
}

.hero__btns .btn--verde {
  font-size: 1rem;
  padding: 16px 28px;
}

.hero__btns .btn--amarillo {
  font-size: 0.92rem;
  padding: 16px 24px;
}

/* ==============================
   BARRA DE CONFIANZA
   ============================== */
.trust-bar {
  background: var(--azul-darkest);
  padding: 36px 0;
  border-bottom: none;
  border-top: none;
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--amarillo);
  border-radius: 12px;
  padding: 22px 20px;
  transition: background var(--t), transform var(--t);
}

.trust-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.trust-item__number {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--amarillo);
  line-height: 1;
  flex-shrink: 0;
}

.trust-item__icon {
  font-size: 1.7rem;
  color: var(--amarillo);
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}

.trust-item__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-item__text strong {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blanco);
  line-height: 1.3;
}

.trust-item__text span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

/* ==============================
   SERVICIOS PRINCIPALES
   ============================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--fondo-calido);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(13,31,99,0.07), 0 6px 20px rgba(0,0,0,0.07);
  overflow: hidden;
  border-top: 3px solid rgba(13,31,99,0.12);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}

.service-card:hover {
  box-shadow: 0 4px 14px rgba(13,31,99,0.11), 0 20px 48px rgba(0,0,0,0.13);
  transform: translateY(-4px);
  border-top-color: var(--amarillo);
}

/* Featured card: Gran Formato */
.service-card--featured {
  grid-column: span 2;
  border-top-color: var(--amarillo);
}

.service-card--featured .service-card__img-wrap {
  aspect-ratio: 16 / 9;
}

.service-card--featured .service-card__title {
  font-size: 1.25rem;
}

.service-card--featured .service-card__body {
  background: linear-gradient(135deg, var(--azul-darkest) 0%, var(--azul-oscuro) 100%);
}

.service-card--featured .service-card__title {
  color: var(--blanco);
}

.service-card--featured .service-card__text {
  color: rgba(255,255,255,0.75);
}

.service-card--featured .service-card__link {
  color: var(--amarillo);
}

/* Card image */
.service-card__img-wrap {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--gris-claro);
  position: relative;
}

.service-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: rgba(10, 21, 64, 0.78);
  color: var(--blanco);
  padding: 4px 9px;
  border-radius: var(--radius-xs);
  backdrop-filter: blur(4px);
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card:hover .service-card__img {
  transform: scale(1.06);
}

/* Papelería & Oficina card visual */
.service-card__img-wrap--oficina {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--azul-darkest) 0%, var(--azul-oscuro) 60%, #1d3080 100%);
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
}

.service-card__img-wrap--oficina::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(245,200,0,0.07) 0%, transparent 55%);
}

.oficina-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  padding: 14px;
  width: 100%;
}

.oficina-visual__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  width: 100%;
}

.oficina-visual__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-sm);
  padding: 9px 5px;
  transition: background var(--t);
}

.service-card:hover .oficina-visual__item {
  background: rgba(255,255,255,0.1);
}

.oficina-visual__item i {
  font-size: 1rem;
  color: var(--amarillo);
}

.oficina-visual__item span {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.58rem;
  color: rgba(255,255,255,0.72);
  text-align: center;
  letter-spacing: 0.02em;
}

/* Card body */
.service-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  color: var(--texto);
  margin-bottom: 10px;
}

.service-card__text {
  font-size: 0.875rem;
  color: var(--texto-medio);
  line-height: 1.65;
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--azul);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.82rem;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 1px;
  transition: gap var(--t), border-color var(--t);
}

.service-card__link:hover {
  gap: 12px;
}

.service-card--featured:hover .service-card__link { border-bottom-color: var(--amarillo); }

/* ── Acento de color por tipo de servicio (imprenta) ── */
.service-card--magenta { border-top-color: var(--magenta); background: linear-gradient(170deg, #fff 55%, #ffe8f2 100%); }
.service-card--magenta:hover { border-top-color: var(--magenta); }
.service-card--magenta .service-card__link { color: var(--magenta); }
.service-card--magenta:hover .service-card__link { border-bottom-color: var(--magenta); }

.service-card--cian { border-top-color: var(--cian); background: linear-gradient(170deg, #fff 55%, #dff4fc 100%); }
.service-card--cian:hover { border-top-color: var(--cian); }
.service-card--cian .service-card__link { color: var(--cian); }
.service-card--cian:hover .service-card__link { border-bottom-color: var(--cian); }

.service-card--naranja { border-top-color: var(--naranja); background: linear-gradient(170deg, #fff 55%, #ffe4d0 100%); }
.service-card--naranja:hover { border-top-color: var(--naranja); }
.service-card--naranja .service-card__link { color: var(--naranja); }
.service-card--naranja:hover .service-card__link { border-bottom-color: var(--naranja); }

/* Chip de categoría por servicio */
.service-chip {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.service-chip--amarillo {
  color: var(--azul-oscuro);
  background: rgba(242,196,0,0.22);
  border: 1px solid rgba(242,196,0,0.45);
}
.service-card--featured .service-chip--amarillo {
  color: var(--amarillo);
  background: rgba(242,196,0,0.15);
  border-color: rgba(242,196,0,0.30);
}
.service-chip--magenta { color: var(--magenta); background: rgba(224,57,107,0.10); border: 1px solid rgba(224,57,107,0.22); }
.service-chip--cian    { color: var(--cian);    background: rgba(0,180,216,0.10);   border: 1px solid rgba(0,180,216,0.22); }
.service-chip--naranja { color: var(--naranja); background: rgba(240,122,62,0.10);  border: 1px solid rgba(240,122,62,0.22); }

/* ==============================
   GALERÍA — TRABAJOS DESTACADOS
   ============================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 290px;
  gap: 12px;
}

/* Layout 3 columns, no gaps:
   Row1: [1:2col][2:1col]
   Row2: [1cont][3:1col]
   Row3: [4:1col][5:2col]
   Row4: [6][7][8]           */

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: unset;
  cursor: pointer;
  background: #d0d4dc;
  display: block;
  text-decoration: none;
  color: inherit;
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 2; }

/* Typographic block inside gallery */
.gallery-item--text {
  background: var(--amarillo);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 18px 20px;
  cursor: default;
  border-radius: var(--radius);
}

.gallery-item--text:hover { transform: none; }

/* Category graphic block inside gallery */
.gallery-item--category {
  background: linear-gradient(135deg, var(--azul-darkest) 0%, #132878 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  border: 1px solid rgba(245, 200, 0, 0.18);
}

.gallery-item--category:hover { transform: none; }

.gallery-cat__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
}

.gallery-cat__icon {
  font-size: 2.4rem;
  color: var(--amarillo);
  opacity: 0.9;
}

.gallery-cat__label {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--blanco);
  letter-spacing: -0.01em;
}

.gallery-cat__sub {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-text__label {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10,21,64,0.55);
  margin-bottom: 8px;
}

.gallery-text__num {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--azul-darkest);
  margin-bottom: 4px;
}

.gallery-text__caption {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--azul-oscuro);
  line-height: 1.4;
}

.gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.45s ease;
  display: block;
}
/* First gallery item (lonas/banner) — portrait image in wide slot, show upper half */
.gallery-item:nth-child(1) .gallery-item__img { object-position: 50% 20%; }

.gallery-item:hover .gallery-item__img {
  transform: scale(1.08);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 21, 64, 0.62) 0%, rgba(10, 21, 64, 0.04) 38%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 14px 16px;
  opacity: 1;
  transition: background var(--t);
}

.gallery-item:hover .gallery-item__overlay {
  background: linear-gradient(to top, rgba(10, 21, 64, 0.78) 0%, rgba(10, 21, 64, 0.16) 48%, transparent 100%);
}

.gallery-item__overlay span {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blanco);
  display: flex;
  align-items: center;
  gap: 7px;
}

.gallery-item__overlay span::before {
  display: none;
}

/* Estilo sticker/etiqueta impresa */
.gallery-item__overlay span {
  background: rgba(255, 255, 255, 0.93);
  color: var(--azul-oscuro);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 14px 10px 14px;
  border-radius: 4px;
  border-left: 3px solid var(--amarillo);
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
  width: calc(100% - 32px);
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
}

/* ── Galería sobre fondo oscuro ── */
#galeria.section--blue-dark {
  padding-bottom: 80px;
}
#galeria.section--blue-dark .section-title    { color: var(--blanco); }
#galeria.section--blue-dark .section-subtitle { color: rgba(255,255,255,0.92); }
#galeria.section--blue-dark .section-subtitle strong { color: var(--amarillo); font-weight: 700; }
#galeria.section--blue-dark .section-header::before  { background: rgba(245,200,0,0.55); }

/* ==============================
   SOLUCIONES POR TIPO DE CLIENTE
   ============================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.solution-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  padding: 20px 20px;
  border-top: 3px solid rgba(245, 200, 0, 0.55);
  display: flex;
  flex-direction: column;
  transition: background var(--t), transform var(--t), border-color var(--t);
}

.solution-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  border-top-color: var(--amarillo);
}

.solution-card--accent {
  border-top-color: var(--amarillo);
  background: rgba(245, 200, 0, 0.08);
}

.solution-card--accent:hover {
  background: rgba(245, 200, 0, 0.13);
}

.solution-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(245, 200, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--amarillo);
  margin-bottom: 18px;
  flex-shrink: 0;
}

.solution-card__icon--amarillo {
  background: rgba(245, 200, 0, 0.2);
  color: var(--amarillo);
}

.solution-card__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blanco);
  margin-bottom: 10px;
}

.solution-card__text {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.65;
  flex: 1;
}

.solution-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: var(--amarillo);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.84rem;
  transition: gap var(--t);
}

.solution-card__cta:hover { gap: 12px; }
.solution-card__cta--accent { color: var(--amarillo); }

/* Solution cards on light background (when section is gray/white) */
#soluciones.section--gray .solution-card,
#soluciones.section--white .solution-card {
  background: linear-gradient(160deg, #ffffff 0%, #f6f8ff 100%);
  border: 1px solid rgba(13, 31, 99, 0.08);
  border-top: 3px solid var(--azul);
  box-shadow: 0 2px 8px rgba(13,31,99,0.05), 0 6px 24px rgba(13,31,99,0.07);
  border-radius: 14px;
}

#soluciones.section--gray .solution-card:hover,
#soluciones.section--white .solution-card:hover {
  background: linear-gradient(160deg, #ffffff 0%, #f0f4ff 100%);
  border-top-color: var(--amarillo);
  box-shadow: 0 6px 20px rgba(13,31,99,0.09), 0 18px 52px rgba(13,31,99,0.14);
  transform: translateY(-5px);
}

#soluciones.section--gray .solution-card--accent,
#soluciones.section--white .solution-card--accent {
  background: linear-gradient(160deg, #fffef5 0%, #fffbe8 100%);
  border-top-color: var(--amarillo);
}

/* Icono: azul sólido con ícono blanco — contraste premium */
#soluciones.section--gray .solution-card__icon,
#soluciones.section--white .solution-card__icon {
  width: 56px;
  height: 56px;
  background: var(--azul);
  color: var(--blanco);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(13,31,99,0.25);
  font-size: 1.35rem;
  margin-bottom: 20px;
}

#soluciones.section--gray .solution-card--accent .solution-card__icon,
#soluciones.section--white .solution-card--accent .solution-card__icon {
  background: var(--amarillo);
  color: var(--azul-oscuro);
  box-shadow: 0 4px 14px rgba(242,196,0,0.30);
}

#soluciones.section--gray .solution-card__title,
#soluciones.section--white .solution-card__title {
  color: var(--texto);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

#soluciones.section--gray .solution-card__text,
#soluciones.section--white .solution-card__text {
  color: var(--texto-medio);
  font-size: 0.86rem;
  line-height: 1.7;
}

#soluciones.section--gray .solution-card__cta,
#soluciones.section--white .solution-card__cta {
  color: var(--azul);
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 20px;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 1px;
  transition: border-color var(--t), gap var(--t);
}

#soluciones.section--gray .solution-card:hover .solution-card__cta,
#soluciones.section--white .solution-card:hover .solution-card__cta {
  border-bottom-color: var(--amarillo);
  gap: 12px;
}

#soluciones.section--gray .solution-tag,
#soluciones.section--white .solution-tag {
  color: var(--azul);
  background: rgba(13,31,99,0.07);
  border: 1px solid rgba(13,31,99,0.12);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  margin-bottom: 16px;
}

/* Solution card tag */
.solution-tag {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amarillo);
  background: rgba(245, 200, 0, 0.12);
  border: 1px solid rgba(245, 200, 0, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.solution-tag--accent {
  color: var(--amarillo);
  background: rgba(245, 200, 0, 0.18);
}

/* ── Color por tipo de cliente (CMYK accent system) ── */

/* Eventos — magenta */
#soluciones.section--gray .solution-card:nth-child(2),
#soluciones.section--white .solution-card:nth-child(2) {
  border-top-color: var(--magenta);
  background: linear-gradient(160deg, #ffffff 0%, #fff4f8 100%);
}
#soluciones.section--gray .solution-card:nth-child(2) .solution-card__icon,
#soluciones.section--white .solution-card:nth-child(2) .solution-card__icon {
  background: var(--magenta);
  box-shadow: 0 4px 14px rgba(224,57,107,0.28);
}
#soluciones.section--gray .solution-card:nth-child(2) .solution-tag,
#soluciones.section--white .solution-card:nth-child(2) .solution-tag {
  color: var(--magenta);
  background: rgba(224,57,107,0.07);
  border-color: rgba(224,57,107,0.18);
}
#soluciones.section--gray .solution-card:nth-child(2) .solution-card__cta,
#soluciones.section--white .solution-card:nth-child(2) .solution-card__cta {
  color: var(--magenta);
}
#soluciones.section--gray .solution-card:nth-child(2):hover,
#soluciones.section--white .solution-card:nth-child(2):hover {
  border-top-color: var(--magenta);
  box-shadow: 0 10px 36px rgba(224,57,107,0.14);
}

/* Escuelas — cian */
#soluciones.section--gray .solution-card:nth-child(3),
#soluciones.section--white .solution-card:nth-child(3) {
  border-top-color: var(--cian);
  background: linear-gradient(160deg, #ffffff 0%, #f2fbff 100%);
}
#soluciones.section--gray .solution-card:nth-child(3) .solution-card__icon,
#soluciones.section--white .solution-card:nth-child(3) .solution-card__icon {
  background: var(--cian);
  box-shadow: 0 4px 14px rgba(0,180,216,0.28);
}
#soluciones.section--gray .solution-card:nth-child(3) .solution-tag,
#soluciones.section--white .solution-card:nth-child(3) .solution-tag {
  color: var(--cian);
  background: rgba(0,180,216,0.07);
  border-color: rgba(0,180,216,0.18);
}
#soluciones.section--gray .solution-card:nth-child(3) .solution-card__cta,
#soluciones.section--white .solution-card:nth-child(3) .solution-card__cta {
  color: var(--cian);
}
#soluciones.section--gray .solution-card:nth-child(3):hover,
#soluciones.section--white .solution-card:nth-child(3):hover {
  border-top-color: var(--cian);
  box-shadow: 0 10px 36px rgba(0,180,216,0.14);
}

/* ==============================
   CÓMO TRABAJAMOS — TIMELINE
   ============================== */
.proceso-timeline {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 16px;
  position: relative;
}

.ptl-step {
  flex: 1;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 3px solid rgba(242, 196, 0, 0.85);
  border-radius: var(--radius);
  padding: 28px 20px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 28px rgba(0,0,0,0.18);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}

.ptl-step:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.24);
}

.ptl-step--verde { border-top-color: rgba(46, 125, 50, 0.9) !important; }

#proceso.section--blue-dark {
  background: linear-gradient(172deg, #0D1F63 0%, #091852 55%, #060e36 100%);
  border-top: none;
  padding-bottom: 128px;
}

.ptl-arrow {
  flex-shrink: 0;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  color: rgba(245, 200, 0, 0.3);
  font-size: 0.75rem;
  align-self: center;
}

.ptl-num {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 3rem;
  color: var(--amarillo);
  opacity: 0.85;
  line-height: 1;
  margin-bottom: -6px;
  display: block;
}

.ptl-icon {
  font-size: 1.5rem;
  color: var(--amarillo);
  margin-bottom: 14px;
  display: block;
  position: relative;
  z-index: 1;
}

.ptl-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blanco);
  margin-bottom: 10px;
}

.ptl-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.proceso-cta {
  margin-top: 40px;
}

/* (proceso-img and pv-card removed — replaced by ptl-* timeline) */

/* ==============================
   SOBRE NOSOTROS
   ============================== */
.nosotros-layout {
  display: grid;
  grid-template-columns: 11fr 9fr;
  gap: 36px;
  align-items: center;
}

.nosotros-img {
  position: relative;
}

/* Offset decorative block behind image */
.nosotros-img::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 14px;
  right: -14px;
  bottom: -18px;
  background: rgba(13,31,99,0.07);
  border-radius: calc(var(--radius) + 2px);
  z-index: 0;
}

.nosotros-img::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  width: 64px;
  height: 4px;
  background: var(--amarillo);
  border-radius: 2px;
  z-index: 5;
}

.nosotros-badge {
  position: absolute;
  top: 20px;
  left: -10px;
  z-index: 5;
  background: var(--amarillo);
  color: var(--azul-oscuro);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  box-shadow: 0 6px 24px rgba(242,196,0,0.45);
}

.nosotros-badge__num {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--azul-oscuro);
}

.nosotros-badge__txt {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.6rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--azul-oscuro);
}

.nosotros-img__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  filter: none;
  display: block;
  position: relative;
  z-index: 1;
}

/* Data strip overlay on nosotros image */
.nosotros-img__keydata {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(6, 14, 54, 0.92) 0%, rgba(6, 14, 54, 0.55) 55%, transparent 100%);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  padding: 52px 18px 16px;
  border-radius: 0 0 var(--radius) var(--radius);
}

.nosotros-kd-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
}

.nosotros-kd-item i {
  font-size: 0.78rem;
  color: var(--amarillo);
  flex-shrink: 0;
  width: 14px;
}

.nosotros-kd-item span {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.3;
}

.nosotros-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, rgba(242,196,0,0.10) 0%, rgba(13,31,99,0.05) 100%);
  border-left: 4px solid var(--amarillo);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(242,196,0,0.12), 0 3px 16px rgba(13,31,99,0.07);
}

.nosotros-highlight i {
  color: var(--amarillo);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.nosotros-highlight span {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--azul-oscuro);
  line-height: 1.55;
}

.nosotros-text::before {
  content: '';
  display: block;
  height: 4px;
  width: 52px;
  background: linear-gradient(to right, var(--amarillo) 0%, var(--magenta) 50%, var(--cian) 100%);
  border-radius: 2px;
  margin-bottom: 22px;
}

.nosotros-text .section-title--left {
  margin-bottom: 22px;
  padding-left: 18px;
  border-left: 4px solid var(--amarillo);
}

.nosotros-text p {
  font-size: 0.95rem;
  color: var(--texto-medio);
  line-height: 1.75;
  margin-bottom: 16px;
}

.nosotros-text .btn {
  margin-top: 12px;
}

/* ==============================
   DS MAYORISTA / BLITZ
   ============================== */
.ds-banner {
  background: var(--azul-darkest);
  background-image: radial-gradient(ellipse at 70% 50%, rgba(13,31,99,0.6) 0%, transparent 65%);
  border-top: 4px solid var(--amarillo);
  padding: 56px 0 80px;
  text-align: center;
  border-radius: 22px 22px 0 0;
}

.ds-banner__inner {
  max-width: 760px;
  margin-inline: auto;
}

.ds-banner__eyebrow {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amarillo);
  margin-bottom: 14px;
}

.ds-banner__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--blanco);
  margin-bottom: 22px;
  line-height: 1.2;
}

.ds-banner__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.68;
  margin-bottom: 8px;
}

.ds-banner .btn {
  margin-top: 28px;
}

.ds-banner__subtext {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.48);
  margin-top: 18px;
}

/* Tienda en línea — categorías */
.tienda-cats {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.tienda-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(245, 200, 0, 0.22);
  border-top: 2px solid rgba(245, 200, 0, 0.55);
  border-radius: 12px;
  padding: 18px 20px;
  min-width: 90px;
  transition: background var(--t), transform var(--t), border-color var(--t);
}

.tienda-cat:hover {
  background: rgba(245, 200, 0, 0.12);
  border-color: rgba(245, 200, 0, 0.55);
  border-top-color: var(--amarillo);
  transform: translateY(-3px);
}

.tienda-cat i {
  font-size: 1.4rem;
  color: var(--amarillo);
}

.tienda-cat span {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  white-space: nowrap;
}

/* Chips de tienda: un color por categoría */
.tienda-cats .tienda-cat:nth-child(1) { border-top-color: var(--azul); background: rgba(13,31,99,0.12); }
.tienda-cats .tienda-cat:nth-child(2) { border-top-color: var(--magenta); background: rgba(224,57,107,0.10); }
.tienda-cats .tienda-cat:nth-child(2) i { color: var(--magenta); }
.tienda-cats .tienda-cat:nth-child(3) { border-top-color: var(--cian); background: rgba(0,180,216,0.10); }
.tienda-cats .tienda-cat:nth-child(3) i { color: var(--cian); }
.tienda-cats .tienda-cat:nth-child(4) { border-top-color: var(--azul-oscuro); background: rgba(9,24,82,0.14); }
.tienda-cats .tienda-cat:nth-child(5) { border-top-color: var(--verde); background: rgba(46,139,60,0.10); }
.tienda-cats .tienda-cat:nth-child(5) i { color: var(--verde); }
.tienda-cats .tienda-cat:nth-child(6) { border-top-color: var(--naranja); background: rgba(240,122,62,0.10); }
.tienda-cats .tienda-cat:nth-child(6) i { color: var(--naranja); }

/* ==============================
   CONTACTO
   ============================== */
.contacto-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.map-placeholder {
  width: 100%;
  height: 420px;
  background:
    radial-gradient(circle at 50% 60%, rgba(13,31,99,0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 60%, rgba(13,31,99,0.04) 0%, transparent 75%),
    linear-gradient(160deg, #eef1f8 0%, #e4eaf7 100%);
  border-radius: var(--radius);
  border: 1.5px solid rgba(13,31,99,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--texto-suave);
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(26,58,140,0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.map-placeholder::after {
  content: '';
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  border: 1px solid rgba(26,58,140,0.05);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.map-placeholder i {
  font-size: 2.8rem;
  color: var(--azul);
  opacity: 0.65;
  position: relative;
  z-index: 1;
}

.map-placeholder span {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--azul-oscuro);
  position: relative;
  z-index: 1;
}

.map-placeholder small {
  font-size: 0.78rem;
  color: var(--texto-suave);
  position: relative;
  z-index: 1;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(26, 58, 140, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--azul);
  flex-shrink: 0;
}

.contact-item__icon--verde {
  background: rgba(46, 125, 50, 0.1);
  color: var(--verde);
}

.contact-item__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
}

.contact-item__text strong {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--texto);
}

.contact-item__text span {
  font-size: 0.875rem;
  color: var(--texto-medio);
  line-height: 1.5;
}

.contact-item__link {
  color: var(--azul);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.875rem;
  transition: text-decoration var(--t);
}

.contact-item__link:hover {
  text-decoration: underline;
}

/* ==============================
   FOOTER
   ============================== */
.footer {
  background: var(--azul-darkest);
  padding-top: 0;
  border-top: none;
}

/* Franja CMYK horizontal — reemplaza el border amarillo */
.footer::before {
  content: '';
  display: block;
  height: 6px;
  background: linear-gradient(to right,
    #00B4D8 0%, #00B4D8 25%,
    #E0396B 25%, #E0396B 50%,
    #F2C400 50%, #F2C400 75%,
    #14204A 75%, #14204A 100%
  );
}

.footer__top-bar {
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__top-bar p {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  text-align: center;
}

.footer__main {
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  padding-bottom: 56px;
}

.footer__logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  border-radius: var(--radius-xs);
  padding: 6px 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
}

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: background var(--t), color var(--t);
}

.footer__social a:hover {
  background: var(--amarillo);
  color: var(--azul-darkest);
}

/* Footer nav */
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 8px;
}

.footer__col h4 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--amarillo);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding-bottom: 10px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer__col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--t);
}

.footer__col a:hover {
  color: var(--blanco);
}

/* Footer bottom */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.38);
  text-align: center;
}

/* ==============================
   WHATSAPP FLOTANTE
   ============================== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--blanco);
  font-size: 1.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.55);
  transition: transform var(--t), box-shadow var(--t);
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(46, 125, 50, 0.7);
}

/* ==============================
   RESPONSIVE — LAPTOP (≤ 1280px)
   ============================== */
@media (max-width: 1280px) {
  .nav__link { padding: 8px 8px; }
}

/* ==============================
   RESPONSIVE — NARROW DESKTOP (≤ 1120px)
   Compresses nav links; hides Print & Office badge
   ============================== */
@media (max-width: 1120px) {
  .nav__link { padding: 8px 6px; font-size: 0.76rem; }
}

@media (max-width: 1024px) {
  .header-print-office { width: 60px; margin-left: 12px; margin-right: 18px; }
}

@media (max-width: 860px) {
  .header-print-office { display: none; }
}

/* ==============================
   RESPONSIVE — COMPACT DESKTOP (≤ 1100px)
   Hides long descriptor to save header space
   ============================== */
@media (max-width: 1100px) {
  .header__brand-sub { display: none; }
}

/* ==============================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================== */
@media (max-width: 1024px) {
  :root {
    --section-py: 68px;
    --container: 960px;
  }

  .header__cta { display: none; }
  .header__brand-name { font-size: 1rem; }
  .header__logo-img { height: 48px; }

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

  .trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }

  .gallery-item__overlay {
    opacity: 1; /* Always visible on tablet (touch) */
  }

  /* Proceso timeline: tablet → 2×2 grid */
  .proceso-timeline {
    flex-wrap: wrap;
  }
  .ptl-step {
    flex: 1 1 calc(50% - 32px);
    min-width: calc(50% - 32px);
  }
  .ptl-arrow:nth-child(4) { display: none; } /* hide middle arrow on wrap */

  /* Solutions: 2 columns on tablet */
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nosotros-layout {
    gap: 48px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

/* ==============================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================== */
@media (max-width: 768px) {
  /* Desactivar paper layers en móvil */
  #soluciones, #nosotros, #contacto {
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
  }
  #proceso.section--blue-dark,
  .ds-banner {
    border-radius: 0;
  }
  /* Sin paper layers en mobile: el padding extra para solapamiento no aplica */
  #galeria.section--blue-dark  { padding-bottom: var(--section-py); }
  #proceso.section--blue-dark  { padding-bottom: var(--section-py); }
  .trust-bar { padding-bottom: 36px; }

  :root {
    --section-py: 56px;
    --header-h: 70px;
  }

  /* Header */
  .hamburger { display: flex; }
  .header__brand-name { font-size: 0.9rem; }
  .header__logo-img { height: 44px; }
  .header__brand-text { padding-left: 10px; }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--blanco);
    border-bottom: 1px solid var(--gris-borde);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav--open {
    max-height: 420px;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 24px 16px;
    gap: 0;
  }

  .nav__link {
    padding: 13px 0;
    border-bottom: 1px solid var(--gris-claro);
    border-radius: 0;
    font-size: 0.95rem;
  }

  .nav__list li:last-child .nav__link {
    border-bottom: none;
  }

  /* Hero */
  .hero {
    background-image:
      linear-gradient(to bottom, rgba(10, 21, 64, 0.93) 0%, rgba(10, 21, 64, 0.85) 100%),
      url('impresora_de_corte_y_grabado_fex.png');
    background-size: cover;
    background-position: center center;
    text-align: center;
    align-items: center;
  }

  .hero__video-bg {
    display: none;
  }

  .hero__overlay {
    display: none;
  }

  .hero__content {
    max-width: 100%;
    padding-top: 40px;
    padding-bottom: 64px;
  }

  .hero__title {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .hero__service-tags {
    justify-content: center;
    margin-bottom: 24px;
  }

  .hero__btns {
    flex-direction: column;
    align-items: center;
  }

  .hero__btns .btn {
    width: 100%;
    max-width: 340px;
  }

  /* Trust bar */
  .trust-bar__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
    gap: 8px;
  }
  .gallery-item:nth-child(5) { grid-column: auto; } /* reset desktop span2 */
  .gallery-item:nth-child(1) { grid-column: span 2; } /* hero image full width */

  /* Solutions: 2 columns on mobile */
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Proceso timeline: mobile → stack vertical */
  .proceso-timeline {
    flex-direction: column;
    gap: 0;
  }
  .ptl-step {
    flex: unset;
    min-width: unset;
    width: 100%;
    text-align: left;
    padding: 20px 18px;
  }
  .ptl-arrow {
    width: 100%;
    padding: 4px 0 4px 22px;
    justify-content: flex-start;
    transform: rotate(90deg);
    height: 24px;
  }

  /* Nosotros */
  .nosotros-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nosotros-img {
    max-width: 480px;
    margin-inline: auto;
  }

  /* El bloque decorativo detrás de la imagen no desborda en mobile */
  .nosotros-img::before {
    right: 0;
    bottom: 0;
  }

  .nosotros-badge {
    left: 0;
    top: 12px;
  }

  /* Contacto */
  .contacto-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .map-placeholder {
    height: 260px;
  }

  /* Tienda en línea */
  .ds-banner__inner {
    padding-inline: 8px;
  }

  /* Footer */
  .footer__inner {
    gap: 36px;
  }

  .footer__nav {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer__brand {
    text-align: center;
  }

  .footer__tagline {
    max-width: 100%;
  }

  .footer__social {
    justify-content: center;
  }

  /* Section title scale down */
  .section-title {
    font-size: 1.55rem;
  }
}

/* ==============================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================== */
@media (max-width: 480px) {
  :root {
    --section-py: 48px;
  }

  /* Botones largos pueden hacer texto en dos líneas en pantallas pequeñas */
  .btn--lg {
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:nth-child(1) {
    grid-column: auto;
    grid-row: auto;
  }

  .trust-bar__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Solutions: 1 column on smallest screens */
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .footer__nav {
    grid-template-columns: 1fr;
  }

  .wa-float {
    bottom: 20px;
    right: 16px;
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }
}
