:root {
  /* palette sampled from the hero banner */
  --navy: #020F1F;
  --midnight: #08192C;
  --steel: #1D3A52;
  --blue: #2474D6;
  --sunset: #D9AE80;
  --silver: #C9CDD3;
  --white: #FFFFFF;
  --text: #D6DDE6;
  --muted: #8693A5;
  --line: rgba(201, 205, 211, 0.16);
  --glow: 0 0 0 1px rgba(36, 116, 214, 0.55), 0 8px 32px rgba(36, 116, 214, 0.25);
  --head: "Manrope", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; color: var(--white); letter-spacing: 0.01em; line-height: 1.25; margin: 0; }
p { margin: 0; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(2, 15, 31, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { border-radius: 8px; }
/* wordmark: wide geometric face echoing "SERVICE" in the logo */
.brand-text { display: flex; flex-direction: column; align-items: center; line-height: 1; white-space: nowrap; font-family: "Michroma", var(--head); }
.bt-name { font-size: 12px; letter-spacing: 0.14em; color: var(--white); }
.bt-legal { font-size: 8px; letter-spacing: 0.6em; margin-right: -0.6em; color: var(--silver); margin-top: 6px; opacity: .85; }
/* the logo image already carries the name; free up room for the switcher on phones */
@media (max-width: 459px) { .site-header .brand-text { display: none; } }
.header-inner > * { min-width: 0; }

.nav { display: none; gap: 28px; }
.nav a { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver); transition: color .2s; }
.nav a:hover { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang button {
  background: none; border: 0; color: var(--muted); cursor: pointer;
  font: 500 12px/1 var(--body); letter-spacing: 0.08em;
  padding: 7px 10px; border-radius: 999px; transition: color .2s, background .2s;
}
.lang button[aria-pressed="true"] { background: var(--blue); color: var(--white); }
.lang button:hover { color: var(--white); }

.burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; height: 1.5px; background: var(--silver); transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--navy); border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
  }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.open a:last-child { border-bottom: 0; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .burger { display: none; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .nav { gap: 18px; }
  .nav a { font-size: 12px; letter-spacing: 0.08em; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font: 600 14px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; border: 1px solid transparent;
  transition: box-shadow .25s, background .25s, border-color .25s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { box-shadow: var(--glow); }
.btn-ghost { border-color: var(--silver); color: var(--white); background: rgba(2, 15, 31, 0.35); }
.btn-ghost:hover { border-color: var(--blue); box-shadow: var(--glow); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--header-h) 0 72px;
  background: var(--navy);
}
/* full-width banner; its dark bottom (reflection) fades into the page */
.hero-media { position: relative; height: 62vw; overflow: hidden; }
@media (min-width: 900px) { .hero-media { height: 40vw; max-height: 82svh; } }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  /* on narrow screens keep the YT monogram in frame */
  object-position: 40% 50%;
}
@media (min-width: 900px) { .hero-media img { object-position: 50% 50%; } }
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2,15,31,0.55) 0%, rgba(2,15,31,0) 18%),
    linear-gradient(180deg, rgba(2,15,31,0) 62%, rgba(2,15,31,0.75) 85%, var(--navy) 100%);
}
.hero-content { position: relative; max-width: 980px; text-align: center; margin-top: 8px; }
@media (min-width: 900px) { .hero-content { margin-top: -12px; } }
.hero-sub { margin-left: auto; margin-right: auto; }
.hero-cta { justify-content: center; }
.hero h1 { font-size: clamp(28px, 5.4vw, 48px); font-weight: 600; letter-spacing: -0.005em; margin-bottom: 16px; }
.hero-sub { color: var(--text); font-size: clamp(16px, 2.2vw, 19px); margin-bottom: 32px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .hero-cta .btn { flex: 1 1 100%; } }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--midnight); }
@media (min-width: 768px) { .section { padding: 110px 0; } }
.section-head { margin-bottom: 44px; }
.section-head h2 { font-size: clamp(20px, 3vw, 26px); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; }
.divider { width: 72px; height: 1px; margin-top: 18px; background: linear-gradient(90deg, var(--silver), transparent); }

