:root {
  --bg: #05070d;
  --bg-soft: #0b1221;
  --surface: #121a2a;
  --surface-soft: #18243a;
  --text: #f2f5ff;
  --text-muted: #b8c2d9;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #f2aa2e;
  --accent-2: #ff7f2a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.42);
  --font-display: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;
  --container: min(1200px, 92vw);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #05070d;
  overflow-x: clip;
}

body {
  width: 100%;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--text);
  background: radial-gradient(circle at 20% 10%, #111d35 0%, var(--bg) 50%);
  line-height: 1.65;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  display: block;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(72px, 9vw, 124px) 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-head h2,
.section-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-text p,
.section-head p {
  color: var(--text-muted);
  margin-top: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: linear-gradient(45deg, #f2aa2e, #ff7f2a);
  top: -120px;
  right: -80px;
  animation: drift 16s ease-in-out infinite;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: linear-gradient(45deg, #1e3568, #2f4f90);
  bottom: -110px;
  left: -50px;
  animation: drift 19s ease-in-out infinite reverse;
}

.grid-noise {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.35;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(28px) translateX(-18px) scale(1.08);
  }
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 30;
  padding: 16px 0;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.header.scrolled {
  background: rgba(7, 12, 24, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: #121212;
  font-family: var(--font-display);
  font-weight: 800;
  overflow: hidden;
}

.brand-mark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
}

.header.scrolled .brand-mark {
  box-shadow: 0 10px 24px rgba(255, 155, 54, 0.24);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text strong {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.logo-text small {
  margin-top: 4px;
  color: var(--text-muted);
  letter-spacing: 0.22em;
  font-size: 0.6rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 90;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #dde4f6;
  font-size: 0.95rem;
  line-height: 1;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.nav-dropdown-toggle i {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle i,
.nav-dropdown.open .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 65;
  width: 260px;
  max-width: 72vw;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 12, 22, 0.96);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-submenu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-submenu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-submenu a::after {
  display: none;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.open .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 861px) {
  .nav-dropdown {
    padding: 16px 0;
    margin: -16px 0;
  }
}

.nav a {
  font-weight: 600;
  color: #dde4f6;
  font-size: 0.95rem;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

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

.btn-primary {
  color: #111;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 30px rgba(255, 148, 46, 0.35);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  transition: 0.25s;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
  padding-top: 100px;
  overflow: clip;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  margin-left: -3px;
  margin-top: -3px;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 14s ease-in-out infinite alternate;
  filter: grayscale(10%) contrast(1.05);
}

.hero-overlay {
  background: linear-gradient(130deg, rgba(3, 7, 16, 0.9) 16%, rgba(5, 9, 18, 0.7) 48%, rgba(7, 12, 22, 0.9) 82%);
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.14);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 7vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  margin-top: 16px;
}

.text-rotator {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(255, 180, 58, 0.25);
}

.hero-description {
  margin-top: 24px;
  max-width: 660px;
  color: #ced7eb;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-highlights {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hero-highlights article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.hero-highlights strong {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  display: block;
}

.hero-highlights span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.split-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.1fr 1fr;
}

.about-cards {
  display: grid;
  gap: 16px;
}

.glass-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 26px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(242, 170, 46, 0.4);
}

.glass-card i,
.service-card i,
.why-item i {
  font-size: 1.6rem;
  color: var(--accent);
}

.glass-card h3,
.service-card h3,
.project-overlay h3,
.timeline-item h3,
.testimonial-card h3 {
  margin-top: 14px;
  font-family: var(--font-display);
  line-height: 1.2;
}

.glass-card p,
.service-card p,
.timeline-item p,
.project-overlay p,
.testimonial-card p {
  color: var(--text-muted);
  margin-top: 10px;
}

.services {
  background: linear-gradient(to bottom, rgba(18, 26, 42, 0.22), rgba(18, 26, 42, 0));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 26px;
  background: linear-gradient(145deg, rgba(24, 36, 58, 0.72), rgba(11, 18, 33, 0.75));
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 170, 46, 0.4);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.28);
}

.why-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.why-item {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.25s ease;
}

.why-item:hover {
  transform: translateX(4px);
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s ease;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: transparent;
  color: #141414;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
}

.projects-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.project-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.project-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(2, 4, 8, 0.9) 10%, rgba(2, 4, 8, 0.1));
}

.project-card:hover img {
  transform: scale(1.09);
}

.project-card.hidden {
  display: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  padding: 28px 16px;
}

.stat-card strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--accent);
  display: block;
}

.stat-card span {
  color: var(--text-muted);
}

.timeline {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.025);
  position: relative;
}

.timeline-item span {
  font-family: var(--font-display);
  color: var(--accent);
  letter-spacing: 0.08em;
  font-weight: 700;
}

