/* ========================================
   REFINEARC — STYLES v2
   ======================================== */

:root {
  --c-black: #0a0a0a;
  --c-white: #ffffff;
  --c-red: #961010;
  --c-red-hover: #b81414;
  --c-red-light: rgba(150, 16, 16, 0.08);
  --c-gray-50: #fafafa;
  --c-gray-100: #f5f5f5;
  --c-gray-200: #e5e5e5;
  --c-gray-300: #d4d4d4;
  --c-gray-400: #a3a3a3;
  --c-gray-600: #525252;
  --c-gray-700: #404040;
  --c-gray-800: #262626;
  --c-gray-900: #171717;

  --ff: 'Montserrat', sans-serif;
  --fs-hero: clamp(2.4rem, 5vw, 4.4rem);
  --fs-h2: clamp(1.75rem, 3.5vw, 3rem);
  --fs-h3: clamp(1.15rem, 1.8vw, 1.5rem);
  --fs-body: clamp(0.9rem, 1vw, 1rem);
  --fs-small: 0.85rem;
  --fs-caption: 0.75rem;

  --section-py: clamp(4rem, 8vh, 7rem);
  --container-px: clamp(1.25rem, 5vw, 6rem);
  --container-max: 1200px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.4s;
  --nav-height: 72px;
  --radius: 8px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  -webkit-text-size-adjust: 100%;
  background: var(--c-black);
}

body {
  font-family: var(--ff);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-gray-800);
  background: var(--c-black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--ff); font-weight: 700; line-height: 1.15; }
button { font-family: var(--ff); }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.section { padding-top: var(--section-py); padding-bottom: var(--section-py); }
.section--gray { background: var(--c-gray-50); }
#team { background: linear-gradient(to bottom, #040000 0%, var(--c-black) 8%, var(--c-black) 88%, #040000 100%); color: #ffffff; }
#team .section-header h2          { color: #ffffff; }
#team .section-header p           { color: rgba(255,255,255,0.55); }
#team .section-badge              { color: rgba(255,255,255,0.65); border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); }
#team .team-card                  { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
#team .team-photo-wrapper         { border-bottom: none; background: transparent; }
#team .team-info h3               { color: #ffffff; }
#team .team-section h4            { color: rgba(255,255,255,0.4); }
#team .team-preview,
#team .team-full                  { color: rgba(255,255,255,0.65); }
.section--dark { background: var(--c-black); color: var(--c-white); }
.section--dark .section-header p { color: rgba(255,255,255,0.6); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: var(--fs-h2); color: var(--c-black); margin-bottom: 0.5rem; }
.section--dark .section-header h2 { color: var(--c-white); }
.section-header p { font-size: var(--fs-body); color: var(--c-gray-600); max-width: 520px; margin: 0 auto; }

.section-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border: 1px solid var(--c-gray-200);
  border-radius: 8px;
  font-size: var(--fs-caption);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ========================================
   HOVER BUTTON (interactive hover + expanding dot)
   ======================================== */
.hover-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.75rem 2rem;
  font-family: var(--ff);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--c-white);
  background: var(--c-red);
  border: 2px solid var(--c-red);
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
}

.hover-btn__text {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  z-index: 3;
  transition: transform 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
}

.hover-btn__hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  z-index: 3;
  color: var(--c-white);
  transform: translateX(48px);
  opacity: 0;
  transition: transform 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
}

.hover-btn:hover .hover-btn__text {
  transform: translateX(48px);
  opacity: 0;
}

.hover-btn:hover .hover-btn__hover {
  transform: translateX(-4px);
  opacity: 1;
}

.hover-btn:hover { background: var(--c-red-hover); border-color: var(--c-red-hover); color: var(--c-white); }

.hover-btn--small { padding: 0.5rem 1.3rem; font-size: var(--fs-caption); }
.hover-btn--large { padding: 1.1rem 3rem; font-size: 1.15rem; }

.hover-btn--light {
  background: var(--c-white);
  color: var(--c-black);
  border-color: var(--c-white);
}
.hover-btn--light:hover { background: var(--c-black); border-color: var(--c-black); color: var(--c-white); }

.hover-btn--outline {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,0.3);
}
.hover-btn--outline:hover { background: var(--c-red); border-color: var(--c-red); color: var(--c-white); }

