/* ============================================================
   EMBII AI — Clon editorial inspirado en Zühlke
   Tokens de diseño extraídos de zuehlke.com
   - Display: Archivo (sustituto de "AA Zuehlke OTPS", propietaria)
   - Body: Lato (misma fuente que Zühlke)
   - Topaz texto: #302B43 | Púrpura: #965B9A #834F87 #AA41AF
   - Gradiente firma: 167deg #00A5E6 → #3C69C8 → #834FB8 → #AA41AF
   ============================================================ */

:root {
  --color-topaz-800: #2B152E;
  --color-topaz-700: #302B43;
  --color-topaz-600: #575469;
  --color-topaz-500: #78758B;
  --color-topaz-400: #D6D4DD;
  --color-white: #FFFFFF;
  --color-lavender: #F4F4FB;
  --color-purple: #965B9A;
  --color-purple-2: #834F87;
  --color-magenta: #AA41AF;
  --color-blue: #3C69C8;
  --color-cyan: #00A5E6;
  --gradient-signature: linear-gradient(167deg, #00A5E6 -40.38%, #3C69C8 -14.03%, #834FB8 25.5%, #AA41AF 84.79%);
  --gradient-cta: linear-gradient(145deg, #AA41AF 8.08%, #3C69C8 97.01%, #00A5E6 161.68%);
  --font-display: 'Archivo', 'AA Zuehlke OTPS', sans-serif;
  --font-body: 'Lato', sans-serif;
  --ui-grid-margin: clamp(1.25rem, 4vw, 4rem);
  --ease: cubic-bezier(.75, 0, .25, 1);
  --header-height: 5rem;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-topaz-700);
  background: var(--color-white);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4, p { margin: 0; }

/* ============ UTILITIES ============ */

.ui-grid {
  max-width: 100%;
  padding-left: var(--ui-grid-margin);
  padding-right: var(--ui-grid-margin);
}

.skip-link,
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--color-topaz-800);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: top .2s var(--ease);
}

.skip-link:focus,
.skip-to-content:focus {
  top: 1rem;
}

.title { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }

/* Escala display de Zühlke (real): pesos 500/600, NUNCA 800/900.
   Los -vl son desktop; las variantes -vs (mobile) se definen en el media query final. */
.display-6xl-vl { font-size: clamp(2.25rem, 4.5vw, 3.5rem); line-height: 1.1; font-weight: 500; letter-spacing: -0.03rem; }
.display-5xl-vl { font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.1; font-weight: 500; letter-spacing: -0.03rem; }
.display-8xl     { font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.1; font-weight: 500; letter-spacing: -0.03rem; }
.display-7xl     { font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1.1; font-weight: 500; letter-spacing: -0.03rem; }
.display-4xl-vl { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; font-weight: 500; letter-spacing: -0.02rem; }
.display-3xl-vl { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.02rem; }
.display-2xl     { font-size: 2rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.02rem; }

.lead { font-family: var(--font-body); font-size: 1.25rem; line-height: 1.5; font-weight: 400; }

.text-3xl-bold { font-size: 2.5rem; line-height: 1.25; font-weight: 700; }
.text-2xl-bold { font-size: 2rem; line-height: 1.25; font-weight: 700; }
.text-xl-bold-vl { font-size: 1.5rem; line-height: 1.4; font-weight: 700; }
.text-xl-vl { font-size: 1.5rem; line-height: 1.4; font-weight: 400; }
.text-lg-bold-vl { font-size: 1.25rem; line-height: 1.5; font-weight: 700; }
.text-lg-vl { font-size: 1.25rem; line-height: 1.5; font-weight: 400; }
.text-md { font-size: 1rem; line-height: 1.5; font-weight: 400; }
.text-md-bold { font-size: 1rem; line-height: 1.5; font-weight: 700; }
.text-md-bold-vl { font-weight: 700; }

.kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-purple);
  margin-bottom: 1rem;
}

/* ============ BUTTONS (estilo Zühlke: borde + flecha diagonal) ============ */

/* Zuehlke-inspired Animated Button Component */
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border: 1px solid currentColor;
  background-color: transparent;
  color: var(--color-topaz-700);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1;
  transition: border-color 0.35s cubic-bezier(0.23, 1, 0.32, 1), color 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.button-primary::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 1.25rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  transform: translate(-50%, -50%);
  transition: width 0.45s cubic-bezier(0.23, 1, 0.32, 1), height 0.45s cubic-bezier(0.23, 1, 0.32, 1), background-color 0.3s ease;
  z-index: 0;
  pointer-events: none;
}

