/* ============================================================
   EXMACHINA® — Landing Page Styles
   ============================================================ */

/* --- CSS Variables --- */
:root {
  /* Colors */
  --color-black: #050509;
  --color-white: #F4F4F7;
  --color-gray: #626262;
  --color-gray-light: #777985;
  --color-violet: #7047FF;
  --color-blue: #416BFF;

  /* Spacing */
  --page-margin: 48px;
  --content-max-width: 1360px;

  /* Typography */
  --font-primary: 'Helvetica Now Display', 'Helvetica Neue', 'Helvetica', 'Inter', Arial, sans-serif;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hide native OS cursor when custom cursor is active */
html.has-custom-cursor,
html.has-custom-cursor body,
html.has-custom-cursor * {
  cursor: none !important;
}


html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  overflow-y: scroll; /* Keep scrollbar always visible without layout jump */
}

/* ============================================================
   CUSTOM SCROLLBAR (Modern, Square, Black & Gray)
   ============================================================ */
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #24242d #050509;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: var(--color-black); /* #050509 */
}

::-webkit-scrollbar-thumb {
  background: #202028; /* subtle dark gray */
  border-radius: 1px; /* cuadrado con poco borde */
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease, border-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #484858; /* smoothly lights up on hover */
  border-color: rgba(255, 255, 255, 0.16);
}

::-webkit-scrollbar-thumb:active {
  background: #626262;
}

::-webkit-scrollbar-corner {
  background: var(--color-black);
}

html.lenis, html.lenis body {
  height: auto;
}

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

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

.lenis.lenis-stopped {
  /* Do not hide scrollbar so it remains visible without page jump */
  overflow-y: scroll !important;
}

body {
  font-family: var(--font-primary);
  background: var(--color-black);
  color: var(--color-white);
  overflow-x: hidden;
  line-height: 1.55;
  letter-spacing: -0.04em;
}

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

ul {
  list-style: none;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--page-margin);
  background: rgba(8, 8, 10, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

/* Transparent navbar when at top of page or modal, or when menu is open */
.navbar.navbar--transparent,
body.menu-open .navbar,
.menu-overlay.is-open ~ .navbar {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

.navbar.navbar--hidden {
  transform: translateY(-100%);
}

.navbar > * {
  pointer-events: auto;
}

.navbar__logo-img {
  height: 13px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* Hamburger menu toggle */
.navbar__menu-toggle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 105;
}

.navbar__menu-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 20px;
}

.navbar__menu-line {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--color-white);
  transition: transform 0.5s var(--ease-out-expo), opacity 0.3s ease;
  transform-origin: center;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* When menu is open, X icon */
.navbar__menu-toggle.is-active .navbar__menu-line--top {
  transform: translateY(3px) rotate(45deg);
}
.navbar__menu-toggle.is-active .navbar__menu-line--bottom {
  transform: translateY(-3px) rotate(-45deg);
}

.navbar__cta {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-white);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.navbar__cta:hover {
  opacity: 0.7;
}

/* Smoothly hide CTA button when menu is open */
body.menu-open .navbar__cta,
.navbar.menu-is-open .navbar__cta {
  opacity: 0 !important;
  transform: translateX(12px) !important;
  pointer-events: none !important;
}


/* ============================================================
   MENU OVERLAY
   ============================================================ */

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-black);
  z-index: 150;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.menu-overlay.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.menu-overlay__inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 var(--page-margin);
  /* Space for navbar on top */
  padding-top: 80px;
}

/* Menu content - 3 column layout */
.menu-overlay__content {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding-top: 80px;
  gap: 80px;
}

.menu-overlay__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-gray);
  display: block;
  margin-bottom: 32px;
}

.menu-overlay__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-overlay__link {
  font-size: 42px;
  font-weight: 300;
  line-height: 1.15;
  color: var(--color-white);
  display: inline-block;
  transform: translateX(0);
  opacity: 1;
  transition: color 0.45s ease, opacity 0.45s ease, transform 0.45s var(--ease-out-quart);
  will-change: transform, color, opacity;
}

/* When hovering over any link in menu, non-hovered links turn gray smoothly */
.menu-overlay__content:has(.menu-overlay__link:hover) .menu-overlay__link,
.menu-overlay.is-hovering-link .menu-overlay__link {
  color: #626262;
  opacity: 0.35;
  transition: color 0.45s ease, opacity 0.45s ease, transform 0.45s var(--ease-out-quart);
}

/* The actively hovered link stays bright white and shifts */
.menu-overlay__content:has(.menu-overlay__link:hover) .menu-overlay__link:hover,
.menu-overlay.is-hovering-link .menu-overlay__link.is-active-hover,
.menu-overlay__link:hover {
  color: #FFFFFF !important;
  opacity: 1 !important;
  transform: translateX(14px) !important;
  transition: color 0.45s ease, opacity 0.45s ease, transform 0.45s var(--ease-out-quart);
}

.menu-overlay__col--contact {
  margin-left: auto;
}

.menu-overlay__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-overlay__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--color-white);
  border-radius: 3px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.menu-overlay__btn-arrow {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.menu-overlay__btn:hover .menu-overlay__btn-arrow {
  transform: translate(2px, -2px);
}

.menu-overlay__btn--primary {
  background: var(--color-white);
  color: var(--color-black);
}

.menu-overlay__btn--primary:hover {
  background: transparent;
  color: var(--color-white);
}

.menu-overlay__btn--secondary {
  background: transparent;
  color: var(--color-white);
}

.menu-overlay__btn--secondary:hover {
  background: var(--color-white);
  color: var(--color-black);
}

/* Menu footer */
.menu-overlay__footer {
  padding-bottom: 40px;
}

.menu-overlay__footer-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 28px;
}