/* Nav button variant — liquid glass style */
.hover-btn--nav {
  background: rgba(255,255,255,0.05);
  color: var(--c-white);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  backdrop-filter: url("#nav-glass") blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset  1px  1px 1px -0.5px rgba(255,255,255,0.18),
    inset -1px -1px 1px -0.5px rgba(255,255,255,0.08),
    0 2px 10px rgba(0,0,0,0.15);
}
.hover-btn--nav:hover { background: var(--c-white); border-color: var(--c-white); color: var(--c-black); box-shadow: none; }
.hover-btn--nav:hover .hover-btn__hover { color: var(--c-black); }
#navbar.nav-light .hover-btn--nav {
  background: rgba(255,255,255,0.45);
  color: var(--c-black);
  border-color: rgba(255,255,255,0.6);
  box-shadow:
    inset  1px  1px 1px -0.5px rgba(0,0,0,0.35),
    inset -1px -1px 1px -0.5px rgba(0,0,0,0.15),
    0 2px 10px rgba(0,0,0,0.08);
}
#navbar.nav-light .hover-btn--nav:hover { background: var(--c-white); border-color: var(--c-white); color: var(--c-black); box-shadow: none; }
#navbar.nav-light .hover-btn--nav:hover .hover-btn__hover { color: var(--c-black); }

/* ========================================
   NAVBAR — Tubelight Style
   ======================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  height: 100px;
  background: transparent;
}

/* Logo — left corner, outside pill */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img { height: 165px; width: auto; }
.nav-logo .logo-black { display: none; }
#navbar.nav-light .nav-logo .logo-white { display: none; }
#navbar.nav-light .nav-logo .logo-black { display: block; }

/* Pill — centered, only navigation links */
/* Default (dark sections): liquid glass — dark tint */
.nav-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  padding: 0 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: url("#nav-glass") blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-radius: 100px;
  white-space: nowrap;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
  /* Liquid glass shimmer — dark variant (subtle white highlights) */
  box-shadow:
    0 0 8px  rgba(0,0,0,0.04),
    0 4px 20px rgba(0,0,0,0.18),
    inset  3px  3px 0.5px -3.5px rgba(255,255,255,0.04),
    inset -3px -3px 0.5px -3.5px rgba(255,255,255,0.28),
    inset  1px  1px   1px -0.5px rgba(255,255,255,0.18),
    inset -1px -1px   1px -0.5px rgba(255,255,255,0.18),
    inset  0    0    6px   6px   rgba(255,255,255,0.04),
    inset  0    0    2px   2px   rgba(255,255,255,0.02),
    0 0 14px rgba(0,0,0,0.18);
}

/* Light sections: liquid glass — light tint */
#navbar.nav-light .nav-pill {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(255, 255, 255, 0.55);
  /* Liquid glass shimmer — light variant (dark edge shadows) */
  box-shadow:
    0 0 6px  rgba(0,0,0,0.03),
    0 4px 16px rgba(0,0,0,0.08),
    inset  3px  3px 0.5px -3px rgba(0,0,0,0.85),
    inset -3px -3px 0.5px -3px rgba(0,0,0,0.80),
    inset  1px  1px   1px -0.5px rgba(0,0,0,0.50),
    inset -1px -1px   1px -0.5px rgba(0,0,0,0.50),
    inset  0    0    6px   6px   rgba(0,0,0,0.09),
    inset  0    0    2px   2px   rgba(0,0,0,0.04),
    0 0 12px rgba(255,255,255,0.18);
}

/* Liquid glass top-edge highlight & inner glow */
.nav-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    160deg,
    rgba(255,255,255,0.09) 0%,
    rgba(255,255,255,0.02) 40%,
    rgba(255,255,255,0.00) 70%
  );
  z-index: 0;
}
/* Keep pill children above the pseudo shimmer */
.nav-pill > * { position: relative; z-index: 1; }

/* Nav links inside pill */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  transition: color 0.25s, background 0.25s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--c-red); background: rgba(150, 16, 16, 0.1); }
.nav-links a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

/* Scrolled state: dark text on white pill */
#navbar.nav-light .nav-links a { color: rgba(0,0,0,0.7); }
#navbar.nav-light .nav-links a:hover { color: var(--c-red); background: rgba(150, 16, 16, 0.06); }
#navbar.nav-light .nav-links a.active {
  color: rgba(0,0,0,0.85);
  background: rgba(0, 0, 0, 0.08);
}

/* ---------- TUBELIGHT LAMP INDICATOR ---------- */
.nav-lamp {
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  pointer-events: none;
  transform: translateX(var(--lamp-x, -100px));
  width: var(--lamp-w, 0px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s;
  opacity: 0;
}
.nav-lamp.is-visible { opacity: 1; }

.nav-lamp__bar {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 4px;
  background: #ffffff;
  border-radius: 0 0 4px 4px;
}

.nav-lamp__glow {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 24px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  filter: blur(10px);
}
.nav-lamp__glow--md {
  top: -4px;
  width: 32px;
  height: 24px;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(8px);
}
.nav-lamp__glow--sm {
  top: 0;
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(6px);
}

/* Right group — lang toggle + Book a Call */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}


