/* ===================================================================
   TECHNOGAS — Design System & Homepage Styles
   Color palette extracted from moodboard:
     Navy Dark   : #0f1b2d
     Navy        : #1a2e4a
     Blue Mid    : #2c5282
     Steel Blue  : #4a7ab5
     Light Blue  : #a8c4e0
     Silver      : #d6e2ef
     Gold Accent : #d4a843
     Gold Bright : #e8b84d
   =================================================================== */

/* ── Google Fonts ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties ────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --navy-900: #0a1628;
  --navy-800: #0f1b2d;
  --navy-700: #162544;
  --navy-600: #1a2e4a;
  --navy-500: #1e3a5f;
  --blue-600: #2c5282;
  --blue-500: #3b6db0;
  --blue-400: #4a7ab5;
  --blue-300: #6b9fd4;
  --steel-blue: #a8c4e0;
  --silver: #d6e2ef;
  --white: #f0f4f8;
  --pure-white: #ffffff;
  --gold-dark: #D9A51F;
  --gold: #FDC22A;
  --gold-bright: #FED15C;
  --gold-light: #FFE08F;

  /* Typography */
  --ff-heading: 'Outfit', sans-serif;
  --ff-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.12);
  --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.18);
  --shadow-lg: 0 8px 32px rgba(10, 22, 40, 0.24);
  --shadow-xl: 0 16px 48px rgba(10, 22, 40, 0.32);
  --shadow-gold: 0 4px 20px rgba(212, 168, 67, 0.3);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 600ms;

  /* Layout */
  --container-max: 1280px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--FF-body);
  color: var(--navy-800);
  background-color: var(--pure-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) var(--ease-out);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Typography ───────────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy-800);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.15rem;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a5568;
}

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

.text-white {
  color: var(--pure-white);
}

.text-light {
  color: var(--steel-blue);
}

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

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: var(--ff-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  transform: translate(-50%, -50%);
  transition: width var(--duration-slow) var(--ease-out),
    height var(--duration-slow) var(--ease-out);
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy-900);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(212, 168, 67, 0.45);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--pure-white);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.btn-navy {
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-600) 100%);
  color: var(--pure-white);
  box-shadow: var(--shadow-md);
}

.btn-navy:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ── HEADER / NAVBAR ──────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1020;
  transition: all var(--duration-normal) var(--ease-out);
}

.header--transparent {
  background: linear-gradient(90deg, #10182b 0%, #2a3e5c 50%, #10182b 100%);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.header--scrolled {
  background: linear-gradient(90deg, #10182b 0%, #2a3e5c 50%, #10182b 100%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  position: relative;
  z-index: 1030;
}

.header__logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.header__logo-text {
  font-family: var(--ff-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--pure-white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header__logo-text span {
  color: var(--gold);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__nav-link {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pure-white);
  letter-spacing: 0.04em;
  position: relative;
  padding: var(--space-xs) 0;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
  border-radius: 2px;
}

.header__nav-link:hover {
  color: var(--gold);
}

.header__nav-link:hover::after,
.header__nav-link--active::after {
  width: 100%;
}

.header__nav-link--active {
  color: var(--gold);
}

.header__cta {
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  background-color: #FDC22A;
  border-radius: var(--radius-sm);
  transition: background-color 0.3s ease-out;
}

.header__cta:hover {
  background-color: var(--gold);
}

/* Mobile hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  position: relative;
  z-index: 1030;
  cursor: pointer;
  transition: background 0.3s ease;
}

.header__hamburger:hover {
  background: rgba(255, 255, 255, 0.15);
}

.header__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--pure-white);
  border-radius: 2px;
  margin: 0 auto;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

/* Hamburger active 'X' state */
.header__hamburger--active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__hamburger--active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.header__hamburger--active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── MOBILE MENU (OVERLAY) ────────── */
@media (max-width: 991px) {
  .header__hamburger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    inset: 0;
    background: linear-gradient(145deg, 
      rgba(10, 22, 40, 0.99) 0%, 
      rgba(21, 32, 53, 0.98) 50%, 
      rgba(10, 22, 40, 0.99) 100%
    );
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    flex-direction: column;
    justify-content: flex-start; /* Changed from center to allow scroll start from top */
    align-items: center;
    padding: 100px var(--space-xl) var(--space-xl); /* Increased top padding for logo/header */
    gap: var(--space-2xl);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-10px);
    overflow-y: auto; /* Allow scroll if too many links */
    z-index: 1025;
  }

  .header__nav--open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0);
  }

  .header__nav-links {
    flex-direction: column;
    gap: var(--space-md); /* Reduced gap */
    width: 100%;
    text-align: center;
  }

  .header__nav-link {
    font-size: 1.15rem;
    font-weight: 700;
    display: inline-block;
    width: auto;
    padding: var(--space-sm) 0;
    text-transform: uppercase;
  }

  .header__nav-link:active {
    color: var(--gold);
  }

  .header__cta {
    width: 100%;
    max-width: 300px;
    text-align: center;
    padding: 16px;
    font-size: 1.1rem;
  }
}