.menu-overlay__footer-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.menu-overlay__footer-right {
  display: flex;
  align-items: center;
}

.menu-overlay__privacy-link {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gray-light);
  transition: color 0.3s ease;
}

.menu-overlay__privacy-link:hover {
  color: var(--color-white);
}

.menu-overlay__footer-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-gray);
  display: block;
  margin-bottom: 14px;
}

.menu-overlay__socials {
  display: flex;
  gap: 8px;
}

.menu-overlay__social {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--color-white);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.menu-overlay__social:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
}

.menu-overlay__address {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-gray-light);
}

.menu-overlay__footer-logo {
  height: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.6;
}


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

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--color-black);
}

/* Dot pattern canvas - fills entire hero */
.hero__dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--page-margin);
  padding-bottom: 56px;
  pointer-events: none;
}

/* Top bar with INICIO label — placed above line */
.hero__top-bar {
  pointer-events: auto;
  margin-bottom: 12px;
}

/* Label / Eyebrow */
.hero__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: 0;
  opacity: 0;
}

/* Horizontal line under label — centered and spans 95% */
.hero__line-wrapper {
  position: relative;
  left: calc(-1 * var(--page-margin));
  width: calc(100% + 2 * var(--page-margin));
  display: flex;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  margin-bottom: 28px;
}

.hero__line {
  width: 0%;
  max-width: 95%;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  margin: 0 auto;
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}

.hero__bottom * {
  pointer-events: auto;
}

.hero__left {
  flex: 1;
  max-width: 560px;
}

/* Hero title */
.hero__title {
  font-size: clamp(40px, 4.4vw, 52px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--color-white);
}

.hero__title-line {
  display: block;
  overflow: hidden;
}

/* Right side */
.hero__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  max-width: 340px;
}

.hero__description {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-white);
  text-align: right;
  opacity: 0;
}

/* CTA Button (White style with clean arrow hover) */
.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  background: var(--color-white);
  border: 1px solid var(--color-white);
  border-radius: 3px;
  color: var(--color-black);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
  opacity: 0;
  cursor: pointer;
  text-decoration: none;
}

.hero__btn:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
}

.hero__btn-text {
  position: relative;
  z-index: 1;
}

.hero__btn-arrow {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.hero__btn:hover .hero__btn-arrow {
  transform: translate(2px, -2px);
}




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

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --page-margin: 32px;
  }

  .hero__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__right {
    align-items: flex-start;
    max-width: 100%;
  }

  .hero__description {
    text-align: left;
  }

  .hero__title {
    font-size: clamp(34px, 7vw, 72px);
  }

  .menu-overlay__content {
    flex-direction: column;
    gap: 48px;
    padding-top: 48px;
  }

  .menu-overlay__col--contact {
    margin-left: 0;
  }

  .menu-overlay__link {
    font-size: 32px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --page-margin: 20px;
  }

  .navbar {
    padding: 20px var(--page-margin);
  }

  .navbar__logo-img {
    height: 14px;
  }

  .navbar__cta {
    font-size: 10px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__content {
    padding-bottom: 40px;
  }

  .hero__title {
    font-size: clamp(28px, 8vw, 44px);
  }

  .hero__label {
    font-size: 11px;
  }

  .hero__description {
    font-size: 14px;
  }

  .hero__btn {
    font-size: 13px;
    padding: 14px 20px;
  }

  .menu-overlay__link {
    font-size: 28px;
  }

  .menu-overlay__content {
    padding-top: 32px;
    gap: 36px;
  }

  .menu-overlay__footer-content {
    flex-direction: column;
    gap: 24px;
  }
}


/* ============================================================
   SECTION 2: NUESTRO ENFOQUE
   ============================================================ */

.approach {
  position: relative;
  background: var(--color-black);
  padding: 160px var(--page-margin) 160px;
  width: 100%;
  overflow: hidden;
}

.approach__container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

/* Top Row: Label on left, Paragraphs on right */
.approach__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.approach__left {
  flex: 0 0 240px;
}

.approach__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--color-white);
  text-transform: uppercase;
  opacity: 0;
}

.approach__right {
  flex: 1;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.approach__paragraph {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.03em;
}

.approach__line {
  display: block;
  overflow: hidden;
}

.approach__line-inner {
  display: block;
  opacity: 0;
  transform: translateY(110%);
}

.approach__text-white {
  color: var(--color-white);
  font-weight: 400;
}

.approach__text-gray {
  color: #777985;
  font-weight: 400;
}

/* Bottom Row: 3 Statistics Columns */
.approach__stats {
  margin-top: 140px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.approach__stat-col {
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
}

/* Faint vertical line running full height along the left edge */
.approach__stat-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
  transform-origin: top center;
  transform: scaleY(0);
}

/* Bold white bar segment at bottom on the exact same vertical line */
.approach__stat-bar {
  position: absolute;
  left: -0.5px;
  bottom: 0;
  width: 2px;
  height: 95px;
  background: var(--color-white);
  transform-origin: bottom center;
  transform: scaleY(0);
  z-index: 2;
}

.approach__stat-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 350px;
  padding-left: 32px;
  padding-right: 28px;
}

