/* ---------- Fonts ---------- */
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Base ---------- */
:root {
  --bg: #f4f7fc;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --ink: #071a33;
  --ink-2: #22344f;
  --muted: #5e6e86;
  --line: rgba(7, 26, 51, 0.1);
  --line-strong: rgba(7, 26, 51, 0.18);
  --blue: #0b5cd5;
  --blue-2: #2f7bff;
  --blue-3: #9cc2ff;
  --blue-soft: #e7f0ff;
  --red: #d91e36;
  --red-2: #f04a5e;
  --red-soft: #fde8ec;
  --navy: #071a33;
  --navy-2: #0b2749;
  --black: #040c18;
  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius-xl: 44px;
  --radius-lg: 30px;
  --radius-md: 20px;
  --shadow-lg: 0 40px 80px -40px rgba(4, 14, 32, 0.42);
  --shadow-md: 0 20px 45px -30px rgba(4, 14, 32, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-loading,
body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  display: inline-block;
  vertical-align: -0.16em;
}

.shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(74px, 8.5vw, 124px) 0;
}

.serif {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.04em;
  font-size: 1em;
  line-height: inherit;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(11, 92, 213, 0.13);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.55);
}

.eyebrow--light .dot {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(217, 30, 54, 0.13);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 46px;
}

.section-head-main {
  max-width: 760px;
}

.section-title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.2vw, 3.65rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-title .serif,
.process-title .serif,
.cta-panel h2 .serif {
  white-space: nowrap;
}

.nowrap {
  white-space: nowrap;
}

.section-desc {
  max-width: 360px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.72;
  padding-bottom: 6px;
}

.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  margin-bottom: 50px;
}

.section-head--center .section-desc {
  max-width: 520px;
  padding-bottom: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease-out), background-color 0.3s, color 0.3s, box-shadow 0.4s, border-color 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 1.05rem 1.7rem;
  font-size: 0.94rem;
}

.btn-ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 0.3s, transform 0.45s var(--ease-out);
}

.btn-ico .icon {
  width: 13px;
  height: 13px;
}

.btn:hover .btn-ico {
  transform: rotate(45deg);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 30px -18px rgba(7, 26, 51, 0.8);
}

.btn-dark:hover {
  background: #0b2749;
  box-shadow: 0 18px 34px -16px rgba(11, 92, 213, 0.5);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: #fff;
  border-color: rgba(11, 92, 213, 0.4);
  box-shadow: var(--shadow-md);
}

.btn-light {
  background: var(--bg-soft);
  color: var(--ink);
  box-shadow: 0 16px 34px -22px rgba(0, 0, 0, 0.5);
}

.btn-light:hover {
  background: #fff;
  box-shadow: 0 20px 40px -18px rgba(47, 123, 255, 0.55);
}

.btn-light .btn-ico {
  background: rgba(7, 26, 51, 0.08);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ---------- Brand ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-logo-box {
  display: block;
  height: 28px;
  aspect-ratio: 701 / 99;
  overflow: hidden;
  flex: none;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
}

.brand-island-mark {
  display: none;
}

.brand-logo-box--footer {
  height: 36px;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  background: #041226;
  transition: transform 0.95s cubic-bezier(0.76, 0, 0.24, 1), border-radius 0.95s;
  animation: loaderFallback 0.01s linear 3.4s forwards;
}

@keyframes loaderFallback {
  to { visibility: hidden; opacity: 0; pointer-events: none; }
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.loader-badge {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 40px -18px rgba(11, 92, 213, 0.7);
  animation: markIn 0.9s var(--ease-out) both;
}

.loader-badge img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.loader-word {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f7faff;
}

.loader-bar {
  display: block;
  width: 130px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.loader-bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--blue-3));
  transform: scaleX(0);
  transform-origin: left;
  animation: loadBar 0.55s var(--ease-out) 0.05s forwards;
}

.loader.is-done {
  transform: translateY(-101%);
  border-radius: 0 0 44px 44px;
}

.loader.is-done .loader-inner {
  opacity: 0;
  transform: translateY(-12px);
}

@keyframes loadBar {
  to { transform: scaleX(1); }
}

@keyframes markIn {
  from { opacity: 0; transform: scale(0.7) rotate(-8deg); }
  to { opacity: 1; transform: none; }
}

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 120;
}

.nav {
  position: relative;
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 20px;
  border-radius: 999px;
  background: rgba(7, 26, 51, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 20px 46px -28px rgba(4, 14, 32, 0.8);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition:
    width 0.78s cubic-bezier(0.16, 1.22, 0.3, 1),
    background-color 0.35s,
    box-shadow 0.35s,
    padding 0.35s var(--ease-out);
}

.site-header.is-scrolled .nav {
  padding-top: 7px;
  padding-bottom: 7px;
  background: rgba(7, 26, 51, 0.97);
  box-shadow: 0 22px 50px -26px rgba(4, 14, 32, 0.85);
}

.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 18px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.55rem 0.82rem;
  border-radius: 999px;
  font-size: 0.87rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s, background-color 0.25s;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.icon--chevron {
  width: 13px;
  height: 13px;
  transition: transform 0.35s var(--ease-out);
}

.has-dropdown.is-open .icon--chevron {
  transform: rotate(180deg);
}

.nav-cta {
  padding: 0.6rem 0.65rem 0.6rem 1.1rem;
  font-size: 0.84rem;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.55);
}

.nav-cta:hover {
  background: var(--red);
  color: #fff;
  box-shadow: 0 16px 30px -14px rgba(217, 30, 54, 0.6);
}

.nav-cta .btn-ico {
  width: 26px;
  height: 26px;
  background: rgba(7, 26, 51, 0.08);
  color: var(--navy);
}

