@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0a1628;
  --navy-deep: #06101c;
  --navy-soft: #122038;
  --navy-line: rgba(255, 255, 255, 0.08);
  --gold: #c9953a;
  --gold-bright: #d9a84a;
  --gold-muted: #b89664;
  --text: #f4f6f8;
  --text-soft: rgba(244, 246, 248, 0.78);
  --white: #ffffff;
  --page-pad: clamp(1rem, 4vw, 1.5rem);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --header-h: calc(64px + var(--safe-top));
  --container: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Montserrat", "Segoe UI", sans-serif;
  --nav-bp: 1024px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(201, 149, 58, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(18, 48, 90, 0.55), transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.page-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 149, 58, 0.08), transparent 40%);
  z-index: 0;
}

.container {
  width: min(100% - (var(--page-pad) * 2), var(--container));
  margin-inline: auto;
}

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

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.scroll-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  padding-top: var(--safe-top);
  overflow: visible;
  background: rgba(10, 22, 40, 0.88);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  background: rgba(6, 16, 28, 0.97);
  border-bottom-color: var(--navy-line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.header-inner {
  width: min(100% - (var(--page-pad) * 2), 1240px);
  margin: 0 auto;
  height: calc(var(--header-h) - var(--safe-top));
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: min(200px, 42vw);
  object-fit: contain;
}

.brand-logo--lg {
  height: 64px;
  max-width: min(280px, 80%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 1.4vw, 1.35rem);
  margin-left: auto;
  min-width: 0;
}

.nav-link {
  position: relative;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

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

.header-cta {
  margin-left: 0.5rem;
  flex-shrink: 0;
}

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

.nav-toggle {
  --bar-w: 20px;
  --bar-h: 2px;
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  flex-shrink: 0;
  z-index: 110;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: var(--bar-w);
  height: var(--bar-h);
  margin-left: calc(var(--bar-w) / -2);
  background: var(--white);
  border-radius: 1px;
  transition:
    transform 0.3s var(--ease),
    opacity 0.25s var(--ease),
    top 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) {
  top: 15px;
}

.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 27px;
}

.nav-checkbox:checked + .nav-toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.nav-checkbox:checked + .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-checkbox:checked + .nav-toggle span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.75rem 1.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 8px 24px rgba(201, 149, 58, 0.25);
}

.btn-gold:hover {
  background: var(--gold-bright);
  box-shadow: 0 12px 28px rgba(201, 149, 58, 0.35);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.arrow {
  transition: transform 0.25s var(--ease);
}

.btn-ghost:hover .arrow {
  transform: translateX(4px);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: -8%;
  background:
    linear-gradient(120deg, rgba(10, 22, 40, 0.35), transparent 40%),
    url("../images/hero-city.jpg") center / cover no-repeat;
  transform: scale(1.05);
  will-change: transform;
  animation: hero- ken 18s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 16, 28, 0.55) 0%, rgba(6, 16, 28, 0.35) 35%, rgba(6, 16, 28, 0.88) 100%),
    linear-gradient(90deg, rgba(6, 16, 28, 0.75) 0%, rgba(6, 16, 28, 0.2) 55%, rgba(6, 16, 28, 0.55) 100%);
}