.approach__stat-header {
  padding-top: 4px;
}

.approach__stat-title {
  display: block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--color-white);
  text-transform: uppercase;
  opacity: 0;
}

.approach__stat-body {
  display: flex;
  align-items: flex-end;
  padding-bottom: 4px;
}

.approach__stat-number-wrapper {
  display: flex;
  align-items: baseline;
  gap: 15px;
}

.approach__stat-num {
  font-size: clamp(80px, 7.5vw, 116px);
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--color-white);
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transform: translateY(12px);
}

.approach__stat-unit {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--color-gray);
  opacity: 0;
}

@media (max-width: 1024px) {
  .approach {
    padding: 120px var(--page-margin) 120px;
  }
  .approach__top {
    flex-direction: column;
    gap: 32px;
  }
  .approach__right {
    max-width: 100%;
  }
  .approach__stats {
    margin-top: 100px;
  }
}

@media (max-width: 768px) {
  .approach__stats {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .approach__stat-col {
    min-height: 220px;
  }
}


/* ============================================================
   SECTION 3: NUESTROS PROYECTOS
   ============================================================ */

.projects {
  position: relative;
  background: var(--color-black);
  padding: 100px var(--page-margin) 40px;
  overflow: hidden;
}

.projects__header {
  position: relative;
  margin-bottom: 50px;
}

.projects__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: 12px;
}

.projects__line-wrapper {
  position: relative;
  left: calc(-1 * var(--page-margin));
  width: calc(100% + 2 * var(--page-margin));
  display: flex;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

.projects__line {
  width: 0%;
  max-width: 95%;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  margin: 0 auto;
}

/* Projects List */
.projects__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 95vw;
  max-width: 95vw;
  margin: 0 auto;
}

/* Individual Project Card */
.project-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1276 / 640;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: #000000;
  outline: none;
  transition: box-shadow 0.5s ease;
}

.project-card:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.project-card__media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: #000000;
}

.project-card__img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
}

.project-card__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.9s var(--ease-out-expo), filter 0.6s ease;
  will-change: transform;
}

/* Hover: subtle zoom in to indicate clickability */
.project-card:hover .project-card__img {
  transform: scale(1.025);
  filter: brightness(1.04);
}

/* Solicitar Auditoria CTA in ALL Cards (Frosted White Glassmorphism, appears on hover) */
.project-card__audit-btn {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  opacity: 0;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 174px;
  height: 42px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 0.8px solid rgba(255, 255, 255, 0.45);
  border-radius: 3px;
  color: var(--color-white);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-decoration: none;
  z-index: 10;
  transition: opacity 0.38s ease, transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.project-card:hover .project-card__audit-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.project-card__audit-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.85);
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.project-card__audit-arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.project-card__audit-btn:hover .project-card__audit-arrow {
  transform: translate(2px, -2px);
}

/* Footer button under cards: VER MÁS PROYECTOS */
.projects__footer {
  width: 100%;
  max-width: 95vw;
  margin: 36px auto 0;
  display: flex;
  justify-content: flex-start;
}

/* Iconic Site Button for "Ver más proyectos" */
.projects__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  color: var(--color-white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
}

.projects__more-btn:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-black);
  transform: translateY(-2px);
  box-shadow: none;
}

.projects__more-btn-arrow {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.projects__more-btn:hover .projects__more-btn-arrow {
  transform: translate(2px, -2px);
}


/* ============================================================
   PROJECT FULLSCREEN MODAL (Fixed Hero + Sliding Detail)
   ============================================================ */

.project-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-black);
  z-index: 300;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.project-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Top bar inside modal */
.project-modal__nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 350;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--page-margin);
  pointer-events: none;
}

.project-modal__nav > * {
  pointer-events: auto;
}

.project-modal__logo-img {
  height: 13px;
  width: auto;
  filter: brightness(0) invert(1);
}

.project-modal__nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.project-modal__nav-link {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-white);
  opacity: 0.8;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.project-modal__nav-link:hover {
  opacity: 1;
}

/* Scrollable container */
.project-modal__scroll {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

/* Fixed Hero: 100%, 100vh, sticky top: 0 */
.project-modal__hero {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  z-index: 1;
  overflow: hidden;
}

.project-modal__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.project-modal__hero-content {
  position: absolute;
  bottom: 80px;
  left: var(--page-margin);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Back Button (Matches 3px border-radius of project buttons, clean shadow) */
.project-modal__back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(18, 18, 24, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  color: var(--color-white);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.01em;
  cursor: pointer;
  padding: 10px 22px;
  width: fit-content;
  box-shadow: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal__back-btn:hover {
  background: rgba(28, 28, 38, 0.92);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateX(-4px);
  box-shadow: none;
}

.project-modal__back-arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.project-modal__back-btn:hover .project-modal__back-arrow {
  transform: translateX(-2px);
}

.project-modal__hero-title {
  font-size: clamp(48px, 6.5vw, 84px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--color-white);
  margin: 0;
}

/* Sliding Detail Section (slides UP over the fixed hero) */
.project-modal__detail {
  position: relative;
  z-index: 2;
  background: var(--color-black);
  min-height: 100vh;
  padding: 120px var(--page-margin) 140px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.project-modal__detail-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 60px;
  align-items: start;
}

.project-modal__gallery {
  position: relative;
  width: 100%;
}

.project-modal__gallery-item {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0d;
}

.project-modal__gallery-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Info Column */
.project-modal__info-header {
  margin-bottom: 40px;
}

.project-modal__info-title {
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 8px;
}

.project-modal__info-year {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-gray);
  display: block;
}

.project-modal__overview {
  margin-bottom: 48px;
}

.project-modal__overview-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-gray);
  margin-bottom: 16px;
}

