/* ================================================
   OWLY — CSS Foundation
   Variables, reset, base layout only.
   Sections styled individually in later phases.
   ================================================ */

/* -----------------------------------------------
   DESIGN TOKENS
----------------------------------------------- */
:root {
  /* Colors */
  --color-bg:          #0a0a0a;
  --color-surface:     #111111;
  --color-surface-2:   #1a1a1a;
  --color-accent:      #ff6200;   /* Orange */
  --color-accent-dark: #cc4e00;
  --color-text:        #f0f0f0;
  --color-text-muted:  #888888;
  --color-border:      #2a2a2a;

  /* Typography */
  --font-sans:    'Poppins', sans-serif;
  --font-display: 'Poppins', sans-serif;

  --text-xs:   0.75rem;    /*  12px */
  --text-sm:   0.875rem;   /*  14px */
  --text-base: 1rem;       /*  16px */
  --text-lg:   1.125rem;   /*  18px */
  --text-xl:   1.25rem;    /*  20px */
  --text-2xl:  1.5rem;     /*  24px */
  --text-3xl:  2rem;       /*  32px */
  --text-4xl:  2.5rem;     /*  40px */
  --text-5xl:  3.5rem;     /*  56px */
  --text-6xl:  5rem;       /*  80px */
  --text-7xl:  7rem;       /* 112px */

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1600px;
  --container-pad: var(--space-8);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   300ms ease;
  --transition-slow:   500ms ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

button, input, textarea, select {
  font: inherit;
}

/* -----------------------------------------------
   LAYOUT UTILITIES
----------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

section {
  padding-block: var(--space-24);
}

/* -----------------------------------------------
   SHARED TYPOGRAPHY
----------------------------------------------- */
.section__label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: var(--space-8);
}

/* -----------------------------------------------
   BUTTONS
----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background-color: var(--color-accent-dark);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* -----------------------------------------------
   NAVBAR
----------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-block: var(--space-4);
  background-color: transparent;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0;
  padding-block: var(--space-2);
  padding-inline: var(--container-pad);
  transition:
    background-color var(--transition-base),
    border-radius var(--transition-base),
    max-width var(--transition-base),
    box-shadow var(--transition-base),
    padding var(--transition-base);
}

/* Estado scrolled — pill blanco */
.navbar--scrolled .navbar__inner {
  background-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-radius: var(--radius-full);
  max-width: 1100px;
  padding-inline: var(--space-6);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.12);
}

/* Logo oscuro al hacer scroll */
.navbar--scrolled .navbar__logo img {
  filter: brightness(0);
}

/* Textos oscuros al hacer scroll */
.navbar--scrolled .navbar__lang {
  color: #111;
}

.navbar--scrolled .navbar__desktop-link {
  color: rgba(0, 0, 0, 0.65);
}

.navbar--scrolled .navbar__desktop-link:hover {
  color: #000;
}


.navbar--scrolled .navbar__lang-arrow {
  color: #111;
}

.navbar__logo img {
  height: 32px;
  width: auto;
  transition: filter var(--transition-base);
}

/* Right-side actions group */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Language toggle */
.navbar__lang {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  background: none;
  border: none;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: var(--space-2) var(--space-3);
  transition: color var(--transition-fast);
}

.navbar__lang:hover {
  color: var(--color-accent);
}

.navbar__lang-arrow {
  display: flex;
  align-items: center;
  color: #fff;
}

.navbar__lang-wrap {
  position: relative;
}

.navbar__lang-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 6px;
  background-color: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.navbar__lang-dropdown::before {
  content: '';
  position: absolute;
  inset: 6px 0 0 0;
  background-color: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  z-index: -1;
}

.navbar__lang-wrap:hover .navbar__lang-dropdown {
  opacity: 1;
  pointer-events: all;
}

.navbar__lang-option {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.navbar__lang-option:hover {
  color: var(--color-accent);
}

/* Hamburger button — solo visible en tablet/mobile */
@media (min-width: 961px) {
  .navbar__hamburger { display: none !important; }
}

/* Hamburger button — círculo naranja */
.navbar__hamburger {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-accent);
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  transition: background-color var(--transition-fast);
}

.navbar__hamburger:hover {
  background-color: var(--color-accent-dark);
}

.navbar__hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

/* Hamburger → X cuando está abierto */
.navbar__hamburger.is-open span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}
.navbar__hamburger.is-open span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Desktop nav pill — centro del navbar */
.navbar__desktop-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  border-radius: var(--radius-full);
  padding: 5px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navbar__desktop-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 7px 18px;
  border-radius: 0;
  transition: color var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.navbar__desktop-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 18px;
  right: 18px;
  height: 2px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.navbar__desktop-link:hover {
  color: #fff;
}

.navbar__desktop-link:hover::after {
  transform: scaleX(1);
}


/* Ocultar en tablet/mobile */
@media (max-width: 960px) {
  .navbar__desktop-nav { display: none; }
}