.nav-cta:hover .btn-ico {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

/* Selector de idioma */
.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.lang-switch--bar {
  display: none;
}

.lang-pill {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 34px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s var(--ease-out);
}

.lang-switch.is-en .lang-pill {
  transform: translateX(34px);
}

.lang-opt {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.3s;
}

.lang-opt.is-active {
  color: var(--navy);
}

.lang-opt:not(.is-active):hover {
  color: #fff;
}

/* Entrada del header */
.site-header {
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 0.8s ease, transform 0.9s var(--ease-out);
}

.is-ready .site-header {
  opacity: 1;
  transform: none;
}

.site-header .nav-list > li {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.5s ease, transform 0.6s var(--ease-out);
}

.is-ready .site-header .nav-list > li {
  opacity: 1;
  transform: none;
}

.site-header .nav-list > li:nth-child(1) { transition-delay: 0.12s; }
.site-header .nav-list > li:nth-child(2) { transition-delay: 0.15s; }
.site-header .nav-list > li:nth-child(3) { transition-delay: 0.18s; }
.site-header .nav-list > li:nth-child(4) { transition-delay: 0.21s; }
.site-header .nav-list > li:nth-child(5) { transition-delay: 0.24s; }
.site-header .nav-list > li:nth-child(6) { transition-delay: 0.27s; }

.site-header .nav-actions {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.5s ease 0.3s, transform 0.6s var(--ease-out) 0.3s;
}

.is-ready .site-header .nav-actions {
  opacity: 1;
  transform: none;
}

/* Compact "dynamic island" nav */
@media (min-width: 961px) {
  .site-header .brand {
    position: relative;
    width: 198px;
    height: 34px;
    overflow: hidden;
    border-radius: 10px;
    transition: width 0.55s cubic-bezier(0.16, 1.22, 0.3, 1);
  }

  .site-header .brand-logo-box {
    position: absolute;
    top: 50%;
    left: 0;
    width: 198px;
    height: 28px;
    aspect-ratio: auto;
    transform: translateY(-50%);
    transform-origin: left center;
    transition: opacity 0.3s ease 0.15s, transform 0.5s var(--ease-out);
  }

  .site-header .brand-island-mark {
    position: absolute;
    top: 50%;
    left: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 4px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px -8px rgba(4, 14, 32, 0.55);
    opacity: 0;
    transform: translateY(-50%) scale(0.55);
    transition: opacity 0.18s ease, transform 0.32s var(--ease-out);
  }

  .site-header .brand-island-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
  }

  .site-header .nav-link {
    transition:
      color 0.25s,
      background-color 0.25s,
      padding 0.35s var(--ease-out),
      font-size 0.35s var(--ease-out);
  }

  .site-header .nav-cta {
    transition:
      background-color 0.25s,
      color 0.25s,
      box-shadow 0.25s,
      padding 0.35s var(--ease-out),
      font-size 0.35s var(--ease-out);
  }

  .site-header.is-compact .nav {
    width: min(760px, calc(100% - 32px));
    padding: 7px 10px 7px 12px;
    transition:
      width 0.5s cubic-bezier(0.3, 0.95, 0.2, 1),
      background-color 0.35s,
      box-shadow 0.35s,
      padding 0.35s var(--ease-out);
  }

  .site-header.is-compact .brand {
    width: 36px;
    transition: width 0.45s cubic-bezier(0.3, 0.95, 0.2, 1);
  }

  .site-header.is-compact .brand-logo-box {
    opacity: 0;
    transform: translateY(-50%) scale(0.9);
    transition: opacity 0.16s ease, transform 0.32s var(--ease-out);
  }

  .site-header.is-compact .brand-island-mark {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    transition: opacity 0.24s ease 0.1s, transform 0.45s cubic-bezier(0.16, 1.2, 0.3, 1) 0.06s;
  }

  .site-header.is-compact .nav-menu {
    gap: 12px;
  }

  .site-header.is-compact .nav-list {
    gap: 0;
  }

  .site-header.is-compact .nav-link {
    padding: 0.5rem 0.66rem;
    font-size: 0.82rem;
  }

  .site-header.is-compact .nav-cta {
    padding: 0.52rem 0.55rem 0.52rem 0.85rem;
    font-size: 0.8rem;
  }

  .site-header.is-compact .nav-cta .btn-ico {
    width: 24px;
    height: 24px;
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.8px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.35s var(--ease-out), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
}

.dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  width: 660px;
  max-width: calc(100vw - 64px);
  padding: 10px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 50px 90px -40px rgba(4, 14, 32, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px) scale(0.985);
  transform-origin: top center;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 60;
}

.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
  transition: opacity 0.22s ease, transform 0.44s var(--ease-out), visibility 0.22s;
}

.dropdown-inner {
  padding: 6px;
}

.dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 10px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.dropdown-count {
  color: var(--blue);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 16px;
  transition: background-color 0.25s, transform 0.3s var(--ease-out);
}

.dropdown-item:hover {
  background: #f5f9ff;
  transform: translateX(2px);
}

.dd-ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
}

.dd-ic .icon {
  width: 19px;
  height: 19px;
}

.dropdown-item strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.dropdown-item small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 1px;
}

.dropdown-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 15px 16px;
  border-radius: 19px;
  background: linear-gradient(120deg, #071a33, #0a2b5c 65%, #0b3e8a);
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.dropdown-feature::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -60px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.45), transparent 65%);
  pointer-events: none;
}

.dropdown-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -26px rgba(4, 14, 32, 0.7);
}

.dd-feature-kicker {
  flex: none;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--red);
  color: #ffffff;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dd-feature-copy {
  position: relative;
  z-index: 1;
}

.dd-feature-copy strong {
  display: block;
  font-size: 0.86rem;
  letter-spacing: -0.01em;
}

.dd-feature-copy small {
  display: block;
  margin-top: 2px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
}

.dd-feature-arrow {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background-color 0.3s, transform 0.4s var(--ease-out);
}

.dropdown-feature:hover .dd-feature-arrow {
  background: var(--blue);
  transform: rotate(45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(102px, 8.2vw, 124px);
  padding-bottom: clamp(18px, 2vw, 26px);
  isolation: isolate;
  overflow: hidden;
  background-color: #f1f5fb;
  background-image:
    linear-gradient(180deg, rgba(248, 250, 253, 0.42) 0%, rgba(248, 250, 253, 0.08) 42%, rgba(240, 245, 252, 0.38) 100%),
    url("images/fondo-hero-section.jpg");
  background-position: center top, center 44%;
  background-size: cover, cover;
  background-repeat: no-repeat;
}

.hero-shell {
  position: relative;
  z-index: 2;
}

/* Titulares divididos */
.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.82fr);
  align-items: start;
  gap: 24px;
}

.hero-heading--left {
  max-width: 620px;
}

.hero-heading--right {
  justify-self: end;
  max-width: 420px;
  padding-top: 22px;
  text-align: right;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 92, 213, 0.13);
}

.hero-title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-title .grad {
  color: var(--blue);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title .grad {
    background: linear-gradient(100deg, var(--blue) 6%, #6b4bd8 52%, var(--red) 96%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-title--sub {
  font-size: clamp(1.75rem, 2.7vw, 2.55rem);
  letter-spacing: -0.05em;
}

.hero-sub {
  margin: 12px 0 0;
  max-width: 440px;
  font-size: clamp(0.94rem, 1.05vw, 1.02rem);
  line-height: 1.6;
  color: var(--ink-2);
}

.hero-heading--right .hero-sub {
  margin-left: auto;
  max-width: 330px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* Entrada suave (se activa con .is-ready) */
.hero [data-enter] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s var(--ease-out), transform 0.95s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.is-ready .hero [data-enter] {
  opacity: 1;
  transform: none;
}

/* Secuencia de entrada del hero (después del loader) */
.hero-eyebrow,
.hero-sub,
.hero-title {
  transition: opacity 0.9s ease, transform 1s var(--ease-out), clip-path 1.15s var(--ease-out);
}

.hero-eyebrow {
  opacity: 0;
  transform: translateY(-6px);
  transition-delay: 0.12s;
}

.is-ready .hero-eyebrow {
  opacity: 1;
  transform: none;
}

.hero-heading--left .hero-title {
  opacity: 0;
  transform: translateY(26px);
  clip-path: inset(0 0 100% 0);
  transition-delay: 0.18s;
}

.is-ready .hero-heading--left .hero-title {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 -12% 0);
}

.hero-sub {
  opacity: 0;
  transform: translateY(18px);
  transition-delay: 0.34s;
}

.is-ready .hero-sub {
  opacity: 1;
  transform: none;
}

.hero-heading--right .hero-title--sub {
  opacity: 0;
  transform: translateX(28px);
  transition-delay: 0.3s;
}

.is-ready .hero-heading--right .hero-title--sub {
  opacity: 1;
  transform: none;
}

.hero-actions .btn {
  opacity: 0;
}

.is-ready .hero-actions .btn {
  opacity: 1;
  animation: heroBtnIn 0.85s var(--ease-out) backwards;
}

.is-ready .hero-actions .btn:nth-child(1) { animation-delay: 0.42s; }
.is-ready .hero-actions .btn:nth-child(2) { animation-delay: 0.52s; }
.is-ready .hero-actions .btn:nth-child(3) { animation-delay: 0.62s; }

@keyframes heroBtnIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.hero-stage[data-enter] {
  transform: translateY(26px) scale(0.985);
}

.is-ready .hero-stage[data-enter] {
  transform: none;
}

/* ---------- Escenario ---------- */
.hero-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(2px, 0.6vw, 10px);
}

.stage-aura {
  position: absolute;
  left: 50%;
  top: 2%;
  width: min(560px, 54vw);
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.15), rgba(47, 123, 255, 0) 68%);
  pointer-events: none;
  z-index: 1;
}