.project-modal__overview-text {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
}

/* Deliverables / Tags */
.project-modal__deliverables {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.project-modal__deliverable {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-white);
  text-transform: uppercase;
}

.project-modal__deliverable:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

/* See More Section */
.project-modal__see-more {
  margin-top: 140px;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.project-modal__see-more-title {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 36px;
}

.project-modal__see-more-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-modal__see-more-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: #0d0d12;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-modal__see-more-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}

.project-modal__see-more-card:hover img {
  transform: scale(1.04);
}

.project-modal__see-more-card-content {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  z-index: 2;
}

.project-modal__see-more-card-title {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-white);
}

.project-modal__see-more-card-year {
  font-size: 12px;
  color: var(--color-gray);
}

.project-modal__see-more-action {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

@media (max-width: 1024px) {
  .project-modal__detail-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .project-modal__gallery {
    position: static;
  }
  .project-modal__gallery-item {
    height: clamp(260px, 44vw, 360px);
  }
  .project-modal__see-more-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   SECTION 4: SISTEMAS MARCA BLANCA & AUTOMATIZACIONES
   ============================================================ */

.systems {
  position: relative;
  background: var(--color-black);
  padding: 40px var(--page-margin) 120px;
  overflow: hidden;
}

.systems__header {
  position: relative;
  margin-bottom: 64px;
}

.systems__top-bar {
  margin-bottom: 12px;
}

.systems__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--color-white);
}

.systems__line-wrapper {
  position: relative;
  left: calc(-1 * var(--page-margin));
  width: calc(100% + 2 * var(--page-margin));
  display: flex;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  margin-bottom: 24px;
}

.systems__line {
  width: 0%;
  max-width: 95%;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  margin: 0 auto;
}

.systems__title {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-white);
  max-width: 95vw;
  margin: 0 auto;
  padding-bottom: 16px;
  opacity: 0;
}

/* 3 Columns Grid */
.systems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 95vw;
  max-width: 95vw;
  margin: 0 auto;
}

/* Glassmorphism System Card */
.system-card {
  position: relative;
  background: rgba(14, 14, 18, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 620px;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
}

.system-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.system-card__preview {
  flex: 1;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: 100%;
  margin-bottom: 28px;
}

.system-card__footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
}

.system-card__title {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 6px;
}

.system-card__subtitle {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--color-gray-light);
}

/* Spotlight at the top of each card (Realistic Gaussian Blur Light Spill) */
.system-card__spotlight {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

/* Soft, physically realistic Gaussian blurred light cone */
.system-card__spotlight::before {
  content: "";
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.12) 40%, rgba(255, 255, 255, 0) 75%);
  filter: blur(32px);
  -webkit-filter: blur(32px);
}

/* Top specular highlight fading smoothly towards both sides */
.system-card__spotlight::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 15%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0.05) 85%, transparent 100%);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
}

/* ============================================================
   PRODUCT BADGE (shared by all 3 cards)
   ============================================================ */

.system-card__badge {
  position: absolute;
  top: 22px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  z-index: 10;
}

.system-card__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  animation: badgePulse 2.4s ease-in-out infinite;
}

.system-card__badge-dot--amber {
  background: rgba(251, 191, 36, 0.7);
}

.system-card__badge-dot--violet {
  background: rgba(139, 92, 246, 0.8);
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(0.75); }
}

/* ============================================================
   SECTION 4: RELAY — WhatsApp CRM Pipeline Widget
   ============================================================ */

.relay-widget {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 12px 0;
}

/* Pipeline row */
.relay-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 16px 18px;
}

.relay-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.relay-stage__icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  transition: background 0.3s;
}

.relay-stage--1 .relay-stage__icon { color: rgba(74, 222, 128, 0.8); }
.relay-stage--2 .relay-stage__icon { color: rgba(129, 140, 248, 0.85); }
.relay-stage--3 .relay-stage__icon { color: rgba(251, 191, 36, 0.8); }
.relay-stage--4 .relay-stage__icon { color: rgba(255, 255, 255, 0.7); }

.relay-stage__label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.38);
}

.relay-arrow {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

/* Metrics row */
.relay-metrics {
  display: flex;
  gap: 12px;
}

.relay-metric {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.relay-metric__value {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.9);
}

.relay-metric__label {
  font-size: 9.5px;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.3);
}

/* Live bubble */
.relay-bubble {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

.relay-bubble__dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.85);
  animation: relayBlink 1.6s ease-in-out infinite;
}

@keyframes relayBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ============================================================
   SECTION 4: CORELIA — Restaurant OS Table Grid Widget
   ============================================================ */

.corelia-widget {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 0;
}

/* Status bar */
.corelia-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 9px 14px;
}

.corelia-bar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.corelia-bar__dot--green {
  background: rgba(74, 222, 128, 0.85);
  animation: relayBlink 1.8s ease-in-out infinite;
}

.corelia-bar__text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  flex: 1;
}