/* -----------------------------------------------
   NAV DRAWER
----------------------------------------------- */
/* -----------------------------------------------
   NAV FULLSCREEN
----------------------------------------------- */
.nav-fullscreen {
  position: fixed;
  inset: 0;
  background-color: var(--color-bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.55s cubic-bezier(0.77, 0, 0.18, 1);
}

.nav-fullscreen.is-open {
  clip-path: inset(0 0 0% 0);
}

.nav-fullscreen__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  padding-top: 90px;
}

/* Left: nav items */
.nav-fullscreen__nav {
  padding: var(--space-12) var(--space-12) var(--space-12) var(--space-16);
  display: flex;
  align-items: center;
}

.nav-fullscreen__nav ul {
  width: 100%;
  list-style: none;
}

.nav-fullscreen__nav li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-fullscreen__nav li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-fullscreen__item {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-block: var(--space-6);
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.nav-fullscreen__item:hover {
  color: var(--color-accent);
}

.nav-fullscreen__num {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 400;
  min-width: 24px;
}

.nav-fullscreen__name {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  flex: 1;
}

.nav-fullscreen__arrow {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.nav-fullscreen__item:hover .nav-fullscreen__arrow {
  color: var(--color-accent);
}

/* Right: orange visual */
.nav-fullscreen__visual {
  background-color: var(--color-accent);
  margin: var(--space-8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.nav-fullscreen__default {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-fullscreen__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nav-fullscreen__video.is-visible {
  opacity: 1;
}

/* -----------------------------------------------
   HERO
----------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  display: flex;
  align-items: center;
  z-index: 0;
  overflow: hidden;
}

/* Video de fondo */
.hero__video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--color-surface-2); /* placeholder hasta tener video */
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay oscuro sobre el video para legibilidad del texto */
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
  z-index: 1;
}

/* Contenido encima del video */
.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 80px; /* offset navbar */
}

.hero__content {
  max-width: 700px;
}

.hero__eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.hero__title {
  font-size: var(--text-6xl);
  font-weight: 800;
  line-height: 1.0;
  margin-bottom: var(--space-6);
}

.hero__title span {
  color: var(--color-text);
}

.hero__description {
  font-size: var(--text-lg);
  color: var(--color-text);
  max-width: 480px;
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* -----------------------------------------------
   ECOSYSTEM / CIRCLES
----------------------------------------------- */
.ecosystem {
  position: relative;
  background-color: #f2f0ee;
  overflow: hidden;
  padding-block: var(--space-24);
}

/* Elemento decorativo — anillos SVG difuminados */
.ecosystem__deco {
  position: absolute;
  top: -60px;
  right: -100px;
  width: 733px;
  height: 671px;
  pointer-events: none;
  overflow: visible;
}

.ecosystem__container {
  position: relative;
  z-index: 1;
}

/* Label "——— ABOUT US ———" */
.ecosystem__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.ecosystem__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: var(--space-4);
}

.ecosystem__label-line {
  display: block;
  width: 48px;
  height: 1px;
  background-color: #aaa;
}

.ecosystem__title {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.1;
}

.ecosystem__title span {
  color: var(--color-accent);
}

/* Círculos solapados */
.ecosystem__circles {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--space-8);
}

.ecosystem__circle {
  width: 380px;
  height: 380px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--color-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  text-align: center;
  background-color: rgba(242, 240, 238, 0.6);
  margin-inline: -40px; /* solapamiento */
}

.circle__number {
  display: block;
  font-size: var(--text-4xl);
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: var(--space-4);
  line-height: 1;
}

.circle__text {
  font-size: var(--text-sm);
  color: #444;
  line-height: 1.7;
  max-width: 220px;
}

/* -----------------------------------------------
   DISCOVER — SERVICES
----------------------------------------------- */
.discover {
  background-color: #000;
  background-image: url('../img/discover-bg.svg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding-block: var(--space-24);
}

/* --- Top row: solo header --- */
.discover__top {
  margin-bottom: var(--space-6);
}

/* Header left */
.discover__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.discover__label-line {
  display: block;
  width: 32px;
  height: 1px;
  background-color: var(--color-text-muted);
}

.discover__title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.discover__title span {
  color: var(--color-accent);
}

.discover__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: var(--space-6);
}

.discover__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.discover__cta:hover {
  color: var(--color-accent);
}

/* Franja: Services → | nombres */
.discover__names-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  margin-bottom: var(--space-10);
  padding-block: var(--space-6);
}

/* Nombres servicios */
.discover__names {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-end;
}

.discover__name {
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: #fff;
  text-transform: uppercase;
  text-align: right;
}

/* --- Texto intro (sin card) --- */
.svc-intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-4) var(--space-2) var(--space-4) 0;
}

.svc-intro__title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.25;
  margin-bottom: var(--space-3);
}

.svc-intro__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Botones "View more" dentro de cards oscuras */
.svc-card .btn--ghost {
  border-color: #fff;
}

/* --- Cards grid --- */
.discover__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

/* Base card */
a.svc-card {
  text-decoration: none;
  cursor: pointer;
}

.svc-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: border-color var(--transition-base), background var(--transition-base);
  overflow: hidden;
}

.svc-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