.stage-carousel {
  --slide-w: clamp(215px, 24vw, 320px);
  --slide-gap: clamp(6px, 2vw, 34px);
  position: relative;
  z-index: 3;
  width: 100%;
  height: var(--slide-w);
  overflow: hidden;
  touch-action: pan-y;
  isolation: isolate;
  transform:
    perspective(900px)
    rotateX(calc(var(--ty, 0) * -2.5deg))
    rotateY(calc(var(--tx, 0) * 3.5deg));
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}

.stage-carousel::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3%;
  z-index: 0;
  width: 30%;
  height: 14px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(4, 14, 32, 0.2), rgba(4, 14, 32, 0) 70%);
  filter: blur(5px);
  pointer-events: none;
}

.stage-track {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--slide-gap);
  transform: translate3d(
    calc(-0.5 * var(--slide-w) - var(--idx, 0) * (var(--slide-w) + var(--slide-gap))),
    -50%,
    0
  );
  transition: transform 0.8s var(--ease-out);
  will-change: transform;
}

.stage-track.is-instant {
  transition: none;
}

.stage-slide {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--slide-w);
  height: var(--slide-w);
  flex: none;
  opacity: 0.3;
  transform: scale(0.52);
  transition: transform 0.8s var(--ease-out), opacity 0.6s ease;
}

.stage-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.stage-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.stage-slide.is-prev,
.stage-slide.is-next {
  opacity: 0.55;
  transform: scale(0.58);
  cursor: pointer;
}

.stage-slide.is-prev:hover,
.stage-slide.is-next:hover {
  opacity: 0.85;
}

.stage-track.is-instant .stage-slide {
  transition: none;
}

/* Ficha y controles */
.stage-info {
  position: relative;
  z-index: 3;
  margin-top: 2px;
  min-height: 74px;
  max-width: 560px;
  text-align: center;
}

.stage-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.stage-cat .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 92, 213, 0.14);
}

.stage-name {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.stage-desc {
  margin: 3px auto 0;
  max-width: 52ch;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.stage-info.is-in {
  animation: stageInfoIn 0.45s var(--ease-out) both;
}

@keyframes stageInfoIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}

.stage-controls {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 32px -24px rgba(4, 14, 32, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.stage-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}

.stage-arrow:hover {
  background: var(--ink);
  color: #fff;
}

.stage-arrow:active {
  transform: scale(0.94);
}

.stage-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.stage-arrow .icon {
  width: 15px;
  height: 15px;
}

.stage-dots {
  display: flex;
  align-items: center;
  gap: 2px;
}

.stage-dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
}

.stage-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(7, 26, 51, 0.18);
  transition: width 0.35s var(--ease-out), background-color 0.3s;
}

.stage-dot:hover::before {
  background: rgba(11, 92, 213, 0.42);
}

.stage-dot.is-active::before {
  width: 16px;
  background: var(--blue);
}

.stage-counter {
  padding-inline: 3px;
  font-family: var(--font-display);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.stage-counter b {
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Selector de categorías ---------- */
.hero-cats {
  position: relative;
  z-index: 2;
  margin-top: clamp(14px, 1.6vw, 22px);
}

.hero-cats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  padding-inline: 5px;
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-cats-head small {
  display: none;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--muted);
}

.hero-dock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.cat-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 72px;
  padding: 9px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(7, 26, 51, 0.06);
  box-shadow: 0 24px 44px -38px rgba(4, 14, 32, 0.55);
  text-align: left;
  color: var(--ink-2);
  opacity: 0;
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.35s, transform 0.35s var(--ease-out);
}

.is-ready .cat-card {
  animation: catIn 0.75s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 70ms + 420ms);
}

@keyframes catIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.cat-card:hover {
  border-color: rgba(11, 92, 213, 0.2);
  box-shadow: 0 26px 48px -34px rgba(4, 14, 32, 0.55);
  transform: translateY(-2px);
}

.cat-card[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 22px 40px -28px rgba(7, 26, 51, 0.9);
}

.cat-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 11px;
  background: #f2f6fc;
  transition: background-color 0.3s;
}

.cat-media img {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  object-fit: contain;
}

.cat-card[aria-pressed="true"] .cat-media {
  background: rgba(255, 255, 255, 0.1);
}

.cat-copy {
  min-width: 0;
}

.cat-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.cat-copy small {
  display: block;
  margin-top: 2px;
  font-size: 0.57rem;
  color: var(--muted);
  white-space: nowrap;
}

.cat-card[aria-pressed="true"] .cat-copy small {
  color: rgba(255, 255, 255, 0.55);
}

.cat-arrow {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  margin-left: auto;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s, transform 0.35s var(--ease-out), background-color 0.3s, color 0.3s;
}

.cat-arrow .icon {
  width: 11px;
  height: 11px;
}

.cat-card:hover .cat-arrow,
.cat-card:focus-visible .cat-arrow,
.cat-card[aria-pressed="true"] .cat-arrow {
  opacity: 1;
  transform: none;
}

.cat-card[aria-pressed="true"] .cat-arrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---------- Hero responsive ---------- */
@media (max-width: 1180px) {
  .cat-arrow {
    display: none;
  }
}

/* Escritorio con poca altura: compacta el hero para que el selector de categorías entre completo */
@media (min-width: 1025px) and (max-height: 960px) {
  .hero {
    padding-top: clamp(100px, 7.6vw, 110px);
    padding-bottom: 14px;
  }
  .stage-carousel {
    --slide-w: clamp(196px, 19vw, 262px);
  }
  .stage-info {
    min-height: 68px;
  }
  .hero-cats {
    margin-top: 12px;
  }
  .cat-card {
    min-height: 64px;
  }
}

@media (min-width: 1025px) and (max-height: 820px) {
  .hero {
    padding-top: 88px;
  }
  .stage-carousel {
    --slide-w: clamp(180px, 19vw, 240px);
  }
  .stage-info {
    min-height: 60px;
  }
  .stage-desc {
    font-size: 0.78rem;
  }
  .hero-dock {
    gap: 8px;
  }
  .cat-card {
    min-height: 58px;
    padding: 7px;
  }
}

@media (max-width: 1024px) {
  .hero {
    padding-top: 132px;
  }
  .hero-title {
    font-size: clamp(2.5rem, 4.6vw, 3.5rem);
  }
  .hero-title--sub {
    font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  }
}

@media (max-width: 960px) {
  .hero {
    padding-top: 120px;
  }
  .hero-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .hero-heading--left {
    max-width: 640px;
  }
  .hero-heading--right {
    justify-self: start;
    padding-top: 0;
    text-align: left;
  }
  .hero-heading--right .hero-sub {
    margin-left: 0;
  }
}

