/* ============================================================
   Installacions Cumalat — styles.css  v=20260526
   Archetype: Dark Industrial (Electric Blue)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ---- Custom properties ---- */
:root {
  --bg:          #0a0a0a;
  --bg-2:        #101010;
  --bg-card:     #141414;
  --bg-contact:  #0d1420;
  --blue-deep:   #1565C0;
  --blue-elec:   #42A5F5;
  --blue-mid:    #2196F3;
  --grad:        linear-gradient(135deg, #1565C0 0%, #42A5F5 100%);
  --grad-hover:  linear-gradient(135deg, #1976D2 0%, #64B5F6 100%);
  --text:        #FFFFFF;
  --text-muted:  rgba(255,255,255,0.62);
  --text-dim:    rgba(255,255,255,0.35);
  --line:        rgba(255,255,255,0.08);
  --line-blue:   rgba(66,165,245,0.3);
  --nav-h:       72px;
  --radius:      12px;
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.display {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-elec);
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--blue-elec);
  flex-shrink: 0;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-split] { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }
.reveal-delay-8 { transition-delay: 0.8s; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 24px rgba(21,101,192,0.35);
}
.btn-primary:hover {
  background: var(--grad-hover);
  box-shadow: 0 8px 32px rgba(21,101,192,0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  border-color: var(--blue-elec);
  color: var(--blue-elec);
  transform: translateY(-2px);
}

.btn-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-wa:hover {
  background: #22be5c;
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
  transform: translateY(-2px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding-inline: clamp(1rem, 4vw, 3rem);
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s, box-shadow 0.4s;
}
.navbar.scrolled {
  background: rgba(10,10,10,0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}

.navbar__logo img {
  height: 44px;
  width: auto;
  display: block;
}
.navbar__logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: none;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
}
.navbar__nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--blue-elec);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.navbar__nav a:hover { color: var(--text); }
.navbar__nav a:hover::after { transform: scaleX(1); }

.navbar__cta { margin-left: 1rem; }

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}
.navbar__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.navbar__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.97);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.navbar__mobile.open {
  opacity: 1;
  pointer-events: auto;
}
.navbar__mobile a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.navbar__mobile a:hover { color: var(--blue-elec); }
.navbar__mobile .btn { margin-top: 1rem; width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Animated gradient background */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg);
  overflow: hidden;
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 70% 50% at 20% 60%, rgba(21,101,192,0.28) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(66,165,245,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 55% 85%, rgba(21,101,192,0.14) 0%, transparent 50%);
  animation: heroBgPulse 12s ease-in-out infinite;
  filter: blur(60px);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 40%,
    rgba(10,10,10,0.8) 80%,
    var(--bg) 100%);
}

@keyframes heroBgPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  33%       { transform: scale(1.06) rotate(3deg); }
  66%       { transform: scale(0.97) rotate(-2deg); }
}

/* Grid lines decoration */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__content {
  max-width: 820px;
  padding-top: 2rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-elec);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.3s forwards;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-elec);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero__title .blue {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__title .word {
  display: inline-block;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.75s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.95s forwards;
}

/* Senyera accent */
.hero__senyera {
  display: flex;
  gap: 3px;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 0.15s forwards;
}
.hero__senyera-bar {
  height: 4px;
  border-radius: 2px;
}
.hero__senyera-bar:nth-child(1) { width: 40px; background: #D52B1E; }
.hero__senyera-bar:nth-child(2) { width: 60px; background: #FCDD09; }
.hero__senyera-bar:nth-child(3) { width: 40px; background: #D52B1E; }
.hero__senyera-bar:nth-child(4) { width: 30px; background: #FCDD09; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  animation: scrollBounce 2.5s ease-in-out infinite 2s;
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--blue-elec), transparent);
  animation: scrollLineDrop 2.5s ease-in-out infinite 2s;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}
@keyframes scrollLineDrop {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.5rem 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stats__item {
  text-align: center;
  padding: 1rem;
  position: relative;
}
.stats__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: var(--line);
}
.stats__num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
}
.stats__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.section-title .blue {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  margin-top: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  transition:
    border-color 0.3s var(--ease-out),
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
  cursor: default;
}
@media (hover: hover) {
  .service-card:hover {
    border-color: var(--blue-elec);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(21,101,192,0.22), 0 0 0 1px rgba(66,165,245,0.15) inset;
  }
  .service-card:hover .service-card__icon {
    background: var(--grad);
    transform: scale(1.08);
  }
  .service-card:hover .service-card__icon svg {
    fill: #fff;
  }
}

.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: rgba(21,101,192,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  flex-shrink: 0;
}
.service-card__icon svg {
  width: 26px; height: 26px;
  fill: var(--blue-elec);
  transition: fill 0.3s;
}

.service-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.service-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about__text p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
}
.about__text p:last-of-type { margin-bottom: 0; }

