/* ââ Imprenta Lebrijana â Design System v2 ââââââââââââââââââââââââââââââââââ
   Stack: CSS custom properties + Tailwind utility layer (CDN)
   Fuente: Roboto (Thin 100 / Light 300 / Regular 400 / Medium 500 / Bold 700 / Black 900)
   Paleta: CMYK brand â Cyan #00aeef | Magenta #ec008c | Yellow #FFC000 | Dark #111827
   ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */

/* ââ 1. TOKENS âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ*/
:root {
  --cyan:    #00aeef;
  --magenta: #ec008c;
  --yellow:  #FFC000;
  /* Text accents â WCAG AA on light surfaces (â¥4.5:1) */
  --cyan-text:    #0077a8;
  --magenta-text: #b8006e;
  --yellow-text:  #8a6500;
  /* Button fill with white label â WCAG AA (â¥4.5:1) */
  --cyan-btn:     #0077a8;
  --cyan-btn-hover:#008fc7;
  /* Heading gradients (CMYK) */
  --heading-gradient: linear-gradient(115deg, #006a96 0%, #9a0062 48%, #7a5600 100%);
  --heading-gradient-on-dark: linear-gradient(115deg, #7dd3fc 0%, #f9a8d4 48%, #fde047 100%);
  --ink:     #111827;
  --muted:   #3f4651;
  --dark:    #1f2937;
  --dark-2:  #111827;

  /* Semantic light */
  --bg:        #f9fafb;
  --surface:   #ffffff;
  --surface-2: #f3f4f6;
  --card:      #ffffff;
  --text:      #111827;
  --text-muted:#3f4651;
  --border:    #e5e7eb;
  --input:     #f9fafb;
  --line:      #e5e7eb;

  /* Header / footer */
  --header-bg: rgba(10, 12, 16, 0.72);
  --header-blur: saturate(180%) blur(16px);
  --footer-bg:  #0d1117;
  --footer-text:rgba(255,255,255,.82);

  /* Theme toggle */
  --theme-btn-bg:     rgba(255,255,255,.12);
  --theme-btn-border: rgba(255,255,255,.28);
  --theme-btn-color:  #fff;

  /* Radius */
  --r-sm:  0.5rem;
  --r-md:  0.875rem;
  --r-lg:  1.25rem;
  --r-xl:  1.75rem;
  --r-full:9999px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.14), 0 4px 8px rgba(0,0,0,.08);
  --shadow-xl: 0 24px 56px rgba(0,0,0,.18), 0 8px 16px rgba(0,0,0,.10);

  --font: 'Roboto', 'Segoe UI', sans-serif;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

html[data-theme="dark"] {
  --bg:        #0d1117;
  --surface:   #161b22;
  --surface-2: #1c2128;
  --card:      #1c2128;
  --text:      #e6edf3;
  --text-muted:#b1bac4;
  --border:    #30363d;
  --input:     #0d1117;
  --line:      #30363d;
  --ink:       #e6edf3;
  --muted:     #b1bac4;
  --cyan-text:    #5ecfff;
  --magenta-text: #ff6bb8;
  --yellow-text:  #ffd24d;
  --cyan-btn:     #0088c0;
  --cyan-btn-hover:#00a0db;
  --heading-gradient: linear-gradient(115deg, #7dd3fc 0%, #f9a8d4 48%, #fde047 100%);
  --heading-gradient-on-dark: linear-gradient(115deg, #ffffff 0%, #7dd3fc 40%, #f9a8d4 70%, #fde047 100%);
  --header-bg: rgba(4,6,9,.82);
  --footer-bg: #040609;
  --theme-btn-bg:     rgba(255,255,255,.08);
  --theme-btn-border: rgba(255,255,255,.22);
}

/* ââ 2. RESET & BASE ââââââââââââââââââââââââââââââââââââââââââââââââââââââââ*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}
html[data-theme="dark"] { color-scheme: dark; }

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition), color var(--transition);
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); }

/* ── Scrollbar discreto (estrecho, oscuro, poco visible) ─────────────────────*/
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 24, 39, 0.32) transparent;
}
html[data-theme="dark"] {
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: transparent;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background-color: rgba(17, 24, 39, 0.28);
  border-radius: 999px;
  border: 1px solid transparent;
  background-clip: padding-box;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background-color: rgba(17, 24, 39, 0.42);
}
html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner {
  background: transparent;
}

html[data-theme="dark"]::-webkit-scrollbar-thumb,
html[data-theme="dark"] body::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.14);
}
html[data-theme="dark"]::-webkit-scrollbar-thumb:hover,
html[data-theme="dark"] body::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.24);
}

/* Contenedores con overflow (misma estética) */
.il-bot-messages,
.mobile-nav,
.work-case__gallery,
.cookie-modal__dialog {
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 24, 39, 0.28) transparent;
}
.il-bot-messages::-webkit-scrollbar,
.mobile-nav::-webkit-scrollbar,
.work-case__gallery::-webkit-scrollbar,
.cookie-modal__dialog::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
.il-bot-messages::-webkit-scrollbar-track,
.mobile-nav::-webkit-scrollbar-track,
.work-case__gallery::-webkit-scrollbar-track,
.cookie-modal__dialog::-webkit-scrollbar-track {
  background: transparent;
}
.il-bot-messages::-webkit-scrollbar-thumb,
.mobile-nav::-webkit-scrollbar-thumb,
.work-case__gallery::-webkit-scrollbar-thumb,
.cookie-modal__dialog::-webkit-scrollbar-thumb {
  background-color: rgba(17, 24, 39, 0.28);
  border-radius: 999px;
}
html[data-theme="dark"] .il-bot-messages,
html[data-theme="dark"] .mobile-nav,
html[data-theme="dark"] .cookie-modal__dialog {
  scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
}
html[data-theme="dark"] .il-bot-messages::-webkit-scrollbar-thumb,
html[data-theme="dark"] .mobile-nav::-webkit-scrollbar-thumb,
html[data-theme="dark"] .cookie-modal__dialog::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.14);
}

/* ââ Heading gradients (h1 / h2 / h3) âââââââââââââââââââââââââââââââââââââââ*/
h1, h2, h3 {
  background-image: var(--heading-gradient);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

h1 .accent,
h1 .accent-cyan,
h1 .accent-magenta,
h1 .accent-yellow,
h2 .accent,
h2 .accent-cyan,
h2 .accent-magenta,
h2 .accent-yellow,
h3 .accent,
h3 .accent-cyan,
h3 .accent-magenta,
h3 .accent-yellow {
  background-image: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

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

/* ââ 3. HEADER (glassmorphism, full-width, position fixed on hero) ââââââââââ*/
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  height: 68px;
  background: rgba(10, 12, 16, 0.78);
  background-image: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(10,12,16,.95);
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
}
.logo-text {
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}
.logo-text span { color: var(--cyan); }

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: rgba(255,255,255,.78);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-full);
  transition: color var(--transition), background var(--transition);
}

.nav a:hover,
.nav a.is-active {
  color: #fff;
  background: rgba(255,255,255,.1);
}

.nav a.is-active {
  color: #fff;
  background: rgba(0, 174, 239, 0.28);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.45);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.theme-toggle {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--theme-btn-border);
  border-radius: var(--r-md);
  background: var(--theme-btn-bg);
  color: var(--theme-btn-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.theme-toggle svg {
  display: block;
  flex-shrink: 0;
}
.theme-toggle:hover {
  transform: scale(1.08);
  border-color: var(--cyan);
  background: rgba(0,174,239,.15);
}
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun  { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  transition: background var(--transition);
}
.nav-toggle:hover { background: rgba(255,255,255,.16); }

/* Hamburger icon */
.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.nav-toggle-icon span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .22s, opacity .22s;
}

/* ââ 4. MOBILE NAV ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ*/
.mobile-nav {
  position: fixed;
  inset: 68px 0 0;
  z-index: 10040;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem;
  gap: 0.35rem;
  background: rgba(10,12,16,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow-y: auto;
  transform: translateY(-110%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  color: #fff;
}
.mobile-nav.is-open {
  transform: translateY(0);
}
.mobile-nav[hidden] { display: none; }

.mobile-nav a {
  color: rgba(255,255,255,.92);
  text-decoration: none;
  padding: 1rem 1.1rem;
  border-radius: var(--r-md);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a:hover, .mobile-nav a.is-active {
  background: rgba(0,174,239,.32);
  color: #fff;
}

/* ââ 5. HERO â FULL-BLEED FULLSCREEN SLIDESHOW âââââââââââââââââââââââââââââ*/
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  color: #fff;
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Full-bleed background image */
.hero-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 8s cubic-bezier(0.4,0,0.2,1);
}
.hero-slide.is-active .hero-slide__bg {
  transform: scale(1);
}

/* Dark overlay with gradient */
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(0,0,0,.72) 0%,
      rgba(0,0,0,.42) 55%,
      rgba(0,0,0,.18) 100%
    ),
    linear-gradient(
      to top,
      rgba(0,0,0,.55) 0%,
      transparent 50%
    );
}

/* Content sits on top */
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 6vw, 8rem);
  padding-top: 68px; /* header height */
}