@media (max-width: 860px) {
  .hero-dock {
    display: flex;
    gap: 9px;
    padding: 2px 2px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .hero-dock::-webkit-scrollbar {
    display: none;
  }
  .cat-card {
    flex: 0 0 auto;
    min-width: 178px;
    scroll-snap-align: center;
  }
  .hero-cats-head small {
    display: inline;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 108px;
    padding-bottom: 20px;
  }
  .hero-title {
    font-size: clamp(2.4rem, 9.6vw, 3.15rem);
  }
  .hero-title--sub {
    display: none;
  }
  .hero-heading--right {
    display: none;
  }
  .hero-sub {
    margin-top: 10px;
    font-size: 0.94rem;
  }
  .hero-actions {
    margin-top: 16px;
  }
  .hero-actions .btn {
    flex: 1;
    min-width: 158px;
  }
  .hero-stage {
    margin-top: 2px;
  }
  .stage-carousel {
    --slide-w: clamp(200px, 52vw, 260px);
    --slide-gap: 8px;
  }
  .stage-info {
    min-height: 66px;
    margin-top: 2px;
  }
  .stage-desc {
    font-size: 0.76rem;
  }
  .stage-controls {
    margin-top: 8px;
  }
  .hero-cats {
    margin-top: 18px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .stage-name {
    font-size: 1rem;
  }
  .stage-desc {
    font-size: 0.73rem;
  }
  .stage-arrow {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage-carousel {
    transform: none;
  }
  .stage-track,
  .stage-slide {
    transition: none;
  }
  .hero-eyebrow,
  .hero-sub,
  .hero-heading--left .hero-title,
  .hero-heading--right .hero-title--sub,
  .hero-actions .btn,
  .hero-stage[data-enter] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    animation: none !important;
  }
  .stage-info.is-in,
  .is-ready .cat-card {
    animation: none;
    opacity: 1;
  }
  .cat-card {
    opacity: 1;
  }
}

/* ---------- Logo strip ---------- */
.logos {
  padding: 36px 0 46px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.logos-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.logos-head p {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.logos-head span {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.logos-presence {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
}

.logos-presence .flag-pair img {
  width: 22px;
  height: 22px;
}

.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-group {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}

.logo-item {
  display: grid;
  place-items: center;
  width: 152px;
  height: 80px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  flex: none;
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}

.logo-item:hover {
  border-color: rgba(11, 92, 213, 0.3);
  transform: translateY(-3px);
}

.logo-item img {
  max-width: 112px;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.62;
  transition: filter 0.4s, opacity 0.4s;
}

.logo-item:hover img {
  filter: none;
  opacity: 1;
}

/* ---------- Products ---------- */
.products {
  background: var(--bg);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  grid-column: span 3;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s, border-color 0.4s;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 92, 213, 0.22);
  box-shadow: 0 34px 60px -38px rgba(4, 14, 32, 0.45);
}

.product-card:nth-child(1) { grid-column: span 6; }
.product-card:nth-child(2),
.product-card:nth-child(3) { grid-column: span 3; }
.product-card:nth-child(4),
.product-card:nth-child(5),
.product-card:nth-child(6) { grid-column: span 4; }

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 22px;
  border-radius: 22px;
  background: #eef4fd;
  overflow: hidden;
}

.product-card:nth-child(1) .product-media {
  aspect-ratio: 16 / 10;
}

.product-card:nth-child(2) .product-media,
.product-card:nth-child(3) .product-media {
  aspect-ratio: 4 / 5;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.9s var(--ease-out);
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-index {
  position: absolute;
  top: 14px;
  right: 15px;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(7, 26, 51, 0.32);
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 12px 10px;
}

.product-body h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.product-body p {
  margin-top: 4px;
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--muted);
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}

.product-link:hover {
  color: var(--blue);
}

.product-arrow {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease-out), border-color 0.3s;
}

.product-arrow .icon {
  width: 11px;
  height: 11px;
}

.product-link:hover .product-arrow {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: rotate(45deg);
}

.product-card--navy {
  border-color: transparent;
  background: #071a33;
}

.product-card--navy .product-media {
  padding: 0;
  background: #030d1c;
}

.product-card--navy .product-media img {
  object-fit: cover;
  mix-blend-mode: normal;
}

.product-card--navy .product-index {
  top: 16px;
  color: rgba(255, 255, 255, 0.4);
}

.product-card--navy .product-body h3 {
  color: #f7faff;
}

.product-card--navy .product-body p {
  color: rgba(255, 255, 255, 0.55);
}

.product-card--navy .product-link {
  color: #f7faff;
}

.product-card--navy .product-arrow {
  border-color: rgba(255, 255, 255, 0.2);
}

.product-card--feature {
  position: relative;
  overflow: hidden;
  justify-content: flex-end;
  padding: clamp(24px, 2.6vw, 34px);
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(217, 30, 54, 0.55), transparent 56%),
    radial-gradient(130% 120% at 15% 100%, #0b5cd5 0%, #071a33 72%, #041226 100%);
  border-color: transparent;
  color: #fff;
  min-height: 340px;
}

.product-card--feature:hover {
  box-shadow: 0 40px 70px -38px rgba(4, 14, 32, 0.6);
}

.feature-orb {
  position: absolute;
  width: 230px;
  height: 230px;
  right: -50px;
  top: -70px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 26px rgba(255, 255, 255, 0.045), 0 0 0 56px rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.feature-body {
  position: relative;
  z-index: 1;
}

.feature-kicker {
  display: inline-block;
  padding: 5px 9px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 320px;
}

.feature-body p {
  margin: 10px 0 20px;
  font-size: 0.83rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 290px;
}

.feature-body .btn {
  padding: 0.8rem 1.15rem;
  font-size: 0.82rem;
}

.also-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 24px;
  padding: 17px 22px;
  border-radius: 22px;
  border: 1px dashed rgba(11, 92, 213, 0.28);
  background: rgba(255, 255, 255, 0.45);
}

.also-row > span {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.also-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.also-list li {
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color 0.3s, color 0.3s;
}

.also-list li:hover {
  border-color: rgba(11, 92, 213, 0.4);
  color: var(--blue);
}

/* ---------- Configurator ---------- */
.configurator-section {
  background: #041226;
  color: #f7faff;
  overflow: hidden;
}

.configurator-section::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  right: -260px;
  top: -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 92, 213, 0.3), transparent 65%);
  pointer-events: none;
}

.configurator-section::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  left: -280px;
  bottom: -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.16), transparent 68%);
  pointer-events: none;
}

.configurator-section .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.configurator-section .eyebrow .dot {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(217, 30, 54, 0.13);
}

.configurator-section .section-title {
  color: #fff;
}

.configurator-section .section-title .serif {
  color: var(--red-2);
}

.configurator-section .section-desc {
  color: rgba(255, 255, 255, 0.55);
}

.configurator {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 70px 130px -60px rgba(0, 0, 0, 0.85);
}

.config-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 590px;
  padding: clamp(26px, 3.4vw, 44px);
  background:
    radial-gradient(80% 90% at 100% 100%, rgba(217, 30, 54, 0.5), transparent 58%),
    linear-gradient(158deg, #041226 0%, #0a3e8a 38%, #0b5cd5 72%, #2f7bff 100%);
  overflow: hidden;
  isolation: isolate;
}

.config-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(circle at 50% 46%, #000, transparent 78%);
  mask-image: radial-gradient(circle at 50% 46%, #000, transparent 78%);
}

.config-preview::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  pointer-events: none;
}

.preview-top {
  position: absolute;
  top: 22px;
  left: 24px;
  right: 24px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}

.preview-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
  animation: pulseDot 2.4s ease-in-out infinite;
}

.preview-code {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
}

.config-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  animation: spin 60s linear infinite;
  pointer-events: none;
}

.config-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}

.config-stage {
  position: relative;
  z-index: 3;
  width: 78%;
  aspect-ratio: 1 / 1.04;
  margin: 18px auto 26px;
  --zoom: 1;
  perspective: 900px;
}

.config-product {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 40px 60px -30px rgba(4, 14, 32, 0.55);
  opacity: 0;
  transform: rotate(-4deg) scale(0.94);
  transition: opacity 0.45s ease, transform 0.7s var(--ease-out);
  pointer-events: none;
}

.config-product.is-active {
  opacity: 1;
  transform: rotate(-3deg) scale(var(--zoom));
  z-index: 2;
  pointer-events: auto;
}

.config-stage:hover .config-product.is-active {
  transform: rotate(0deg) scale(calc(var(--zoom) * 1.015));
}

.config-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.preview-meta {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.meta-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0b5cd5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 0 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.35s;
}

.config-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.8vw, 48px);
}

.config-rating {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.75rem;
  color: var(--muted);
}

.stars {
  display: inline-flex;
  gap: 1px;
  color: var(--blue);
}

.stars .icon {
  width: 13px;
  height: 13px;
}

.config-rating strong {
  color: var(--ink);
  font-weight: 800;
}

