:root {
  --red: #dc0028;
  --red-dark: #b80022;
  --ink: #111318;
  --text: #2b2d33;
  --muted: #5d6068;
  --line: #e6e7ea;
  --soft: #f6f6f7;
  --star: #f5b301;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Helvetica Neue", Arial, sans-serif; color: var(--text); background: #fff; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .75rem; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.eyebrow { color: var(--red); font-weight: 700; font-style: italic; margin: 0 0 1.5rem; }
section { padding: 72px 0; }
.soft { background: var(--soft); }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.site-header .logo img { height: 56px; width: auto; }
.nav { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover, .nav a[aria-current] { color: var(--red); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; }

/* buttons */
.btn { display: inline-block; background: var(--red); color: #fff; border: 0; border-radius: 6px; padding: .8rem 1.3rem; font: 700 1rem/1.2 inherit; text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { background: var(--red-dark); }
.btn.block { display: block; width: 100%; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }

/* hero */
.hero { position: relative; min-height: min(78vh, 680px); display: grid; align-items: center; background: #222 url("img/hero.jpg") center/cover no-repeat; padding: 64px 0; }
.hero-box { width: min(440px, 100%); background: rgb(30 30 30 / .78); color: #fff; padding: 28px; border-radius: 4px; }
.hero-box h1 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.hero-box p { margin: 0 0 1.5rem; font-size: .95rem; }
.hero-box .btn { display: block; width: fit-content; margin-top: 12px; }

/* page banner (inner pages) */
.banner { background: var(--ink); color: #fff; padding: 56px 0; }
.banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0; }
.banner p { margin: .5rem 0 0; color: #cfd0d4; }

/* testimonials */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 2px 10px rgb(0 0 0 / .05); padding: 28px 22px; text-align: center; background: #fff; }
.stars { color: var(--star); font-size: 1.5rem; letter-spacing: 2px; margin-bottom: 14px; }
.card blockquote { margin: 0 0 1rem; }
.card cite { font-style: normal; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.card .role { display: block; color: var(--muted); font-size: .9rem; font-weight: 400; }
.feature-quote { border-left: 4px solid var(--red); padding: 8px 0 8px 24px; margin: 0 0 32px; }
.feature-quote blockquote { margin: 0 0 .75rem; font-size: 1.05rem; }
.feature-quote cite { font-style: normal; font-weight: 700; }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 10px rgb(0 0 0 / .05); text-align: center; display: grid; grid-template-rows: auto 1fr; }
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service div { padding: 22px; display: grid; place-content: center; gap: 14px; }
.service h3 { margin: 0; font-size: 1.3rem; }

/* brands & clients */
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; align-items: center; }
.brands img { max-height: 110px; width: auto; margin-inline: auto; object-fit: contain; }
.clients-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.clients-head .eyebrow { font-style: normal; font-weight: 400; margin: 0 0 .3rem; }
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.clients div { border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 2px 10px rgb(0 0 0 / .05); aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 12px; background: #fff; }
.clients img { max-height: 100%; object-fit: contain; }

/* about */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 10px; font-weight: 700; color: var(--ink); }
.ticks li::before { content: "✓"; color: var(--red); margin-right: 10px; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact dl { margin: 0; display: grid; gap: 16px; }
.contact dt { font-weight: 700; color: var(--ink); }
.contact dd { margin: 2px 0 0; }
.map { width: 100%; aspect-ratio: 16 / 10; border: 0; }

/* form */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 4px 18px rgb(0 0 0 / .06); padding: 32px; max-width: 760px; margin-inline: auto; }
.form-card h2 { font-size: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--ink); }
label .opt { font-weight: 400; color: var(--muted); }
input, textarea, select { font: inherit; font-weight: 400; padding: .7rem .85rem; border: 1px solid #cfd1d6; border-radius: 6px; background: #fff; color: var(--text); width: 100%; }
textarea { min-height: 120px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 8px 0 0; }
legend { font-weight: 700; font-size: 1.1rem; color: var(--ink); margin-bottom: 10px; }
.hp { position: absolute; left: -9999px; }
[data-status] { margin: 0; min-height: 1.4em; font-weight: 700; }
[data-status="ok"] { color: #1b7f3b; }
[data-status="error"] { color: var(--red); }

/* footer */
.footer-bar { background: var(--red); color: #fff; padding: 36px 0; }
.footer-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-bar a { color: #fff; text-decoration: none; }
.footer-bar .social { display: flex; gap: 14px; }
.footer-bar .social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--red); font-weight: 700; font-size: .85rem; }
.footer-base { text-align: center; padding: 28px 16px; }
.footer-base img { height: 80px; width: auto; margin: 0 auto 10px; }
.footer-base p { margin: 0; color: var(--muted); font-size: .9rem; }

@media (max-width: 860px) {
  .cards, .services { grid-template-columns: 1fr; }
  .brands, .clients { grid-template-columns: repeat(2, 1fr); }
  .split, .contact { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .btn-row { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { display: block; padding: 14px 16px; border-top: 1px solid var(--line); }
  .form-card { padding: 22px; }
}