.svc-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Número — arriba */
.svc-card__num {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: auto; /* empuja el contenido al fondo */
}

/* Contenido — abajo */
.svc-card__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: var(--space-3);
  margin-top: var(--space-10);
}

.svc-card__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 1);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}


/* -----------------------------------------------
   PORTFOLIO
----------------------------------------------- */
.portfolio {
  background-color: var(--color-bg);
  padding-block: var(--space-24);
}

/* Header */
.portfolio__header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.portfolio__label,
.portfolio__sublabel {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.portfolio__label-line {
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--color-text-muted);
}

.portfolio__title {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-3);
}

.portfolio__title span {
  color: var(--color-accent);
}

.portfolio__sublabel {
  margin-bottom: var(--space-6);
}

/* Grid 2×2 */
.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

a.portfolio__img-wrap {
  display: block;
  text-decoration: none;
}

.portfolio__hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.portfolio__img-wrap--hover:hover .portfolio__hover-video {
  opacity: 1;
}

.portfolio__img-wrap {
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-lg);
}


.portfolio__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.portfolio__img-wrap:hover img {
  transform: scale(1.03);
}

/* Grid 2×2 — altura de cada celda */
.portfolio__grid .portfolio__img-wrap img {
  height: 420px;
}

/* -----------------------------------------------
   BRANDING — YOU + IMAGE + ADN
----------------------------------------------- */
.branding-scroll {
  height: 280vh;
}

.branding-section {
  position: sticky;
  top: 0;
  height: 100vh;
  background-color: var(--color-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glow naranja central de fondo */
.branding__glow {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(
    ellipse at center,
    rgba(180, 70, 0, 0.45) 0%,
    rgba(140, 50, 0, 0.2) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.branding__text {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  pointer-events: none;
  padding: var(--space-24) var(--space-8) var(--space-12);
}

/* Label centrado */
.branding__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-8);
}

.branding__label-line {
  display: block;
  width: 48px;
  height: 1px;
  background-color: var(--color-text-muted);
}

/* Row: YOU — ADN */
.branding__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: var(--space-8);
}

.branding__word {
  font-size: clamp(4rem, 11vw, 9rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-text);
  text-align: center;
}

.branding__image {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: min(460px, 45vw);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  transform-origin: center center;
  will-change: transform, border-radius;
  flex-shrink: 0;
}

.branding__image img,
.branding__image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.branding__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

/* Descripción centrada */
.branding__desc {
  text-align: center;
  font-size: var(--text-base);
  color: #fff;
  line-height: 1.75;
  max-width: 520px;
  margin-inline: auto;
}

/* -----------------------------------------------
   UX / UI DESIGN — DEVICE MOCKUPS
----------------------------------------------- */
.uxui-section {
  background-color: var(--color-bg);
  padding-block: var(--space-8) var(--space-16);
}

.uxui-section--cards {
  padding-block: var(--space-8) var(--space-16);
}

/* ── Showcase scroll-zoom (mismo patrón que branding, al revés) ── */
.uxui-scroll {
  height: 430vh;
}

.uxui-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#uxui-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: clip-path;
}

.uxui-showcase__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.uxui-showcase__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.25) 50%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.uxui-showcase__text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8);
  z-index: 2;
}

.uxui-showcase__label {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 var(--space-4);
}

.uxui-showcase__label-line {
  display: block;
  width: 40px;
  height: 1px;
  background: #fff;
}

.uxui-showcase__title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 var(--space-6);
  max-width: 560px;
}

/* ── Nuevo layout dos cards ── */
.uxui-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: var(--space-8);
}

.uxui-duo__card {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  position: relative;
}

.uxui-duo__card img,
.uxui-duo__card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.uxui-duo__text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-8) var(--space-6) var(--space-6);
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}

.uxui-duo__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 var(--space-2);
}

.uxui-duo__desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
  margin: 0;
  max-width: 380px;
}

/* ── UX/UI cards reveal (inside sticky) ── */
.uxui-cards-reveal {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  pointer-events: none;
}

.uxui-cards-reveal.is-active {
  pointer-events: auto;
}

.uxui-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  width: calc((100% - 24px) / 3);
  aspect-ratio: 3 / 4;
  max-height: 82vh;
  text-decoration: none;
  background: #111;
  flex-shrink: 0;
  will-change: transform, opacity;
}

.uxui-card img,
.uxui-card canvas,
.uxui-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.uxui-card:hover img,
.uxui-card:hover canvas,
.uxui-card:hover video {
  transform: scale(1.04);
}

.uxui-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
  transition: opacity 0.3s ease;
}

.uxui-card:hover .uxui-card__overlay {
  opacity: 0.9;
}

.uxui-card__hover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  opacity: 1;
  transition: background 0.35s ease;
  z-index: 2;
}

.uxui-card:hover .uxui-card__hover {
  background: rgba(0, 0, 0, 0.7);
}

.uxui-card__hover-logo {
  width: 160px !important;
  height: auto !important;
  max-width: 55%;
  filter: brightness(0) invert(1);
  pointer-events: none;
  display: block;
}