.hero-copy {
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0,174,239,.18);
  border: 1px solid rgba(0,174,239,.35);
  color: #7dd3fc;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-full);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(6px);
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.5); }
}

.hero h1,
.hero h2.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  background-image: var(--heading-gradient-on-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero h1 .accent,
.hero h2.hero-title .accent {
  background-image: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 40%, #f9a8d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,.78);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* BotÃ³n primario hero */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cyan-btn);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  border-radius: var(--r-full);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(0,119,168,.4);
}
.btn-primary:hover {
  background: var(--cyan-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,119,168,.5);
}
.btn-primary .btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
  flex-shrink: 0;
  color: transparent;
}
.btn-primary .btn-icon::after {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
  margin-left: -1px;
}

/* BotÃ³n secundario hero (ghost) */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: rgba(255,255,255,.88);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 1.5rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.28);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

/* Hero controls */
.hero-controls {
  position: absolute;
  bottom: clamp(2rem, 5vh, 3.5rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 5;
}

.hero-nav {
  width: 3rem;
  height: 3rem;
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--r-full);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.hero-nav::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
}
.hero-prev::after { transform: rotate(-135deg); margin-left: 2px; }
.hero-next::after { transform: rotate(45deg); margin-left: -2px; }
.hero-nav:hover {
  background: rgba(0,174,239,.4);
  border-color: var(--cyan);
  transform: scale(1.1);
}

.hero-dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  pointer-events: none;
}

.hero-dots span {
  width: 6px; height: 6px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.35);
  transition: background var(--transition), width var(--transition);
}
.hero-dots span.is-active {
  width: 24px;
  background: #fff;
}

/* CMYK marks â laterales sincronizados con el slide */
.hero-cmyk {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3.25rem);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 0.55rem;
  z-index: 6;
  pointer-events: none;
}
.hero-cmyk span {
  width: 1.2rem;
  height: 2.15rem;
  display: block;
  border-radius: var(--r-sm);
  opacity: 0.28;
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.hero-cmyk span:nth-child(1) { background: var(--cyan); }
.hero-cmyk span:nth-child(2) { background: var(--magenta); }
.hero-cmyk span:nth-child(3) { background: var(--yellow); }
.hero-cmyk span:nth-child(4) {
  background: #0d0d0d;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.hero-cmyk span.is-active {
  opacity: 1;
  transform: scale(1.08);
  box-shadow: 0 0 14px rgba(255,255,255,.22);
}
.hero-cmyk span:nth-child(4).is-active {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.55),
    0 0 16px rgba(255,255,255,.2);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: clamp(1.5rem, 4vh, 2.5rem);
  left: clamp(1.5rem, 4vw, 3rem);
  right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,.5);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 5;
}
.hero-scroll__line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scroll-line 2.2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ââ 6. SECCIÃN COMÃN ââââââââââââââââââââââââââââââââââââââââââââââââââââââ*/
.section {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3rem);
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-text);
  margin-bottom: 0.85rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--cyan-text);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  background-image: var(--heading-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.section-title .accent-cyan,
.section-title .accent-magenta,
.section-title .accent-yellow {
  background-image: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.section-lead {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.75;
}

/* ââ 7. ABOUT STRIP âââââââââââââââââââââââââââââââââââââââââââââââââââââââââ*/
.about {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 5vw, 3rem);
}

.about-photo-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
}
.about-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,174,239,.12), rgba(236,0,140,.08));
  pointer-events: none;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transition: transform 0.6s ease;
}
.about-photo-wrap:hover .about-photo { transform: scale(1.04); }

.about-badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: rgba(10,12,16,.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 0.75rem 1.1rem;
  color: #fff;
  text-align: center;
  z-index: 2;
}
.about-badge strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: #5ecfff;
  line-height: 1;
}
.about-badge span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: .75;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-stat {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.25rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.about-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.about-stat strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.about-stat span {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.about-stat:nth-child(1) strong { color: var(--cyan-text); }
.about-stat:nth-child(2) strong { color: var(--magenta-text); }
.about-stat:nth-child(3) strong { color: var(--yellow-text); }
.about-stat:nth-child(4) strong { color: var(--text); }

/* ââ 8. SERVICE CARDS / CAROUSEL ââââââââââââââââââââââââââââââââââââââââââââ*/
.services {
  background: var(--bg);
}
.services .section-label {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin-inline: auto;
  text-align: center;
}
.services .section-title {
  text-align: center;
}
.services .section-lead {
  text-align: center;
  margin-inline: auto;
}

.service-carousel {
  position: relative;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-carousel__viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.service-carousel__viewport::-webkit-scrollbar { display: none; }

.service-carousel__track {
  display: flex;
  gap: 1.25rem;
  padding: 0.35rem 0.15rem 0.75rem;
}

.service-carousel__nav {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  background: var(--card);
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), border-color var(--transition), transform var(--transition), opacity var(--transition);
}
.service-carousel__nav::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--text);
  border-top: 2px solid var(--text);
}
.service-carousel__prev::after { transform: rotate(-135deg); margin-left: 2px; }
.service-carousel__next::after { transform: rotate(45deg); margin-left: -2px; }
.service-carousel__nav:hover {
  border-color: var(--cyan);
  background: rgba(0,174,239,.08);
  transform: scale(1.06);
}
.service-carousel__nav:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.service-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  max-width: calc((100% - 2.5rem) / 3);
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card--cta {
  background: linear-gradient(145deg, rgba(0,174,239,.14), rgba(236,0,140,.12) 55%, rgba(255,241,0,.1));
  border-color: rgba(0,174,239,.28);
  justify-content: center;
  min-height: 100%;
}
.service-card--cta:hover {
  border-color: var(--cyan);
}
.service-card__body--cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 1.75rem 1.6rem;
}
.service-card__kicker {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-text);
  margin-bottom: 0.65rem;
}
.service-card--cta .service-card__link {
  color: var(--cyan-text);
  margin-top: auto;
}

.service-card__thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}
.service-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card__thumb img {
  transform: scale(1.05);
}
.service-card__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.18));
  pointer-events: none;
}

.service-card--cyan    .service-card__thumb { background: var(--surface-2); }
.service-card--magenta .service-card__thumb { background: var(--surface-2); }
.service-card--yellow  .service-card__thumb { background: var(--surface-2); }

.service-card__body {
  padding: 1.4rem 1.5rem 1.6rem;
}
.service-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.service-card__body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  line-height: 1;
  transition: gap var(--transition);
}
.service-card__link::after {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.service-card__link:hover { gap: 0.55rem; }
.service-card--cyan    .service-card__link { color: var(--cyan-text); }
.service-card--magenta .service-card__link { color: var(--magenta-text); }
.service-card--yellow  .service-card__link { color: var(--yellow-text); }

/* ââ 9. WHAT WE PRINT (tag cloud) âââââââââââââââââââââââââââââââââââââââââââ*/
.what {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.what .section-label {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin-inline: auto;
  text-align: center;
}
.what .section-title {
  text-align: center;
}
.what .section-lead {
  text-align: center;
  margin-inline: auto;
}
.what .product-tags {
  justify-content: center;
}
.what .what-cta {
  margin-top: 2rem;
  text-align: center;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}
.product-tag:hover {
  background: rgba(0,174,239,.08);
  border-color: var(--cyan-text);
  color: var(--cyan-text);
  transform: translateY(-1px);
}
.product-tag::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-right: 2px solid var(--cyan-text);
  border-top: 2px solid var(--cyan-text);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ââ 10. INSPIRE / MEDIA ââââââââââââââââââââââââââââââââââââââââââââââââââââ*/
.inspire-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2rem;
}

.inspire-image {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-xl);
}
.inspire-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.inspire-image:hover img { transform: scale(1.04); }

.inspire-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.inspire-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}
.inspire-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* ââ 11. TESTIMONIALS âââââââââââââââââââââââââââââââââââââââââââââââââââââââ*/
.testimonials {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 5rem);
  color: #fff;
  background:
    linear-gradient(rgba(10,12,16,.75), rgba(10,12,16,.75)),
    var(--testimonial-bg) center/cover no-repeat fixed;
  overflow: hidden;
}

.testimonials-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.t-track { width: 100%; }
.t-slide { display: none; margin: 0; }
.t-slide.is-active { display: block; animation: fadeUp 0.5s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.t-slide blockquote {
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.t-slide blockquote::before { content: '\201C'; color: var(--cyan); }
.t-slide blockquote::after  { content: '\201D'; color: var(--cyan); }

.t-slide figcaption {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.t-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-full);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  color: transparent;
  font-size: 0;
  line-height: 0;
  width: 2.75rem; height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.t-nav::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
}
.t-prev::after { transform: rotate(-135deg); margin-left: 2px; }
.t-next::after { transform: rotate(45deg); margin-left: -2px; }
.t-nav:hover { background: rgba(0,174,239,.3); border-color: var(--cyan); }
.t-prev { left: clamp(0.75rem, 3vw, 2rem); }
.t-next { right: clamp(0.75rem, 3vw, 2rem); }

.t-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.75rem;
  pointer-events: none;
}
.t-dots span {
  width: 6px; height: 6px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}