/* Language globe button */
.lang-globe {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  padding: 0.25rem;
  transition: color 0.25s, transform 0.25s;
  flex-shrink: 0;
}
.lang-globe:hover { color: var(--c-red); transform: rotate(15deg); }
#navbar.nav-light .lang-globe { color: rgba(0,0,0,0.6); }
#navbar.nav-light .lang-globe:hover { color: var(--c-red); }

.footer-lang .lang-globe { color: var(--c-gray-400); }
.footer-lang .lang-globe:hover { color: var(--c-white); }

.mobile-menu .lang-globe { color: rgba(255,255,255,0.7); }

/* Mobile menu lang buttons (keep as-is) */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
}
.lang-btn {
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.25s, background 0.25s;
}
.lang-btn.active { color: var(--c-white); background: var(--c-red); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}
#navbar.nav-light .nav-hamburger span { background: var(--c-black); }
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--c-black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.mobile-menu.active { opacity: 1; pointer-events: auto; }
.mobile-menu-links { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.mobile-menu-links a {
  font-size: 1.5rem; font-weight: 600; color: var(--c-white); transition: color 0.25s;
}
.mobile-menu-links a:hover { color: var(--c-red); }
.mobile-menu-actions {
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.mobile-menu .lang-toggle { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); }
.mobile-menu .lang-btn { color: rgba(255,255,255,0.6); }
.mobile-menu .lang-btn.active { color: var(--c-white); background: var(--c-red); }

/* ========================================
   HERO — Full-cover image bg + bottom-left content
   ======================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--c-black);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 40%),
    linear-gradient(to top, #0a0a0a 0%, rgba(10,10,10,0.85) 12%, rgba(10,10,10,0.3) 35%, transparent 100%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.3);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--nav-height) + 3rem) 2rem 0;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: flex-end;
}

.hero-content {
  max-width: 820px;
  padding-bottom: 1rem;
}

/* Hero row: content left + Calendly right, sharing same height */
.hero-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 2rem;
  width: 100%;
  padding-bottom: 1rem;
}

.hero-row .hero-content {
  flex: 1;
  min-width: 0;
  padding-bottom: 0;
}

.hero-calendly {
  flex-shrink: 0;
  width: clamp(300px, 28vw, 380px);
  display: flex;
  flex-direction: column;
}

/* ---- Liquid Glass Calendar ---- */
.glass-cal {
  flex: 1;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: url("#nav-glass") blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow:
    0 8px 40px rgba(0,0,0,0.45),
    inset -3px -3px 0.5px -3.5px rgba(255,255,255,0.28),
    inset  1px  1px   1px -0.5px rgba(255,255,255,0.18),
    inset -1px -1px   1px -0.5px rgba(255,255,255,0.18),
    inset  0    0    6px   6px   rgba(255,255,255,0.04),
    0 0 20px rgba(0,0,0,0.3);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: #fff;
}

/* Diagonal top-left glint */
.glass-cal__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    155deg,
    rgba(255,255,255,0.10) 0%,
    rgba(255,255,255,0.03) 30%,
    rgba(255,255,255,0.00) 55%
  );
}
.glass-cal > *:not(.glass-cal__shine) { position: relative; z-index: 1; }

/* Header */
.glass-cal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.glass-cal__month-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.03em;
}
.glass-cal__nav {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.65);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.glass-cal__nav:hover { background: var(--c-red); border-color: var(--c-red); color: #fff; }

/* Weekday labels */
.glass-cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  width: 100%;
  overflow: hidden;
}
.glass-cal__weekdays span {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0;
}

/* Day grid */
.glass-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  flex: 1;
  width: 100%;
  overflow: hidden;
}
.glass-cal__day {
  aspect-ratio: 1;
  min-width: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  color: rgba(255,255,255,0.82);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.glass-cal__day.empty { cursor: default; }
.glass-cal__day.past  { color: rgba(255,255,255,0.15); cursor: not-allowed; }
.glass-cal__day.weekend:not(.selected) { color: rgba(255,255,255,0.22); cursor: not-allowed; }
.glass-cal__day.today { border-color: rgba(150,16,16,0.5); color: var(--c-red); }
.glass-cal__day.available:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.10); }
.glass-cal__day.selected {
  background: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.95);
  color: #000;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(150,16,16,0.45);
}

/* Footer: selected date + CTA */
.glass-cal__footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 0.85rem;
}
.glass-cal__hint {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.03em;
}