.button-primary:hover::before {
  width: 350%;
  height: 350%;
  background-color: var(--color-topaz-800, #111111);
}

.button-primary .label {
  position: relative;
  z-index: 2;
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.button-primary:hover .label {
  transform: none;
}

.button-primary .svg-arrow-button {
  position: relative;
  z-index: 2;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s ease;
}

.button-primary:hover .svg-arrow-button {
  transform: translateX(4px);
}

.button-primary:hover {
  color: var(--color-white, #ffffff);
  border-color: var(--color-topaz-800, #111111);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.button-primary.-ghost-inverted {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--color-white);
}

.button-primary.-ghost-inverted::before {
  background-color: var(--color-white);
}

.button-primary.-ghost-inverted:hover::before {
  background-color: var(--color-white);
}

.button-primary.-ghost-inverted:hover {
  color: var(--color-topaz-800, #111111);
  border-color: var(--color-white);
}

.button-primary.-ghost-inverted.dark {
  border-color: var(--color-topaz-700);
  color: var(--color-topaz-700);
}

.button-primary.-ghost-inverted.dark::before {
  background-color: var(--color-topaz-700);
}

.button-primary.-ghost-inverted.dark:hover::before {
  background-color: var(--color-topaz-800, #111111);
}

.button-primary.-ghost-inverted.dark:hover {
  color: var(--color-white);
  border-color: var(--color-topaz-800, #111111);
}

.button-primary.-purple {
  background: var(--color-purple);
  border-color: var(--color-purple);
  color: var(--color-white);
}

.button-primary.-purple::before {
  background-color: var(--color-topaz-900, #111111);
}

.button-primary.-purple:hover {
  color: var(--color-white);
  border-color: var(--color-topaz-900, #111111);
}

.button-primary.-outline {
  border-color: var(--color-topaz-400);
  color: var(--color-topaz-700);
}

.button-primary.-outline:hover { background: var(--color-topaz-700); border-color: var(--color-topaz-700); color: var(--color-white); }

.button-primary.-white-on-gradient {
  border-color: var(--color-white);
  color: var(--color-white);
}

.button-primary.-white-on-gradient:hover { background: var(--color-white); color: var(--color-topaz-800); }

.button-text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-topaz-700);
  border-bottom: 2px solid var(--color-purple);
  padding-bottom: 0.25rem;
  transition: color .25s var(--ease);
}

.button-text-arrow:hover { color: var(--color-purple); }

.svg-arrow-button { flex-shrink: 0; }

/* ============ HEADER ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--color-topaz-400);
  backdrop-filter: blur(10px);
}

.logo {
  height: 100%;
  display: flex;
  align-items: center;
  margin-left: 1.3rem;
  margin-right: 2.5rem;
  flex-shrink: 0;
}

.logo a {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  height: 54px;
  max-height: 54px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: none;
}

.main-nav {
  align-self: flex-end;
  padding-bottom: 0.5rem;
  margin-left: 0;
  flex-shrink: 0;
}

.main-nav > ul { display: flex; align-items: center; gap: 2.25rem; }

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  color: var(--color-topaz-600);
  position: relative;
  padding: 0.625rem 0.125rem;
  transition: color .25s var(--ease);
}

.nav-link:hover { color: var(--color-topaz-700); }

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.25rem;
  width: 100%;
  height: 2px;
  background: var(--color-purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}

.nav-link:hover::after, .nav-item:hover > .nav-link::after { transform: scaleX(1); }

.nav-item { position: relative; }

/* Submenu (megamenú estilo Zühlke) */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(10px);
  min-width: 44rem;
  background: var(--color-white);
  border: 1px solid var(--color-topaz-400);
  box-shadow: 0 16px 48px rgba(48, 43, 67, 0.12);
  padding: 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}

.nav-item:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }

.submenu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }

.submenu-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-purple);
  margin-bottom: 1rem;
}

.submenu-grid ul li { margin-bottom: 0.75rem; }

.submenu-grid ul li a { font-weight: 700; transition: color .2s; }

.submenu-grid ul li a:hover { color: var(--color-purple); }

.submenu-highlight { grid-column: 1 / -1; border-top: 1px solid var(--color-topaz-400); padding-top: 1.5rem; }

.submenu-link-arrow { font-weight: 700; }

.submenu-link-arrow:hover { color: var(--color-purple); }

























.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-topaz-400);
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.mobile-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-topaz-700);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

.mobile-toggle[aria-expanded="true"] .mobile-toggle-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] .mobile-toggle-line:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] .mobile-toggle-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 99;
  padding: 2rem var(--ui-grid-margin);
  overflow-y: auto;
}

.mobile-menu.is-open { display: block; }

.mobile-menu nav ul li { border-bottom: 1px solid var(--color-topaz-400); }

.mobile-menu nav ul li a {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  padding: 1.25rem 0;
}

.mobile-menu .button-primary { margin-top: 2rem; }

/* ============ HERO ============ */

.header-hero-image {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  overflow: hidden;
  background: var(--color-topaz-800);
}

.header-hero-image .imagewrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.header-hero-image .crop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) brightness(0.7) contrast(1.05);
}

.header-hero-image .media-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(167deg, #00A5E6 -40%, #3C69C8 -14%, #834FB8 25%, #AA41AF 85%);
  opacity: 0.75;
}

.header-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(21, 8, 22, 0.75) 30%, rgba(21, 8, 22, 0.35) 70%, rgba(21, 8, 22, 0.2) 100%);
}

.header-hero-image .content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--ui-grid-margin);
  padding-top: 7rem;
  padding-bottom: 8rem;
}

.header-hero-image .title { max-width: 15ch; }

.header-hero-image .lead {
  max-width: 44rem;
  margin-top: 2rem;
}

.header-hero-image .actions { margin-top: 3rem; }

.line-mask { display: block; overflow: clip; padding-bottom: 0.2em; margin-bottom: -0.2em; }

.line-accent {
  font-family: var(--font-display);
  font-weight: 900;
  color: #fff;
  border-bottom: 2px solid rgba(255,255,255,0.6);
}

/* ============ PLACEHOLDERS (cuadros para imágenes) ============ */

.placeholder-media, .media-card.placeholder-media, .placeholder-logos {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-lavender);
  border: 1.5px dashed var(--color-topaz-400);
  color: var(--color-topaz-500);
  overflow: hidden;
}

.placeholder-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
  color: var(--color-topaz-500);
  background: rgba(255, 255, 255, 0.7);
}

.media-image, .media-card { 
  aspect-ratio: 5 / 4; 
  width: 100%; 
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg, 12px);
  background: var(--color-lavender, #F4F4FB);
}

.media-image img, .media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.media-image.placeholder-media, .media-card.placeholder-media { 
  aspect-ratio: 5 / 4; 
  width: 100%; 
}

.placeholder-logos {
  height: 4.5rem;
  min-width: 0;
}

.placeholder-logos .placeholder-label { background: transparent; font-size: 0.75rem; }

.hero-placeholder .placeholder-label {
  color: var(--color-white);
  background: rgba(21, 8, 22, 0.5);
  border: 1px dashed rgba(255,255,255,0.5);
}

/* ============ LOGOS ============ */

.content-logos { 
  padding-top: 4.5rem; 
  padding-bottom: 5rem; 
}

.content-logos .titlewrapper { 
  text-align: center; 
  margin-bottom: 2.75rem; 
}