.t-dots span.is-active {
  width: 22px;
  background: #fff;
}

/* ââ 12. NEWSLETTER âââââââââââââââââââââââââââââââââââââââââââââââââââââââââ*/
.newsletter {
  background: linear-gradient(135deg, #0099d4 0%, var(--cyan) 50%, #38bdf8 100%);
}

.newsletter-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.75rem clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.newsletter-text {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.newsletter-form {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  flex: 1 1 320px;
  max-width: 480px;
  height: 3rem;
  min-height: 3rem;
  max-height: 3rem;
  border-radius: var(--r-full);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.newsletter-form input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0 1.15rem;
  font: inherit;
  font-size: 0.88rem;
  background: #fff;
  color: #111827;
  outline: none;
}
.newsletter-form button {
  flex: 0 0 auto;
  border: 0;
  height: 100%;
  background: #111827;
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 1.35rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: #000; }

/* ââ 13. FOOTER âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ*/
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr auto;
  gap: 2.5rem;
  align-items: start;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
  display: inline-flex;
}
.footer-brand .logo-img {
  height: 40px;
  width: auto;
  max-width: min(200px, 70vw);
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,.78);
  max-width: 26ch;
  line-height: 1.65;
}

.footer-col h2 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  margin: 0 0 1rem;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: #5ecfff; }

.footer-social {
  display: flex;
  gap: 0.5rem;
}
.footer-social a {
  width: 2.1rem; height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--r-md);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  padding: 0;
  color: rgba(255,255,255,.85);
  /* CompensaciÃ³n Ã³ptica de mayÃºsculas en cÃ­rculo */
  padding-top: 1px;
  box-sizing: border-box;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.footer-social a:hover {
  border-color: #5ecfff;
  color: #5ecfff;
  background: rgba(0,174,239,.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.25rem clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,.72);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.footer-bottom a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #fff;
}

.legal-page {
  max-width: 48rem;
  padding: 0 0 3rem;
}
.legal-page h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.15rem;
  background: none;
  -webkit-text-fill-color: var(--text);
  color: var(--text);
}
.legal-page ul {
  margin: 0.75rem 0 1rem 1.25rem;
  padding: 0;
}
.legal-page li {
  margin-bottom: 0.4rem;
}
.legal-company {
  padding: 1rem 1.15rem;
  margin: 0 0 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-2);
}
.legal-company p {
  margin: 0 0 0.5rem;
}
.legal-company p:last-child {
  margin-bottom: 0;
}

/* ââ 14. BOTONES GENERALES ââââââââââââââââââââââââââââââââââââââââââââââââââ*/
/* Compatibilidad con el cÃ³digo previo */
.btn-print {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--cyan-btn);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.9rem 1.6rem;
  border-radius: var(--r-full);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(0,119,168,.35);
}
.btn-print:hover {
  background: var(--cyan-btn-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,119,168,.45);
}
.btn-print span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  color: #fff;
}
.btn-print i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
  color: transparent;
  width: 0.7rem;
  height: 0.7rem;
  flex-shrink: 0;
}
.btn-print i::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
}

/* ââ PWA INSTALL MODAL ââââââââââââââââââââââââââââââââââââââââââââââââââââââ*/
.pwa-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.pwa-modal[hidden] { display: none !important; }

.pwa-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.pwa-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(22rem, 100%);
  height: auto;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem 1.4rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pwa-modal__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.pwa-modal__icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.pwa-modal__brand h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.pwa-modal__brand p {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pwa-modal__text {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-muted);
}

.pwa-modal__hint {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: var(--surface-2);
  border-radius: var(--r-md);
  padding: 0.7rem 0.85rem;
}

.pwa-modal__actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.pwa-modal__later,
.pwa-modal__install {
  flex: 1;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 0.75rem;
  border-radius: var(--r-full);
}

.pwa-modal__later {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.pwa-modal__later:hover { background: var(--border); }

.pwa-modal__install {
  background: var(--cyan-btn);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 119, 168, 0.35);
}

.pwa-modal__install:hover { background: var(--cyan-btn-hover); }

/* ── COOKIE CONSENT MODAL (AEPD) ─────────────────────────────────────────── */
html.cookie-modal-open {
  overflow: hidden;
}
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.cookie-modal[hidden] { display: none !important; }

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cookie-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(34rem, 100%);
  max-height: min(88vh, 40rem);
  overflow: auto;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  padding: 1.6rem 1.5rem 1.4rem;
}

.cookie-modal__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-text);
}

.cookie-modal__dialog h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  background: none;
  -webkit-text-fill-color: var(--text);
  color: var(--text);
}

.cookie-modal__text {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.cookie-modal__link {
  color: var(--cyan-text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.cookie-modal__btn {
  flex: 1 1 auto;
  min-width: 7.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.cookie-modal__btn--primary {
  background: var(--cyan-btn);
  color: #fff;
  border-color: var(--cyan-btn);
}
.cookie-modal__btn--primary:hover {
  background: var(--cyan-btn-hover);
}

.cookie-modal__btn--secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.cookie-modal__btn--secondary:hover {
  border-color: var(--cyan-text);
  color: var(--cyan-text);
}

.cookie-modal__btn--ghost {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
}
.cookie-modal__btn--ghost:hover {
  background: var(--border);
}

.cookie-modal__cats {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cookie-modal__cat {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-2);
  padding: 0.85rem 0.95rem;
}

.cookie-modal__cat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}
.cookie-modal__cat-head strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
}
.cookie-modal__cat-head span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.cookie-modal__cat-meta {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.cookie-switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  width: 2.75rem;
  height: 1.55rem;
  cursor: pointer;
}
.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #9ca3af;
  transition: background 0.2s ease;
}
.cookie-switch span::after {
  content: "";
  position: absolute;
  top: 0.18rem;
  left: 0.18rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
  transition: transform 0.2s ease;
}
.cookie-switch input:checked + span {
  background: var(--cyan-btn);
}
.cookie-switch input:checked + span::after {
  transform: translateX(1.15rem);
}
.cookie-switch input:disabled + span {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .cookie-modal__actions {
    flex-direction: column;
  }
  .cookie-modal__btn {
    width: 100%;
    min-width: 0;
  }
}

/* ââ 15. UTILIDADES / ANIMACIONES ââââââââââââââââââââââââââââââââââââââââââââ*/
@keyframes hero-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ââ 16. RESPONSIVE âââââââââââââââââââââââââââââââââââââââââââââââââââââââââ*/
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .inspire-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .header-actions {
    margin-left: auto;
  }
  .nav-toggle { display: flex; }
  .hero h1,
  .hero h2.hero-title { font-size: clamp(2.4rem, 9vw, 3.8rem); }
  .hero-text { font-size: 0.92rem; }
  .about-inner { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-copy {
    text-align: center;
  }
  .about-copy .section-label {
    display: flex;
    justify-content: center;
    width: fit-content;
    margin-inline: auto;
  }
  .about-copy .section-title {
    text-align: center;
  }
  .about-copy .section-lead {
    margin-inline: auto;
    text-align: center;
  }
  .about-copy .btn-print {
    margin-inline: auto;
  }
  .hero-cmyk {
    right: 0.85rem;
    gap: 0.4rem;
  }
  .hero-cmyk span {
    width: 0.85rem;
    height: 1.6rem;
  }

  /* Carrusel productos: una card centrada + flechas encima */
  .service-carousel {
    display: block;
    gap: 0;
    padding: 0;
  }
  .service-carousel__viewport {
    width: 100%;
  }
  .service-carousel__track {
    gap: 0.85rem;
    padding: 0.25rem 0 0.85rem;
  }
  .service-card {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    scroll-snap-align: center;
  }
  .service-carousel__nav {
    position: absolute;
    top: 38%;
    z-index: 3;
    width: 2.5rem;
    height: 2.5rem;
    background: color-mix(in srgb, var(--card) 92%, transparent);
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow-md);
  }
  .service-carousel__prev { left: 0.4rem; }
  .service-carousel__next { right: 0.4rem; }
  .service-carousel__nav:hover {
    transform: scale(1.06);
  }
  .service-carousel__nav:disabled {
    opacity: 0.4;
    transform: none;
  }
}

