/* ─────────────────────────────────────────
   TOKENS
───────────────────────────────────────── */
:root {
  --navy:        #0f1c2e;
  --navy-mid:    #1d3557;
  --orange:      #ef9c38;
  --orange-2:    #ff8c00;
  --white:       #ffffff;
  --surface:     #f4f6f9;
  --border:      rgba(0, 0, 0, 0.08);
  --text:        #1e293b;
  --muted:       #64748b;
  --radius:      18px;
  --shadow-sm:   0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-md:   0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-lg:   0 24px 60px rgba(0, 0, 0, 0.15);
  --shadow-orange: 0 10px 32px rgba(239, 156, 56, 0.35);
}

/* ─────────────────────────────────────────
   BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body.bg-wrapper {
  background: var(--white);
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo img {
  width: 260px;
  max-width: 100%;
  display: block;
}

.nav__links ul {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: inline-block;
  padding: 0.55rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--navy);
  border: 1.5px solid transparent;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav__link:hover {
  color: var(--orange-2);
  border-color: var(--orange);
  background: rgba(239, 156, 56, 0.07);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
}

.nav__hamburger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--navy);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7.75px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7.75px) rotate(-45deg); }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, #fdf8f2 0%, #fff8ee 50%, #fffaf5 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(239, 156, 56, 0.14) 0%, transparent 65%);
  top: -150px;
  right: -150px;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(239, 156, 56, 0.07) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  pointer-events: none;
}

.hero {
  display: flex;
  min-height: 86vh;
  justify-content: space-between;
  align-items: center;
  padding: 5rem 0;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero__text {
  flex: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-2);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(239, 156, 56, 0.4);
  border-radius: 999px;
  background: rgba(239, 156, 56, 0.1);
}

.hero__text h1 {
  font-family: 'Bebas Neue', 'Bebas Kai Regular', sans-serif;
  font-size: 5.8rem;
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin: 0 0 1.8rem;
}

.hero__text h1 span {
  background: linear-gradient(to right, var(--orange), var(--orange-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__text p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.75;
}

.brand-icon {
  width: 40px;
  height: auto;
  vertical-align: -38%;
  display: inline-block;
  margin-right: -0.05em;
}

.hero__image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero__image img {
  width: 108%;
  max-width: none;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.15));
}

/* CTA */
.btn-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  background: linear-gradient(to right, var(--orange), var(--orange-2));
  border-radius: 999px;
  box-shadow: var(--shadow-orange);
  transition: all 0.3s ease;
}

.btn-scroll i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.btn-scroll:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(239, 156, 56, 0.5);
}

.btn-scroll:hover i {
  transform: translateY(2px);
}

/* ─────────────────────────────────────────
   SECTION TITLES & BANNER
───────────────────────────────────────── */
h2.section-title {
  font-family: 'Bebas Neue', 'Bebas Kai Regular', sans-serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin: 0;
}

.services-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: white;
  padding: 1.4rem 2.5rem;
  margin: 5rem 0 2.5rem;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(239,156,56,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.services-banner .section-title {
  color: white;
  position: relative;
  z-index: 1;
}

.references-banner {
  margin-top: 0;
}

/* ─────────────────────────────────────────
   FEATURES
───────────────────────────────────────── */

.features-wrapper {
  background: linear-gradient(160deg, #fdf8f2 0%, #fff8ee 100%);
  padding-bottom: 2rem;
}

.features-modern {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0.5rem 0 5rem;
}

.feature-modern {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 3rem 3.5rem;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease,
              box-shadow 0.3s ease, border-color 0.3s ease;
}

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

.feature-modern:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(239, 156, 56, 0.2);
}

.feature-modern.feature-left  { flex-direction: row; }
.feature-modern.feature-right { flex-direction: row; }

.feature-modern__image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.feature-modern__image img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.feature-modern__text {
  flex: 1;
}

.feature-modern__text h3 {
  font-family: 'Bebas Neue', 'Bebas Kai Regular', sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

.feature-modern__text p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.text-icon {
  color: var(--orange);
  font-size: 1.4rem;
  margin-right: 0.5rem;
  vertical-align: -1px;
}

/* ─────────────────────────────────────────
   REFERENCES
───────────────────────────────────────── */
.references {
  background: linear-gradient(160deg, #fdf8f2 0%, #fff8ee 100%);
  padding: 3rem 0;
  margin-top: 1rem;
}

.references-inner {
  padding: 1rem 0 2rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  justify-items: center;
  align-items: center;
}

.logo-card {
  background: var(--white);
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  width: 100%;
  max-width: 240px;
  overflow: hidden;
}

.logo-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(239, 156, 56, 0.25);
}

.logo-card:hover img {
  transform: scale(1.05);
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 5rem 0 2.5rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer__title {
  font-family: 'Bebas Neue', 'Bebas Kai Regular', sans-serif;
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: white;
  margin: 0 0 1rem;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__list li {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.footer__list i {
  color: var(--orange);
  font-size: 0.95rem;
  width: 16px;
  text-align: center;
}

.footer__linkedin {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: color 0.2s ease;
}

.footer__linkedin:visited { color: rgba(255, 255, 255, 0.65); }

.footer__linkedin i { color: var(--orange); }

.footer__linkedin:hover { color: var(--orange); }

.footer__copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  padding-top: 2rem;
  margin-top: 0.5rem;
}

.footer__copyright p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

section[id] { scroll-margin-top: 80px; }

/* ─────────────────────────────────────────
   RESPONSIVE  — tablet
───────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__text h1 { font-size: 4.5rem; }

  .feature-modern {
    gap: 2.5rem;
    padding: 2.5rem;
  }
}

/* ─────────────────────────────────────────
   RESPONSIVE  — mobile
───────────────────────────────────────── */
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }

  /* Nav */
  .nav { padding: 0.75rem 0; }

  .nav__hamburger { display: flex; }

  .nav__logo img { width: 160px; }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    z-index: 99;
  }

  .nav__links.open { display: block; }

  .nav__links ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav__link {
    display: block;
    text-align: center;
    padding: 0.7rem 1rem;
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3.5rem 0 2.5rem;
    min-height: auto;
    gap: 2rem;
  }

  .hero__text h1 { font-size: 3.6rem; }

  .hero__text p {
    font-size: 1rem;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero__eyebrow { font-size: 0.7rem; }

  .hero__image {
    justify-content: center;
    width: 100%;
  }

  .hero__image img {
    width: 100%;
    max-width: 380px;
  }

  .btn-scroll { margin-top: 2rem; }

  /* Services */
  .services-banner {
    margin: 3rem 0 1.5rem;
    padding: 1.1rem 1.5rem;
  }

  h2.section-title { font-size: 1.6rem; }

  .features-modern {
    gap: 1.25rem;
    padding: 0.25rem 0 3rem;
  }

  .feature-modern,
  .feature-modern.feature-right,
  .feature-modern.feature-left {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .feature-modern:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }

  .feature-modern__image img { max-width: 100%; }

  .feature-modern__text h3 { font-size: 1.5rem; }
  .feature-modern__text p  { font-size: 1rem; }

  /* References */
  .references { padding: 2.5rem 0; }

  .references-inner { padding: 0.5rem 0 1.5rem; }

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

  .logo-card {
    height: 110px;
    padding: 1rem;
    max-width: 100%;
  }

  /* Footer */
  .footer { padding: 3.5rem 0 2rem; }
  .footer__title { font-size: 2.2rem; }
  .footer__list li { font-size: 0.95rem; }
}
