/* Global styles: tokens, header, buttons and shared type. Values from the Figma "Option 2" frame. */
:root {
	--red: #c40303;
	--red-hover: #a90202;
	--danger: #b42318;
	--red-on-dark: #ff4545; /* --red is under 3:1 on the dark panels */
	--ink: #1f1f1f;
	--body: #454545;
	--panel: #f6f6f6;
	--font-display: "Alegreya SC", serif;
	--font-body: "Hanken Grotesk", Arial, sans-serif;

	--spacing-0: 0;
	--spacing-1: 0.25rem;
	--spacing-2: 0.5rem;
	--spacing-3: 0.75rem;
	--spacing-4: 1rem;
	--spacing-5: 1.25rem;
	--spacing-6: 1.5rem;
	--spacing-8: 2rem;
	--spacing-10: 2.5rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Padding all sides */
.p-0 { padding: var(--spacing-0) !important; }
.p-1 { padding: var(--spacing-1) !important; }

/* margin all sides */
.m-0 { margin: var(--spacing-0) !important; }
.m-1 { margin: var(--spacing-1) !important; }

/* Visually hidden but read by screen readers; the skip link reappears on focus. */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; word-wrap: normal !important; }
.skip-link:focus { z-index: 100; top: 12px; left: 12px; width: auto; height: auto; padding: 12px 20px; clip-path: none; border-radius: 8px; background: #fff; color: var(--ink); font-weight: 700; outline: 3px solid var(--red); }

.site { position: relative; }
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: 80px; padding-right: 80px; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 10; width: 100%; background: var(--ink); }
.site-header__inner { display: flex; justify-content: space-between; align-items: center; padding-top: 4px; padding-bottom: 4px; }
.has-overlay-header .site-header { position: absolute; top: 0; left: 0; }
.logo, .custom-logo-link { display: flex; align-items: center; gap: 7px; }
.logo__mark { font-size: 54px; font-weight: 700; line-height: 61px; letter-spacing: -5px; color: var(--red); }
.logo__word { width: 135px; height: 22px; padding-left: 0.15px; white-space: nowrap; font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 22px; letter-spacing: 5px; text-transform: uppercase; color: #fff; }

.nav { border-radius: 8px; backdrop-filter: blur(4.95px); }
.nav__menu { display: flex; align-items: center; }
.nav__menu > li { position: relative; }
.nav__menu a { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 8px 8px 8px 12px; border-radius: 100px; font-size: 16px; line-height: 126%; text-align: center; text-transform: capitalize; color: #fff; }
.nav__menu .menu-item-has-children > a::after { content: ""; width: 8px; height: 8px; background: url(../img/icons/chevron-up-white.svg) center / contain no-repeat; transform: rotate(180deg); }
.nav__menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px 0; border-radius: 8px; background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .15s .15s, visibility 0s .3s; }
/* Opens at once, but waits 150ms before closing so a pointer briefly leaving the panel doesn't dismiss it. */
.nav__menu li:hover > .sub-menu, .nav__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transition: opacity .15s; }
.nav__menu .sub-menu a { justify-content: flex-start; padding: 8px 16px; border-radius: 0; text-align: left; }
.nav__menu .sub-menu a:hover, .nav__menu .current-menu-item > a { color: var(--red); }
/* Long city lists (Gate Repair/Installation) open as a 4-column panel, like the live site. */
@media (min-width: 1201px) {
	.nav__menu .sub-menu:has(> li:nth-child(7)) { display: grid; grid-template-columns: repeat(4, max-content); left: 50%; transform: translateX(-50%); }
}
/* The menu's own Contact Us item duplicates the header button. */
.nav__menu > li:not(.nav__cta):has(> a[href$="/contact-us/"]) { display: none; }
.sub-toggle { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; height: 52px; padding: 4px 24px; border-radius: 100px; font-size: 16px; font-weight: 600; line-height: 148%; text-transform: uppercase; color: #fffdfd; white-space: nowrap; }
.btn--red { gap: 10px; background: var(--red); }
.btn--header { min-width: 180px; height: 48px; flex-shrink: 0; }
.btn--lg { min-width: 220px; }
/* Variants only change colour and border; size, radius and type all come from .btn. */
.btn--dark, .btn--white { gap: 8px; border: 1px solid #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--ghost { gap: 8px; border: 1px solid currentColor; background: transparent; color: var(--ink); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); }
.btn--phone { min-width: 213px; justify-content: flex-start; }
/* Theme icons (four_sure_gates_icon): the SVG is a mask, so the icon takes the text colour. */
.icon { display: inline-block; width: 1.125em; height: 1.125em; flex-shrink: 0; background-color: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.tag .icon { width: 32px; height: 32px; }
.icon-phone { width: 16.39px; height: 16px; margin: 0 3.806px; flex-shrink: 0; fill: currentColor; }
.btn-row { display: flex; align-items: center; gap: 16px; }
.btn-row--indent { align-self: stretch; padding-left: 64px; }
.btn-row--center { justify-content: center; }

/* ---------- global sections ---------- */
.global-estimate { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 5vw, 76px) 0; scroll-margin-top: 110px; background: linear-gradient(135deg, #151515 0%, #211b1b 58%, #2b1111 100%); color: #fff; }
.global-estimate::before { content: ""; position: absolute; z-index: -1; top: -260px; right: -160px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 3, 3, .32), rgba(196, 3, 3, 0) 69%); pointer-events: none; }
.global-estimate::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent); }
.global-estimate .estimate-form-inner { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(520px, 1.2fr); align-items: center; gap: clamp(40px, 5vw, 72px); }
.global-estimate__copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; text-align: left; }
.global-estimate__copy .global-estimate__eyebrow { color: rgba(255, 255, 255, .74); font-size: 14px; line-height: normal; letter-spacing: 4px; }
.global-estimate__eyebrow.eyebrow--fade-out::after { background: linear-gradient(90deg, var(--red), rgba(196, 3, 3, 0)); }
.global-estimate__copy h2 { max-width: 600px; font-family: var(--font-display); font-size: clamp(40px, 4vw, 54px); font-weight: 700; line-height: .95; letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.global-estimate__copy h2 em { color: var(--red-on-dark); font-style: normal; }
.global-estimate__copy p { max-width: 590px; color: rgba(255, 255, 255, .74); font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.global-estimate__intro a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.global-estimate__intro a:hover, .global-estimate__address a:hover { color: #fff; text-decoration-color: #fff; }
.global-estimate__intro a:focus-visible, .global-estimate__address a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.global-estimate__copy .global-estimate__address { color: #fff; font-size: 16px; font-weight: 600; }
.global-estimate__address a { color: inherit; text-decoration: underline; text-decoration-color: rgba(196, 3, 3, .9); text-underline-offset: 5px; }
.global-estimate__proof { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.global-estimate__proof li { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .86); font-size: 15px; font-weight: 600; line-height: 1.4; }
.global-estimate__proof svg { width: 20px; height: 20px; flex: 0 0 20px; padding: 3px; border-radius: 50%; background: rgba(196, 3, 3, .2); fill: none; stroke: #ff6b6b; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.global-estimate__form-card { min-width: 0; padding: clamp(24px, 2.4vw, 32px); border: 1px solid rgba(255, 255, 255, .75); border-radius: 24px; background: rgba(255, 255, 255, .98); box-shadow: 0 28px 70px rgba(0, 0, 0, .32); color: var(--ink); }

.global-reviews { position: relative; padding: clamp(72px, 8vw, 104px) 0; background: linear-gradient(180deg, #f7f4f0 0%, #fff 100%); }
.global-reviews__inner { display: flex; flex-direction: column; gap: 40px; }
.global-reviews__inner, .global-reviews__content { min-width: 0; }
.global-reviews__header, .global-map__header, .global-map__header > div { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.global-reviews__header .h2, .global-map__header .h2 { align-self: center; max-width: 760px; text-wrap: balance; }
.global-reviews__description, .global-map__header > p { max-width: 680px; color: var(--body); font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.global-reviews__content { overflow: hidden; padding: clamp(16px, 2.4vw, 32px); border: 1px solid rgba(31, 31, 31, .08); border-radius: 28px; background: #fff; box-shadow: 0 24px 60px rgba(31, 31, 31, .08); }
.global-reviews__content iframe { max-width: 100%; }
.global-reviews__action { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; border-radius: 20px; background: var(--ink); color: #fff; }
.global-reviews__action p { max-width: 680px; font-size: 18px; font-weight: 600; line-height: 1.5; }
.global-reviews__action .btn { min-height: 52px; flex: 0 0 auto; transition: background-color .2s ease, transform .2s ease; }
.global-reviews__action .btn:hover { background: var(--red-hover); transform: translateY(-2px); }
.global-reviews__action .btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.global-map { padding: clamp(72px, 7vw, 96px) 0; background: #fff; }
.global-map__inner { display: flex; flex-direction: column; gap: 36px; }
.global-map__panel { position: relative; min-height: 520px; overflow: hidden; border: 1px solid rgba(31, 31, 31, .1); border-radius: 28px; background: #e5e3df; box-shadow: 0 24px 64px rgba(31, 31, 31, .12); }
.global-map__panel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.global-map .map-card { right: 28px; bottom: 28px; left: auto; width: 340px; max-width: calc(100% - 56px); padding: 26px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px 20px 20px 4px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.global-map .map-card__link { min-height: 48px; padding: 4px 20px; border-radius: 100px; box-shadow: none; }
.global-map .map-card__link:hover { background: var(--red-hover); }
.global-map .map-card__link:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
:is(#quote-form, .estimate-form-embed) .wpcf7-form { margin: 28px 0 0; }
.estimate-form-embed .wpcf7-form { margin-top: 0; }
:is(#quote-form, .estimate-form-embed) .estimate-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
:is(#quote-form, .estimate-form-embed) .estimate-field-full, :is(#quote-form, .estimate-form-embed) .estimate-submit, :is(#quote-form, .estimate-form-embed) .wpcf7-response-output { grid-column: 1 / -1; }
:is(#quote-form, .estimate-form-embed) .estimate-field, :is(#quote-form, .estimate-form-embed) .estimate-field p { position: relative; width: 100%; margin: 0; }
:is(#quote-form, .estimate-form-embed) .estimate-field br { display: none; }
:is(#quote-form, .estimate-form-embed) .estimate-field .wpcf7-form-control-wrap { position: relative; display: block; width: 100%; }
:is(#quote-form, .estimate-form-embed) .estimate-form-grid .wpcf7-form-control-wrap::before { content: ""; position: absolute; z-index: 1; top: 15px; left: 16px; width: 20px; height: 20px; background-position: center; background-repeat: no-repeat; background-size: contain; pointer-events: none; }
:is(#quote-form, .estimate-form-embed) .estimate-form-grid .wpcf7-form-control-wrap[data-name="your-name"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2937' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M5.5 21a6.5 6.5 0 0 1 13 0'/%3E%3C/svg%3E"); }
:is(#quote-form, .estimate-form-embed) .estimate-form-grid .wpcf7-form-control-wrap[data-name="your-phone"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2937' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L8 9.73a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
:is(#quote-form, .estimate-form-embed) .estimate-form-grid .wpcf7-form-control-wrap[data-name="your-email"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2937' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
:is(#quote-form, .estimate-form-embed) .estimate-form-grid .wpcf7-form-control-wrap[data-name="your-city"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2937' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
:is(#quote-form, .estimate-form-embed) .estimate-form-grid .wpcf7-form-control-wrap[data-name="service-needed"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2937' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .34 1.88l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.7 1.7 0 0 0-1.88-.34 1.7 1.7 0 0 0-1 1.55V21a2 2 0 1 1-4 0v-.09A1.7 1.7 0 0 0 9 19.36a1.7 1.7 0 0 0-1.88.34l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.7 1.7 0 0 0 4.63 15a1.7 1.7 0 0 0-1.55-1H3a2 2 0 1 1 0-4h.09A1.7 1.7 0 0 0 4.64 9a1.7 1.7 0 0 0-.34-1.88l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.7 1.7 0 0 0 9 4.63h.01a1.7 1.7 0 0 0 1-1.55V3a2 2 0 1 1 4 0v.09a1.7 1.7 0 0 0 1 1.55 1.7 1.7 0 0 0 1.88-.34l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.7 1.7 0 0 0 19.37 9v.01a1.7 1.7 0 0 0 1.55 1H21a2 2 0 1 1 0 4h-.09a1.7 1.7 0 0 0-1.51 1z'/%3E%3C/svg%3E"); }
:is(#quote-form, .estimate-form-embed) .estimate-form-grid .wpcf7-form-control-wrap[data-name="your-message"]::before { top: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2937' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E"); }
:is(#quote-form, .estimate-form-embed) .estimate-field .estimate-icon { position: absolute; z-index: 2; top: 50%; left: 18px; color: #495057; font-size: 17px; line-height: 1; pointer-events: none; transform: translateY(-50%); }
:is(#quote-form, .estimate-form-embed) .estimate-message .estimate-icon { top: 24px; transform: none; }
:is(#quote-form, .estimate-form-embed) .estimate-field input:not([type="submit"]), :is(#quote-form, .estimate-form-embed) .estimate-field select, :is(#quote-form, .estimate-form-embed) .estimate-field textarea { width: 100%; padding: 12px 16px 12px 48px; border: 1.5px solid #767f8a; border-radius: 6px; outline: none; background: #fff; color: #495057; font: inherit; font-size: 16px; line-height: 24px; transition: border-color .2s, box-shadow .2s; }
:is(#quote-form, .estimate-form-embed) .estimate-field select { appearance: none; padding-right: 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5L6 6L10.5 1.5' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E"); background-position: right 18px center; background-repeat: no-repeat; cursor: pointer; }
:is(#quote-form, .estimate-form-embed) .estimate-field textarea { height: 112px; min-height: 112px; resize: vertical; }
:is(#quote-form, .estimate-form-embed) .estimate-field input:focus, :is(#quote-form, .estimate-form-embed) .estimate-field select:focus, :is(#quote-form, .estimate-form-embed) .estimate-field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(196, 3, 3, .25); color: var(--ink); }
:is(#quote-form, .estimate-form-embed) .estimate-field .wpcf7-not-valid { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
:is(#quote-form, .estimate-form-embed) .estimate-submit { margin-top: 4px; text-align: center; }
:is(#quote-form, .estimate-form-embed) .estimate-submit p { position: relative; display: inline-block; margin: 0; }
:is(#quote-form, .estimate-form-embed) .estimate-submit .wpcf7-turnstile { display: flex; justify-content: center; max-width: 100%; margin-bottom: 8px; overflow: hidden; }
:is(#quote-form, .estimate-form-embed) input[type="submit"].wpcf7-submit { min-width: min(420px, 100%); padding: 16px 36px; border: 0; border-radius: 100px; background: var(--red); box-shadow: 0 8px 22px rgba(196, 3, 3, .2); color: #fff; cursor: pointer; font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: background-color .2s, transform .1s; }
:is(#quote-form, .estimate-form-embed) input[type="submit"].wpcf7-submit:hover { background: var(--red-hover); }
:is(#quote-form, .estimate-form-embed) input[type="submit"].wpcf7-submit:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
:is(#quote-form, .estimate-form-embed) input[type="submit"].wpcf7-submit:active { transform: translateY(1px); }
:is(#quote-form, .estimate-form-embed) .estimate-submit .wpcf7-spinner { position: absolute; z-index: 2; top: 50%; right: 14px; margin: 0; transform: translateY(-50%); }
:is(#quote-form, .estimate-form-embed) .wpcf7-not-valid-tip { display: block; margin-top: 6px; color: var(--danger); font-size: 13px; font-weight: 600; text-align: left; }
:is(#quote-form, .estimate-form-embed) .wpcf7-response-output { margin: 18px 0 0; padding: 14px 20px; border-radius: 6px; font-size: 15px; font-weight: 600; text-align: center; }
:is(#quote-form, .estimate-form-embed) .wpcf7 form.sent .wpcf7-response-output { border-color: #28a745; background: #d4edda; color: #155724; }
:is(#quote-form, .estimate-form-embed) .wpcf7 form.invalid .wpcf7-response-output { border-color: var(--danger); background: #f8d7da; color: #721c24; }
:is(#quote-form, .estimate-form-embed) .wpcf7 form.unaccepted .wpcf7-response-output, :is(#quote-form, .estimate-form-embed) .wpcf7 form.spam .wpcf7-response-output, :is(#quote-form, .estimate-form-embed) .wpcf7 form.failed .wpcf7-response-output { border-color: #ffc107; background: #fff3cd; color: #856404; }
#quote-form .global-estimate__form-card .wpcf7-form { margin-top: 0; }
#quote-form .global-estimate__form-card input[type="submit"].wpcf7-submit { width: auto; max-width: 100%; }

/* ---------- shared type ---------- */
.h2 { align-self: stretch; font-family: var(--font-display); font-size: clamp(36px, 1.94vw + 28.7px, 52px); /* 36px at 375 → 52px at 1200 */ font-weight: 500; line-height: 110%; letter-spacing: -.02em; color: var(--ink); }
.h2 em { font-style: normal; font-weight: 700; color: var(--red); }
.h2--light { line-height: 128%; color: #fff; }

.eyebrow { display: flex; align-items: center; gap: 24px; align-self: stretch; font-size: 14px; font-weight: 600; line-height: normal; letter-spacing: 4px; text-transform: uppercase; color: var(--red); }
.eyebrow--fade-out::after,
.eyebrow--center::after { content: ""; width: 80px; height: 1px; background: linear-gradient(90deg, #c40303 0%, rgba(196, 3, 3, 0) 100%); }
.eyebrow--center { align-self: center; }
.eyebrow--center::before, .eyebrow--center::after { flex-shrink: 0; }
/* Negative margin cancels the trailing letter-spacing so the text sits optically centred between the rules. */
.eyebrow--center span { margin-right: -4px; text-align: center; }
.eyebrow--center::before { content: ""; width: 80px; height: 1px; background: linear-gradient(90deg, rgba(196, 3, 3, 0) 0%, #c40303 100%); }
.eyebrow--light { color: rgba(255, 255, 255, 0.85); }
.eyebrow--light.eyebrow--fade-out::after { background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%); }

/* ---------- default template ---------- */
.site-main--default { max-width: 960px; margin: 0 auto; padding: 80px 24px; }
.site-main--default .entry-title { margin-bottom: 24px; font-family: var(--font-display); font-size: 52px; font-weight: 500; }
.site-main--default .entry-content > * + * { margin-top: 1em; }

/* ---------- responsive ---------- */
.nav-toggle, .nav__cta { display: none; }

/* Sticky call/estimate bar for phones (markup in footer.php). */
.mobile-cta { display: none; }

@media (max-width: 1200px) {
	/* Keep the menu reachable while scrolling; the overlay header goes fixed since absolute can't stick. */
	.site-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); }
	.has-overlay-header .site-header { position: fixed; top: var(--wp-admin--admin-bar--height, 0px); }
	.site-header__inner { gap: 16px; padding-top: 8px; padding-bottom: 8px; }
	.btn--header { margin-left: auto; }
	.nav-toggle { order: 3; position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; background: transparent; cursor: pointer; }
	.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, background .2s; }
	.nav-toggle span { position: relative; }
	.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
	.nav-toggle span::before { top: -6px; }
	.nav-toggle span::after { top: 6px; }
	.is-open .nav-toggle span { background: transparent; }
	.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
	.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

	.nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 8px 0 24px; border-radius: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); background: var(--ink); backdrop-filter: none; }
	.is-open .nav { display: block; max-height: calc(100dvh - 72px); overflow-y: auto; }
	.nav__menu { flex-direction: column; align-items: stretch; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 40px; }
	.nav__menu > li { display: flex; flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
	.nav__menu > li > a { flex: 1; justify-content: space-between; padding: 14px 0; border-radius: 0; font-size: 18px; }
	.nav__menu .menu-item-has-children > a::after { content: none; }
	.sub-toggle { display: flex; align-items: center; justify-content: center; width: 48px; border: 0; background: transparent; cursor: pointer; }
	.sub-toggle::before { content: ""; width: 10px; height: 10px; background: url(../img/icons/chevron-up-white.svg) center / contain no-repeat; transform: rotate(180deg); transition: transform .2s; }
	.is-expanded > .sub-toggle::before { transform: none; }
	.nav__menu .sub-menu { display: none; flex-basis: 100%; position: static; padding: 0 0 8px 16px; opacity: 1; visibility: visible; }
	.nav__menu .is-expanded > .sub-menu { display: block; }
	.nav__menu > li.nav__cta { border-bottom: 0; }
}

@media (max-width: 991px) {
	.container { padding-left: 40px; padding-right: 40px; }
	.global-estimate .estimate-form-inner { grid-template-columns: 1fr; gap: 44px; }
	.global-estimate__copy { max-width: 760px; }
	.global-estimate__copy h2 { max-width: 720px; }
	.global-map__panel { min-height: 440px; }
}

@media (max-width: 640px) {
	body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	.mobile-cta { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .12); background: var(--ink); box-shadow: 0 -8px 24px rgba(0, 0, 0, .2); }
	.mobile-cta .btn { width: 100%; height: 52px; gap: 8px; padding: 4px 12px; font-size: 15px; }
	.mobile-cta .btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
	/* main.js hides the bar while the hero's own buttons are on screen; it slides up once they scroll away. */
	.mobile-cta { transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
	.mobile-cta.is-hidden { visibility: hidden; transform: translateY(100%); transition: transform .2s ease-in, visibility 0s .2s; }
	.site-header.is-open ~ .mobile-cta { display: none; }
	.container { padding-left: 20px; padding-right: 20px; }
	.logo__mark { font-size: 46px; line-height: 52px; }
	.logo__word { font-size: 22px; letter-spacing: 4px; }
	.btn--header { display: none; }
	.nav-toggle { margin-left: auto; }
	.nav__menu { padding: 0 20px; }
	.nav__cta { display: block; padding-top: 20px; }
	.nav__cta .btn { width: 100%; padding: 4px 24px; border-bottom: 0; font-size: 16px; justify-content: center; }
	.eyebrow { gap: 16px; font-size: 13px; letter-spacing: 2px; }
	.eyebrow--center::before, .eyebrow--center::after { width: 32px; }
	.eyebrow--center span { margin-right: -2px; }
	.btn-row { flex-direction: column; align-items: stretch; width: 100%; }
	.btn-row .btn { width: 100%; justify-content: center; }
	.btn-row--indent { padding-left: 0; }
	.global-reviews { padding: 60px 0 64px; }
	.global-reviews__inner { gap: 28px; }
	.global-reviews__header { gap: 12px; }
	.global-reviews__description { font-size: 16px; }
	.global-reviews__content { padding: 14px; border-radius: 20px; }
	.global-reviews__action { flex-direction: column; align-items: stretch; padding: 22px 20px; }
	.global-reviews__action p { font-size: 16px; }
	.global-reviews__action .btn { width: 100%; white-space: normal; text-align: center; }
	.global-map { padding: 60px 0 64px; }
	.global-map__inner { gap: 24px; }
	.global-map__header { gap: 12px; }
	.global-map__header > p { font-size: 16px; }
	.global-map__panel { min-height: 0; display: flex; flex-direction: column; border-radius: 20px; }
	.global-map__panel iframe { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; flex: none; }
	.global-map .map-card { position: relative; inset: auto; width: 100%; max-width: none; padding: 24px; border: 0; border-radius: 0; box-shadow: none; }
	.global-estimate { padding: 48px 0 52px; }
	.global-estimate::before { top: -210px; right: -260px; width: 520px; height: 520px; }
	.global-estimate .estimate-form-inner { gap: 32px; }
	.global-estimate__copy h2 { font-size: clamp(34px, 10vw, 40px); }
	.global-estimate__copy p { font-size: 17px; }
	.global-estimate__copy .global-estimate__eyebrow { font-size: 13px; letter-spacing: 2px; }
	.global-estimate__proof { gap: 8px; }
	.global-estimate__form-card { padding: 20px; border-radius: 20px; }
	:is(#quote-form, .estimate-form-embed) .estimate-form-grid { grid-template-columns: 1fr; gap: 14px; }
	:is(#quote-form, .estimate-form-embed) .estimate-field-full, :is(#quote-form, .estimate-form-embed) .estimate-submit, :is(#quote-form, .estimate-form-embed) .wpcf7-response-output { grid-column: 1; }
	:is(#quote-form, .estimate-form-embed) .estimate-submit p { display: block; width: 100%; }
	:is(#quote-form, .estimate-form-embed) input[type="submit"].wpcf7-submit { width: 100%; min-width: 0; padding-right: 20px; padding-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.mobile-cta, .mobile-cta.is-hidden { transition: none; }
}

/* ---------- accessibility ---------- */
.h2--light em { color: var(--red-on-dark); }
/* CF7 fields are wrapped in <label> (with screen-reader text) so each input has an accessible name. */
:is(#quote-form, .estimate-form-embed) .estimate-field label { display: block; }

/* ---------- scroll reveal (classes added by main.js, skipped for reduced motion) ---------- */
body { overflow-x: clip; } /* Keeps side-sliding images from adding a horizontal scrollbar. */
.reveal { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0s), transform .9s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0s); }
.reveal--left { transform: translate3d(-72px, 0, 0); }
.reveal--right { transform: translate3d(72px, 0, 0); }
.reveal.is-visible { opacity: 1; transform: none; }