/* ── HERO SECTION ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(21, 32, 53, 0.95) 0%,
      rgba(21, 32, 53, 0.85) 35%,
      rgba(21, 32, 53, 0.4) 65%,
      transparent 100%);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4xl);
}

@media (max-width: 991px) {
  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
    padding-top: calc(var(--header-height) + var(--space-2xl));
  }
}

.hero__content {
  max-width: 600px;
}

.hero__partners-card {
  flex-shrink: 0;
  width: 400px;
  background: rgba(10, 22, 40, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
  overflow: hidden;
}

@media (max-width: 991px) {
  .hero__partners-card {
    width: 100%;
    margin-bottom: var(--space-3xl);
  }
}

.hero__partners-title {
  color: var(--pure-white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__partners-title::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.hero__partners-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: -webkit-linear-gradient(left, transparent, black 10%, black 90%, transparent);
}

.hero__partners-marquee-inner {
  display: flex;
  gap: var(--space-md);
  width: max-content;
  animation: miniMarquee 15s linear infinite;
}

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

.hero__square-logo {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--pure-white);
  transition: background var(--duration-fast), color var(--duration-fast), transform var(--duration-fast);
  cursor: default;
}

.hero__square-logo:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold);
}

@keyframes miniMarquee {
  to {
    transform: translateX(calc(-50% - (var(--space-md) / 2)));
  }
}

.hero__title {
  color: var(--pure-white);
  font-weight: 700;
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1.25;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s var(--ease-out) 0.15s both;
}

.hero__title-light {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
  text-transform: none;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  line-height: 1.5;
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  padding: 14px 36px;
  font-size: 1.05rem;
  font-weight: 600;
  animation: fadeInUp 0.8s var(--ease-out) 0.45s both;
  background: var(--gold);
  color: var(--navy-900);
  border-radius: var(--radius-sm);
  transition: background var(--duration-fast) var(--ease-out);
}

.hero__cta-btn:hover {
  background: var(--gold-bright);
}

.hero__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero__features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--pure-white);
  font-size: 1.15rem;
  font-weight: 300;
}

.hero__features li svg {
  color: var(--pure-white);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SECTION SHARED ───────────────────────────────────────────────── */
.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section--navy {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--pure-white);
}