.uxui-card__hover-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  color: #fff;
  background: var(--color-accent);
  white-space: nowrap;
  transition: background 0.25s ease;
}

.uxui-card__hover-btn:hover {
  background: var(--color-accent-dark);
}

.uxui-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.uxui-card__tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.uxui-card__title {
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.uxui-card__arrow {
  display: flex;
  align-items: center;
  color: #fff;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin-top: var(--space-2);
}

.uxui-card:hover .uxui-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .uxui-cards-reveal {
    flex-direction: column;
    gap: 8px;
    padding: 24px 16px;
  }
  .uxui-card {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 3;
    max-height: none;
  }
}

.uxui__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: var(--space-8);
}

.uxui__label-line {
  display: block;
  width: 48px;
  height: 1px;
  background-color: #aaa;
}

.uxui__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 460px);
  gap: var(--space-3);
}


a.uxui__item {
  text-decoration: none;
  cursor: pointer;
}

.uxui__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  position: relative;
}

/* Video hover — primera card UX/UI */
.uxui__hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.uxui__item--hover:hover .uxui__hover-video {
  opacity: 1;
}

.uxui__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.uxui__item:hover img {
  transform: scale(1.03);
}

/* -----------------------------------------------
   OWLY SALES BANNER
----------------------------------------------- */
/* Inner elements reutilizados dentro de .dash-text */

.owlysales-banner__logo {
  width: 180px;
  max-width: 60%;
  height: auto;
  display: block;
  margin: 0 auto 24px;
}

.owlysales-banner__label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 var(--space-6);
  justify-content: center;
}

.owlysales-banner__label-line {
  flex: 1;
  height: 1px;
  background: #fff;
  max-width: 40px;
}

.owlysales-banner__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-6);
}

.owlysales-banner__desc {
  font-size: var(--text-sm);
  color: #fff;
  line-height: 1.8;
  text-align: center;
  margin: 0 0 var(--space-8);
}

.owlysales-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  margin-top: var(--space-4);
}

.owlysales-banner__btn:hover {
  background: #d94400;
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .owlysales-banner__inner {
    grid-template-columns: 1fr;
  }

  .owlysales-banner__image {
    aspect-ratio: 16 / 9;
  }

  .owlysales-banner {
    padding-bottom: var(--space-12);
  }

  .owlysales-banner__content {
    padding: var(--space-10) var(--space-6) 0;
  }

  .owlysales-banner__label {
    justify-content: flex-start;
  }
}

/* -----------------------------------------------
   DASHBOARD UI — SCROLL VIDEO SCRUB
------------------------------------------------ */
.dash-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.dash-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.dash-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.dash-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
  pointer-events: none;
}

.dash-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-8);
  z-index: 2;
}

.dash-label {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  margin: 0 0 var(--space-4);
}

.dash-label-line {
  display: block;
  width: 40px;
  height: 1px;
  background: #fff;
}

.dash-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 var(--space-6);
}

/* -----------------------------------------------
   STATS BAR
----------------------------------------------- */
.stats-bar {
  background-color: var(--color-accent);
  padding-block: var(--space-12);
}

.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  padding-inline: var(--space-8);
}

.stats-bar__item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.stats-bar__number {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stats-bar__label {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  line-height: 1.4;
}

/* -----------------------------------------------
   PARTNERS — LOGO GRID
----------------------------------------------- */
.partners {
  background-color: #f0efed;
  padding-block: var(--space-16);
}

/* Wrapper */
.partners__wrapper {
  padding: var(--space-12);
}

/* Header: título izquierda + descripción derecha */
.partners__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: end;
  margin-bottom: var(--space-16);
}

.partners__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: var(--space-4);
}

.partners__label-line {
  display: block;
  width: 36px;
  height: 1px;
  background-color: #aaa;
}

.partners__title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #111;
  line-height: 1.1;
}

.partners__title span {
  color: var(--color-accent);
}

.partners__header-right p {
  font-size: var(--text-sm);
  color: #555;
  line-height: 1.75;
  text-align: right;
}

/* Grid 9 columnas */
.partners__grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 6px;
}

@keyframes logo-slide-up {
  0%   { transform: translateY(0);     }
  40%  { transform: translateY(-120%); }
  41%  { transform: translateY(120%);  }
  100% { transform: translateY(0);     }
}

@keyframes logo-slide-from-top {
  0%   { transform: translateY(-120%); }
  100% { transform: translateY(0);     }
}

/* Celda base */
.partner-cell {
  background-color: #e0e0e0;
  border-radius: 6px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  overflow: hidden;
  position: relative;
  transition: background-color var(--transition-fast);
}

.partner-cell:hover {
  background-color: var(--color-accent);
}

.partner-cell img {
  max-width: 72%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: filter var(--transition-fast);
}


.partner-cell img.partner-clone {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 72%;
  max-height: 48px;
  object-fit: contain;
  pointer-events: none;
}

/* -----------------------------------------------
   GLOBAL EXPERIENCE
----------------------------------------------- */
.global {
  background-color: #f0efed;
  padding-block: var(--space-20);
}

