:root {
  --ink: #07090f;
  --ink-2: #1c2230;
  --concrete: #0b0f1a;
  --paper: #f2f4f8;
  --rust: #2453f0;
  --rust-dark: #1636b8;
  --glow: #4f8cff;
  --chrome: linear-gradient(180deg, #ffffff 0%, #c9ced8 45%, #8a93a3 55%, #e4e8ef 100%);
  --steel: #6b7384;
  --line: #d3d8e2;
  --display: "Archivo Black", Impact, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
h2 { font-family: var(--display); font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.01em; text-transform: uppercase; }
h3 { font-family: var(--cond); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.hidden { position: absolute; left: -9999px; }

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  display: flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--rust);
  border: 2px solid var(--rust);
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--rust-dark); border-color: var(--rust-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.hero .btn--ghost { color: #fff; border-color: #fff; }
.hero .btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--small { padding: 0.5rem 1rem; font-size: 1rem; }
.btn--dark { background: var(--ink); border-color: var(--ink); }
.btn--dark:hover { background: #000; border-color: #000; }

/* Top bar + header */
.topbar { background: var(--rust-dark); color: #dfe6ff; font-family: var(--cond); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }

.header { position: sticky; top: 0; z-index: 20; background: rgba(7,9,15,.95); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(79,140,255,.35); color: #fff; }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 0.4rem 0; }
.brand__logo { width: 72px; height: auto; border-radius: 50%; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand__mark {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  font-family: var(--display); font-size: 1.1rem; color: #fff;
  background: var(--rust);
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}
.brand__text { font-family: var(--cond); font-size: 1rem; line-height: 0.95; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }
.brand__text b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; letter-spacing: 0.01em; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { font-family: var(--cond); font-weight: 600; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; }
.nav a:not(.btn):hover { color: var(--glow); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(ellipse at 75% 40%, rgba(36,83,240,.35), transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.04) 79px 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(255,255,255,.04) 79px 80px),
    var(--concrete);
  color: #fff;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-family: var(--display); font-size: clamp(2.6rem, 6.4vw, 5rem); text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.95; }
.hero h1 { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 span { display: block; background: linear-gradient(180deg, #7fb0ff, #2453f0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .eyebrow { color: var(--glow); }
.hero__lead { max-width: 34rem; margin: 1.5rem 0 2rem; font-size: 1.2rem; color: #c3cad8; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.badges { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0; border-top: 2px solid var(--rust); }
.badges li { flex: 1 1 0; min-width: 130px; padding: 0.9rem 1rem 0 0; font-family: var(--cond); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; color: #9aa3b5; }
.badges strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: #fff; letter-spacing: 0; }

.hero__photos { position: relative; height: clamp(420px, 48vw, 560px); }
.hp { position: absolute; width: 52%; aspect-ratio: 3/4; object-fit: cover; border: 6px solid #fff; box-shadow: 0 18px 40px rgba(0,0,0,.6); }
.hp--1 { left: 0; top: 4%; transform: rotate(-4deg); z-index: 2; }
.hp--2 { right: 0; top: 0; transform: rotate(3deg); z-index: 1; }
.hp--3 { left: 10%; bottom: -4%; width: 40%; transform: rotate(1deg); z-index: 3; }
.hero__logo {
  position: absolute; z-index: 5; right: 22%; bottom: -2%;
  width: 46%; max-width: 230px; border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(79,140,255,.6), 0 0 50px rgba(36,83,240,.55);
}

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section__head { margin-bottom: 2.75rem; }
.section--dark { background: radial-gradient(ellipse at 20% 50%, rgba(36,83,240,.22), transparent 60%), var(--ink); color: #dfe3ea; }
.section--dark h2 { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--dark .eyebrow { color: var(--glow); }
.section--rust { background: linear-gradient(135deg, #1636b8, #2453f0 60%, #3a6dff); color: #fff; }
.section--rust .eyebrow { color: #cfe0ff; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-left: 1px solid var(--line); }
.service { padding: 2rem 1.75rem 2.25rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: background .25s; }
.service:hover { background: #fff; }
.service__num { display: block; margin-bottom: 1.25rem; font-family: var(--display); font-size: 1rem; color: var(--rust); }
.service p { margin: 0.6rem 0 0; color: var(--ink-2); }

/* About */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__photo { position: relative; }
.about__photo::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--rust); z-index: 0; }
.about__photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about__lead { font-size: 1.3rem; color: #fff; margin: 1.25rem 0 1rem; }
.checks { list-style: none; padding: 0; margin: 1.75rem 0 2rem; }
.checks li { position: relative; padding: 0.55rem 0 0.55rem 2rem; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.95rem; width: 14px; height: 8px; border-left: 3px solid var(--glow); border-bottom: 3px solid var(--glow); transform: rotate(-45deg); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter {
  padding: 0.5rem 1rem; cursor: pointer;
  font-family: var(--cond); font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em;
  background: transparent; color: var(--ink); border: 2px solid var(--line); border-radius: 2px;
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery li[hidden] { display: none; }
.gallery button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--ink); cursor: zoom-in; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .4s ease, opacity .3s; }
.gallery span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 0.9rem 0.8rem; text-align: left;
  font-family: var(--cond); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.04em; color: #fff;
  background: linear-gradient(transparent, rgba(21,24,27,.85));
}
.gallery button:hover img, .gallery button:focus-visible img { transform: scale(1.05); opacity: .9; }
.gallery button:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10,12,14,.92); }
.lightbox figure { margin: 0; }
.lightbox img { max-height: 82vh; max-width: 88vw; width: auto; border: 5px solid #fff; }
.lightbox figcaption { margin-top: 0.75rem; text-align: center; font-family: var(--cond); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; }
.lightbox__close, .lightbox__nav { position: fixed; border: 0; background: none; color: #fff; cursor: pointer; font-size: 3rem; line-height: 1; padding: 0.5rem 1rem; }
.lightbox__close { top: 0.5rem; right: 0.5rem; }
.lightbox__prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox button:hover { color: var(--glow); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__info > p { font-size: 1.15rem; max-width: 30rem; }
.contact__list { margin: 2rem 0 0; }
.contact__list div { padding: 0.85rem 0; border-top: 1px solid rgba(255,255,255,.3); }
.contact__list dt { font-family: var(--cond); font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: .8; }
.contact__list dd { margin: 0.1rem 0 0; font-size: 1.25rem; font-weight: 600; word-break: break-word; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }

.form { display: grid; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--paper); color: var(--ink); box-shadow: 12px 12px 0 var(--ink); }
.form label { display: grid; gap: 0.35rem; font-family: var(--cond); font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: 0.75rem 0.85rem;
  font: 400 1rem var(--body); color: var(--ink);
  background: #fff; border: 2px solid var(--line); border-radius: 2px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--rust); }
.form .btn { justify-self: start; }

/* Footer */
.footer { padding: 3rem 0 1.5rem; background: var(--ink); color: #a9b1c1; border-top: 3px solid var(--rust); }
.footer__brand { display: flex; align-items: center; gap: 1.25rem; }
.footer__brand img { width: 110px; border-radius: 50%; }
.footer strong { color: #fff; font-family: var(--display); font-weight: 400; font-size: 1.2rem; text-transform: uppercase; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.footer__links { display: grid; gap: 0.3rem; text-align: right; }
.footer__links a { color: #fff; text-decoration: none; font-weight: 600; }
.footer__links a:hover { color: var(--glow); }
.footer__copy { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); font-size: 0.9rem; }

.callbar { display: none; }

/* Thank-you page */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.thanks h1 { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 4rem); text-transform: uppercase; }
.thanks p { font-size: 1.2rem; max-width: 32rem; margin: 1rem auto 2rem; color: #c3cad8; }
.thanks a:not(.btn) { color: #fff; }

/* Responsive */
@media (max-width: 960px) {
  .hero__inner, .about, .contact { grid-template-columns: 1fr; }
  .hero__photos { max-width: 520px; width: 100%; margin: 1rem auto 0; height: 470px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .about__photo { max-width: 380px; }
}
@media (max-width: 680px) {
  .nav a:not(.btn) { display: none; }
  .topbar__inner span { font-size: 0.8rem; }
  .topbar__inner a { display: none; }
  .services { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .gallery span { font-size: 0.9rem; padding: 2rem 0.6rem 0.6rem; }
  .hero__photos { height: 380px; }
  .brand__logo { width: 58px; }
  .footer__brand { flex-direction: column; align-items: flex-start; }
  .footer__links { text-align: left; }
  body { padding-bottom: 3.5rem; }
  .callbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 0.95rem; text-align: center; text-decoration: none;
    font-family: var(--cond); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.06em;
    color: #fff; background: var(--rust);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Reviews */
.reviews__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; }
.reviews__summary { display: flex; align-items: center; gap: 0.75rem; font-family: var(--cond); font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.06em; }
.reviews__summary[hidden] { display: none; }
.reviews__avg { font-family: var(--display); font-size: 2.75rem; line-height: 1; color: #fff; }
.stars { margin: 0; color: #ffc93c; letter-spacing: 0.12em; font-size: 1.25rem; line-height: 1; }
.reviews { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.reviews__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; max-height: 640px; overflow-y: auto; padding-right: 0.25rem; }
.reviews__empty { padding: 1.5rem; border: 1px dashed rgba(255,255,255,.25); color: #b9c0cc; }
.review { padding: 1.25rem 1.5rem; background: var(--ink-2); border-left: 4px solid var(--rust); }
.review__text { margin: 0.6rem 0 0.75rem; color: #e8ebf1; white-space: pre-line; overflow-wrap: anywhere; }
.review__who { margin: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.06em; }
.review__who strong { color: #fff; }
.review__who span { color: #9aa3b2; }
.review-form { box-shadow: 12px 12px 0 var(--rust); }
.review-form h3 { margin: 0; }
.review-form__note { margin: -0.5rem 0 0; font-size: 0.95rem; color: var(--steel); }
.rating-input { border: 0; margin: 0; padding: 0; }
.rating-input legend { padding: 0; font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.rating-input__stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.form .rating-input__stars input { padding: 0; position: absolute; opacity: 0; width: 1px; height: 1px; }
.form .rating-input__stars label { display: block; font-size: 2.25rem; line-height: 1; padding: 0 0.1rem; color: var(--line); cursor: pointer; transition: color .15s; }
.rating-input__stars label:hover, .rating-input__stars label:hover ~ label,
.rating-input__stars input:checked ~ label { color: #f5b301; }
.rating-input__stars input:focus-visible + label { outline: 2px solid var(--rust); outline-offset: 2px; }
.review-form__msg { margin: 0; min-height: 1.4em; font-weight: 600; }
.review-form__msg.is-error { color: #c0262d; }
.review-form__msg.is-ok { color: #1c7c3a; }
.review-form button:disabled { opacity: .6; cursor: wait; }
@media (max-width: 860px) {
  .reviews { grid-template-columns: 1fr; }
  .reviews__list { max-height: none; }
}
