/* ========================================================================
   ROXLIFT - OPTIMIZED CSS SYSTEM
   ======================================================================== */
/* Modern industrial brand site with GSAP animations
   Optimized for 60fps performance across all devices */

/* ========================================================================
   CSS VARIABLES - Brand Design System
   ======================================================================== */
:root {
  /* Brand Colors */
  --accent: #f7a337;
  --accent-strong: #ffcd6f;

  /* Text Colors */
  --text-primary: #f6f7ff;
  --text-muted: rgba(233, 236, 255, 0.7);
  --text-soft: rgba(233, 236, 255, 0.5);

  /* Navigation Toggle */
  --toggle-line-width: clamp(18px, 4vw, 24px);
  --toggle-line-thickness: 2px;
  --toggle-line-gap: clamp(6px, 1.2vw, 8px);

  /* Background Colors */
  --bg-start: #0c0f17;
  --bg-mid: #0c1220;
  --bg-end: #0a1a34;
  --brand: #f9a24c;
  --brand-2: #ffcb7a;
  --teal: #1d7db0;

  /* Layout */
  --layout-max-width: 1160px;
  --grain-opacity: 0.15;
}

/* ========================================================================
   RESET & BASE STYLES
   ======================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ✅ iOS Safari specific fix for html element */
html {
  height: 100%;
}

@supports (-webkit-touch-callout: none) {
  html {
    height: -webkit-fill-available;
  }
}

html.preloading,
html.preloading body {
  overflow: hidden;
  height: 100%;
}

body {
  margin: 0;
  font-family: "Manrope", "Poppins", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(
    85% 85% at 15% 10%,
    rgba(247, 163, 55, 0.22) 0%,
    rgba(6, 6, 14, 0.3) 38%,
    rgba(5, 5, 17, 1) 100%
  );
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  /* ✅ iOS Safari compatibility */
  min-height: -webkit-fill-available;
  /* ✅ Modern viewport height for mobile browsers */
  min-height: 100dvh;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* ✅ iOS Safari scroll optimizations */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  /* ✅ iOS Safe Area insets */
  padding-top: env(safe-area-inset-top, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

a {
  color: inherit;
}

/* ========================================================================
   PRELOADER SYSTEM
   ======================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(
      1200px 600px at 10% 30%,
      rgba(249, 162, 76, 0.15),
      transparent 60%
    ),
    radial-gradient(
      1100px 500px at 90% 55%,
      rgba(29, 125, 176, 0.12),
      transparent 60%
    ),
    linear-gradient(
      115deg,
      var(--bg-start) 0%,
      var(--bg-mid) 45%,
      var(--bg-end) 100%
    );
  backdrop-filter: blur(0.6px);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* ✅ Removed unused background image reference */

/* Animated light waves */
#preloader::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      120px 60px at 18% 68%,
      rgba(249, 162, 76, 0.28),
      transparent 60%
    ),
    conic-gradient(
      from 0deg at 15% 70%,
      rgba(249, 162, 76, 0.18),
      transparent 40% 60%,
      rgba(249, 162, 76, 0.12)
    ),
    conic-gradient(
      from 180deg at 85% 80%,
      rgba(29, 125, 176, 0.18),
      transparent 45% 65%,
      rgba(29, 125, 176, 0.1)
    );
  filter: blur(12px);
  opacity: 0.55;
  animation: shimmer 8s ease-in-out infinite alternate;
}

/* Grain texture */
.grain {
  position: absolute;
  inset: 0;
  opacity: var(--grain-opacity);
  mix-blend-mode: soft-light;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.05) 0 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(255, 255, 255, 0.04) 0 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(255, 255, 255, 0.035) 0 1px,
      transparent 2px
    );
  background-size: 3px 3px, 4px 4px, 5px 5px;
  animation: grainShift 6s linear infinite;
}

/* Loader content */
.loader {
  position: relative;
  display: grid;
  gap: 18px;
  place-items: center;
  padding: 24px 28px;
}

.brand {
  font-family: ui-sans-serif, system-ui, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  font-weight: 700;
  letter-spacing: 0.4px;
  font-size: clamp(18px, 2.2vw, 26px);
  color: #fff;
  text-transform: uppercase;
  opacity: 0.9;
}

.brand b {
  color: var(--brand);
}

/* Hook spinner */
.hook {
  width: clamp(60px, 8vw, 86px);
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
  transform-origin: top center;
  animation: swing 1.8s ease-in-out infinite;
}

/* Progress bar */
.bar {
  width: min(56vw, 420px);
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 15%,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 45%,
    transparent 60%,
    rgba(255, 255, 255, 0.18) 75%,
    transparent 90%
  );
  transform: translateX(-60%);
  animation: sweep 1.2s ease-in-out infinite;
}

.bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
  border-radius: inherit;
  animation: fill 2.6s ease-in-out infinite;
}

/* Data flow lines */
.flow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  mask-image: radial-gradient(200% 120% at 50% 80%, #000 40%, transparent 80%);
}

.flow span {
  position: absolute;
  bottom: -20%;
  width: 1px;
  height: 50%;
  background: linear-gradient(
    to top,
    rgba(249, 162, 76, 0),
    rgba(249, 162, 76, 0.5)
  );
  left: calc(var(--i) * 4% + 8%);
  filter: drop-shadow(0 0 6px rgba(249, 162, 76, 0.35));
  transform: translateY(30%);
  animation: rise 3.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.18s);
}

.flow span:nth-child(odd) {
  background: linear-gradient(
    to top,
    rgba(29, 125, 176, 0),
    rgba(29, 125, 176, 0.55)
  );
  filter: drop-shadow(0 0 6px rgba(29, 125, 176, 0.4));
  height: 60%;
}

/* Preloader exit animation */
#preloader.is-done {
  opacity: 0;
  visibility: hidden;
}

/* ========================================================================
   LAYOUT WRAPPERS
   ======================================================================== */
.wrapper,
.content {
  position: relative;
  width: 100%;
  z-index: 1;
}

.content {
  overflow-x: hidden;
}

.content .section {
  width: 100%;
  height: 100vh;
  /* ✅ Modern viewport height */
  height: 100dvh;
}