.section--light {
  background: linear-gradient(180deg, #f5f8fc 0%, var(--pure-white) 100%);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.section__label::before,
.section__label::after {
  content: '';
  width: 24px;
  height: 2px;
  background: #FDC22A;
  border-radius: 1px;
}

.section__title {
  margin-bottom: var(--space-md);
}

.section--navy .section__title {
  color: var(--pure-white);
}

.section__description {
  font-size: 1.05rem;
  color: #6b7c93;
}

.section--navy .section__description {
  color: rgba(168, 196, 224, 0.8);
}

/* ── SERVICES SECTION ─────────────────────────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--pure-white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.5s ease-in-out, border-color 0.5s ease-in-out;
  border: 1px solid rgba(214, 226, 239, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl);
  min-height: 240px;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(44, 82, 130, 0.2);
}

.service-card__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.service-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__bg-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      var(--pure-white) 0%,
      rgba(255, 255, 255, 0.95) 25%,
      rgba(255, 255, 255, 0.4) 55%,
      transparent 100%);
}

.service-card__bg-fade::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      var(--pure-white) 0%,
      var(--pure-white) 35%,
      rgba(255, 255, 255, 0.85) 60%,
      rgba(255, 255, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.service-card:hover .service-card__bg-fade::after {
  opacity: 1;
}

.service-card__content {
  position: relative;
  z-index: 1;
  max-width: 90%;
}

.service-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.service-card__icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-600);
  border-radius: var(--radius-sm);
  color: var(--pure-white);
  transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}

.service-card__icon svg {
  width: 20px;
  height: 20px;
}

.service-card:hover .service-card__icon {
  background: var(--gold);
  color: var(--navy-900);
}

.service-card__label {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy-700);
}

.service-card__title {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-800);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.service-card__text {
  font-size: 0.95rem;
  color: #5a6b80;
  line-height: 1.5;
  margin-bottom: var(--space-md);
  max-width: 90%;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--blue-600);
  transition: color var(--duration-fast) var(--ease-out);
}

.service-card__link svg {
  transition: transform var(--duration-fast) var(--ease-out);
}

.service-card__link:hover,
.service-card:hover .service-card__link {
  color: var(--gold);
}

.service-card__link:hover svg {
  transform: translateX(4px);
}

/* ── REFERENCES SECTION ────────────────────────────────────────────── */
.references__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.reference-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--pure-white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.5s ease-in-out, border-color 0.5s ease-in-out;
  border: 1px solid rgba(214, 226, 239, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 240px;
}

.reference-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(44, 82, 130, 0.2);
}

.reference-card__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.reference-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left,
      var(--pure-white) 0%,
      rgba(255, 255, 255, 0.95) 25%,
      rgba(255, 255, 255, 0.4) 55%,
      transparent 100%);
}

.reference-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left,
      var(--pure-white) 0%,
      var(--pure-white) 35%,
      rgba(255, 255, 255, 0.85) 60%,
      rgba(255, 255, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.reference-card:hover .reference-card__image::after {
  opacity: 1;
}

.reference-card__content {
  position: relative;
  z-index: 1;
  max-width: 90%;
  padding: var(--space-xl);
  margin-left: auto;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.reference-card__client {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: var(--space-sm);
}

.reference-card__client-logo {
  min-width: 70px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(44, 82, 130, 0.35);
  background: rgba(255, 255, 255, 0.8);
  color: var(--navy-700);
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reference-card__category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: var(--space-xs);
}

.reference-card__title {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-800);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.reference-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--blue-600);
}

.reference-card__link svg {
  transition: transform var(--duration-fast) var(--ease-out);
}

.reference-card__link:hover,
.reference-card:hover .reference-card__link {
  color: var(--gold);
}

.reference-card__link:hover svg {
  transform: translateX(4px);
}

.references__actions {
  display: flex;
  justify-content: center;
  margin-top: var(--space-2xl);
}

/* ── ABOUT / A PROPOS SECTION ─────────────────────────────────────── */
.about {
  overflow: hidden;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about__image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

/* SIGNATURE SHIMMER EFFECT FOR HOMEPAGE ABOUT IMAGE */
.about__image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: -200%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.7), /* High intensity white shine */
    transparent
  );
  transform: skewX(-25deg);
  animation: strongHomeShimmer 4s infinite ease-in-out;
  pointer-events: none;
  z-index: 10;
}

@keyframes strongHomeShimmer {
  0% { left: -200%; }
  35% { left: 200%; }
  100% { left: 200%; }
}

.about__image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about__image-accent {
  position: absolute;
  bottom: var(--space-xl);
  right: var(--space-xl);
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 168, 67, 0.2);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.about__image-accent-number {
  font-family: var(--ff-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold-bright);
  line-height: 1;
}

.about__image-accent-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

.about__content {
  padding-left: var(--space-xl);
}

.about__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.about__label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.about__title {
  margin-bottom: var(--space-lg);
}

.about__text {
  font-size: 1rem;
  color: #5a6b80;
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.about__feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.about__feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(44, 82, 130, 0.08);
  border-radius: var(--radius-sm);
  color: var(--blue-600);
  font-size: 1rem;
  flex-shrink: 0;
}

.about__feature-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-700);
}

.about--dark {
  background: linear-gradient(135deg,
      var(--navy-900) 0%,
      var(--navy-700) 50%,
      var(--navy-600) 100%);
  position: relative;
  overflow: hidden;
}