/* Título centrado */
.global__title {
  text-align: center;
  margin-bottom: var(--space-12);
}

.global__title h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: #111;
  line-height: 1.15;
}

.global__title h2 span {
  color: var(--color-accent);
}

/* 3 columnas */
.global__main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-8);
  align-items: center;
  max-width: 1100px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

/* Izquierda — países */
.global__countries {
  padding-right: var(--space-8);
}

.global__count {
  font-size: var(--text-xl);
  font-weight: 900;
  color: #111;
  margin-bottom: var(--space-1);
}

.global__projects {
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: var(--space-6);
}

.global__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.global__list li {
  font-size: var(--text-sm);
  color: #444;
  line-height: 1.6;
}

/* Centro — globo */
.global__globe {
  width: clamp(280px, 38vw, 460px);
}

.global__globe canvas {
  width: 100% !important;
  height: auto !important;
  display: block;
}

/* Derecha — círculos solapados */
.global__circles {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.global__circle {
  width: 185px;
  height: 185px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 98, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-6);
  background-color: #f0efed;
  position: relative;
  z-index: 1;
}

.global__circle:not(:first-child) {
  margin-top: -44px;
}

.global__circle:nth-child(2) { z-index: 2; }
.global__circle:nth-child(3) { z-index: 3; }

.global__circle-num {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 900;
  color: #111;
  line-height: 1;
  display: block;
  margin-bottom: var(--space-2);
}

.global__circle p {
  font-size: var(--text-xs);
  color: #666;
  line-height: 1.45;
}

/* Bottom: wireframe + quote */
.global__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-top: var(--space-16);
}

.global__map {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.global__map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.global__quote-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
  text-transform: none;
}

.global__quote h3 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #111;
  line-height: 1.2;
}

/* -----------------------------------------------
   READY TO BRING — PROCESS STEPS
----------------------------------------------- */
.ready {
  background-color: #f0efed;
  padding-block: var(--space-20);
}

.ready__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #111;
  line-height: 1.15;
  margin-bottom: var(--space-12);
}

.ready__title span {
  color: var(--color-accent);
}

/* Steps list */
.ready__steps {
  display: flex;
  flex-direction: column;
}

.ready__step {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  align-items: center;
  padding-block: var(--space-8);
  border-top: 1px solid #c8c0b8;
  overflow: hidden;

  /* Sticky stacking */
  position: sticky;
  top: 80px;
  background-color: #f0efed;
  transform-origin: top center;
  will-change: transform;
}

.ready__step:nth-child(1) { z-index: 1; }
.ready__step:nth-child(2) { z-index: 2; }
.ready__step:nth-child(3) { z-index: 3; }
.ready__step:nth-child(4) { z-index: 4; }

.ready__step--last {
  border-bottom: 1px solid #c8c0b8;
}

/* Col 1: número + nombre */
.ready__step-left {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}

.ready__step-num {
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  flex-shrink: 0;
}

.ready__step-name {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 900;
  color: #111;
  line-height: 1;
  white-space: nowrap;
}

/* Col 2: subtítulo bold */
.ready__step-subtitle {
  font-size: var(--text-sm);
  font-weight: 800;
  color: #111;
  line-height: 1.4;
}

/* Col 3: descripción */
.ready__step-desc p {
  font-size: var(--text-sm);
  color: #555;
  line-height: 1.75;
  text-align: justify;
}

/* Col 4: imagen */
.ready__step-img {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ready__step-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.ready__step:hover .ready__step-img img {
  transform: scale(1.04);
}

/* CTA button */
.ready__cta {
  margin-top: var(--space-10);
}

/* -----------------------------------------------
   BLOG
----------------------------------------------- */

/* TRACK: área de scroll vertical larga. Altura calculada por JS */
.blog {
  background-color: #f5f5f3;
  padding-block: var(--space-24);
}

/* Título de la sección */
.blog__header {
  text-align: center;
  padding-bottom: var(--space-10);
}

.blog__header .blog__label {
  justify-content: center;
  margin-bottom: var(--space-4);
}

.blog__header .blog__title {
  margin-bottom: 0;
}

/* Grid de 3 cards */
.blog-home__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

/* CTA — Ver todos */
.blog-home__cta {
  text-align: center;
}

.blog-home__cta .btn--ghost {
  color: #0a0a0a;
  border-color: #0a0a0a;
}

.blog-home__cta .btn--ghost:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Label */
.blog__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.blog__label-line {
  display: block;
  width: 36px;
  height: 1px;
  background-color: var(--color-accent);
}

/* Title */
.blog__title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #111;
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.blog__title span {
  color: var(--color-accent);
}

/* Description */
.blog__sticky-desc {
  font-size: var(--text-sm);
  color: #555;
  line-height: 1.75;
  max-width: 380px;
}


/* Card — sin fondo, imagen cuadrada arriba, texto debajo sobre el bg de la sección */
.blog-h-card {
  flex-shrink: 0;
  width: 520px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.blog-h-card:hover {
  transform: translateY(-4px);
}

/* Imagen cuadrada con border-radius solo en la imagen */
.blog-h-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  flex-shrink: 0;
}

.blog-h-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.blog-h-card:hover .blog-h-card__img img {
  transform: scale(1.04);
}

/* Sin overlay */
.blog-h-card::after { display: none; }

/* Categoría — oculta */
.blog-h-card__cat {
  display: none;
}

/* Texto debajo de la imagen, sobre el fondo de la sección */
.blog-h-card__body {
  padding: 14px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.blog-h-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: #111;
  line-height: 1.3;
  margin: 0;
}

.blog-h-card__desc {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.55;
  margin: 0;
}

.blog-h-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #111;
  border-bottom: 1.5px solid #111;
  padding-bottom: 2px;
  width: fit-content;
  margin-top: 6px;
  transition: color 0.2s, border-color 0.2s;
}