/* ========================================================================
   NAVIGATION
   ======================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.4rem, 4.5vw, 3.4rem);
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav__inner {
  pointer-events: auto;
  width: min(1100px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 3vw, 2.4rem);
  padding: clamp(0.65rem, 1.1vw, 1rem) clamp(1.4rem, 2vw, 2rem);
  border-radius: 999px;
  background: rgba(10, 12, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 44px rgba(7, 8, 18, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
}

.nav__group {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
}

.nav__group--mobile {
  display: none;
}

.nav__link {
  position: relative;
  font-size: clamp(0.88rem, 1vw, 0.96rem);
  letter-spacing: 0.02em;
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    rgba(247, 163, 55, 0.8),
    rgba(255, 205, 111, 0.6)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 999px;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--accent-strong);
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  transform: scaleX(1);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(120px, 10vw, 140px);
  padding: clamp(0.4rem, 0.9vw, 0.6rem) clamp(1rem, 1.6vw, 1.25rem);
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: clamp(44px, 4.2vw, 54px);
  height: clamp(44px, 4.2vw, 54px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav__toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--toggle-line-width);
  height: var(--toggle-line-thickness);
  border-radius: 999px;
  background: var(--text-primary);
  transition: transform 0.35s cubic-bezier(0.45, 0.08, 0.2, 1),
    opacity 0.25s ease;
  transform-origin: center;
}

.nav__toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - var(--toggle-line-gap)));
}

.nav__toggle span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.nav__toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + var(--toggle-line-gap)));
}

.nav__toggle:hover,
.nav__toggle:focus-visible {
  background: rgba(247, 163, 55, 0.22);
  border-color: rgba(247, 163, 55, 0.4);
}

.nav__toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(247, 163, 55, 0.25);
}

.nav__inner[data-open="true"] .nav__toggle span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav__inner[data-open="true"] .nav__toggle span:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, -50%) scaleX(0.6);
}

.nav__inner[data-open="true"] .nav__toggle span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav__link--active {
  color: var(--accent-strong);
}

.nav__link--active::after {
  transform: scaleX(1);
}

/* ========================================================================
   HERO SECTION
   ======================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  /* ✅ Modern viewport height for mobile */
  min-height: 100dvh;
  padding: clamp(4.2rem, 7vw, 6.5rem) clamp(1.4rem, 6vw, 6rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__background {
  position: absolute;
  inset: -14%;
  background: radial-gradient(
      70% 70% at 18% 22%,
      rgba(247, 163, 55, 0.16) 0%,
      rgba(10, 12, 30, 0) 65%
    ),
    radial-gradient(
      60% 60% at 88% 18%,
      rgba(86, 109, 255, 0.15) 0%,
      rgba(6, 8, 26, 0) 70%
    ),
    radial-gradient(
      120% 120% at 50% 120%,
      rgba(10, 11, 24, 0.92) 0%,
      rgba(3, 4, 11, 1) 100%
    );
  background-color: #060711;
  z-index: 0;
  overflow: hidden;
}

.hero__background::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      32% 42% at 12% 30%,
      rgba(247, 163, 55, 0.22),
      transparent 65%
    ),
    radial-gradient(
      58% 48% at 82% 66%,
      rgba(36, 51, 134, 0.18),
      transparent 70%
    );
  mix-blend-mode: screen;
  opacity: 0.65;
  animation: hero-glow-shift 22s ease-in-out infinite alternate;
}

.hero__background::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("./img/hologram.png");
  background-repeat: no-repeat;
  background-size: clamp(520px, 58vw, 1440px) auto;
  background-position: right calc(22% + 4vw) center;
  opacity: 0.18;
  filter: saturate(0.85) contrast(1.05) brightness(1.05);
  transform: translate3d(4%, 0, 0) scale(1.02);
}

.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2.8rem, 5vw, 4rem);
  width: min(var(--layout-max-width), 100%);
  align-items: center;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.hero__content {
  grid-column: 1 / span 7;
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2.6vw, 1.9rem);
  max-width: 640px;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.hero__title {
  margin: 0;
  font-size: clamp(2.6rem, 6.6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  max-width: 18ch;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  background: rgba(247, 163, 55, 0.1);
  border: 1px solid rgba(247, 163, 55, 0.3);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 600;
  width: fit-content;
}

.hero__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.hero__title span {
  background: rgba(247, 163, 55, 0.95);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__text {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 56ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.85rem, 2.2vw, 1.2rem);
}

/* ========================================================================
   OVERLAY IMAGE CONTAINER
   ======================================================================== */
.image-container {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  /* ✅ Modern viewport height */
  height: 100dvh;
  z-index: 2;
  overflow: hidden;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1rem, 2.6vw, 1.8rem);
  padding: clamp(1.4rem, 6vw, 3.4rem);
  text-align: center;
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  z-index: 3;
  max-width: min(640px, 92%);
  pointer-events: auto;
  background: linear-gradient(
    135deg,
    rgba(12, 16, 30, 0.72),
    rgba(10, 14, 28, 0.44)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  backface-visibility: hidden;
  transform: translateZ(0);
}

.overlay-text--left {
  align-items: flex-start;
  text-align: left;
  margin-left: clamp(3rem, 14vw, 22rem);
}

.overlay-text--left .contact-hero__actions {
  justify-content: flex-start;
}

/* ========================================================================
   BUTTONS
   ======================================================================== */
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: clamp(0.95rem, 2.5vw, 1.1rem) clamp(1.8rem, 4vw, 2.6rem);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.contact-button--primary {
  color: #0f0b00;
  border: none;
  background: linear-gradient(
    120deg,
    rgba(255, 154, 70, 0.95),
    rgba(247, 163, 55, 0.98)
  );
  box-shadow: 0 14px 36px rgba(247, 163, 55, 0.35);
}

.contact-button--primary:hover,
.contact-button--primary:focus-visible {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(247, 163, 55, 0.45);
  outline: none;
}

.contact-button--secondary {
  color: var(--text-primary);
  border: 1.5px solid rgba(247, 163, 55, 0.38);
  background: rgba(9, 10, 20, 0.4);
  box-shadow: 0 12px 28px rgba(9, 10, 22, 0.45);
}

.contact-button--secondary:hover,
.contact-button--secondary:focus-visible {
  transform: translateY(-2px);
  background: rgba(247, 163, 55, 0.12);
  box-shadow: 0 18px 38px rgba(247, 163, 55, 0.32);
  outline: none;
  text-decoration: none;
}

.contact-hero__title {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.contact-hero__text {
  margin: 0;
  color: rgba(233, 236, 255, 0.78);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.7;
}

.contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.8rem, 2vw, 1.2rem);
}

/* ========================================================================
   ABOUT SECTION
   ======================================================================== */
.about {
  position: relative;
  width: 100%;
  min-height: 70vh;
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.8rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(
      145deg,
      rgba(9, 10, 22, 0.92),
      rgba(6, 7, 18, 0.98)
    ),
    radial-gradient(
      120% 160% at -10% 12%,
      rgba(247, 163, 55, 0.22),
      transparent 65%
    );
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  isolation: isolate;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  z-index: 0;
  background-image: repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 18px
    ),
    repeating-linear-gradient(
      315deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 22px
    );
}

.about::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.65;
  z-index: 0;
  background-image: radial-gradient(
    38% 60% at 80% 18%,
    rgba(86, 109, 255, 0.2),
    transparent 70%
  );
}

.about__text {
  grid-column: 1 / span 6;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 3vw, 2rem);
}

.about__title {
  margin: 0;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  position: relative;
  padding-bottom: 1.1rem;
}

.about__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(80px, 14vw, 130px);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 154, 70, 0.95),
    rgba(255, 205, 111, 0.95)
  );
  box-shadow: 0 12px 26px rgba(247, 163, 55, 0.35);
}

.about__description {
  margin: 0;
  max-width: 58ch;
  color: rgba(233, 236, 255, 0.78);
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
  line-height: 1.8;
}