@media (max-width: 640px) {
  .site-header { height: 60px; }
  .hero-content { padding-top: 60px; }
  .mobile-nav { inset: 60px 0 0; }
  .logo-text { font-size: 0.92rem; }
  .logo-img { height: 34px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .newsletter-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .newsletter-form {
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
    border-radius: var(--r-lg);
  }
  .newsletter-form input {
    height: 3rem;
    padding: 0 1rem;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
  }
  .newsletter-form button {
    height: 3rem;
    width: 100%;
    padding: 0 1rem;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
  }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .service-carousel__nav {
    width: 2.25rem;
    height: 2.25rem;
    top: 36%;
  }
  .service-carousel__prev { left: 0.25rem; }
  .service-carousel__next { right: 0.25rem; }
}
/* -- Páginas interiores  Design System v2 --------------------------------
   Hereda variables de home.css. Aplica esquinas redondeadas, Roboto,
   sombras y motion suave en todos los componentes.
   -------------------------------------------------------------------------- */

/* Header interior: color plano con opacidad, sin blur/degradado */
.page-inner .site-header,
body.page-inner .site-header {
  background: rgba(10, 12, 16, 0.78) !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none;
  box-shadow: none;
}
.page-inner .site-header.scrolled,
body.page-inner .site-header.scrolled {
  background: rgba(10, 12, 16, 0.92) !important;
  background-image: none !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

/* El hero interior empieza bajo el header fijo (sin franja blanca) */
body.page-inner .page-hero,
html.page-inner .page-hero,
html body:not(#index) .page-hero {
  padding-top: calc(72px + clamp(3rem, 8vw, 5.25rem));
}

/* -- PAGE HERO --------------------------------------------------------------*/
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(800px 350px at 80% 20%, rgba(0, 174, 239, 0.2), transparent 60%),
    linear-gradient(135deg, #0d1117 0%, #1a2026 50%, #111827 100%);
  padding: clamp(3.5rem, 9vw, 6rem) clamp(1.25rem, 5vw, 3rem) clamp(3rem, 7vw, 5rem);
  isolation: isolate;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 1;
  filter: saturate(1.15) contrast(1.12) brightness(0.92);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      to right,
      rgba(0,0,0,.78) 0%,
      rgba(0,0,0,.48) 55%,
      rgba(0,0,0,.28) 100%
    ),
    linear-gradient(
      to top,
      rgba(0,0,0,.55) 0%,
      transparent 55%
    );
  pointer-events: none;
}

.page-hero--magenta {
  background:
    radial-gradient(700px 320px at 85% 10%, rgba(236, 0, 140, 0.2), transparent 60%),
    linear-gradient(135deg, #0d1117 0%, #1a2026 50%, #111827 100%);
}
.page-hero--yellow {
  background:
    radial-gradient(700px 320px at 85% 10%, rgba(255, 192, 0, 0.14), transparent 60%),
    linear-gradient(135deg, #0d1117 0%, #1a2026 50%, #111827 100%);
}

.page-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.page-hero--magenta .page-hero__kicker { color: #ff7ac4; }
.page-hero--yellow  .page-hero__kicker { color: var(--yellow); }

.page-hero h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-weight: 900;
  background-image: var(--heading-gradient-on-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.page-hero__text {
  margin: 1.1rem 0 0;
  max-width: 42rem;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  font-weight: 300;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
}

/* CMYK marks  decorativo lateral */
.page-hero__marks {
  position: absolute;
  right: clamp(1.5rem, 6vw, 5rem);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 0.5rem;
  opacity: 0.85;
}
.page-hero__marks span {
  width: 1.25rem;
  height: 2.2rem;
  display: block;
  border-radius: var(--r-sm);
}
.page-hero__marks span:nth-child(1) { background: var(--cyan); }
.page-hero__marks span:nth-child(2) { background: var(--magenta); }
.page-hero__marks span:nth-child(3) { background: var(--yellow); }
.page-hero__marks span:nth-child(4) { background: #fff; opacity: .15; }

/* -- WRAP / SECCIÓN ---------------------------------------------------------*/
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 3rem);
}

.lead {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  max-width: 48rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
}

.page-intro {
  text-align: center;
  margin-bottom: 0.25rem;
}
.page-intro .section-title {
  text-align: center;
}
.page-intro .lead {
  margin-inline: auto;
  text-align: center;
}

/* -- STATS ------------------------------------------------------------------*/
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.25rem;
  border-left: 4px solid var(--cyan);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.stat:nth-child(2) { border-left-color: var(--magenta); }
.stat:nth-child(3) { border-left-color: var(--yellow); }
.stat:nth-child(4) { border-left-color: var(--text-muted); }

.stat strong {
  display: block;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.stat:nth-child(1) strong { color: var(--cyan-text); }
.stat:nth-child(2) strong { color: var(--magenta-text); }
.stat:nth-child(3) strong { color: var(--yellow-text); }

/* -- VALUES -----------------------------------------------------------------*/
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.value {
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--card);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.value:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.value::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}
.value--cyan::before    { background: var(--cyan); }
.value--magenta::before { background: var(--magenta); }
.value--yellow::before  { background: var(--yellow); }

.value h3 {
  margin: 0.5rem 0 0.65rem;
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.value p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* -- TIMELINE ---------------------------------------------------------------*/
.timeline-section {
  margin-top: 3.5rem;
  text-align: center;
}
.timeline-section .section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.timeline-lead {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.65;
  text-align: center;
}

.timeline {
  position: relative;
  max-width: 880px;
  margin: 2.75rem auto 0;
  padding: 0.25rem 0 0.5rem;
  border: 0;
  text-align: left;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  box-sizing: border-box;
  padding: 0 2.75rem 2.5rem 0;
  margin: 0;
}
.timeline-item:nth-child(odd) {
  margin-right: 50%;
  text-align: right;
  padding: 0 2.75rem 2.5rem 0.5rem;
}
.timeline-item:nth-child(even) {
  margin-left: 50%;
  text-align: left;
  padding: 0 0.5rem 2.5rem 2.75rem;
}
.timeline-item:last-child {
  padding-bottom: 0.25rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: calc(100% - 0.4rem);
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px var(--bg);
  z-index: 1;
}
.timeline-item:nth-child(odd)::before {
  left: auto;
  right: -0.4rem;
}
.timeline-item:nth-child(even)::before {
  left: -0.4rem;
  right: auto;
}

.timeline-item:nth-child(4n + 1)::before { background: var(--cyan); }
.timeline-item:nth-child(4n + 2)::before { background: var(--magenta); }
.timeline-item:nth-child(4n + 3)::before { background: var(--yellow); }
.timeline-item:nth-child(4n + 4)::before { background: var(--text-muted); }

.timeline-item strong {
  display: block;
  color: var(--cyan-text);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.timeline-item:nth-child(4n + 2) strong { color: var(--magenta-text); }
.timeline-item:nth-child(4n + 3) strong { color: var(--yellow-text); }
.timeline-item:nth-child(4n + 4) strong { color: var(--text-muted); }

.timeline-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  font-weight: 700;
}
.timeline-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .timeline {
    max-width: 100%;
    padding-left: 1.25rem;
  }
  .timeline::before {
    left: 0.35rem;
    transform: none;
  }
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    margin: 0;
    text-align: left;
    padding: 0 0 2rem 1.75rem;
  }
  .timeline-item::before,
  .timeline-item:nth-child(odd)::before,
  .timeline-item:nth-child(even)::before {
    left: -0.05rem;
    right: auto;
  }
}

/* -- SPLIT STORY ------------------------------------------------------------*/
.split-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1rem;
}
.split-story img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

/* -- FILTERS ----------------------------------------------------------------*/
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 1.75rem;
  justify-content: center;
}

.filter-btn {
  border: 1px solid var(--border);
  background-color: var(--card);
  background-image: none;
  background-size: 300% 100%;
  background-position: 0% 50%;
  color: var(--text);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.6rem 1.1rem;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.filter-btn:hover,
.filters .filter-btn:hover,
.product-filters .filter-btn:hover,
.filter-btn.is-active:hover,
.filter-btn.is-active[data-filter]:hover {
  background-color: transparent;
  background-image: linear-gradient(
    115deg,
    var(--cyan) 0%,
    var(--magenta) 32%,
    var(--yellow) 64%,
    var(--cyan) 100%
  );
  background-size: 300% 100%;
  border-color: transparent;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 174, 239, 0.28);
  animation: filter-cmyk-shift 2.4s linear infinite;
}
.filter-btn.is-active {
  background-color: var(--dark);
  background-image: none;
  border-color: var(--dark);
  color: #fff;
  box-shadow: var(--shadow-sm);
  text-shadow: none;
  animation: none;
}
.filter-btn.is-active[data-filter="comercial"]   { background-color: var(--cyan); border-color: var(--cyan); }
.filter-btn.is-active[data-filter="editorial"]   { background-color: var(--magenta); border-color: var(--magenta); }
.filter-btn.is-active[data-filter="gran-formato"]{ background-color: #c79000; border-color: #c79000; color: #fff; }
.filter-btn.is-active[data-filter="eventos"]     { background-color: #111; border-color: #111; }

/* Hover gana a los colores sólidos de categoría activa (Trabajos) */
.filter-btn.is-active[data-filter="comercial"]:hover,
.filter-btn.is-active[data-filter="editorial"]:hover,
.filter-btn.is-active[data-filter="gran-formato"]:hover,
.filter-btn.is-active[data-filter="eventos"]:hover {
  background-color: transparent;
  background-image: linear-gradient(
    115deg,
    var(--cyan) 0%,
    var(--magenta) 32%,
    var(--yellow) 64%,
    var(--cyan) 100%
  );
  background-size: 300% 100%;
  border-color: transparent;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  animation: filter-cmyk-shift 2.4s linear infinite;
}

@keyframes filter-cmyk-shift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .filter-btn:hover,
  .filters .filter-btn:hover,
  .product-filters .filter-btn:hover,
  .filter-btn.is-active:hover,
  .filter-btn.is-active[data-filter]:hover,
  .filter-btn.is-active[data-filter="comercial"]:hover,
  .filter-btn.is-active[data-filter="editorial"]:hover,
  .filter-btn.is-active[data-filter="gran-formato"]:hover,
  .filter-btn.is-active[data-filter="eventos"]:hover {
    animation: none;
    background-position: 40% 50%;
  }
}

/* -- PORTFOLIO (trabajos) ---------------------------------------------------*/
.portfolio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.work {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: #0d1117;
  color: #fff;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.work:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.work[hidden] { display: none !important; }

.work__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111827;
}
.work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}
.work:hover .work__media img { transform: scale(1.06); }
.work__media::after {
  display: none;
}

.work__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  justify-content: flex-start;
  padding: 1rem 1.1rem 1.15rem;
  background: #0d1117;
  min-height: auto;
  height: auto;
  transition: none;
}
.work:hover .work__body { transform: none; }