.about__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.about__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(21,101,192,0.1);
  border: 1px solid var(--line-blue);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--blue-elec);
}
.about__badge svg {
  width: 14px; height: 14px;
  fill: var(--blue-elec);
}

/* Visual panel right */
.about__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__visual-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 40%, rgba(21,101,192,0.2) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-card) 0%, rgba(10,10,10,0.5) 100%);
}

.about__visual-icon {
  position: relative;
  z-index: 1;
  text-align: center;
}
.about__visual-icon svg {
  width: 80px; height: 80px;
  fill: none;
  stroke: var(--blue-elec);
  stroke-width: 1.2;
  opacity: 0.7;
  display: block;
  margin: 0 auto 1rem;
}
.about__visual-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.about__visual-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.float-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--blue-elec);
  animation: floatDot 4s ease-in-out infinite;
}
.float-dot:nth-child(1) { width: 6px; height: 6px; top: 20%; left: 15%; animation-delay: 0s; }
.float-dot:nth-child(2) { width: 4px; height: 4px; top: 65%; left: 82%; animation-delay: 1.3s; }
.float-dot:nth-child(3) { width: 8px; height: 8px; top: 78%; left: 22%; animation-delay: 2.1s; opacity: 0.5; }
.float-dot:nth-child(4) { width: 3px; height: 3px; top: 30%; left: 75%; animation-delay: 0.8s; }
@keyframes floatDot {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
  50%       { transform: translateY(-12px) scale(1.3); opacity: 1; }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.filter-btn.active,
.filter-btn:hover {
  border-color: var(--blue-elec);
  color: var(--blue-elec);
  background: rgba(66,165,245,0.06);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: zoom-in;
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.gallery__item.hidden { display: none; }
.gallery__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
@media (hover: hover) {
  .gallery__item:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.5); }
  .gallery__item:hover img { transform: scale(1.08); }
  .gallery__item:hover .gallery__caption { transform: none; }
  .gallery__item:hover .gallery__overlay { opacity: 1; }
}