.blog-h-card:hover .blog-h-card__link {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* -----------------------------------------------
   CONTACT
----------------------------------------------- */
.contact {
  background-color: var(--color-bg);
  padding-block: var(--space-24);
  position: relative;
  overflow: hidden;
}

.contact__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(180, 50, 0, 0.45) 0%, transparent 70%);
  pointer-events: none;
}

.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
}

.contact__left {
  width: 100%;
  text-align: center;
}

.contact__right {
  width: 100%;
  max-width: 760px;
}

.contact__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: var(--space-6);
}

.contact__label-line {
  display: block;
  width: 48px;
  height: 1px;
  background-color: var(--color-accent);
}

.contact__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--color-text);
}

.contact__title span {
  color: var(--color-accent);
}

.contact__intro {
  margin-bottom: var(--space-8);
  text-align: center;
}

.contact__intro-heading {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.contact__intro-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

.contact__form-heading {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-8);
  text-align: center;
}

.contact__form {
  width: 100%;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.form__group {
  position: relative;
  padding-top: 1.25rem;
}

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

.form__group label {
  position: absolute;
  left: 0;
  bottom: 8px;
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  transition: bottom 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}

.form__group input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding: var(--space-2) 0;
  color: var(--color-text);
  font-size: var(--text-base);
  font-family: var(--font-sans);
  width: 100%;
  transition: border-color var(--transition-fast);
}

.form__group input:focus {
  outline: none;
  border-bottom-color: var(--color-accent);
}

/* Label sube cuando hay contenido o foco */
.form__group input:focus ~ label,
.form__group input:not(:placeholder-shown) ~ label {
  bottom: calc(100% - 1rem);
  font-size: var(--text-xs);
  color: var(--color-accent);
}

.form__group input::placeholder {
  color: transparent;
}

/* Phone field: dial code select + input */
.form__group--phone {
  display: flex;
  align-items: flex-end;
  gap: 0;
}

.form__group--phone .form__dial {
  flex-shrink: 0;
  position: relative;
  padding-top: 1.25rem;
}

/* Custom dial dropdown trigger */
.form__dial-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding: var(--space-2) var(--space-3) var(--space-2) 0;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  cursor: pointer;
  width: 88px;
  transition: border-color var(--transition-fast);
}

.form__dial-trigger:focus {
  outline: none;
  border-bottom-color: var(--color-accent);
}

.form__dial.is-open .form__dial-trigger {
  border-bottom-color: var(--color-accent);
}

.form__dial-flag-img {
  display: inline-block;
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  vertical-align: middle;
}

.form__dial-chevron {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.4);
  margin-left: auto;
  display: inline-block;
  transition: transform var(--transition-fast);
}

.form__dial.is-open .form__dial-chevron {
  transform: rotate(180deg);
}

/* Dropdown list */
.form__dial-list {
  display: none;
  position: absolute;
  bottom: calc(100% + 4px);
  left: 0;
  min-width: 110px;
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  list-style: none;
  padding: var(--space-2) 0;
  max-height: 320px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.form__dial.is-open .form__dial-list {
  display: block;
}

/* Each option row */
.form__dial-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px var(--space-4);
  cursor: pointer;
  transition: background var(--transition-fast);
  font-size: var(--text-sm);
  color: var(--color-text);
  white-space: nowrap;
}

.form__dial-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.form__dial-item.is-selected {
  color: var(--color-accent);
}

.form__dial-item .form__dial-flag-img {
  width: 20px;
  height: 15px;
}

.form__dial-item-code {
  color: inherit;
}

.form__group--phone .form__input-wrap {
  flex: 1;
  position: relative;
  padding-top: 1.25rem;
  padding-left: var(--space-3);
}

.form__group--phone .form__input-wrap input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding: var(--space-2) 0;
  color: var(--color-text);
  font-size: var(--text-base);
  font-family: var(--font-sans);
  width: 100%;
  transition: border-color var(--transition-fast);
}

.form__group--phone .form__input-wrap input:focus {
  outline: none;
  border-bottom-color: var(--color-accent);
}

.form__group--phone .form__input-wrap label {
  position: absolute;
  left: var(--space-3);
  bottom: 8px;
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  transition: bottom 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}