.testimonial-slider {
  position: relative;
  min-height: 220px;
}

.testimonial-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card span {
  color: var(--text-muted);
}

.slider-controls {
  margin-top: 20px;
  display: flex;
  gap: 8px;
}

.slider-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-controls button:hover {
  border-color: transparent;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #111;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-info ul {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.contact-info li {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-placeholder {
  margin-top: 18px;
  border-radius: var(--radius);
  min-height: 220px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  display: grid;
  place-items: center;
  text-align: center;
  color: #d7dff0;
  background: rgba(255, 255, 255, 0.02);
}

.map-placeholder i {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
}

.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  padding: 24px;
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 12px;
  color: #fff;
  background: rgba(4, 7, 14, 0.72);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(242, 170, 46, 0.7);
  box-shadow: 0 0 0 3px rgba(242, 170, 46, 0.2);
}

.footer {
  background: #060a14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  padding: 62px 0 38px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
}

.footer-grid h4 {
  font-family: var(--font-display);
  margin-bottom: 10px;
}

.footer-grid p,
.footer-grid li,
.footer-grid a {
  color: var(--text-muted);
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0 18px;
}

.footer-bottom p {
  color: #94a0bd;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

@media (max-width: 1080px) {
  .services-grid,
  .timeline,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav {
    position: absolute;
    top: 78px;
    left: 4vw;
    right: 4vw;
    border-radius: 14px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(8, 12, 22, 0.96);
    backdrop-filter: blur(10px);
    display: grid;
    gap: 12px;
    transform: scale(0.98) translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-submenu {
    position: static;
    margin-top: 8px;
    min-width: 100%;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    display: none;
  }

  .nav-dropdown.open .nav-submenu {
    display: grid;
  }

  .nav.open {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
  }

  .projects-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }
}

@media (max-width: 560px) {
  .section {
    padding: 66px 0;
  }

  .hero {
    min-height: 92vh;
  }

  .services-grid,
  .timeline,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}

@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;
  }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 22px rgba(255, 168, 57, 0.7);
}

.nav a.active {
  color: #ffffff;
}

.nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header.scrolled .logo-mark {
  box-shadow: 0 8px 24px rgba(255, 162, 51, 0.32);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(to top, rgba(5, 8, 16, 0.95), transparent);
  z-index: 1;
}

.hero-content {
  padding-bottom: 26px;
}

.hero-highlights article {
  position: relative;
  overflow: hidden;
}

.hero-highlights article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(255, 187, 72, 0.16), transparent 52%);
  pointer-events: none;
}

.trust-strip {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 9, 18, 0.86);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.trust-track {
  width: max-content;
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 14px 22px;
  animation: marquee 28s linear infinite;
}

.trust-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d8e1f4;
  font-weight: 600;
  white-space: nowrap;
}

.trust-track i {
  color: var(--accent);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.services-grid,
.projects-grid,
.timeline,
.stats-grid,
.why-grid {
  isolation: isolate;
}

.service-card,
.project-card,
.stat-card,
.timeline-item,
.testimonial-card,
.contact-form,
.map-placeholder {
  position: relative;
}

.service-card::before,
.project-card::before,
.stat-card::before,
.timeline-item::before,
.testimonial-card::before,
.contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(255, 196, 109, 0.1), rgba(255, 255, 255, 0) 35%);
  opacity: 0.7;
}

.service-card:hover,
.timeline-item:hover,
.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 170, 46, 0.4);
}

.service-card,
.timeline-item,
.stat-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-overlay {
  backdrop-filter: blur(2px);
}

.contact-form {
  gap: 14px;
}

.contact-form label {
  color: #f4f7ff;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  min-height: 48px;
}

.mobile-fab {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 60;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #151515;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(255, 141, 38, 0.42);
}

.mobile-fab i {
  font-size: 1rem;
}

@media (max-width: 1080px) {
  .trust-track {
    gap: 24px;
    padding: 12px 18px;
  }

  .section-head {
    margin-bottom: 32px;
  }
}