/* Time slots */
.glass-cal__slots-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.glass-cal__slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.glass-cal__slot {
  padding: 0.4rem 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
  text-align: center;
}
.glass-cal__slot:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.2); color: #fff; }
.glass-cal__slot--active { background: rgba(255,255,255,0.95); border-color: rgba(255,255,255,0.95); color: #000; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.glass-cal__book {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.glass-cal__book-info { display: flex; flex-direction: column; gap: 0.1rem; }
.glass-cal__book-label { font-size: 0.68rem; color: rgba(255,255,255,0.38); text-transform: uppercase; letter-spacing: 0.08em; }
.glass-cal__book-date  { font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.92); }
.glass-cal__book-btn {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 1.1rem;
  background: var(--c-white);
  color: var(--c-black);
  border: none;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.glass-cal__book-btn:hover { background: var(--c-black); color: var(--c-white); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }

.hero-headline {
  font-size: var(--fs-hero);
  color: var(--c-white);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

/* Spanish headline is longer per line — scale down to match English visual weight */
html[lang="es"] .hero-headline {
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
}

.hero-sub {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
  font-weight: 300;
}

.hero-sub strong {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.06em;
}

.hero-actions { margin-bottom: 0; }

/* Trust bar inside hero */
.hero-trust {
  padding: 0.5rem 0 1rem;
}

.hero-trust-label {
  font-size: var(--fs-caption);
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  text-align: center;
}

/* Base logo size */
.hero-trust .logo-track img {
  filter: brightness(0) invert(1) opacity(0.4);
  height: 88px;
  width: auto;
}
.hero-trust .logo-track img:hover {
  filter: brightness(0) invert(1) opacity(0.8);
}

/* Per-logo overrides */
.hero-trust .logo-track img[alt="UNICEF"]      { height: 100px; }
.hero-trust .logo-track img[alt="LEVAIN"]      { height: 96px; }
.hero-trust .logo-track img[alt="CSLE"]        { height: 96px; }
.hero-trust .logo-track img[alt="Ferreo Belén"]{ height: 62px; }

/* AWS: show original colors so letters inside cloud are visible */
.hero-trust .logo-track img[alt="AWS"] {
  filter: opacity(0.6);
}
.hero-trust .logo-track img[alt="AWS"]:hover {
  filter: opacity(1);
}

/* Ferreo Belén: preserve internal contrast */
.hero-trust .logo-track img[alt="Ferreo Belén"] {
  filter: grayscale(1) invert(1) opacity(0.5);
}
.hero-trust .logo-track img[alt="Ferreo Belén"]:hover {
  filter: grayscale(1) invert(1) opacity(0.9);
}

/* ========================================
   LOGO TRACK (shared)
   ======================================== */
.logo-track-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.logo-track--tools { animation-duration: 30s; }

.logo-track img {
  height: 72px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.45);
  transition: filter 0.3s var(--ease-out);
  flex-shrink: 0;
}
.logo-track img:hover { filter: grayscale(0%) opacity(1); }

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   CASE STUDIES — CAROUSEL
   ======================================== */
#case-studies {
  background: linear-gradient(to bottom, #0a0a0a 40%, #080101 70%, #040000 100%);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}
#case-studies .section-header h2 { color: var(--c-white); }
#case-studies .section-header p { color: rgba(255,255,255,0.55); }
#case-studies { padding-top: clamp(6rem, 10vh, 9rem); padding-bottom: clamp(4rem, 8vh, 7rem); }
#case-studies .section-header { margin-bottom: 1.5rem; }
#case-studies .container { position: relative; z-index: 1; }

/* Wave canvas */
#csWave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Flex row: [arrow] [center-card-wide carousel] [arrow] */
.cs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.cs-carousel-wrap {
  /* exactly one card wide — side cards overflow visibly */
  width: clamp(280px, 32vw, 420px);
  flex-shrink: 0;
  overflow: visible;
  padding: 1.5rem 0;
}

.cs-track {
  display: flex;
  gap: 1.25rem;
  will-change: transform;
}

.cs-card {
  flex: 0 0 clamp(280px, 32vw, 420px);
  background: #161618;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  opacity: 0.45;
  transform: scale(0.95);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.35s ease;
  cursor: pointer;
}
.cs-card.cs-active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}
.cs-card.cs-side {
  opacity: 0.65;
  transform: scale(0.97);
}

/* Card header: logo + badge */
.cs-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.cs-card__logo-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
}
.cs-card__logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.85);
}
.cs-card__logo-wrap img[alt="Ferreo Belén"] {
  filter: grayscale(1) invert(1) opacity(0.85);
}
.cs-card__logo-group {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.cs-card__logo-group .cs-card__logo-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.cs-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
  flex-shrink: 0;
}
.cs-badge--deployed  { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(52,211,153,0.25); }
.cs-badge--retained  { background: rgba(150,16,16,0.2);   color: #f87171; border: 1px solid rgba(248,113,113,0.25); }
.cs-badge--progress  { background: rgba(124,58,237,0.15); color: #a78bfa; border: 1px solid rgba(167,139,250,0.25); }

.cs-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}
.cs-card__location {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  margin: -0.3rem 0 0;
}
.cs-card__stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.cs-card__desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.cs-card__note {
  font-size: 0.78rem;
  font-weight: 600;
  color: #f87171;
  margin: 0;
}
.cs-card--green .cs-card__note { color: #34d399; }
.cs-card--purple .cs-card__note { color: #a78bfa; }

.cs-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}
.cs-card__tags span {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 0.25rem 0.65rem;
}

/* Controls — dots row below carousel */
.cs-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Arrows — flex siblings of the carousel */
.cs-arrow {
  flex-shrink: 0;
  position: relative;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.cs-arrow:hover {
  background: var(--c-red);
  border-color: var(--c-red);
  color: #fff;
  transform: scale(1.08);
}
.cs-arrow svg { width: 16px; height: 16px; }

.cs-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.cs-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.cs-dot.cs-active { background: var(--c-red); transform: scale(1.5); }

/* Stats bar */
.cs-stats {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: 0.75rem;
  padding: 1rem clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
}
.cs-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}
.cs-stat__num {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}
.cs-stat__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ========================================
   PROCESS — Bento Grid with Glowing Effect
   ======================================== */
#process {
  position: relative;
  /* Gradient background: near-black with a hint of deep crimson */
  background: linear-gradient(40deg, rgb(8, 2, 0), rgb(3, 1, 0));
  /* Orb color palette — darker, more orange */
  --c1: 115, 52,  5;  /* dark orange       */
  --c2:  68, 28,  3;  /* deep burnt orange */
  --c3:  38, 16,  1;  /* near-black orange */
  --c4: 130, 60,  6;  /* warm amber        */
  --c5:  20,  8,  1;  /* almost black      */
  --cp: 130, 60,  6;  /* pointer orb — warm amber, matches background clouds */
  --gs: 80%;           /* orb size      */
  --blend: hard-light;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(7rem, 12vh, 10rem);
  padding-bottom: clamp(7rem, 12vh, 10rem);
}

/* Orb wrapper — blurred so edges blend softly */
.process-grad-wrap {
  position: absolute;
  inset: 0 0 8% 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  filter: blur(80px);
  transform: translateZ(0);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

/* Shared orb base */
.process-grad {
  position: absolute;
  mix-blend-mode: var(--blend);
  width:  var(--gs);
  height: var(--gs);
  top:  calc(50% - var(--gs) / 2);
  left: calc(50% - var(--gs) / 2);
  background-repeat: no-repeat;
}

.process-grad--1 {
  background: radial-gradient(circle at center, rgba(var(--c1),1)   0%, rgba(var(--c1),0) 50%);
  transform-origin: center center;
  animation: gradVertical 30s ease infinite;
}
.process-grad--2 {
  background: radial-gradient(circle at center, rgba(var(--c2),.8) 0%, rgba(var(--c2),0) 50%);
  transform-origin: calc(50% - 400px) 50%;
  animation: gradCircle 20s reverse infinite;
}
.process-grad--3 {
  background: radial-gradient(circle at center, rgba(var(--c3),.8) 0%, rgba(var(--c3),0) 50%);
  transform-origin: calc(50% + 400px) 50%;
  animation: gradCircle 40s linear infinite;
}
.process-grad--4 {
  background: radial-gradient(circle at center, rgba(var(--c4),.8) 0%, rgba(var(--c4),0) 50%);
  transform-origin: calc(50% - 200px) 50%;
  animation: gradHorizontal 40s ease infinite;
  opacity: .7;
}
.process-grad--5 {
  background: radial-gradient(circle at center, rgba(var(--c5),.8) 0%, rgba(var(--c5),0) 50%);
  transform-origin: calc(50% - 800px) calc(50% + 800px);
  animation: gradCircle 20s ease infinite;
}

.process-grad--6 {
  background: radial-gradient(circle at center, rgba(var(--c1),.7) 0%, rgba(var(--c1),0) 50%);
  transform-origin: calc(50% + 600px) calc(50% - 300px);
  animation: gradCircle 25s ease infinite reverse;
  width: calc(var(--gs) * 0.75);
  height: calc(var(--gs) * 0.75);
  opacity: .8;
}
.process-grad--7 {
  background: radial-gradient(circle at center, rgba(var(--c4),.9) 0%, rgba(var(--c4),0) 50%);
  transform-origin: calc(50% - 500px) calc(50% + 400px);
  animation: gradHorizontal 35s ease infinite reverse;
  width: calc(var(--gs) * 0.6);
  height: calc(var(--gs) * 0.6);
  opacity: .7;
}
.process-grad--8 {
  background: radial-gradient(circle at center, rgba(var(--c1),1) 0%, rgba(var(--c1),0) 50%);
  transform-origin: calc(50% + 300px) calc(50% + 500px);
  animation: gradVertical 22s ease infinite reverse;
  width: calc(var(--gs) * 0.5);
  height: calc(var(--gs) * 0.5);
  opacity: .6;
}

/* Interactive pointer orb — translated by JS */
.process-grad--ptr {
  background: radial-gradient(circle at center, rgba(var(--cp),.8) 0%, rgba(var(--cp),0) 50%);
  mix-blend-mode: var(--blend);
  width: 100%;
  height: 100%;
  top:  -50%;
  left: -50%;
  opacity: .7;
}

@keyframes gradVertical {
  0%   { transform: translateY(-50%); }
  50%  { transform: translateY( 50%); }
  100% { transform: translateY(-50%); }
}
@keyframes gradCircle {
  0%   { transform: rotate(  0deg); }
  50%  { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}
@keyframes gradHorizontal {
  0%   { transform: translateX(-50%) translateY(-10%); }
  50%  { transform: translateX( 50%) translateY( 10%); }
  100% { transform: translateX(-50%) translateY(-10%); }
}

/* Content sits above orbs */
#process .container {
  position: relative;
  z-index: 1;
}

/* Bento grid: 12 columns */
.process-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  list-style: none;
}

.process-card--1 { grid-column: 1 / 8;  grid-row: 1; }
.process-card--2 { grid-column: 8 / 13; grid-row: 1; }
.process-card--3 { grid-column: 1 / 6;  grid-row: 2; }
.process-card--4 { grid-column: 6 / 13; grid-row: 2; }

/* Card outer shell — holds the glow pseudo + inner card */
.process-card {
  position: relative;
  border-radius: 20px;
  min-height: 220px;
  list-style: none;
}

/* Static base border */
.process-card__glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.07);
  pointer-events: none;
  z-index: 0;
}

