:root {
  --bg-dark: #0a1020;
  --bg-panel: #111a2e;
  --blue: #0066ff;
  --blue-soft: rgba(0, 102, 255, 0.14);
  --blue-glow: rgba(0, 102, 255, 0.55);
  --gold: #ffc400;
  --gold-soft: rgba(255, 196, 0, 0.12);
  --gold-glow: rgba(255, 196, 0, 0.45);
  --text: #f5f7fa;
  --text-muted: #9aa8c7;
  --border: rgba(0, 102, 255, 0.32);
  --font-heading: "Rajdhani", sans-serif;
  --font-body: "Montserrat", sans-serif;
  --header-h: 80px;
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --container: min(1240px, 100% - 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.12;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ── Background circuit pattern ── */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: var(--bg-dark);
}

.page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(0, 102, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 255, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 10% 0%, rgba(0, 102, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 35% at 90% 5%, rgba(255, 196, 0, 0.06), transparent 50%);
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(10, 16, 32, 0.95) 0%, rgba(10, 16, 32, 0.6) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: rgba(10, 16, 32, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.4);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.logo img {
  height: 62px;
  width: auto;
  max-width: min(280px, 42vw);
  object-fit: contain;
  background: transparent;
}

.site-nav {
  justify-self: center;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.site-nav__link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
  opacity: 0.85;
  transition: opacity var(--transition), color var(--transition);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.site-nav__link:hover,
.site-nav__link.is-active {
  opacity: 1;
}

.site-nav__link.is-active::after {
  width: 100%;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: end;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(17, 26, 46, 0.9);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.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;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }

.btn--blue-outline {
  color: var(--blue);
  border-color: var(--blue);
  background: rgba(0, 102, 255, 0.06);
  box-shadow: 0 0 16px rgba(0, 102, 255, 0.15);
}

.btn--blue-outline:hover {
  background: rgba(0, 102, 255, 0.14);
  box-shadow: 0 0 28px var(--blue-glow);
}

.btn--gold-solid {
  color: #0a1020;
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(255, 196, 0, 0.2);
}

.btn--gold-solid:hover {
  background: #ffe033;
  box-shadow: 0 0 28px var(--gold-glow);
}

.btn--gold-outline {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(255, 196, 0, 0.05);
}

.btn--gold-outline:hover {
  background: rgba(255, 196, 0, 0.12);
  box-shadow: 0 0 28px var(--gold-glow);
}

.btn--nav { padding: 0.5rem 1rem; }

.btn__arrow { transition: transform var(--transition); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 88vh;
  min-height: 88dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
  overflow: hidden;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__house {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  filter: brightness(0.55) saturate(0.85);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 16, 32, 0.97) 0%, rgba(10, 16, 32, 0.82) 38%, rgba(10, 16, 32, 0.35) 62%, rgba(10, 16, 32, 0.15) 100%),
    linear-gradient(180deg, rgba(10, 16, 32, 0.4) 0%, transparent 30%, rgba(10, 16, 32, 0.5) 100%);
}

.hero__network {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.85;
}

.hero__network svg {
  width: 100%;
  height: 100%;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.hero__eyebrow {
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  margin-bottom: 1.25rem;
  text-shadow: 0 0 40px rgba(0, 102, 255, 0.25);
}

.hero__title span { color: var(--gold); }

.hero__desc {
  color: rgba(245, 247, 250, 0.82);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.hero__badge-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-soft);
  border: 1px solid rgba(0, 102, 255, 0.35);
  color: var(--blue);
  box-shadow: 0 0 14px rgba(0, 102, 255, 0.25);
  flex-shrink: 0;
}

.hero__badge-icon--gold {
  background: var(--gold-soft);
  border-color: rgba(255, 196, 0, 0.35);
  color: var(--gold);
  box-shadow: 0 0 14px rgba(255, 196, 0, 0.2);
}

/* ── Choice tiles ── */
.choice {
  padding: 3.5rem 0 4.5rem;
  position: relative;
  z-index: 1;
}

.choice__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.choice-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.choice-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--tile-accent) 0%, transparent 55%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.choice-tile--shop { --tile-accent: var(--blue); box-shadow: 0 0 30px rgba(0, 102, 255, 0.12); }
.choice-tile--services { --tile-accent: var(--gold); box-shadow: 0 0 30px rgba(255, 196, 0, 0.1); }

.choice-tile__bg {
  position: absolute;
  inset: 0;
  background: #0d1528;
  z-index: 0;
}

.choice-tile__bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}

.choice-tile__bg-img--shop {
  background-image: url("../images/tile-shop.jpg");
}

.choice-tile__bg-img--services {
  background-image: url("../images/tile-services.jpg");
}

.choice-tile__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(10, 16, 32, 0.92) 0%, rgba(10, 16, 32, 0.65) 100%);
}

.choice-tile:hover { transform: translateY(-5px) scale(1.01); }
.choice-tile--shop:hover { box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 48px var(--blue-glow); }
.choice-tile--services:hover { box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 48px var(--gold-glow); }

