/* =============================================================
   DTS — components.css
   Nav mega-menú · Hero colorido · Cards · Botones · Marquee
   Loader clip-path · Video section · Forms · Footer · Forms
   Inspiración: coffee-tech.com (anim) + dahuasecurity.com/es (estructura)
   ============================================================= */

/* =============================================================
   LOADER (clip-path reveal — inspiración coffee-tech)
   ============================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: grid;
  place-items: center;
  background: var(--gradient-spectrum);
  color: #fff;
  transition: clip-path var(--dur-slower) var(--ease-smooth);
  clip-path: inset(0 0 0 0);
  pointer-events: none;
}
.loader.is-hidden {
  clip-path: inset(0 0 100% 0);
}
.loader__inner {
  display: grid;
  place-items: center;
  gap: var(--space-5);
  text-align: center;
  padding: var(--space-6);
}
.loader__mark {
  width: 72px;
  height: 72px;
  animation: loaderSpin 2.4s var(--ease-smooth) infinite;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3));
}
.loader__word {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: #fff;
}
.loader__word span {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  animation: loaderLetter var(--dur-slow) var(--ease-out) forwards;
}
.loader__word span:nth-child(1) { animation-delay: 80ms; }
.loader__word span:nth-child(2) { animation-delay: 200ms; }
.loader__word span:nth-child(3) { animation-delay: 320ms; }
.loader__bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: var(--space-4);
}
.loader__bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 40%;
  background: #fff;
  border-radius: var(--radius-pill);
  animation: loaderBar 1.2s var(--ease-smooth) infinite;
}
@keyframes loaderSpin {
  0% { transform: rotate(0); }
  50% { transform: rotate(180deg) scale(1.05); }
  100% { transform: rotate(360deg); }
}
@keyframes loaderLetter {
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes loaderBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* =============================================================
   NAV — sticky con mega-menú por categoría (estilo dahua)
   ============================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.nav__logo img {
  width: auto;
  height: 42px;
}
.nav__logo::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--gradient-teal);
  transition: width var(--dur-base) var(--ease-out);
}
.nav__logo:hover::after { width: 100%; }

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-2);
}
@media (min-width: 960px) {
  .nav__links { display: flex; }
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  border-radius: var(--radius-md);
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--brand-teal);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: var(--space-4);
  right: var(--space-4);
  bottom: 6px;
  height: 2px;
  background: var(--gradient-teal);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-base) var(--ease-smooth);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__link--has-menu .nav__caret {
  transition: transform var(--dur-base) var(--ease-out);
}
.nav__item--open .nav__caret { transform: rotate(180deg); }

.nav__item { position: relative; }

/* Mega-menu (desktop) */
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 820px;
  max-width: 960px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(69, 164, 182, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, #1f2236 0%, #141724 100%);
  border: 1px solid rgba(69, 164, 182, 0.28);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: 0 28px 60px rgba(10, 11, 18, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              visibility 0s linear var(--dur-base);
}
.nav__item--open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.mega-menu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.mega-menu__col-title {
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: var(--teal-300);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.mega-menu__list {
  display: grid;
  gap: var(--space-1);
}
.mega-menu__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  color: #fff;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.mega-menu__item:hover {
  background: rgba(69, 164, 182, 0.14);
  transform: translateX(4px);
}
.mega-menu__item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: rgba(69, 164, 182, 0.18);
  color: var(--teal-200);
  border: 1px solid rgba(69, 164, 182, 0.32);
}
.mega-menu__item-icon--teal   { background: rgba(69, 164, 182, 0.18);  color: var(--teal-200);   border-color: rgba(69, 164, 182, 0.35); }
.mega-menu__item-icon--purple { background: rgba(147, 116, 208, 0.20); color: var(--purple-200); border-color: rgba(147, 116, 208, 0.38); }
.mega-menu__item-icon--steel  { background: rgba(107, 148, 185, 0.20); color: var(--steel-200); border-color: rgba(107, 148, 185, 0.38); }
.mega-menu__item-icon--navy   { background: rgba(126, 138, 171, 0.22); color: var(--navy-200);  border-color: rgba(126, 138, 171, 0.38); }
.mega-menu__item-label {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  line-height: 1.25;
  display: block;
  color: #fff;
}
.mega-menu__item-desc {
  font-size: var(--fs-xsmall);
  color: rgba(255, 255, 255, 0.62);
  display: block;
  margin-top: 2px;
}
.mega-menu__feature {
  border-radius: var(--radius-lg);
  background: #45a4b6;
  color: #fff;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 180px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.mega-menu__feature::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, transparent 70%);
  filter: blur(18px);
}
.mega-menu__feature:hover { border-color: rgba(255, 255, 255, 0.45); transform: translateY(-2px); }
.mega-menu__feature .mega-menu__col-title { color: rgba(255, 255, 255, 0.85) !important; }
.mega-menu__feature-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  line-height: 1.15;
  color: #fff;
  position: relative;
}
.mega-menu__feature-link {
  color: #fff;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  position: relative;
}
.mega-menu__brands {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--teal-50);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  position: relative;
}
.mega-menu__brands img {
  width: 100%;
  max-height: 26px;
  object-fit: contain;
  display: block;
  filter: grayscale(15%);
  opacity: 0.95;
  transition: filter var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.mega-menu__feature:hover .mega-menu__brands img {
  filter: grayscale(0%);
  opacity: 1;
}
.mega-menu__feature-link .arrow { transition: transform var(--dur-base) var(--ease-out); }
.mega-menu__feature-link:hover .arrow { transform: translateX(4px); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.nav__social {
  display: none;
  align-items: center;
  gap: var(--space-1);
}
@media (min-width: 1100px) {
  .nav__social { display: inline-flex; }
}
.nav__social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.nav__social a:hover {
  color: var(--brand-teal);
  background: var(--teal-50);
}
.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  color: var(--color-text);
  background: var(--bg-alt);
  transition: background var(--dur-fast);
}
.nav__toggle:hover { background: var(--bg-soft); }
@media (min-width: 960px) {
  .nav__toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) - 1);
  background: var(--gradient-spectrum);
  color: #fff;
  padding: calc(var(--nav-h) + var(--space-6)) var(--space-5) var(--space-6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              visibility 0s linear var(--dur-base);
  overflow-y: auto;
}
.mobile-menu[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.mobile-menu ul { display: grid; gap: var(--space-2); }
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: padding var(--dur-base) var(--ease-out), color var(--dur-base);
}
.mobile-menu a:hover {
  padding-left: var(--space-6);
  color: var(--teal-200);
}
.mobile-menu a::after {
  content: "→";
  opacity: 0.6;
  transition: transform var(--dur-base);
}
.mobile-menu a:hover::after { transform: translateX(4px); opacity: 1; }

