/* ==========================================================================
   Libo Energy — Components
   Navbar, dropdowns, cards, badges, counters, forms, footer, back-to-top.
   (§7 Component Library)
   ========================================================================== */

/* ======================================================================
   NAVBAR (§7)
   Transparent over hero → solid Midnight Navy + condensed + shadow on scroll.
   ====================================================================== */
.lb-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1030;
  transition: background var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}

.lb-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding-block: var(--sp-6);
  transition: padding var(--dur-mid) var(--ease-out);
}

/* Brand */
.lb-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.lb-brand img {
  height: 44px;
  width: auto;
  transition: height var(--dur-mid) var(--ease-out);
}
/* White lockup chip so the multi-color logo stays legible over photos */
.lb-brand--chip {
  background: rgba(255, 255, 255, 0.94);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

/* Nav links */
.lb-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  list-style: none;
  margin: 0;
  padding: 0;
}
.lb-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--lb-font-head);
  font-weight: var(--fw-semibold);
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease-out);
}
.lb-nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--lb-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-out);
}
.lb-nav__link:hover,
.lb-nav__link:focus-visible { color: #fff; }
.lb-nav__link:hover::after,
.lb-nav__link.is-active::after { transform: scaleX(1); }
.lb-nav__link.is-active { color: #fff; }

/* Subtle top scrim so white nav text stays legible over bright hero images
   while the header is transparent; fades out once the header turns solid. */
.lb-header > .container-lb { position: relative; z-index: 1; }
.lb-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(10, 30, 61, 0.55) 0%, rgba(10, 30, 61, 0) 100%);
  pointer-events: none;
  transition: opacity var(--dur-mid) var(--ease-out);
}
.lb-header.is-scrolled::before { opacity: 0; }

/* Scrolled: solid navy bar, condensed height, links stay white */
.lb-header.is-scrolled {
  background: var(--lb-navy);
  box-shadow: var(--shadow-md);
}
.lb-header.is-scrolled .lb-nav__link { color: rgba(255, 255, 255, 0.92); }
.lb-header.is-scrolled .lb-nav__link:hover,
.lb-header.is-scrolled .lb-nav__link.is-active { color: #fff; }
.lb-header.is-scrolled .lb-navbar { padding-block: var(--sp-3); }
.lb-header.is-scrolled .lb-brand img { height: 36px; }

/* Right-side utilities */
.lb-nav-utils {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex: 0 0 auto;
}
.lb-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1rem;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.lb-icon-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }
.lb-header.is-scrolled .lb-icon-btn { color: rgba(255,255,255,0.92); }

/* Language toggle */
.lb-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--lb-font-head);
  font-weight: var(--fw-semibold);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
  min-height: 44px;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.lb-lang:hover { border-color: #fff; color: #fff; }

/* Hamburger */
.lb-burger {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent;
  cursor: pointer;
  color: rgba(255,255,255,0.95);
  font-size: 1.4rem;
}

/* ---- Mobile slide-in panel ------------------------------------------- */
.lb-mobile-panel {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(86vw, 380px);
  background: var(--lb-navy);
  z-index: 1050;
  padding: var(--sp-16) var(--sp-6) var(--sp-6);
  transform: translateX(100%);
  transition: transform var(--dur-mid) var(--ease-out);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
[dir="rtl"] .lb-mobile-panel { transform: translateX(-100%); }
.lb-mobile-panel.is-open { transform: translateX(0); }
.lb-mobile-panel__link {
  font-family: var(--lb-font-head);
  font-weight: var(--fw-semibold);
  font-size: 1.125rem;
  color: #fff;
  padding: 14px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: block;
}
.lb-mobile-panel__link:hover { color: var(--lb-red-light); }
.lb-mobile-close {
  position: absolute;
  inset-block-start: var(--sp-6);
  inset-inline-end: var(--sp-6);
  width: 44px; height: 44px;
  background: transparent; border: 0; color: #fff;
  font-size: 1.5rem; cursor: pointer;
}
.lb-backdrop {
  position: fixed;
  inset: 0;
  background: var(--scrim-modal);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-mid) var(--ease-out), visibility var(--dur-mid);
}
.lb-backdrop.is-open { opacity: 1; visibility: visible; }

@media (max-width: 991.98px) {
  .lb-nav { display: none; }
  .lb-nav-utils .lb-lang,
  .lb-nav-utils .btn-lb { display: none; }
  .lb-burger { display: inline-flex; align-items: center; justify-content: center; }
}

/* ======================================================================
   BADGES / certification medallions (§6.2, §7)
   ====================================================================== */
.lb-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-2);
}
.lb-badge__medallion {
  width: 96px; height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--lb-cyan-light);
  font-size: 2rem;
}
.lb-badge__label {
  font-family: var(--lb-font-head);
  font-weight: var(--fw-semibold);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--lb-text-body-dark);
  text-transform: uppercase;
}