.choice-tile__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2rem 2rem 2.25rem;
}

.choice-tile__icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  border: 2px solid currentColor;
  background: rgba(0, 0, 0, 0.3);
}

.choice-tile--shop .choice-tile__icon {
  color: var(--blue);
  box-shadow: 0 0 28px var(--blue-glow), inset 0 0 20px rgba(0, 102, 255, 0.1);
}

.choice-tile--services .choice-tile__icon {
  color: var(--gold);
  box-shadow: 0 0 28px var(--gold-glow), inset 0 0 20px rgba(255, 196, 0, 0.08);
}

.choice-tile__icon svg { width: 32px; height: 32px; }

.choice-tile__title {
  font-size: 1.85rem;
  margin-bottom: 0.65rem;
}

.choice-tile--shop .choice-tile__title { color: var(--blue); }
.choice-tile--services .choice-tile__title { color: var(--gold); }

.choice-tile__desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  flex: 1;
  margin-bottom: 1.5rem;
  max-width: 340px;
  line-height: 1.65;
}

.choice-tile__btn { align-self: flex-start; padding: 0.6rem 1.2rem; }

/* ── Section headings ── */
.section-head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-title__accent {
  display: block;
  width: 52px;
  height: 3px;
  background: var(--gold);
  margin: 0.85rem auto 0;
  border-radius: 2px;
  box-shadow: 0 0 12px var(--gold-glow);
}

/* ── Services ── */
.services {
  padding: 4rem 0 4.5rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card {
  background: linear-gradient(180deg, rgba(17, 26, 46, 0.95) 0%, rgba(13, 21, 40, 0.98) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.25rem 1.75rem;
  text-align: center;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.06);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 255, 0.6);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 32px rgba(0, 102, 255, 0.15);
}

.service-card__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-soft);
  border: 1px solid rgba(0, 102, 255, 0.4);
  color: var(--blue);
  filter: drop-shadow(0 0 14px var(--blue-glow));
  flex-shrink: 0;
}

.service-card__icon svg { width: 28px; height: 28px; }

.service-card__title {
  font-size: 0.88rem;
  margin-bottom: 0.65rem;
  color: var(--text);
}

.service-card__text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Trust ── */
.trust {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, transparent, rgba(17, 26, 46, 0.35) 40%, transparent);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  text-align: center;
  padding: 0 0.5rem;
}

.trust-item__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid rgba(255, 196, 0, 0.35);
  color: var(--gold);
  filter: drop-shadow(0 0 12px var(--gold-glow));
}

.trust-item__icon svg { width: 26px; height: 26px; }

.trust-item__title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.trust-item__text {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ── Footer ── */
.site-footer {
  background: #050a14;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.75rem 0 2rem;
}

.site-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__logo img {
  height: 54px;
  max-width: 220px;
  object-fit: contain;
  background: transparent;
}

.site-footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
}

.contact-item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.contact-item__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.25);
  color: var(--blue);
}

.contact-item__icon svg { width: 18px; height: 18px; }

.contact-item__label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.15rem;
}

.contact-item__value {
  font-size: 0.88rem;
  color: var(--text);
}

.contact-item__value a:hover { color: var(--blue); }

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 1.75rem;
}

.site-footer__social {
  display: flex;
  gap: 0.65rem;
}

.site-footer__social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.site-footer__social a:hover {
  color: var(--gold);
  border-color: rgba(255, 196, 0, 0.35);
  background: var(--gold-soft);
}

.site-footer__social svg { width: 18px; height: 18px; }

.site-footer__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
}

/* ── Mobile menu overlay ── */
.mobile-menu {
  display: none;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .hero__house { object-position: 75% center; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 2rem;
    background: rgba(10, 16, 32, 0.98);
    backdrop-filter: blur(16px);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 199;
  }

  .site-header.is-menu-open .site-nav {
    transform: translateX(0);
  }

  .site-nav__links {
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.5rem;
  }

  .site-nav__link {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 1rem;
  }

  .site-header__actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem 1.5rem 1.5rem;
    flex-direction: column;
    gap: 0.65rem;
    background: rgba(10, 16, 32, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 199;
  }

  .site-header.is-menu-open .site-header__actions {
    transform: translateX(0);
  }

  .site-header__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem;
  }

  .nav-toggle { display: flex; }

  .hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero__house { object-position: center; opacity: 0.7; }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(10, 16, 32, 0.95) 0%, rgba(10, 16, 32, 0.88) 60%, rgba(10, 16, 32, 0.75) 100%);
  }

  .hero__network { opacity: 0.5; }

  .choice__grid { grid-template-columns: 1fr; }

  .services__grid,
  .trust__grid { grid-template-columns: 1fr; }

  .site-footer__top { flex-direction: column; }
  .site-footer__contact { flex-direction: column; gap: 1.25rem; }
}

@media (max-width: 480px) {
  :root { --container: min(1240px, 100% - 1.5rem); }
  .hero__badges { flex-direction: column; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
