:root {
  --navy: #0A1628;
  --navy-soft: #11213c;
  --gold: #1AA6E5;
  --off-white: #F5F5F0;
  --glass: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.24);
  --text: #e9edf7;
  --muted: #b9c3d6;
  --surface: #e8ecef;
  --neo-dark: rgba(10, 22, 40, 0.2);
  --neo-light: rgba(255, 255, 255, 0.95);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --transition: all 0.35s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at 15% 20%, #182e4d 0%, var(--navy) 42%), linear-gradient(120deg, #081524 0%, #0a1a30 45%, #0d2240 100%);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

iframe,
video,
canvas,
svg {
  max-width: 100%;
}

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

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

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

.section {
  padding: 4.2rem 0;
}

.page-hero {
  padding: 7rem 0 3rem;
  text-align: center;
}

.page-hero-grid {
  position: relative;
  overflow: hidden;
  padding: 6.2rem 0 4.2rem;
  background-color: #051735;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(6, 23, 48, 0.93), rgba(5, 20, 42, 0.98));
  background-size: 50px 50px, 50px 50px, 100% 100%;
  border: 0;
  border-radius: 0;
}

.page-hero-inner {
  max-width: 980px;
  margin: 0 auto;
}

.page-kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 800;
  font-size: clamp(0.82rem, 1vw, 1.05rem);
  margin-bottom: 0.7rem;
}

.page-hero-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.9rem);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #f4f7fc;
}

.page-hero-sub {
  color: #c4cee0;
  margin: 0 auto;
  max-width: 980px;
  font-size: clamp(0.96rem, 1.3vw, 1.35rem);
}

.section-title {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 2.2vw, 3rem);
  margin-bottom: 0.8rem;
}

.lead {
  color: var(--muted);
  max-width: 760px;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
}

.neo {
  background: var(--surface);
  color: #1a2435;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: -8px -8px 16px var(--neo-light), 8px 8px 16px var(--neo-dark);
}

.btn {
  border: none;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 0.92rem 2rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  will-change: transform;
  min-height: 44px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.25);
}

.btn-primary {
  background: linear-gradient(145deg, #58c8ef, var(--gold));
  color: #101820;
  border: 1px solid transparent;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(26, 166, 229, 0.8);
  color: var(--gold);
}

.loader {
  position: fixed;
  inset: 0;
  background: #0a1628;
  z-index: 9999;
  display: grid;
  place-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 5vw, 3rem);
  color: #fff;
  animation: revealMark 1.5s ease forwards;
}

.loader-mark span {
  color: var(--gold);
}

@keyframes revealMark {
  0% { opacity: 0; transform: translateY(14px) scale(0.96); }
  60% { opacity: 1; transform: translateY(0) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, rgba(8, 18, 35, 0.94), rgba(10, 25, 49, 0.92), rgba(6, 17, 35, 0.94));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(8, 18, 35, 0.96);
  border-color: rgba(255, 255, 255, 0.14);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.85rem, 2.5vw, 2.35rem);
  font-weight: 600;
  line-height: 1;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  border: 1px solid rgba(26, 166, 229, 0.45);
  border-radius: 10px;
  padding: 3px;
}

.brand-text {
  line-height: 1;
}

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

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 4%;
  right: 4%;
  padding: 0.8rem;
  background: rgba(8, 18, 35, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  transform-origin: top;
  transform: scaleY(0.85);
  opacity: 0;
  pointer-events: none;
  transition: 0.32s ease;
}

.nav-menu.open {
  opacity: 1;
  transform: scaleY(1);
  pointer-events: all;
}

.nav-list {
  list-style: none;
  display: grid;
  gap: 0.3rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 0.75rem;
  min-height: 44px;
  font-weight: 600;
  font-size: 1.05rem;
  color: #eff3fb;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.46rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: #f6f8fd;
}

.nav-cta {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  border: 1px solid rgba(26, 166, 229, 0.85);
  color: var(--gold);
  font-weight: 700;
  transition: var(--transition);
}