/* ======================================================================
   CARDS (base) (§7)
   ====================================================================== */
.lb-card {
  background: var(--lb-white);
  border: 1px solid var(--lb-line);
  border-radius: var(--radius-md);
  padding: var(--sp-8);
  transition: transform var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out);
}
.lb-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--lb-royal);
}

/* ======================================================================
   SERVICE CARDS (§7, §6.3)
   Image-led tile: dark gradient overlay, index number top-left,
   title bottom-left, arrow bottom-right. Hover: zoom + underline + arrow.
   Entire tile is a single clickable link (§12).
   ====================================================================== */
.lb-service {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--lb-carbon);
  aspect-ratio: 4 / 3;
  color: #fff;
  isolation: isolate;
}
.lb-service__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform var(--dur-slow) var(--ease-out);
  z-index: 0;
}
.lb-service:hover .lb-service__img,
.lb-service:focus-visible .lb-service__img { transform: scale(1.07); }

/* dark gradient overlay for legibility */
.lb-service__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(10, 30, 61, 0.15) 0%,
    rgba(10, 30, 61, 0.30) 45%,
    rgba(10, 30, 61, 0.86) 100%);
  transition: background var(--dur-mid) var(--ease-out);
}
.lb-service:hover .lb-service__overlay,
.lb-service:focus-visible .lb-service__overlay {
  background: linear-gradient(180deg,
    rgba(10, 30, 61, 0.25) 0%,
    rgba(10, 30, 61, 0.45) 45%,
    rgba(10, 30, 61, 0.90) 100%);
}

/* large index number top-left in semi-transparent white */
.lb-service__num {
  position: absolute;
  z-index: 2;
  inset-block-start: var(--sp-6);
  inset-inline-start: var(--sp-6);
  font-family: var(--lb-font-head);
  font-weight: var(--fw-bold);
  font-size: 2.25rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.32);
  font-variant-numeric: tabular-nums;
}

.lb-service__body {
  position: absolute;
  z-index: 2;
  inset-block-end: 0;
  inset-inline: 0;
  padding: var(--sp-6);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-3);
}
.lb-service__title {
  font-family: var(--lb-font-head);
  font-weight: var(--fw-semibold);
  font-size: 1.25rem;
  line-height: 1.25;
  color: #fff;
  margin: 0;
  position: relative;
  padding-bottom: var(--sp-2);
}
/* accent underline draws left→right on hover */
.lb-service__title::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  height: 2px;
  width: 0;
  background: var(--lb-red);
  transition: width var(--dur-mid) var(--ease-out);
}
.lb-service:hover .lb-service__title::after,
.lb-service:focus-visible .lb-service__title::after { width: 48px; }

/* arrow affordance bottom-right slides in on hover */
.lb-service__arrow {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--lb-red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--dur-mid) var(--ease-out), transform var(--dur-mid) var(--ease-out);
}
[dir="rtl"] .lb-service__arrow { transform: translateX(8px); }
[dir="rtl"] .lb-service__arrow i { transform: scaleX(-1); }
.lb-service:hover .lb-service__arrow,
.lb-service:focus-visible .lb-service__arrow { opacity: 1; transform: translateX(0); }

/* ======================================================================
   FEATURE BLOCKS — "Why Choose Us" (§7, §6.7)
   Cyan circular icon + navy title + one-line description.
   ====================================================================== */
.lb-feature { text-align: center; }
.lb-feature__icon {
  width: 76px; height: 76px;
  margin: 0 auto var(--sp-6);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: var(--lb-cyan);
  background: var(--lb-cloud);
  box-shadow: inset 0 0 0 0 var(--lb-cyan);
  transition: color var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}
/* icon "fills" with cyan on entry (§6.7) */
.lb-feature.aos-animate .lb-feature__icon {
  color: #fff;
  box-shadow: inset 0 0 0 40px var(--lb-cyan);
}
.lb-feature:hover .lb-feature__icon {
  color: #fff;
  box-shadow: inset 0 0 0 40px var(--lb-cyan);
}
@media (prefers-reduced-motion: reduce) {
  .lb-feature__icon { transition: none; }
}
.lb-feature__title {
  font-family: var(--lb-font-head);
  font-weight: var(--fw-semibold);
  font-size: 1.1875rem;
  color: var(--lb-text-heading);
  margin: 0 0 var(--sp-2);
}
.lb-feature__desc {
  color: var(--lb-text-muted);
  font-size: var(--fs-body);
  margin: 0;
  max-width: 30ch;
  margin-inline: auto;
}