/* =============================================================
   BUTTONS — pill estilo coffee-tech, coloridos con brand palette
   ============================================================= */
.btn {
  --btn-bg: var(--brand-teal);
  --btn-ink: #fff;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 46px;
  padding-inline: var(--space-5);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-ink);
  border: 1.5px solid var(--btn-border);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur-base) var(--ease-smooth),
              box-shadow var(--dur-base) var(--ease-smooth),
              background var(--dur-base),
              color var(--dur-base),
              border-color var(--dur-base);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-teal);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-smooth);
  z-index: -1;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-teal); }
.btn:hover::before { opacity: 1; }
.btn:active { transform: translateY(0); }

.btn .arrow {
  display: inline-block;
  transition: transform var(--dur-base) var(--ease-smooth);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary { --btn-bg: var(--brand-teal); --btn-ink: #fff; }
.btn--secondary {
  --btn-bg: #fff;
  --btn-ink: var(--brand-navy);
  --btn-border: var(--color-border-strong);
}
.btn--secondary::before { background: var(--teal-50); }
.btn--secondary:hover { --btn-ink: var(--brand-teal); border-color: var(--brand-teal); box-shadow: var(--shadow-md); }

.btn--purple { --btn-bg: var(--brand-purple); }
.btn--purple::before { background: var(--gradient-purple); }
.btn--purple:hover { box-shadow: var(--shadow-purple); }

.btn--navy { --btn-bg: var(--brand-navy); }
.btn--navy::before { background: linear-gradient(135deg, var(--navy-500) 0%, var(--navy-700) 100%); }
.btn--navy:hover { box-shadow: var(--shadow-navy); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-ink: #fff;
  --btn-border: rgba(255, 255, 255, 0.4);
}
.btn--ghost::before { background: rgba(255, 255, 255, 0.1); }
.btn--ghost:hover { --btn-border: rgba(255, 255, 255, 0.9); box-shadow: none; }

.btn--lg { height: 54px; padding-inline: var(--space-6); font-size: 0.95rem; }
.btn--sm { height: 38px; padding-inline: var(--space-4); font-size: var(--fs-xsmall); }
.btn--block { width: 100%; }

/* =============================================================
   HERO — visual abstracto colorido con gradient glow + blobs
   Inspirado en coffee-tech.com
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + var(--space-7));
  padding-bottom: var(--space-9);
  overflow: hidden;
  isolation: isolate;
  background: var(--color-bg);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 45% at 15% 25%, rgba(69, 164, 182, 0.35) 0%, transparent 60%),
    radial-gradient(45% 50% at 85% 15%, rgba(80, 53, 126, 0.3) 0%, transparent 60%),
    radial-gradient(60% 60% at 75% 85%, rgba(61, 105, 156, 0.35) 0%, transparent 65%),
    radial-gradient(50% 50% at 30% 95%, rgba(41, 44, 72, 0.12) 0%, transparent 65%);
  filter: blur(0.5px);
}
.hero__grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(41, 44, 72, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 44, 72, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 85%);
}
.hero__blob {
  position: absolute;
  border-radius: var(--radius-blob);
  filter: blur(40px);
  opacity: 0.7;
  z-index: -1;
  will-change: transform;
}
.hero__blob--1 {
  width: 420px;
  height: 420px;
  background: var(--gradient-teal);
  top: 10%;
  left: -80px;
  animation: blobFloat 18s var(--ease-smooth) infinite;
}
.hero__blob--2 {
  width: 360px;
  height: 360px;
  background: var(--gradient-purple);
  top: 40%;
  right: -60px;
  animation: blobFloat 22s var(--ease-smooth) infinite reverse;
}
.hero__blob--3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--steel-300) 0%, var(--brand-steel) 100%);
  bottom: -40px;
  left: 38%;
  animation: blobFloat 26s var(--ease-smooth) infinite;
  animation-delay: -8s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0) scale(1); }
  33% { transform: translate3d(40px, -30px, 0) rotate(8deg) scale(1.06); }
  66% { transform: translate3d(-20px, 40px, 0) rotate(-6deg) scale(0.95); }
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__content { grid-template-columns: 1.1fr 1fr; gap: var(--space-9); }
}

.hero__copy { max-width: 620px; }
.hero__eyebrow-cluster {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  background: rgba(69, 164, 182, 0.1);
  border: 1px solid rgba(69, 164, 182, 0.2);
  color: var(--brand-teal);
  font-size: var(--fs-xsmall);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.hero__eyebrow-cluster .dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--brand-teal);
  box-shadow: 0 0 0 4px rgba(69, 164, 182, 0.25);
  animation: pulse 2s var(--ease-smooth) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(69, 164, 182, 0.25); }
  50% { box-shadow: 0 0 0 10px rgba(69, 164, 182, 0.05); }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: var(--fw-bold);
  line-height: 0.95;
  letter-spacing: var(--ls-tight);
  color: var(--color-text);
  margin-bottom: var(--space-5);
}
.hero__headline .accent-teal {
  background: var(--gradient-teal);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}
.hero__headline .accent-purple {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero__lede {
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--color-text-soft);
  margin-bottom: var(--space-6);
  max-width: 56ch;
}
.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.hero__brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}
.hero__brands-label {
  font-size: var(--fs-xsmall);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.hero__brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.hero__brand-chip {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--color-border);
  font-size: var(--fs-xsmall);
  font-weight: var(--fw-semibold);
  color: var(--color-text-soft);
  transition: border-color var(--dur-base), color var(--dur-base), transform var(--dur-base);
}
.hero__brand-chip:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
  transform: translateY(-2px);
}

/* Hero visual — hexagon + waves inspirados en logo oficial DTS */
.hero__visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.hero__visual svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.hero__visual .hex-rotor {
  transform-origin: center;
  animation: hexRotate 40s linear infinite;
}
@keyframes hexRotate {
  to { transform: rotate(360deg); }
}
.hero__visual .wave-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: waveDraw 3s var(--ease-smooth) forwards;
  animation-delay: calc(var(--d, 0) * 200ms);
}
@keyframes waveDraw {
  to { stroke-dashoffset: 0; }
}
.hero__visual .orbit-dot {
  animation: orbitFloat 5s var(--ease-smooth) infinite;
}
@keyframes orbitFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
  50% { transform: translateY(-12px) scale(1.15); opacity: 0.7; }
}