@media (max-width: 860px) {
  .header {
    padding: 10px 0;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .nav {
    top: 66px;
    left: 16px;
    right: 16px;
    padding: 16px;
    gap: 10px;
  }

  .hero {
    min-height: 86vh;
    padding-top: 92px;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .project-card {
    min-height: 280px;
  }

  .testimonial-slider {
    min-height: 260px;
  }

  .mobile-fab {
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1200px, 94vw);
  }

  .logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .logo-text strong {
    font-size: 0.8rem;
  }

  .logo-text small {
    font-size: 0.56rem;
  }

  .section {
    padding: 58px 0;
  }

  .hero-title {
    letter-spacing: -0.03em;
  }

  .hero-highlights {
    margin-top: 28px;
    gap: 10px;
  }

  .hero-highlights article {
    padding: 14px;
  }

  .service-card,
  .timeline-item,
  .stat-card,
  .contact-form,
  .testimonial-card {
    padding: 18px;
    border-radius: 14px;
  }

  .project-overlay {
    padding: 16px;
  }

  .trust-track span {
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-track {
    animation: none !important;
  }
}

body.menu-open {
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #111;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 18px;
}

.preloader .logo-mark {
  width: clamp(120px, 14vw, 170px);
  height: clamp(120px, 14vw, 170px);
  border-radius: 28px;
}

.preloader .brand-mark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 24px rgba(255, 255, 255, 0.08);
}

.preloader .logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.preloader-logo {
  opacity: 0;
  transform: scale(0.9);
  animation: preloaderLogoIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

@keyframes preloaderLogoIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.preloader-inner p {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  color: #f4f7ff;
  text-align: center;
}

.preloader-line {
  width: clamp(180px, 30vw, 250px);
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.preloader-line span {
  display: block;
  width: 38%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: preloadRun 1.2s ease-in-out infinite;
}

@keyframes preloadRun {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(340%);
  }
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(3, 7, 14, 0.5);
  backdrop-filter: blur(1px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.menu-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.project-open {
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.project-open:hover {
  border-color: transparent;
  color: #151515;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.project-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 10, 0.75);
  backdrop-filter: blur(4px);
}

.project-modal-content {
  position: relative;
  width: min(820px, 100%);
  border-radius: 16px;
  overflow: hidden;
  background: #0a1322;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.4);
}

.project-modal-content img {
  width: 100%;
  height: min(360px, 42vh);
  object-fit: cover;
}

.project-modal-text {
  padding: 18px;
}

.project-modal-text h3 {
  font-family: var(--font-display);
  line-height: 1.2;
}

.project-modal-text p {
  color: var(--text-muted);
  margin-top: 8px;
}

.project-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(2, 4, 10, 0.7);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 61;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(7, 12, 23, 0.78);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.back-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 860px) {
  .back-top {
    bottom: 84px;
    right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader-line span {
    animation: none !important;
  }

  .preloader-logo {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* Compact spacing + upgraded testimonials */
.section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.stats.section {
  padding-bottom: clamp(28px, 4vw, 52px);
}

.process.section {
  padding-top: clamp(34px, 4vw, 56px);
}

.testimonial-slider {
  min-height: 290px;
}

.testimonial-card {
  padding: 26px 26px 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 0% 0%, rgba(245, 176, 63, 0.12), transparent 55%);
  border-color: rgba(255, 255, 255, 0.18);
}

.testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.quote-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent);
}

.quote-icon i {
  font-size: 1.2rem;
}

.rating {
  display: inline-flex;
  gap: 3px;
  color: var(--accent);
}

.rating i {
  font-size: 0.9rem;
}

.testimonial-card p {
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.75;
}

.testimonial-person {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.testimonial-person h3 {
  margin: 0;
}

.testimonial-person span {
  display: inline-block;
  margin-top: 4px;
  color: #d4def2;
}

.slider-controls {
  margin-top: 14px;
}

@media (max-width: 860px) {
  .stats.section {
    padding-bottom: 24px;
  }

  .process.section {
    padding-top: 30px;
  }

  .testimonial-slider {
    min-height: 330px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 50px 0;
  }

  .testimonial-card {
    padding: 18px;
  }

  .testimonial-slider {
    min-height: 360px;
  }
}

/* Tighter layout + cleaner testimonial flow */
.section {
  padding: clamp(44px, 5.2vw, 74px) 0;
}

.section-head {
  margin-bottom: 26px;
}

.stats.section {
  padding-bottom: clamp(18px, 2.8vw, 34px);
}

.process.section {
  padding-top: clamp(20px, 3vw, 40px);
}

.testimonials.section {
  padding-top: clamp(34px, 4.2vw, 56px);
  padding-bottom: clamp(40px, 4.8vw, 62px);
}

.contact.section {
  padding-top: clamp(32px, 4vw, 54px);
}

.testimonial-slider {
  min-height: auto;
}

.testimonial-card {
  position: relative;
  inset: auto;
  display: none;
  opacity: 1;
  transform: none;
}

.testimonial-card.active {
  display: block;
}

.slider-controls {
  margin-top: 10px;
}

@media (max-width: 860px) {
  .section {
    padding: 42px 0;
  }

  .section-head {
    margin-bottom: 22px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 38px 0;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .testimonials.section,
  .contact.section {
    padding-top: 30px;
  }
}

/* Framer-style polish layer */
:root {
  --mx: 50vw;
  --my: 10vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(247, 179, 65, 0.09), transparent 60%);
}

.section {
  position: relative;
}

.section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0.45;
}

.hero::after,
.footer::after {
  display: none;
}

.section-head h2 {
  text-wrap: balance;
}

.hero-title {
  text-wrap: balance;
}

.reveal {
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.glass-card,
.service-card,
.project-card,
.stat-card,
.timeline-item,
.why-item,
.testimonial-card,
.contact-form,
.map-placeholder {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
}

.glass-card:hover,
.service-card:hover,
.project-card:hover,
.timeline-item:hover,
.stat-card:hover,
.why-item:hover,
.testimonial-card:hover,
.contact-form:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.32);
}

.section .container {
  position: relative;
}

.section .container::before {
  content: "";
  position: absolute;
  inset: -14px -8px auto;
  height: 120px;
  pointer-events: none;
  background: radial-gradient(60% 100% at 50% 0%, rgba(255, 179, 60, 0.06), transparent 68%);
  opacity: 0.65;
}

.testimonials .section-head {
  max-width: 920px;
}

.testimonial-card {
  border-radius: 20px;
}

.testimonial-card p {
  max-width: 95%;
}

.slider-controls button {
  backdrop-filter: blur(8px);
}

@media (max-width: 860px) {
  .section::after {
    opacity: 0.3;
  }

  .section .container::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .section::after,
  .section .container::before {
    display: none;
  }
}

/* Inner pages: services + demolition */
.inner-hero {
  position: relative;
  padding: clamp(128px, 14vw, 190px) 0 clamp(54px, 7vw, 92px);
  overflow: hidden;
}

.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(6, 12, 24, 0.92), rgba(8, 18, 34, 0.72));
}

.inner-hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.inner-hero-content h1 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.inner-hero-content p {
  margin-top: 18px;
  color: #cfd8ee;
  max-width: 720px;
}

.service-page {
  padding-top: clamp(24px, 4vw, 44px);
}

.service-page-grid {
  align-items: stretch;
}

.service-page-grid .service-card {
  min-height: 220px;
}

.service-link-card {
  border-color: rgba(242, 170, 46, 0.48);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
}

.service-link {
  display: block;
}

.service-link span {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 700;
}

.service-card h3 a {
  color: inherit;
}

.demolition-hero {
  background-image:
    linear-gradient(120deg, rgba(4, 10, 22, 0.94), rgba(8, 18, 32, 0.72)),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
}

.demolition-hero::before {
  display: none;
}

.demolition-metrics {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.03);
}