.content-logos .lead { 
  color: var(--color-topaz-500); 
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  text-transform: uppercase;
}

.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-logos-item { 
  display: flex; 
  justify-content: center; 
  align-items: center;
}

.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.logo-slot img {
  height: 72px;
  max-height: 80px;
  max-width: 230px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  filter: grayscale(100%);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-slot:hover {
  background: transparent;
  border: none;
  box-shadow: none;
  transform: translateY(-4px);
}

.logo-slot:hover img {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.12);
}

/* ============ TEASERS ============ */

.content-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.content-teaser .mediawrapper { position: relative; }

.content-teaser .dashlines {
  position: absolute;
  top: -3.5rem;
  right: -2.5rem;
  z-index: -1;
  pointer-events: none;
}

.content-teaser .textwrapper .title { margin-bottom: 1.75rem; }

.content-teaser .rich-text { margin-bottom: 2rem; }

.rich-text p + p { margin-top: 1rem; }

/* ============ CTA ============ */

.cta-default {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background: var(--color-lavender);
}

.cta-inner { max-width: 60rem; }

.cta-inner .title { margin-bottom: 1.5rem; }

.cta-inner .rich-text { margin-bottom: 2.5rem; }

.cta-default.-gradient {
  background: var(--gradient-cta);
  color: var(--color-white);
}

.cta-default.-gradient .title { color: var(--color-white); }

.cta-default.-gradient .rich-text { color: rgba(255, 255, 255, 0.9); }

/* ============ CAROUSEL / CASOS ============ */

.content-carousel { padding-top: 1.5rem; padding-bottom: 6rem; }

.section-head { max-width: 44rem; margin-bottom: 3.5rem; }

.section-head .title { margin-top: 0.75rem; }

.carousel-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
}

.teaser-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.teaser-card .media-card {
  aspect-ratio: 16 / 10;
  width: 88%;
  max-width: 100%;
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  background: var(--color-lavender, #F4F4FB);
  flex-shrink: 0;
}

.teaser-card .media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s var(--ease);
}

.teaser-card:hover .media-card img {
  transform: scale(1.04);
}

.teaser-card .tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-purple);
  margin: 1.5rem 0 0.65rem;
}

.teaser-card .title,
.teaser-card h3 {
  margin-bottom: 0.85rem;
  min-height: 4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.teaser-card p:not(.tag) {
  color: var(--color-topaz-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.teaser-card .button-text-arrow {
  margin-top: auto;
  align-self: flex-start;
}

/* ============ PRICING (PREMIUM REDESIGN) ============ */

.pricing-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background: var(--color-white);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-topaz-600);
  max-width: 38rem;
  margin: 0.75rem 0 0;
  line-height: 1.5;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
  margin-top: 2rem;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--color-topaz-300, #E2E0EB);
  border-radius: 18px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -8px rgba(43, 21, 46, 0.1);
  border-color: var(--color-topaz-400, #C8C5D3);
}

.pricing-card.-highlight {
  border: 2px solid var(--color-purple, #965B9A);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF8FC 100%);
  box-shadow: 0 16px 40px -10px rgba(150, 91, 154, 0.2), 0 0 0 1px rgba(150, 91, 154, 0.15);
  transform: translateY(-4px);
}

.pricing-card.-highlight:hover {
  transform: translateY(-9px);
  box-shadow: 0 24px 50px -12px rgba(150, 91, 154, 0.28);
}

.pricing-popular-badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #965B9A 0%, #7A427E 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.725rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(150, 91, 154, 0.35);
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 1.25rem;
}

.pricing-tier-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-topaz-500, #7B788B);
  margin-bottom: 0.4rem;
}

.pricing-tier-tag.-highlight-tag {
  color: var(--color-purple, #965B9A);
}

.pricing-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-topaz-900, #121019);
  margin-bottom: 0.4rem;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--color-topaz-600, #575469);
  line-height: 1.45;
  margin: 0;
  min-height: 2.6rem;
}

.pricing-price-wrap {
  padding: 1.25rem 0;
  border-top: 1px solid var(--color-topaz-300, #EAE8F2);
  border-bottom: 1px solid var(--color-topaz-300, #EAE8F2);
  margin-bottom: 1.5rem;
}

.pricing-price-main {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.pricing-currency {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-topaz-800, #2B152E);
}

.pricing-amount {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.75rem;
  letter-spacing: -0.03em;
  color: var(--color-topaz-900, #121019);
  line-height: 1;
}

.pricing-period {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-topaz-500, #7B788B);
  margin-left: 0.35rem;
}

.pricing-setup-pill {
  display: inline-block;
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--color-purple, #965B9A);
  background: rgba(150, 91, 154, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-top: 0.6rem;
}

.pricing-setup-pill.-free {
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--color-topaz-700, #302B43);
}

.pricing-features-list li strong {
  color: var(--color-topaz-900, #121019);
}

.feature-check {
  width: 1rem;
  height: 1rem;
  color: #10B981;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.feature-check.-purple {
  color: var(--color-purple, #965B9A);
}

.pricing-card-footer {
  margin-top: auto;
}

.pricing-card-footer .button-primary {
  width: 100%;
  justify-content: center;
}



/* ============ QUOTES ============ */

.content-quote {
  padding-top: 7rem;
  padding-bottom: 7rem;
  text-align: center;
}

.quote-slide { display: none; }

.quote-slide.is-active { display: block; animation: fadeIn .5s var(--ease); }

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

.quote-text {
  max-width: 56rem;
  margin: 0 auto;
  position: relative;
}

.quote-text p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.quote-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 5rem;
  color: var(--color-purple);
  display: block;
  line-height: 0.6;
  margin-bottom: 1.5rem;
}

.quote-author { display: block; margin-top: 2.5rem; }

.quote-name { font-family: var(--font-display); font-weight: 800; display: block; }

.quote-role { color: var(--color-topaz-500); display: block; margin-top: 0.25rem; }

.quote-nav { display: flex; justify-content: center; gap: 0.75rem; margin-top: 3rem; }

.quote-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--color-purple);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background-color .2s;
}

.quote-dot.is-active { background: var(--color-purple); }

/* ============ FAQ ============ */

.faq-section { padding-top: 6rem; padding-bottom: 6rem; }

.faq-list { max-width: 56rem; }

.faq-item {
  border-bottom: 1px solid var(--color-topaz-400);
}

.faq-item summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  padding: 1.5rem 2.5rem 1.5rem 0;
  cursor: pointer;
  position: relative;
  list-style: none;
  transition: color .2s;
}

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

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--color-purple);
  transition: transform .25s var(--ease);
}

.faq-item[open] summary { color: var(--color-purple); }

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

.faq-body { padding: 0 3rem 1.75rem 0; color: var(--color-topaz-600); }

.faq-body p { max-width: 44rem; }

/* ============ CAREER ============ */

.content-hero-career {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 1.5rem;
}

.career-text .title { margin: 0.75rem 0 1.5rem; }

.career-text .rich-text { margin-bottom: 2rem; }

/* ============ CTA CAREER (layout "Build your career" de Zühlke) ============ */

.cta-career {
  position: relative;
  display: grid;
  grid-template-columns: 42% 1fr;
  align-items: stretch;
  background: linear-gradient(145deg, #A13DA6 0%, #7E48B3 45%, #3460BF 80%, #009FE3 100%);
  color: var(--color-lavender);
  overflow: hidden;
}

/* Ambient glow light sweep */
.cta-career::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 65%);
  pointer-events: none;
  z-index: 1;
  animation: ambientGlowSweep 10s ease-in-out infinite alternate;
}

@keyframes ambientGlowSweep {
  0% { transform: translate3d(-5%, -5%, 0) scale(0.95); opacity: 0.3; }
  100% { transform: translate3d(5%, 5%, 0) scale(1.1); opacity: 0.65; }
}

.cta-career-media {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.cta-career-img-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  will-change: clip-path, transform;
}

.cta-career-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  filter: contrast(1.04) brightness(1.02);
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), filter 0.5s ease;
}