.about__highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(247, 163, 55, 0.14);
  border: 1px solid rgba(247, 163, 55, 0.32);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 600;
  width: fit-content;
}

.about__img {
  grid-column: 7 / -1;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about__img::before {
  content: "";
  position: absolute;
  inset: clamp(-1.2rem, -2vw, -1.8rem);
  border-radius: clamp(30px, 5vw, 40px);
  background: linear-gradient(
    140deg,
    rgba(255, 205, 111, 0.22),
    rgba(86, 109, 255, 0.16)
  );
  filter: blur(0.5px);
  opacity: 0.85;
  z-index: 0;
}

.about__img img {
  width: min(100%, 520px);
  border-radius: clamp(26px, 4vw, 36px);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 48px rgba(5, 6, 18, 0.5);
  position: relative;
  z-index: 1;
}

/* ========================================================================
   PARALLAX SECTION
   ======================================================================== */
.parallax-section {
  position: relative;
  padding: clamp(4.8rem, 9vw, 7.6rem) clamp(1.5rem, 6vw, 6.2rem);
  background-image: radial-gradient(
      88% 88% at 12% 18%,
      rgba(247, 163, 55, 0.18) 0%,
      rgba(6, 8, 20, 0.05) 52%,
      rgba(6, 7, 18, 0.94) 100%
    ),
    url("./img/AnaGoruntu-Full.jpeg");
  background-position: center top, center 0%;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-primary);
  overflow: hidden;
  isolation: isolate;
}

.parallax-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 8, 26, 0.6) 15%,
    rgba(6, 6, 14, 0.4) 55%,
    rgba(6, 7, 18, 0.6) 100%
  );
  mix-blend-mode: normal;
  z-index: 0;
  pointer-events: none;
}

.parallax-section::after {
  content: "";
  position: absolute;
  inset: -30% -25% -20%;
  background: radial-gradient(
      38% 42% at 18% 20%,
      rgba(247, 163, 55, 0.18),
      transparent 70%
    ),
    radial-gradient(
      54% 48% at 78% 66%,
      rgba(86, 109, 255, 0.14),
      transparent 75%
    );
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  animation: parallax-glow 26s ease-in-out infinite alternate;
}

.parallax-section__container {
  position: relative;
  z-index: 2;
  width: min(var(--layout-max-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2.8rem, 5vw, 4.2rem);
  align-items: start;
}

.parallax-section__intro {
  grid-column: 1 / span 4;
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
  max-width: 420px;
}

.parallax-section__badge {
  align-self: flex-start;
  box-shadow: 0 12px 28px rgba(247, 163, 55, 0.16);
}

.parallax-section__heading {
  margin: 0;
  font-size: clamp(2.35rem, 4.2vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.018em;
  color: var(--text-primary);
}

.parallax-section__description {
  margin: 0;
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 38ch;
}

.parallax-section__cards {
  grid-column: 6 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.6rem, 3vw, 2.1rem);
  position: relative;
}

.parallax-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.2vw, 1.5rem);
  padding: clamp(1.9rem, 3.2vw, 2.4rem);
  border-radius: clamp(22px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    155deg,
    rgba(15, 17, 34, 0.94) 0%,
    rgba(9, 10, 22, 0.86) 100%
  );
  box-shadow: 0 24px 44px rgba(5, 5, 17, 0.45);
  backdrop-filter: blur(18px);
  transition: transform 0.28s ease, box-shadow 0.28s ease,
    border-color 0.28s ease;
  min-height: clamp(260px, 32vw, 300px);
  color: var(--text-primary);
  --card-accent-start: var(--accent);
  --card-accent-end: var(--accent-strong);
  overflow: hidden;
  isolation: isolate;
}

.parallax-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    140deg,
    rgba(247, 163, 55, 0.18) 0%,
    rgba(255, 205, 111, 0.08) 45%,
    rgba(78, 103, 249, 0.12) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.parallax-card::after {
  content: "";
  position: absolute;
  left: clamp(1.9rem, 3.2vw, 2.4rem);
  right: clamp(1.9rem, 3.2vw, 2.4rem);
  bottom: clamp(1.35rem, 2.8vw, 1.8rem);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--card-accent-start),
    var(--card-accent-end)
  );
  opacity: 0.85;
  box-shadow: 0 10px 24px rgba(247, 163, 55, 0.28);
  transform: scaleX(0.78);
  transform-origin: left;
  transition: transform 0.28s ease, opacity 0.28s ease;
  pointer-events: none;
}

.parallax-card:hover,
.parallax-card:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 32px 58px rgba(5, 5, 17, 0.58);
  border-color: rgba(247, 163, 55, 0.35);
}

.parallax-card:hover::before,
.parallax-card:focus-within::before {
  opacity: 1;
}

.parallax-card:hover::after,
.parallax-card:focus-within::after {
  opacity: 1;
  transform: scaleX(1);
}

.parallax-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  flex-wrap: wrap;
}

.parallax-card__header-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  min-width: min(220px, 100%);
}

.parallax-card__title {
  margin: 0;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  flex: 1;
  line-height: 1.2;
}

.parallax-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(52px, 8vw, 62px);
  height: clamp(52px, 8vw, 62px);
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(247, 163, 55, 0.16),
    rgba(86, 109, 255, 0.08)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 34px rgba(10, 12, 28, 0.45);
  flex-shrink: 0;
}

.parallax-card__icon svg {
  width: 70%;
  height: 70%;
}

.parallax-card__icon svg path,
.parallax-card__icon svg rect,
.parallax-card__icon svg line,
.parallax-card__icon svg polyline,
.parallax-card__icon svg circle {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.parallax-card__text {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.7;
  max-width: 38ch;
}

/* ========================================================================
   HOME CONTACT SECTION
   ======================================================================== */
.home-contact {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 3rem);
  background: linear-gradient(
    160deg,
    rgba(10, 12, 24, 0.98) 0%,
    rgba(15, 18, 32, 0.96) 50%,
    rgba(8, 10, 20, 0.98) 100%
  );
  overflow: hidden;
  isolation: isolate;
  /* ✅ iOS scroll fix - GPU acceleration */
  transform: translateZ(0);
}

.home-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(247, 163, 55, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(86, 109, 255, 0.06) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}

.home-contact__container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.home-contact__info {
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 2.5vw, 2rem);
}

.home-contact__title {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(233, 236, 255, 0.85) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-contact__description {
  margin: 0;
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: rgba(233, 236, 255, 0.75);
  max-width: 48ch;
}

.home-contact__quick-info {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2vw, 1.6rem);
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.home-contact__quick-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.9rem, 1.5vw, 1.2rem);
  padding: clamp(1rem, 2vw, 1.3rem);
  border-radius: clamp(12px, 2vw, 16px);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.home-contact__quick-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(247, 163, 55, 0.2);
  transform: translateX(4px);
}

.home-contact__quick-icon {
  width: clamp(20px, 3vw, 24px);
  height: clamp(20px, 3vw, 24px);
  flex-shrink: 0;
  fill: none;
  stroke: var(--accent-strong);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}

