:root {
  --bg: #0b0b0c;
  --bg-alt: #131315;
  --card: #1a1a1d;
  --line: #2a2a2e;
  --text: #f2f2f2;
  --muted: #a3a3a8;
  --accent: #ffd21c;
  --accent-dark: #e6bb00;
  --radius: 14px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Unbounded", "Inter", sans-serif;
  /* fallback when a photo in img/ is missing */
  --placeholder: linear-gradient(135deg, #222 0%, #111 60%, #2a2410 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; margin-top: 32px; }

h1, h2, h3 { line-height: 1.15; }
h1, h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(1.9rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.1rem; font-weight: 700; }

.eyebrow { color: var(--accent); font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-weight: 600; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #111; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { border: 1.5px solid var(--accent); color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #111; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.is-scrolled { background: rgba(11, 11, 12, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header__inner { display: flex; align-items: center; gap: 32px; height: 92px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__img { height: 76px; width: auto; }
.logo__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--accent); color: #111; font-family: var(--display); font-weight: 800; font-size: .8rem; }
.logo__text { font-family: var(--display); font-weight: 600; font-size: .95rem; line-height: 1.1; text-transform: uppercase; }
.logo__text small { display: block; font-family: var(--font); font-size: .65rem; color: var(--muted); letter-spacing: .1em; }
.nav { display: flex; gap: 28px; margin-left: auto; font-weight: 500; }
.nav a:hover { color: var(--accent); }
.nav__item--drop { position: relative; }
.nav__item--drop > a::after { content: " ▾"; font-size: .7em; }
.dropdown { position: absolute; top: calc(100% + 14px); left: -16px; min-width: 260px; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.dropdown::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.dropdown a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .92rem; }
.dropdown a:hover { background: #26262a; }
.nav__item--drop:hover .dropdown, .nav__item--drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.header__phone { font-weight: 700; color: var(--accent); white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; }
.burger span { height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 60px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: url(img/hero.jpg) center / cover, var(--placeholder); }
/* video sits under the gradient overlay; if the file is missing the poster/background photo shows */
.hero__video { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.hero__bg { isolation: isolate; }
.hero__bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,.9) 0%, rgba(11,11,12,.45) 55%, rgba(11,11,12,.1) 100%); }
.hero__bg::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, var(--bg)); }
.hero__content { position: relative; max-width: 1200px; }
.hero h1 { max-width: 900px; }
.hero__lead { max-width: 560px; margin: 24px 0 36px; font-size: 1.15rem; color: #d6d6d8; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 64px; }
.hero__stats strong { display: block; font-family: var(--display); font-size: 1.6rem; color: var(--accent); }
.hero__stats span { color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 680px; margin-bottom: 52px; }
.section__head p:not(.eyebrow) { color: var(--muted); margin-top: 14px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s; }
.service:hover { transform: translateY(-4px); border-color: var(--accent); }
.service__img { aspect-ratio: 4 / 3; background: var(--img) center / cover, var(--placeholder); }
.service__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.service__body p { color: var(--muted); font-size: .92rem; }
.service--cta { background: var(--accent); color: #111; border-color: var(--accent); justify-content: center; }
.service--cta p { color: #3a3200; }
.link-arrow { font-weight: 700; margin-top: 8px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__img { aspect-ratio: 4 / 3; border-radius: var(--radius); background: url(img/gallery-6.jpg) center / cover, var(--placeholder); }
.about__text > p:not(.eyebrow) { color: var(--muted); margin: 18px 0 24px; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #111; font-size: .75rem; font-weight: 800; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.steps span { font-family: var(--display); font-size: 2rem; color: var(--accent); }
.steps h3 { margin: 10px 0 6px; }
.steps p { color: var(--muted); font-size: .92rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery__item { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--img) center / cover, var(--placeholder); transition: transform .3s, filter .3s; }
.gallery__item:hover { transform: scale(1.02); filter: brightness(1.15); }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.92); }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; border-radius: 10px; }
.lightbox__close { position: absolute; top: 16px; right: 20px; font-size: 2.4rem; color: #fff; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.price-card--featured { border-color: var(--accent); }
.price-card ul { flex: 1; }
.price-card li { padding: 6px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.price { color: var(--muted); }
.price strong { font-family: var(--display); font-size: 1.8rem; color: var(--text); }
.badge { position: absolute; top: -12px; left: 32px; padding: 4px 12px; border-radius: 99px; background: var(--accent); color: #111; font-size: .75rem; font-weight: 700; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 40px 22px 0; font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; }
.contact__list { margin: 32px 0; display: grid; gap: 20px; }
.contact__label { display: block; color: var(--muted); font-size: .85rem; }
.contact__list a { font-size: 1.2rem; font-weight: 600; }
.contact__list a:hover { color: var(--accent); }
.map { width: 100%; height: 260px; border: 0; border-radius: var(--radius); filter: grayscale(1) invert(.9) contrast(.9); }
.form { display: grid; gap: 16px; padding: 36px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); align-self: start; }
.form h3 { font-size: 1.3rem; margin-bottom: 4px; }
.form label { display: grid; gap: 6px; font-size: .88rem; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; color: var(--text); font: inherit; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form__note { font-size: .8rem; color: var(--muted); }

/* Footer */
.footer { padding: 48px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer__nav, .footer__social { display: flex; gap: 22px; color: var(--muted); }
.footer__nav a:hover, .footer__social a:hover { color: var(--accent); }
.footer__copy { width: 100%; color: var(--muted); font-size: .85rem; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #111; font-weight: 800; font-size: 1.3rem; opacity: 0; pointer-events: none; transition: opacity .3s; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .header__phone { display: none; }
}
@media (max-width: 860px) {
  .burger { display: flex; margin-left: auto; }
  .nav { position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0; padding: 12px 16px 24px; background: var(--bg); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s; max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav.is-open { transform: none; }
  .nav > a, .nav__item > a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 0 0 8px 12px; background: none; min-width: 0; }
  .header.menu-open { background: var(--bg); }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .pricing { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .services, .steps { grid-template-columns: 1fr; }
  .logo__img { height: 54px; }
  .hero__stats { gap: 24px; }
  .form { padding: 24px; }
  .logo__text small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Subpages ===== */
.page-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; padding: 140px 0 80px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background: var(--img) center / cover, var(--placeholder); }
.page-hero__bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.6) 55%, rgba(11,11,12,.25) 100%); }
.page-hero__bg::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, var(--bg)); }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 900px; font-size: clamp(1.8rem, 4.4vw, 3.2rem); }
.page-hero .hero__lead { max-width: 640px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: .85rem; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { opacity: .5; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards .service__img { aspect-ratio: 16 / 11; }
.price-tag { align-self: flex-start; margin-top: 8px; padding: 6px 14px; border-radius: 99px; background: rgba(255, 210, 28, .12); color: var(--accent); font-weight: 700; font-size: .9rem; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.feature__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; background: var(--accent); color: #111; font-weight: 800; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .92rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__img { aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--img) center / cover, var(--placeholder); }

.steps--img li { padding: 0; overflow: hidden; background: var(--card); }
.steps--img .steps__img { aspect-ratio: 4 / 3; background: var(--img) center / cover, var(--placeholder); }
.steps--img .steps__body { padding: 22px; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }

.cta-band { padding: 72px 0; background: var(--accent); color: #111; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { max-width: 720px; font-size: clamp(1.3rem, 2.6vw, 2rem); }
.cta-band p { max-width: 640px; margin-top: 12px; color: #3a3200; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--dark { background: #111; color: var(--accent); }
.btn--dark:hover { background: #000; }
.btn--outline-dark { border: 1.5px solid #111; color: #111; }
.btn--outline-dark:hover { background: #111; color: var(--accent); }

.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.related a { display: flex; align-items: flex-end; min-height: 150px; padding: 18px; border-radius: var(--radius); background: linear-gradient(transparent 30%, rgba(0,0,0,.85)), var(--img) center / cover, var(--placeholder); font-weight: 700; border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.related a:hover { transform: translateY(-3px); border-color: var(--accent); }

.service--link { color: inherit; }
.service--link .link-arrow { color: var(--accent); font-size: .9rem; }

@media (max-width: 1080px) {
  .cards--4, .features, .related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .steps--3 { grid-template-columns: 1fr; }
  .page-hero { min-height: 70vh; padding-bottom: 56px; }
}
@media (max-width: 560px) {
  .cards--4, .features, .related { grid-template-columns: 1fr; }
}

.pricing--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .pricing--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .pricing--4 { grid-template-columns: 1fr; } }

/* Photos as real <img> (indexable, with alt) */
img.service__img, img.steps__img, img.split__img, img.about__img { display: block; width: 100%; height: auto; object-fit: cover; background: var(--placeholder); }
.gallery__item { overflow: hidden; padding: 0; }
.gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.footer__nap { width: 100%; color: var(--muted); font-size: .85rem; }
.footer__nap a:hover { color: var(--accent); }

/* Mobile header is shorter than desktop */
@media (max-width: 860px) {
  .header__inner { height: 76px; }
  .logo__img { height: 60px; }
}
@media (max-width: 560px) {
  .logo__img { height: 54px; }
}
