:root {
  --ink: #101a33;
  --ink-2: #19264a;
  --text: #2e3648;
  --muted: #5d6679;
  --bg: #f7f8fb;
  --tint: #eef2f9;
  --card: #ffffff;
  --line: #dfe5f0;
  --red: #d7261e;
  --red-dark: #b01d17;
  --blue: #1f3a93;
  --accent-light: #ff9b8f;
  --sky: #9fb7ff;
  --wa: #128c4a;
  --wa-dark: #0e7a40;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 26, 51, .06), 0 10px 28px rgba(16, 26, 51, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
img, svg { display: block; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

.eyebrow { color: var(--red); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 50ch; }
.section-lead { color: var(--muted); max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--red); color: #fff; text-decoration: none; font: inherit; font-weight: 650;
  padding: .8em 1.2em; border-radius: 10px; border: 0; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--red-dark); }
.btn:active { transform: translateY(1px); }
.btn-wa { background: var(--wa); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-small { padding: .55em .9em; font-size: .95rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0; }
.text-link { font-weight: 650; text-decoration: none; color: var(--red); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo { width: 61px; height: 38px; flex: none; }
.wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.wordmark b { color: var(--red); font-weight: 900; font-size: 1.12rem; letter-spacing: .02em; }
.wordmark small { color: var(--blue); font-weight: 650; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--text); text-decoration: none; font-weight: 600; }
.nav nav a:hover { color: var(--red); }

/* Hero */
.hero { padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.hero-slim { padding: 48px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.hero-photo {
  position: relative; isolation: isolate; overflow: hidden; color: #e8ecf5;
  background: var(--ink); border-bottom: 0; padding: 120px 0 104px;
}
.hero-photo.hero-slim { padding: 92px 0 76px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(10, 17, 36, .95) 0%, rgba(10, 17, 36, .82) 45%, rgba(10, 17, 36, .35) 100%),
    radial-gradient(700px 400px at 10% 115%, rgba(215, 38, 30, .38), transparent 70%);
}
.hero-photo h1 { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .3); }
.hero-photo h1::after {
  content: ""; display: block; width: 80px; height: 4px; border-radius: 4px; margin-top: 20px;
  background: linear-gradient(90deg, var(--red), var(--blue));
}
.hero-photo .lead { color: #cdd4e4; }
.hero-photo .eyebrow { color: var(--accent-light); }
.hero-photo .crumbs, .hero-photo .crumbs a { color: #aab3c8; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust .icon { color: var(--accent-light); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1em; }
.hero-card {
  background: rgba(16, 26, 51, .55); border: 1px solid rgba(255, 255, 255, .14); color: #dfe5f2;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius); padding: 26px 26px 10px; box-shadow: var(--shadow);
}
.hero-split { list-style: none; padding: 0; margin: 0; }
.hero-split li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-split li:first-child { border-top: 0; padding-top: 4px; }
.hero-split .icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: var(--accent-light); }
.hero-split li:nth-child(2) .icon { color: var(--sky); }
.hero-split b { display: block; color: #fff; }
.hero-split span { font-size: .92rem; color: #b8c1d6; }

/* Clients */
.clients { background: #fff; border-bottom: 1px solid var(--line); }
.clients-row { display: flex; align-items: center; gap: 28px; padding: 20px 0; flex-wrap: wrap; }
.clients-row p { margin: 0; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.clients ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; }
.clients li { font-weight: 900; font-size: 1.35rem; color: var(--ink); letter-spacing: .01em; opacity: .8; }
.clients li.etc { font-weight: 600; font-size: .95rem; color: var(--muted); }

/* Sections */
.section { padding: 76px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #cfd6e6; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--accent-light); }
.section-dark a { color: #fff; }
.section-ink { background: #0b1226; color: #b8c1d6; padding-bottom: 0; }
.section-ink h2 { color: #fff; }
.section-ink .eyebrow { color: var(--accent-light); }
.section-ink .section-lead { color: #aab3c8; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; color: var(--text); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .15s, border-color .15s;
}
.card:hover { transform: translateY(-3px); border-color: var(--red); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--tint); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .3)); }
.card-icon {
  position: absolute; left: 18px; bottom: -22px; z-index: 1; width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(215, 38, 30, .35);
}
.card:nth-child(2) .card-icon { background: var(--blue); box-shadow: 0 6px 16px rgba(31, 58, 147, .35); }
.card-icon .icon { width: 26px; height: 26px; }
.card-body { padding: 36px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); flex: 1; }
.more { color: var(--red); font-weight: 650; }

.two-col { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.features h3 { padding-left: 14px; border-left: 3px solid var(--red); }
.features p { color: var(--muted); margin: 0; }
.team-photo { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.team-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.team-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 16px 12px; font-size: .85rem; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 20px 56px; color: var(--muted); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px;
  border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700;
}
.steps b { display: block; color: var(--ink); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 36px; }
.gallery figure { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.05); }

.materials { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.materials li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; border-top: 3px solid var(--blue); }
.materials li:nth-child(odd) { border-top-color: var(--red); }
.materials b { display: block; color: var(--ink); margin-bottom: 4px; }
.materials span { color: var(--muted); font-size: .92rem; }

.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-weight: 600; }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 650; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 1.4rem; color: var(--red); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 20px 16px; margin: 0; color: var(--muted); }

/* Service pages */
.prose h2 { margin-top: 1.2em; }
.prose h2:first-child { margin-top: 0; }
.inline-photo { margin: 24px 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.inline-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.checks .icon { color: var(--red); margin-top: .25em; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 18px; }
.panel h2 { font-size: 1.15rem; }
.link-list { padding-left: 1.1em; margin: 0; }
.link-list li { margin-bottom: 6px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.5em 0 0; }
.contact-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.contact-list .icon { color: var(--accent-light); }
.quote-form {
  background: var(--ink-2); border: 1px solid #2a3866; border-radius: var(--radius); padding: 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.quote-form label { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 600; color: #e1e6f2; }
.quote-form .full { grid-column: 1 / -1; }
.quote-form input, .quote-form select, .quote-form textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: #fff;
  border: 1px solid transparent; border-radius: 8px; padding: .65em .8em;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 2px solid var(--accent-light); }

/* Footer */
.site-footer { background: #0b1226; color: #9aa4bb; padding: 56px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h2 { color: #fff; font-size: 1rem; }
.site-footer h2.mt { margin-top: 1.4em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #d5dbe8; text-decoration: none; }
.site-footer a:hover { color: var(--accent-light); }
.brand-light { margin-bottom: 14px; }
.brand-light .wordmark b { color: #ff5a4f; }
.brand-light .wordmark small { color: var(--sky); }
.tagline { font-style: italic; font-family: Georgia, "Times New Roman", serif; color: var(--sky); font-size: 1.1rem; }
.copyright { border-top: 1px solid #1c2747; margin-top: 40px; padding-top: 20px; font-size: .85rem; }

.mobile-bar { display: none; }

@media (max-width: 1060px) {
  .materials { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid, .two-col, .contact-grid, .footer-grid, .cards { grid-template-columns: 1fr; gap: 32px; }
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .hero-photo, .hero { padding: 72px 0 60px; }
  .hero-photo::before { background: linear-gradient(180deg, rgba(10, 17, 36, .8), rgba(10, 17, 36, .93)); }
  .section { padding: 56px 0; }
  .section-ink { padding-bottom: 0; }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  body { padding-bottom: 64px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 60;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .12);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px;
    background: var(--red); color: #fff; text-decoration: none; font-weight: 700;
  }
  .mobile-bar a.wa { background: var(--wa); }
}
@media (max-width: 560px) {
  .quote-form, .materials { grid-template-columns: 1fr; }
  .btn-small span { display: none; }
  .cta-row .btn { width: 100%; }
  .wordmark b { font-size: .98rem; }
  .clients li { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Clients */
.clients li { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.clients li.feat { font-size: 1.3rem; color: var(--red); opacity: 1; }
.clients .mini { width: 30px; height: 30px; border-radius: 8px; font-size: .7rem; }
.badge, .mini {
  flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), #2f4fb8); color: #fff; font-weight: 900; letter-spacing: .02em;
}
.feat .mini, .badge-lg { background: linear-gradient(135deg, var(--red), #ef5b2a); }
.badge-img { background: #fff; object-fit: contain; padding: 6px; border: 1px solid var(--line); }
.badge-lg { width: 72px; height: 72px; font-size: 1.5rem; border-radius: 18px; margin-bottom: 16px; box-shadow: 0 8px 24px rgba(215, 38, 30, .4); }
.clients-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; margin-top: 28px; }
.client-feature {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); min-height: 380px;
  display: flex; align-items: flex-end; color: #dfe5f2; box-shadow: var(--shadow);
}
.client-feature-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.client-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 17, 36, .25), rgba(10, 17, 36, .95) 65%); }
.client-feature-body { padding: 30px; }
.client-feature h3 { color: #fff; font-size: 2rem; margin-bottom: .2em; }
.client-feature .client-sub { color: var(--accent-light); font-weight: 600; }
.client-feature .client-meta { color: #aab3c8; }
.pill { position: absolute; top: 20px; right: 20px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.client-list { display: grid; gap: 16px; align-content: start; }
.client-card { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.client-card h3 { margin: 0 0 2px; }
.client-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.client-meta { font-size: .82rem !important; font-weight: 600; letter-spacing: .02em; margin-top: 4px !important; }
@media (max-width: 860px) { .clients-grid { grid-template-columns: 1fr; } .client-feature { min-height: 340px; } }

/* Industries */
.industries { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industries li { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.industries li:hover { transform: translateY(-2px); border-color: var(--blue); }
.ind-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #e8edfb; color: var(--blue); }
.industries li:nth-child(odd) .ind-icon { background: #fde9e7; color: var(--red); }
.ind-icon .icon { width: 24px; height: 24px; }
.industries h3 { font-size: 1.02rem; margin: 2px 0 4px; }
.industries p { margin: 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 1060px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .industries { grid-template-columns: 1fr; } }

/* Client logos */
.badge-img { width: 132px; height: 60px; border-radius: 10px; background: #fff; object-fit: contain; padding: 6px; border: 1px solid var(--line); }
.clients .mini.badge-img { width: 58px; height: 34px; padding: 3px; border-radius: 6px; }
.badge-lg.badge-img { width: 160px; height: 90px; padding: 10px; border: 0; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.clients li.feat { gap: 10px; }

/* Gallery titles */
.gallery-title { color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 36px 0 0; font-size: 1.1rem; }
.gallery-title small { color: #8f99b3; font-weight: 500; font-size: .8rem; }
.section-ink .gallery { margin-top: 16px; }
.tag { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: #fff; }
.tag-hot { background: var(--red); }
.tag-cold { background: #2f6fd6; }
.tag-ss { background: #6b7690; }

@media (min-width: 1061px) {
  .clients-grid { grid-template-columns: 1fr 1.25fr; }
  .client-list { grid-template-columns: 1fr 1fr; }
  .client-card { flex-direction: column; align-items: flex-start; }
}