.home-contact__quick-label {
  display: block;
  font-size: clamp(0.82rem, 1vw, 0.9rem);
  font-weight: 500;
  color: rgba(233, 236, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.home-contact__quick-value {
  display: block;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.home-contact__quick-value:hover,
.home-contact__quick-value:focus-visible {
  color: var(--accent-strong);
  outline: none;
}

.home-contact__form {
  position: relative;
  padding: clamp(2.2rem, 4vw, 3rem);
  border-radius: clamp(20px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(5, 6, 18, 0.4);
  display: flex;
  flex-direction: column;
  gap: clamp(1.1rem, 2vw, 1.5rem);
}

.home-contact__form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(247, 163, 55, 0.3),
    rgba(86, 109, 255, 0.2),
    transparent 60%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}

.home-contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.4rem);
}

.home-contact__form-group {
  display: flex;
  flex-direction: column;
}

.home-contact__input {
  width: 100%;
  padding: clamp(0.9rem, 2vw, 1.1rem) clamp(1.2rem, 2.5vw, 1.6rem);
  border-radius: clamp(10px, 1.5vw, 14px);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 24, 0.6);
  color: var(--text-primary);
  font-size: clamp(0.95rem, 1.1vw, 1.02rem);
  font-family: inherit;
  transition: all 0.25s ease;
}

.home-contact__input::placeholder {
  color: rgba(233, 236, 255, 0.4);
}

.home-contact__input:focus {
  outline: none;
  border-color: rgba(247, 163, 55, 0.5);
  background: rgba(10, 12, 24, 0.8);
  box-shadow: 0 0 0 3px rgba(247, 163, 55, 0.12);
}

.home-contact__input--textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.home-contact__submit {
  width: 100%;
  margin-top: clamp(0.5rem, 1vw, 0.8rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.home-contact__submit svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.home-contact__submit:hover svg {
  transform: translateX(4px);
}

.home-contact__legal {
  margin: 0;
  padding-top: clamp(0.4rem, 1vw, 0.6rem);
  font-size: clamp(0.8rem, 0.95vw, 0.88rem);
  line-height: 1.5;
  color: rgba(233, 236, 255, 0.5);
  text-align: center;
}

.home-contact__legal a {
  color: var(--accent-strong);
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

.home-contact__legal a:hover,
.home-contact__legal a:focus-visible {
  text-decoration: underline;
  outline: none;
}

/* ========================================================================
   STATS SECTION
   ======================================================================== */
.stats-section {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 3rem);
  background: linear-gradient(
    170deg,
    rgba(8, 9, 20, 0.98) 0%,
    rgba(12, 13, 26, 0.96) 50%,
    rgba(6, 7, 16, 0.98) 100%
  );
  overflow: hidden;
  isolation: isolate;
}

.stats-section__background {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    65% 55% at 50% 50%,
    rgba(247, 163, 55, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.stats-section__grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: clamp(40px, 5vw, 80px) clamp(40px, 5vw, 80px);
  opacity: 0.4;
}

.stats-section__container {
  position: relative;
  z-index: 1;
  width: min(var(--layout-max-width), 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 6vw, 5rem);
}

.stats-section__header {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.stats-section__title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.85) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-section__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

.stats-section__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2rem);
}

.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2vw, 1.5rem);
  padding: clamp(2rem, 4vw, 2.8rem) clamp(1.5rem, 3vw, 2rem);
  background: linear-gradient(
    145deg,
    rgba(15, 17, 32, 0.6) 0%,
    rgba(10, 12, 24, 0.4) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: clamp(16px, 2vw, 20px);
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(247, 163, 55, 0.12) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(247, 163, 55, 0.25);
  box-shadow: 0 20px 40px rgba(247, 163, 55, 0.08);
}

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

.stat-card__icon {
  width: clamp(48px, 6vw, 64px);
  height: clamp(48px, 6vw, 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 163, 55, 0.08);
  border-radius: 50%;
  transition: all 0.4s ease;
}

.stat-card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke-width: 2;
  transition: all 0.4s ease;
}

.stat-card:hover .stat-card__icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(247, 163, 55, 0.15);
}

.stat-card__content {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1vw, 0.75rem);
}

.stat-card__number {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--accent-strong);
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #f7a337 0%, #ffcd6f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card__label {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.stat-card__description {
  font-size: clamp(0.88rem, 1.2vw, 0.95rem);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========================================================================
   INNOVATION SECTION
   ======================================================================== */
.innovation-section {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 3rem);
  background: linear-gradient(
    155deg,
    rgba(10, 11, 22, 1) 0%,
    rgba(8, 9, 18, 0.98) 50%,
    rgba(12, 14, 28, 1) 100%
  );
  overflow: hidden;
}

.innovation-section__container {
  position: relative;
  z-index: 1;
  width: min(var(--layout-max-width), 100%);
  margin: 0 auto;
}

.innovation-section__content {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.innovation-section__text {
  grid-column: 1 / span 6;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.innovation-section__badge {
  display: inline-flex;
  align-self: flex-start;
}

.innovation-section__title {
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.85) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.innovation-section__description {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.8;
}

.innovation-section__features {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-top: clamp(0.5rem, 1vw, 1rem);
}

.innovation-feature {
  display: flex;
  gap: clamp(0.8rem, 1.5vw, 1.2rem);
  align-items: flex-start;
}

.innovation-feature__marker {
  min-width: clamp(8px, 1.2vw, 10px);
  min-height: clamp(8px, 1.2vw, 10px);
  width: clamp(8px, 1.2vw, 10px);
  height: clamp(8px, 1.2vw, 10px);
  margin-top: 0.45em;
  border-radius: 50%;
  background: linear-gradient(135deg, #f7a337, #ffcd6f);
  box-shadow: 0 0 12px rgba(247, 163, 55, 0.4);
}

.innovation-feature__title {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3em;
}

.innovation-feature__text {
  font-size: clamp(0.9rem, 1.2vw, 0.98rem);
  color: var(--text-muted);
  line-height: 1.6;
}

.innovation-section__visual {
  grid-column: 7 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.innovation-visual {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.innovation-visual__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.3;
  animation: float-orb 8s ease-in-out infinite;
}

.innovation-visual__orb--1 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(247, 163, 55, 0.4), transparent);
  top: 10%;
  left: 15%;
  animation-delay: 0s;
}

.innovation-visual__orb--2 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 205, 111, 0.3), transparent);
  bottom: 15%;
  right: 10%;
  animation-delay: 2s;
}

.innovation-visual__orb--3 {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(247, 163, 55, 0.35), transparent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 4s;
}