.hero__scroll-cue {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-micro);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.hero__scroll-cue::after {
  content: "";
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--brand-teal), transparent);
  border-radius: var(--radius-pill);
  animation: scrollCue 2s var(--ease-smooth) infinite;
}
@keyframes scrollCue {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =============================================================
   MARQUEE (logos partners)
   ============================================================= */
.marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  padding-block: var(--space-5);
}
.marquee__track {
  display: flex;
  gap: var(--space-8);
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.marquee__item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding-inline: var(--space-5);
  opacity: 0.7;
  transition: opacity var(--dur-base) var(--ease-out), filter var(--dur-base);
  filter: grayscale(30%);
}
.marquee__item:hover { opacity: 1; filter: grayscale(0); }
.marquee__item img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================================
   CARDS — base + variantes de color por categoría
   ============================================================= */
.card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  transition: transform var(--dur-base) var(--ease-smooth),
              box-shadow var(--dur-base) var(--ease-smooth),
              border-color var(--dur-base);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  color: inherit;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-200);
}
.card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  color: var(--brand-navy);
}
.card p {
  font-size: var(--fs-small);
  color: var(--color-text-soft);
  line-height: 1.55;
}

.card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  background: var(--gradient-teal);
  color: #fff;
  flex-shrink: 0;
  margin-bottom: var(--space-2);
  box-shadow: var(--shadow-teal);
}
.card__icon--purple { background: var(--gradient-purple); box-shadow: var(--shadow-purple); }
.card__icon--steel { background: linear-gradient(135deg, var(--steel-400) 0%, var(--steel-600) 100%); box-shadow: 0 10px 24px rgba(61, 105, 156, 0.35); }
.card__icon--navy { background: var(--gradient-navy); box-shadow: var(--shadow-navy); }

.card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  color: var(--brand-teal);
  padding-top: var(--space-3);
}
.card__link .arrow {
  display: inline-block;
  transition: transform var(--dur-base) var(--ease-smooth);
}
.card:hover .card__link .arrow { transform: translateX(4px); }

/* Card accent bar — colorido por variante (refrescado) */
.card--teal {
  background: linear-gradient(160deg, var(--teal-100) 0%, var(--teal-50) 45%, #ffffff 100%);
  border-color: var(--teal-200);
}
.card--teal::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gradient-teal); }
.card--purple {
  background: linear-gradient(160deg, var(--purple-100) 0%, var(--purple-50) 45%, #ffffff 100%);
  border-color: var(--purple-200);
}
.card--purple::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gradient-purple); }
.card--steel {
  background: linear-gradient(160deg, var(--steel-100) 0%, var(--steel-50) 45%, #ffffff 100%);
  border-color: var(--steel-200);
}
.card--steel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--steel-400), var(--steel-600)); }
.card--navy {
  background: linear-gradient(160deg, var(--navy-100) 0%, var(--navy-50) 45%, #ffffff 100%);
  border-color: var(--navy-200);
}
.card--navy::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gradient-navy); }

/* Card con media (imagen arriba) — variante principal para categorías y productos */
.card--media {
  padding: 0;
  overflow: hidden;
  background: #fff;
}
.card--media .card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-soft) 100%);
  position: relative;
}
.card--media .card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-smooth);
  pointer-events: none;
}
.card--media:hover .card__media::after { opacity: 0.5; }
.card--media .card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-4);
  transition: transform var(--dur-slow) var(--ease-smooth);
}
.card--media:hover .card__media img { transform: scale(1.08); }
.card--media .card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
  flex: 1;
}