.config-panel h3 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.config-panel h3 span {
  display: block;
  margin-top: 7px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.config-panel > p {
  margin-top: 13px;
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 430px;
}

.config-hr {
  height: 1px;
  margin: 22px 0;
  background: var(--line);
}

.config-group {
  margin-bottom: 20px;
}

.config-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.config-label > span:last-child {
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: none;
}

.finish-options {
  display: flex;
  gap: 18px;
}

.finish {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.3s;
}

.finish-dot {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--c);
  border: 1px solid rgba(0, 0, 0, 0.14);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.6), inset 0 -4px 7px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.finish-dot .icon {
  width: 15px;
  height: 15px;
  color: #fff;
  opacity: 0;
  transform: scale(0.6);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
  transition: opacity 0.25s, transform 0.3s var(--ease-out);
}

.finish:hover .finish-dot {
  transform: scale(1.06);
}

.finish.is-active {
  color: var(--ink);
}

.finish.is-active .finish-dot {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink), inset 0 2px 4px rgba(255, 255, 255, 0.5), inset 0 -4px 7px rgba(0, 0, 0, 0.2);
  transform: scale(1.04);
}

.finish.is-active .finish-dot .icon {
  opacity: 1;
  transform: none;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-btn {
  padding: 0.58rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease-out);
}

.size-btn:hover {
  border-color: rgba(11, 92, 213, 0.4);
  color: var(--blue);
}

.size-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.config-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 2px 0 18px;
}

.config-quote {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.config-quote-ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
}

.config-quote-ico .icon {
  width: 14px;
  height: 14px;
}

.config-quote strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.config-quote span {
  display: block;
  font-size: 0.64rem;
  color: var(--muted);
}

.config-cta {
  width: 100%;
}

.config-note {
  margin-top: 13px;
  font-size: 0.64rem;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}

/* ---------- Gallery page ---------- */
.page-hero {
  position: relative;
  padding: clamp(140px, 12vw, 176px) 0 clamp(8px, 2vw, 20px);
  background: linear-gradient(180deg, #f8fafd 0%, var(--bg) 100%);
}

.page-title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.page-desc {
  margin-top: 14px;
  max-width: 560px;
  color: var(--ink-2);
}

.gallery-page .gallery {
  padding-top: clamp(26px, 3.4vw, 46px);
}

.gallery-page .gallery-grid {
  grid-auto-rows: 210px;
}

/* ---------- Gallery ---------- */
.gallery {
  background: var(--bg);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--muted);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}

.filter:hover:not(.is-active) {
  border-color: rgba(11, 92, 213, 0.4);
  color: var(--blue);
  transform: translateY(-1px);
}

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 15px;
}

.gallery-item {
  position: relative;
  display: block;
  padding: 0;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #ffffff, #f8fbff);
  overflow: hidden;
  text-align: left;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.35s;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 92, 213, 0.28);
  box-shadow: 0 28px 50px -34px rgba(4, 14, 32, 0.5);
}

.gallery-item--feature {
  grid-column: span 2;
  grid-row: span 2;
  background: #071a33;
  border-color: #071a33;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  padding: 18px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.9s var(--ease-out);
}

.gallery-item--feature img {
  padding: 0;
  object-fit: cover;
  mix-blend-mode: normal;
  opacity: 0.95;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-cap {
  position: absolute;
  left: 13px;
  bottom: 13px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 16px -10px rgba(7, 26, 51, 0.35);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.gallery-plus {
  position: absolute;
  right: 13px;
  bottom: 13px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  transition: opacity 0.35s, transform 0.4s var(--ease-out);
}

.gallery-plus .icon {
  width: 14px;
  height: 14px;
}

.gallery-item:hover .gallery-plus {
  opacity: 1;
  transform: none;
}

.gallery-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 0.78rem;
  color: var(--muted);
}

.gallery-foot::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--blue);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 12, 26, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox-card {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  border-radius: 30px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.6);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.55s var(--ease-out);
}

.lightbox.is-open .lightbox-card {
  transform: none;
}

.lightbox-media {
  display: grid;
  place-items: center;
  padding: 30px;
  min-height: 300px;
  background: linear-gradient(160deg, #ffffff, #eef4fd);
}

.lightbox-media img {
  max-width: 100%;
  max-height: min(62vh, 560px);
  object-fit: contain;
  mix-blend-mode: multiply;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 24px -12px rgba(7, 26, 51, 0.4);
  transition: background-color 0.25s, color 0.25s, transform 0.35s var(--ease-out);
}

.lightbox-close:hover {
  background: var(--ink);
  color: #fff;
  transform: rotate(90deg);
}

.lightbox-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
}

.lightbox-info span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.lightbox-info h3 {
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.lightbox-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lightbox-nav button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.lightbox-nav button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.lightbox-nav .icon {
  width: 15px;
  height: 15px;
}

#lightboxCount {
  min-width: 50px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

/* ---------- Clients ---------- */
.clients {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(11, 92, 213, 0.38), transparent 62%),
    linear-gradient(160deg, #041226 0%, #071a33 50%, #0b2749 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.clients::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  bottom: -250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 30, 54, 0.22), transparent 66%);
  pointer-events: none;
}

.clients .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.clients .eyebrow .dot {
  background: var(--red-2);
  box-shadow: 0 0 0 4px rgba(240, 74, 94, 0.16);
}

.clients .section-title {
  color: #fff;
}

.clients .section-title .serif {
  color: var(--red-2);
}

.clients .section-desc {
  color: rgba(255, 255, 255, 0.55);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.client-card {
  display: grid;
  place-items: center;
  height: 128px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid transparent;
  box-shadow: 0 26px 50px -34px rgba(0, 0, 0, 0.65);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.35s;
}

.client-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 123, 255, 0.65);
  box-shadow: 0 30px 60px -30px rgba(11, 92, 213, 0.7);
}

.client-card img {
  max-width: 86%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}

.client-card:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.client-card img[alt="Mary Kay"] {
  filter: brightness(0.58) contrast(1.35) saturate(1.7);
}

.client-card--more {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 12px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(217, 30, 54, 0.5), transparent 58%),
    linear-gradient(135deg, #0b5cd5, #071a33 72%);
  border-color: transparent;
  color: #fff;
}

.client-card--more::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -60px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.5), transparent 65%);
  pointer-events: none;
}

.client-card--more strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.client-card--more small {
  display: block;
  margin-top: 3px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.client-more-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.4s var(--ease-out), background-color 0.3s;
}

.client-more-arrow .icon {
  width: 13px;
  height: 13px;
}

.client-card--more:hover {
  border-color: transparent;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(217, 30, 54, 0.6), transparent 58%),
    linear-gradient(135deg, #2f7bff, #071a33 72%);
  box-shadow: 0 30px 60px -28px rgba(11, 92, 213, 0.75);
}

.client-card--more:hover .client-more-arrow {
  background: var(--red);
  transform: rotate(45deg);
}

.client-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 18px;
}

.client-metric {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.client-metric > .icon {
  width: 19px;
  height: 19px;
  color: var(--blue-3);
  flex: none;
}

.client-metric .metric-flags {
  display: inline-flex;
  flex: none;
}

.metric-flags img {
  width: 24px;
  height: 24px;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.client-metric strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.client-metric span {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- About ---------- */
.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
}

.about-photo-wrap {
  position: relative;
}

.about-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -14px -12px -14px -14px;
  border-radius: 46px;
  border: 1px solid rgba(11, 92, 213, 0.28);
  rotate: -2deg;
  pointer-events: none;
}

.about-photo {
  position: relative;
  aspect-ratio: 571 / 857;
  border-radius: 36px;
  overflow: hidden;
  background: #071a33;
  box-shadow: var(--shadow-lg);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 14, 32, 0.55), transparent 45%);
  pointer-events: none;
}

.photo-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--red);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.photo-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(4, 14, 32, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  color: #fff;
}

.photo-tag strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
}

.photo-tag span {
  display: block;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.65);
}

.photo-stat {
  position: absolute;
  right: -20px;
  bottom: 48px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 17px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 26px 50px -30px rgba(4, 14, 32, 0.45);
}

.photo-stat strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.05em;
  color: var(--blue);
  line-height: 1;
}