.corelia-bar__badge {
  font-size: 10px;
  font-weight: 500;
  color: rgba(251, 191, 36, 0.8);
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 4px;
  padding: 2px 8px;
}

/* Table grid */
.corelia-tables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.corelia-table {
  border-radius: 8px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.3s;
}

.corelia-table--busy {
  background: rgba(251, 191, 36, 0.05);
  border-color: rgba(251, 191, 36, 0.14);
}

.corelia-table--free {
  background: rgba(255, 255, 255, 0.03);
}

.corelia-table--waiting {
  background: rgba(129, 140, 248, 0.06);
  border-color: rgba(129, 140, 248, 0.16);
}

.corelia-table__num {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.75);
}

.corelia-table__status {
  font-size: 9.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.3);
}

.corelia-table--busy .corelia-table__status   { color: rgba(251, 191, 36, 0.7); }
.corelia-table--waiting .corelia-table__status { color: rgba(129, 140, 248, 0.7); }

/* Revenue row */
.corelia-revenue {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 10px 14px;
}

.corelia-revenue__label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  flex: 1;
}

.corelia-revenue__value {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.01em;
}

.corelia-revenue__trend {
  font-size: 10px;
  font-weight: 500;
  color: rgba(74, 222, 128, 0.8);
}

/* ============================================================
   SECTION 4: VENDORA — E-commerce Funnel Widget
   ============================================================ */

.vendora-widget {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 12px 0;
}

/* Funnel steps row */
.vendora-funnel {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 16px 10px;
}

.vendora-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.vendora-step__connector {
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.vendora-step__icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
}

.vendora-step--active .vendora-step__icon {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.3);
  color: rgba(139, 92, 246, 0.9);
}

.vendora-step__name {
  font-size: 10px;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.3);
}

.vendora-step--active .vendora-step__name {
  color: rgba(139, 92, 246, 0.8);
}

.vendora-step__count {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}

.vendora-step--active .vendora-step__count {
  color: rgba(255, 255, 255, 0.9);
}

/* Conversion bar */
.vendora-conversion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vendora-conversion__label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

.vendora-conversion__pct {
  color: rgba(139, 92, 246, 0.85);
  font-weight: 500;
}

.vendora-conversion__bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.vendora-conversion__fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.6), rgba(139, 92, 246, 0.9));
  transition: width 1.2s ease;
}

/* Live sale notification */
.vendora-sale {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.vendora-sale strong {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.vendora-sale__pulse {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.9);
  animation: relayBlink 1.4s ease-in-out infinite;
}

/* ============================================================
   SECTION 4: HIGH-FIDELITY REFERENCE GRAPHICS (legacy kept)
   ============================================================ */

/* --- Card 1: AI Customer Operations (CRM + WhatsApp + IA) --- */
.editor-widget {
  position: relative;
  width: 100%;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.editor-widget__bubble {
  position: relative;
  background: rgba(14, 14, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.45;
  width: 90%;
  max-width: 320px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2;
}

.editor-widget__bubble-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}

.editor-widget__channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #a1a1aa;
}

.editor-widget__channel-badge svg {
  color: #22c55e;
}

.editor-widget__timestamp {
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.35);
}

.editor-widget__cursor-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  margin-right: 6px;
  vertical-align: middle;
}

.editor-widget__text-plain {
  color: rgba(255, 255, 255, 0.9);
  display: block;
  margin-bottom: 4px;
}

.editor-widget__text-select {
  display: inline-block;
  background: rgba(99, 102, 241, 0.32);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
  font-size: 11.5px;
}

/* Operations Telemetry Toolbar */
.editor-widget__toolbar {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(26, 26, 36, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 6px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  z-index: 2;
}

.editor-widget__tool-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

.editor-widget__tool-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.16);
}

.editor-widget__tool-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

/* Multi-Agent Gray Cursors with Larger Icons */
.editor-cursor {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
  animation: editorCursorFloat 4s infinite ease-in-out;
}

.editor-cursor__arrow {
  width: 16px;
  height: 16px;
  fill: #a1a1aa;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.editor-cursor--mark {
  top: 12px;
  left: 8px;
  animation-delay: 0s;
}

.editor-cursor--cedrik {
  top: 8px;
  right: 10px;
  animation-delay: 1.2s;
}

.editor-cursor--alim {
  bottom: 14px;
  left: 20px;
  animation-delay: 2.4s;
}

.editor-cursor--marcel {
  bottom: 12px;
  right: 14px;
  animation-delay: 1.8s;
}

.editor-cursor__tag {
  font-size: 10px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 12px;
  background: rgba(24, 24, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e4e4e7;
  letter-spacing: 0.02em;
}

@keyframes editorCursorFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}


/* --- Card 2: Autonomous Revenue Engine (Claude + [[ ]] + OpenAI - Minimalist) --- */
.tri-node-widget {
  position: relative;
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tri-node-wire {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-50%);
  z-index: 1;
}

.tri-node-vwire {
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

.tri-node-bead {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #0e0e14;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.tri-node-bead--top {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tri-node-bead--bottom {
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}

.tri-node-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 340px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.tri-node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tri-node:hover {
  transform: scale(1.08);
}

.tri-node__circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgba(28, 28, 38, 0.9) 0%, rgba(10, 10, 16, 0.98) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tri-node:hover .tri-node__circle {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.2);
}