.innovation-visual__grid {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.innovation-visual__grid svg {
  width: 100%;
  height: 100%;
  max-width: 400px;
  max-height: 400px;
}

.innovation-svg__hex {
  animation: pulse-hex 4s ease-in-out infinite;
  transform-origin: center;
}

.innovation-svg__hex-inner {
  animation: pulse-hex-inner 3s ease-in-out infinite reverse;
  transform-origin: center;
}

.innovation-svg__node {
  animation: pulse-node 2s ease-in-out infinite;
}

.innovation-svg__node:nth-child(3) {
  animation-delay: 0.2s;
}
.innovation-svg__node:nth-child(4) {
  animation-delay: 0.4s;
}
.innovation-svg__node:nth-child(5) {
  animation-delay: 0.6s;
}
.innovation-svg__node:nth-child(6) {
  animation-delay: 0.8s;
}
.innovation-svg__node:nth-child(7) {
  animation-delay: 1s;
}
.innovation-svg__node:nth-child(8) {
  animation-delay: 1.2s;
}

.innovation-svg__center {
  animation: pulse-center 3s ease-in-out infinite;
}

.innovation-svg__core {
  animation: pulse-core 2s ease-in-out infinite;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.site-footer {
  position: relative;
  padding: clamp(3.8rem, 7vw, 5.6rem) clamp(1.5rem, 6vw, 6rem)
    clamp(2.6rem, 5vw, 4rem);
  background: radial-gradient(
    95% 95% at 12% 10%,
    rgba(247, 163, 55, 0.2) 0%,
    rgba(8, 9, 19, 0.95) 48%,
    rgba(4, 5, 14, 1) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  overflow: hidden;
  isolation: isolate;
  /* ✅ iOS scroll fix - GPU acceleration */
  transform: translateZ(0);
}

.site-footer__background {
  position: absolute;
  inset: -40% -20% -30% -20%;
  background: radial-gradient(
      35% 40% at 82% 12%,
      rgba(93, 122, 255, 0.15),
      transparent 70%
    ),
    radial-gradient(
      42% 46% at 12% 80%,
      rgba(247, 163, 55, 0.2),
      transparent 75%
    );
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
  animation: footer-glow 28s ease-in-out infinite alternate;
}

.site-footer__container {
  position: relative;
  z-index: 1;
  width: min(var(--layout-max-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.site-footer__brand {
  grid-column: 1 / span 5;
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}

.site-footer__description {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.75;
  max-width: 40ch;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
  color: inherit;
}

.site-footer__social-link svg {
  width: 22px;
  height: 22px;
  fill: none;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(247, 163, 55, 0.45);
  box-shadow: 0 18px 32px rgba(6, 7, 18, 0.55);
  outline: none;
}

.site-footer__social-link--with-text {
  width: auto;
  padding: clamp(0.6rem, 1.2vw, 0.75rem) clamp(1rem, 2vw, 1.4rem);
  gap: clamp(0.5rem, 1vw, 0.7rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.site-footer__social-text {
  font-size: clamp(0.88rem, 1.1vw, 0.95rem);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
  text-decoration: none;
}

.site-footer__social-link--with-text:hover .site-footer__social-text,
.site-footer__social-link--with-text:focus-visible .site-footer__social-text {
  color: var(--accent-strong);
}

.site-footer__nav {
  grid-column: 7 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.8rem, 3.2vw, 2.6rem);
}

.site-footer__group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__heading {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(233, 236, 255, 0.6);
  font-weight: 600;
}

.site-footer__link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: var(--accent-strong);
  outline: none;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: normal;
}

.site-footer__meta {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
  padding-top: clamp(1.6rem, 3vw, 2.1rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(233, 236, 255, 0.5);
  font-size: 0.88rem;
}

.site-footer__legal {
  display: flex;
  gap: 1.4rem;
}

.site-footer__legal a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  color: var(--accent-strong);
  outline: none;
}

/* ========================================================================
   KEYFRAME ANIMATIONS
   ======================================================================== */

/* Preloader animations */
@keyframes shimmer {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(0, -1.5%, 0) scale(1.02);
  }
}

@keyframes swing {
  0%,
  100% {
    transform: rotate(-6deg);
  }
  50% {
    transform: rotate(6deg);
  }
}

@keyframes sweep {
  0% {
    transform: translateX(-60%);
  }
  100% {
    transform: translateX(60%);
  }
}

@keyframes fill {
  0% {
    width: 10%;
  }
  50% {
    width: 85%;
  }
  100% {
    width: 10%;
  }
}

@keyframes rise {
  0% {
    transform: translateY(40%);
    opacity: 0.2;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translateY(-60%);
    opacity: 0.15;
  }
}

@keyframes grainShift {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 6px 8px, -6px -6px, 10px -12px;
  }
}

/* Hero animation */
@keyframes hero-glow-shift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate3d(2%, -2%, 0) scale(1.05);
    opacity: 0.72;
  }
  100% {
    transform: translate3d(-3%, 3%, 0) scale(1.08);
    opacity: 0.58;
  }
}

/* Parallax animation */
@keyframes parallax-glow {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate3d(3%, -2%, 0) scale(1.05);
    opacity: 0.9;
  }
  100% {
    transform: translate3d(-2%, 4%, 0) scale(1.08);
    opacity: 0.72;
  }
}

/* Footer animation */
@keyframes footer-glow {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: rotate(4deg) scale(1.05);
    opacity: 0.9;
  }
  100% {
    transform: rotate(-6deg) scale(1.08);
    opacity: 0.7;
  }
}

/* Innovation orbs */
@keyframes float-orb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(15px, -20px) scale(1.1);
  }
  66% {
    transform: translate(-15px, 15px) scale(0.9);
  }
}

/* Innovation SVG */
@keyframes pulse-hex {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes pulse-hex-inner {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.08) rotate(180deg);
    opacity: 0.8;
  }
}