.card--dark {
  background: var(--navy-700);
  color: #fff;
  border-color: var(--navy-600);
}
.card--dark h3 { color: #fff; }
.card--dark p { color: var(--color-text-muted-on-dark); }
.card--dark:hover { border-color: var(--teal-400); }

/* Category card con color distintivo y icon grande */
.category-card {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-2xl);
  background: #fff;
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-smooth),
              box-shadow var(--dur-base) var(--ease-smooth);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 260px;
  color: inherit;
}
.category-card::before {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 260px;
  height: 260px;
  border-radius: var(--radius-blob);
  background: var(--gradient-teal);
  opacity: 0.08;
  transition: transform var(--dur-slow) var(--ease-smooth), opacity var(--dur-base);
  z-index: 0;
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.category-card:hover::before {
  transform: scale(1.3) translate(-10%, -10%);
  opacity: 0.15;
}
.category-card > * { position: relative; z-index: 1; }
.category-card__num {
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  color: var(--color-text-muted);
}
.category-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  line-height: 1.15;
  color: var(--brand-navy);
}
.category-card__desc {
  font-size: var(--fs-small);
  color: var(--color-text-soft);
  line-height: 1.55;
}
.category-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  color: var(--brand-teal);
}
.category-card__link .arrow { transition: transform var(--dur-base) var(--ease-smooth); }
.category-card:hover .category-card__link .arrow { transform: translateX(6px); }

.category-card--teal::before { background: var(--gradient-teal); }
.category-card--purple::before { background: var(--gradient-purple); }
.category-card--steel::before { background: linear-gradient(135deg, var(--steel-400), var(--steel-600)); }
.category-card--navy::before { background: var(--gradient-navy); }

/* =============================================================
   VIDEO SECTION (para la home)
   ============================================================= */
.video-section {
  padding-block: var(--space-9);
  background: var(--navy-700);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.video-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 50% at 15% 30%, rgba(69, 164, 182, 0.25) 0%, transparent 60%),
    radial-gradient(50% 50% at 85% 70%, rgba(80, 53, 126, 0.25) 0%, transparent 60%);
  pointer-events: none;
}
.video-section > .container { position: relative; }
.video-section__intro {
  text-align: center;
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: var(--space-7);
}
.video-section h2 { color: #fff; }
.video-section p.lede { color: rgba(255, 255, 255, 0.85); margin-inline: auto; }

.video-frame {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  isolation: isolate;
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-frame__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(41, 44, 72, 0.25) 0%, rgba(41, 44, 72, 0.55) 100%);
  cursor: pointer;
  transition: opacity var(--dur-base) var(--ease-out), background var(--dur-base);
  z-index: 2;
}
.video-frame.is-playing .video-frame__overlay {
  opacity: 0;
  pointer-events: none;
}
.video-frame__play {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--gradient-teal);
  color: #fff;
  box-shadow: 0 20px 50px rgba(69, 164, 182, 0.5);
  transition: transform var(--dur-base) var(--ease-spring);
  position: relative;
}
.video-frame__play::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 2px solid rgba(69, 164, 182, 0.35);
  animation: pulseRing 2s var(--ease-smooth) infinite;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.video-frame:hover .video-frame__play { transform: scale(1.08); }
.video-frame__play svg { margin-left: 4px; }

.video-frame__accent-1,
.video-frame__accent-2 {
  position: absolute;
  border-radius: var(--radius-blob);
  filter: blur(40px);
  opacity: 0.5;
  z-index: -1;
}
.video-section .video-frame__accent-1 {
  width: 200px;
  height: 200px;
  background: var(--brand-teal);
  top: -60px;
  left: -60px;
}
.video-section .video-frame__accent-2 {
  width: 240px;
  height: 240px;
  background: var(--brand-purple);
  bottom: -80px;
  right: -40px;
}

/* =============================================================
   STATS
   ============================================================= */
.stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  text-align: center;
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: var(--fw-black);
  line-height: 1;
  background: linear-gradient(180deg, #fff 0%, var(--teal-200) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat__label {
  font-size: var(--fs-xsmall);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* Light variant */
.stat--light {
  background: #fff;
  border-color: var(--color-border);
}
.stat--light .stat__value {
  background: var(--gradient-spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat--light .stat__label { color: var(--color-text-muted); }

/* =============================================================
   CTA GRANDE
   ============================================================= */
.cta-big {
  text-align: center;
  max-width: 56rem;
  margin-inline: auto;
  padding: var(--space-8) var(--space-5);
}
.cta-big .eyebrow { justify-content: center; }
.cta-big h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-4);
}
.cta-big p.lede { margin-inline: auto; margin-bottom: var(--space-6); }

/* CTA editorial — layout abierto, sin contenedor "cuadro" */
.cta-card {
  position: relative;
  padding-block: clamp(var(--space-6), 5vw, var(--space-8));
  color: var(--color-text);
  overflow: visible;
  isolation: isolate;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: -10% auto auto -10%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 164, 182, 0.22) 0%, transparent 65%);
  filter: blur(70px);
  z-index: -1;
  pointer-events: none;
  animation: blobFloat 16s var(--ease-smooth) infinite alternate;
}
.cta-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -10% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80, 53, 126, 0.2) 0%, transparent 65%);
  filter: blur(65px);
  z-index: -1;
  pointer-events: none;
  animation: blobFloat 20s var(--ease-smooth) infinite;
}
.cta-card > * { position: relative; }
.cta-card .eyebrow {
  color: var(--brand-teal) !important;
  margin-bottom: var(--space-3);
}
.cta-card h2 {
  color: var(--brand-navy);
  margin-bottom: var(--space-4);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 22ch;
}
.cta-card p {
  color: var(--color-text-soft);
  margin-bottom: var(--space-6);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  max-width: 58ch;
  line-height: 1.6;
}
.cta-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
  position: relative;
}
@media (min-width: 900px) {
  .cta-card__grid { grid-template-columns: 1.35fr 1fr; gap: var(--space-8); }
}
.cta-card__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 240px;
}
.cta-card__hex {
  width: clamp(200px, 22vw, 320px);
  aspect-ratio: 1;
  animation: heroSpin 40s linear infinite;
  filter: drop-shadow(0 20px 50px rgba(69, 164, 182, 0.25));
}
.cta-card__hex polygon { fill: none; stroke-width: 1.5; }
.cta-card__hex polygon:nth-child(1) { stroke: rgba(41, 44, 72, 0.18); }
.cta-card__hex polygon:nth-child(2) { stroke: rgba(69, 164, 182, 0.7); }
.cta-card__hex polygon:nth-child(3) { stroke: rgba(80, 53, 126, 0.55); }
.cta-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: var(--space-6);
  padding-block: var(--space-5);
  border-block: 1px solid var(--color-border-strong);
}
.cta-card__stat {
  flex: 1 1 120px;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-inline: var(--space-5);
  border-right: 1px solid var(--color-border);
}
.cta-card__stat:first-child { padding-left: 0; }
.cta-card__stat:last-child { border-right: none; }
.cta-card__stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: var(--fw-bold);
  color: var(--brand-navy);
  line-height: 1;
  letter-spacing: -0.01em;
}
.cta-card__stat span {
  font-size: var(--fs-xsmall);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
}
/* Ghost button override inside open CTA (light bg) */
.cta-card .btn--ghost {
  --btn-ink: var(--brand-navy);
  --btn-border: var(--color-border-strong);
}
.cta-card .btn--ghost::before { background: rgba(41, 44, 72, 0.06); }
.cta-card .btn--ghost:hover { --btn-border: var(--brand-navy); }
@keyframes heroSpin { to { transform: rotate(360deg); } }