.work__tag {
  align-self: flex-start;
  margin: 0 0 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: var(--r-full);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.work--yellow .work__tag,
.work--magenta .work__tag,
.work--dark .work__tag {
  background: #111827;
  color: #fff !important;
}
html body .portfolio .work h3,
.work h3 {
  margin: 0;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  text-shadow: none;
}
html body .portfolio .work p,
.work p {
  margin: 0;
  color: #e5e7eb !important;
  -webkit-text-fill-color: #e5e7eb !important;
  text-shadow: none;
  opacity: 1;
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 400;
}

/* -- BLOG -------------------------------------------------------------------*/
.blog-featured-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
  align-items: stretch;
}

.blog-featured {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--card);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  min-height: 0;
}
.blog-featured--pair {
  height: 100%;
}
.blog-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.blog-featured__media {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  aspect-ratio: 16 / 10;
  flex: 0 0 auto;
}
.blog-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-featured:hover .blog-featured__media img { transform: scale(1.04); }

.blog-card__swatch {
  min-height: 100%;
  overflow: hidden;
  background: var(--dark);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.blog-card__swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-featured__body,
.blog-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 auto;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.blog-meta .cat-cyan    { color: var(--cyan-text); }
.blog-meta .cat-magenta { color: var(--magenta-text); }
.blog-meta .cat-yellow  { color: var(--yellow-text); }

.blog-featured h2, .blog-card h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.25;
  font-weight: 700;
}
.blog-featured h2 { font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.blog-card h3     { font-size: 1rem; }
.blog-featured p, .blog-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-list {
  display: grid;
  gap: 1rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.5rem;
}
.blog-grid .blog-card {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
}
.blog-grid .blog-card__swatch {
  min-height: 0;
  aspect-ratio: 16 / 10;
  border-radius: 0;
}
.blog-grid .blog-card__body {
  padding: 1.05rem 1.15rem 1.25rem;
}
.blog-grid .blog-card p {
  -webkit-line-clamp: 2;
}

.blog-more-title {
  margin-top: 2.75rem;
  text-align: center;
}

.blog-pagination {
  margin: 2.75rem 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.blog-pagination__summary {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted, #5a6570);
}
.blog-pagination__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.blog-pagination__page,
.blog-pagination__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0 0.85rem;
  border: 1px solid var(--border, #d7dde3);
  border-radius: 8px;
  background: var(--surface, #fff);
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1;
}
a.blog-pagination__page:hover,
a.blog-pagination__nav:hover {
  border-color: var(--cyan, #00aeef);
  color: var(--cyan-text, #0077a8);
}
.blog-pagination__page.is-current {
  background: var(--cyan, #00aeef);
  border-color: var(--cyan, #00aeef);
  color: #fff;
}
.blog-pagination__nav.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .blog-featured-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* -- MAP BAND ---------------------------------------------------------------*/
.map-band {
  margin-top: 2rem;
  min-height: 280px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1rem;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.map-band img {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.map-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,12,16,.62);
  z-index: 1;
}
.map-band > div { position: relative; z-index: 2; }
.map-band strong {
  display: block;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.map-band p { margin: 0; color: rgba(255,255,255,.82); }

/* -- CONTACTO ---------------------------------------------------------------*/
.contact-layout {
  display: grid;
  grid-template-columns: minmax(200px, 0.52fr) minmax(0, 1.48fr);
  gap: 1.35rem;
  margin-top: 1.5rem;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.7rem;
  height: 100%;
  min-height: 100%;
  align-self: stretch;
}

.contact-info .info-tile {
  flex: 0 0 auto;
  align-items: start;
}

.info-tile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.05rem 1rem 1rem;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.info-tile::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  background: var(--cyan);
}
.info-tile--cyan::before { background: var(--cyan); }
.info-tile--magenta::before { background: var(--magenta); }
.info-tile--yellow::before { background: var(--yellow); }
.info-tile--black::before { background: #231f20; }
.info-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.info-tile__icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-top: 0.15rem;
  border-radius: 999px;
  background: rgba(0, 174, 239, 0.1);
  color: var(--cyan-text);
  flex-shrink: 0;
}
.info-tile--magenta .info-tile__icon {
  background: rgba(236, 0, 140, 0.1);
  color: var(--magenta-text);
}
.info-tile--yellow .info-tile__icon {
  background: rgba(255, 242, 0, 0.22);
  color: #8a7400;
}
.info-tile--black .info-tile__icon {
  background: rgba(35, 31, 32, 0.08);
  color: #231f20;
}
.info-tile__body {
  min-width: 0;
}
.info-tile__body > span,
.info-tile span:not(.info-tile__icon) {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--cyan-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.info-tile--magenta .info-tile__body > span { color: var(--magenta-text); }
.info-tile--yellow .info-tile__body > span { color: #8a7400; }
.info-tile--black .info-tile__body > span { color: #231f20; }
.info-tile strong {
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 600;
  word-break: break-word;
}
.info-tile a { color: inherit; text-decoration: none; }
.info-tile a:hover { color: var(--cyan-text); }

.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--card);
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.contact-form--accent::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: var(--magenta);
}
.contact-form h2 {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 700;
}
.contact-form > p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}

.form-field { display: grid; gap: 0.35rem; }
.form-field--third { grid-column: span 2; }
.form-field--phone { grid-column: span 2; }
.form-field--servicio { grid-column: span 4; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--input);
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(0,174,239,.12);
}

.form-actions {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
.form-actions .btn-print { margin-top: 0; }

.form-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.quote-upload__optional {
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-muted);
}
.quote-upload__hint {
  margin: 0 0 0.65rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
.quote-dropzone {
  position: relative;
  border: 1.5px dashed var(--border);
  border-radius: var(--r-md);
  background: var(--input);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.quote-dropzone.is-dragover {
  border-color: var(--cyan);
  background: rgba(0,174,239,.06);
  box-shadow: 0 0 0 3px rgba(0,174,239,.12);
}
.quote-dropzone.has-files {
  border-style: solid;
}
.quote-dropzone__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.quote-dropzone.has-files .quote-dropzone__input {
  height: 7.5rem;
}
.quote-dropzone__ui {
  pointer-events: none;
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  text-align: center;
  padding: 1.35rem 1rem;
}
.quote-dropzone__camera {
  display: none;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 0 0.15rem;
  border-radius: 999px;
  background: rgba(0, 174, 239, 0.12);
  color: var(--cyan-text);
}
.quote-dropzone__camera svg {
  display: block;
}
.quote-dropzone__ui strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.quote-dropzone__ui span {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.quote-dropzone__ui em {
  margin-top: 0.25rem;
  font-style: normal;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.quote-dropzone__list {
  list-style: none;
  margin: 0;
  padding: 0 0.85rem 0.85rem;
  display: grid;
  gap: 0.45rem;
  position: relative;
  z-index: 3;
}
.quote-dropzone__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}
.quote-dropzone__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.quote-dropzone__meta {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.quote-dropzone__remove {
  border: 0;
  background: transparent;
  color: var(--magenta, #ec008c);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.15rem 0;
}
.quote-dropzone__remove:hover {
  text-decoration: underline;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  background: rgba(0,174,239,.08);
  border: 1px solid rgba(0,174,239,.25);
  color: var(--text);
  font-weight: 600;
}
.form-success.is-visible { display: block; }

/* -- CTA STRIP --------------------------------------------------------------*/
.cta-strip {
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #fff;
  padding: 2.5rem clamp(1.25rem, 5vw, 3rem);
  border-radius: 0;
}
.cta-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cta-strip h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  max-width: 20ch;
  line-height: 1.15;
  font-weight: 700;
  background-image: var(--heading-gradient-on-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.cta-strip p {
  margin: 0.4rem 0 0;
  color: rgba(255,255,255,.65);
  font-size: 0.9rem;
}

/* -- PRODUCTS ---------------------------------------------------------------*/
.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.product-related-title {
  margin-top: 2.5rem;
  text-align: center;
}
.product-grid--related {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem;
}
.product-grid--related > .product-card {
  flex: 1 1 280px;
  max-width: 360px;
  width: 100%;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card[hidden] { display: none !important; }
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.product-card__media {
  height: 165px;
  overflow: hidden;
  background: var(--surface-2);
}
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card__media img { transform: scale(1.06); }

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.2rem 1.4rem;
}

.product-card__cat {
  color: var(--cyan-text);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.product-card--magenta .product-card__cat { color: var(--magenta-text); }
.product-card--yellow  .product-card__cat { color: var(--yellow-text); }

.product-card h2 {
  margin: 0.4rem 0 0.5rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-weight: 700;
}

.product-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  flex: 1;
  line-height: 1.6;
}

.product-card__more {
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-text);
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 0.45rem;
  line-height: 1;
}
.product-card__more::after {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* -- BREADCRUMB -------------------------------------------------------------*/
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}
.breadcrumb a { color: var(--cyan-text); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* -- PRODUCT DETAIL ---------------------------------------------------------*/
.product-detail__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.75rem;
  align-items: start;
}

.product-detail__visual {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #fff;
  background: var(--dark);
  box-shadow: var(--shadow-xl);
  cursor: zoom-in;
}
.product-detail__visual:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.product-detail__visual img {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  transition: transform 0.45s ease;
}
.product-detail__visual:hover img {
  transform: scale(1.04);
}
.product-detail__visual::after {
  content: "";
  position: absolute;
  inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,12,16,.12) 0%, rgba(10,12,16,.78) 100%);
  pointer-events: none;
}
.product-detail__badge, .product-detail__visual strong {
  position: relative; z-index: 2;
}
.product-detail__zoom-hint {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-full);
  background: rgba(10, 12, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

/* Lightbox imagen producto */
.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.img-lightbox[hidden] { display: none !important; }
.img-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 12, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 0;
  cursor: zoom-out;
}
.img-lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 88vh;
  border-radius: var(--r-xl);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  object-fit: contain;
  background: #0a0c10;
}
.img-lightbox__close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.85);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.img-lightbox__close:hover {
  background: rgba(0, 174, 239, 0.35);
  border-color: var(--cyan);
}
.img-lightbox__close:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.product-detail__badge {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.product-detail__visual--yellow .product-detail__badge { background: rgba(0,0,0,.12); }
.product-detail__visual strong {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 900;
  background-image: var(--heading-gradient-on-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.feature-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.feature-list li {
  position: relative;
  padding: 0.8rem 0.9rem 0.8rem 2.1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-weight: 500;
  font-size: 0.9rem;
  transition: background var(--transition), border-color var(--transition);
}
.feature-list li:hover {
  background: var(--card);
  border-color: var(--cyan);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 50%;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid var(--cyan-text);
  border-top: 2px solid var(--cyan-text);
  transform: translateY(-50%) rotate(45deg);
}

.mini-title {
  margin: 1.5rem 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.chip-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.chip-list li {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--card);
  transition: border-color var(--transition), background var(--transition);
}
.chip-list li:hover {
  border-color: var(--cyan);
  background: rgba(0,174,239,.06);
}

.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.75rem;
}

.text-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: color var(--transition);
}
.text-link:hover { color: var(--cyan-text); }

/* -- PRODUCT PAGER ----------------------------------------------------------*/
.product-pager {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.product-pager a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  height: 100%;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--card);
  transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.product-pager a:hover {
  border-color: var(--cyan);
  background: rgba(0,174,239,.04);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.product-pager a:last-child { text-align: right; }
.product-pager span {
  display: block;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.product-pager strong {
  font-size: 0.95rem;
  text-transform: uppercase;
  font-weight: 700;
}

/* -- RESPONSIVE -------------------------------------------------------------*/
@media (max-width: 980px) {
  .page-inner .header-actions {
    margin-left: auto;
    height: auto;
  }
  .page-hero__marks { display: none; }
  .stats            { grid-template-columns: 1fr 1fr; }
  .values           { grid-template-columns: 1fr; }
  .portfolio        { grid-template-columns: 1fr 1fr; }
  .blog-featured-row,
  .contact-layout,
  .split-story,
  .product-detail__grid { grid-template-columns: 1fr; }
  .contact-info .info-tile {
    flex: 0 0 auto;
    align-items: start;
  }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail__copy .section-title {
    text-align: center;
  }
  .product-detail__copy > .lead {
    margin-inline: auto;
    text-align: center;
  }
  .split-story > div {
    text-align: center;
  }
  .split-story .section-title {
    text-align: center;
  }
  .split-story .lead {
    margin-inline: auto;
    text-align: center;
  }
  .blog-card        { grid-template-columns: 90px 1fr; }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-field--third,
  .form-field--phone,
  .form-field--servicio,
  .form-field--full {
    grid-column: 1 / -1;
  }
  .form-actions {
    align-items: center;
    text-align: center;
  }
  .form-actions .form-note {
    text-align: center;
    width: 100%;
  }
  .quote-dropzone__camera {
    display: grid;
  }
  .quote-dropzone__ui {
    gap: 0.45rem;
    padding: 1.5rem 1rem;
  }
  .product-grid     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body.page-inner .page-hero,
  html.page-inner .page-hero,
  html body:not(#index) .page-hero {
    padding-top: calc(64px + clamp(2.75rem, 9vw, 4.5rem)) !important;
  }
  .stats            { grid-template-columns: 1fr 1fr; }
  .portfolio        { grid-template-columns: 1fr; }
  .product-pager    { grid-template-columns: 1fr; }
  .product-pager a:last-child { text-align: left; }
  .product-grid     { grid-template-columns: 1fr; }
  .cta-strip__inner { flex-direction: column; align-items: flex-start; }
}

/* -- PrestaShop layout overrides (full-bleed + contraste menú) ------------- */
html body #wrapper,
html body #wrapper .container,
html body #content-wrapper,
html body #main,
html body #content,
html body .page-content,
html body .page-content-container,
html body #columns_inner,
html body .columns,
html body section#wrapper {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Fondo modo claro/oscuro: Classic fuerza #fff en body/wrappers */
html,
html body,
html body#index,
html body#category,
html body#product,
html body#cms,
html body#contact,
html body#module-lebrijana_quote-quote,
html body #wrapper,
html body #wrapper .container,
html body #content-wrapper,
html body #main,
html body #content,
html body .page-content,
html body .page-content-container,
html body .card,
html body .card-block,
html body main#contenido-principal,
html body .page-inner-root,
html body .wrap {
  background-color: var(--bg) !important;
  background-image: none !important;
  color: var(--text);
}
html body .card,
html body .card-block {
  box-shadow: none !important;
  border-color: transparent !important;
}
html body#contact .page-content,
html body.page-contact .page-content,
html body#contact .card,
html body.page-contact .card,
html body#contact .card-block,
html body.page-contact .card-block {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
html body#contact .page-hero,
html body.page-contact .page-hero,
html body#contact .page-inner-root,
html body.page-contact .page-inner-root {
  width: 100% !important;
  max-width: none !important;
}
html body#contact .wrap,
html body.page-contact .wrap {
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
html body#contact .contact-layout,
html body.page-contact .contact-layout {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* -- Presupuesto (/presupuesto) -------------------------------------------- */
html body#module-lebrijana_quote-quote .page-content,
html body#module-lebrijana_quote-quote .card,
html body#module-lebrijana_quote-quote .card-block {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
html body#module-lebrijana_quote-quote .page-hero,
html body#module-lebrijana_quote-quote .page-inner-root {
  width: 100% !important;
  max-width: none !important;
}
html body#module-lebrijana_quote-quote .wrap {
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
html body#module-lebrijana_quote-quote .page-hero {
  padding-top: calc(72px + clamp(2.75rem, 7vw, 4.75rem)) !important;
  min-height: 280px;
}
html body#module-lebrijana_quote-quote .contact-form label,
html body#module-lebrijana_quote-quote .form-field label,
html body#contact .contact-form label,
html body#contact .form-field label {
  display: block !important;
  width: 100% !important;
  text-align: left !important;
  float: none !important;
  margin: 0 !important;
}
html body#module-lebrijana_quote-quote .form-field input,
html body#module-lebrijana_quote-quote .form-field select,
html body#module-lebrijana_quote-quote .form-field textarea,
html body#module-lebrijana_quote-quote .form-control,
html body#contact .form-field input,
html body#contact .form-field select,
html body#contact .form-field textarea {
  width: 100% !important;
  max-width: none !important;
  display: block !important;
  box-sizing: border-box !important;
}
html body#module-lebrijana_quote-quote .form-actions .btn-print,
html body#contact .form-actions .btn-print {
  width: auto !important;
  max-width: 100%;
}
@media (max-width: 980px) {
  html body#module-lebrijana_quote-quote .form-actions,
  html body#contact .form-actions {
    align-items: center !important;
    text-align: center !important;
  }
  html body#module-lebrijana_quote-quote .form-actions .btn-print,
  html body#contact .form-actions .btn-print {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  html body#module-lebrijana_quote-quote .form-actions .form-note,
  html body#contact .form-actions .form-note {
    text-align: center !important;
    width: 100%;
  }
}

.quote-intro {
  margin-bottom: 1.75rem;
  text-align: center;
}
.quote-intro .section-title {
  text-align: center;
}
.quote-intro .lead {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.quote-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}
.quote-step {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--card);
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.quote-step::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: var(--cyan);
}
.quote-step--cyan::before { background: var(--cyan); }
.quote-step--magenta::before { background: var(--magenta); }
.quote-step--yellow::before { background: var(--yellow); }
.quote-step strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--cyan-text);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}
.quote-step--magenta strong { color: var(--magenta-text); }
.quote-step--yellow strong { color: #8a7400; }
.quote-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.quote-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.info-tile--tip strong {
  font-weight: 500;
  font-size: 0.88rem;
}
.info-tile--faq strong {
  font-weight: 500;
  font-size: 0.88rem;
  display: block;
  margin-bottom: 0.45rem;
}
.info-tile__link {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--magenta-text);
}
.info-tile__link:hover {
  text-decoration: underline;
  color: var(--magenta-text);
}
.quote-error {
  margin: 0 0 1.25rem;
  color: #b00020;
  font-weight: 600;
}
.quote-success {
  max-width: 40rem;
}
@media (max-width: 900px) {
  .quote-steps {
    grid-template-columns: 1fr;
  }
}
html body #wrapper .row,
html body #columns_inner.row {
  margin: 0 !important;
  display: block !important;
}
html body .breadcrumb,
html body .header-banner,
html body #_desktop_top_menu,
html body .header-nav,
html body .header-top,
html body #products .pagination,
html body .block-category #search_filters_wrapper,
html body #search_filters,
html body .category-sub-products,
html body .block-categories,
html body #js-product-list-top,
html body #js-product-list-bottom,
html body .products-sort-order,
html body .total-products,
html body .facet-label,
html body #subcategories,
html body .subcategory-heading {
  display: none !important;
}
html body .site-header .nav a,
html body .site-header .nav a:link,
html body .site-header .nav a:visited {
  color: rgba(255, 255, 255, 0.92) !important;
  background: transparent !important;
}
html body .site-header .nav a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12) !important;
}
html body .site-header .nav a.is-active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: rgba(0, 174, 239, 0.32) !important;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.55);
}
/* Topbar = origen: color plano con opacidad, SIN degradado ni blur.
   Classic deja #header con fondo #fff + sombra; al ser el site-header
   fixed/translúcido, ese bloque claro se veía como franja gris arriba. */
