/* Crest's signature and flyer: white space, charcoal, red, a touch of gold, Lora headlines, tracked Poppins capitals. */
:root {
  --ink: #33353a;        /* charcoal: headings */
  --char: #323335;       /* charcoal: dark bands */
  --brand: #c21f30;      /* flyer red: links, highlights */
  --brand-soft: #fbeced;
  --cta: #c21f30;        /* call buttons */
  --cta-ink: #fff;
  --gold: #c8a751;       /* gold on charcoal */
  --gold-ink: #876a22;   /* gold dark enough to read on white */
  --wa: #1c9a4f;
  --bg: #fff;
  --soft: #f5f5f4;
  --line: #e2e2e0;
  --text: #3d3f44;
  --muted: #63666c;
  --radius: 6px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Lora Variable', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 146px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 16px/1.65 var(--font); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 700; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font: 600 18px/1.3 var(--font); }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--char); color: #fff; padding: 8px 14px; border-radius: 4px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 4px; border: 2px solid var(--cta); background: var(--cta); color: var(--cta-ink); font: 600 16px var(--font); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { background: #a31a28; border-color: #a31a28; }
.btn--sm { min-height: 46px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 62px; padding: 0 30px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn--wa:hover { background: #167c3f; border-color: #167c3f; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn:disabled { opacity: .6; cursor: wait; }

/* Top bar and header */
.bar { background: var(--char); color: #fff; font-size: 17px; font-weight: 600; }
.bar__in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 54px; }
.bar a { color: var(--gold); font-size: 19px; font-weight: 700; text-decoration: none; }
.pulse { display: inline-block; width: 11px; height: 11px; margin-right: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgb(61 220 132 / .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgb(61 220 132 / 0); } 100% { box-shadow: 0 0 0 0 rgb(61 220 132 / 0); } }
.bar__offer { font-style: normal; margin-left: 14px; padding: 2px 10px; border-radius: 4px; background: var(--cta); color: var(--cta-ink); }
.top { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; min-height: 130px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; color: var(--ink); }
.brand__logo { display: block; width: auto; height: 118px; }
.brand__text b { display: block; font-size: 19px; line-height: 1.1; }
.brand__text small { color: var(--muted); font-size: 13px; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--brand); border-bottom-color: var(--brand); }

/* Hero: the flyer, with a job photo inside the chevron */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero__art { position: absolute; top: 0; right: 0; width: 52%; height: 100%; }
.hero__in { position: relative; display: flex; min-height: 620px; align-items: center; padding: 48px 0; }
.hero__copy { max-width: 590px; }
.rule { display: block; width: 110px; height: 5px; background: var(--gold); margin-bottom: 24px; }
.hero h1 { font-size: clamp(36px, 4.3vw, 58px); line-height: 1.12; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-style: normal; color: var(--brand); white-space: nowrap; }
.tracked { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 24px 0 0; font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.tracked span:not(:last-child)::after { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 12px; border-radius: 50%; background: var(--brand); vertical-align: middle; }
.hero__sub { font-size: 17px; color: var(--muted); margin: 18px 0 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 22px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.trust a { color: var(--ink); text-decoration: none; }
.stars { color: var(--gold); letter-spacing: 1px; }

/* Charcoal contact band, as at the foot of the flyer */
.band { background: var(--char); color: #fff; border-top: 7px solid var(--brand); padding: 30px 0 28px; }
.band p { margin: 0; }
.band__label { color: var(--gold); font-size: 15px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.band__nums { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; margin: 8px 0 !important; font-size: clamp(30px, 5vw, 52px); font-weight: 700; line-height: 1.2; letter-spacing: .02em; }
.band__nums a { color: #fff; text-decoration: none; white-space: nowrap; }
.band__nums a:hover { color: var(--gold); }
.band__nums i { font-style: normal; color: var(--brand); transform: skewX(-6deg); }
.band__info { display: flex; flex-wrap: wrap; gap: 4px 0; color: #d9d9d6; font-size: 15px; letter-spacing: .08em; }
.band__info a { color: inherit; text-decoration: none; }
.band__info span { text-transform: uppercase; }
.band__info a::after { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 14px; border-radius: 50%; background: var(--gold); vertical-align: middle; }

/* Trust row */
.strip { border-bottom: 1px solid var(--line); }
.strip__in { display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 0; text-align: center; }
.strip__in > div + div { border-left: 1px solid var(--line); }
.strip b { display: block; font: 700 clamp(24px, 3vw, 32px)/1.15 var(--serif); color: var(--ink); }
.strip span { color: var(--muted); font-size: 14px; }

/* Sections */
.sec { padding: clamp(60px, 8vw, 100px) 0; }
.sec--soft { background: var(--soft); }
.sec--navy { position: relative; overflow: hidden; background: var(--char); color: #d9d9d6; border-top: 7px solid var(--brand); }
.sec--navy::after { content: ''; position: absolute; top: 0; right: 0; width: 220px; height: 220px; background: linear-gradient(135deg, #d0190b, #a71509); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.sec--navy .wrap { position: relative; z-index: 1; }
.sec--navy h2 { color: #fff; }
.kicker { color: var(--gold-ink); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.kicker::before { content: ''; display: block; width: 70px; height: 4px; background: var(--gold); margin-bottom: 16px; }
.sec--navy .kicker { color: var(--gold); }
.lead { font-size: 17px; color: var(--muted); max-width: 42em; margin-top: 12px; }

.cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-bottom: 4px solid var(--brand); border-radius: var(--radius); padding: 26px 22px; }
.card__icon, .steps b { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #1f2022; border: 3px solid var(--gold); color: var(--gold); margin-bottom: 16px; }
.card p { color: var(--muted); font-size: 15px; margin: 8px 0 0; }

.sos { position: relative; overflow: hidden; background: linear-gradient(120deg, #c21f30, #a71509); color: #fff; padding: 44px 0; }
.sos::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 340px; background: #2f302e; clip-path: polygon(100% 0, 100% 100%, 62% 100%, 12% 50%, 62% 0); }
.sos__in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sos h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); }
.sos p { margin: 6px 0 0; max-width: 40em; }
.sos .btn { background: #fff; color: var(--brand); border-color: #fff; font-weight: 700; }
.sos .btn:hover { background: var(--gold); border-color: var(--gold); color: #1f2022; }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.steps b { font: 700 22px var(--serif); }
.steps p { color: var(--muted); margin: 6px 0 0; }

.gallery { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gallery figure { height: 100%; margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 12px 16px 14px; }
.gallery figcaption b { display: block; color: var(--ink); font-weight: 600; }
.gallery figcaption span { color: var(--muted); font-size: 14px; }

.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.why { background: #fff; border: 1px solid var(--line); border-bottom: 4px solid var(--brand); border-radius: var(--radius); overflow: hidden; padding: 24px; }
.why__photo { display: block; width: calc(100% + 48px); max-width: none; height: auto; margin: -24px -24px 22px; aspect-ratio: 4 / 3; object-fit: cover; }
.why ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.why li { position: relative; padding-left: 30px; font-weight: 600; color: var(--ink); }
.why li::before { content: ''; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.500l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.certs { margin-top: 18px !important; padding-top: 18px !important; border-top: 1px solid var(--line); }
.certs li { font-weight: 500; color: var(--muted); }
.certs li::before { background-color: var(--gold-ink); }

.quotes { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.quotes li { background: var(--soft); border-radius: var(--radius); padding: 24px; }
.quotes blockquote { margin: 0 0 12px; font: 500 18px/1.5 var(--serif); color: var(--ink); }
.quotes cite { color: var(--muted); font-style: normal; font-size: 14px; font-weight: 600; }

.chips { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border-radius: 4px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); }

.faq { max-width: 820px; }
.faq h2 { margin-bottom: 18px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); font-size: 17px; padding: 16px 32px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--brand); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* Quote form */
.quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.quote__copy .btn { margin-top: 12px; }
.formbox { background: #fff; color: var(--text); border: 1px solid var(--line); border-top: 5px solid var(--brand); border-radius: var(--radius); padding: 28px 26px 24px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 1.5px solid #c9c9c6; border-radius: 4px; background: #fff; color: var(--text); font: 500 16px var(--font); }
.field textarea { resize: vertical; min-height: 72px; }
.field [aria-invalid='true'] { border-color: #b3261e; background: #fff3f2; }
.check { display: flex; gap: 10px; align-items: center; margin: 4px 0 14px; font-weight: 500; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--cta); }
.hp { position: absolute; left: -9999px; }
.form-error { background: #fdeceb; color: #a31f15; padding: 10px 12px; border-radius: 4px; font-weight: 600; font-size: 15px; }
.privacy { color: var(--muted); font-size: 13px; text-align: center; margin: 10px 0 0; }
.thanks h3 { font: 700 24px var(--serif); margin-bottom: 8px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.facts { margin: 22px 0 0; display: grid; gap: 14px; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.facts dt { color: var(--gold); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; padding-top: 3px; }
.facts dd { margin: 0; font-weight: 500; color: #fff; }
.facts a { color: #fff; }
.contact__cta { display: grid; gap: 12px; }
.contact__cta .btn--ghost { color: #fff; border-color: rgb(255 255 255 / .5); }
.contact__cta .btn--ghost:hover { background: #fff; color: var(--ink); }

.foot { background: #252628; color: #a9abad; padding: 32px 0 40px; font-size: 15px; }
.foot__in { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; }
.foot b { color: #fff; }
.foot a { color: var(--gold); }
.foot p { margin: 0; }
.foot__small { grid-column: 1 / -1; font-size: 13px; opacity: .8; }

/* Mobile call / WhatsApp dock */
.dock { position: fixed; inset: auto 0 0 0; z-index: 60; display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 4px; color: #fff; font-weight: 600; text-decoration: none; }
.dock__call { background: var(--cta); }
.dock__wa { background: var(--wa); }

.notfound { min-height: 100vh; display: grid; place-content: center; text-align: center; gap: 8px; }
.notfound h1 { font-size: clamp(36px, 7vw, 64px); }
.notfound .lead { margin: 12px auto 24px; }

@media (max-width: 1140px) {
  .hero__art { position: static; display: block; width: 100%; height: 300px; }
  .hero__in { min-height: 0; padding: 36px 0 44px; }
  .nav { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .about, .contact, .quote { grid-template-columns: 1fr; gap: 32px; }
  .sos::after { display: none; }
}
@media (max-width: 700px) {
  body { font-size: 15px; }
  .dock { display: grid; }
  .foot { padding-bottom: 104px; }
  .top__in { min-height: 94px; }
  .brand__logo { height: 83px; }
  .top .btn--call { display: none; }
  .bar__in { font-size: 14px; min-height: 48px; }
  .bar a { font-size: 16px; }
  .hero__art { height: 220px; }
  .strip__in { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .strip__in > div:nth-child(odd) { border-left: 0; }
  .cards { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .sec--navy::after { width: 90px; height: 90px; }
  .tracked { font-size: 12px; letter-spacing: .12em; }
  .band__label { font-size: 13px; letter-spacing: .14em; }
  .band__nums i { display: none; }
  .band__info a::after { display: none; }
  .band__info { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
  .btn { transition: none; }
}