.metric-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  color: var(--accent);
}

.metric-card span {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
}

.demolition-videos {
  padding-top: clamp(28px, 4vw, 52px);
}

.video-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #060b15;
}

.video-card h3 {
  padding: 14px 14px 16px;
  font-family: var(--font-display);
  font-size: 1rem;
}

@media (max-width: 1080px) {
  .demolition-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .inner-hero {
    padding-top: 112px;
  }
}

/* Final nav dropdown fix (desktop vs mobile separation) */
#primaryNav .nav-dropdown {
  position: relative;
}

#primaryNav .nav-dropdown-toggle {
  all: unset;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 600;
  color: #dde4f6;
  font-size: 0.95rem;
}

#primaryNav .nav-dropdown-toggle i {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

#primaryNav .nav-submenu {
  z-index: 85;
}

#primaryNav .nav-submenu a {
  display: block !important;
}

@media (min-width: 861px) {
  .menu-toggle {
    display: none !important;
  }

  #primaryNav {
    position: static !important;
    display: flex !important;
    align-items: center;
    gap: 28px;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
  }

  #primaryNav .nav-dropdown {
    margin: 0;
    padding: 16px 0;
  }

  /* Hover geçişinde imleç boşluğa düşmesin diye köprü alanı */
  #primaryNav .nav-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 8px;
  }

  #primaryNav .nav-submenu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 260px !important;
    max-width: 72vw;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
  }

  #primaryNav .nav-dropdown:hover .nav-submenu,
  #primaryNav .nav-dropdown:focus-within .nav-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  #primaryNav .nav-dropdown:hover .nav-dropdown-toggle i,
  #primaryNav .nav-dropdown:focus-within .nav-dropdown-toggle i {
    transform: rotate(180deg);
  }
}

@media (max-width: 860px) {
  #primaryNav .nav-dropdown {
    width: 100%;
  }

  #primaryNav .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  #primaryNav .nav-submenu {
    position: static !important;
    width: 100% !important;
    margin-top: 8px;
    display: none !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  #primaryNav .nav-dropdown.open .nav-submenu {
    display: grid !important;
  }

  #primaryNav .nav-dropdown:focus-within .nav-submenu {
    display: grid !important;
  }
}