.gallery__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
  transform: translateY(100%);
  transition: transform 0.35s var(--ease-out);
}
.gallery__caption-tag {
  display: inline-block;
  padding: 2px 10px;
  background: var(--grad);
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.3rem;
}
.gallery__caption-title {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(21,101,192,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery__overlay svg {
  width: 36px; height: 36px;
  fill: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
  backdrop-filter: blur(8px);
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__img {
  max-width: min(90vw, 1000px);
  max-height: 88vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
  transform: scale(0.95);
  transition: transform 0.35s var(--ease-out);
}
.lightbox.open .lightbox__img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); }
.lightbox__close svg { width: 18px; height: 18px; stroke: #fff; fill: none; }
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }
.lightbox__prev:hover,
.lightbox__next:hover { background: rgba(255,255,255,0.18); }
.lightbox__prev svg,
.lightbox__next svg { width: 22px; height: 22px; stroke: #fff; fill: none; }

/* ============================================================
   WHY SECTION
   ============================================================ */
.why {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why__item {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
@media (hover: hover) {
  .why__item:hover {
    border-color: var(--line-blue);
    transform: translateY(-4px);
  }
}

.why__icon {
  width: 56px; height: 56px;
  margin: 0 auto 1.2rem;
  border-radius: 14px;
  background: rgba(21,101,192,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why__icon svg {
  width: 28px; height: 28px;
  fill: var(--blue-elec);
}
.why__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
}
.why__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg-contact);
  border-top: 1px solid var(--line-blue);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(ellipse 50% 40% at 10% 50%, rgba(21,101,192,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 90% 60%, rgba(66,165,245,0.1) 0%, transparent 55%);
  filter: blur(60px);
  pointer-events: none;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  position: relative;
  z-index: 1;
}

.contact__tel-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: color 0.2s;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.contact__tel-link:hover { color: var(--blue-elec); }
.contact__tel-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact__tel-icon svg {
  width: 22px; height: 22px;
  fill: #fff;
}

.contact__email-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.contact__email-link:hover { color: var(--blue-elec); }
.contact__email-link svg {
  width: 16px; height: 16px;
  fill: var(--blue-elec);
  flex-shrink: 0;
}

.contact__info-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.contact__info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.contact__info-item svg {
  width: 15px; height: 15px;
  fill: var(--blue-elec);
  flex-shrink: 0;
}

.contact__wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: #25D366;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(37,211,102,0.3);
}
.contact__wa-btn:hover {
  background: #22be5c;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.45);
}
.contact__wa-btn svg {
  width: 22px; height: 22px;
  fill: #fff;
}

/* Form */
.contact__form {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.contact__form h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.1rem;
}
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue-mid);
  background: rgba(21,101,192,0.06);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--grad);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(21,101,192,0.3);
  margin-top: 0.5rem;
}
.form-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(21,101,192,0.45);
}
.form-submit:active { transform: scale(0.98); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #060606;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer__logo img {
  height: 36px;
  width: auto;
}
.footer__logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: none;
}
.footer__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}
.footer__info a,
.footer__info span {
  font-size: 0.83rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer__info a:hover { color: var(--blue-elec); }
.footer__copy {
  font-size: 0.78rem;
  color: var(--text-dim);
}
.footer__pride {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 300;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
  animation: waPulseIn 0.6s var(--ease-out) 2s backwards;
}
@keyframes waPulseIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
}
.wa-float:active { transform: scale(0.95); }
.wa-float svg {
  width: 30px; height: 30px;
  fill: #fff;
}
.wa-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  background: rgba(10,10,10,0.9);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  color: var(--text);
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s, transform 0.2s;
}
.wa-float:hover .wa-float__tooltip {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2)::after { display: none; }
}

@media (max-width: 768px) {
  .navbar__nav { display: none; }
  .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }
  .navbar__mobile { display: flex; }

  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__visual { display: none; }

  .contact__grid { grid-template-columns: 1fr; }

  .gallery__grid { columns: 2; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__info { text-align: center; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 540px) {
  .services__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { columns: 1; }
  .wa-float { bottom: 1.2rem; right: 1.2rem; }
  .wa-float__tooltip { display: none; }
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
  position: relative;
  z-index: 200;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
  color: var(--text);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
  line-height: 1;
}
.lang-current:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--blue-elec);
}
.lang-current svg {
  transition: transform 0.2s var(--ease-out);
  flex-shrink: 0;
}
.lang-switcher.open .lang-current svg {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 4px;
  min-width: 160px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.lang-switcher.open .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.lang-option {
  display: block;
  width: 100%;
  padding: 9px 14px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.02em;
}
.lang-option:hover {
  background: rgba(66,165,245,0.12);
  color: var(--text);
}
.lang-option.active {
  color: var(--blue-elec);
  font-weight: 600;
}

/* Hide lang switcher on mobile — hamburger menu takes over */
@media (max-width: 768px) {
  .lang-switcher { display: none; }
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
  position: fixed;
  width: 7px; height: 7px;
  background: var(--blue-elec);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s, width 0.2s, height 0.2s;
}
.cursor-ring {
  position: fixed;
  width: 34px; height: 34px;
  border: 1.5px solid rgba(66,165,245,0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, border-color 0.25s, opacity 0.25s;
}
.cursor-ring.hovered {
  width: 52px; height: 52px;
  border-color: var(--blue-elec);
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}
body.has-cursor, body.has-cursor a, body.has-cursor button,
body.has-cursor .gallery__item, body.has-cursor .filter-btn { cursor: none; }

/* ============================================================
   HERO CHAR ANIMATION
   ============================================================ */
.hero__title .char {
  display: inline-block;
  animation: charFallIn 0.55s var(--ease-out) backwards;
}
@keyframes charFallIn {
  from { opacity: 0; transform: translateY(28px) rotateX(-55deg); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title .char { animation: none; }
}

/* ============================================================
   BRANDS STRIP
   ============================================================ */
.brands {
  padding: 2.8rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.brands__header {
  text-align: center;
  margin-bottom: 1.8rem;
}
.brands__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}
.brands__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brands__marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.brands__track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  animation: marqueeScroll 30s linear infinite;
  flex-shrink: 0;
  white-space: nowrap;
}
.brands__marquee:hover .brands__track { animation-play-state: paused; }
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.brand-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s;
  user-select: none;
}
.brand-item:hover { color: var(--blue-elec); }
.brand-sep {
  color: var(--line-blue);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}
.process__connector {
  position: absolute;
  top: 2.4rem;
  left: calc(16.67% + 0.5rem);
  right: calc(16.67% + 0.5rem);
  height: 1px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-elec), var(--blue-deep));
  opacity: 0.25;
  pointer-events: none;
}
@media (max-width: 768px) { .process__connector { display: none; } }