/* =============================================================
   TESTIMONIALS
   ============================================================= */
.testimonial {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-smooth), box-shadow var(--dur-base);
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -20px;
  right: var(--space-5);
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  color: var(--teal-100);
  z-index: 0;
}
.testimonial > * { position: relative; z-index: 1; }
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial__quote {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--color-text);
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
}
.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--gradient-teal);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 1.125rem;
}
.testimonial__meta strong {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--brand-navy);
  font-size: 0.95rem;
}
.testimonial__meta span {
  font-size: var(--fs-xsmall);
  color: var(--color-text-muted);
}

/* =============================================================
   BREADCRUMBS
   ============================================================= */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  padding-top: calc(var(--nav-h) + var(--space-5));
  padding-bottom: var(--space-4);
  font-size: var(--fs-xsmall);
  color: var(--color-text-muted);
}
.breadcrumbs a {
  color: var(--color-text-muted);
  transition: color var(--dur-fast);
}
.breadcrumbs a:hover { color: var(--brand-teal); }
.breadcrumbs__sep { color: var(--muted-soft); }
.breadcrumbs [aria-current="page"] {
  color: var(--brand-navy);
  font-weight: var(--fw-semibold);
}

/* =============================================================
   PAGE HERO (pages internas)
   ============================================================= */
.page-hero {
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
  position: relative;
  overflow: hidden;
  background: #292C48;
  color: #fff;
  isolation: isolate;
  max-width: 90rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 1rem;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 90% 10%, rgba(69, 164, 182, 0.18) 0%, transparent 60%),
    radial-gradient(55% 70% at 8% 95%, rgba(80, 53, 126, 0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.page-hero::after { display: none; }
.page-hero > .container { position: relative; max-width: 76rem; }
.page-hero .badge {
  margin-bottom: var(--space-4);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.page-hero .eyebrow { color: rgba(255, 255, 255, 0.92); }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3rem);
  margin-bottom: var(--space-3);
}
.page-hero p {
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 60ch;
}
.page-hero .text-gradient {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #fff;
  color: #fff;
}
/* Compact variant — used on form pages where content below is the focus */
.page-hero--compact {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  background: #292C48;
}
/* When page-hero is the first thing below the fixed nav (no breadcrumbs above),
   add nav-height top padding so the heading is not clipped. */
main > .page-hero:first-child { padding-top: calc(var(--nav-h) + var(--space-7)); }
main > .page-hero--compact:first-child { padding-top: calc(var(--nav-h) + var(--space-6)); }
.page-hero--compact h1 { font-size: clamp(1.85rem, 3.6vw, 2.4rem); }
.page-hero--compact p { font-size: 1rem; }

/* =============================================================
   PRODUCT HERO (páginas de producto)
   ============================================================= */
.product-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  padding-block: var(--space-6) var(--space-9);
}
@media (min-width: 960px) {
  .product-hero { grid-template-columns: 1fr 1.1fr; gap: var(--space-8); }
}
.product-hero__media {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--teal-50) 0%, var(--purple-50) 50%, var(--steel-50) 100%);
  border-radius: var(--radius-2xl);
  display: grid;
  place-items: center;
  padding: var(--space-7);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.product-hero__media::before {
  content: "";
  position: absolute;
  inset: -30% -30% auto auto;
  width: 300px;
  height: 300px;
  border-radius: var(--radius-blob);
  background: radial-gradient(circle, rgba(69, 164, 182, 0.3) 0%, transparent 70%);
  filter: blur(40px);
}
.product-hero__media img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform var(--dur-slow) var(--ease-smooth);
}
.product-hero__media:hover img { transform: scale(1.05) rotate(-2deg); }

.product-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-5) 0;
}
.product-hero__meta span {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--teal-50);
  color: var(--teal-700);
  font-size: var(--fs-xsmall);
  font-weight: var(--fw-semibold);
  border: 1px solid var(--teal-100);
}