.tri-node__circle--center {
  width: 90px;
  height: 90px;
  background: radial-gradient(circle at 50% 30%, rgba(34, 34, 46, 0.92) 0%, rgba(12, 12, 18, 0.98) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.tri-node__outer-ring {
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}


/* --- Card 3: Logistics & Dispatch AI (Constellation & Neural Dispatch Network) --- */
.constellation-widget {
  position: relative;
  width: 100%;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.constellation-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.ref-pod {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(22, 22, 32, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  user-select: none;
}

.ref-pod:hover {
  transform: scale(1.08) translateY(-2px);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7), 0 0 18px rgba(255, 255, 255, 0.15);
}

.ref-pod__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.ref-pod__dot--pulse {
  animation: podPulse 2s infinite ease-in-out;
}

@keyframes podPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.ref-pod__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #ffffff;
}

/* Pod layout coordinates */
.ref-pod--center {
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 8px 16px;
  background: rgba(30, 30, 44, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65), 0 0 16px rgba(255, 255, 255, 0.1);
}

.ref-pod--center:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.ref-pod--center .ref-pod__label {
  font-size: 12px;
  font-weight: 600;
}

.ref-pod--top-left {
  top: 10%;
  left: 8%;
}

.ref-pod--top-right {
  top: 14%;
  right: 8%;
}

.ref-pod--bottom-left {
  bottom: 24%;
  left: 10%;
}

.ref-pod--bottom-right {
  bottom: 22%;
  right: 10%;
}

/* Bottom Telemetry Status Pill */
.dispatch-telemetry {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 14px;
  background: rgba(14, 14, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  transition: all 0.3s ease;
  z-index: 3;
}

.dispatch-telemetry__pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

/* ============================================================
   CARD 1: RELAY — Floating Editor / Chat Scene
   (Reference: Image 1 — center message bubble with floating cursor tags)
   ============================================================ */

.relay-scene {
  position: relative;
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Central message bubble */
.relay-scene__message {
  position: relative;
  background: rgba(14, 14, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 16px 20px 12px;
  width: 84%;
  max-width: 300px;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2;
}

.relay-scene__cursor-line {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1px;
  margin-right: 6px;
  vertical-align: middle;
  animation: relayCursorBlink 1.1s ease-in-out infinite;
}

@keyframes relayCursorBlink {
  0%, 45% { opacity: 1; }
  55%, 100% { opacity: 0; }
}

.relay-scene__text {
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.01em;
  line-height: 1.5;
  display: block;
  margin-bottom: 10px;
}

/* Toolbar row at bottom of bubble */
.relay-scene__toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.relay-scene__toolbar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.relay-scene__toolbar-dot--green {
  background: rgba(74, 222, 128, 0.9);
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.6);
  animation: relayBlink 1.6s ease-in-out infinite;
}

.relay-scene__toolbar-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.03em;
}

.relay-scene__toolbar-label--bright {
  color: rgba(255, 255, 255, 0.65);
}

.relay-scene__toolbar-sep {
  width: 1px;
  height: 10px;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

/* Floating cursor tags (like the Mark / Cedrik / Alim / Marcel bubbles in image 1) */
.relay-cursor {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
  animation: relayCursorFloat 4s ease-in-out infinite;
}

.relay-cursor__arrow {
  width: 14px;
  height: 14px;
  fill: #a1a1aa;
  flex-shrink: 0;
}

.relay-cursor__tag {
  font-size: 10px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 12px;
  background: rgba(20, 20, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e4e4e7;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Cursor positions */
.relay-cursor--tl {
  top: 14px;
  left: 8px;
  animation-delay: 0s;
}

.relay-cursor--tr {
  top: 10px;
  right: 8px;
  animation-delay: 1.3s;
}

.relay-cursor--bl {
  bottom: 18px;
  left: 14px;
  animation-delay: 2.5s;
}

.relay-cursor--br {
  bottom: 14px;
  right: 8px;
  animation-delay: 0.8s;
}

@keyframes relayCursorFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-5px); }
}


/* ============================================================
   CARD 3: VENDORA — Hub & Satellite Node Scene
   (Reference: Image 3 — central hub with radial connected nodes)
   ============================================================ */

.vendora-scene {
  position: relative;
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG lines drawn underneath */
.vendora-scene__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Central hub */
.vendora-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vendora-hub__ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.18);
  animation: vendoraRingPulse 3s ease-in-out infinite;
}

@keyframes vendoraRingPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.06); }
}

.vendora-hub__circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgba(30, 20, 50, 0.96) 0%, rgba(10, 8, 18, 0.99) 100%);
  border: 1.5px solid rgba(139, 92, 246, 0.35);
  box-shadow:
    0 0 28px rgba(139, 92, 246, 0.18),
    0 16px 36px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.vendora-hub__value {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.92);
}

.vendora-hub__label {
  font-size: 8.5px;
  letter-spacing: 0.06em;
  color: rgba(139, 92, 246, 0.8);
  text-transform: uppercase;
}

/* Satellite nodes */
.vendora-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 2;
  animation: vendoraNodeFloat 5s ease-in-out infinite;
}

.vendora-node--tl {
  top: 12%;
  left: 10%;
  animation-delay: 0s;
}

.vendora-node--tr {
  top: 12%;
  right: 10%;
  animation-delay: 1.4s;
}

.vendora-node--bl {
  bottom: 12%;
  left: 10%;
  animation-delay: 2.8s;
}

.vendora-node--br {
  bottom: 12%;
  right: 10%;
  animation-delay: 0.7s;
}