html body #header,
html body header#header,
html body #header.header-banner,
html body .header-top,
html body .header-nav {
  position: static !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  line-height: 0 !important;
  font-size: 0 !important;
  z-index: auto !important;
}
html body #header .site-header,
html body #header .mobile-nav {
  font-size: 16px;
  line-height: normal;
  color: #fff;
}
/* Classic fuerza #header a { color:#7a7a7a } — sin contraste en menú móvil */
html body #header .mobile-nav,
html body #header .mobile-nav a,
html body #header .mobile-nav a:link,
html body #header .mobile-nav a:visited,
html body .mobile-nav a,
html body .mobile-nav a:link,
html body .mobile-nav a:visited {
  color: rgba(255, 255, 255, 0.92) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.92) !important;
}
/* Classic: p { color:#7a7a7a } → 4.1:1 sobre --bg; no cumple WCAG AA */
html body p,
html body .lead p,
html body .timeline-item p,
html body .value p,
html body .timeline-lead,
html body .stat span {
  color: var(--text-muted);
}
html body #header .mobile-nav a:hover,
html body #header .mobile-nav a.is-active,
html body .mobile-nav a:hover,
html body .mobile-nav a.is-active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: rgba(0, 174, 239, 0.32) !important;
}
html body #wrapper,
html body section#wrapper {
  padding-top: 0 !important;
}
html body #notifications {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
html body .site-header,
html body.page-inner .site-header,
html body:not(#index) .site-header,
html body#index .site-header,
html body .site-header.scrolled,
html body.page-inner .site-header.scrolled,
html body:not(#index) .site-header.scrolled {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10050 !important;
  background: rgba(10, 12, 16, 0.78) !important;
  background-color: rgba(10, 12, 16, 0.78) !important;
  background-image: none !important;
  background-repeat: no-repeat !important;
  background-size: auto !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  isolation: isolate;
}
html body .site-header.scrolled,
html body.page-inner .site-header.scrolled,
html body:not(#index) .site-header.scrolled {
  background: rgba(10, 12, 16, 0.92) !important;
  background-color: rgba(10, 12, 16, 0.92) !important;
  background-image: none !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35) !important;
}
html body .site-header::before,
html body .site-header::after,
html body #header::before,
html body #header::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
}
html body #index .hero {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  left: auto;
  right: auto;
}
html body .testimonials {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: clamp(1.25rem, 5vw, 5rem);
  padding-right: clamp(1.25rem, 5vw, 5rem);
}