/* Rotating conic-gradient glow — tracks mouse via --start and --active */
.process-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from calc((var(--start, 0) - 50) * 1deg),
    transparent 0deg,
    #6b0000 80deg,
    rgba(107, 0, 0, 0.45) 140deg,
    transparent 160deg
  );
  opacity: var(--active, 0);
  transition: opacity 0.45s ease;
  z-index: 0;
}

/* Inner card: sits above the glow, 1px inset to expose glowing border */
.process-card__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  margin: 1px;
  border-radius: 19px;
  background: rgba(12, 12, 14, 0.96);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: background 0.3s;
}
.process-card:hover .process-card__inner {
  background: rgba(16, 14, 16, 0.98);
}

/* Icon badge */
.process-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
}
.process-card:hover .process-card__icon {
  border-color: rgba(150,16,16,0.4);
  color: var(--c-red);
}

.process-card__body { display: flex; flex-direction: column; gap: 0.6rem; }

.process-card__num {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 800;
  color: #6b0000;
  letter-spacing: -0.02em;
  line-height: 1;
}

.process-card__title {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  line-height: 1.15;
  margin: 0;
}

.process-card__desc {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin: 0;
}

.process-card__link {
  color: #6b0000;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s;
}
.process-card__link:hover { color: #aa0000; }

/* Responsive */
@media (max-width: 1024px) {
  .process-card--1 { grid-column: 1 / 7; }
  .process-card--2 { grid-column: 7 / 13; }
  .process-card--3 { grid-column: 1 / 7; }
  .process-card--4 { grid-column: 7 / 13; }
}

@media (max-width: 768px) {
  .process-bento { grid-template-columns: 1fr; }
  .process-card--1,
  .process-card--2,
  .process-card--3,
  .process-card--4 { grid-column: 1 / -1; grid-row: auto; }
  .process-card { min-height: 180px; }
  .process-card__inner { align-items: center; text-align: center; }
  .process-card__icon { margin: 0 auto; }
}

/* ========================================
   TESTIMONIALS — Vertical scrolling columns
   ======================================== */

/* Title area stays black, brown blooms mid-section around the cards, returns to black before Team */
#testimonials {
  background: linear-gradient(
    to bottom,
    #040000  0%,
    #040000  28%,
    #1a0803  38%,
    #2d1006  52%,
    #2d1006  62%,
    #1a0803  78%,
    #040000  100%
  );
}