/* ======================================================================
   STATISTICS COUNTERS (§7, §6.5)
   ====================================================================== */
.lb-stat { text-align: center; }
.lb-stat__icon {
  font-size: 1.75rem;
  color: var(--lb-cyan-light);
  margin-bottom: var(--sp-3);
}
/* subtle icon pop when the stat scrolls into view (§6.5) */
.lb-stat.aos-animate .lb-stat__icon {
  animation: lb-icon-pop var(--dur-slow) var(--ease-out) 120ms both;
}
@keyframes lb-icon-pop {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .lb-stat.aos-animate .lb-stat__icon { animation: none; }
}
.lb-stat__num {
  font-family: var(--lb-font-head);
  font-weight: var(--fw-bold);
  font-size: var(--fs-stat);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.lb-stat__num .lb-stat__suffix { color: var(--lb-red-light); }
.lb-stat__label {
  margin-top: var(--sp-3);
  font-family: var(--lb-font-head);
  font-weight: var(--fw-semibold);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lb-text-body-dark);
}

/* ======================================================================
   PROJECT CARDS (§7, §6.6)
   Image top + category chip; title + scope below; "Read More".
   Lives in a horizontal slider; active slide emphasized.
   ====================================================================== */
.lb-project {
  background: var(--lb-white);
  border: 1px solid var(--lb-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out);
}
.lb-project__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.lb-project__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.lb-project:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--lb-royal); }
.lb-project:hover .lb-project__media img { transform: scale(1.06); }

/* category tag chip */
.lb-project__tag {
  position: absolute;
  inset-block-start: var(--sp-4);
  inset-inline-start: var(--sp-4);
  z-index: 1;
  font-family: var(--lb-font-head);
  font-weight: var(--fw-semibold);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--lb-royal);
  padding: 6px 12px;
  border-radius: 999px;
}
.lb-project__tag--red { background: var(--lb-red); }

.lb-project__body {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1 1 auto;
}
.lb-project__title {
  font-family: var(--lb-font-head);
  font-weight: var(--fw-semibold);
  font-size: 1.1875rem;
  line-height: 1.3;
  color: var(--lb-text-heading);
  margin: 0;
}
.lb-project__scope {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-small);
  color: var(--lb-text-muted);
}
.lb-project__scope i { color: var(--lb-cyan); }
.lb-project__more { margin-top: auto; padding-top: var(--sp-3); }

/* active slide emphasis (§6.6) */
.projects__slider .swiper-slide-active .lb-project {
  box-shadow: var(--shadow-lg);
  border-color: var(--lb-royal);
}

/* ======================================================================
   SLIDER CONTROLS — shared brand arrows for Swiper sections (§7)
   ====================================================================== */
.lb-slider-arrows { display: inline-flex; gap: var(--sp-3); }
.lb-slider-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--lb-line);
  background: var(--lb-white);
  color: var(--lb-navy);
  display: grid; place-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.lb-slider-arrow:hover { background: var(--lb-red); border-color: var(--lb-red); color: #fff; }
.lb-slider-arrow.swiper-button-disabled { opacity: 0.4; cursor: default; }
.lb-slider-arrow.swiper-button-disabled:hover { background: var(--lb-white); color: var(--lb-navy); border-color: var(--lb-line); }
[dir="rtl"] .lb-slider-arrow i { transform: scaleX(-1); }

/* ======================================================================
   LOGO STRIP — Brands (§6.9) & Clients (§6.12)
   Grayscale by default, full-color on hover; Swiper carousel.
   ====================================================================== */
.lb-logo-strip .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}
.lb-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 88px;
  padding: var(--sp-4) var(--sp-6);
}
.lb-logo img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter var(--dur-mid) var(--ease-out), opacity var(--dur-mid) var(--ease-out);
}
.lb-logo:hover img,
.lb-logo:focus-visible img { filter: grayscale(0); opacity: 1; }

/* dots styled in brand colors */
.lb-dots { margin-top: var(--sp-8); display: flex; justify-content: center; }
.lb-dots .swiper-pagination-bullet {
  width: 9px; height: 9px;
  background: var(--lb-line);
  opacity: 1;
  transition: background var(--dur-fast) var(--ease-out), width var(--dur-fast) var(--ease-out);
}
.lb-dots .swiper-pagination-bullet-active {
  background: var(--lb-red);
  width: 22px;
  border-radius: 999px;
}