/* Sin hueco blanco entre testimonios / newsletter y footer */
html body#index #main,
html body#index #content-wrapper,
html body#index #wrapper,
html body#index .page-content,
html body#index main#contenido-principal {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
html body footer.page-footer,
html body .page-footer {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
html body#index #footer,
html body #footer.js-footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: var(--footer-bg) !important;
}
html body#index .newsletter {
  margin: 0 !important;
}
html body .page-hero {
  width: 100%;
}
html body main#contenido-principal {
  width: 100%;
}
html body .product-card__media img,
html body .product-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
html body .portfolio .work__media {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  aspect-ratio: 16 / 10;
  height: auto !important;
}
html body .portfolio .work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html body .portfolio .work__body {
  background: #0d1117 !important;
  color: #fff !important;
}
html body .portfolio .work h3 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html body .portfolio .work p {
  color: #e5e7eb !important;
  -webkit-text-fill-color: #e5e7eb !important;
}

/* -- Fix: product images + ficha bajo header fijo --------------------------- */
html body .product-card__media {
  height: 165px !important;
  background: var(--surface-2) !important;
  display: block !important;
  overflow: hidden !important;
}
html body .product-card__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
html body .product-detail__visual {
  min-height: 420px !important;
  background: #0d1117 !important;
}
html body .product-detail__visual img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  z-index: 0 !important;
}
html body .product-detail__visual::after {
  background: linear-gradient(180deg, transparent 45%, rgba(10,12,16,.82) 100%) !important;
}
html body.page-product #main,
html body#product #main,
html body .page-not-found,
html body #main .page-content {
  padding-top: 0;
}
html body:not(#index) #content-wrapper > #main > .page-header,
html body.page-product .product-detail,
html body#product .product-detail {
  /* hero already clears header via page-hero padding */
}
html body .page-not-found,
html body#pagenotfound #main,
html body.page-pagenotfound #main {
  padding-top: calc(68px + 2.5rem) !important;
}

/* -- Product detail parity with origin -------------------------------------- */
/* Sin franja blanca entre menú fijo y hero: colapsar notificaciones y
   breadcrumb del layout Classic (el de la ficha se muestra más abajo). */
html body#product #notifications,
html body.page-product #notifications,
html body.page-inner #notifications,
html body:not(#index) #notifications {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
html body#product #header,
html body.page-product #header,
html body.page-inner #header {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body#product #wrapper > .container > nav.breadcrumb,
html body.page-product #wrapper > .container > nav.breadcrumb,
html body#product #wrapper > .container > .breadcrumb,
html body.page-product #wrapper > .container > .breadcrumb {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
html body#product #wrapper > .container,
html body.page-product #wrapper > .container {
  padding-top: 0 !important;
  margin-top: 0 !important;
  background: transparent !important;
}
html body#product .page-hero,
html body.page-product .page-hero,
html body.page-inner .page-hero,
html.page-inner .page-hero,
html body:not(#index) .page-hero {
  padding-top: calc(72px + clamp(3rem, 8vw, 5.25rem)) !important;
  min-height: 280px;
  margin-top: 0 !important;
  border-top: 0 !important;
}
html body#product .product-detail > .breadcrumb,
html body.page-product .product-detail > .breadcrumb,
html body#product main.product-detail .breadcrumb,
html body.page-product main.product-detail .breadcrumb {
  display: flex !important;
  gap: 0.45rem;
  align-items: center;
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}
html body#product .product-detail__visual img {
  object-fit: cover !important;
}
/* feature-list debe ser grid (no flex en fila: desborda en móvil) */
html body .feature-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0.5rem !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
html body .chip-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.45rem !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
/* Ficha: mantener .wrap a 1200px en escritorio; solo evitar desborde interno */
html body#product main.wrap.product-detail,
html body.page-product main.wrap.product-detail,
html body#product .wrap.product-detail,
html body.page-product .wrap.product-detail {
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  overflow-x: clip;
}
html body#product .product-detail__grid,
html body.page-product .product-detail__grid,
html body#product .product-detail__copy,
html body.page-product .product-detail__copy {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
html body#product .feature-list li,
html body.page-product .feature-list li {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-wrap: anywhere;
}
html body .product-pager {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  justify-items: stretch;
  gap: 1rem;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
html body .product-pager > a {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  min-height: 5rem;
  height: 100%;
  margin: 0;
  box-sizing: border-box;
  vertical-align: top;
}
html body .product-pager > a:first-child {
  align-items: flex-start;
  text-align: left;
}
html body .product-pager > a:last-child {
  align-items: flex-end;
  text-align: right;
}
html body .product-pager > span:empty {
  display: block;
  min-height: 0;
}


/* -- ArtÃ­culo de blog (ficha CMS) ------------------------------------------*/
.blog-article-page.page-hero,
.page-hero.blog-article-page {
  min-height: 320px;
}

@media (max-width: 640px) {
  body.page-inner .page-hero.blog-article-page,
  html.page-inner .page-hero.blog-article-page,
  html body:not(#index) .page-hero.blog-article-page {
    padding-top: calc(64px + 1.25rem) !important;
    padding-bottom: 4.25rem;
  }

  .page-hero.blog-article-page .page-hero__inner {
    padding-right: 3.25rem;
  }

  .page-hero.blog-article-page .page-hero__text {
    margin-bottom: 0;
  }
}

.articulo-tts {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(13, 17, 23, 0.82);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  overflow: visible;
  transition: background 0.2s ease, transform 0.2s ease;
}

.articulo-tts:hover {
  background: rgba(0, 174, 239, 0.92);
  transform: scale(1.04);
}

.articulo-tts:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.articulo-tts__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  line-height: 0;
}

.articulo-tts__ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 2px dashed #34d399;
  pointer-events: none;
  opacity: 1;
  animation: articulo-tts-spin 12s linear infinite;
}