/* All text in testimonials header — white */
#testimonials .section-header h2  { color: #ffffff; }
#testimonials .section-header p   { color: rgba(255,255,255,0.55); }
#testimonials .section-badge      { color: rgba(255,255,255,0.65); border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); }

/* Cards styled for dark background */
#testimonials .testimonial-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
#testimonials .testimonial-card p          { color: rgba(255,255,255,0.8); }
#testimonials .testimonial-card footer strong { color: #ffffff; }
#testimonials .testimonial-card footer span   { color: rgba(255,255,255,0.45); }

.testimonials-columns {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  max-height: 700px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.testimonials-col { width: 320px; flex-shrink: 0; overflow: hidden; }
.testimonials-col--md { display: none; }
.testimonials-col--lg { display: none; }

.testimonials-col-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  animation: scroll-testimonials var(--col-duration, 25s) linear infinite;
}

@keyframes scroll-testimonials {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.testimonial-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-gray-200);
  background: var(--c-white);
  box-shadow: 0 4px 16px rgba(150,16,16,0.04);
}

.testimonial-card p {
  font-size: var(--fs-small);
  color: var(--c-gray-700);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-card footer strong {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--c-black);
  display: block;
  line-height: 1.3;
}

.testimonial-card footer span {
  font-size: var(--fs-caption);
  color: var(--c-gray-400);
  line-height: 1.3;
}