.cta-career:hover .cta-career-img {
  filter: contrast(1.06) brightness(1.04);
}

.cta-career-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to right, rgba(15, 8, 25, 0) 0%, rgba(126, 72, 179, 0.15) 65%, rgba(126, 72, 179, 0.7) 100%),
              linear-gradient(to top, rgba(15, 8, 25, 0.2) 0%, transparent 40%);
}



.cta-career-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 4.5rem 3.5rem;
  max-width: 44rem;
}

.cta-career-text .kicker {
  color: var(--color-lavender);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: 1rem;
}

.cta-career-text .title {
  color: var(--color-lavender);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

.cta-career-text .rich-text {
  color: var(--color-lavender);
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 2rem;
  max-width: 32rem;
}

.cta-career-text .button-primary {
  border-color: var(--color-lavender);
  color: var(--color-lavender);
  text-transform: uppercase;
  font-size: 0.83rem;
  letter-spacing: 0.04em;
  padding: 0.94rem 1.6rem 0.94rem 2.4rem;
  border-radius: 4px;
}

.cta-career-text .button-primary:hover {
  background: var(--color-lavender);
  color: var(--color-topaz-800);
  border-color: var(--color-lavender);
}

/* ============ TOP SCROLL PROGRESS BAR ============ */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #834f87 0%, #b87ebc 50%, #d7bcd6 100%);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(131, 79, 135, 0.5);
  pointer-events: none;
}

/* ============ LENIS SMOOTH SCROLL SUPPORT ============ */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* ============ ENHANCED SCROLL REVEAL (ULTRA FLUIDO) ============ */
.reveal-on-scroll,
.reveal-fade-up {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92) translateY(24px);
  transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1), transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed,