.process__step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s;
}
@media (hover: hover) {
  .process__step:hover {
    border-color: var(--line-blue);
    transform: translateY(-5px);
  }
}
.process__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(21,101,192,0.4);
}
.process__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}
.process__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   GOOGLE MAP
   ============================================================ */
.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 200px;
  margin-top: 1.5rem;
}
.contact__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.8) brightness(0.9);
}

/* ============================================================
   WHATSAPP FLOATING — ENHANCED
   ============================================================ */
.wa-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37,211,102,0.28);
  animation: waPulseRing 2.8s ease-out 4s infinite;
  pointer-events: none;
}
@keyframes waPulseRing {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}
.wa-float__bubble {
  position: absolute;
  right: calc(100% + 14px);
  bottom: 6px;
  background: #fff;
  color: #111;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  padding: 10px 14px;
  border-radius: 12px 12px 0 12px;
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  animation: bubbleAppear 0.45s var(--ease-out) 5s backwards;
  pointer-events: none;
}
.wa-float__bubble strong {
  display: block;
  font-size: 0.82rem;
  color: #25D366;
}
.wa-float__bubble::after {
  content: '';
  position: absolute;
  bottom: 0; right: -8px;
  border-style: solid;
  border-width: 8px 0 0 8px;
  border-color: transparent transparent transparent #fff;
}
@keyframes bubbleAppear {
  from { opacity: 0; transform: scale(0.85) translateX(8px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   MOBILE LANGUAGE PILLS
   ============================================================ */
.mobile-lang-row {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0 0.5rem;
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.mobile-lang-pill {
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.mobile-lang-pill:hover,
.mobile-lang-pill.active {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}

/* ============================================================
   RESPONSIVE v2
   ============================================================ */
@media (max-width: 1024px) {
  .process__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .process__grid { grid-template-columns: 1fr; gap: 1rem; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .navbar__mobile { padding-bottom: 1.5rem; }
}
@media (max-width: 540px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .brands__track { gap: 2rem; }
  .gallery__filters { gap: 0.4rem; }
  .filter-btn { font-size: 0.72rem; padding: 0.35rem 0.7rem; }
}

/* ============================================================
   GALLERY FILTER ANIMATION + COUNT BADGES
   ============================================================ */

/* Hidden items vanish from grid flow */
.gallery__item.hidden {
  display: none;
}

/* Step 1 — animate OUT before hiding */
.gallery__item.gal-out {
  opacity: 0 !important;
  transform: scale(0.82) !important;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease !important;
}

/* Step 2 — staggered fade-in for newly visible items */
.gallery__item.gal-in {
  animation: galFadeIn 0.42s ease calc(var(--gal-i, 0) * 55ms) both;
}
@keyframes galFadeIn {
  from { opacity: 0; transform: translateY(18px) scale(0.93); }
  to   { opacity: 1; transform: none; }
}

/* Count badge on filter buttons (e.g. "Banys 5") */
.filter-btn[data-count]::after {
  content: attr(data-count);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5em;
  height: 1.5em;
  border-radius: 99px;
  background: rgba(255,255,255,0.07);
  color: var(--text-dim);
  font-size: 0.68em;
  font-weight: 600;
  margin-left: 0.35em;
  padding: 0 0.3em;
  vertical-align: middle;
  transition: background 0.2s, color 0.2s;
}
.filter-btn.active[data-count]::after {
  background: rgba(66,165,245,0.28);
  color: var(--blue-elec);
}

/* Wider filter row on desktop so 8 buttons fit */
.gallery__filters {
  flex-wrap: wrap;
}

/* Lightbox fade transition for src swap */
.lightbox__img {
  transition: opacity 0.15s ease;
}

/* ============================================================
   HERO ELECTRIC STORM — realistic lightning bolts
   ============================================================ */
.hero__lightning {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero__lightning svg { width: 100%; height: 100%; }

/* All bolt groups hidden by default */
.lbolt { opacity: 0; }

/* ── REAL LIGHTNING FLASH: invisible → instant bright flash → flicker → gone ── */
@keyframes stormFlash {
  0%      { opacity: 0; }
  /* LONG DARKNESS */
  72%     { opacity: 0; }
  /* FIRST FLASH — instant, full brightness */
  72.5%   { opacity: 1; }
  73.5%   { opacity: 0.05; }
  /* SECOND FLICKER (real lightning always flickers) */
  74%     { opacity: 0.88; }
  75%     { opacity: 0; }
  /* DONE */
  100%    { opacity: 0; }
}

/* 7 bolts — all fire at different times, negative delays = immediate start */
.lb1 { animation: stormFlash 4.1s  -0.8s  linear infinite; }
.lb2 { animation: stormFlash 5.8s  -3.9s  linear infinite; }
.lb3 { animation: stormFlash 3.2s  -0.5s  linear infinite; }
.lb4 { animation: stormFlash 6.5s  -4.7s  linear infinite; }
.lb5 { animation: stormFlash 4.7s  -2.1s  linear infinite; }
.lb6 { animation: stormFlash 7.3s  -5.2s  linear infinite; }
.lb7 { animation: stormFlash 3.8s  -1.4s  linear infinite; }

/* ── AMBIENT SKY FLASH: the whole hero briefly lights blue when bolt 1 fires ── */
.hero__lightning::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 100% at 88% 20%, rgba(180,220,255,0.18) 0%, rgba(66,165,245,0.06) 40%, transparent 70%);
  animation: skyFlash 4.1s -0.8s linear infinite;
  pointer-events: none;
}
@keyframes skyFlash {
  0%, 70%   { opacity: 0; }
  72.5%     { opacity: 1; }
  73.5%     { opacity: 0; }
  74%       { opacity: 0.7; }
  75%       { opacity: 0; }
  100%      { opacity: 0; }
}

/* ============================================================
   NAVBAR — larger logo + brand name
   ============================================================ */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.navbar__logo img {
  height: 46px;
  width: auto;
  display: block;
}
.navbar__brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  line-height: 1.25;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.navbar__brand-name strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.06em;
}

/* ============================================================
   TEAM MEMBER — name styling
   ============================================================ */
.team-member__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-elec);
  margin-bottom: 0.1rem;
  line-height: 1;
}

/* Remove cursor overrides — use system default */
.has-cursor, .has-cursor * { cursor: unset; }
.cursor-dot, .cursor-ring  { display: none !important; }

/* ============================================================
   ABOUT — TWO-PERSON TEAM CARDS
   ============================================================ */
.about__team {
  display: flex;
  gap: 1rem;
  align-items: stretch;
}
.team-member {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 1.6rem 1.3rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.team-member::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21,101,192,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.team-member:hover {
  border-color: rgba(66,165,245,0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(66,165,245,0.1);
}
.team-member__avatar {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(66,165,245,0.08);
  border: 1px solid rgba(66,165,245,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.team-member__avatar svg {
  width: 26px;
  height: 26px;
  color: var(--blue-elec);
}
.team-member__avatar.young {
  background: rgba(66,165,245,0.14);
  border-color: rgba(66,165,245,0.3);
}
.team-member__years {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(66,165,245,0.1);
  color: var(--blue-elec);
  border: 1px solid rgba(66,165,245,0.22);
  border-radius: 99px;
  padding: 0.18rem 0.65rem;
  margin-bottom: 0.65rem;
}
.team-member__years.young {
  background: rgba(66,165,245,0.18);
  box-shadow: 0 0 10px rgba(66,165,245,0.15);
}
.team-member__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.team-member__role {
  font-size: 0.7rem;
  color: var(--blue-elec);
  opacity: 0.75;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.team-member__bio {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.team-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding-top: 1rem;
}
.team-divider svg {
  height: 100px;
  width: 20px;
}
@media (max-width: 600px) {
  .about__team { flex-direction: column; }
  .team-divider { padding-top: 0; padding-left: 1rem; }
  .team-divider svg { transform: rotate(90deg); height: 20px; width: 80px; }
}