/* ========================================
   TEAM — Collapsible bios + Tech Stack
   ======================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.team-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.team-photo-wrapper + .team-info { border-top: none; }

.team-photo-wrapper {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: transparent;
  display: block;
  line-height: 0;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s var(--ease-out);
}
.team-card:hover .team-photo { transform: scale(1.03); }

.team-info { padding: 1rem 1.25rem 1.25rem; }
.team-name-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.15rem; }
.team-name-row h3 { font-size: var(--fs-h3); color: var(--c-black); margin-bottom: 0; }
.team-info h3 { font-size: var(--fs-h3); color: var(--c-black); margin-bottom: 0.15rem; }
.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.team-linkedin:hover { color: #ffffff; }
.team-role { display: block; font-size: var(--fs-small); font-weight: 500; color: var(--c-red); margin-bottom: 1rem; }

.team-section { margin-bottom: 0.85rem; }
.team-section { margin-bottom: 0.85rem; }
.team-section h4 {
  font-size: var(--fs-caption);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-gray-400);
  margin-bottom: 0.35rem;
}
#team .team-section h4 { color: rgba(255,255,255,0.4); }

.team-highlights {
  list-style: none;
  margin: 0.5rem 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.team-highlights li {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.75);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.team-highlights li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-red);
  font-weight: 700;
}

.team-preview {
  font-size: var(--fs-small);
  color: var(--c-gray-600);
  line-height: 1.55;
}

.team-full {
  font-size: var(--fs-small);
  color: var(--c-gray-600);
  line-height: 1.65;
  margin-top: 0.35rem;
}

.team-full p { margin-bottom: 0.5rem; }

.more-btn {
  display: inline-block;
  padding: 0;
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--c-red);
  background: none;
  border: none;
  cursor: pointer;
  margin-top: 0.2rem;
  transition: color 0.2s;
}
.more-btn:hover { color: var(--c-red-hover); }

/* Tools strip inside team section */
.tools-strip {
  text-align: center;
  padding-top: 1.5rem;
}

.tools-strip .logo-track img {
  height: 114px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.4);
  transition: filter 0.15s ease;
}
.tools-strip .logo-track img:hover {
  filter: brightness(0) invert(1) opacity(0.8);
}
.tools-strip .logo-track img[alt="AWS"] { height: 36px; }

/* ========================================
   FAQ
   ======================================== */
#faq {
  padding-top: clamp(8rem, 16vh, 13rem);
  background: linear-gradient(to bottom, #040000 0%, var(--c-black) 12%);
}

.faq-layout {
  display: flex;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: flex-start;
  min-height: calc(100vh - var(--nav-height) - 2 * var(--section-py));
}

.faq-list {
  flex: 0 0 50%;
  min-width: 0;
}

.faq-list .faq-item summary {
  font-size: 0.9rem;
  padding: 0.85rem 0;
}
.faq-list .faq-item p {
  font-size: 0.82rem;
}

.faq-cta {
  flex: 0 0 calc(50% - clamp(1rem, 2vw, 2rem));
  position: sticky;
  top: calc(var(--nav-height) + 2rem);

  text-align: left;
  padding: 0 0 2rem 2rem;
  border-left: 1px solid rgba(255,255,255,0.1);
}

.faq-cta .hover-btn {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-black);
}
.faq-cta .hover-btn:hover {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
}
.faq-cta .hover-btn:hover .hover-btn__hover { color: var(--c-white); }
.faq-col-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.faq-cta h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--c-white);
  line-height: 1.15;
}
.faq-cta p {
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.75rem;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-layout { flex-direction: column; }
  .faq-cta { flex: none; width: 100%; position: static; border-left: none; border-top: none; padding: 2rem 0 0; }
}

.faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-size: var(--fs-h3);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  transition: transform 0.3s var(--ease-out), color 0.25s;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item[open] summary::after { content: '\2212'; color: var(--c-red); }
.faq-item[open] summary { color: var(--c-red); }

