/* Modern single-page layout + scroll-driven photo banner */

:root{
  --bg0: #05060a;
  --bg1: rgba(10, 14, 25, 0.72);
  --card: rgba(255, 255, 255, 0.07);
  --card2: rgba(255, 255, 255, 0.10);
  --stroke: rgba(255, 255, 255, 0.14);
  --text: rgba(241, 246, 255, 0.92);
  --muted: rgba(241, 246, 255, 0.68);
  --accent: #2f4eb0;
  --accent2: #f0b429;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  --radius: 18px;
}

*{ box-sizing: border-box; }

html, body{
  height: 100%;
}

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 15% 10%, rgba(73, 116, 245, 0.22), transparent 55%),
              radial-gradient(900px 520px at 75% 15%, rgba(240,180,41,0.16), transparent 60%),
              var(--bg0);
  overflow-x: hidden;
}

a{ color: inherit; text-decoration: none; }

.page{
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.bg-banner{
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: #090b11;
}

.bg-layer{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.15) contrast(1.06) brightness(0.86);
  transform: translateZ(0);
}

.bg-layer::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,6,10,0.62) 0%, rgba(5,6,10,0.70) 45%, rgba(5,6,10,0.84) 100%),
    radial-gradient(900px 520px at 20% 0%, rgba(73,116,245,0.18), transparent 60%),
    radial-gradient(900px 520px at 80% 10%, rgba(240,180,41,0.12), transparent 58%);
}

.bg-layer.front{ opacity: 1; transition: opacity 600ms ease; }
.bg-layer.back{ opacity: 0; transition: opacity 600ms ease; }
.bg-layer.back.show{ opacity: 1; }

.topNav{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(6, 9, 20, 0.72);
  border-bottom: 1px solid rgba(240, 180, 41, 0.24);
}

.topNavInner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
}

