/* Kiss Máté villanyszerelő, on the Smock HVAC base: red waves, a white card over the photo, round icons, red bands. */
h1, h2, h3 { margin: 0; font-family: var(--font-display); color: var(--ink); }
h2 { font-size: var(--h2); font-weight: 900; line-height: 1.15; letter-spacing: -.01em; }
h3 { font-size: var(--h3); font-weight: 800; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
.wrap { width: var(--content); margin-inline: auto; }
.center { text-align: center; }

/* the small red uppercase label above headings */
.micro { display: block; font: 900 .8125rem/1.3 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.micro--light { color: #fff; }
.micro--soft { color: rgba(255, 255, 255, .62); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 28px; border: 0; border-radius: var(--radius-pill); font: 800 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--red { background: var(--accent); color: #fff; }
.btn--white { background: #fff; color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; color: var(--accent); text-decoration: none; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(3px); }

/* the faint pill pattern Smock lays over grey and red areas */
.pattern { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='70' viewBox='0 0 120 70'%3E%3Crect x='6' y='8' width='48' height='18' rx='9' fill='%23000' fill-opacity='.035' transform='rotate(-24 30 17)'/%3E%3Crect x='66' y='43' width='48' height='18' rx='9' fill='%23000' fill-opacity='.035' transform='rotate(-24 90 52)'/%3E%3C/svg%3E"); }
.pattern--red { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='70' viewBox='0 0 120 70'%3E%3Crect x='6' y='8' width='48' height='18' rx='9' fill='%23000' fill-opacity='.07' transform='rotate(-24 30 17)'/%3E%3Crect x='66' y='43' width='48' height='18' rx='9' fill='%23000' fill-opacity='.07' transform='rotate(-24 90 52)'/%3E%3C/svg%3E"), var(--gradient); }

/* header: transparent on the red wave, solid red once scrolled */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 30; transition: background-color .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { background: var(--gradient); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.site-header__in { width: var(--content); margin-inline: auto; min-height: 96px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand__mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: #fff; }
.brand__mark svg { width: 30px; height: 30px; fill: var(--accent); }
.brand__name { display: grid; line-height: 1; }
.brand__name b { font: 900 1.5rem/1 var(--font-display); letter-spacing: .01em; text-transform: uppercase; }
.brand__name small { margin-top: 4px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; justify-self: end; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding-block: 10px; color: #fff; font-weight: 800; font-size: .95rem; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.head-call { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.head-call i { display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 50%; background: rgba(0, 0, 0, .12); }
.head-call i svg { width: 18px; height: 18px; }
.head-call small { display: block; font-size: .75rem; font-weight: 700; }
.head-call b { display: block; font: 800 1.2rem/1.15 var(--font-display); white-space: nowrap; }
.site-header .btn--white { min-height: 46px; padding-inline: 26px; }
.nav-toggle { display: none; }

/* hero: the red wave on top of a full-width photo, with a white card */
.hero { position: relative; padding-top: 250px; padding-bottom: 96px; background: #4a3b33; }
.hero__photo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; }
.hero__wave { position: absolute; top: 0; left: 0; z-index: 1; width: 100%; height: 230px; }
.hero__in { position: relative; z-index: 2; width: var(--content); margin-inline: auto; }
.hero__card { position: relative; width: min(736px, 100%); padding: 96px 36px 44px 58px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.ribbon { position: absolute; top: 36px; left: -22px; padding: 14px 22px 12px; border-radius: 24px 0; background: var(--gradient); box-shadow: var(--shadow-sm); font: 900 .8125rem/1.3 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.hero__title { font: 900 var(--h1)/1.2 var(--font-display); color: #434343; }
.hero__title span { display: block; color: var(--accent); }
.hero__lead { max-width: 60ch; margin-top: 18px; font-size: .9375rem; line-height: 1.66; color: #434343; }
.hero__list { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 20px 0 0; padding: 0; list-style: none; }
.hero__list li { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: .9rem; line-height: 1.9; }
.hero__list li::before { content: ""; width: 11px; height: 11px; border-radius: 2px; background: var(--accent); }
.rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--surface-2); font-size: .88rem; font-weight: 700; color: var(--ink-soft); text-decoration: none; }
.rating span { color: var(--accent); letter-spacing: 1px; }
.rating:hover { text-decoration: underline; }

/* three quick actions under the hero */
.quick { position: relative; z-index: 3; background: #fff; box-shadow: 0 -10px 30px rgba(0, 0, 0, .06); }
.quick__in { width: var(--content); margin-inline: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; padding-block: 24px; }
.quick a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 102px; padding: 18px 24px; border-radius: 14px; background: var(--gradient-down); color: #fff; text-decoration: none; transition: transform .2s ease; }
.quick a:hover { transform: translateY(-3px); }
.quick a.quick--grey { background: linear-gradient(180deg, #9a9a9a 0%, #7b7b7b 100%); }
.quick b { display: block; font: 800 1.35rem/1.2 var(--font-display); }
.quick small { display: block; margin-top: 4px; font-size: .82rem; font-weight: 700; }
.quick i { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border: 3px solid rgba(255, 255, 255, .5); border-radius: 50%; background: #fff; color: var(--accent); background-clip: padding-box; }
.quick i svg { width: 24px; height: 24px; }

/* services: grey pattern, four photo cards, the red wave behind them */
.services { position: relative; padding: 76px 0 70px; background-color: var(--surface-2); overflow: hidden; }
.services__head { max-width: 640px; margin: 0 auto; text-align: center; }
.services__head p { margin-top: 18px; font-size: 1.05rem; }
.services__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 0; width: 100%; height: 340px; }
.services__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 56px; }
.svc { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-align: center; }
.svc__media { position: relative; height: 112px; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__media svg.svc__edge { position: absolute; left: 0; bottom: -1px; width: 100%; height: 34px; }
.svc__icon { position: relative; z-index: 2; display: grid; place-items: center; width: 104px; height: 104px; margin: -62px auto 0; border: 5px solid var(--accent); border-radius: 50%; background: #fff; color: var(--accent); }
.svc__icon svg { width: 54px; height: 54px; }
.svc__body { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; padding: 16px 24px 26px; }
.svc__body p { font-size: .9rem; line-height: 1.6; color: var(--ink-soft); }
.svc__body .text-link { margin-top: auto; }
.services__more { position: relative; z-index: 1; margin-top: 34px; text-align: center; color: #fff; font-weight: 700; }
.services__more span { opacity: .82; font-weight: 500; }

/* process: red band with the faded photo and four steps */
.process { position: relative; overflow: hidden; padding-block: 72px 96px; background: var(--gradient); color: #fff; }
.process__photo { position: absolute; left: 0; top: 0; z-index: 0; width: 60%; height: 100%; object-fit: cover; opacity: .2; mix-blend-mode: luminosity; -webkit-mask-image: linear-gradient(90deg, #000 35%, transparent 100%); mask-image: linear-gradient(90deg, #000 35%, transparent 100%); }
.process__in { position: relative; z-index: 1; width: var(--content); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 60px; align-items: center; }
.process h2 { margin-top: 12px; color: #fff; }
.process .btn { margin-top: 32px; }
.steps { display: grid; gap: 30px; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 4px 34px; align-items: center; }
.steps i { grid-row: 1 / 4; display: grid; place-items: center; width: 90px; height: 90px; border: 3px solid rgba(255, 255, 255, .6); border-radius: 14px; background: #fff; color: var(--accent); box-shadow: 0 8px 18px rgba(0, 0, 0, .2); }
.steps i svg { width: 48px; height: 48px; }
.steps h3 { color: #fff; font-size: 1.55rem; font-weight: 900; text-transform: uppercase; }
.steps p { font-size: .95rem; line-height: 1.6; color: rgba(255, 255, 255, .92); }

/* quality: text and a rounded photo with his quote */
.quality { padding-block: var(--section-pad); }
.quality__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 50px; align-items: center; }
.quality h2 { margin-top: 10px; color: #434343; }
.quality p { margin-top: 18px; line-height: 1.66; }
.quality__media { position: relative; margin: 0; }
.quality__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.quote { position: absolute; right: 0; bottom: 0; width: min(330px, 70%); padding: 20px 22px; border-radius: var(--radius) 0 var(--radius) 0; background: #fff; font: 800 .95rem/1.5 var(--font-display); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.quote cite { display: block; margin-top: 8px; font-style: normal; color: var(--accent); }

/* facts row, where Smock shows partner logos */
.facts { padding-bottom: var(--section-pad); }
.facts__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.facts__row div { padding: 6px 20px; text-align: center; }
.facts__row div + div { border-left: 1px solid var(--border); }
.facts__row dt { font: 900 clamp(1.8rem, 3vw, 2.4rem)/1.1 var(--font-display); color: var(--accent); }
.facts__row dd { margin: 6px 0 0; font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.facts__row a, .reach-card a, .closing__facts a, .office a { display: inline-block; padding-block: 3px; color: inherit; }

/* values: red band, one open card and three circles */
.values { padding-block: 72px 80px; color: #fff; }
.values__head { max-width: 820px; margin: 0 auto; text-align: center; }
.values h2 { margin-top: 10px; color: #fff; }
.values__head p { margin-top: 18px; line-height: 1.66; }
.values__row { display: flex; align-items: center; justify-content: center; gap: 36px; margin-top: 52px; }
.value { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0; border: 0; background: none; color: #fff; font: 800 1.15rem/1.2 var(--font-display); cursor: pointer; }
.value i { display: grid; place-items: center; width: 104px; height: 104px; border: 3px solid rgba(255, 255, 255, .6); border-radius: 50%; background: var(--red-deep); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .08); transition: transform .2s ease; }
.value:hover i { transform: scale(1.05); }
.value i svg { width: 46px; height: 46px; fill: #fff; }
.value__text { display: none; }
.value[aria-pressed="true"] { flex: 0 1 560px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 26px 30px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 0 24px; background: rgba(255, 255, 255, .1); text-align: left; cursor: default; }
.value[aria-pressed="true"] i { width: 54px; height: 54px; }
.value[aria-pressed="true"] i svg { width: 24px; height: 24px; }
.value[aria-pressed="true"] .value__text { display: block; flex-basis: 100%; font: 500 .95rem/1.6 var(--font-body); }
.values :focus-visible { outline-color: #fff; }

/* about: red two-column band */
.about { background: var(--gradient); color: #fff; }
.about__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.about__media { margin: 0; min-height: 420px; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__text { align-self: center; padding: 60px clamp(24px, 5vw, 76px); }
.about h2 { margin-top: 10px; color: #fff; }
.about p { max-width: 52ch; margin-top: 18px; line-height: 1.66; }
.about .btn { margin-top: 30px; }

/* where he works */
.areas { padding-block: 96px 48px; }
.areas__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 60px; align-items: center; }
.areas h2 { font-size: clamp(1.9rem, 3vw, 2.25rem); color: #434343; }
.areas__lead { margin: 16px 0 0; max-width: 52ch; color: var(--ink, #3a3a3a); }
.areas__list { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 26px 0 0; padding: 0; list-style: none; }
.areas__list li { padding-bottom: 2px; border-bottom: 2px solid var(--accent); font-weight: 800; color: var(--accent); }
.reach-card { padding: 30px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.reach-card dl { display: grid; gap: 14px; margin: 0; }
.reach-card dt { font: 900 .78rem/1.3 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.reach-card dd { margin: 4px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.reach-card a { color: var(--ink); }

/* questions: red accordion */
.faq { position: relative; padding-block: 48px 120px; background: linear-gradient(#fff 0%, var(--surface-2) 10%); }
.faq__head { text-align: center; }
.faq h2 { margin-top: 10px; font-size: clamp(1.9rem, 3vw, 2.25rem); color: #434343; }
.faq__list { display: grid; gap: 22px; width: min(646px, 100%); margin: 40px auto 0; }
.faq details { overflow: hidden; border-radius: 8px; background: #fff; box-shadow: var(--shadow-sm); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 50px; padding: 12px 24px; background: var(--gradient); color: #fff; font-weight: 800; font-size: .95rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "↓"; flex: none; }
.faq details[open] summary::after { content: "↑"; }
.faq details p { padding: 20px 24px 22px; line-height: 1.66; }

/* some of his work, where Smock lists articles */
.work { padding-block: 80px 96px; }
.work__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.work h2 { margin-top: 10px; font-size: clamp(1.9rem, 3vw, 2.25rem); color: #434343; }
.work__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 48px; }
.job { overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.job__media { position: relative; margin: 0; }
.job__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.job__tag { position: absolute; right: 26px; bottom: 16px; padding: 8px 16px; border-radius: 16px 0; background: var(--gradient); color: #fff; font: 900 .8125rem/1.2 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.job__body { padding: 26px 32px 32px; }
.job__body p { margin-top: 10px; font-size: .9rem; line-height: 1.6; color: var(--ink-soft); }

/* closing band with the form card */
.closing { background: var(--gradient); color: #fff; }
.closing__in { width: var(--content); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 50px; align-items: start; }
.closing__text { padding-block: 96px; }
.closing h2 { color: #fff; }
.closing__text p { max-width: 44ch; margin-top: 18px; line-height: 1.66; }
.closing__text .btn { margin-top: 28px; }
.closing__facts { margin-top: 26px; line-height: 1.8; font-weight: 600; }
.closing__facts a { color: #fff; overflow-wrap: anywhere; }
.form-card { position: relative; z-index: 2; margin-top: 64px; margin-bottom: -64px; padding: 36px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); color: var(--ink); }
.form-card h3 { margin-bottom: 18px; }
.form-card label { display: block; margin-bottom: 14px; font-size: .88rem; font-weight: 700; }
.form-card input:not(.hp input), .form-card select, .form-card textarea { display: block; width: 100%; min-height: 48px; margin-top: 6px; padding: 11px 14px; border: 1px solid #cfcfcf; border-radius: 8px; background: #fff; font-size: 1rem; font-weight: 500; }
.form-card textarea { min-height: 96px; resize: vertical; }
.form-card .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.form-card .btn { margin-top: 4px; }
.form-card small.note { display: block; margin-top: 14px; font-size: .8rem; color: var(--ink-soft); }
.form-card small.note a { display: inline-block; padding-block: 4px; color: var(--accent); }
.form-success { padding: 36px; border-radius: 24px; background: #fff; color: var(--ink); font-weight: 800; font-size: 1.2rem; }

/* footer */
.site-footer { padding-top: 120px; background: var(--accent-dark); color: #fff; }
.site-footer__in { width: var(--content); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: 40px 60px; padding-bottom: 46px; }
.site-footer__brand p { max-width: 36ch; margin-top: 20px; font-weight: 600; opacity: .9; }
.site-footer__brand .fb { display: inline-block; margin-top: 16px; font-weight: 800; color: #fff; }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.site-footer__cols p { font: 800 1.05rem/1.3 var(--font-display); }
.site-footer__cols ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.site-footer__cols a { color: #fff; font-weight: 700; text-decoration: none; }
.site-footer__cols a:hover { text-decoration: underline; }
.office { width: var(--content); margin: 0 auto; padding: 30px 36px; border: 2px solid rgba(255, 255, 255, .7); border-bottom: 0; border-radius: 40px 0 0 0; background: rgba(255, 255, 255, .06); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 30px; }
.office b { display: block; font-size: .92rem; }
.office span, .office a { display: block; margin-top: 4px; color: #fff; overflow-wrap: anywhere; }
.site-footer__base { width: var(--content); margin: 0 auto; padding: 18px 0 22px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: .82rem; opacity: .85; }
.call-bar { display: none; }

.btn svg { flex: none; width: 18px; height: 18px; }
.text-link--light { color: #fff; }
.svc h3 a { color: inherit; text-decoration: none; }
.svc h3 a:hover { color: var(--accent); }
.services__more a { display: inline-block; margin-left: 8px; padding-block: 6px; color: #fff; font-weight: 800; }
.about__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 30px; }
.about__links .btn { margin-top: 0; }
.form-card h2 { margin-bottom: 18px; font-size: var(--h3); font-weight: 800; }
.page-hero--plain { padding-bottom: 60px; background: var(--gradient); }
.page-hero--plain::before { display: none; }

/* ---------- inner pages (Smock's service pages) ---------- */
/* menu: Szolgáltatások opens a white card, as on Smock */
.site-nav .has-sub { position: relative; }
.site-nav .has-sub > a::after { content: ""; display: inline-block; margin-left: 7px; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(3px); }
.site-nav .sub { position: absolute; top: 100%; left: -18px; z-index: 5; display: none; flex-direction: column; align-items: stretch; gap: 0; min-width: 280px; padding: 10px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.site-nav .has-sub:hover .sub, .site-nav .has-sub:focus-within .sub { display: flex; }
.site-nav .sub a { padding: 11px 14px; border-radius: 8px; color: var(--ink); font-weight: 700; }
.site-nav .sub a:hover { background: var(--surface-2); text-decoration: none; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-nav .sub a[aria-current="page"] { color: var(--accent); text-decoration: none; background: var(--surface-2); }
body.inner .site-header { background: var(--gradient); }

/* photo hero tinted red, breadcrumbs, the ribbon as the H1, then a big white line */
.page-hero { position: relative; overflow: hidden; padding: 160px 0 76px; background: #3d1113; color: #fff; }
.page-hero__photo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(52, 10, 12, .93) 0%, rgba(74, 14, 17, .82) 46%, rgba(120, 22, 26, .42) 100%); }
.page-hero__in { position: relative; z-index: 2; width: var(--content); margin-inline: auto; }
.page-hero__text { max-width: 720px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 26px; padding: 0; list-style: none; font-size: .85rem; font-weight: 700; }
.breadcrumbs li + li::before { content: "›"; margin-right: 8px; opacity: .7; }
.breadcrumbs a { display: inline-block; padding-block: 4px; color: #fff; }
.breadcrumbs [aria-current="page"] { opacity: .8; }
.ribbon--static { position: relative; top: auto; left: auto; display: inline-block; }
.page-hero__title { margin-top: 22px; font: 900 var(--h1)/1.12 var(--font-display); color: #fff; }
.page-hero__lead { max-width: 64ch; margin-top: 20px; font-size: 1rem; line-height: 1.7; color: rgba(255, 255, 255, .94); }
.page-hero .rating { margin-top: 28px; background: #fff; }
.trust { background: var(--gradient); color: #fff; }
.trust ul { width: var(--content); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 34px; padding: 13px 0; list-style: none; font-weight: 800; font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust li::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: #fff; }

/* text on the left, the enquiry card on the right */
.split { padding-block: 88px; }
.split__in { width: var(--content); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 64px; align-items: start; }
.prose h2 { margin-top: 10px; color: #434343; }
.prose h3 { margin-top: 36px; color: #434343; }
.prose p { max-width: 66ch; margin-top: 16px; line-height: 1.72; }
.prose a:not(.btn) { color: var(--accent); font-weight: 700; }
.ticks { display: grid; gap: 10px; max-width: 66ch; margin: 18px 0 0; padding: 0; list-style: none; }
.ticks li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 14px; line-height: 1.62; }
.ticks li::before { content: ""; width: 11px; height: 11px; margin-top: .5em; border-radius: 2px; background: var(--accent); }
.split .form-card, .split .reach-card { position: sticky; top: 124px; margin: 0; }
.split .reach-card + .prose { margin-top: 40px; }

/* what changes the price */
.factors { padding-block: 84px; background-color: var(--surface-2); }
.factors__head { max-width: 760px; margin: 0 auto; text-align: center; }
.factors__head h2 { margin-top: 10px; color: #434343; }
.factors__head p { margin-top: 16px; line-height: 1.68; }
.factors__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 46px 0 0; padding: 0; list-style: none; }
.factors__grid li { padding: 26px 26px 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.factors__grid b { display: block; font: 800 1.08rem/1.3 var(--font-display); color: var(--accent); }
.factors__grid span { display: block; margin-top: 8px; font-size: .93rem; line-height: 1.62; color: var(--ink-soft); }

/* cards that link to the other services, where Smock lists articles */
.related { padding-block: 84px 96px; }
.related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 40px; }
.related h2 { margin-top: 10px; font-size: clamp(1.9rem, 3vw, 2.25rem); color: #434343; }
.rel { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .2s ease; }
.rel:hover { transform: translateY(-3px); }
.rel i { display: grid; place-items: center; width: 70px; height: 70px; border: 4px solid var(--accent); border-radius: 50%; color: var(--accent); }
.rel i svg { width: 38px; height: 38px; }
.rel p { font-size: .92rem; line-height: 1.6; color: var(--ink-soft); }
.rel .text-link { margin-top: auto; }
.job a { color: inherit; text-decoration: none; }
.job a:hover h3 { color: var(--accent); }
.job--tall .job__media img { aspect-ratio: 4 / 5; }
.work__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.work__group { margin-top: 64px; }
.work__group:first-child { margin-top: 0; }
.work__lead { max-width: 64ch; margin-top: 14px; line-height: 1.68; }

/* one board in four steps */
.build { padding-block: 80px; background-color: var(--surface-2); }
.build__head { max-width: 720px; }
.build__head h2 { margin-top: 10px; color: #434343; }
.build__head p { margin-top: 14px; line-height: 1.68; }
.build ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 40px 0 0; padding: 0; list-style: none; counter-reset: step; }
.build li { counter-increment: step; }
.build figure { position: relative; margin: 0; }
.build img { width: 100%; aspect-ratio: 800 / 828; object-fit: cover; border-radius: var(--radius); display: block; }
.build figure::before { content: counter(step); position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gradient); color: #fff; font: 900 1.1rem/1 var(--font-display); }
.build figcaption { margin-top: 12px; font-weight: 800; }

/* smaller jobs on the services hub */
.minor { padding-block: 84px; }
.minor__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin-top: 40px; }
.minor__card { overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.minor__card img, .minor__art { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.minor__art { display: grid; place-items: center; background: var(--gradient); color: #fff; }
.minor__art svg { width: 76px; height: 76px; }
.minor__card div { padding: 22px 24px 26px; }
.minor__card p { margin-top: 8px; font-size: .92rem; line-height: 1.6; color: var(--ink-soft); }
.minor h2 { margin-top: 10px; color: #434343; }

/* his values as four cards on the about page */
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 46px; }
.values-grid article { padding: 26px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 0 24px; background: rgba(255, 255, 255, .08); }
.values-grid i { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--red-deep); }
.values-grid i svg { width: 28px; height: 28px; fill: #fff; }
.values-grid h3 { margin-top: 16px; color: #fff; }
.values-grid p { margin-top: 8px; font-size: .93rem; line-height: 1.6; }

/* closing photo band on inner pages */
.closing-photo { position: relative; overflow: hidden; padding: 170px 0 84px; background: #7e1215; color: #fff; text-align: center; }
.closing-photo > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.closing-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(156, 21, 24, .12) 0%, rgba(160, 22, 26, .82) 52%, #9c1518 100%); }
.closing-photo__in { position: relative; z-index: 2; width: var(--content); margin-inline: auto; }
.closing-photo h2 { max-width: 22ch; margin: 0 auto; color: #fff; }
.closing-photo p { max-width: 52ch; margin: 16px auto 0; line-height: 1.66; }
.closing-photo__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.btn--line { border: 2px solid #fff; background: transparent; color: #fff; }

/* privacy page and 404 */
.legal { padding-block: 72px 96px; }
.legal__in { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 40px 60px; align-items: start; }
.legal__nav { position: sticky; top: 124px; padding: 24px; border-radius: var(--radius); background: var(--surface-2); }
.legal__nav ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.legal__nav a { display: block; padding-block: 8px; color: var(--ink); font-weight: 700; }
.legal__body h2 { margin-top: 44px; color: #434343; font-size: clamp(1.6rem, 2.6vw, 2rem); }
.legal__body h2:first-of-type { margin-top: 0; }
.legal__body h3 { margin-top: 28px; font-size: 1.15rem; color: #434343; }
.legal__body p { max-width: 70ch; margin-top: 12px; line-height: 1.72; }
.legal__body a { color: var(--accent); font-weight: 700; overflow-wrap: anywhere; }
.legal__test { padding: 14px 18px; border-left: 4px solid var(--accent); border-radius: 4px; background: var(--surface-2); font-weight: 600; }
.data-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: .92rem; }
.data-table th, .data-table td { padding: 12px; border: 1px solid var(--border); text-align: left; vertical-align: top; line-height: 1.55; }
.data-table thead th { background: var(--surface-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lost { padding: 200px 0 120px; text-align: center; background: var(--surface-2); }
.lost h1 { font: 900 var(--h1)/1.15 var(--font-display); color: #434343; }
.lost p { max-width: 52ch; margin: 18px auto 0; line-height: 1.66; }
.lost .closing-photo__actions .btn--line { border-color: var(--accent); color: var(--accent); }

@media (max-width: 1180px) {
  .head-call { display: none; }
}
@media (max-width: 1000px) {
  .split__in, .legal__in { grid-template-columns: minmax(0, 1fr); }
  .split .form-card, .split .reach-card, .legal__nav { position: static; }
  .factors__grid, .related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work__grid--4, .build ol, .minor__grid, .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__in, .quality__in, .areas__in, .closing__in, .site-footer__in { grid-template-columns: minmax(0, 1fr); }
  .process__photo { width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 90%); mask-image: linear-gradient(180deg, #000 30%, transparent 90%); }
  .about__in { grid-template-columns: minmax(0, 1fr); }
  .about__media { min-height: 0; aspect-ratio: 16 / 9; }
  .closing__text { padding-block: 72px 0; }
  .form-card { margin-top: 0; }
  .work__grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .values__row { flex-wrap: wrap; }
}
@media (max-width: 860px) {
  body { padding-bottom: 72px; }
  .site-header { position: relative; background: var(--gradient); }
  .site-header__in { justify-content: center; min-height: 76px; }
  .site-header .btn--white { display: none; }
  .site-nav { position: fixed; left: 0; right: 0; bottom: 72px; z-index: 40; display: none; margin: 0; padding: 14px 6vw 22px; background: var(--accent-dark); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); font-size: 1.05rem; }
  .call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 10px 5vw; background: var(--gradient); }
  .call-bar a { display: inline-flex; align-items: center; min-height: 50px; padding: 0 28px; border-radius: var(--radius-pill); background: #fff; color: var(--accent); font-weight: 800; text-decoration: none; }
  .nav-toggle { display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
  .nav-toggle svg { width: 30px; height: 30px; }
  .hero { padding: 0 0 40px; background: #fff; }
  .hero__photo { position: relative; height: 260px; object-position: 75% 60%; }
  .hero__wave { display: none; }
  .hero__card { margin-top: -34px; padding: 92px 22px 30px; box-shadow: none; }
  .ribbon { top: 30px; left: 0; right: 0; border-radius: 24px 0; }
  .quick { box-shadow: none; }
  .quick__in { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 0; }
  .quick a { min-height: 80px; }
  .services__grid { grid-template-columns: minmax(0, 1fr); }
  .services__wave { height: 200px; }
  .steps li { grid-template-columns: 70px minmax(0, 1fr); gap: 2px 20px; }
  .steps i { width: 70px; height: 70px; }
  .steps i svg { width: 38px; height: 38px; }
  .facts__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .facts__row div:nth-child(3) { border-left: 0; }
  .value[aria-pressed="true"] { flex-basis: 100%; }
  .form-card { padding: 24px 20px; }
  .form-card .pair { grid-template-columns: minmax(0, 1fr); }
  .site-footer__cols { grid-template-columns: minmax(0, 1fr); }
  .office { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .quote { position: static; width: auto; margin-top: -40px; margin-left: 16px; margin-right: 16px; position: relative; box-shadow: var(--shadow); }
  .site-nav { max-height: calc(100vh - 72px); overflow-y: auto; }
  .site-nav .has-sub > a::after { display: none; }
  .site-nav .sub { position: static; display: flex; min-width: 0; padding: 0 0 0 16px; border-radius: 0; background: none; box-shadow: none; }
  .site-nav .sub a { color: #fff; font-weight: 600; font-size: .98rem; border-radius: 0; }
  .site-nav .sub a:hover, .site-nav .sub a[aria-current="page"] { background: none; color: #fff; text-decoration: underline; }
  .page-hero { padding: 40px 0 44px; }
  .breadcrumbs ol { margin-bottom: 18px; }
  .ribbon--static { top: auto; left: auto; right: auto; border-radius: 18px 0; }
  .split, .factors, .related, .build, .minor { padding-block: 60px; }
  .factors__grid, .related__grid, .work__grid--4, .build ol, .minor__grid, .values-grid { grid-template-columns: minmax(0, 1fr); }
  .closing-photo { padding: 120px 0 60px; }
  .lost { padding: 80px 0 72px; }
  .data-table thead { display: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; width: 100%; }
  .data-table tr { margin-bottom: 14px; border: 1px solid var(--border); }
  .data-table th, .data-table td { border: 0; border-bottom: 1px solid var(--border); }
  .data-table td::before { content: attr(data-label); display: block; font-weight: 800; color: var(--accent); }
}