.hero-v {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  font-size: clamp(18rem, 38vw, 30rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  color: rgba(201, 149, 58, 0.08);
  line-height: 0.8;
  user-select: none;
  animation: v-float 10s ease-in-out infinite;
}

.hero-content {
  width: min(100% - (var(--page-pad) * 2), 760px);
  margin-inline: max(var(--page-pad), calc((100% - var(--container)) / 2));
  padding-right: 0;
}

.hero h1 {
  font-size: clamp(1.85rem, 6.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.hero-lead {
  max-width: 40rem;
  color: var(--text-soft);
  font-size: clamp(0.92rem, 2.8vw, 1rem);
  font-weight: 300;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions .btn {
  flex: 1 1 auto;
  min-width: min(100%, 12.5rem);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 3.25rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head h2,
.pillars h3,
.contact h2,
.legal-page h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  max-width: 18ch;
  margin: 0 auto;
}

/* Services */
.services {
  background:
    linear-gradient(180deg, rgba(18, 32, 56, 0.35), transparent 20%),
    transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--navy-line);
  border-left: 1px solid var(--navy-line);
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 78px;
  padding: 0.95rem 1.1rem;
  border-right: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.service-item:hover {
  background: rgba(201, 149, 58, 0.06);
}

.service-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--gold);
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-item:hover .service-icon {
  transform: scale(1.12);
  filter: drop-shadow(0 0 10px rgba(201, 149, 58, 0.45));
}

/* Pillars */
.pillars {
  padding-top: 1.5rem;
  padding-bottom: 3.25rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar {
  padding: 1.75rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--navy-line);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.pillar:hover {
  border-color: rgba(201, 149, 58, 0.35);
  transform: translateY(-4px);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.pillar-icon svg {
  width: 100%;
  height: 100%;
}

.pillar h3 {
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.pillar p,
.why-list {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 300;
  overflow-wrap: anywhere;
}

.why-list {
  display: grid;
  gap: 0.45rem;
}

.why-list li {
  position: relative;
  padding-left: 1rem;
}

.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* Contact */
.contact {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 380px;
  background: var(--navy-soft);
  overflow: hidden;
}

.contact-visual {
  position: relative;
  min-height: 320px;
}

.contact-image {
  position: absolute;
  inset: 0;
  background:
    url("../images/office.jpg") center / cover no-repeat;
  transform: scale(1.03);
}

.contact-visual-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, var(--navy-soft));
}

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 3rem 3rem 3rem 2rem;
}

.contact-brand {
  margin-bottom: 0.25rem;
}

.contact h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  max-width: 14ch;
}

.contact-details {
  display: grid;
  gap: 0.7rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: color 0.25s var(--ease);
}

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

.contact-ico {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.contact-ico svg {
  width: 100%;
  height: 100%;
}

.socials {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.25rem;
}

.social {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 149, 58, 0.45);
  color: var(--gold);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.social svg {
  width: 16px;
  height: 16px;
}

.social:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  width: min(100% - (var(--page-pad) * 2), 1240px);
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
}

.footer-nav a {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

.footer-nav a:hover {
  color: var(--gold-bright);
}

/* Legal pages */
.legal-page {
  padding: calc(var(--header-h) + 3.5rem) 0 5rem;
}

.legal-page .container {
  max-width: 760px;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.legal-page .legal-intro {
  color: var(--text-soft);
  margin-bottom: 2.5rem;
}

.legal-block {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--navy-line);
}

.legal-block:last-child {
  border-bottom: 0;
}

.legal-block h2 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--gold-bright);
}

.legal-block p,
.legal-block li {
  color: var(--text-soft);
  font-weight: 300;
  font-size: 0.95rem;
}

.legal-block p + p {
  margin-top: 0.75rem;
}

.legal-block ul {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.legal-block li {
  padding-left: 1rem;
  position: relative;
}

.legal-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.legal-block a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
  color: var(--text-soft);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

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

/* Reveal animations – visible by default if JS fails */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 60ms);
}

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

@keyframes v-float {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translate(-50%, -54%) scale(1.03);
    opacity: 1;
  }
}

@keyframes hero-ken {
  from {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(0, -1.5%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .service-item,
  .pillar,
  .social,
  .hero-v,
  .hero-image {
    animation: none !important;
    transition: none !important;
  }

  html.js .reveal,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .contact-visual {
    min-height: 200px;
  }

  .contact-visual-fade {
    background: linear-gradient(180deg, transparent 35%, var(--navy-soft));
  }

  .contact-panel {
    padding: 2rem var(--page-pad) calc(2.5rem + var(--safe-bottom));
  }

  .contact h2 {
    max-width: none;
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .header-inner {
    position: relative;
    justify-content: space-between;
  }

  .brand {
    flex-shrink: 1;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    z-index: 105;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 0 calc(0.85rem + var(--safe-bottom));
    background: rgba(6, 16, 28, 0.98);
    border-bottom: 1px solid var(--navy-line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    transform: translateY(-0.5rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.3s var(--ease),
      opacity 0.3s var(--ease),
      visibility 0.3s;
  }

  .nav-checkbox:checked ~ .nav,
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    padding: 1rem var(--page-pad);
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav-link::after {
    display: none;
  }

  body:has(.nav-checkbox:checked),
  body.nav-open {
    overflow: hidden;
  }

  .site-header:has(.nav-checkbox:checked),
  .site-header.is-menu-open {
    background: rgba(6, 16, 28, 0.97);
    border-bottom-color: var(--navy-line);
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 2rem) 0 3rem;
  }

  .hero-content {
    width: min(100% - (var(--page-pad) * 2), 760px);
    margin-inline: auto;
  }

  .hero-v {
    font-size: clamp(10rem, 48vw, 18rem);
    opacity: 0.85;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section-head {
    margin-bottom: 1.75rem;
  }

  .section-head h2 {
    max-width: 22ch;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 1.25rem 0 calc(1.25rem + var(--safe-bottom));
    gap: 0.75rem;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
  }

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

  .service-item {
    min-height: 72px;
    padding: 0.9rem 0.95rem;
    font-size: 0.84rem;
    gap: 0.7rem;
  }

  .brand-logo {
    height: 34px;
    max-width: min(168px, 58vw);
  }

  .brand-logo--lg {
    height: 48px;
    max-width: min(240px, 85%);
  }

  .contact-visual {
    min-height: 160px;
  }
}

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

  .hero h1 {
    font-size: clamp(1.7rem, 8vw, 2rem);
  }

  .eyebrow {
    letter-spacing: 0.2em;
    font-size: 0.68rem;
  }

  .pillar {
    padding: 1.35rem 1.15rem;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    height: 30px;
    max-width: 140px;
  }

  .btn {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    padding-inline: 1rem;
  }
}
