/* ============================================
   COMPONENTS.CSS
   Rebel Co. Group — 2026 Redesign
   ============================================ */

/* ── Skip Link (Accessibility) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-black, #0a0a0a);
  color: var(--color-white, #fff);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 0.5rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ── Button group ── */
.btn-group {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* ── Lead text ── */
.text-lead {
  font-size: var(--text-lg);
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 56ch;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Section base ── */
.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

/* ══════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(247, 246, 243, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}

.nav--scrolled {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav__logo img { height: 36px; width: auto; max-width: 180px; object-fit: contain; }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--t-fast) var(--ease);
  white-space: nowrap;
}

.nav__link:hover { color: var(--gray-900); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gray-400);
}

.lang-toggle__btn {
  color: var(--gray-400);
  transition: color var(--t-fast);
}

.lang-toggle__btn:hover,
.lang-toggle__btn--active { color: var(--gray-900); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast);
}

.hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger--open span:nth-child(2) { opacity: 0; }
.hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--sp-6) var(--gutter) var(--sp-8);
  z-index: 99;
  transform: translateY(-110%);
  transition: transform var(--t-slow) var(--ease-out);
  box-shadow: var(--shadow-md);
}

.mobile-nav--open { transform: translateY(0); }

.mobile-nav__link {
  display: block;
  padding: var(--sp-3) 0;
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--t-fast);
}

.mobile-nav__link:hover { color: var(--gray-900); }

/* ══════════════════════════════════════════
   HEADER — English pages
   (.header wraps .nav; .nav position overridden)
   ══════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(247, 246, 243, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}

.header--scrolled {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (max-width: 1024px) {
  .header__inner {
    display: flex;
    justify-content: space-between;
  }
}

.header__logo {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-self: center;
  flex-shrink: 0;
}

.header__logo-full {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* Override .nav fixed positioning when inside .header */
.header .nav {
  position: static;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  height: auto;
  z-index: auto;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--sp-8);
  margin: 0;
  padding: 0;
}

.nav__link--active {
  color: var(--gray-900);
  font-weight: 600;
}

.lang-toggle__sep {
  color: var(--gray-300);
  margin: 0 2px;
}

/* Hamburger lines (used as .hamburger__line spans) */
.hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast);
}

.hamburger--open .hamburger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger--open .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger--open .hamburger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu — English */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  bottom: 0;
  background: var(--white);
  padding: var(--sp-8) var(--gutter);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease-out);
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}

.mobile-menu--open {
  transform: translateX(0);
}

.mobile-menu__link {
  display: block;
  padding: var(--sp-4) 0;
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--t-fast);
}

.mobile-menu__link:hover,
.mobile-menu__link.nav__link--active { color: var(--gray-900); }

.mobile-menu__cta {
  margin-top: var(--sp-6);
}

.mobile-menu__cta .btn { width: 100%; justify-content: center; }

/* Desktop: hide hamburger, show nav */
@media (min-width: 1025px) {
  .header .hamburger { display: none; }
  .mobile-menu { display: none; }
}

/* Tablet/Mobile: hide desktop nav, show hamburger */
@media (max-width: 1024px) {
  .header__nav { display: none; }
  .header .nav { display: none; }
  .header .hamburger { display: flex; }
  .mobile-menu { display: flex; }
}

/* ══════════════════════════════════════════
   DROPDOWN NAVIGATION — English pages
   ══════════════════════════════════════════ */

/* Left nav — grid col 1 */
.header__nav {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  height: 100%;
}

/* Right-side lang + CTA + burger — grid col 3 */
.header__actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  justify-self: end;
}

/* Dropdown wrap */
.header .nav-drop-wrap {
  position: static;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Trigger button */
.header .nav-drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-600);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap;
  height: 100%;
}

.header .nav-drop-trigger:hover,
.header .nav-drop-trigger[aria-expanded="true"] {
  color: var(--gray-900);
  background: rgba(0, 0, 0, 0.04);
}

.header .drop-chevron {
  transition: transform var(--t-base) var(--ease);
  flex-shrink: 0;
  color: var(--gray-400);
}

.header .nav-drop-trigger[aria-expanded="true"] .drop-chevron {
  transform: rotate(180deg);
}

/* Direct nav link (no dropdown) */
.nav-direct-link {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-600);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  height: 100%;
}

.nav-direct-link:hover {
  color: var(--gray-900);
  background: rgba(0, 0, 0, 0.04);
}