.nav-cta:hover {
  background: rgba(26, 166, 229, 0.14);
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 3.9rem 0 4.8rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(8, 20, 40, 0.6), rgba(7, 17, 34, 0.88)), url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  z-index: -2;
  will-change: transform;
}

.hero-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.25rem 0.6rem;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: clamp(0.82rem, 1.1vw, 1.05rem);
  letter-spacing: 2.2px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 800;
}

.hero-title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(2.15rem, 7.1vw, 6.2rem);
  line-height: 0.95;
  margin-bottom: 1.15rem;
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: wordReveal 0.75s forwards;
}

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

.hero-sub {
  color: #c8d1e4;
  margin-bottom: 2rem;
  font-size: clamp(1rem, 2vw, 2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.05rem;
  justify-content: center;
}

.scroll-cue {
  position: absolute;
  bottom: 1.65rem;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  display: grid;
  place-items: center;
  animation: cueFloat 1.7s infinite;
}

.scroll-cue i {
  color: var(--gold);
}

@keyframes cueFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.stats-grid,
.service-preview-grid,
.team-grid,
.values-grid,
.project-grid,
.services-grid,
.footer-grid,
.two-col,
.about-split,
.contact-grid {
  display: grid;
  gap: 1rem;
}

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

.stat-item {
  padding: 1rem 0.8rem;
  text-align: center;
}

.stat-num {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
}

.vision-card,
.service-preview,
.value-card,
.quote-strip,
.contact-card,
.cta-banner {
  padding: 1.25rem;
}

.quote-strip {
  border-left: 4px solid var(--gold);
  font-style: italic;
}

.service-preview,
.value-card,
.project-card,
.service-item {
  transition: var(--transition);
  will-change: transform;
}

.service-preview:hover,
.value-card:hover,
.service-item:hover {
  transform: translateY(-4px);
}

.service-preview i,
.value-card i {
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
  transition: transform 0.35s ease;
}

.service-preview:hover i,
.value-card:hover i {
  transform: scale(1.1) rotate(8deg);
}

.about-image {
  border-radius: var(--radius);
  min-height: 300px;
  width: 100%;
  object-fit: cover;
}

.strength-list {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.strength-list i {
  color: var(--gold);
  margin-right: 0.45rem;
}

.contact-card .strength-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.contact-card .strength-list li > i {
  width: 18px;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.contact-card .strength-list li > span,
.contact-card .contact-phone-links {
  line-height: 1.35;
}

.contact-phone-item {
  gap: 0.5rem;
}

.contact-phone-item i {
  margin-top: 0.2rem;
}

.contact-phone-links {
  display: grid;
  gap: 0.08rem;
}

.contact-phone-links a {
  line-height: 1.35;
}

.statement {
  text-align: center;
  padding: 2.2rem 1rem;
  margin-top: 1.2rem;
}

.vision {
  background: linear-gradient(180deg, #091427, #0f213d);
}

.mission {
  background: linear-gradient(180deg, #132746, #1c345a);
}

.statement .accent {
  color: var(--gold);
  font-weight: 800;
}

.team-card {
  padding: 1.2rem;
  text-align: center;
}

.team-card.neo {
  box-shadow: none;
}

.avatar {
  width: 90px;
  height: 90px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5e9ed;
  color: #2a3d5f;
  box-shadow: inset -5px -5px 10px rgba(255, 255, 255, 0.95), inset 5px 5px 10px rgba(10, 22, 40, 0.15);
}

.team-photo {
  width: 110px;
  height: 110px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(26, 166, 229, 0.55);
  box-shadow: 0 10px 24px rgba(10, 22, 40, 0.18);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.filter-btn {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gold);
  color: #13233b;
  border-color: var(--gold);
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.project-media {
  position: relative;
  height: 220px;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.82), rgba(10, 22, 40, 0.2));
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-body {
  padding: 1rem;
}

.badge {
  display: inline-flex;
  margin-bottom: 0.55rem;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  background: rgba(26, 166, 229, 0.2);
  border: 1px solid rgba(26, 166, 229, 0.5);
  color: #d7f3ff;
  font-size: 0.8rem;
  font-weight: 600;
}

.service-item {
  padding: 1.2rem;
  border: 1px solid transparent;
}

.services-grid .service-item.neo {
  box-shadow: none;
}

.services-grid .service-item:hover {
  transform: scale(1.03);
}

.service-item:hover {
  border-color: rgba(26, 166, 229, 0.7);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  color: #1a2940;
  background: var(--surface);
  box-shadow: -5px -5px 10px var(--neo-light), 5px 5px 10px var(--neo-dark);
}

.contact-form-wrap {
  padding: 1.2rem;
}

form {
  display: grid;
  gap: 0.72rem;
}

.field {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 11px;
  padding: 0.72rem 0.85rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.76);
  color: #102039;
  box-shadow: -4px -4px 8px rgba(255, 255, 255, 0.8), 4px 4px 8px rgba(10, 22, 40, 0.13);
  outline: none;
  transition: var(--transition);
}

.field:focus {
  border-color: rgba(26, 166, 229, 0.75);
  box-shadow: 0 0 0 3px rgba(26, 166, 229, 0.23), 0 8px 16px rgba(10, 22, 40, 0.15);
}

textarea.field {
  resize: vertical;
  min-height: 110px;
}

.map-placeholder {
  margin-top: 1rem;
  min-height: 220px;
  border-radius: var(--radius-sm);
  background: linear-gradient(140deg, #9fa8b5, #b8c0cc);
  display: grid;
  place-items: center;
}

.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-grid;
  place-items: center;
}

.site-footer {
  margin-top: 3rem;
  background: #081323;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  padding: 2rem 0 1.4rem;
}

.footer-title {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 0.8rem 0;
  color: #b9c7df;
  font-size: 0.9rem;
}

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: #13233d;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 900;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
}

.reveal,
.slide-left,
.scale-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: transform;
}

.slide-left {
  transform: translateX(-32px);
}

.scale-in {
  transform: scale(0.9);
}

.services-grid .service-item.scale-in {
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

@media (max-width: 575px) {
  .container {
    width: min(94%, var(--container));
  }

  .section {
    padding: 3.4rem 0;
  }

  .page-hero {
    padding: 6rem 0 2.25rem;
  }

  .page-hero-grid {
    padding: 5.4rem 0 3.6rem;
    background-size: 34px 34px, 34px 34px, 100% 100%;
  }

  .page-kicker {
    font-size: 1.2rem;
    letter-spacing: 1.8px;
  }

  .page-hero-title {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .page-hero-sub {
    font-size: clamp(1rem, 4.8vw, 1.35rem);
  }

  .hero {
    padding: 4.1rem 0 3.8rem;
  }

  .hero-content {
    padding: 1rem;
  }

  .brand {
    font-size: 1.4rem;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

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

  .stat-item {
    padding: 0.85rem 0.6rem;
  }

  .scroll-cue {
    bottom: 0.7rem;
  }

  .project-media {
    height: 200px;
  }

  .footer-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: all;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
  }

  .nav-list {
    display: flex;
    gap: 1rem;
  }

  .nav-cta {
    display: inline-flex;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .two-col {
    grid-template-columns: 1.2fr 1fr;
  }

  .service-preview-grid,
  .team-grid,
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-split {
    grid-template-columns: 1fr 1.1fr;
  }

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

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

  .contact-grid {
    grid-template-columns: 1fr 1.25fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    width: min(94%, var(--container));
  }

  .section {
    padding: 4.6rem 0;
  }

  .hero {
    min-height: 86vh;
    min-height: 86svh;
    padding: 4.2rem 0 4.8rem;
  }

  .hero-actions {
    gap: 1rem;
  }

  .project-grid,
  .services-grid,
  .team-grid,
  .values-grid,
  .service-preview-grid {
    gap: 1.2rem;
  }

  .project-media {
    height: 210px;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 5rem 0;
  }

  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .container {
    width: min(90%, var(--container));
  }

  .hero-content {
    max-width: 1060px;
  }
}

@media (hover: none) {
  .btn:hover,
  .project-card:hover,
  .service-item:hover,
  .service-preview:hover,
  .value-card:hover {
    transform: none;
  }

  .project-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.64), rgba(10, 22, 40, 0.15));
  }
}