.product-features {
  list-style: none;
  display: grid;
  gap: var(--space-3);
  margin: var(--space-5) 0 var(--space-6);
}
.product-features li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--fs-small);
  color: var(--color-text-soft);
  line-height: 1.6;
}
.product-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  background: var(--gradient-teal);
  background-image: var(--gradient-teal), url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12 10 17 19 8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
}
.product-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* =============================================================
   FORMS
   ============================================================= */
.form {
  display: grid;
  gap: var(--space-5);
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form label {
  font-size: var(--fs-xsmall);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  color: var(--color-text-soft);
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 14px var(--space-4);
  border-radius: var(--radius-md);
  background: #fff;
  border: 1.5px solid var(--color-border-strong);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--color-text);
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.form input::placeholder,
.form textarea::placeholder { color: var(--muted-soft); }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 4px rgba(69, 164, 182, 0.15);
}
.form textarea { min-height: 140px; resize: vertical; font-family: var(--font-body); }

.form__row {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
  .form__row--3 { grid-template-columns: 1fr 1fr 1fr; }
}

.form__hidden { display: none; }
.form__hp { position: absolute; left: -9999px; }
.form__consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-xsmall);
  color: var(--color-text-muted);
  line-height: 1.5;
}
.form__consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand-teal);
  flex-shrink: 0;
}

/* Form wrapper con fondo decorado */
.form-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-5), 4vw, var(--space-7));
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--gradient-spectrum);
}

/* =============================================================
   PROGRAMA DISTRIBUIDORES TABS
   ============================================================= */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-2);
  background: var(--bg-alt);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-7);
}
.tabs__tab {
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
  transition: color var(--dur-base), background var(--dur-base);
  white-space: nowrap;
}
.tabs__tab:hover { color: var(--brand-navy); }
.tabs__tab.is-active {
  background: #fff;
  color: var(--brand-teal);
  box-shadow: var(--shadow-sm);
}

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  background: var(--navy-800);
  color: #fff;
  padding-block: var(--space-9) var(--space-6);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 50% at 15% 15%, rgba(69, 164, 182, 0.18) 0%, transparent 60%),
    radial-gradient(50% 50% at 85% 85%, rgba(80, 53, 126, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.footer > .container { position: relative; }
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 340px;
}
.footer__brand img {
  width: auto;
  height: 120px;
  max-width: 280px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}
.footer__intro {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.footer__social {
  display: flex;
  gap: var(--space-2);
}
.footer__social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background var(--dur-base), transform var(--dur-base);
}
.footer__social a:hover {
  background: var(--brand-teal);
  transform: translateY(-2px);
}

.footer__heading {
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--teal-200);
  margin-bottom: var(--space-4);
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__col a {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-small);
  transition: color var(--dur-fast), padding-left var(--dur-base);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.footer__col a:hover {
  color: var(--teal-200);
  padding-left: 4px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-5);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-xsmall);
}
.footer__bottom a { color: rgba(255, 255, 255, 0.5); }
.footer__bottom a:hover { color: var(--teal-200); }

/* =============================================================
   MISC — PILLS / BADGES / CHIPS
   ============================================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--teal-50);
  color: var(--teal-700);
  font-size: var(--fs-xsmall);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  border: 1px solid var(--teal-100);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 6px 14px -10px rgba(41, 44, 72, 0.25);
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}
.badge--purple { background: var(--purple-50); color: var(--purple-600); border-color: var(--purple-100); }
.badge--steel { background: var(--steel-50); color: var(--steel-700); border-color: var(--steel-100); }
.badge--navy { background: var(--navy-50); color: var(--navy-700); border-color: var(--navy-100); }

/* Value list (hero underline props) */
.value-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-7);
}
@media (min-width: 640px) { .value-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .value-list { grid-template-columns: repeat(4, 1fr); } }

/* Partner logo grid (alternate to marquee) */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 768px) { .partner-grid { grid-template-columns: repeat(4, 1fr); } }
.partner-card {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  transition: transform var(--dur-base) var(--ease-smooth), box-shadow var(--dur-base), border-color var(--dur-base);
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-200); }
.partner-card img { max-height: 60px; width: auto; object-fit: contain; }
.partner-card h3 { font-size: 1.0625rem; color: var(--brand-navy); }
.partner-card p { font-size: var(--fs-xsmall); color: var(--color-text-muted); }

/* Utility — visually hidden decorative hex mesh for section backgrounds */
.section-mesh {
  position: relative;
  isolation: isolate;
}
.section-mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cpolygon points='60,4 115,34 115,94 60,124 5,94 5,34' fill='none' stroke='%23293c48' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 120px 104px;
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}

/* =============================================================
   404
   ============================================================= */
.error-hero {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + var(--space-7)) var(--space-5) var(--space-8);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.error-hero__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: var(--fw-black);
  line-height: 1;
  background: var(--gradient-spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-4);
}

/* =============================================================
   FORM FIELD WRAPPERS (usado por build.js templates)
   ============================================================= */