.nav-direct-link--active {
  color: var(--gray-900);
  font-weight: 600;
}

/* Dropdown panel */
.nav-drop-panel {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.10), 0 4px 16px rgba(0, 0, 0, 0.06);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}

.nav-drop-panel.drop--open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

@media (hover: hover) {
  .header .nav-drop-wrap:hover .nav-drop-panel {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }
}

/* Grid inside panel */
.drop-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--sp-8) var(--gutter);
  display: grid;
  gap: var(--sp-8);
  align-items: start;
}

.drop-cols-2 { grid-template-columns: 1fr 260px; }
.drop-cols-3 { grid-template-columns: 1fr 1fr 240px; }
.drop-cols-5 { grid-template-columns: repeat(5, 1fr); }

/* Column heading */
.drop-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--color-gold);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1.5px solid rgba(255, 215, 0, 0.25);
}

/* Item list */
.drop-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
  margin: 0;
}

.drop-col li a {
  display: flex;
  flex-direction: column;
  padding: 8px var(--sp-3);
  border-radius: var(--radius-sm);
  transition: background var(--t-fast) var(--ease);
  line-height: 1.4;
  text-decoration: none;
}

.drop-col li a:hover { background: var(--gray-50); }

.drop-col li a strong {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-800);
  display: block;
}

.drop-col li a span {
  font-size: var(--text-xs);
  color: var(--gray-500);
  margin-top: 2px;
  display: block;
}

.drop-col li a:hover strong { color: var(--gray-900); }

/* Promo image column */
.drop-promo { align-self: stretch; }

/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
}

/* Sizes */
.btn--sm  { padding: 0.5rem 1.125rem; font-size: var(--text-xs); }
.btn--md  { padding: 0.75rem 1.5rem; }
.btn--lg  { padding: 0.875rem 1.75rem; font-size: var(--text-base); }

/* Variants */
.btn--primary {
  background: var(--gray-900);
  color: var(--white);
  border-color: var(--gray-900);
}
.btn--primary:hover {
  background: var(--black);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  font-weight: 700;
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--gray-900);
  border-color: var(--gray-300);
}
.btn--outline:hover {
  border-color: var(--gray-900);
  background: var(--gray-900);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-200);
}
.btn--ghost:hover {
  border-color: var(--gray-400);
  color: var(--gray-900);
  background: var(--gray-50);
}

.btn--ghost-white {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.25);
}
.btn--ghost-white:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  padding-bottom: var(--sp-16);
  padding-inline: var(--gutter);
  overflow: hidden;
  position: relative;
}

/* Subtle background gradient */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse at top right,
    rgba(201,168,76,0.08) 0%,
    rgba(201,168,76,0.03) 45%,
    transparent 70%);
  pointer-events: none;
}

.hero__container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

/* Hero text */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: var(--sp-6);
  box-shadow: var(--shadow-sm);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero__headline {
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  margin-bottom: var(--sp-6);
}

.hero__headline-gold {
  color: var(--gold);
}

.hero__desc {
  font-size: var(--text-lg);
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 46ch;
  margin-bottom: var(--sp-8);
}

.hero__actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}

.hero__trust {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.hero__trust-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* Hero visual card */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 400px;
}

.hero-card__header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.hero-card__dots { display: flex; gap: 5px; }

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot--red    { background: #FF5F57; }
.dot--yellow { background: #FFBD2E; }
.dot--green  { background: #28C840; }

.hero-card__title {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.hero-card__metric {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.hero-card__metric-val {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1;
}

.hero-card__metric-val small {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gray-600);
}

.hero-card__metric-label {
  font-size: 10px;
  color: var(--gray-400);
  white-space: nowrap;
}

.hero-card__metric-badge {
  display: inline-flex;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.hero-card__metric-badge--up {
  background: rgba(16,185,129,0.1);
  color: var(--success);
}

/* Mini chart */
.hero-card__chart { margin-bottom: var(--sp-4); }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 64px;
  margin-bottom: var(--sp-2);
}

.chart-bar {
  flex: 1;
  height: var(--h);
  background: var(--gray-100);
  border-radius: 3px 3px 0 0;
  transition: height 1s var(--ease-out);
}

.chart-bar--gold {
  background: var(--gold);
  box-shadow: 0 2px 8px rgba(201,168,76,0.35);
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--gray-400);
}

.hero-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--gray-100);
}

.hero-card__platforms {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
}

.hero-card__platforms img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: contain;
}