.about--dark::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -140px;
  width: 420px;
  height: 420px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(212, 168, 67, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.about--dark .about__title {
  color: var(--pure-white);
}

.about--dark .about__text {
  color: rgba(214, 226, 239, 0.85);
}

.about--dark .about__feature-icon {
  background: rgba(168, 196, 224, 0.12);
  color: var(--gold);
}

.about--dark .about__feature-text {
  color: var(--silver);
}

.about--dark .about__image-accent {
  background: rgba(8, 16, 30, 0.8);
  border-color: rgba(212, 168, 67, 0.35);
}

/* ── TRUST / PARTNERS SECTION ─────────────────────────────────────── */
.trust {
  background: var(--pure-white);
  padding: var(--space-4xl) 0;
  overflow: hidden;
  border-top: 1px solid rgba(214, 226, 239, 0.4);
}

.trust__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.trust__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.trust__label::before,
.trust__label::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.trust__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy-800);
}

.trust__marquee-wrapper {
  position: relative;
  width: 100vw;
  max-width: 100%;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  padding: var(--space-lg) 0;
}

.trust__marquee {
  display: flex;
  align-items: center;
  gap: var(--space-5xl);
  width: max-content;
  animation: scrollMarquee 40s linear infinite;
}

.trust__marquee:hover {
  animation-play-state: paused;
}

.trust__logo {
  font-family: var(--ff-heading);
  font-weight: 900;
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(168, 196, 224, 0.6);
  text-transform: uppercase;
  transition: all 0.5s ease-in-out;
  cursor: default;
  position: relative;
  white-space: nowrap;
}

.trust__logo::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--navy-800);
  -webkit-text-stroke: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  text-shadow: 0 4px 20px rgba(44, 82, 130, 0.2);
}

.trust__logo:hover::before {
  opacity: 1;
}

.trust__logo:hover {
  transform: scale(1.1);
  -webkit-text-stroke: 1px transparent;
}

#trust-footer {
  background: linear-gradient(135deg,
      var(--navy-900) 0%,
      var(--navy-700) 50%,
      var(--navy-600) 100%);
  border-top: 1px solid rgba(168, 196, 224, 0.12);
  padding: var(--space-2xl) 0 var(--space-xl);
}

#trust-footer .trust__header {
  margin-bottom: var(--space-lg) !important;
}

#trust-footer .trust__marquee-wrapper {
  padding: var(--space-sm) 0;
}

#trust-footer .trust__marquee {
  gap: var(--space-3xl);
}

#trust-footer .trust__logo {
  font-size: 1.8rem;
  -webkit-text-stroke: 1px rgba(168, 196, 224, 0.45);
}

#trust-footer .trust__logo::before {
  color: var(--silver);
  text-shadow: 0 4px 20px rgba(10, 22, 40, 0.45);
}

#trust-footer+.footer {
  border-top: none;
  padding-top: var(--space-2xl);
}

@keyframes scrollMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - (var(--space-5xl) / 2)));
  }
}

/* ── CLIENTS / TESTIMONIAL ────────────────────────────────────────── */
.clients {
  background:
    linear-gradient(135deg,
      var(--navy-900) 0%,
      var(--navy-700) 50%,
      var(--navy-600) 100%);
  position: relative;
  overflow: hidden;
}

.clients::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
  border-radius: var(--radius-full);
}

.clients__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.clients__content {
  position: relative;
  z-index: 1;
}

.clients__number {
  font-family: var(--ff-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.clients__title {
  font-size: 1.8rem;
  color: var(--pure-white);
  margin-bottom: var(--space-lg);
}

.clients__text {
  color: rgba(168, 196, 224, 0.7);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 420px;
}

.clients__testimonial {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 196, 224, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.clients__testimonial-quote {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--space-xl);
  position: relative;
  padding-left: var(--space-xl);
  border-left: 3px solid var(--gold);
}

.clients__testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.clients__testimonial-logo {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 0.7rem;
  color: var(--pure-white);
  letter-spacing: 0.05em;
}

.clients__testimonial-info {
  display: flex;
  flex-direction: column;
}

.clients__testimonial-name {
  font-weight: 600;
  color: var(--pure-white);
  font-size: 0.95rem;
}

.clients__testimonial-role {
  font-size: 0.82rem;
  color: rgba(168, 196, 224, 0.6);
}

/* Client logos row */
.clients__logos {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(168, 196, 224, 0.08);
  margin-top: var(--space-xl);
}

.clients__logo-item {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: rgba(168, 196, 224, 0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--duration-normal) var(--ease-out);
}

.clients__logo-item:hover {
  color: rgba(168, 196, 224, 0.7);
}

/* ── CTA SECTION ──────────────────────────────────────────────────── */
.cta {
  position: relative;
  padding: var(--space-5xl) 0;
  background: linear-gradient(135deg, #f5f8fc 0%, #e8eef5 100%);
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(44, 82, 130, 0.06) 0%, transparent 70%);
  border-radius: var(--radius-full);
}

.cta__card {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl) var(--space-3xl);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta__card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(212, 168, 67, 0.1) 0%, transparent 60%);
}