@keyframes pulse-node {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

@keyframes pulse-center {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes pulse-core {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
}

/* ========================================================================
   RESPONSIVE BREAKPOINTS - Consolidated & Optimized
   ======================================================================== */

/* ✅ Tablet & Medium Devices (≤1080px) */
@media (max-width: 1080px) {
  .hero__container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    text-align: center;
    gap: clamp(3rem, 6vw, 4.5rem);
  }

  .hero {
    padding-top: clamp(6.2rem, 12vw, 8rem);
  }

  .hero__content {
    grid-column: 1 / -1;
    margin: 0 auto;
    align-items: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__background::after {
    background-size: clamp(420px, 72vw, 640px) auto;
    background-position: right clamp(5rem, 16vw, 26rem) center;
    opacity: 0.18;
    transform: translate3d(2%, 4%, 0) scale(1);
  }

  /* Navigation */
  .nav {
    padding-inline: clamp(1rem, 5vw, 2.5rem);
  }

  .nav__inner {
    width: 100%;
    max-width: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav__logo {
    order: 0;
    margin: 0;
  }

  .nav__toggle {
    display: inline-flex;
    position: relative;
    order: 1;
    margin-left: auto;
  }

  .nav__group {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.6rem, 2.6vw, 1rem);
  }

  .nav__group--left,
  .nav__group--right {
    display: none;
  }

  .nav__group--mobile {
    position: absolute;
    top: calc(100% + clamp(0.75rem, 2vw, 1.2rem));
    left: clamp(1rem, 5vw, 2.5rem);
    right: clamp(1rem, 5vw, 2.5rem);
    margin: 0;
    padding: clamp(1.2rem, 4vw, 1.8rem);
    background: rgba(12, 14, 31, 0.92);
    border-radius: clamp(20px, 5vw, 26px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 48px rgba(5, 5, 17, 0.5);
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: clamp(0.6rem, 2.6vw, 1rem);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  .nav__inner[data-open="true"] .nav__group--mobile {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav__link {
    font-size: clamp(0.95rem, 1.9vw, 1.12rem);
  }

  /* About Section */
  .about {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    text-align: center;
    padding-inline: clamp(1.4rem, 6vw, 3rem);
  }

  .about__text {
    grid-column: 1 / -1;
    align-items: center;
  }

  .about__title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .about__highlight {
    align-self: center;
  }

  .about__img {
    grid-column: 1 / -1;
  }

  /* Parallax Section */
  .parallax-section {
    background-attachment: scroll;
  }

  .parallax-section__container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: clamp(3rem, 6vw, 4.6rem);
    text-align: center;
  }

  .parallax-section__intro {
    grid-column: 1 / -1;
    margin: 0 auto;
    align-items: center;
    text-align: center;
  }

  .parallax-section__badge {
    align-self: center;
  }

  .parallax-section__description {
    max-width: 48ch;
  }

  .parallax-section__cards {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .parallax-card__title {
    text-align: left;
  }

  /* Footer */
  .site-footer__container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    text-align: center;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    align-items: center;
  }

  .site-footer__social {
    justify-content: center;
  }

  .site-footer__social-link--with-text {
    padding: clamp(0.55rem, 2vw, 0.7rem) clamp(0.9rem, 3vw, 1.3rem);
    gap: clamp(0.45rem, 1.5vw, 0.65rem);
  }

  .site-footer__social-text {
    font-size: clamp(0.85rem, 2.2vw, 0.92rem);
  }

  .site-footer__nav {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
  }

  .site-footer__group {
    align-items: center;
  }

  .site-footer__meta {
    justify-content: center;
  }
}

/* ✅ Tablet Stats Grid */
@media (max-width: 1024px) {
  .stats-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ✅ Mobile & Small Devices (≤720px) */
@media (max-width: 720px) {
  .hero {
    padding-top: clamp(7rem, 18vw, 9.4rem);
    padding-bottom: clamp(3rem, 12vw, 5.8rem);
  }

  .nav__inner {
    width: 100%;
    padding-inline: 0;
    gap: 0;
  }

  .nav__toggle {
    margin-left: auto;
    margin-right: clamp(0.2rem, 2vw, 0.6rem);
  }

  .nav__group {
    align-items: center;
  }

  .nav__group--mobile {
    left: clamp(0.8rem, 6vw, 1.6rem);
    right: clamp(0.8rem, 6vw, 1.6rem);
    padding: clamp(1rem, 5vw, 1.6rem);
  }

  .hero__background {
    inset: -18%;
  }

  .hero__background::after {
    background-size: clamp(380px, 95vw, 540px) auto;
    background-position: right clamp(4rem, 18vw, 24rem) center;
    opacity: 0.2;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__actions .contact-button {
    min-width: clamp(140px, 48vw, 210px);
  }

  .nav__link {
    font-size: clamp(1rem, 3.6vw, 1.18rem);
  }

  /* Image container mobile fix */
  .image-container img {
    object-position: right center;
    object-fit: cover;
  }

  .overlay-text--left {
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }

  .overlay-text--left .contact-hero__actions {
    justify-content: center;
  }

  /* About Section */
  .about {
    padding: clamp(3.5rem, 12vw, 5rem) clamp(1.2rem, 7vw, 2.2rem);
    gap: clamp(2rem, 8vw, 3rem);
  }

  /* Parallax Section */
  .parallax-section {
    padding: clamp(3.6rem, 12vw, 5rem) clamp(1.2rem, 7vw, 2.2rem);
  }

  .parallax-section__cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .parallax-card {
    padding: clamp(1.65rem, 5vw, 2.1rem);
    min-height: auto;
  }

  .parallax-card__title {
    text-align: left;
  }

  /* Contact Form */
  .home-contact__container {
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 5vw, 3.5rem);
  }

  .home-contact__form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .site-footer {
    padding-inline: clamp(1.2rem, 6vw, 2rem);
  }

  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.4rem, 4vw, 2rem);
  }

  .site-footer__meta {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
  }

  /* ✅ Hide duplicate footer section on mobile */
  .site-footer__nav .site-footer__group:nth-of-type(2) {
    display: none;
  }

  /* Stats Section */
  .stats-section {
    padding: clamp(3.5rem, 10vw, 5rem) clamp(1.2rem, 5vw, 2rem);
  }

  .stats-section__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Innovation Section */
  .innovation-section {
    padding: clamp(3.5rem, 10vw, 5rem) clamp(1.2rem, 5vw, 2rem);
  }

  .innovation-section__content {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 3.5rem);
  }

  .innovation-section__text {
    grid-column: 1 / -1;
  }

  .innovation-section__visual {
    grid-column: 1 / -1;
    min-height: 350px;
  }
}

/* ✅ Extra Small Devices (≤520px) */
@media (max-width: 520px) {
  .hero__background::after {
    background-size: clamp(360px, 105vw, 460px) auto;
    background-position: right clamp(3rem, 22vw, 18rem) center;
    opacity: 0.24;
  }

  .nav__inner {
    width: min(100%, 380px);
    padding-inline: clamp(0.9rem, 6.4vw, 1.4rem);
  }

  .nav__toggle {
    width: clamp(40px, 12vw, 46px);
    height: clamp(40px, 12vw, 46px);
  }
}

/* ✅ Very Small Devices (≤480px) */
@media (max-width: 480px) {
  .about__title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .about__img img {
    width: 100%;
  }

  .home-contact__info {
    text-align: center;
    align-items: center;
  }

  .home-contact__quick-info {
    width: 100%;
    max-width: 480px;
  }

  .site-footer__nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__group {
    align-items: center;
  }

  /* ✅ Hide duplicate footer section on very small mobile */
  .site-footer__nav .site-footer__group:nth-of-type(2) {
    display: none;
  }
}

/* ========================================================================
   ACCESSIBILITY - Reduced Motion
   ======================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hook,
  .bar::before,
  .bar::after,
  .flow span,
  #preloader::after,
  .grain {
    animation: none !important;
  }

  .parallax-section::after,
  .site-footer__background,
  .home-contact::before,
  .innovation-visual__orb,
  .innovation-svg__hex,
  .innovation-svg__hex-inner,
  .innovation-svg__node,
  .innovation-svg__center,
  .innovation-svg__core,
  .stat-card {
    animation: none !important;
  }

  .home-contact__form,
  .home-contact__quick-item {
    transition: none;
    transform: none !important;
  }
}

/* ========================================================================
   FLOATING LANGUAGE SWITCHER
   ======================================================================== */
/* NEON UPDATE: Enhanced Visibility */
.floating-lang-switcher {
  position: fixed;
  bottom: clamp(1.5rem, 3vw, 2rem);
  right: clamp(1.5rem, 3vw, 2rem);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: clamp(48px, 6vw, 56px);
  min-height: clamp(48px, 6vw, 56px);
  border-radius: 999px;
  background: rgba(10, 12, 28, 0.55);
  border: 1px solid rgba(247, 163, 55, 0.4); /* Increased visibility */
  box-shadow: 0 0 15px rgba(247, 163, 55, 0.25),
    /* Soft outer glow */ 0 0 0 1px rgba(247, 163, 55, 0.3),
    /* Sharper ring */ 0 18px 44px rgba(7, 8, 18, 0.45),
    inset 0 0 12px rgba(247, 163, 55, 0.08); /* Inner glow */
  backdrop-filter: blur(22px);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  isolation: isolate;
  user-select: none;
}

.floating-lang-switcher:hover {
  background: rgba(10, 12, 28, 0.65);
  border-color: rgba(247, 163, 55, 0.6);
  box-shadow: 0 0 20px rgba(247, 163, 55, 0.4),
    /* Stronger glow on hover */ 0 0 0 1px rgba(247, 163, 55, 0.5),
    0 20px 48px rgba(7, 8, 18, 0.5), inset 0 0 16px rgba(247, 163, 55, 0.12);
}

.floating-lang-switcher:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px rgba(247, 163, 55, 0.6),
    0 18px 44px rgba(7, 8, 18, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 3px rgba(247, 163, 55, 0.25);
}

/* Open state - expands vertically */
.floating-lang-switcher.is-open {
  border-radius: clamp(16px, 2vw, 20px);
  min-height: auto;
  width: clamp(56px, 7vw, 64px);
}

.floating-lang-switcher__current {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(48px, 6vw, 56px);
  font-size: clamp(0.88rem, 1vw, 0.96rem);
  font-weight: 700; /* Bolder */
  letter-spacing: 0.02em;
  color: var(--accent-strong); /* Use bright brand color by default */
  text-shadow: 0 0 8px rgba(247, 163, 55, 0.5); /* Neon text glow */
  transition: opacity 0.3s ease, height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.25s ease, text-shadow 0.25s ease;
  flex-shrink: 0;
}

/* Hide current lang when open */
.floating-lang-switcher.is-open .floating-lang-switcher__current {
  height: 0;
  opacity: 0;
  overflow: hidden;
}

.floating-lang-switcher:hover .floating-lang-switcher__current,
.floating-lang-switcher.is-open .floating-lang-switcher__current {
  color: var(--accent-strong);
}

.floating-lang-switcher__options {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease 0.1s;
}

.floating-lang-switcher.is-open .floating-lang-switcher__options {
  max-height: 200px;
  opacity: 1;
}

.floating-lang-switcher__option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(44px, 5.5vw, 52px);
  padding: clamp(0.5rem, 1vw, 0.65rem);
  font-size: clamp(0.88rem, 1vw, 0.96rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  text-align: center;
  position: relative;
}

.floating-lang-switcher__option:hover,
.floating-lang-switcher__option:focus-visible {
  color: var(--accent-strong);
  background: rgba(247, 163, 55, 0.08);
  outline: none;
}

.floating-lang-switcher__option.is-active {
  color: var(--accent-strong);
  font-weight: 600;
}

.floating-lang-switcher__option.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    rgba(247, 163, 55, 0.8),
    rgba(255, 205, 111, 0.6)
  );
  border-radius: 999px;
}

