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

:root {
  --bg:           #0B1A3E;
  --bg-card:      #0D2050;
  --bg-alt:       #09163A;
  --gold:         #D4A843;
  --gold-light:   #E8C060;
  --cyan:         #00D4FF;
  --white:        #FFFFFF;
  --cream:        #F5E6C8;
  --muted:        #7A9BB5;
  --border:       rgba(0, 212, 255, 0.13);
  --border-gold:  rgba(212, 168, 67, 0.28);
  --font:         'Exo 2', Arial, sans-serif;
  --nav-h:        68px;
  --max-w:        1160px;
  --radius:       8px;
  --ease:         0.24s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img   { display: block; max-width: 100%; }
ul    { list-style: none; }
a     { color: inherit; text-decoration: none; }

/* =========================================================
   Layout
   ========================================================= */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), background var(--ease), backdrop-filter var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(11, 26, 62, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo      { height: 34px; width: auto; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--cream);
  opacity: 0.75;
  transition: opacity var(--ease), color var(--ease);
}
.main-nav a:hover { opacity: 1; color: var(--cyan); }

.nav-cta {
  padding: 0.45rem 1.15rem !important;
  border: 1px solid var(--gold) !important;
  border-radius: var(--radius) !important;
  color: var(--gold) !important;
  opacity: 1 !important;
  transition: background var(--ease), color var(--ease) !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--bg) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--ease);
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 168, 67, 0.28);
}

/* =========================================================
   Shared section elements
   ========================================================= */
.eyebrow {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.8rem;
}

.section-header       { margin-bottom: 3.5rem; }
.section-header h2    {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* =========================================================
   Hero
   ========================================================= */
.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.section-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 72% 50%, rgba(0, 212, 255, 0.055) 0%, transparent 70%),
    radial-gradient(ellipse 45% 55% at 28% 55%, rgba(212, 168, 67, 0.045) 0%, transparent 70%);
  pointer-events: none;
}

.hero-bg-icon {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: 52vw;
  max-width: 680px;
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
}
.hero-bg-icon img { width: 100%; height: auto; }

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 16ch;
}
.accent-gold { color: var(--gold); }

.hero-sub {
  font-size: clamp(0.975rem, 1.4vw, 1.15rem);
  font-weight: 300;
  color: var(--muted);
  max-width: 50ch;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-indicator span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--cyan));
  animation: scroll-pulse 2.2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0; transform: scaleY(0.3) translateY(-8px); }
  50%       { opacity: 0.55; transform: scaleY(1) translateY(0); }
}

/* =========================================================
   Services
   ========================================================= */
.section-services { padding: 7rem 0; }

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

.service-card {
  padding: 2.25rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.service-card:hover {
  border-color: rgba(0, 212, 255, 0.32);
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.service-card--featured {
  border-color: var(--border-gold);
  background: linear-gradient(148deg, #0D2050 0%, #0F2660 100%);
  position: relative;
}
.service-card--featured::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  border-radius: var(--radius) var(--radius) 0 0;
}
.service-card--featured:hover { border-color: rgba(212, 168, 67, 0.45); }

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.service-card > p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.service-tags li {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--cyan);
  padding: 0.22rem 0.6rem;
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 4px;
  background: rgba(0, 212, 255, 0.05);
}

/* =========================================================
   About
   ========================================================= */
.section-about { padding: 7rem 0; background: var(--bg-alt); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 6rem;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.about-lead {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.72;
  margin-bottom: 1.1rem;
}

.about-text > p:not(.about-lead):not(.eyebrow) {
  font-size: 0.925rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.about-values {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.value-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: baseline;
}

.value-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.value-item p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-icon-wrap {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-icon-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.07) 0%, transparent 72%);
}

.about-icon {
  width: 270px;
  height: auto;
  opacity: 0.88;
  filter: drop-shadow(0 0 28px rgba(0, 212, 255, 0.14));
  animation: icon-float 5s ease-in-out infinite;
}

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

/* =========================================================
   Contact
   ========================================================= */
.section-contact {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(212, 168, 67, 0.055) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner { position: relative; z-index: 1; }

.contact-inner h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.contact-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.75rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
}

.footer-logo { opacity: 0.65; transition: opacity var(--ease); }
.footer-logo:hover { opacity: 1; }
.footer-logo img { height: 28px; width: auto; }

.footer-tagline {
  font-size: 0.62rem;
  font-weight: 200;
  letter-spacing: 0.28em;
  color: var(--cyan);
  opacity: 0.45;
}

.footer-copy {
  font-size: 0.74rem;
  font-weight: 300;
  color: var(--muted);
  opacity: 0.55;
}

/* =========================================================
   Responsive — tablet
   ========================================================= */
@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .about-visual { order: -1; }
  .about-icon-wrap { width: 220px; height: 220px; }
  .about-icon { width: 200px; }
}

/* =========================================================
   Responsive — mobile
   ========================================================= */
@media (max-width: 620px) {
  .main-nav {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(11, 26, 62, 0.97);
    padding: 1.75rem 2rem 2rem;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .main-nav.open { display: flex; }
  .main-nav ul   { flex-direction: column; align-items: flex-start; gap: 1.25rem; }

  .nav-toggle { display: flex; }

  .hero-headline { max-width: none; }

  .value-item {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .section-services,
  .section-about,
  .section-contact {
    padding: 5rem 0;
  }
}
