:root {
  --top: #212331;
  --footer: #181828;
  --accent: #00bcd4;
  --btn: #b6c6c9;
  --btn-ink: #212331;
  --menu: #99a9b5;
  --menu-active: #ffffff;
  --ink: #242332;
  --muted: #99a9b5;
  --border-dark: #455262;
  --welcome-bg: #f0f4f6;
  --white: #ffffff;
  --max: 1140px;
  /* System stacks approximating Montserrat (display) + Source Sans Pro (body).
     No Google Fonts. Release only had Montserrat Ultralight — unsuitable for UI weights. */
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  margin: 0 0 .5em;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
}
p { margin: 0 0 1em; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* ===== Top bar ===== */
.top-bar {
  background: var(--top);
  color: var(--menu);
  font-size: .82rem;
  font-family: var(--font-display);
}
.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem 1.5rem;
  min-height: 40px;
  padding: .35rem 0;
}
.top-bar a { color: var(--menu); text-decoration: none; }
.top-bar a:hover { color: var(--white); text-decoration: none; }
.top-contacts { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.btn-top {
  display: inline-flex;
  align-items: center;
  padding: .4rem .9rem;
  background: var(--btn);
  color: var(--btn-ink) !important;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.btn-top:hover { filter: brightness(1.05); text-decoration: none !important; }

/* ===== Header / nav ===== */
.site-header {
  background: var(--top);
  position: sticky;
  top: 0;
  z-index: 60;
  transition: background .25s ease;
}
body.is-home .site-header {
  position: absolute;
  left: 0; right: 0; top: 40px;
  background: transparent;
}
body.is-home .site-header.is-solid {
  position: sticky;
  top: 0;
  background: var(--top);
}
body.is-home .top-bar { position: relative; z-index: 61; }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
  padding: .55rem 0;
}
.logo img { height: 48px; width: auto; max-width: 180px; object-fit: contain; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--white); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.site-nav > ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .05rem;
}
.site-nav > ul > li > a,
.site-nav .nav-sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .65rem .7rem;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--menu);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.site-nav > ul > li > a:hover,
.site-nav .nav-sub-toggle:hover,
.site-nav > ul > li.is-active > a {
  color: var(--menu-active);
  text-decoration: none;
}
.has-sub { position: relative; display: inline-flex; align-items: center; }
.nav-sub-toggle::after {
  content: "";
  width: .32rem; height: .32rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .8;
}
.subnav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--top);
  border: 1px solid rgba(255,255,255,.08);
  padding: .4rem 0;
  z-index: 70;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}
.has-sub.open > .subnav { display: block; }
.subnav a {
  display: block;
  padding: .55rem 1rem;
  color: var(--menu);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
}
.subnav a:hover { color: var(--white); background: rgba(255,255,255,.05); text-decoration: none; }
.subnav .has-sub { display: block; }
.subnav .subnav {
  top: 0;
  left: 100%;
  min-width: 180px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: #0a0c12;
  color: var(--white);
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33,35,49,.35) 0%, rgba(24,24,40,.45) 100%);
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.25rem 3rem;
  z-index: 2;
}
.hero-copy .eyebrow {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 .6rem;
  color: var(--white);
}
.hero-copy h1,
.hero-copy .hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin: 0;
  max-width: 16ch;
  line-height: 1.2;
}
.hero-dots {
  position: absolute;
  left: 0; right: 0; bottom: 1.5rem;
  display: flex;
  justify-content: center;
  gap: .5rem;
  z-index: 3;
}
.hero-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.hero-dots button.is-active { background: var(--white); }

/* ===== Home sections ===== */
.welcome {
  background: var(--welcome-bg);
  padding: 5.5rem 0 3.5rem;
  text-align: center;
}
.welcome h2 {
  font-size: .95rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .15rem;
}
.welcome h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-transform: lowercase;
  letter-spacing: .02em;
  margin-bottom: 1.75rem;
}
.welcome-art {
  max-width: 720px;
  margin: 0 auto;
}
.welcome-art img { margin: 0 auto; }

.services-band {
  position: relative;
  background: #0d1218 center/cover no-repeat;
  color: var(--white);
  padding: 3.5rem 0 0;
}
.services-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 38, .72);
}
.services-band .container { position: relative; z-index: 1; }
.services-intro {
  text-align: center;
  max-width: 420px;
  margin: 0 auto 1.5rem;
  padding: 1.25rem 1rem 1.5rem;
  border: 1px solid var(--border-dark);
}
.services-intro .badge {
  width: 130px;
  margin: 0 auto .85rem;
}
.services-intro h2 {
  color: var(--white);
  font-size: 1.05rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 .35rem;
}
.services-intro p {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-dark);
}
.service-card {
  text-align: center;
  padding: 2rem 1rem 2.25rem;
  border: 1px solid var(--border-dark);
  border-top: 0;
}
.service-card + .service-card { border-left: 0; }
.service-card img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  margin: 0 auto 1.1rem;
}
.service-card h3 {
  color: var(--white);
  font-size: .92rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 .55rem;
}
.service-card p {
  color: var(--muted);
  margin: 0;
  font-size: .95rem;
}