/* DE seçili olduğunda üst çizgi göster */
.floating-lang-switcher__option.is-active[data-lang="de"]::after {
  display: none;
}

.floating-lang-switcher__option.is-active[data-lang="de"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    rgba(247, 163, 55, 0.8),
    rgba(255, 205, 111, 0.6)
  );
  border-radius: 999px;
}

.floating-lang-switcher__separator {
  width: calc(100% - clamp(1.2rem, 2.5vw, 1.6rem));
  height: 1px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 720px) {
  .floating-lang-switcher {
    bottom: clamp(1rem, 4vw, 1.5rem);
    right: clamp(1rem, 4vw, 1.5rem);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .floating-lang-switcher,
  .floating-lang-switcher__current,
  .floating-lang-switcher__options,
  .floating-lang-switcher__option {
    transition: none !important;
  }

  .floating-lang-switcher.is-open .floating-lang-switcher__options {
    max-height: none;
    opacity: 1;
  }
}

/* ========================================================================
   GALLERY PAGE STYLES
   ======================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(3rem, 5vw, 4rem);
}

/* Gallery Item */
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: clamp(16px, 2vw, 20px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    145deg,
    rgba(15, 17, 32, 0.6) 0%,
    rgba(10, 12, 24, 0.4) 100%
  );
  box-shadow: 0 12px 28px rgba(5, 5, 17, 0.35);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  isolation: isolate;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    140deg,
    rgba(247, 163, 55, 0.2) 0%,
    rgba(255, 205, 111, 0.1) 45%,
    rgba(78, 103, 249, 0.15) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.gallery-item:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 24px 48px rgba(247, 163, 55, 0.25);
  border-color: rgba(247, 163, 55, 0.35);
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-item__image {
  transform: scale(1.05);
}

/* Gallery CTA */
.gallery-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: clamp(2rem, 4vw, 3rem);
}

.gallery-cta__button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.gallery-cta__button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.gallery-cta__button:hover svg {
  transform: translateX(4px);
}

/* Instagram Button Styles */
.gallery-cta__button--instagram {
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.gallery-cta__button--instagram svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-cta__button--instagram:hover svg {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 8px rgba(247, 163, 55, 0.6));
}