.cta__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: var(--radius-xl);
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
}

.cta__title {
  color: var(--pure-white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.cta__text {
  color: rgba(168, 196, 224, 0.7);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto var(--space-2xl);
  position: relative;
  z-index: 1;
}

.cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ── FOOTER ───────────────────────────────────────────────────────── */
.footer {
  background: var(--navy-900);
  color: rgba(168, 196, 224, 0.6);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid rgba(168, 196, 224, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer__brand-logo img {
  width: 36px;
  height: 36px;
}

.footer__brand-logo span {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--pure-white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__brand-text {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 300px;
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 196, 224, 0.06);
  border: 1px solid rgba(168, 196, 224, 0.1);
  border-radius: var(--radius-sm);
  color: rgba(168, 196, 224, 0.5);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-900);
}

.footer__heading {
  font-family: var(--ff-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pure-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__link {
  font-size: 0.88rem;
  color: rgba(168, 196, 224, 0.5);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__link:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer__contact-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 168, 67, 0.08);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.footer__contact-text {
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer__contact-text a {
  color: rgba(168, 196, 224, 0.5);
}

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

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(168, 196, 224, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.footer__lang {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer__lang-btn {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(168, 196, 224, 0.5);
  transition: all var(--duration-fast) var(--ease-out);
  border: 1px solid transparent;
}

.footer__lang-btn:hover,
.footer__lang-btn--active {
  color: var(--pure-white);
  background: rgba(168, 196, 224, 0.06);
  border-color: rgba(168, 196, 224, 0.1);
}

/* ── SCROLL ANIMATIONS (IntersectionObserver) ─────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

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

.reveal--delay-1 {
  transition-delay: 100ms;
}

.reveal--delay-2 {
  transition-delay: 200ms;
}

.reveal--delay-3 {
  transition-delay: 300ms;
}

.reveal--delay-4 {
  transition-delay: 400ms;
}

/* ── RESPONSIVE ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .references__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__content {
    padding-left: 0;
  }

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

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

@media (max-width: 768px) {

  .header__phone {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .hero__stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__stat:nth-child(2)::after {
    display: none;
  }

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

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

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

  .reference-card {
    min-height: 200px;
  }

  .reference-card__content {
    padding: var(--space-lg);
  }

  .clients__logos {
    flex-wrap: wrap;
    gap: var(--space-xl);
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .cta__card {
    padding: var(--space-2xl) var(--space-xl);
  }
}

@media (max-width: 480px) {
  .hero__stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero__stat {
    padding: var(--space-lg) var(--space-md);
  }

  .hero__stat-number {
    font-size: 1.5rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }
}

/* ── TOAST NOTIFICATIONS ────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 420px;
  background: var(--navy-900);
  color: var(--pure-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-left: 4px solid var(--gold);
  transform: translateX(120%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast--visible {
  transform: translateX(0);
}

.toast__icon {
  width: 40px;
  height: 40px;
  background: rgba(240, 197, 102, 0.15);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast__content {
  flex-grow: 1;
}

.toast__title {
  display: block;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 2px;
}

.toast__message {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

.toast__close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 4px;
  margin-left: var(--space-md);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.toast--error {
  border-left-color: #ef4444;
}

.toast--error .toast__title {
  color: #ef4444;
}

.toast--error .toast__icon {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

@media (max-width: 576px) {
  .toast-container {
    left: var(--space-md);
    right: var(--space-md);
    bottom: var(--space-md);
  }

  .toast {
    min-width: 0;
    width: 100%;
  }
}