.form__group--phone .form__input-wrap input:focus ~ label,
.form__group--phone .form__input-wrap input:not(:placeholder-shown) ~ label {
  bottom: calc(100% - 1rem);
  font-size: var(--text-xs);
  color: var(--color-accent);
}

.form__group--phone .form__input-wrap input::placeholder {
  color: transparent;
}

.form__check {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.form__check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
  flex-shrink: 0;
  cursor: pointer;
}

.form__check label {
  font-size: var(--text-sm);
  color: var(--color-text);
  cursor: pointer;
}

.form__legal {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-8);
}

.contact__btn {
  border-radius: var(--radius-full);
  padding-inline: var(--space-8);
  display: block;
  margin-inline: auto;
}

/* -----------------------------------------------
   FOOTER
----------------------------------------------- */
.footer {
  background-color: var(--color-bg);
  padding-block: var(--space-16);
  position: relative;
  z-index: 1;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: var(--space-24);
  align-items: start;
}

.footer__logo img {
  height: 56px;
}

.footer__col-heading {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.footer__col-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}

.footer__col-list a {
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.footer__col-list a:hover {
  color: var(--color-accent);
}

/* Footer contact with icons */
.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  list-style: none;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.6;
}

.footer__contact-item span,
.footer__contact-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__contact-hint {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.4;
}

.footer__contact-item a {
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.footer__contact-item a:hover {
  color: var(--color-accent);
}

/* Footer social links with icons */
.footer__social-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.footer__social-link svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.footer__social-link:hover {
  color: var(--color-accent);
}

.footer__social-link:hover svg {
  opacity: 1;
}


/* ================================================
   RESPONSIVE
   Tablet: ≤ 1024px  |  Mobile: ≤ 640px
   ================================================ */

/* -----------------------------------------------
   TABLET — ≤ 768px
----------------------------------------------- */
@media (max-width: 768px) {

  /* Branding scroll — video starts at 30vh, JS animates to 100vh */
  .branding__image {
    width: 92vw;
    height: 30vh;
  }

  /* Nav fullscreen: ocultar panel naranja */
  .nav-fullscreen__visual { display: none; }
  .nav-fullscreen__body { grid-template-columns: 1fr; }
  .nav-fullscreen__nav { padding: var(--space-8) var(--space-8); }

  /* About Us — círculos en columna solapados */
  .ecosystem__circles {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .ecosystem__circle {
    margin-inline: 0;
    width: 320px;
    height: 320px;
  }
  .ecosystem__circle:not(:first-child) {
    margin-top: -40px;
  }

  /* Services — 2 columnas */
  .discover__grid { grid-template-columns: repeat(2, 1fr); }
  .discover__names-row { grid-template-columns: 1fr; gap: var(--space-4); }
  .discover__names { align-items: flex-start; }
  .discover__name { font-size: clamp(2.5rem, 6vw, 4.5rem); }

  /* Portfolio (Work) */
  .portfolio__grid { grid-template-columns: 1fr; }

  /* UX/UI duo — 1 columna en mobile */
  .uxui-duo {
    grid-template-columns: 1fr;
  }

  /* UX/UI — 1 columna */
  .uxui__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 320px);
  }

  /* Partners */
  .partners__grid { grid-template-columns: repeat(6, 1fr); }
  .partners__header { flex-direction: column; gap: var(--space-6); }
  .partners__header-right p { text-align: left; }

  /* Global Experience */
  .global__main {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .global__countries { padding-right: 0; }
  .global__list { align-items: center; }
  .global__bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .global__map { height: 300px; }

  /* Ready steps — columna full width */
  .ready__step {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: var(--space-4);
    position: static;
  }
  .ready__step-left,
  .ready__step-mid,
  .ready__step-desc,
  .ready__step-img {
    grid-column: 1;
    width: 100%;
  }
  .ready__step-mid { display: block; }
  .ready__step-name { white-space: normal; }
  .ready__step-img img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius-md); }

  /* Contact */
  .contact__right { max-width: 100%; }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
  .footer__brand { grid-column: 1 / -1; }

  /* Blog — grid 2 columnas en tablet */
  .blog-home__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog__header .blog__title {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
  }
}