.gallery-cta__button--instagram span {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.gallery-cta__button--instagram:hover {
  background: rgba(247, 163, 55, 0.15);
  border-color: rgba(247, 163, 55, 0.5);
}

/* Lightbox Modal */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 7, 16, 0.96);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.is-active {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: clamp(16px, 2vw, 24px);
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-lightbox.is-active .gallery-lightbox__content {
  transform: scale(1);
}

.gallery-lightbox__image {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  border-radius: inherit;
}

.gallery-lightbox__close {
  position: absolute;
  top: clamp(1rem, 2vw, 1.5rem);
  right: clamp(1rem, 2vw, 1.5rem);
  width: clamp(40px, 5vw, 48px);
  height: clamp(40px, 5vw, 48px);
  border-radius: 50%;
  background: rgba(12, 14, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  color: var(--text-primary);
  z-index: 10;
}

.gallery-lightbox__close:hover {
  background: rgba(247, 163, 55, 0.9);
  border-color: rgba(247, 163, 55, 0.5);
  transform: scale(1.1) rotate(90deg);
}

.gallery-lightbox__close svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(44px, 6vw, 56px);
  height: clamp(44px, 6vw, 56px);
  border-radius: 50%;
  background: rgba(12, 14, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  color: var(--text-primary);
  z-index: 10;
}

.gallery-lightbox__nav:hover {
  background: rgba(247, 163, 55, 0.9);
  border-color: rgba(247, 163, 55, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.gallery-lightbox__nav svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-lightbox__nav--prev {
  left: clamp(1rem, 3vw, 2rem);
}

.gallery-lightbox__nav--next {
  right: clamp(1rem, 3vw, 2rem);
}

/* Gallery Responsive Styles */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-lightbox__nav--prev {
    left: 0.5rem;
  }

  .gallery-lightbox__nav--next {
    right: 0.5rem;
  }
}

/* Gallery Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .gallery-item,
  .gallery-item__image,
  .gallery-lightbox,
  .gallery-lightbox__content,
  .gallery-lightbox__close,
  .gallery-lightbox__nav {
    transition: none !important;
    animation: none !important;
  }

  .gallery-item:hover {
    transform: none;
  }

  .gallery-item:hover .gallery-item__image {
    transform: none;
  }
}

/* ========================================================================
   RTL SUPPORT (Arabic/Right-to-Left)
   Overrides for html[dir="rtl"]
   ======================================================================== */

/* 1. GLOBAL RESETS & TYPOGRAPHY
   ======================================================================== */
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

/* Fix inputs and textareas to type RTL */
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
  direction: rtl;
  text-align: right;
}

/* Flip standard arrows and icons that indicate direction */
html[dir="rtl"] .gallery-cta__button svg,
html[dir="rtl"] .home-contact__submit svg,
html[dir="rtl"] .privacy-list--links li::before {
  transform: scaleX(-1);
}

/* 2. NAVIGATION
   ======================================================================== */
/* Flip the underline animation origin */
html[dir="rtl"] .nav__link::after {
  left: auto;
  right: 0;
  transform-origin: right;
}

/* Mobile Menu Adjustment */
@media (max-width: 1080px) {
  html[dir="rtl"] .nav__toggle {
    margin-left: 0;
    margin-right: auto;
  }

  html[dir="rtl"] .nav__group--mobile {
    text-align: right;
    align-items: flex-end;
  }
}

/* 3. HERO & LAYOUT SECTIONS
   ======================================================================== */
/* Flip background images (e.g. the hologram) */
html[dir="rtl"] .hero__background::after {
  /* Move crane image more to the right (away from left edge) */
  background-position: left calc(22% + 4vw) center;
  transform: translate3d(4%, 0, 0) scale(1.02);
}

/* Overlay text alignment (used in contact/about) */
html[dir="rtl"] .overlay-text--left {
  text-align: right;
  align-items: flex-start; /* Content aligns to Right (RTL start) */
  margin-left: clamp(3rem, 14vw, 22rem); /* Container Left position */
  margin-right: auto; /* Push container to Left */
  width: 100%;
}

/* About Title Decoration */
html[dir="rtl"] .about__title::after {
  left: auto;
  right: 0;
}

/* Fix About Section Spacing in RTL (Desktop) */
@media (min-width: 1081px) {
  /* Move content away from edges towards center */
  html[dir="rtl"] .about__text {
    grid-column: 2 / span 5;
  }
  html[dir="rtl"] .about__img {
    grid-column: 7 / span 5;
  }
}

/* 4. LISTS & BULLETS (Global Fix)
   Fixes: Privacy Policy, Terms, Products Specs, Services Lists
   ======================================================================== */

/* Reset left padding and add right padding for all custom lists */
html[dir="rtl"] .privacy-list,
html[dir="rtl"] .product-card__specs,
html[dir="rtl"] .service-card__list {
  padding-left: 0;
  padding-right: clamp(1.4rem, 3vw, 2rem);
}

/* Flip the vertical line in privacy list */
html[dir="rtl"] .privacy-list::before {
  left: auto;
  right: 0;
}

/* LIST ITEMS: Flip padding and bullet positioning */
html[dir="rtl"] .privacy-list li,
html[dir="rtl"] .product-card__specs li,
html[dir="rtl"] .service-card__list li {
  padding-left: 0;
  padding-right: 1.3rem; /* Match original padding-left values */
}

/* POSITIONING THE BULLETS/ARROWS */
html[dir="rtl"] .privacy-list li::before,
html[dir="rtl"] .product-card__specs li::before,
html[dir="rtl"] .service-card__list li::before {
  left: auto;
  right: 0;
}

/* Rotate the arrow character in privacy lists */
html[dir="rtl"] .privacy-list li::before {
  transform: rotate(180deg);
}

/* 5. PRIVACY & TEXT CONTENT PAGES
   ======================================================================== */
/* Section Titles with vertical bar decoration */
html[dir="rtl"] .privacy-section__title {
  padding-left: 0;
  padding-right: clamp(1.2rem, 2.5vw, 1.8rem);
}

html[dir="rtl"] .privacy-section__title::before {
  left: auto;
  right: 0;
}

/* Cookie Tables */
html[dir="rtl"] .cookie-table th,
html[dir="rtl"] .cookie-table td {
  text-align: right;
  border-right: none;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

html[dir="rtl"] .cookie-table th:last-child,
html[dir="rtl"] .cookie-table td:last-child {
  border-left: none;
}

/* 6. CARDS (Products & Services)
   ======================================================================== */
/* Product Cards */
html[dir="rtl"] .product-card__category {
  align-self: flex-start; /* Flex start in RTL is Right */
}

/* Service Cards */
html[dir="rtl"] .service-card__list li {
  padding-right: 1.3rem;
}

/* Parallax Cards decoration line */
html[dir="rtl"] .parallax-card::after {
  transform-origin: right;
}

/* 7. CONTACT FORMS & FOOTER
   ======================================================================== */
/* Contact Form Grid */
html[dir="rtl"] .home-contact__quick-item {
  border-left: 1px solid rgba(255, 255, 255, 0.05); /* Restore border logic if needed */
}

/* Hover animations for quick items (move left instead of right) */
html[dir="rtl"] .home-contact__quick-item:hover {
  transform: translateX(-4px);
}

/* Submit button hover animation */
html[dir="rtl"] .home-contact__submit:hover svg {
  transform: scaleX(-1) translateX(4px); /* Keep flip, add movement */
}

/* Footer Links & Socials */
html[dir="rtl"] .site-footer__social-link--with-text svg {
  margin-left: 0.5rem;
  margin-right: 0;
}

/* 8. FLOATING LANGUAGE SWITCHER
   ======================================================================== */
html[dir="rtl"] .floating-lang-switcher {
  /* Keep originally on the right */
  left: auto;
  right: clamp(1.5rem, 3vw, 2rem);
}

/* Responsive fix for lang switcher */
@media (max-width: 720px) {
  html[dir="rtl"] .floating-lang-switcher {
    left: auto;
    right: clamp(1rem, 4vw, 1.5rem);
  }

  /* Fix Mobile Hero Overlay Alignment in RTL */
  html[dir="rtl"] .overlay-text--left {
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    text-align: center;
    width: auto;
  }

  html[dir="rtl"] .overlay-text--left .contact-hero__actions {
    justify-content: center;
  }
}