.reveal-fade-up.is-revealed,
.reveal-scale.is-revealed,
.reveal-fade-left.is-revealed,
.reveal-fade-right.is-revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* Image hover micro-effects */
.img-hover-zoom {
  overflow: hidden;
  border-radius: var(--radius-lg, 12px);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.img-hover-zoom img,
.img-hover-zoom video {
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  display: block;
  width: 100%;
}

.img-hover-zoom:hover img,
.img-hover-zoom:hover video {
  transform: scale(1.03);
}

.img-hover-zoom:hover {
  box-shadow: 0 16px 32px -8px rgba(17, 17, 17, 0.12);
}

/* ============ FOOTER ============ */

.site-footer {
  background: var(--color-lavender, #F4F4FB);
  color: var(--color-topaz-600, #575469);
  border-top: 1px solid var(--color-topaz-300, #E2E0EB);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  margin-top: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
}

.footer-brand .footer-logo { 
  display: inline-flex; 
  align-items: center; 
  gap: 0.75rem; 
  margin-bottom: 1.25rem; 
}

.footer-brand .footer-logo .logo-img {
  height: 52px;
  max-height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand .logo-text { color: var(--color-topaz-800); }

.footer-tagline { 
  max-width: 24rem; 
  color: var(--color-topaz-600, #575469); 
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.footer-trust {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.footer-trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-trust-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-topaz-900, #121019);
  line-height: 1.1;
}

.footer-trust-label {
  font-size: 0.8125rem;
  color: var(--color-topaz-500, #7B788B);
  font-weight: 500;
}

.footer-col-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-topaz-900, #121019);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li { 
  margin-bottom: 0.65rem; 
}

.footer-col ul li a { 
  font-size: 0.9375rem;
  color: var(--color-topaz-600, #575469);
  text-decoration: none;
  transition: color .2s ease; 
}

.footer-col ul li a:hover { 
  color: var(--color-purple, #965B9A); 
}











/* ============ RESPONSIVE ============ */

@media (max-width: 1199px) {
  .submenu { min-width: 36rem; }
}

@media (max-width: 899px) {
  .main-nav { display: none; }
  .header-actions .button-primary { display: none; }
  .mobile-toggle { display: flex; }
  .logos { grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1rem; }
  .content-teaser, .content-hero-career, .cta-career { grid-template-columns: 1fr; gap: 3rem; }
  .content-teaser .dashlines { display: none; }
  .carousel-track { grid-template-columns: 1fr; gap: 3rem; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 30rem; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .header-hero-image { min-height: 92vh; }
}

@media (max-width: 599px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  
  .logos { grid-template-columns: repeat(2, 1fr); }
  .header-hero-image .content { padding-bottom: 6rem; }

  /* Escala display móvil (variantes -vs de Zühlke) */
  .display-6xl-vs { font-size: 3rem; line-height: 1.1; font-weight: 500; letter-spacing: -0.03rem; }
  .display-4xl-vs { font-size: 2.25rem; line-height: 1.1; font-weight: 600; letter-spacing: -0.02rem; }
  .display-3xl-vs { font-size: 2.25rem; line-height: 1.1; font-weight: 600; letter-spacing: -0.02rem; }
  .display-2xl-vs { font-size: 2rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.02rem; }
  .display-xl-vs { font-size: 1.5rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.02rem; }
}

/* ============ NAV ACTIVE ============ */

.nav-link.is-active::after { transform: scaleX(1); }

/* ============ BLOG ARTICLE ============ */

.article-container {
  max-width: 44rem;
  margin: 0 auto;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.article-header { margin-bottom: 3rem; }

.article-header .kicker { margin-bottom: 1.25rem; }

.article-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--color-topaz-500);
  font-size: 0.9375rem;
  margin-top: 1.5rem;
}

.article-content h2 { margin: 3rem 0 1.5rem; }

.article-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 2.5rem 0 1rem;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}

.article-content li { margin-bottom: 0.75rem; color: var(--color-topaz-600); }

/* ============ CHAT DEMO (PREMIUM WHATSAPP AI SIMULATOR) ============ */

.chat-demo {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  background: var(--color-lavender, #F4F4FB);
  border-top: 1px solid var(--color-topaz-400, #D6D4DD);
  border-bottom: 1px solid var(--color-topaz-400, #D6D4DD);
}

.chat-demo-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.chat-demo-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.chat-demo-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--color-topaz-700, #302B43);
  margin: 0;
}

.chat-demo-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.chat-feature-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: rgba(150, 91, 154, 0.12);
  color: var(--color-purple, #965B9A);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-feature-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-topaz-900, #121019);
  margin-bottom: 0.15rem;
}

.chat-feature-text span {
  font-size: 0.85rem;
  color: var(--color-topaz-600, #575469);
  line-height: 1.4;
}

.chat-demo-action {
  margin-top: 0.25rem;
}

/* SMARTPHONE / MOCKUP TERMINAL */
.chat-mockup-device {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.chat-mockup-frame {
  background: #FFFFFF;
  border: 1px solid var(--color-topaz-400, #D6D4DD);
  border-radius: 18px;
  box-shadow: 0 16px 36px -10px rgba(43, 21, 46, 0.14), 0 0 0 1px rgba(0,0,0,0.02);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 460px; /* FIXED CONTAINER HEIGHT PREVENTS PAGE LAYOUT SHIFT */
}

.chat-mockup-header {
  background: #F7F7FA;
  border-bottom: 1px solid var(--color-topaz-300, #E2E0EB);
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.chat-header-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.chat-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-topaz-300);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  flex-shrink: 0;
}

.chat-avatar .avatar-img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.online-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: #10B981;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
}

.chat-user-info {
  display: flex;
  flex-direction: column;
}

.chat-user-name {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-topaz-900, #121019);
}

.chat-user-status {
  font-size: 0.7rem;
  color: #10B981;
  font-weight: 600;
}

.chat-badge-live {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-purple, #965B9A);
  background: rgba(150, 91, 154, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

/* Chat Messages Container */
.chat-messages {
  background: #FAF9FC;
  padding: 0.85rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 350px;
  box-sizing: border-box;
  overflow-y: auto;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(150, 91, 154, 0.25) transparent;
  position: relative;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(150, 91, 154, 0.25);
  border-radius: 999px;
}

.chat-anim-active {
  height: 350px;
}

.chat-date-divider {
  text-align: center;
  margin-bottom: 0.15rem;
}

.chat-date-divider span {
  font-size: 0.6875rem;
  color: var(--color-topaz-500);
  background: #EAE8F2;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-weight: 600;
}

.chat-bubble {
  position: relative;
  max-width: 88%;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8125rem;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.chat-bubble.-in {
  align-self: flex-start;
  background: #FFFFFF;
  border: 1px solid var(--color-topaz-300, #E2E0EB);
  border-bottom-left-radius: 3px;
  color: var(--color-topaz-900, #121019);
}

.chat-bubble.-process {
  align-self: center;
  width: 96%;
  max-width: 96%;
  background: rgba(150, 91, 154, 0.07);
  border: 1px solid rgba(150, 91, 154, 0.2);
  border-radius: 10px;
  color: var(--color-topaz-800, #2B152E);
  font-size: 0.775rem;
  padding: 0.55rem 0.8rem;
}

.process-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
  color: var(--color-purple, #965B9A);
  font-weight: 700;
  font-size: 0.775rem;
}

.process-pulse {
  width: 7px;
  height: 7px;
  background: var(--color-purple, #965B9A);
  border-radius: 50%;
  animation: typingPulse 1.2s infinite ease-in-out;
}

.process-step {
  margin-bottom: 0.15rem;
  color: var(--color-topaz-700);
  line-height: 1.3;
}

.process-step em {
  color: var(--color-purple);
  font-style: normal;
  font-weight: 600;
}

.chat-bubble.-out {
  align-self: flex-end;
  background: var(--color-purple, #965B9A);
  color: #FFFFFF;
  border-bottom-right-radius: 3px;
}

.chat-bubble.-out strong {
  color: #FFFFFF;
}

.order-summary-list {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0;
  font-size: 0.775rem;
  border-top: 1px solid rgba(255,255,255,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.order-summary-list li {
  margin-bottom: 0.1rem;
  color: rgba(255,255,255,0.95);
}

.bubble-total {
  margin: 0.25rem 0;
  font-size: 0.8125rem;
}

.bubble-footer-note {
  font-size: 0.75rem;
  opacity: 0.9;
  margin: 0.2rem 0 0;
}

.bubble-time {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  font-size: 0.65rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.checks-icon {
  display: inline-block;
  color: #60A5FA;
}

/* Chat Input Bar Mockup */
.chat-input-bar {
  background: #FFFFFF;
  border-top: 1px solid var(--color-topaz-300, #E2E0EB);
  padding: 0.45rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.input-placeholder {
  flex-grow: 1;
  background: #F4F4F8;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  color: var(--color-topaz-500);
}

.send-btn-mockup {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--color-purple, #965B9A);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ANIMACION DEL CHAT SIMULADO (se muestra mensaje por mensaje) */
.chat-anim-active .chat-bubble.anim {
  display: none;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-anim-active .chat-bubble.anim.visible {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.chat-anim-active .chat-bubble.typing-indicator {
  display: none;
  padding: 0.5rem 0.8rem;
  gap: 4px;
}

.chat-anim-active .chat-bubble.typing-indicator .dot {
  width: 6px;
  height: 6px;
  background: var(--color-purple, #965B9A);
  border-radius: 50%;
  animation: typingPulse 1.2s infinite ease-in-out both;
}

.chat-anim-active .chat-bubble.typing-indicator .dot:nth-child(1) { animation-delay: -0.32s; }
.chat-anim-active .chat-bubble.typing-indicator .dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingPulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* ANIMACION DEL CHAT SIMULADO (se muestra mensaje por mensaje) */
.chat-anim-active .chat-bubble.anim {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-anim-active .chat-bubble.anim.visible {
  opacity: 1;
  transform: translateY(0);
}

.typing-indicator {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0.75rem 1rem;
  background: #FFFFFF;
  border: 1px solid var(--color-topaz-300);
  border-radius: 12px;
  max-width: 70px;
  height: 38px;
  box-sizing: border-box;
  align-self: flex-end;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.typing-indicator .dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-purple);
  border-radius: 50%;
  display: inline-block;
  animation: typingPulse 1.4s infinite ease-in-out both;
}

.typing-indicator .dot:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator .dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingPulse {
  0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.typing-indicator .dot:nth-child(1) { animation-delay: -0.32s; }

.typing-indicator .dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingPulse {
  0%, 80%, 100% { transform: scale(0.3); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* ============ FORMS ============ */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 44rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field { display: flex; flex-direction: column; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-topaz-700);
  background: var(--color-white);
  border: 1px solid var(--color-topaz-400);
  border-radius: 0;
  transition: border-color .25s var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-purple);
}

.form-field textarea { resize: vertical; }

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

.form-consent { margin-top: 0.25rem; }

.consent-label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--color-topaz-600);
  cursor: pointer;
}

.consent-label input { margin-top: 0.25rem; }

.consent-label a { color: var(--color-purple); text-decoration: underline; }

.form-feedback {
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-topaz-400);
  font-size: 0.9375rem;
}

.form-feedback:not([hidden]) { display: block; }

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

/* ============ SOCIOS / PARTNERS ============ */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.partner-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.partner-stat {
  border-top: 1px solid var(--color-topaz-400);
  padding-top: 1.5rem;
}

.partner-stat .title { display: block; margin-bottom: 0.5rem; }

.partner-stat-label { color: var(--color-topaz-500); }

.partner-ideal { padding-top: 6rem; padding-bottom: 6rem; }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.partner-card {
  border-top: 1px solid var(--color-topaz-400);
  padding-top: 1.5rem;
}

.partner-card .title { margin-bottom: 1rem; }

.partner-card p { color: var(--color-topaz-600); }

.partner-how { padding-top: 6rem; padding-bottom: 6rem; background: var(--color-lavender); }

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 44rem;
}

.process-step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
}

.step-marker { display: flex; flex-direction: column; align-items: center; }

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-purple);
}

.step-line {
  flex: 1;
  width: 1px;
  background: var(--color-topaz-400);
  margin-top: 0.75rem;
}

.process-step:last-child .step-line { display: none; }

.step-body .title { margin-bottom: 0.75rem; }

.step-body p { color: var(--color-topaz-600); }

/* ============ RESPONSIVE NUEVOS BLOQUES ============ */

@media (max-width: 899px) {
  .chat-demo-grid { grid-template-columns: 1fr; gap: 3rem; }
  .partner-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 599px) {
  .article-container { padding-top: 4rem; padding-bottom: 4rem; }
  .process-step { grid-template-columns: 2.5rem 1fr; gap: 1rem; }
}

.header-actions { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; padding-right: 1.5rem; }

.meta-navigation { display: flex; align-items: center; }

.metalist {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link-primary {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--color-topaz-600);
  text-decoration: none;
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.3s var(--ease);
}

.nav-link-primary::before {
  content: "";
  display: block;
  position: absolute;
  top: -0.25rem;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-purple);
  transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-link-primary:hover {
  color: var(--color-purple);
}

.nav-link-primary:hover::before {
  width: 100%;
}

.nav-link-primary.-active {
  color: var(--color-topaz-900);
}

.nav-link-primary.-active::before {
  width: 100%;
  background-color: var(--color-purple);
}

.nav-link-primary.-disabled {
  color: var(--color-topaz-400);
  opacity: 0.5;
  cursor: not-allowed;
}

.nav-link-primary.-disabled:hover::before {
  width: 0;
}




/* ============ HEADER ACTIONS & META NAV (ZUEHLKE STYLE TOP PINNED) ============ */
.header-actions {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-top: 0.6rem;
}

.meta-navigation { display: flex; align-items: center; }

.metalist {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link-primary {
  font-family: 'Lato', var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--color-topaz-600, #575469);
  text-decoration: none;
  position: relative;
  padding: 0.15rem 0;
  transition: color 0.3s var(--ease);
}

.nav-link-primary::before {
  content: "";
  display: block;
  position: absolute;
  top: -0.6rem;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-purple, #834f87);
  transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-link-primary:hover {
  color: var(--color-purple, #834f87);
}

.nav-link-primary:hover::before {
  width: 100%;
}

.nav-link-primary.-active {
  color: var(--color-topaz-900, #111111);
}

.nav-link-primary.-active::before {
  width: 100%;
  background-color: var(--color-purple, #834f87);
}

.nav-link-primary.-disabled {
  color: var(--color-topaz-400, #9592a5);
  opacity: 0.5;
  cursor: not-allowed;
}

.nav-link-primary.-disabled:hover::before {
  width: 0;
}


/* ============ SUBPAGES DESIGN SYSTEM (ZUEHLKE STYLE) ============ */

.page-hero-section {
  padding-top: 3rem;
  padding-bottom: 1.5rem;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-topaz-300);
}

.case-badge-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-purple);
  background: rgba(131, 79, 135, 0.08);
  border: 1px solid rgba(131, 79, 135, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.case-hero-title-large {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-topaz-900, #121019);
  margin-bottom: 1rem;
}

.case-hero-title-large em {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--color-purple);
}

.case-hero-lead-text {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--color-topaz-700, #302B43);
  max-width: 52rem;
  margin-bottom: 1.5rem;
}

.case-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-topaz-300);
  font-size: 0.875rem;
  color: var(--color-topaz-600);
}

.case-meta-item strong {
  color: var(--color-topaz-900, #121019);
  font-weight: 700;
}

/* Article Split Layout */
.case-body-section {
  padding-top: 2.25rem;
  padding-bottom: 4.5rem;
  background: var(--color-white);
}

.case-split-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 3.5rem;
}

.case-article-main h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-topaz-900, #121019);
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.case-article-main h2:first-of-type {
  margin-top: 0;
}

.case-article-main p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-topaz-800, #2B152E);
  margin-bottom: 1.25rem;
}

.case-article-main ul, .case-article-main ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--color-topaz-800, #2B152E);
}

.case-article-main li {
  margin-bottom: 0.5rem;
}

.case-callout-box {
  background: var(--color-topaz-050, #FBFBFA);
  border-left: 4px solid var(--color-purple);
  padding: 1.75rem 2rem;
  border-radius: 0 12px 12px 0;
  margin: 2.5rem 0;
}

.case-callout-box p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-topaz-900);
  margin: 0;
  line-height: 1.6;
}

/* Sticky Sidebar */
.case-sidebar-card {
  position: sticky;
  top: 6rem;
  background: var(--color-topaz-050, #FBFBFA);
  border: 1px solid var(--color-topaz-300);
  border-radius: 16px;
  padding: 2rem;
}

.sidebar-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-topaz-900);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-topaz-300);
}

.sidebar-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  list-style: none;
  padding: 0;
}

.sidebar-tech-tag {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--color-white);
  border: 1px solid var(--color-topaz-300);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  color: var(--color-topaz-700);
}

@media (max-width: 899px) {
  .case-split-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .case-metrics-4col { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .case-sidebar-card { position: relative; top: 0; }
}


/* Article Image Figure Container */
.article-image-figure {
  margin: 2.5rem 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-topaz-300);
  background: var(--color-topaz-050, #FBFBFA);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.article-image-figure img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.article-image-figure:hover img {
  transform: scale(1.02);
}

.article-image-figure figcaption {
  padding: 0.85rem 1.25rem;
  font-size: 0.875rem;
  color: var(--color-topaz-600);
  background: var(--color-white);
  border-top: 1px solid var(--color-topaz-200);
  font-family: var(--font-body);
  font-weight: 500;
}


.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid var(--color-topaz-400);
  padding-top: 1.5rem;
  flex-wrap: wrap;
}

.footer-copyright { color: var(--color-topaz-600); font-size: 0.875rem; font-weight: 500; }

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}







.footer-divider {
  color: var(--color-topaz-400, #D6D4DD);
  font-weight: 400;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal a,
.footer-legal button {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-topaz-600, #575469);
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.footer-legal a:hover,
.footer-legal button:hover {
  color: var(--color-purple, #965B9A);
}


.footer-social-inline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-social-inline a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--color-topaz-400, #D6D4DD);
  color: var(--color-topaz-600, #575469);
  background: var(--color-white);
  transition: all 0.25s var(--ease);
}

.footer-social-inline a:hover {
  border-color: var(--color-purple, #965B9A);
  color: var(--color-purple, #965B9A);
  background: rgba(150, 91, 154, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(131, 79, 135, 0.15);
}

/* ============ SOBRE NOSOTROS (SWISS EDITORIAL ARCHITECTURE) ============ */

.about-page-hero {
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  max-width: 58rem;
  margin: 0 auto;
}

.about-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-purple, #965B9A);
  margin-bottom: 1.25rem;
}

.about-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--color-topaz-900, #121019);
  margin-bottom: 1.5rem;
}

.about-hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  color: var(--color-topaz-700, #302B43);
  font-weight: 400;
  max-width: 48rem;
}

/* Wide Cinematic Team Image */
.about-hero-photo-wrap {
  max-width: 62rem;
  margin: 2rem auto 4.5rem;
}

.about-hero-photo-wrap figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-topaz-300, #E2E0EB);
  background: var(--color-lavender);
}

.about-hero-photo-wrap img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: contrast(1.08) brightness(1.02);
}

.about-hero-photo-wrap figcaption {
  padding: 0.85rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--color-topaz-600, #575469);
  background: #FFFFFF;
  border-top: 1px solid var(--color-topaz-200, #EAE8F2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

/* Editorial Story Grid (2 Column Layout) */
.about-essay-container {
  max-width: 58rem;
  margin: 0 auto 6rem;
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 4rem;
  align-items: start;
}

.about-essay-sidebar {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-right: 1rem;
}

.about-essay-sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-essay-sidebar nav a {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-topaz-500, #7B788B);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  line-height: 1.4;
}

.about-essay-sidebar nav a:hover {
  color: var(--color-purple, #965B9A);
}

.sidebar-facts-box {
  border-top: 1px solid var(--color-topaz-300, #E2E0EB);
  padding-top: 1.5rem;
}

.sidebar-fact-item {
  margin-bottom: 1.25rem;
}

.sidebar-fact-item .fact-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-topaz-500);
  margin-bottom: 0.15rem;
}

.sidebar-fact-item .fact-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-topaz-900);
}

/* Essay Body */
.about-essay-body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about-essay-section {
  scroll-margin-top: 6rem;
}

.about-essay-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--color-topaz-900, #121019);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 1.15rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--color-topaz-300, #E2E0EB);
}

.about-essay-section p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-topaz-800, #2B152E);
  margin-bottom: 1.25rem;
}

.about-essay-section ul,
.about-essay-section ol {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.about-essay-section li {
  font-size: 1.025rem;
  line-height: 1.75;
  color: var(--color-topaz-800, #2B152E);
  margin-bottom: 0.75rem;
}

.about-pull-quote {
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  border-left: 3px solid var(--color-purple, #965B9A);
  background: var(--color-lavender, #F4F4FB);
  border-radius: 0 8px 8px 0;
}

.about-pull-quote p {
  font-family: var(--font-serif, 'Newsreader', Georgia, serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-topaz-900, #121019);
  margin: 0;
}

@media (max-width: 899px) {
  .about-essay-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-essay-sidebar {
    position: relative;
    top: 0;
    padding-right: 0;
    border-bottom: 1px solid var(--color-topaz-300);
    padding-bottom: 1.5rem;
  }
}

/* ============================================================
   COOKIE CONSENT & PREFERENCES SYSTEM — PURE EXECUTIVE DESIGN
   ============================================================ */

.embii-cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 14, 28, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}

.embii-cookie-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.embii-cookie-card {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 580px;
  width: 100%;
  padding: 2.25rem 2.5rem 2rem;
  box-shadow: 0 24px 50px -12px rgba(18, 14, 28, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.06);
  border: 1px solid #E2E0EB;
  transform: translateY(10px);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
}

.embii-cookie-overlay.is-visible .embii-cookie-card {
  transform: translateY(0);
}

.cookie-headline {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--color-topaz-800);
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.cookie-description {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-topaz-600);
  margin: 0 0 1.75rem;
}

.cookie-button-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.cookie-btn-action {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cookie-btn-action-primary {
  background: var(--color-topaz-800);
  color: #FFFFFF;
  flex: 1;
}

.cookie-btn-action-primary:hover {
  background: var(--color-topaz-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(43, 21, 46, 0.2);
}

.cookie-btn-action-secondary {
  background: #FFFFFF;
  color: var(--color-topaz-700);
  border-color: var(--color-topaz-400);
  flex: 1;
}

.cookie-btn-action-secondary:hover {
  background: var(--color-lavender);
  color: var(--color-topaz-800);
  border-color: var(--color-topaz-500);
}

.cookie-sub-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #EAE8F0;
  padding-top: 1rem;
}

.cookie-sublink {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-topaz-500);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.cookie-sublink:hover {
  color: var(--color-topaz-800);
}

/* Modal de Preferencias Granulares */
.embii-cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 14, 28, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.embii-cookie-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.embii-cookie-modal-box {
  background: #FFFFFF;
  border-radius: 18px;
  max-width: 600px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(48, 43, 67, 0.08);
  transform: translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.embii-cookie-modal-backdrop.is-open .embii-cookie-modal-box {
  transform: translateY(0);
}

.cookie-modal-header {
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid #EAE8F0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-topaz-800);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.cookie-modal-header p {
  font-size: 0.875rem;
  color: var(--color-topaz-600);
  line-height: 1.45;
  margin: 0;
}

.cookie-modal-close {
  background: transparent;
  border: 1px solid var(--color-topaz-400);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-topaz-600);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.cookie-modal-close:hover {
  background: var(--color-lavender);
  color: var(--color-topaz-800);
  border-color: var(--color-topaz-500);
}

.cookie-modal-body {
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-category-card {
  background: var(--color-lavender);
  border: 1px solid rgba(48, 43, 67, 0.08);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  transition: border-color 0.2s ease;
}

.cookie-category-card:hover {
  border-color: var(--color-topaz-400);
}

.cookie-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.cookie-category-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-topaz-800);
}

.cookie-always-active-pill {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #E4DFEC;
  color: var(--color-topaz-800);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.cookie-category-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-topaz-600);
  margin: 0;
}

/* Switch Toggle UI */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--color-topaz-400);
  transition: 0.2s ease;
  border-radius: 22px;
}

.cookie-switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.2s ease;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cookie-switch input:checked + .cookie-switch-slider {
  background-color: var(--color-purple);
}

.cookie-switch input:focus-visible + .cookie-switch-slider {
  outline: 2px solid var(--color-purple);
  outline-offset: 2px;
}

.cookie-switch input:checked + .cookie-switch-slider:before {
  transform: translateX(18px);
}

.cookie-modal-footer {
  padding: 1.15rem 1.75rem 1.5rem;
  border-top: 1px solid #EAE8F0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  background: #FAF9FD;
}

@media (max-width: 540px) {
  .embii-cookie-card {
    padding: 1.5rem 1.25rem 1.25rem;
    border-radius: 16px;
  }
  .cookie-button-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .cookie-sub-actions {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  .cookie-modal-header,
  .cookie-modal-body,
  .cookie-modal-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .cookie-modal-footer {
    flex-direction: column-reverse;
  }
  .cookie-modal-footer .cookie-btn-action {
    width: 100%;
  }
}