.photo-stat span {
  font-size: 0.62rem;
  line-height: 1.35;
  color: var(--muted);
}

.about-copy .section-title {
  margin-top: 16px;
}

.about-lead {
  margin-top: 20px;
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--ink-2);
}

.about-copy > p:not(.about-lead) {
  margin-top: 12px;
  font-size: 0.91rem;
  line-height: 1.75;
  color: var(--muted);
}

.about-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
}

.about-list li > .about-check {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex: none;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
}

.about-list .icon {
  width: 12px;
  height: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}

.link-arrow-ico {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  transition: background-color 0.3s, transform 0.4s var(--ease-out);
}

.link-arrow-ico .icon {
  width: 12px;
  height: 12px;
}

.link-arrow:hover .link-arrow-ico {
  background: var(--blue);
  transform: rotate(45deg);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 66px;
}

.pillar {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}

.pillar::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.18), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.pillar:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pillar:hover::after {
  opacity: 1;
}

.pillar-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--blue);
  opacity: 0.95;
}

.pillar h3 {
  margin: 16px 0 7px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.pillar p {
  font-size: 0.83rem;
  line-height: 1.7;
  color: var(--muted);
}

.process {
  margin-top: 74px;
}

.process-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.process-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.process-note {
  font-size: 0.72rem;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.step {
  position: relative;
}

.step::before {
  content: "";
  position: absolute;
  top: -35px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px var(--bg);
}

.step-num {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue);
}

.step h4 {
  margin: 10px 0 5px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.step p {
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- CTA ---------- */
.cta-section {
  padding-top: 0;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 8vw, 96px) clamp(24px, 6vw, 80px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(11, 92, 213, 0.55), transparent 58%),
    radial-gradient(120% 150% at 82% 0%, #0b3e8a 0%, #071a33 45%, #040c18 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 60px 110px -60px rgba(4, 14, 32, 0.7);
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000, transparent 75%);
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-orb--1 {
  width: 460px;
  height: 460px;
  right: -130px;
  top: -160px;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.5), transparent 64%);
  filter: blur(8px);
}

.cta-orb--2 {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: -170px;
  background: radial-gradient(circle, rgba(217, 30, 54, 0.16), transparent 66%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-panel h2 {
  max-width: 780px;
  margin: 18px auto 16px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.8vw, 3.9rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.cta-panel h2 .serif {
  color: var(--red-2);
}

.cta-panel p {
  max-width: 470px;
  margin: 0 auto 30px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
  gap: clamp(34px, 6vw, 80px);
}

.contact-info .section-title {
  font-size: clamp(2rem, 3.5vw, 3.05rem);
}

.contact-lead {
  max-width: 420px;
  margin-top: 18px;
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 34px 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.contact-ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue);
}

.contact-ic .icon {
  width: 18px;
  height: 18px;
}

.contact-list small {
  display: block;
  margin-bottom: 2px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list a,
.contact-list div > span {
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink-2);
}

.contact-list a:hover {
  color: var(--blue);
}

.contact-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 3px;
}

.contact-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
}

.contact-flag img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink-2);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.35s var(--ease-out);
}

.socials a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.socials .icon {
  width: 16px;
  height: 16px;
}

/* Panel de asesores de venta */
.advisors {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 2.8vw, 34px);
  border-radius: 34px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 45px 80px -55px rgba(4, 14, 32, 0.4);
}

.advisors::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.16), transparent 68%);
  pointer-events: none;
}

.advisors-head {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.advisors-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.advisors-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(11, 92, 213, 0.14);
}

.advisors-head h3 {
  margin: 10px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.advisors-head p {
  max-width: 400px;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--muted);
}

.advisor-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.advisor-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border-radius: 18px;
  background: #f5f8fe;
  border: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.advisor-card:hover {
  background: #fff;
  border-color: rgba(11, 92, 213, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 22px 36px -30px rgba(4, 14, 32, 0.5);
}

.advisor-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 13px;
  background: linear-gradient(135deg, #2f7bff, #071a33);
  color: #fff;
}

.advisor-avatar .icon {
  width: 19px;
  height: 19px;
}

.advisor-body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.advisor-body strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.advisor-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--muted);
}

.advisor-meta .icon {
  width: 13px;
  height: 13px;
  flex: none;
  color: var(--blue);
}

.advisor-meta span {
  overflow-wrap: anywhere;
}

/* ---------- Preguntas frecuentes (SEO) ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}

.faq-item {
  padding: 22px 24px;
  border-radius: 20px;
  background: #f5f8fe;
  border: 1px solid rgba(11, 92, 213, 0.08);
  transition: border-color 0.3s, background-color 0.3s, transform 0.4s var(--ease-out);
}

.faq-item:hover {
  background: #fff;
  border-color: rgba(11, 92, 213, 0.2);
  transform: translateY(-2px);
}

.faq-item h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.faq-item p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  padding-bottom: 92px;
  background: #040c18;
  color: rgba(255, 255, 255, 0.65);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.55fr 0.8fr 0.8fr 1.05fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  max-width: 300px;
  margin: 18px 0 20px;
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
}

.socials--footer a {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
}

.socials--footer a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.footer-col h4 {
  margin: 4px 0 15px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.36);
}

.footer-col ul {
  display: grid;
  gap: 9px;
}

.footer-col a,
.footer-address {
  font-size: 0.83rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.25s;
}

.footer-col a:hover {
  color: var(--blue-3);
}

.footer-address {
  display: block;
  color: rgba(255, 255, 255, 0.45);
}

.footer-flags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-flags img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-wordmark {
  padding: 26px 0 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 13.2vw, 11.6rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.07em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 0;
  user-select: none;
  pointer-events: none;
  padding-bottom: 12px;
}

.footer-wordmark .fw-letter {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.11);
}

.footer-wordmark .fw-letter--three {
  --lit: #7fb0ff;
  --glow: rgba(47, 123, 255, 0.95);
  -webkit-text-stroke-color: rgba(47, 123, 255, 0.24);
}

.footer-wordmark .fw-letter--accent {
  --lit: #ff5a70;
  --glow: rgba(217, 30, 54, 0.95);
  -webkit-text-stroke-color: rgba(217, 30, 54, 0.24);
}

.footer-wordmark.is-lit .fw-letter {
  animation: fw-letter-light 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i) * 0.1s);
}

@keyframes fw-letter-light {
  0% {
    color: transparent;
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.11);
    text-shadow: none;
  }
  38% {
    color: var(--lit, #fff);
    -webkit-text-stroke-color: transparent;
    text-shadow:
      0 0 34px var(--glow, rgba(47, 123, 255, 0.9)),
      0 0 12px rgba(255, 255, 255, 0.75);
  }
  100% {
    color: var(--lit, #fff);
    -webkit-text-stroke-color: transparent;
    text-shadow:
      0 0 20px var(--glow, rgba(47, 123, 255, 0.45)),
      0 0 7px rgba(255, 255, 255, 0.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-wordmark.is-lit .fw-letter {
    animation: none;
    color: var(--lit, #fff);
    -webkit-text-stroke-color: transparent;
    text-shadow: 0 0 18px var(--glow, rgba(47, 123, 255, 0.45));
  }
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.38);
}

.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.footer-legal a {
  transition: color 0.25s;
}

.footer-legal a:hover {
  color: var(--blue-3);
}

.footer-intranet {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}

.footer-intranet:hover {
  background: rgba(47, 123, 255, 0.16);
  border-color: rgba(47, 123, 255, 0.5);
  color: #fff;
}

.footer-intranet .icon {
  width: 13px;
  height: 13px;
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.25s;
}

.to-top:hover {
  color: var(--blue-3);
}

.to-top .icon {
  width: 13px;
  height: 13px;
}

/* ---------- Chat ---------- */
.chat-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 240;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0b5cd5, #071a33);
  color: #fff;
  box-shadow: 0 20px 44px -14px rgba(11, 92, 213, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.chat-launcher:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 26px 50px -14px rgba(11, 92, 213, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.chat-launcher .icon {
  width: 26px;
  height: 26px;
}

.chat-launcher .icon-close {
  display: none;
  width: 22px;
  height: 22px;
}

.chat.is-open .chat-launcher .icon-chat { display: none; }
.chat.is-open .chat-launcher .icon-close { display: block; }

.chat-pulse {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(217, 30, 54, 0.55);
  animation: chatPulse 2.8s ease-out infinite;
  pointer-events: none;
}

@keyframes chatPulse {
  0% { transform: scale(0.92); opacity: 0.9; }
  70% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 100px;
  z-index: 235;
  display: flex;
  flex-direction: column;
  width: 378px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 130px);
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 50px 100px -35px rgba(4, 14, 32, 0.5);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.chat.is-open .chat-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s ease, transform 0.5s var(--ease-out), visibility 0.3s;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px 18px;
  background: linear-gradient(135deg, #0b5cd5, #071a33);
  color: #fff;
}

.chat-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  padding: 4px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chat-id strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.chat-id span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.78);
}