@keyframes vendoraNodeFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-4px); }
}

.vendora-node__circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgba(26, 26, 36, 0.9) 0%, rgba(10, 10, 16, 0.98) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.vendora-node__circle--active {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow:
    0 0 16px rgba(139, 92, 246, 0.2),
    0 10px 24px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: rgba(139, 92, 246, 0.85);
}

.vendora-node__circle:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15), 0 10px 24px rgba(0, 0, 0, 0.6);
}

.vendora-node__tag {
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
}


/* Responsive Systems Section */
@media (max-width: 1024px) {
  .systems__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .system-card {
    min-height: auto;
  }
}


/* ============================================================
   FOOTER (Matches Footer.png)
   ============================================================ */

.footer {
  position: relative;
  background: var(--color-black);
  padding: 130px var(--page-margin) 40px;
  overflow: hidden;
}

.footer__container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__headline-wrapper {
  margin-bottom: 44px;
  max-width: 960px;
}

.footer__headline {
  font-size: clamp(38px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--color-white);
}

.footer__headline--bold {
  font-weight: 500;
  color: var(--color-white);
}

.footer__form {
  width: 100%;
  max-width: 640px;
  margin-bottom: 80px;
}

.footer__input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding-bottom: 10px;
  transition: border-color 0.3s ease;
}

.footer__input-wrapper:focus-within {
  border-color: rgba(255, 255, 255, 0.9);
}

.footer__input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 300;
  font-family: var(--font-family);
  letter-spacing: 0.01em;
}

.footer__input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

/* Glassmorphism Send Button (Matches 3px border-radius of project buttons, clean shadow) */
.footer__send-btn {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  color: var(--color-white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  cursor: pointer;
  padding: 9px 24px;
  margin-left: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow: none;
}

.footer__send-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: none;
}

.footer__feedback {
  display: none;
}

/* ============================================================
   PUSH TOAST NOTIFICATION (Next.js / Vercel Glassmorphism Style)
   ============================================================ */

.push-toast {
  position: fixed;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%) translateY(32px);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  will-change: transform, opacity;
}

.push-toast.is-active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.push-toast__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 16px;
  background: rgba(16, 16, 22, 0.88);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 4px 16px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

.push-toast__icon-wrap {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.38);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.push-toast--error .push-toast__icon-wrap {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.38);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.28);
}

.push-toast__check-svg {
  width: 16px;
  height: 16px;
  display: block;
}