.icon { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Services */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: linear-gradient(180deg, rgba(13,34,56,0.9), rgba(8,25,44,0.6));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow .3s, border-color .3s;
}
.card:hover { border-color: transparent; box-shadow: var(--glow); }
.card h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin: 18px 0 14px; }
.card ul { list-style: none; margin: 0; padding: 0; }
.card li { position: relative; padding-left: 18px; color: var(--text); font-size: 15px; margin-bottom: 6px; }
.card li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--silver); }

/* Qualifications */
.quals-list { display: grid; gap: 16px; }
@media (min-width: 768px) { .quals-list { grid-template-columns: 1fr 1fr; } }
.qual { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.qual .icon { flex: none; }
.qual p { font-size: 17px; color: var(--white); }

/* Why */
.why { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why { grid-template-columns: repeat(4, 1fr); } }
.why-item { background: var(--navy); padding: 30px 24px; transition: background .3s; }
.why-item:hover { background: var(--midnight); }
.num { display: block; font-family: var(--head); color: var(--sunset); font-size: 13px; letter-spacing: 0.2em; margin-bottom: 14px; }
.why-item p { color: var(--white); font-size: 17px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.steps li { display: flex; align-items: center; gap: 16px; position: relative; }
@media (min-width: 768px) {
  .steps li { flex-direction: column; text-align: center; gap: 14px; }
  .steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 24px; left: calc(50% + 34px); right: calc(-50% + 34px);
    height: 1px; background: linear-gradient(90deg, var(--silver), rgba(201,205,211,0.2));
  }
}
.steps span {
  flex: none; width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--silver); border-radius: 50%;
  font-family: var(--head); color: var(--white); font-size: 15px;
}
.steps p { color: var(--white); font-size: 16px; letter-spacing: 0.04em; }

/* Gallery */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.g-item { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); transition: box-shadow .3s; }
.g-item:hover { box-shadow: var(--glow); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g-item:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(2, 8, 18, 0.94); display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { width: auto; height: auto; max-width: min(1200px, calc(100vw - 112px)); max-height: calc(100vh - 112px); max-height: calc(100dvh - 112px); object-fit: contain; border-radius: 6px; }
@media (max-width: 599px) { .lightbox img { max-width: calc(100vw - 32px); } }
.lightbox button { position: absolute; background: none; border: 0; color: var(--silver); cursor: pointer; font: 300 44px/1 var(--body); padding: 8px 14px; transition: color .2s; }
.lightbox button:hover { color: var(--white); }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* Contact */
.contact { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.2fr; gap: 64px; } }
.contact-lead { margin: -16px 0 28px; color: var(--text); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 18px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.contact-list .label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--white); font-size: 17px; word-break: break-word; }
.contact-list a:hover { color: var(--blue); }
.contact-list .quick a { font-size: 14px; color: var(--silver); }

.form { display: grid; gap: 14px; grid-template-columns: 1fr; align-content: start; }
@media (min-width: 560px) { .form { grid-template-columns: 1fr 1fr; } }
.form .full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }
.form input, .form select, .form textarea {
  width: 100%; font: 400 16px/1.4 var(--body); color: var(--white);
  background: rgba(2, 15, 31, 0.7); border: 1px solid var(--line); border-radius: 8px;
  padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--silver) 50%), linear-gradient(135deg, var(--silver) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.form select option { background: var(--midnight); }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,116,214,0.22); }
.form .btn { margin-top: 6px; }
.form-status { grid-column: 1 / -1; font-size: 14px; min-height: 1.4em; }
.form-status.ok { color: #6FD08C; }
.form-status.err { color: #F08A8A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 96px; }
@media (min-width: 768px) { .site-footer { padding-bottom: 40px; } }
.footer-inner { display: flex; flex-direction: column; gap: 14px; }
.footer-meta, .footer-copy { font-size: 13px; color: var(--muted); }
.footer-meta a:hover { color: var(--white); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  transition: box-shadow .25s;
}
.wa-float:hover { box-shadow: var(--glow); }
.wa-float svg { width: 28px; height: 28px; fill: var(--white); }

/* Fade-in */
.fade { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.fade.in { opacity: 1; transform: none; }
.no-js .fade { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade { opacity: 1; transform: none; transition: none; }
}

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