.chat-id i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.24);
}

.chat-id span.is-ai i {
  background: #45e08a;
  box-shadow: 0 0 0 3px rgba(69, 224, 138, 0.25);
}

.chat-id span.is-local i {
  background: #f5a623;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.25);
}

.chat-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background-color 0.25s, transform 0.3s var(--ease-out);
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: rotate(90deg);
}

.chat-close .icon {
  width: 14px;
  height: 14px;
}

.chat-body {
  flex: 1;
  min-height: 230px;
  padding: 18px;
  overflow-y: auto;
  background: #f5f9ff;
}

.chat-day {
  margin-bottom: 14px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}

.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin-bottom: 10px;
  padding: 13px 15px;
  border-radius: 4px 16px 16px 16px;
  background: #fff;
  box-shadow: 0 8px 20px -16px rgba(7, 26, 51, 0.6);
}

.chat-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #93a2b8;
  animation: typing 1.2s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-bubble {
  max-width: 88%;
  padding: 12px 15px;
  border-radius: 4px 16px 16px 16px;
  background: #fff;
  box-shadow: 0 10px 24px -20px rgba(7, 26, 51, 0.7);
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-line;
  overflow-wrap: anywhere;
  animation: bubbleIn 0.42s var(--ease-out) both;
}

.chat-bubble--user {
  margin-left: auto;
  border-radius: 16px 4px 16px 16px;
  background: var(--ink);
  color: #fff;
}

.chat-actions {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  white-space: normal;
}

.chat-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 12px;
  border-radius: 999px;
  background: #1faf53;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.25s, transform 0.3s var(--ease-out);
}

.chat-wa:hover {
  background: #188c43;
  transform: translateY(-1px);
}

.chat-wa .icon {
  width: 16px;
  height: 16px;
  flex: none;
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.chat-stamp {
  margin-top: 8px;
  font-size: 0.58rem;
  color: var(--muted);
}

.chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.chat-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: #f4f7fc;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink);
  outline: none;
  transition: box-shadow 0.25s;
}

.chat-form input:focus {
  box-shadow: 0 0 0 3px rgba(11, 92, 213, 0.14);
}

.chat-form button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  transition: background-color 0.25s, transform 0.3s var(--ease-out);
}

.chat-form button:hover {
  background: #0a3e8a;
  transform: scale(1.05);
}

.chat-form button .icon {
  width: 17px;
  height: 17px;
}

.chat-demo {
  padding: 0 0 9px;
  background: #fff;
  font-size: 0.56rem;
  text-align: center;
  color: #7d8ca3;
}