.form__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  position: relative;
}
.form__field label {
  font-size: var(--fs-xsmall);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  color: var(--color-text-soft);
}
.form__error {
  display: none;
  font-size: var(--fs-xsmall);
  color: #d64545;
  margin-top: 2px;
}
.form__field.has-error .form__error { display: block; }
.form__field.has-error input,
.form__field.has-error select,
.form__field.has-error textarea {
  border-color: #d64545;
  box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.1);
}
.form__feedback {
  padding: var(--space-4) var(--space-5);
  border-radius: 14px;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  line-height: 1.5;
  margin-bottom: var(--space-4);
  border: 1px solid transparent;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.form__feedback::before {
  content: "";
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.form__feedback--success {
  background: rgba(69, 164, 182, 0.10);
  border-color: rgba(69, 164, 182, 0.35);
  color: #1f6b78;
}
.form__feedback--success::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6b78' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polyline points='8 12 11 15 16 9'/></svg>");
}
.form__feedback--error {
  background: rgba(214, 69, 69, 0.08);
  border-color: rgba(214, 69, 69, 0.35);
  color: #a73333;
}
.form__feedback--error::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a73333' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='12' y1='8' x2='12' y2='13'/><line x1='12' y1='16' x2='12.01' y2='16'/></svg>");
}
.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-xsmall);
  color: var(--color-text-muted);
  line-height: 1.5;
  cursor: pointer;
}
.form__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand-teal);
  flex-shrink: 0;
}
.form__honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* =============================================================
   TABS (Programa distribuidores)
   ============================================================= */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-2);
  background: var(--bg-alt);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-7);
}
.tab-btn {
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
  transition: color var(--dur-base), background var(--dur-base), box-shadow var(--dur-base);
  white-space: nowrap;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.tab-btn:hover { color: var(--brand-navy); }
.tab-btn[aria-selected="true"] {
  background: #fff;
  color: var(--brand-teal);
  box-shadow: var(--shadow-sm);
}
.tab-panel { display: none; }
.tab-panel[aria-hidden="false"] { display: block; }

/* =============================================================
   TRUST STRIP (cotizar)
   ============================================================= */
.trust-strip {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}
@media (min-width: 768px) { .trust-strip { grid-template-columns: repeat(3, 1fr); } }
.trust-strip__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.trust-strip__item .card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  margin-bottom: 0;
}
.trust-strip__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--brand-navy);
  margin-bottom: 2px;
}
.trust-strip__item p {
  font-size: var(--fs-xsmall);
  color: var(--color-text-muted);
  margin: 0;
}

/* =============================================================
   QUOTE CARD (cotizar — preview del producto seleccionado)
   ============================================================= */
.quote-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--gradient-card-teal);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-6);
  align-items: center;
}
.quote-card__media {
  aspect-ratio: 1;
  background: #fff;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
}
.quote-card__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.quote-card__sku {
  font-size: var(--fs-xsmall);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--brand-teal);
  display: block;
  margin-bottom: var(--space-1);
}
.quote-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--brand-navy);
  margin-bottom: var(--space-1);
}
.quote-card__meta {
  font-size: var(--fs-xsmall);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.quote-card__back {
  font-size: var(--fs-xsmall);
  font-weight: var(--fw-semibold);
  color: var(--brand-teal);
}

/* Container narrow — wrapper estrecho para formularios */
.container-narrow {
  max-width: 720px;
  margin-inline: auto;
}

/* =============================================================
   TEXT GRADIENT — headlines con spectrum de marca
   ============================================================= */
.text-gradient {
  background-image: var(--gradient-spectrum, linear-gradient(135deg, var(--brand-teal), var(--brand-purple), var(--brand-steel)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* =============================================================
   CARD STEP — indicador grande de paso 01/02/03
   ============================================================= */
.card__step {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: var(--fw-bold);
  line-height: 1;
  margin-bottom: var(--space-4);
  opacity: 0.9;
  letter-spacing: -0.02em;
}

/* =============================================================
   SUCCESS CHECK — checkmark circle para páginas /gracias/
   ============================================================= */
.success-check {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--gradient-brand, linear-gradient(135deg, var(--brand-teal), var(--brand-purple)));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  box-shadow: 0 12px 40px -10px color-mix(in srgb, var(--brand-teal) 60%, transparent);
  animation: success-pop 0.6s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1)) both;
}
@keyframes success-pop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* =============================================================
   CONTACT LIST — lista de métodos de contacto
   ============================================================= */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.contact-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-5);
  min-height: 92px;
  background: var(--bg-card, #fff);
  border: 1px solid var(--color-border, rgba(41, 44, 72, 0.08));
  border-radius: var(--radius-lg, 16px);
  transition: transform var(--dur-base, 400ms) var(--ease-smooth, ease), border-color var(--dur-base, 400ms) var(--ease-smooth, ease), box-shadow var(--dur-base, 400ms) var(--ease-smooth, ease);
  color: inherit;
  text-decoration: none;
}
.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md, 0 12px 32px -12px rgba(41, 44, 72, 0.18));
}
.contact-item > div { min-width: 0; }
.contact-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.contact-item--teal .contact-item__icon { background: var(--brand-teal); }
.contact-item--teal:hover { border-color: color-mix(in srgb, var(--brand-teal) 40%, transparent); }
.contact-item--purple .contact-item__icon { background: var(--brand-purple); }
.contact-item--purple:hover { border-color: color-mix(in srgb, var(--brand-purple) 40%, transparent); }
.contact-item--steel .contact-item__icon { background: var(--brand-steel); }
.contact-item--steel:hover { border-color: color-mix(in srgb, var(--brand-steel) 40%, transparent); }
.contact-item--navy .contact-item__icon { background: var(--brand-navy); }
.contact-item--navy:hover { border-color: color-mix(in srgb, var(--brand-navy) 40%, transparent); }
.contact-item--whatsapp .contact-item__icon { background: #25d366; }
.contact-item--whatsapp:hover { border-color: color-mix(in srgb, #25d366 45%, transparent); }
.contact-item .eyebrow { margin-bottom: var(--space-1); display: block; }
.contact-item a,
.contact-item__value { font-size: 1.0625rem; font-weight: var(--fw-semibold); color: var(--text-primary, inherit); display: block; }
a.contact-item:hover .contact-item__value { color: var(--brand-teal); }
.contact-item a:not(.contact-item):hover { color: var(--brand-teal); }

/* Social row — iconos de redes sociales */
.social-row {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border, rgba(41, 44, 72, 0.12));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary, inherit);
  transition: all var(--dur-fast, 200ms) var(--ease-smooth, ease);
}
.social-row a:hover {
  background: var(--brand-teal);
  color: #fff;
  border-color: var(--brand-teal);
  transform: translateY(-2px);
}

/* =============================================================
   LEGAL DOC — tipografía de documentos legales
   ============================================================= */
.legal-doc {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.legal-doc h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-top: var(--space-4);
  color: var(--brand-navy);
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p { color: var(--text-secondary, inherit); line-height: 1.7; }
.legal-doc a { color: var(--brand-teal); font-weight: var(--fw-semibold); }
.legal-doc a:hover { text-decoration: underline; }
.legal-doc__note {
  margin-top: var(--space-6);
  padding: var(--space-4);
  background: var(--bg-alt, rgba(69, 164, 182, 0.06));
  border-left: 3px solid var(--brand-teal);
  border-radius: var(--radius-md, 8px);
  font-size: var(--fs-small);
  color: var(--text-muted, inherit);
}

/* =============================================================
   NOT FOUND — página 404 con dígitos gigantes + glow
   ============================================================= */
.not-found {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.not-found__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 20% 30%, color-mix(in srgb, var(--brand-teal) 28%, transparent) 0%, transparent 60%),
    radial-gradient(50% 50% at 80% 70%, color-mix(in srgb, var(--brand-purple) 24%, transparent) 0%, transparent 60%);
  filter: blur(50px);
  z-index: 0;
  animation: not-found-drift 12s ease-in-out infinite alternate;
}
@keyframes not-found-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, -20px) scale(1.05); }
}
.not-found__digits {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(6rem, 22vw, 16rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  background-image: var(--gradient-spectrum, linear-gradient(135deg, var(--brand-teal), var(--brand-purple), var(--brand-steel)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin: var(--space-4) 0;
}
.not-found__digits span {
  display: inline-block;
  animation: zero-float 3s ease-in-out infinite;
}
@keyframes zero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* =============================================================
   BRAND CARDS — cards con logo del fabricante (home + quienes-somos)
   ============================================================= */
.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--color-border);
  transition: transform var(--dur-base) var(--ease-smooth),
              box-shadow var(--dur-base) var(--ease-smooth),
              border-color var(--dur-base);
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: inherit;
  min-height: 260px;
}
.brand-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--brand-accent, var(--brand-teal));
  opacity: 0.08;
  filter: blur(30px);
  transition: opacity var(--dur-base) var(--ease-smooth), transform var(--dur-base);
  z-index: -1;
}
.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px -20px color-mix(in srgb, var(--brand-accent, var(--brand-teal)) 35%, transparent);
  border-color: color-mix(in srgb, var(--brand-accent, var(--brand-teal)) 45%, transparent);
}
.brand-card:hover::before { opacity: 0.18; transform: scale(1.15); }
.brand-card--teal   { --brand-accent: var(--brand-teal); }
.brand-card--steel  { --brand-accent: var(--brand-steel); }
.brand-card--purple { --brand-accent: var(--brand-purple); }
.brand-card--navy   { --brand-accent: var(--brand-navy); }