/* -----------------------------------------------
   MOBILE — ≤ 480px
----------------------------------------------- */
@media (max-width: 480px) {

  /* Ajuste de espaciado general */
  .container { padding-inline: var(--space-4); }

  /* Navbar */
  .navbar__actions .btn--primary { display: none; }

  /* Hero */
  .hero__title { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero__description { font-size: var(--text-sm); }

  /* Global circles — match About Us size */
  .global__circle {
    width: 260px;
    height: 260px;
  }
  .global__circle:not(:first-child) {
    margin-top: -65px !important;
  }

  /* About Us — círculos más pequeños solapados */
  .ecosystem__circle {
    width: 260px;
    height: 260px;
    padding: var(--space-8);
  }
  .ecosystem__circle:not(:first-child) {
    margin-top: -30px;
  }
  .ecosystem__title { font-size: var(--text-4xl); }

  /* Services */
  .discover__grid { grid-template-columns: 1fr; }
  .svc-intro { padding: var(--space-4) 0; }
  .discover__name { font-size: clamp(2rem, 10vw, 3rem); }
  .discover__names-row { grid-template-columns: 1fr; }

  /* Portfolio (Work) */
  .portfolio__grid .portfolio__img-wrap img { height: 240px; }

  /* UX/UI */
  .uxui__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 260px);
  }

  /* Stats */
  .stats-bar__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .stats-bar__item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    padding-bottom: var(--space-8);
  }

  /* Partners */
  .partners__header {
    grid-template-columns: 1fr;
  }
  .partners__header-right p { text-align: left; }
  .partners__grid { grid-template-columns: repeat(3, 1fr); }
  .partners__wrapper { padding: var(--space-4); }

  /* Global Experience */
  .global__main { gap: var(--space-12); }
  .global__globe { width: 100%; }
  .global__circles {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .global__circle {
    width: 260px;
    height: 260px;
    padding: var(--space-8);
  }
  .global__circle-num {
    font-size: var(--text-4xl);
  }
  .global__circle p {
    font-size: var(--text-sm);
  }
  .global__circle:not(:first-child) {
    margin-top: -65px !important;
  }
  .global__bottom {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    text-align: center;
  }
  .global__map { height: 240px; }
  .global__quote { margin-top: 0; }

  /* Ready steps — columna full width */
  .ready__step {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: var(--space-4);
    position: static;
  }
  .ready__step-left,
  .ready__step-mid,
  .ready__step-desc,
  .ready__step-img {
    grid-column: 1;
    width: 100%;
  }
  .ready__step-name { white-space: normal; }
  .ready__step-img img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius-md); }
  .ready__step-mid { display: block; }
  .ready__title { font-size: clamp(1.8rem, 6vw, 2.4rem); }

  /* Blog — 1 columna en mobile */
  .blog {
    padding-block: var(--space-16);
  }
  .blog-home__grid {
    grid-template-columns: 1fr;
  }
  .blog__header { padding-bottom: var(--space-6); }


  /* Contact */
  .contact__inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .form__row { grid-template-columns: 1fr; }
  .contact__title { font-size: clamp(2rem, 8vw, 3rem); }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .footer__brand { grid-column: 1; }
}

/* ==============================================
   OUR SUCCESS PROJECTS — FULL-WIDTH SLIDER
   ============================================== */

.proj-slider-section {
  background: #000;
  padding-top: var(--space-24);
  overflow: hidden;
}

.proj-slider__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.proj-slider__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--space-3);
}

.proj-slider__title span {
  color: var(--color-accent);
  font-style: italic;
}

.proj-slider__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  line-height: 1.7;
}

.proj-slider__stats {
  display: flex;
  gap: var(--space-12);
  flex-shrink: 0;
}

.proj-slider__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.proj-slider__stat-num {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #111;
  line-height: 1;
}

.proj-slider__stat-label {
  font-size: var(--text-xs);
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.proj-slider__wrapper {
  position: relative;
}

.proj-slider__outer {
  width: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.proj-slider__outer:active {
  cursor: grabbing;
}

.proj-slider__track {
  display: flex;
  gap: 16px;
  will-change: transform;
  padding: 0 var(--container-pad) var(--space-24) var(--container-pad);
}

/* Arrow buttons */
.proj-slider__btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 10;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--color-accent);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.proj-slider__btn:hover {
  background: #d94400;
}

.proj-slider__btn--prev {
  left: 20px;
}

.proj-slider__btn--next {
  right: 20px;
}

.proj-slider__btn--prev:hover {
  transform: translateY(-50%) translateX(-2px);
}

.proj-slider__btn--next:hover {
  transform: translateY(-50%) translateX(2px);
}

.proj-card {
  flex-shrink: 0;
  width: clamp(420px, 55vw, 720px);
  display: flex;
  flex-direction: column;
}

.proj-card__media-link {
  display: block;
  text-decoration: none;
}

.proj-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.proj-card__media img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.proj-card__media:hover img:first-child {
  transform: scale(1.05);
}

.proj-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 0.4s ease;
}

.proj-card__media:hover .proj-card__overlay {
  background: rgba(0, 0, 0, 0.35);
}

.proj-card__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: auto;
  filter: brightness(0) invert(1);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.proj-card__media:hover .proj-card__logo {
  opacity: 1;
}

.proj-card__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-2);
}

.proj-card__name {
  font-size: var(--text-base);
  font-weight: 700;
  color: #fff;
}

.proj-card__country {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}

@media (max-width: 900px) {
  .proj-slider__header {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .proj-slider__stats {
    gap: var(--space-6);
  }
  .proj-slider__stat {
    text-align: left;
  }
  .proj-card {
    width: clamp(300px, 80vw, 480px);
  }
  .proj-slider__btn {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .proj-slider__stats {
    flex-wrap: wrap;
    gap: var(--space-4);
  }
  .proj-card {
    width: 88vw;
  }
  .proj-slider__btn {
    width: 38px;
    height: 38px;
  }
  .proj-slider__btn--prev { left: 8px; }
  .proj-slider__btn--next { right: 8px; }
}