.hero-card__update {
  font-size: 10px;
  color: var(--gray-400);
}

/* Floating badges */
.hero-badge-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gray-700);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.hero-badge-float svg { color: var(--gold); }

.hero-badge-float--1 {
  bottom: 12%;
  left: -8%;
  animation: float-1 4s ease-in-out infinite;
}

.hero-badge-float--2 {
  top: 8%;
  right: -5%;
  animation: float-2 4.5s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes float-2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* Hero entrance animations */
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal-hero {
  animation: fadeUpIn 0.7s var(--ease-out) calc(var(--d, 0) * 120ms + 100ms) both;
}

/* ══════════════════════════════════════════
   LOGO MARQUEE
   ══════════════════════════════════════════ */
.marquee-section {
  padding-block: var(--sp-10);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
  overflow: hidden;
}

.marquee-section__label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: var(--sp-6);
}

.marquee-track-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: var(--sp-12);
  align-items: center;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity var(--t-base);
  filter: grayscale(1);
}

.marquee-item:hover {
  opacity: 0.9;
  filter: grayscale(0);
}

.marquee-item img {
  height: 22px;
  width: auto;
  object-fit: contain;
}

/* ══════════════════════════════════════════
   BENTO GRID — Services
   ══════════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.bento-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  transition: border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              transform var(--t-base) var(--ease);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity var(--t-base);
}

.bento-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.bento-card:hover::before { opacity: 1; }

.bento-card--wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--sp-8);
}

.bento-card--wide .bento-card__content { flex: 1; }

.bento-card__icon {
  width: 44px;
  height: 44px;
  background: var(--gold-subtle);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  flex-shrink: 0;
  transition: background var(--t-base);
}

.bento-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.bento-card:hover .bento-card__icon { background: var(--gold-border); }

.bento-card__content h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--sp-2);
  letter-spacing: -0.01em;
}

.bento-card__content p {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.65;
  max-width: none;
}

.bento-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}

.bento-card__tags span {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--gray-500);
  background: var(--gray-100);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.bento-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold);
  margin-top: auto;
  transition: gap var(--t-fast), color var(--t-fast);
}

.bento-card__link:hover {
  gap: var(--sp-3);
  color: var(--gold);
}

/* Bento visual areas */
.bento-card__visual {
  flex-shrink: 0;
  width: 180px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.bento-card__visual--metrics {
  justify-content: flex-end;
}

.mini-metric {
  display: flex;
  flex-direction: column;
}

.mini-metric__val {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.mini-metric__lbl {
  font-size: var(--text-xs);
  color: var(--gray-400);
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
  margin-top: auto;
}

.mini-bar {
  flex: 1;
  background: var(--gray-100);
  border-radius: 3px 3px 0 0;
}

.mini-bar--gold { background: var(--gold); }

.bento-card__visual--platforms {
  gap: var(--sp-3);
  justify-content: center;
}

.platform-stat {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--gray-600);
}

.platform-stat img { flex-shrink: 0; }

.bento-card__visual--ai { gap: var(--sp-2); justify-content: center; }

.ai-pill {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--gray-600);
  font-weight: 500;
  white-space: nowrap;
}

.ai-pill__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
  animation: pulse-dot 2s ease infinite;
}

.ai-pill__dot--gold  { background: var(--gold); }
.ai-pill__dot--green { background: var(--success); animation: none; }

/* ══════════════════════════════════════════
   STATS
   ══════════════════════════════════════════ */
.stats-section {
  background: var(--gray-900);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-1);
}

.stat__val {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat__plus {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-left: -4px;
}

.stat {
  position: relative;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0;
}

.stat__val, .stat__plus { display: inline; }

.stat__label {
  display: block;
  width: 100%;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--gray-400);
  margin-top: var(--sp-2);
  font-weight: 400;
}

/* ══════════════════════════════════════════
   WHY US
   ══════════════════════════════════════════ */
.why-us__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.why-us__left h2 { margin-block: var(--sp-4); }

.feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--sp-5);
  padding-block: var(--sp-6);
  border-bottom: 1px solid var(--gray-100);
  align-items: start;
  transition: background var(--t-fast);
}

.feature:last-child { border-bottom: none; }

.feature__icon {
  width: 44px;
  height: 44px;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-base), border-color var(--t-base);
}

.feature__icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  transition: color var(--t-base);
}