.brand-card__logo {
  height: 56px;
  display: flex;
  align-items: center;
}
.brand-card__logo img {
  max-height: 56px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.brand-card__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 1.25rem;
  color: var(--brand-navy);
  margin: 0;
}
.brand-card__desc {
  color: var(--color-text-soft);
  font-size: var(--fs-small);
  line-height: 1.55;
  flex: 1;
}
.brand-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--brand-accent, var(--brand-teal));
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  margin-top: auto;
}
.brand-card__link .arrow { transition: transform var(--dur-base) var(--ease-smooth); }
.brand-card:hover .brand-card__link .arrow { transform: translateX(4px); }

/* =============================================================
   PRINCIPIO CARDS — grid unificado (quiénes somos)
   Cards blancas, un solo color de acento por ícono, vibra premium.
   ============================================================= */
.principios-grid .principio-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform var(--dur-base) var(--ease-smooth),
              box-shadow var(--dur-base) var(--ease-smooth),
              border-color var(--dur-base) var(--ease-smooth);
}
.principios-grid .principio-card::before { display: none; }
.principios-grid .principio-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal-200);
  box-shadow: var(--shadow-md);
}
.principio-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-50);
  color: var(--brand-teal);
  margin-bottom: var(--space-2);
}
.principio-card__icon--purple { background: var(--purple-50); color: var(--brand-purple); }
.principio-card__icon--steel  { background: var(--steel-50);  color: var(--brand-steel); }
.principio-card__icon--teal   { background: var(--teal-50);   color: var(--brand-teal); }

/* =============================================================
   RESPONSIVE helpers finales
   ============================================================= */
@media (max-width: 640px) {
  .section { padding-block: var(--space-8); }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + var(--space-6)); padding-bottom: var(--space-8); }
  .hero__headline { font-size: clamp(2.25rem, 9vw, 3rem); }
  .quote-card { grid-template-columns: 1fr; }
  .contact-item { grid-template-columns: 40px 1fr; padding: var(--space-4); }
  .contact-item__icon { width: 40px; height: 40px; }
  .cta-card__grid { grid-template-columns: 1fr; }
  .cta-card__visual { display: none; }
  .cta-card__stat { padding-inline: var(--space-3); }
  .cta-card__stat:first-child { padding-left: 0; }
  .footer__brand img { height: 80px; }
}