.chat-quick {
  padding: 12px 14px 14px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.chat-quick-title {
  margin: 0 0 9px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.chat-quick-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 148px;
  overflow-y: auto;
}

.chat-chip {
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(11, 92, 213, 0.24);
  background: #f2f7ff;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: background-color 0.25s, border-color 0.25s, transform 0.3s var(--ease-out);
}

.chat-chip:hover {
  background: #e4efff;
  border-color: rgba(11, 92, 213, 0.45);
  transform: translateY(-1px);
}

.chat-chip.is-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.chat-chip.is-primary:hover {
  background: #0a4bb0;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px 12px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.79rem;
  font-weight: 600;
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s, transform 0.45s var(--ease-out), visibility 0.35s;
  max-width: calc(100vw - 48px);
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.toast-ico {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
}

.toast-ico .icon {
  width: 12px;
  height: 12px;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.reveal.is-inview {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-link {
    padding: 0.55rem 0.68rem;
    font-size: 0.83rem;
  }
  .config-preview {
    min-height: 540px;
  }
  .config-float {
    display: none;
  }
  .gallery-grid {
    grid-auto-rows: 180px;
  }
}

@media (max-width: 1024px) {
  .nav {
    padding-left: 16px;
  }
  .nav-link {
    padding: 0.5rem 0.62rem;
  }
  .nav-actions {
    gap: 6px;
  }
  .client-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .client-card {
    height: 116px;
    padding: 20px;
  }
  .footer-top {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 960px) {
  .nav {
    padding: 9px 10px 9px 16px;
  }

  .site-header .brand {
    position: relative;
    width: 198px;
    height: 34px;
    transition: width 0.55s cubic-bezier(0.16, 1.22, 0.3, 1);
  }

  .site-header .brand-logo-box {
    transition: opacity 0.3s ease 0.15s, transform 0.5s var(--ease-out);
  }

  .site-header .brand-island-mark {
    position: absolute;
    top: 50%;
    left: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 4px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px -8px rgba(4, 14, 32, 0.55);
    opacity: 0;
    transform: translateY(-50%) scale(0.55);
    transition: opacity 0.18s ease, transform 0.32s var(--ease-out);
  }

  .site-header .brand-island-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
  }

  .site-header.is-compact .nav {
    width: min(252px, calc(100% - 24px));
    padding: 7px 10px 7px 12px;
    transition:
      width 0.5s cubic-bezier(0.3, 0.95, 0.2, 1),
      background-color 0.35s,
      box-shadow 0.35s,
      padding 0.35s var(--ease-out);
  }

  .site-header.is-compact .brand {
    width: 36px;
    overflow: hidden;
    transition: width 0.45s cubic-bezier(0.3, 0.95, 0.2, 1);
  }

  .site-header.is-compact .brand-logo-box {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.16s ease, transform 0.32s var(--ease-out);
  }

  .site-header.is-compact .brand-island-mark {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    transition: opacity 0.24s ease 0.1s, transform 0.45s cubic-bezier(0.16, 1.2, 0.3, 1) 0.06s;
  }

  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 35px 70px -35px rgba(4, 14, 32, 0.45);
    backdrop-filter: blur(24px);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.99);
    transform-origin: top;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s ease, transform 0.45s var(--ease-out), visibility 0.25s;
  }
  .site-header.is-compact .nav-menu {
    left: 50%;
    right: auto;
    width: min(343px, calc(100vw - 32px));
    transform: translate(-50%, -8px) scale(0.99);
    transform-origin: top center;
  }
  .site-header.is-compact .nav-menu.is-open {
    transform: translate(-50%, 0) scale(1);
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    margin: 0;
  }
  .nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.98rem;
    border-radius: 14px;
    text-align: left;
    color: var(--ink-2);
  }
  .nav-menu .nav-link:hover {
    color: var(--blue);
    background: var(--blue-soft);
  }
  .nav-link.is-active {
    color: var(--navy);
    background: var(--blue-soft);
  }
  .has-dropdown {
    width: 100%;
  }
  .dropdown {
    position: static;
    width: 100%;
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s var(--ease-out);
  }
  .has-dropdown.is-open .dropdown {
    transform: none;
    grid-template-rows: 1fr;
  }
  .dropdown::before {
    display: none;
  }
  .dropdown-inner {
    overflow: hidden;
    min-height: 0;
    padding: 0;
  }
  .dropdown-head {
    display: none;
  }
  .dropdown-grid {
    grid-template-columns: 1fr 1fr;
    padding: 6px 4px 8px;
  }
  .dropdown-item {
    padding: 10px;
  }
  .dd-ic {
    width: 34px;
    height: 34px;
  }
  .dropdown-feature {
    margin: 2px 4px 8px;
  }
  .nav-cta {
    justify-content: center;
    margin-top: 4px;
    padding: 0.85rem 1rem;
    background: var(--navy);
    color: #fff;
  }
  .nav-menu .nav-cta:hover {
    background: var(--red);
    color: #fff;
  }
  .nav-menu .nav-cta .btn-ico {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .section-desc {
    max-width: 520px;
    padding-bottom: 0;
  }
  .section-head--center {
    align-items: center;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-card,
  .product-card:nth-child(1),
  .product-card:nth-child(2),
  .product-card:nth-child(3),
  .product-card:nth-child(4),
  .product-card:nth-child(5),
  .product-card:nth-child(6) {
    grid-column: span 1;
  }
  .product-card:nth-child(1),
  .product-card--feature {
    grid-column: span 2;
  }
  .product-card:nth-child(2) .product-media,
  .product-card:nth-child(3) .product-media {
    aspect-ratio: 4 / 3;
  }

  .configurator {
    grid-template-columns: 1fr;
  }
  .config-preview {
    min-height: 520px;
  }
  .config-stage {
    width: 62%;
    margin: 26px auto 22px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }

  .client-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .client-metrics {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }
  .about-photo-wrap {
    max-width: 430px;
    margin-inline: auto;
    width: 100%;
  }
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 38px 24px;
    border-top: 0;
    padding-top: 0;
  }
  .step {
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  .step::before {
    top: -4.5px;
    box-shadow: 0 0 0 5px var(--bg);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-info {
    max-width: 620px;
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: span 3;
    margin-bottom: 6px;
  }
  .footer-brand p {
    max-width: 420px;
  }
}

/* Móvil: isologo en lugar del logotipo completo */
@media (max-width: 960px) {
  .site-header .brand {
    width: 38px;
    height: 38px;
    overflow: visible;
  }
  .site-header .brand-logo-box {
    display: none;
  }
  .site-header .brand-island-mark {
    position: static;
    display: grid;
    opacity: 1;
    transform: none;
    width: 38px;
    height: 38px;
    padding: 4px;
    border-radius: 10px;
    background: #fff;
  }
  .site-header.is-compact .brand {
    width: 36px;
  }
  .site-header.is-compact .brand-island-mark {
    transform: none;
  }

  .lang-switch--bar {
    display: inline-flex;
    margin-left: auto;
  }
  .lang-switch--menu {
    display: none;
  }
  .nav-toggle {
    margin-left: 8px;
  }
  .nav-actions {
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  .nav-actions .nav-cta {
    flex: 1;
    margin-top: 0;
  }
  .nav-menu .lang-switch {
    background: #e9eff8;
    border-color: var(--line);
  }
  .nav-menu .lang-opt {
    color: var(--muted);
  }
  .nav-menu .lang-opt.is-active {
    color: var(--navy);
  }
  .nav-menu .lang-pill {
    background: #fff;
    box-shadow: 0 4px 10px -6px rgba(4, 14, 32, 0.5);
  }
}

@media (max-width: 720px) {
  .shell {
    width: calc(100% - 32px);
  }
  .section {
    padding: 66px 0;
  }

  .logos-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .logo-item {
    width: 132px;
    height: 70px;
    padding: 14px;
  }
  .logo-item img {
    max-height: 40px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-card,
  .product-card:nth-child(1),
  .product-card:nth-child(2),
  .product-card:nth-child(3),
  .product-card:nth-child(4),
  .product-card:nth-child(5),
  .product-card:nth-child(6) {
    grid-column: span 1;
  }
  .product-card.product-card--feature {
    grid-column: span 2;
    min-height: 240px;
  }
  .product-card {
    padding: 8px;
    border-radius: 20px;
  }
  .product-card:nth-child(1) .product-media {
    aspect-ratio: 4 / 3;
  }
  .product-media {
    padding: 12px;
    border-radius: 16px;
  }
  .product-index {
    top: 9px;
    right: 10px;
    font-size: 0.55rem;
  }
  .product-body {
    padding: 11px 5px 6px;
  }
  .product-body h3 {
    font-size: 0.95rem;
    letter-spacing: -0.03em;
  }
  .product-body p {
    margin-top: 3px;
    font-size: 0.74rem;
    line-height: 1.45;
  }
  .product-link {
    padding-top: 11px;
    font-size: 0.71rem;
  }
  .product-arrow {
    width: 24px;
    height: 24px;
  }

  .pillar {
    padding: 18px 16px;
    border-radius: 20px;
  }
  .pillar-num {
    font-size: 1.6rem;
  }
  .pillar h3 {
    margin: 11px 0 5px;
    font-size: 0.95rem;
  }
  .pillar p {
    font-size: 0.76rem;
    line-height: 1.55;
  }
  .pillars .pillar:nth-child(3) {
    grid-column: span 2;
  }
  .also-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .config-preview {
    min-height: 440px;
    padding: 22px;
  }
  .preview-top {
    left: 18px;
    right: 18px;
    top: 18px;
  }
  .preview-code {
    display: none;
  }
  .config-stage {
    width: 70%;
    margin-top: 30px;
  }
  .preview-meta {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
  .config-panel {
    padding: 24px 20px 28px;
  }
  .config-panel > p {
    font-size: 0.84rem;
  }
  .finish-options {
    gap: 14px;
    justify-content: space-between;
  }
  .finish-dot {
    width: 38px;
    height: 38px;
  }
  .config-buy {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .config-quote {
    justify-content: flex-start;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 11px;
  }
  .gallery-item--feature {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-item img {
    padding: 14px;
  }
  .gallery-cap {
    left: 10px;
    bottom: 10px;
    font-size: 0.6rem;
    padding: 6px 9px;
  }
  .gallery-plus {
    display: none;
  }

  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .client-card {
    height: 100px;
    padding: 16px;
  }
  .client-card img {
    max-height: 46px;
  }

  .advisor-card {
    padding: 12px 13px;
  }
  .advisor-avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .lightbox {
    padding: 14px;
  }
  .lightbox-media {
    padding: 16px;
    min-height: 240px;
  }
  .lightbox-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
  }
  .lightbox-nav {
    width: 100%;
    justify-content: space-between;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-bottom {
    justify-content: flex-start;
  }

  .toast {
    left: 16px;
    bottom: 96px;
    max-width: calc(100vw - 32px);
  }
  .chat-launcher {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
  .chat-panel {
    right: 16px;
    bottom: 84px;
    width: calc(100vw - 32px);
  }
}

@media (max-width: 560px) {
  .photo-stat {
    right: 10px;
    bottom: 14px;
  }
}

@media (max-width: 480px) {
  .brand-logo-box {
    height: 24px;
  }
  .brand-logo-box--footer {
    height: 32px;
  }
  .config-stage {
    width: 82%;
  }
  .preview-meta {
    gap: 6px;
  }
  .meta-chip {
    font-size: 0.58rem;
    padding: 6px 9px;
  }
  .finish-options {
    gap: 10px;
  }
  .finish {
    font-size: 0.6rem;
  }
  .finish-dot {
    width: 34px;
    height: 34px;
  }
  .gallery-cap {
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .footer-wordmark {
    font-size: 3.6rem;
  }
  .footer-legal {
    gap: 12px;
    flex-wrap: wrap;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal,
  .hero [data-enter],
  .cat-card {
    opacity: 1 !important;
    transform: none !important;
  }
  .loader {
    display: none;
  }
}