.feature:hover .feature__icon {
  background: var(--gold);
  border-color: var(--gold);
}

.feature:hover .feature__icon svg { color: var(--black); }

.feature h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--sp-1);
}

.feature p {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.65;
  max-width: none;
}

/* ══════════════════════════════════════════
   PROCESS
   ══════════════════════════════════════════ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(22px + var(--sp-6));
  right: calc(22px + var(--sp-6));
  height: 1px;
  background: linear-gradient(90deg, var(--gold-border), var(--gray-200), var(--gold-border));
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding-top: var(--sp-4);
}

.process-step__num {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gray-400);
  transition: border-color var(--t-base), color var(--t-base), background var(--t-base);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-step:hover .process-step__num {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-subtle);
}

.process-step h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--sp-2);
}

.process-step p {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.65;
  max-width: none;
}

/* ══════════════════════════════════════════
   SECTORS
   ══════════════════════════════════════════ */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.sector-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
}

.sector-card:hover {
  background: var(--gray-900);
  border-color: var(--gray-900);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.sector-card__body h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--sp-1);
  transition: color var(--t-base);
}

.sector-card__body p {
  font-size: var(--text-xs);
  color: var(--gray-500);
  line-height: 1.5;
  max-width: none;
  transition: color var(--t-base);
}

.sector-card:hover .sector-card__body h4 { color: var(--white); }
.sector-card:hover .sector-card__body p  { color: rgba(255,255,255,0.55); }

.sector-card__arrow {
  color: var(--gray-300);
  flex-shrink: 0;
  transition: color var(--t-base), transform var(--t-base);
}

.sector-card:hover .sector-card__arrow {
  color: var(--gold);
  transform: translate(3px, -3px);
}

/* ══════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════ */
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.faq-header h2 { margin-block: var(--sp-4); }

.faq-list { display: flex; flex-direction: column; }

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  cursor: pointer;
  transition: color var(--t-fast);
}

.faq-trigger:hover { color: var(--gold); }

.faq-icon {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform var(--t-base) var(--ease), color var(--t-base);
}

.faq-item--open .faq-icon {
  transform: rotate(180deg);
  color: var(--gold);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease);
}

.faq-content p {
  padding-bottom: var(--sp-5);
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.75;
  max-width: none;
}

/* ══════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════ */
.cta-section {
  background: var(--gray-900);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.cta-section__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-12);
  flex-wrap: wrap;
}

.cta-section__text .label::before { background: rgba(255,255,255,0.4); }

.cta-section__text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.03em;
}

.cta-section__actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
  background: var(--black);
  color: var(--gray-400);
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: var(--sp-8);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--sp-16);
  margin-bottom: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand img { filter: brightness(0) invert(1); margin-bottom: var(--sp-4); }

.footer__brand p {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 36ch;
}

.footer__social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--gray-500);
  transition: all var(--t-base);
}

.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-subtle);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}

.footer__col h6 {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: var(--sp-4);
}

.footer__col ul { display: flex; flex-direction: column; gap: var(--sp-3); }

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

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

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer__bottom p {
  font-size: var(--text-xs);
  color: var(--gray-600);
  max-width: none;
}

.footer__legal {
  display: flex;
  gap: var(--sp-6);
}

.footer__legal a {
  font-size: var(--text-xs);
  color: var(--gray-600);
  transition: color var(--t-fast);
}

.footer__legal a:hover { color: var(--gray-400); }

/* ══════════════════════════════════════════
   WHATSAPP FLOAT
   ══════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 50;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--t-base) var(--ease-spring),
              box-shadow var(--t-base);
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

/* ══════════════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════════════ */
.reveal,
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-reveal) var(--ease-out),
              transform var(--t-reveal) var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

.reveal--visible,
.reveal-up--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card--wide { grid-column: span 2; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero__container { grid-template-columns: 1fr; gap: var(--sp-12); }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 3rem); padding-bottom: var(--sp-12); }
  .hero::before { display: none; }
  .hero__visual { display: none; }
  .why-us__inner { grid-template-columns: 1fr; }
  .faq-inner { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-section__inner { flex-direction: column; text-align: center; }
  .footer__top { grid-template-columns: 1fr; gap: var(--sp-10); }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__actions .lang-toggle { display: none; }
  .hamburger { display: flex; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--wide { grid-column: span 1; flex-direction: column; }
  .bento-card__visual { width: 100%; }
  .sectors-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

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