.consult-band {
  position: relative;
  background: #dfe6ea center/cover no-repeat;
  padding: 4.5rem 0 3.5rem;
}
.consult-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(240, 244, 246, .78);
}
.consult-band .container { position: relative; z-index: 1; }
.consult-band .intro { text-align: center; margin-bottom: 1.5rem; }
.consult-band h2 {
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: .2rem;
}
.consult-band h3 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0;
}

/* ===== Forms ===== */
.form-ui {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem 1rem;
}
.form-ui .form-group { display: flex; flex-direction: column; gap: .3rem; }
.form-ui .form-group.full { grid-column: 1 / -1; }
.form-ui label {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}
.form-ui input,
.form-ui textarea {
  width: 100%;
  border: 1px solid #c5cfd4;
  background: var(--white);
  padding: .7rem .85rem;
  font: inherit;
  color: var(--ink);
}
.form-ui textarea { min-height: 120px; resize: vertical; }
.form-ui .form-group.is-invalid input,
.form-ui .form-group.is-invalid textarea { border-color: #c0392b; }
.form-ui button[type="submit"] {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 180px;
  border: 0;
  background: var(--btn);
  color: var(--btn-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .85rem 1.6rem;
  cursor: pointer;
}
.form-ui button[type="submit"]:hover { filter: brightness(1.05); }
.form-status {
  grid-column: 1 / -1;
  display: none;
  margin: 0;
  padding: .85rem 1rem;
  background: #fff8e8;
  color: #7a4a00;
  border: 1px solid #f0d9a8;
  font-size: .95rem;
}
.form-status.is-visible { display: block; }

/* ===== Page title / content ===== */
.page-hero {
  background: #01080a center/cover no-repeat;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1,8,10,.35), rgba(1,8,10,.7));
}
.page-hero .container {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 2rem;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0;
}
.page-main { padding: 3rem 0 4rem; }
.page-main .lead { font-size: 1.05rem; max-width: 70ch; }
.page-main .content-block { max-width: 75ch; }
.page-main .content-block ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
}
.page-main .content-block li { margin-bottom: .4rem; }
.page-main .content-block h2,
.page-main .content-block h3 { margin-top: 1.5rem; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .75rem;
  margin: 1.75rem 0 0;
}
.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #eef2f4;
}
.media-figure { margin: 1.5rem 0; }
.media-figure img { margin: 0 auto; max-height: 720px; width: auto; }

.youtube-embed {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 1.5rem 0;
  aspect-ratio: 16 / 9;
  background: #000;
}
.youtube-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.radios-hero-bg {
  background: #111 center/cover no-repeat;
  padding: 2.5rem 0;
  color: var(--ink);
}
.radios-apps {
  background: #1a2030 center/cover no-repeat;
  color: var(--white);
  padding: 3rem 0;
  margin: 2rem 0 0;
}
.radios-apps h2 { color: var(--white); text-align: center; text-transform: uppercase; letter-spacing: .08em; }
.radios-apps ul {
  max-width: 420px;
  margin: 1.25rem 0 0 auto;
  text-align: right;
}
.radios-apps li {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: .45rem;
  color: var(--white);
}
.radios-phone {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}
.radios-phone img { width: 50px; height: 50px; object-fit: contain; }

/* ===== Footer ===== */
.site-footer {
  background: var(--footer);
  color: var(--muted);
  padding: 1.35rem 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: .85rem;
}
.site-footer p { margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3) { border-left: 1px solid var(--border-dark); }
  .site-nav > ul > li > a,
  .site-nav .nav-sub-toggle { padding: .55rem .45rem; font-size: .7rem; }
}

@media (max-width: 768px) {
  body.is-home .site-header {
    position: sticky;
    top: 0;
    background: var(--top);
  }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--top);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: .5rem 1rem 1rem;
    max-height: calc(100vh - 120px);
    overflow: auto;
  }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; }
  .site-nav > ul > li > a,
  .site-nav .nav-sub-toggle { width: 100%; justify-content: space-between; }
  .has-sub { flex-wrap: wrap; width: 100%; }
  .subnav, .subnav .subnav {
    position: static;
    width: 100%;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding-left: .75rem;
  }
  .hero { min-height: 70vh; }
  .welcome { padding-top: 3.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card + .service-card { border-left: 1px solid var(--border-dark); }
  .form-ui { grid-template-columns: 1fr; }
  .top-bar-inner { justify-content: center; }
  .gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 375px) {
  .gallery { grid-template-columns: 1fr; }
  .logo img { height: 40px; }
  .hero-copy .eyebrow { letter-spacing: .12em; }
}