.brandBanner{
  padding: 4px 6px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.brandLogo{
  display: block;
  height: 30px;
  width: auto;
  max-width: min(40vw, 210px);
}

.navLinks{
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navLinks a{
  font-weight: 600;
  color: rgba(241,246,255,0.86);
  padding: 7px 10px;
  border-radius: 12px;
  border: 1px solid rgba(88,130,255,0.34);
  background: rgba(88,130,255,0.10);
}

.navLinks a:hover{
  border-color: rgba(240,180,41,0.62);
  background: rgba(240,180,41,0.20);
  color: #fff8e8;
}

.navLinks a:active{
  border-color: rgba(240,180,41,0.76);
  background: rgba(240,180,41,0.30);
  color: #fff8e8;
}

.navLinks a:focus,
.navLinks a:focus-visible{
  outline: none;
  border-color: rgba(240,180,41,0.70);
  background: rgba(240,180,41,0.30);
  color: #fff8e8;
  box-shadow: 0 0 0 4px rgba(240,180,41,0.18);
}

.hero{
  padding: 74px 18px 36px;
}

.heroInner{
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}

.heroText{
  padding-top: 8px;
}

.heroH1{
  font-size: clamp(30px, 3.6vw, 48px);
  margin: 0 0 10px;
  letter-spacing: -0.6px;
}

.heroP{
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 18px;
  line-height: 1.6;
}

.heroCtas{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid rgba(88, 130, 255, 0.48);
  background: linear-gradient(180deg, rgba(88,130,255,0.34), rgba(88,130,255,0.15));
  color: rgba(241,246,255,0.95);
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(88,130,255,0.18);
}

.btn:hover{
  border-color: rgba(240,180,41,0.62);
  background: linear-gradient(180deg, rgba(240,180,41,0.34), rgba(240,180,41,0.16));
  color: #fff8e8;
}

.btn:active{
  border-color: rgba(240,180,41,0.76);
  background: linear-gradient(180deg, rgba(240,180,41,0.46), rgba(240,180,41,0.24));
  color: #fff8e8;
}

.btnGhost{
  border-color: rgba(88,130,255,0.44);
  background: rgba(88,130,255,0.14);
  box-shadow: 0 18px 34px rgba(88,130,255,0.12);
}

.btnGhost:hover{
  border-color: rgba(240,180,41,0.62);
  background: rgba(240,180,41,0.22);
  color: #fff8e8;
}

.btnGhost:active{
  border-color: rgba(240,180,41,0.76);
  background: rgba(240,180,41,0.32);
  color: #fff8e8;
}

.btn:focus,
.btn:focus-visible,
.btnGhost:focus,
.btnGhost:focus-visible{
  outline: none;
  border-color: rgba(240,180,41,0.70);
  background: linear-gradient(180deg, rgba(240,180,41,0.42), rgba(240,180,41,0.2));
  color: #fff8e7;
  box-shadow: 0 0 0 4px rgba(240,180,41,0.22), 0 18px 34px rgba(240,180,41,0.20);
}

.heroStats{
  display: grid;
  gap: 12px;
}

.statCard{
  padding: 14px 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 60px rgba(0,0,0,0.18);
}

.statValue{
  font-weight: 900;
  letter-spacing: 0.2px;
}

.statLabel{
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.section{
  padding: 56px 18px;
}

.sectionHeader{
  max-width: 1120px;
  margin: 0 auto 16px;
}

.sectionHeader h2{
  margin: 0 0 6px;
  font-size: 26px;
}

.sectionHeader p{
  margin: 0;
  color: var(--muted);
}

.sectionHeader + .card,
.sectionHeader + .servicesGrid{
  max-width: 1120px;
  margin: 0 auto;
}

.card{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.editableTextarea{
  width: 100%;
  resize: vertical;
  min-height: 160px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  padding: 14px 14px;
  color: var(--text);
  line-height: 1.6;
  outline: none;
}

.contentText{
  margin: 0;
  color: var(--text);
  line-height: 1.7;
  white-space: normal;
}

.editableTextarea:focus{
  border-color: rgba(240,180,41,0.55);
  box-shadow: 0 0 0 4px rgba(240,180,41,0.18);
}

.field{
  display: block;
}

.fieldLabel{
  font-weight: 700;
  margin-bottom: 8px;
  color: rgba(241,246,255,0.90);
}

.servicesGrid{
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.servicePill{
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(241,246,255,0.92);
  font-weight: 700;
}

.contactGrid{
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
}

.contactForm{
  display: block;
}

.formRow{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.input{
  width: 100%;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  padding: 12px 12px;
  color: var(--text);
  outline: none;
}

.input:focus{
  border-color: rgba(240,180,41,0.55);
  box-shadow: 0 0 0 4px rgba(240,180,41,0.18);
}

.textarea{
  min-height: 130px;
}

.formActions{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.formStatus{
  color: rgba(241,246,255,0.85);
  font-weight: 700;
}

.rightCol{
  display: grid;
  gap: 14px;
}

.cardTitle{
  font-weight: 900;
  margin-bottom: 10px;
}

.linksList{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.linkChip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(88,130,255,0.20);
  border: 1px solid rgba(88,130,255,0.44);
  font-weight: 800;
  color: rgba(241,246,255,0.90);
}

.linkChip:hover{
  border-color: rgba(240,180,41,0.62);
  background: rgba(240,180,41,0.24);
  color: #fff8e8;
}

.linkChip:active{
  border-color: rgba(240,180,41,0.76);
  background: rgba(240,180,41,0.34);
  color: #fff8e8;
}

.linkChip:focus,
.linkChip:focus-visible{
  outline: none;
  border-color: rgba(240,180,41,0.70);
  background: rgba(240,180,41,0.24);
  color: #fff7df;
  box-shadow: 0 0 0 4px rgba(240,180,41,0.20);
}

.mutedSmall{
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.contactInfoList{
  display: grid;
  gap: 10px;
}

.contactInfoRow{
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
}

.contactInfoKey{
  color: rgba(241,246,255,0.85);
  font-weight: 800;
}

.contactInfoVal{
  color: rgba(241,246,255,0.82);
}

.inlineLink{
  color: rgba(255, 213, 98, 0.98);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  font-weight: 700;
}

.inlineLink:hover{
  color: #ffe3a6;
}

.footer{
  padding: 28px 18px 42px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(5,6,10,0.45);
  backdrop-filter: blur(8px);
}

.footerInner{
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footerLinks{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footerLinks a{
  color: rgba(241,246,255,0.78);
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.footerLinks a:hover{
  border-color: rgba(240,180,41,0.35);
  background: rgba(240,180,41,0.12);
}

@media (max-width: 920px){
  .topNavInner{
    padding: 8px 12px;
    gap: 10px;
  }
  .brandLogo{
    height: 24px;
  }
  .navLinks{
    gap: 8px;
  }
  .navLinks a{
    padding: 6px 8px;
    font-size: 14px;
  }
  .heroInner{
    grid-template-columns: 1fr;
  }
  .contactGrid{
    grid-template-columns: 1fr;
  }
  .formRow{
    grid-template-columns: 1fr;
  }
  .contactInfoRow{
    grid-template-columns: 1fr;
  }
}