.push-toast__check-path {
  stroke-dasharray: 28;
  stroke-dashoffset: 28;
  animation: pushToastCheckDraw 0.5s 0.18s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

@keyframes pushToastCheckDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.push-toast__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.push-toast__title {
  font-family: var(--font-primary);
  font-size: 13.5px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.push-toast__message {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.01em;
}

.push-toast__close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 5px;
  margin-left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  transition: color 0.2s ease, background 0.2s ease;
}

.push-toast__close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.footer__watermark-img {
    width: 95vw;
    max-width: 1420px;
    height: auto;
    opacity: 0.14;
    filter: brightness(0.70);
    display: block;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
}

.footer__watermark {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 70px 0 40px;
    pointer-events: none;
    user-select: none;
}

.footer__bottom {
  width: 100%;
  max-width: 95vw;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: none;
}

.footer__privacy-link {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__privacy-link:hover {
  color: #ffffff;
  opacity: 1;
}

.footer__imprint {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 768px) {
  .footer {
    padding: 100px var(--page-margin) 32px;
  }
  .footer__headline-wrapper {
    margin-bottom: 32px;
  }
  .footer__form {
    margin-bottom: 60px;
  }
  .footer__watermark {
    margin: 20px 0 50px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ============================================================
   WORKS PAGE (proyectos.html) - Matches Reference Image Works
   ============================================================ */

.works-page {
  position: relative;
  background-color: var(--color-black);
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 60px;
}

.works-header {
  padding: 0 var(--page-margin) 44px;
}

.works-title {
  font-family: var(--font-primary);
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 400;
  letter-spacing: -0.035em;
  color: var(--color-white);
  line-height: 1;
}

.works-counter {
  display: inline-block;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.04em;
  vertical-align: middle;
  margin-left: 12px;
  font-variant-numeric: tabular-nums;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0 var(--page-margin);
  width: 100%;
}

.works-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1.85 / 1;
  overflow: hidden;
  border-radius: 4px;
  background: #0a0a0d;
  cursor: pointer;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.works-card__img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.works-card__img {
  position: absolute;
  top: -18%;
  left: 0;
  width: 100%;
  height: 136%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: filter 0.5s ease;
  will-change: transform;
}

.works-card:hover .works-card__img {
  filter: brightness(1.08);
}

.works-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.12) 42%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.works-card__content {
  position: absolute;
  bottom: 24px;
  left: 28px;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.works-card__title {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-white);
  line-height: 1.1;
}

.works-card__year {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 768px) {
  .works-page {
    padding-top: 110px;
  }
  .works-header {
    padding: 0 var(--page-margin) 28px;
  }
  .works-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .works-card {
    aspect-ratio: 1.85 / 1;
  }
  .works-card__content {
    bottom: 18px;
    left: 20px;
  }
}

/* ============================================================
   CUSTOM CURSOR (Glassmorphism Ring matching User Specs)
   - Interior: Glassmorphism (blur + subtle translucent fill)
   - Border: 0.8px solid rgba(255, 255, 255, 0.75)
   - Expanded Hover: Longer duration (0.38s ease)
   - Projects Card Hover: White frosted Glassmorphism
   ============================================================ */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border: 0.8px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  will-change: transform, width, height, border-color, background;
  transition: width 0.42s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.42s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.32s ease,
              background-color 0.32s ease,
              backdrop-filter 0.32s ease,
              box-shadow 0.32s ease,
              opacity 0.22s ease;
}

.custom-cursor.is-visible {
  opacity: 1 !important;
}

.custom-cursor__label {
  font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  user-select: none;
}

/* Interactive elements hover (links, buttons, inputs) */
.custom-cursor.is-hovering {
  width: 48px;
  height: 48px;
  border: 0.8px solid rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
}

/* Card Hover State (Projects & Works cards: Subtle Frosted Glassmorphism) */
.custom-cursor.is-card-hovering {
  width: 68px;
  height: 68px;
  border: 0.8px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35), inset 0 0 12px rgba(255, 255, 255, 0.06);
}

.custom-cursor.is-card-hovering .custom-cursor__label {
  opacity: 1;
  transform: scale(1);
}

/* Click feedback */
.custom-cursor.is-clicking {
  width: 24px;
  height: 24px;
}

.custom-cursor.is-hovering.is-clicking {
  width: 38px;
  height: 38px;
}

/* Menu Overlay Quick Contact Email */
.menu-overlay__email {
  display: inline-block;
  font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-decoration: none;
  padding: 6px 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu-overlay__email:hover {
  opacity: 0.75;
  transform: translateX(2px);
}

/* Footer Email Link */
.footer__email-link {
  font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__email-link:hover {
  color: #ffffff;
}

.footer__bottom-sep {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 10px;
  font-size: 11px;
}

/* Hide custom cursor on pure touch devices */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
}

/* ============================================================
   PRIVACY POLICY PAGE (Full Viewport Width Editorial Layout)
   ============================================================ */
.privacy-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 130px 48px 80px;
  max-width: 1380px;
  margin: 0 auto;
}

.privacy-page__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 28px;
  margin-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.privacy-page__title {
  font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: clamp(38px, 5.5vw, 76px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: #ffffff;
}

.privacy-page__meta {
  text-align: right;
  flex-shrink: 0;
}

.privacy-page__meta-label {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

.privacy-page__meta-date {
  font-size: 13px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.privacy-page__content {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 100%;
}

.privacy-page__content p {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.82;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 300;
  letter-spacing: -0.01em;
}

.privacy-page__content p strong {
  color: #ffffff;
  font-weight: 500;
}

.privacy-page__content a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s ease;
}

.privacy-page__content a:hover {
  opacity: 0.75;
}

@media (max-width: 900px) {
  .privacy-page {
    padding: 100px 24px 60px;
  }
  .privacy-page__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .privacy-page__meta {
    text-align: left;
  }
}

/* ============================================================
   SYSTEM CARD: SOLICITAR DEMO CTA BUTTON (Flush Rectangular Style)
   ============================================================ */

.system-card__demo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin: 22px 0 0 0;
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-primary);
  letter-spacing: -0.01em;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-sizing: border-box;
}

.system-card__demo-btn:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.16);
}

.system-card__demo-text {
  position: relative;
  z-index: 1;
}

.system-card__demo-arrow {
  font-size: 13px;
  display: inline-block;
  transition: transform 0.25s ease;
}

.system-card__demo-btn:hover .system-card__demo-arrow {
  transform: translate(2px, -2px);
}

/* ============================================================
   PÁGINA 404 (ERROR NOT FOUND)
   ============================================================ */

.error-page-body {
  background-color: #000000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 24px 90px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.error-container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.error-decor {
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 22px;
}

.error-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  margin: 0 auto 16px;
  text-align: center;
}

.error-eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.9);
  animation: errorDotPulse 1.4s ease-in-out infinite;
}

@keyframes errorDotPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.95);
  }
  50% {
    opacity: 0.25;
    transform: scale(0.8);
    box-shadow: 0 0 2px rgba(239, 68, 68, 0.25);
  }
}

.error-code {
  font-size: clamp(6.5rem, 18vw, 13rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #ffffff 45%, rgba(255, 255, 255, 0.2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 auto 18px;
  text-align: center;
  user-select: none;
  width: 100%;
}

.error-title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 auto 16px;
  text-align: center;
  width: 100%;
}

.error-description {
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  margin: 0 auto 38px;
  text-align: center;
  width: 100%;
}

.error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin: 0 auto;
}

.error-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-decoration: none;
  transition: all 0.25s ease;
  opacity: 1;
}

.error-btn-primary:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.error-btn-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.error-btn-primary:hover .error-btn-arrow {
  transform: translate(2px, -2px);
}

.error-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-decoration: none;
  transition: all 0.25s ease;
  opacity: 1;
}

.error-btn-secondary:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.error-btn-secondary__arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.error-btn-secondary:hover .error-btn-secondary__arrow {
  transform: translate(2px, -2px);
}

/* Minimal 404 Footer Bar */
.error-footer {
  width: 95vw;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0 32px;
}

.error-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-footer__brand {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}

.error-footer__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.error-footer__link {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}

.error-footer__link:hover {
  color: #ffffff;
}

.error-footer__imprint {
  color: rgba(255, 255, 255, 0.35);
}