/* ======================================================================
   TESTIMONIAL QUOTE CARD (§6.11)
   Centered quote, quotation-mark accent, avatar + name/role/company.
   ====================================================================== */
.lb-quote {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  padding-top: var(--sp-12);
}
.lb-quote__mark {
  position: absolute;
  inset-block-start: -10px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  font-family: var(--lb-font-head);
  font-weight: var(--fw-bold);
  font-size: 6rem;
  line-height: 1;
  color: var(--lb-red);
  opacity: 0.85;
}
.lb-quote__text {
  font-family: var(--lb-font-head);
  font-weight: var(--fw-semibold);
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  line-height: 1.5;
  color: #fff;
  margin: 0 0 var(--sp-8);
}
.lb-quote__person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
}
.lb-quote__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.25);
}
.lb-quote__meta { text-align: start; }
.lb-quote__name {
  font-family: var(--lb-font-head);
  font-weight: var(--fw-semibold);
  color: #fff;
  font-size: 1rem;
}
.lb-quote__role { font-size: var(--fs-small); color: var(--lb-text-body-dark); }

/* dots on dark variant */
.lb-dots--on-dark .swiper-pagination-bullet { background: rgba(255,255,255,0.3); }
.lb-dots--on-dark .swiper-pagination-bullet-active { background: var(--lb-red); }

/* ======================================================================
   FORMS (§7)
   ====================================================================== */
.lb-label {
  display: block;
  font-weight: var(--fw-medium);
  font-size: 0.875rem;
  color: var(--lb-slate);
  margin-bottom: var(--sp-2);
}
.lb-input,
.lb-select,
.lb-textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--lb-line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-family: var(--lb-font-body);
  font-size: var(--fs-body);
  color: var(--lb-text-body);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.lb-input:focus,
.lb-select:focus,
.lb-textarea:focus {
  outline: none;
  border-color: var(--lb-cyan);
  box-shadow: 0 0 0 4px rgba(2, 136, 204, 0.15);
}
.lb-input.is-invalid,
.lb-textarea.is-invalid { border-color: var(--lb-red); }
.lb-help-error { color: var(--lb-red); font-size: var(--fs-small); margin-top: var(--sp-1); }
.lb-help-ok { color: #1a7f47; font-size: var(--fs-small); margin-top: var(--sp-1); }

/* ======================================================================
   BACK TO TOP (§6.13)
   ====================================================================== */
.lb-back-to-top {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-end: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--lb-red);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 1020;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: var(--shadow-md);
  transition: opacity var(--dur-mid) var(--ease-out),
              transform var(--dur-mid) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              visibility var(--dur-mid);
}
.lb-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.lb-back-to-top:hover { background: var(--lb-red-dark); }

/* ======================================================================
   PRELOADER (§8)
   ====================================================================== */
.lb-preloader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--lb-navy);
  display: grid;
  place-items: center;
  transition: opacity var(--dur-slow) var(--ease-out), visibility var(--dur-slow);
}
.lb-preloader.is-hidden { opacity: 0; visibility: hidden; }
.lb-preloader__logo {
  width: 120px;
  animation: lb-pulse 1.4s ease-in-out infinite;
  background: #fff; padding: 10px 14px; border-radius: var(--radius-sm);
}
@keyframes lb-pulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(214,38,28,0)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 16px rgba(214,38,28,0.6)); transform: scale(1.04); }
}

/* ======================================================================
   FOOTER (§6.13, §7)
   ====================================================================== */
.lb-footer {
  background: var(--lb-carbon);
  color: var(--lb-text-body-dark);
  padding-block: var(--section-pad) var(--sp-8);
}
.lb-footer h3 {
  color: #fff;
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
}
.lb-footer a { color: var(--lb-text-body-dark); }
.lb-footer a:hover { color: #fff; }
.lb-footer__links { list-style: none; padding: 0; margin: 0; }
.lb-footer__links li { margin-bottom: var(--sp-3); }
.lb-footer__links a { position: relative; }
.lb-footer__links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--lb-red);
  transition: width var(--dur-mid) var(--ease-out);
}
[dir="rtl"] .lb-footer__links a::after { left: auto; right: 0; }
.lb-footer__links a:hover::after { width: 100%; }

.lb-social {
  display: flex;
  gap: var(--sp-3);
  list-style: none; padding: 0; margin: var(--sp-4) 0 0;
}
.lb-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.lb-social a:hover { background: var(--lb-red); transform: translateY(-3px); }

.lb-footer__contact {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.lb-footer__contact li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.lb-footer__contact i { color: var(--lb-cyan-light); margin-top: 4px; }

.lb-legal {
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-small);
  color: var(--lb-steel);
}