.faq-item p {
  padding-bottom: 1.25rem;
  font-size: var(--fs-body);
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ========================================
   FINAL CTA
   ======================================== */
#final-cta { background: var(--c-black); padding: var(--section-py) 0; }
.final-cta-content { text-align: center; }
.final-cta-content h2 {
  font-size: var(--fs-h2);
  color: var(--c-white);
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta-content p {
  font-size: var(--fs-body);
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   FOOTER
   ======================================== */
#footer { background: var(--c-gray-900); padding: 3.5rem 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo-clip {
  width: 100%;
  height: 145px;
  overflow: hidden;
  margin-left: -2rem;
  margin-bottom: 0.75rem;
}
.footer-logo-clip img {
  height: 330px;
  width: auto;
  display: block;
  margin-top: -90px;
}
.footer-brand p { font-size: var(--fs-small); color: var(--c-gray-400); max-width: 260px; line-height: 1.6; }

.footer-email { display: block; font-size: var(--fs-small); color: var(--c-gray-400); margin-bottom: 1rem; transition: color 0.25s; }
.footer-email:hover { color: var(--c-white); }
.footer-contact-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.footer-contact-row .hover-btn { margin-bottom: 0; }

.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: var(--c-gray-400); transition: color 0.25s; }
.footer-social a:hover { color: var(--c-white); }
.footer-social-email { display: none; }

.footer-nav h4, .footer-contact h4 {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { font-size: var(--fs-small); color: var(--c-gray-400); transition: color 0.25s; }
.footer-nav a:hover { color: var(--c-white); }

.footer-lang { margin-top: 0.5rem; }
.footer-lang .lang-toggle { display: inline-flex; border-color: var(--c-gray-700); background: var(--c-gray-800); }
.footer-lang .lang-btn { color: var(--c-gray-400); }
.footer-lang .lang-btn.active { color: var(--c-white); background: var(--c-red); }

.footer-bottom { border-top: 1px solid var(--c-gray-800); padding: 1.25rem 0; }
.footer-bottom p { font-size: var(--fs-caption); color: var(--c-gray-600); text-align: center; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (min-width: 768px) {
  .testimonials-col--md { display: block; }
}

@media (min-width: 1024px) {
  .testimonials-col--lg { display: block; }
}

@media (max-width: 1024px) {
}

@media (max-width: 768px) {
  .nav-pill, .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo img { height: 110px; }

  .hero-inner { padding-top: calc(var(--nav-height) + 2rem); }
  .hero-row { flex-direction: column; }
  .hero-calendly { display: none; }

  .cs-card { flex: 0 0 clamp(260px, 78vw, 360px); }

  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 0.75rem; max-width: 260px; margin: 0 auto; justify-items: center; }
  .footer-contact-row { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-logo-clip { margin: 0 auto; height: 110px; }
  .footer-logo-clip img { margin-left: auto; margin-right: auto; height: 250px; margin-top: -68px; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .footer-email { display: none; }
  .footer-social-email { display: flex; }

  .testimonials-columns { max-height: 560px; }
  .testimonials-col { width: 280px; }

  /* Reduce mask fade so logos don't vanish at edges on narrow screens */
  .logo-track-wrapper {
    -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
    mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  }
  /* Remove will-change on mobile — causes Safari to clip max-content width */
  .logo-track { will-change: auto; animation-duration: 70s; }
  .logo-track--tools { animation-duration: 80s; }
  #faq { padding-top: 3.5rem; }

  .hero-trust .logo-track img { height: 60px; filter: brightness(0) invert(1) opacity(0.8); }
  .hero-trust .logo-track img[alt="UNICEF"]       { height: 68px; }
  .hero-trust .logo-track img[alt="LEVAIN"]       { height: 64px; }
  .hero-trust .logo-track img[alt="CSLE"]         { height: 64px; }
  .hero-trust .logo-track img[alt="Ferreo Belén"] { height: 48px; }
  .logo-track img { height: 56px; }
  .tools-strip .logo-track img { height: 72px; filter: brightness(0) invert(1) opacity(0.8); }

  /* Mobile menu Book a Call — white pill, turns red on press */
  .mobile-menu .hover-btn {
    background: var(--c-white);
    border-color: var(--c-white);
    color: var(--c-black);
  }
  .mobile-menu .hover-btn:hover,
  .mobile-menu .hover-btn:active {
    background: var(--c-red);
    border-color: var(--c-red);
    color: var(--c-white);
  }
  .mobile-menu .hover-btn:hover .hover-btn__hover,
  .mobile-menu .hover-btn:active .hover-btn__hover { color: var(--c-white); }

  /* Mobile menu lang toggle — more visible */
  .mobile-menu .lang-toggle {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.1);
    padding: 2px;
  }
  .mobile-menu .lang-btn {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    padding: 0.45rem 1rem;
  }
  .mobile-menu .lang-btn.active {
    color: var(--c-white);
    background: var(--c-red);
    border-radius: 50px;
  }
}

@media (max-width: 480px) {
  .testimonial-card, .team-info { padding: 1.25rem; }
  .hero-content { padding-bottom: 2rem; }
  .hover-btn--large { padding: 0.85rem 1.75rem; font-size: var(--fs-small); width: 100%; }
  .testimonials-col { width: 260px; }
}