.articulo-tts.is-playing .articulo-tts__ring {
  animation: articulo-tts-fade 2s ease forwards;
}

@keyframes articulo-tts-spin {
  to { transform: rotate(360deg); }
}

@keyframes articulo-tts-fade {
  from { opacity: 1; }
  to { opacity: 0; }
}

.blog-article {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 0 3rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
}
html body .blog-article,
html body .blog-article-back {
  max-width: none !important;
  width: 100% !important;
}
.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.blog-article__meta .cat {
  color: var(--cyan-text);
}
.blog-article__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--text);
}
.blog-article__figure {
  margin: 0 0 2rem;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #0d1117;
  box-shadow: var(--shadow-xl);
}
.blog-article__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.blog-article__figure figcaption {
  padding: 0.75rem 1rem 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.blog-article h2 {
  margin: 2.25rem 0 0.85rem;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.blog-article p {
  margin: 0 0 1.15rem;
}
.blog-article__callout {
  margin: 1.75rem 0;
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-lg);
  border-left: 4px solid var(--cyan);
  background: color-mix(in srgb, var(--cyan) 10%, var(--surface));
  box-shadow: var(--shadow-sm);
}
.blog-article__callout strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--cyan-text);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.blog-article__checklist {
  list-style: none;
  margin: 1rem 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.blog-article__checklist li {
  position: relative;
  padding: 0.7rem 0.9rem 0.7rem 2.4rem;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--border);
}
.blog-article__checklist li::before {
  content: "â";
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cyan);
  font-weight: 800;
}
.blog-article__footer-cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #0d1117, #1a2430);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.blog-article__footer-cta p {
  margin: 0;
  max-width: 36ch;
  color: rgba(255,255,255,.82);
}
.blog-article-back {
  display: inline-flex;
  margin: 0 0 1.25rem;
  color: var(--cyan-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.blog-article-back:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .blog-article { font-size: 1rem; }
  .blog-article__footer-cta { flex-direction: column; align-items: flex-start; }
}

.blog-article__caption{padding:.75rem 1rem 1rem;font-size:.82rem;color:var(--text-muted);background:var(--surface);border-top:1px solid var(--border);margin:0}
.blog-article__figure{margin:0 0 2rem;border-radius:var(--r-xl);overflow:hidden;background:#0d1117;box-shadow:var(--shadow-xl)}
.blog-article__figure img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}

/* -- WORK CASE (ficha de trabajo) -------------------------------------------*/
a.work {
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
a.work:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
a.work:focus-visible {
  outline: 2px solid var(--c-cyan, #00aeef);
  outline-offset: 3px;
}
.work__cta {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #5ad4ff;
}
a.work:hover .work__cta {
  color: #fff;
}

.work-case-page .page-hero {
  min-height: clamp(280px, 42vw, 420px);
}
.work-case-page .page-hero__bg {
  filter: brightness(0.48) contrast(1.08) saturate(1.1);
}
.work-case-page .page-hero::after {
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.72) 45%,
      rgba(0, 0, 0, 0.55) 100%
    ),
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.25) 55%,
      transparent 100%
    );
}
.work-case-page .page-hero h1 {
  max-width: min(100%, 22ch);
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 4px 28px rgba(0, 0, 0, 0.55);
}
.work-case-page .page-hero__kicker {
  color: #5ad4ff !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}
.work-case-page .page-hero__text {
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75);
  font-weight: 400;
}

.work-case-back {
  display: inline-block;
  margin: 1.25rem 0 1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.work-case-back:hover { text-decoration: underline; color: var(--text); }

.work-case {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 0 3rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
}
html body .work-case,
html body .work-case-back {
  max-width: none !important;
  width: 100% !important;
}
.work-case__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.work-case__meta .cat {
  color: var(--cyan-text, #0077a8);
}
.work-case__lead {
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  line-height: 1.55;
  font-weight: 500;
  margin: 0 0 1.75rem;
  color: var(--text);
}
.work-case__gallery {
  display: grid;
  gap: 1.25rem;
  margin: 0 0 2rem;
}
.work-case__figure {
  margin: 0;
  border-radius: var(--r-xl, 1rem);
  overflow: hidden;
  background: #0d1117;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
}
.work-case__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.work-case__figure figcaption {
  padding: 0.75rem 1rem 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.work-case h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
  color: var(--text);
}
.work-case p { margin: 0 0 1.1rem; color: var(--text); }
.work-case__callout {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border-radius: 0.85rem;
  border-left: 3px solid var(--cyan, #00aeef);
  background: color-mix(in srgb, var(--cyan, #00aeef) 10%, transparent);
  color: var(--text);
}
.work-case__callout strong { color: var(--cyan-text, #0077a8); }
.work-case__checklist {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  color: var(--text);
}
.work-case__checklist li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.5rem;
}
.work-case__checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--cyan, #00aeef);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan, #00aeef) 25%, transparent);
}
.work-case__specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.75rem 0 0;
}
.work-case__specs > div {
  padding: 1rem;
  border-radius: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
}
.work-case__specs strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-text, #0077a8);
}
.work-case__specs span {
  font-size: 0.92rem;
  color: var(--text);
}
.work-case__footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--r-xl, 1rem);
  background: var(--surface);
  border: 1px solid var(--border);
}
.work-case__footer-cta p {
  margin: 0;
  max-width: 36rem;
  color: var(--text);
}
@media (max-width: 720px) {
  .work-case__specs { grid-template-columns: 1fr; }
  .work-case__footer-cta { flex-direction: column; align-items: flex-start; }
}

/* -- FAQ PAGE ---------------------------------------------------------------*/
.faq-page .page-intro {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.faq-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin: 0 0 clamp(2.5rem, 6vw, 4rem);
}

.faq-card {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
}

.faq-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0d1117;
}

.faq-card h3 {
  margin: 1rem 1.15rem 0.35rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.faq-card p {
  margin: 0 1.15rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.65;
}

.faq-section .section-title {
  margin-bottom: 1.25rem;
}

.faq-accordion {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  max-width: none;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.is-open {
  border-color: rgba(0, 174, 239, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.faq-item__trigger:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.faq-item__icon {
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  position: relative;
  background: rgba(0, 174, 239, 0.12);
  transition: background 0.2s ease, transform 0.2s ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.7rem;
  height: 2px;
  background: var(--cyan);
  transform: translate(-50%, -50%);
  border-radius: 2px;
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.faq-item.is-open .faq-item__icon {
  background: rgba(0, 174, 239, 0.22);
}

.faq-item.is-open .faq-item__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item__panel[hidden] {
  display: none;
}

.faq-item__content {
  padding: 1rem 1.2rem 1.25rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

.faq-item__content p {
  margin: 0 0 0.75rem;
}

.faq-item__content p:last-child {
  margin-bottom: 0;
}

.faq-item__content a {
  color: var(--cyan-text);
  font-weight: 600;
  text-decoration: none;
}

.faq-item__content a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .faq-highlights {
    grid-template-columns: 1fr;
  }

  .faq-card {
    display: grid;
    grid-template-columns: minmax(7.5rem, 9rem) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-items: stretch;
  }

  .faq-card img {
    grid-column: 1;
    grid-row: 1 / -1;
    width: 100%;
    height: 100%;
    min-height: 7.5rem;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .faq-card h3,
  .faq-card p {
    grid-column: 2;
  }

  .faq-card h3 {
    margin-top: 0.95rem;
  }

  .faq-card p {
    margin-bottom: 0.95rem;
  }
}

@media (max-width: 560px) {
  .faq-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .faq-card img {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 16 / 10;
    min-height: 0;
    height: auto;
  }

  .faq-card h3,
  .faq-card p {
    grid-column: 1;
  }
}

