/* ==========================================================================
   Ranger Electrical & General Contracting
   Classic contractor layout. Brand palette: Ranger Red, Signal Yellow,
   Charcoal Black, White.
   ========================================================================== */

:root {
	--red: #E50914;
	--red-dark: #C0070F;
	--yellow: #FFD21A;
	--yellow-dark: #EBBD00;
	--ink: #1C1E24;
	--dark: #1C1E24;
	--dark-2: #272A33;
	--text: #62656D;
	--light: #F5F5F2;
	--line: #E5E5E1;
	--white: #FFFFFF;

	--f-head: "Poppins", "Helvetica Neue", Arial, sans-serif;
	--f-body: "Roboto", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 6px;
	--section: clamp(64px, 8vw, 110px);
	--shadow: 0 18px 40px -22px rgba(28, 30, 36, .35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--f-body); font-size: 1rem; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--ink); font-family: var(--f-head); font-weight: 600; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--yellow); color: var(--ink); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.icon { flex: none; }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--f-head); font-weight: 600; font-size: .95rem; color: var(--red); margin-bottom: 10px; }
.eyebrow--yellow { color: var(--yellow); }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; line-height: 1.2; }
.h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 600; }
.lede { font-size: 1.08rem; }
.accent { color: var(--red); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p:not(.eyebrow) { margin: 0; font-size: 1.05rem; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 640px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; text-decoration: none; color: var(--red); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	min-height: 52px; padding: 12px 26px;
	font-family: var(--f-head); font-weight: 600; font-size: .98rem; line-height: 1.1;
	text-decoration: none; border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 10px 22px -12px rgba(229, 9, 20, .7); }
.btn--red:hover { background: var(--red-dark); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-dark); }
.btn--dark { background: var(--dark); color: var(--white); }
.btn--dark:hover { background: var(--dark-2); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); box-shadow: none; }
.btn--outline-light:hover { background: var(--white); color: var(--ink); }
.btn--outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--outline-dark:hover { background: var(--ink); color: var(--white); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn__num { font-weight: 500; opacity: .9; padding-left: 10px; margin-left: 2px; border-left: 1px solid currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--dark); color: #C9CAD0; font-size: .9rem; }
.topbar__in { display: flex; align-items: center; gap: 32px; min-height: 44px; }
.topbar__item { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.topbar__item .icon { color: var(--red); }
.topbar__phone { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; color: var(--yellow); text-decoration: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 6px 24px -14px rgba(28, 30, 36, .35); }
.site-header__in { display: flex; align-items: center; gap: 12px; min-height: 84px; max-width: 1400px; }
.topbar__in { max-width: 1400px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo__mark { width: 36px; height: 42px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--f-head); font-weight: 800; font-size: 1.65rem; letter-spacing: .04em; text-transform: uppercase; }
.logo__sub { font-family: var(--f-head); font-weight: 600; font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin-top: 4px; }
.logo--light { color: var(--white); }
.logo--light .logo__sub { color: var(--yellow); }
.custom-logo { max-height: 56px; width: auto; }

.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__list > li { position: relative; }
.nav__list a { display: block; padding: 10px 7px; font-family: var(--f-head); font-weight: 500; font-size: .9rem; color: var(--ink); text-decoration: none; white-space: nowrap; transition: color .15s; }
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current_page_item > a, .nav__list a[aria-current="page"] { color: var(--red); }
.nav__list .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav .sub-menu { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--white); border-top: 3px solid var(--red); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav .sub-menu a { padding: 9px 20px; }
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__mobile-cta { display: none; }

.header-btn { display: inline-flex; align-items: center; gap: 8px; flex: none; margin-left: 8px; padding: 13px 18px; background: var(--red); color: var(--white); border-radius: var(--radius); font-family: var(--f-head); font-weight: 600; font-size: .9rem; text-decoration: none; transition: background-color .15s; }
.header-btn:hover { background: var(--red-dark); }
.header-call { display: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: var(--white); flex: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle__close { display: none; }
.site-header--static { position: relative; }
.site-header.is-stuck { position: fixed; left: 0; right: 0; top: 0; z-index: 50; }
.logo--image img, .logo--image .custom-logo { max-height: 56px; width: auto; }
a.topbar__item { color: inherit; text-decoration: none; }
a.topbar__item:hover { color: var(--white); }

@media (max-width: 1400px) and (min-width: 1261px) { .nav__list a { padding: 10px 6px; font-size: .86rem; } .header-btn { padding: 11px 14px; font-size: .86rem; } }
/* Tablet and small laptop: keep logo, menu and button on one row, compacting as space shrinks */
@media (max-width: 1260px) and (min-width: 761px) {
	.site-header__in { gap: 8px; }
	.logo { gap: 8px; }
	.logo__mark { width: 30px; height: 35px; }
	.logo__name { font-size: 1.4rem; }
	.logo__sub { font-size: .54rem; letter-spacing: .04em; }
	.nav__list a { padding: 10px 5px; font-size: .84rem; }
	.header-btn { margin-left: 4px; padding: 11px 12px; font-size: .82rem; }
}
@media (max-width: 1180px) and (min-width: 761px) {
	.header-btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
	.header-btn span { display: none; }
	.nav__list a { padding: 10px 4px; font-size: .8rem; }
}
@media (max-width: 1020px) and (min-width: 761px) {
	.logo__sub { display: none; }
	.nav__list a { padding: 10px 3px; font-size: .76rem; }
	.nav__list .menu-item-has-children > a::after { width: 5px; height: 5px; margin-left: 3px; }
}
@media (max-width: 880px) and (min-width: 761px) {
	.logo__name { font-size: 1.2rem; }
	.nav__list a { padding: 10px 3px; font-size: .72rem; }
}
@media (max-width: 810px) and (min-width: 761px) {
	.logo__mark { width: 26px; height: 30px; }
	.logo__name { font-size: 1.05rem; }
	.nav__list a { padding: 10px 2px; font-size: .68rem; }
	.nav__list .menu-item-has-children > a::after { width: 4px; height: 4px; margin-left: 2px; }
	.header-btn { width: 38px; height: 38px; }
}
@media (max-width: 760px) {
	.header-btn { display: none; }
	.header-call { display: grid; margin-left: auto; }
	.nav-toggle { display: inline-flex; }
	.site-header__in { min-height: 72px; gap: 10px; }
	.nav { position: fixed; inset: 112px 0 0 0; z-index: 40; background: var(--dark); overflow-y: auto; padding: 16px var(--gutter) 120px; margin: 0; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
	.nav-open .nav { transform: none; visibility: visible; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list a { color: var(--white); font-size: 1.15rem; padding: 14px 0; border-bottom: 1px solid #343843; white-space: normal; }
	.nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
	.nav .sub-menu a { font-size: 1rem; color: #C9CAD0; padding: 12px 0; }
	.nav__list .menu-item-has-children > a::after { display: none; }
	.nav__mobile-cta { display: grid; gap: 12px; margin-top: 28px; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 700px) {
	.topbar__item--loc { display: none; }
	a.topbar__item { text-decoration: none; }
	.topbar__in { gap: 12px; }
}
@media (max-width: 420px) {
	.topbar__item--hours span { font-size: .82rem; }
	.logo__name { font-size: 1.4rem; }
	.logo__sub { font-size: .56rem; }
}

/* ---------- Hero slider ---------- */
.slider { position: relative; background: var(--dark); color: var(--white); overflow: hidden; }
.slider__track { position: relative; display: grid; }
.slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__media { position: absolute; inset: 0; }
.slide__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease; }
.slide.is-active .slide__img { transform: scale(1); }
.slide__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 22, 28, .9) 0%, rgba(20, 22, 28, .7) 45%, rgba(20, 22, 28, .25) 100%); }
.slide__in { position: relative; min-height: clamp(520px, 72vh, 700px); display: flex; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.slide__copy { max-width: 720px; }
.slide__kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 500; font-size: 1rem; line-height: 1.4; color: var(--yellow); margin: 0 0 18px; }
.slide__kicker::before { content: ""; width: 34px; height: 3px; background: var(--red); flex: none; }
.slide__title { font-family: var(--f-head); font-weight: 700; font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.08; color: var(--white); margin: 0 0 20px; text-wrap: balance; }
.slide__text { font-size: 1.12rem; color: #D7D8DD; max-width: 520px; margin-bottom: 32px; }
.slider__arrow { position: absolute; top: 50%; z-index: 3; width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); background: rgba(20, 22, 28, .35); color: var(--white); display: grid; place-items: center; cursor: pointer; transform: translateY(-50%); transition: background-color .15s, border-color .15s; }
.slider__arrow:hover { background: var(--red); border-color: var(--red); }
.slider__arrow--prev { left: 20px; }
.slider__arrow--prev .icon { transform: rotate(180deg); }
.slider__arrow--next { right: 20px; }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 72px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.slider__dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--white); background: transparent; padding: 0; cursor: pointer; transition: width .2s; }
.slider__dot.is-active { background: var(--red); border-color: var(--red); width: 30px; border-radius: 6px; }
@media (max-width: 1320px) { .slider__arrow { top: auto; bottom: 64px; transform: none; } .slider__arrow--prev { left: auto; right: 84px; } }
@media (max-width: 900px) { .slider__arrow { display: none; } .slide__media::after { background: linear-gradient(180deg, rgba(20, 22, 28, .55) 0%, rgba(20, 22, 28, .92) 70%); } .slide__in { min-height: 560px; align-items: flex-end; padding-bottom: 72px; } .slider__dots { bottom: 28px; } }
@media (max-width: 520px) { .slide .btn-row .btn { width: 100%; } }

/* Quick contact strip */
.quickbar { position: relative; z-index: 4; margin-top: -48px; }
.quickbar__in { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); padding: 0; }
.quickbar__in > a:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.quickbar__in > a:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.quickbar__item { display: flex; align-items: center; gap: 14px; padding: 22px 26px; text-decoration: none; background: var(--white); border-right: 1px solid var(--line); box-shadow: var(--shadow); transition: background-color .15s; }
.quickbar__item:last-child { border-right: 0; }
.quickbar__item:hover { background: var(--light); }
.quickbar__item small { display: block; font-size: .85rem; color: var(--text); }
.quickbar__item strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.quickbar__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--light); color: var(--red); flex: none; }
.quickbar__item--red { background: var(--red); border-right-color: var(--red); }
.quickbar__item--red:hover { background: var(--red-dark); }
.quickbar__item--red small, .quickbar__item--red strong { color: var(--white); }
.quickbar__item--red .quickbar__icon { background: var(--yellow); color: var(--ink); }
@media (max-width: 800px) {
	.quickbar { margin-top: 0; }
	.quickbar__in { grid-template-columns: 1fr; max-width: none; padding: 0; }
	.quickbar__in > a { border-radius: 0 !important; box-shadow: none; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- About (home) ---------- */
.about-home__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-home__media { position: relative; padding: 0 0 70px 0; }
.about-home__main img { width: 86%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius); }
.about-home__sub { position: absolute; left: -4%; bottom: 0; width: 48%; border: 8px solid var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.about-home__sub img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.about-home__badge { position: absolute; right: 0; top: 48px; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 132px; padding: 22px 12px; background: var(--red); color: var(--white); border-radius: var(--radius); text-align: center; font-family: var(--f-head); font-weight: 600; line-height: 1.2; box-shadow: var(--shadow); }
.about-home__badge .icon { color: var(--yellow); }
.checks { list-style: none; margin: 24px 0 32px; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; color: var(--ink); font-weight: 500; }
.checks .icon { color: var(--white); background: var(--red); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
.about-home__foot { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.about-home__call { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.about-home__callicon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 2px dashed var(--red); color: var(--red); }
.about-home__call small { display: block; font-size: .85rem; }
.about-home__call strong { display: block; font-family: var(--f-head); font-size: 1.2rem; color: var(--ink); }
@media (max-width: 900px) { .about-home__in { grid-template-columns: 1fr; } .about-home__media { max-width: 560px; } }

/* ---------- Angled panels ---------- */
.panels { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); background: var(--dark); overflow: hidden; }
.panel { position: relative; display: block; min-height: 420px; color: var(--white); text-decoration: none; isolation: isolate; }
.panel--0 { clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); margin-right: -6%; z-index: 3; }
.panel--1 { clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%); margin: 0 -6%; z-index: 2; }
.panel--2 { clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); margin-left: -6%; z-index: 1; }
.panel--solo { clip-path: none; }
.panel__img, .panel__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.panel__img img { object-fit: cover; transition: transform .6s ease; }
.panel__img::after { content: ""; position: absolute; inset: 0; background: rgba(20, 22, 28, .55); transition: background-color .3s; }
.panel:hover .panel__img img { transform: scale(1.05); }
.panel:hover .panel__img::after { background: rgba(229, 9, 20, .55); }
.panel__body { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.panel__bolt { position: absolute; color: rgba(255, 255, 255, .22); transform: translateY(-28px) scale(1.8); }
.panel__title { position: relative; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.panel__plus { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--red); color: var(--white); font-size: 1.6rem; font-weight: 500; line-height: 1; transition: background-color .2s, color .2s; }
.panel:hover .panel__plus { background: var(--yellow); color: var(--ink); }
@media (max-width: 800px) {
	.panels { grid-template-columns: 1fr; }
	.panel { min-height: 220px; margin: 0 !important; clip-path: none !important; border-bottom: 3px solid var(--dark); }
}

/* ---------- Services row ---------- */
.svc-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.svc-icon { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; }
.svc-icon__ring { position: relative; width: 168px; height: 168px; border-radius: 50%; padding: 8px; border: 2px dashed var(--red); margin-bottom: 30px; transition: border-color .2s, transform .2s; }
.svc-icon__ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.svc-icon__badge { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--red); color: var(--white); border: 4px solid var(--white); transition: background-color .2s, color .2s; }
.svc-icon:hover .svc-icon__ring { border-color: var(--yellow-dark); transform: translateY(-4px); }
.svc-icon:hover .svc-icon__badge { background: var(--yellow); color: var(--ink); }
.svc-icon__title { font-size: 1.25rem; margin-bottom: 8px; }
.svc-icon p { margin: 0 0 12px; font-size: .97rem; }
.svc-icon__more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 600; font-size: .92rem; color: var(--red); }
@media (max-width: 960px) { .svc-icons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .svc-icons { grid-template-columns: 1fr; } }

/* ---------- Help banner ---------- */
.help { position: relative; padding: clamp(64px, 8vw, 110px) 0; background: var(--dark); overflow: hidden; }
.help__bg { position: absolute; inset: 0 0 0 30%; }
.help__bg img { width: 100%; height: 100%; object-fit: cover; }
.help__bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--dark) 0%, rgba(28, 30, 36, 0) 40%); }
.help__in { position: relative; z-index: 2; }
.help__card { max-width: 560px; background: var(--white); padding: clamp(28px, 4vw, 52px); border-radius: var(--radius); box-shadow: var(--shadow); }
.help__card .h2 { padding-left: 20px; border-left: 4px solid var(--red); }
@media (max-width: 760px) { .help__bg { inset: 0; opacity: .5; } }

/* ---------- Works gallery ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: -16px 0 32px; }
.filters__btn { background: none; border: 0; padding: 8px 16px; font-family: var(--f-head); font-weight: 500; font-size: .95rem; color: var(--ink); cursor: pointer; border-radius: 999px; transition: background-color .15s, color .15s; }
.filters__btn:hover { color: var(--red); }
.filters__btn.is-active { background: var(--red); color: var(--white); }
.works__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.works__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; background: var(--dark); }
.works__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.works__item figcaption { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; gap: 8px; padding: 40px 16px 14px; background: linear-gradient(180deg, rgba(20, 22, 28, 0), rgba(20, 22, 28, .85)); color: var(--white); font-family: var(--f-head); font-weight: 500; font-size: .95rem; }
.works__item figcaption .icon { color: var(--yellow); }
.works__item:hover img { transform: scale(1.06); }
.works__item[hidden] { display: none !important; }
@media (max-width: 800px) { .works__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Facts band ---------- */
.facts { background-color: var(--dark); color: #C9CAD0; padding: clamp(56px, 7vw, 88px) 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1.2px, transparent 1.2px); background-size: 18px 18px; }
.facts__in { display: grid; grid-template-columns: .9fr 2fr; gap: 40px; align-items: center; }
.facts__head .h2 { color: var(--white); margin: 0; }
.facts__list { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.facts__list dt { font-family: var(--f-head); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--white); line-height: 1; font-variant-numeric: tabular-nums; }
.facts__list dt::after { content: ""; display: block; width: 32px; height: 3px; background: var(--red); margin: 14px 0 10px; }
.facts__list dd { margin: 0; }
@media (max-width: 860px) { .facts__in { grid-template-columns: 1fr; } }

/* ---------- Problems + emergency card ---------- */
.trouble__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.trouble__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.trouble__list a { display: flex; gap: 10px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; text-decoration: none; line-height: 1.4; transition: color .15s; }
.trouble__list a .icon { color: var(--red); margin-top: 2px; }
.trouble__list a:hover { color: var(--red); }
.trouble__media { position: relative; padding-left: 60px; }
.trouble__media > img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--radius); }
.emergency-card { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: min(320px, 80%); padding: 28px; background: var(--red); color: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.emergency-card__h { font-family: var(--f-head); font-weight: 600; font-size: 1.4rem; margin-bottom: 8px; }
.emergency-card p { color: #FFE3E5; font-size: .95rem; }
.emergency-card a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: 1.5rem; color: var(--white); text-decoration: none; }
.emergency-card a .icon { color: var(--yellow); }
@media (max-width: 900px) { .trouble__in { grid-template-columns: 1fr; } .trouble__media { padding-left: 0; } .emergency-card { position: relative; transform: none; width: auto; margin: -60px 16px 0; top: 0; } }
@media (max-width: 520px) { .trouble__list { grid-template-columns: 1fr; } }

/* ---------- Split CTA (general contracting) ---------- */
.split-cta { position: relative; padding: clamp(56px, 7vw, 96px) 0; background: var(--white); overflow: hidden; }
.split-cta__img { position: absolute; top: 0; bottom: 0; left: 0; width: 60%; }
.split-cta__img img { width: 100%; height: 100%; object-fit: cover; }
.split-cta__in { position: relative; display: flex; justify-content: flex-end; }
.split-cta__card { max-width: 520px; background: var(--white); padding: clamp(28px, 4vw, 52px); border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 760px) { .split-cta__img { position: relative; width: 100%; height: 240px; } .split-cta { padding-top: 0; } .split-cta__card { margin-top: -40px; } }

/* ---------- Process ---------- */
.process { background: var(--light); }
.process .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.process__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 5), 1fr); gap: 20px; position: relative; }
.process__list::before { content: ""; position: absolute; top: 32px; left: 10%; right: 10%; border-top: 2px dashed #C9C9C4; }
.process__step { position: relative; text-align: center; padding: 0 6px; }
.process__n { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--white); color: var(--red); border: 2px solid var(--red); font-family: var(--f-head); font-weight: 700; font-size: 1.4rem; transition: background-color .2s, color .2s; }
.process__step:hover .process__n { background: var(--red); color: var(--white); }
.process__step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.process__step p { margin: 0; font-size: .95rem; }
@media (max-width: 900px) {
	.process__list { grid-template-columns: 1fr; gap: 0; }
	.process__list::before { top: 10px; bottom: 40px; left: 31px; right: auto; border-top: 0; border-left: 2px dashed #C9C9C4; }
	.process__step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; text-align: left; padding-bottom: 26px; }
	.process__n { grid-row: span 2; margin: 0; }
}

/* ---------- FAQ + form ---------- */
.contact-split__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-family: var(--f-head); font-weight: 500; font-size: 1.02rem; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { transition: transform .2s; color: var(--red); }
.faq__item[open] { border-color: var(--red); }
.faq__item[open] summary { color: var(--red); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__a p { margin: 0; padding: 0 20px 20px; }
.areas-line { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; font-size: .95rem; }
.areas-line .icon { color: var(--red); margin-top: 4px; }
.areas-line a { color: var(--red); font-weight: 500; }

.estimate { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.estimate__title { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 8px; }
.estimate__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--f-head); font-weight: 500; font-size: .9rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--text); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: var(--light); border: 1px solid var(--line); border-radius: var(--radius); font-size: 1rem; color: var(--ink); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: var(--white); box-shadow: 0 0 0 3px rgba(229, 9, 20, .15); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--red); }
.field__err { color: var(--red-dark); font-size: .88rem; font-weight: 500; }
.choice { border: 0; padding: 0; margin: 0; }
.choice__row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.choice label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-family: var(--f-body); font-weight: 500; }
.field .choice__row input { accent-color: var(--red); width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; }
.choice label:has(input:checked) { border-color: var(--red); background: #FFF1F2; }
.estimate__submit { margin-top: 6px; }
.estimate__note { font-size: .9rem; margin: 12px 0 0; }
.estimate__note a { color: var(--red); font-weight: 600; }
.form-status { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--radius); margin: 8px 0 16px; color: var(--ink); }
.form-status--ok { background: #EAF7EC; border-left: 4px solid #1F8A3A; }
.form-status--ok .icon { color: #1F8A3A; }
.form-status--err { background: #FDECEC; border-left: 4px solid var(--red); }
.form-status--err .icon { color: var(--red); }
@media (max-width: 900px) { .contact-split__in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .estimate__form { grid-template-columns: 1fr; } }

/* ---------- Articles ---------- */
.articles { background: var(--light); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 30px -22px rgba(28, 30, 36, .5); }
.post-card__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { padding: 22px 24px 26px; }
.post-card time { display: inline-block; font-size: .82rem; font-weight: 500; color: var(--white); background: var(--red); padding: 3px 10px; border-radius: 3px; }
.post-card__title { font-size: 1.2rem; margin: 12px 0 8px; }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { color: var(--red); }
.post-card p { margin: 0; font-size: .97rem; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.pager { margin-top: 40px; }
.pager .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pager .page-numbers { padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; color: var(--ink); }
.pager .page-numbers.current { background: var(--red); border-color: var(--red); color: var(--white); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--red); color: var(--white); overflow: hidden; }
.cta-band__bolt { position: absolute; right: 4%; top: -10%; width: 260px; height: 120%; background: rgba(255, 255, 255, .08); clip-path: polygon(55% 0, 100% 0, 62% 46%, 88% 46%, 30% 100%, 44% 56%, 14% 56%); }
.cta-band__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-top: clamp(40px, 5vw, 60px); padding-bottom: clamp(40px, 5vw, 60px); }
.cta-band__h { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--white); margin-bottom: 6px; max-width: 640px; }
.cta-band p { margin: 0; color: #FFE3E5; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--red, .cta-band .btn--dark { background: var(--dark); box-shadow: none; }
.cta-band .btn--red:hover, .cta-band .btn--dark:hover { background: var(--dark-2); }
.cta-band .btn--yellow { background: var(--white); color: var(--ink); }
.cta-band .btn--yellow:hover { background: var(--yellow); }
@media (max-width: 520px) { .cta-band__actions .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--dark); color: #A9ABB3; padding-top: clamp(56px, 7vw, 84px); font-size: .97rem; }
.footer-bolt { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red) 0 50%, var(--yellow) 50% 100%); }
.site-footer__grid { display: grid; grid-template-columns: var(--footer-cols, 1.4fr 1fr 1fr 1.2fr); gap: 40px; }
.site-footer__tag { font-family: var(--f-head); font-weight: 600; color: var(--white); margin: 20px 0 8px; }
.site-footer__brand p { max-width: 340px; }
.site-footer__license { font-size: .9rem; }
.site-footer__h { font-size: 1.1rem; color: var(--white); margin-bottom: 18px; padding-bottom: 12px; position: relative; }
.site-footer__h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--red); }
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list li { margin-bottom: 9px; }
.site-footer__list a { text-decoration: none; transition: color .15s; }
.site-footer__list a:hover { color: var(--yellow); }
.site-footer__phone { display: block; font-family: var(--f-head); font-weight: 700; font-size: 1.5rem; color: var(--white); text-decoration: none; margin-bottom: 10px; }
.site-footer__phone:hover { color: var(--yellow); }
.site-footer__email { display: block; margin-bottom: 12px; }
.site-footer__meta { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.site-footer__meta .icon { color: var(--red); margin-top: 4px; }
.site-footer__contact .btn { margin-top: 8px; }
.site-footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid #343843; font-size: .88rem; color: #868892; }
.site-footer__base p { margin: 0; }
.site-footer__safety { display: inline-flex; gap: 8px; align-items: center; }
.site-footer__safety .icon { color: var(--yellow); }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
	.action-bar { display: grid; grid-template-columns: 1fr 1.25fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -6px 20px rgba(0, 0, 0, .18); padding-bottom: env(safe-area-inset-bottom); background: var(--dark); }
	.action-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; font-family: var(--f-head); font-weight: 600; font-size: 1rem; text-decoration: none; }
	.action-bar__call { background: var(--red); color: var(--white); }
	.action-bar__est { background: var(--yellow); color: var(--ink); }
	body { padding-bottom: 58px; }
	.nav-open .action-bar { display: none; }
	body.ranger-no-action-bar { padding-bottom: 0; }
	.ranger-no-action-bar .action-bar { display: none; }
	.nav-open .site-header.is-open { z-index: 60; }
}

/* ---------- Inner page banner ---------- */
.banner { position: relative; background: var(--dark); color: var(--white); overflow: hidden; }
.banner__media { position: absolute; inset: 0; }
.banner__img { width: 100%; height: 100%; object-fit: cover; }
.banner__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 22, 28, .92) 0%, rgba(20, 22, 28, .72) 55%, rgba(20, 22, 28, .45) 100%); }
.banner--emergency .banner__media::after { background: linear-gradient(90deg, rgba(110, 4, 10, .92) 0%, rgba(20, 22, 28, .75) 60%, rgba(20, 22, 28, .5) 100%); }
.banner__in { position: relative; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.banner__in > * { max-width: 680px; }
.banner__kicker { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 500; color: var(--yellow); margin-bottom: 12px; }
.banner__kicker::before { content: ""; width: 30px; height: 3px; background: var(--red); flex: none; }
.banner__h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; color: var(--white); line-height: 1.12; margin-bottom: 16px; }
.banner__lede { font-size: 1.1rem; color: #D7D8DD; margin-bottom: 28px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: .9rem; color: #B9BAC1; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #7C7E86; }
.crumbs a { color: var(--white); text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }

.danger-bar { background: var(--yellow); color: var(--ink); }
.danger-bar__in { display: flex; gap: 14px; align-items: center; padding-top: 16px; padding-bottom: 16px; }
.danger-bar p { margin: 0; }
.danger-bar .icon { color: var(--red); }

/* ---------- Service detail ---------- */
.svc-detail__in { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.ticks { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--light); border-radius: var(--radius); color: var(--ink); font-weight: 500; line-height: 1.4; }
.ticks .icon { color: var(--red); flex: none; margin-top: 1px; }
.ticks--compact { grid-template-columns: 1fr; gap: 8px; margin: 18px 0 24px; }
.ticks--compact li { background: none; padding: 0; }
.steps-h { margin-top: 48px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps__n { display: grid; place-items: center; width: 52px; height: 52px; background: var(--red); color: var(--white); font-family: var(--f-head); font-weight: 700; font-size: 1.3rem; border-radius: 50%; }
.steps h3 { font-size: 1.12rem; margin-bottom: 4px; }
.steps p { margin: 0; }
.svc-detail__aside { position: sticky; top: 110px; display: grid; gap: 16px; }
.side-card { background: var(--dark); color: #C9CAD0; padding: 28px; border-radius: var(--radius); border-top: 4px solid var(--red); }
.side-card p { font-size: .95rem; }
.side-card .side-card__h { font-family: var(--f-head); font-weight: 600; font-size: 1.3rem; color: var(--white); margin-bottom: 6px; }
.side-card__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: 1.6rem; color: var(--yellow); text-decoration: none; margin-bottom: 8px; }
.side-card--light { background: var(--light); color: var(--text); }
.side-card--light .side-card__h { color: var(--ink); }
.side-img img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.svc-detail__in--solo { grid-template-columns: 1fr; }
@media (max-width: 960px) { .svc-detail__in { grid-template-columns: 1fr; } .svc-detail__aside { position: static; } .side-img { display: none; } }
@media (max-width: 600px) { .ticks { grid-template-columns: 1fr; } }
.faq-section { background: var(--light); }
.faq-section__in .faq { max-width: 900px; }
.related__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-card { display: flex; align-items: center; gap: 18px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.mini-card:hover { border-color: var(--red); box-shadow: var(--shadow); }
.mini-card__img { width: 100px; flex: none; }
.mini-card__img img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.mini-card__body { display: flex; flex-direction: column; gap: 4px; }
.mini-card__body strong { font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.mini-card__body span { font-size: .93rem; }
.mini-card > .icon { margin-left: auto; color: var(--red); }
@media (max-width: 760px) { .related__grid { grid-template-columns: 1fr; } }
.form-section { background: var(--dark); }
.form-section__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.form-section__img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 900px) { .form-section__in { grid-template-columns: 1fr; } .form-section__img { display: none; } }

/* ---------- Services overview ---------- */
.svc-rows { display: grid; gap: clamp(48px, 7vw, 90px); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.svc-row--flip .svc-row__img { order: 2; }
.svc-row__img { position: relative; }
.svc-row__img::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 2px dashed var(--red); border-radius: var(--radius); }
.svc-row--flip .svc-row__img::before { inset: 20px 20px -20px -20px; }
.svc-row__img img { position: relative; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.svc-row__kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 500; color: var(--red); margin-bottom: 8px; }
.svc-row h2 a { text-decoration: none; }
.svc-row h2 a:hover { color: var(--red); }
@media (max-width: 800px) { .svc-row { grid-template-columns: 1fr; } .svc-row--flip .svc-row__img { order: 0; } .svc-row__img { margin-right: 20px; } }

/* ---------- Prose ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose ul li::marker { color: var(--red); }
.prose a { color: var(--red); font-weight: 500; }
.prose--page { font-size: 1.05rem; }
.prose--wide { max-width: none; }
.prose--after { margin-top: 72px; }
.article-cta { padding: 20px; background: var(--light); border-left: 4px solid var(--red); border-radius: var(--radius); }

/* ---------- Article ---------- */
.article__head { background: var(--dark); color: var(--white); padding: 48px 0 140px; }
.article__head-in { max-width: 900px; }
.article__title { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 16px; }
.article__dek { font-size: 1.15rem; color: #D7D8DD; max-width: 680px; }
.article__meta { font-size: .92rem; color: #A9ABB3; margin: 0; }
.article__figure { margin-top: -110px; max-width: 1100px; }
.article__figure img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.article__layout { display: grid; grid-template-columns: 1fr 320px; gap: 64px; max-width: 1100px; padding-top: 56px; padding-bottom: 72px; }
.article__aside { position: sticky; top: 110px; align-self: start; }
.article__layout--solo { grid-template-columns: 1fr; max-width: 820px; }
.article__head:has(+ .article__nofigure) { padding-bottom: 56px; }
@media (max-width: 900px) { .article__layout { grid-template-columns: 1fr; gap: 32px; } .article__aside { position: static; } }

/* ---------- About page, values, areas, GC, contact ---------- */
.about__in { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about__pics img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.about__pics img:nth-child(2) { margin-top: 48px; }
.values { background: var(--light); }
.values__grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 24px; margin-top: 36px; }
.values__intro { max-width: 680px; font-size: 1.05rem; }
.values__grid > div { padding: 26px; background: var(--white); border-radius: var(--radius); border-bottom: 3px solid var(--red); }
.values__grid .icon { color: var(--red); margin-bottom: 10px; }
.values__grid h3 { font-size: 1.12rem; }
.values__grid p { margin: 0; }
@media (max-width: 900px) { .about__in { grid-template-columns: 1fr; } .values__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values__grid { grid-template-columns: 1fr; } }
.areas-page { display: grid; gap: 40px; }
.area-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.area-grid li { display: flex; gap: 12px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.area-grid .icon { color: var(--red); }
.area-grid span { display: flex; flex-direction: column; line-height: 1.3; }
.area-grid strong { font-family: var(--f-head); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.area-grid small { font-size: .88rem; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; background: var(--light); border-radius: 999px; font-weight: 500; color: var(--ink); }
.chips .icon { color: var(--red); }
.chips--links li { padding: 0; background: none; }
.chips--links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--light); border-radius: 999px; font-weight: 500; text-decoration: none; color: var(--ink); transition: background-color .15s, color .15s; }
.chips--links a:hover { background: var(--red); color: var(--white); }
.gc-page__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.gc-page__side { display: grid; gap: 16px; }
.gc-page__side > img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .gc-page__in { grid-template-columns: 1fr; } }
.contact-page__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-big { padding: 28px; background: var(--red); color: var(--white); border-radius: var(--radius); margin-bottom: 24px; }
.contact-big__h { font-family: var(--f-head); font-weight: 500; margin-bottom: 4px; }
.contact-big__phone { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.4rem); line-height: 1.1; color: var(--white); text-decoration: none; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; }
.contact-list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.contact-list .icon { color: var(--red); margin-top: 3px; }
.problems__warn { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: var(--radius); }
.problems__warn p { margin: 0; }
.problems__warn--light { background: #FDECEC; color: var(--ink); }
.problems__warn--light .icon { color: var(--red); }
@media (max-width: 900px) { .contact-page__in { grid-template-columns: 1fr; } }

/* ---------- 404 / misc ---------- */
.notfound { background: var(--dark); color: #C9CAD0; padding: clamp(80px, 12vw, 160px) 0; }
.notfound .h2 { color: var(--white); }
.notfound__code { font-family: var(--f-head); font-weight: 800; font-size: clamp(5rem, 16vw, 10rem); line-height: .9; color: var(--red); margin-bottom: 16px; }
.notfound .chips--links a { background: var(--dark-2); color: var(--white); }
.notfound .chips--links a:hover { background: var(--red); }
.notfound .btn-row { margin-top: 28px; }
.empty { max-width: 560px; }
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { flex: 1; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.search-form .search-submit { min-height: 48px; padding: 0 18px; background: var(--red); color: var(--white); border: 0; border-radius: var(--radius); font-weight: 600; cursor: pointer; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: .9rem; }

/* ---------- Elementor compatibility ----------
   Ranger widgets sit in full-width containers with no padding or gap, and
   Elementor's generic image reset must not flatten the theme's photo styles. */
.e-con.ranger-section { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; --content-width: 100%; }
.elementor-widget[class*="elementor-widget-ranger-"] { width: 100%; max-width: 100%; margin: 0; }
.elementor-widget[class*="elementor-widget-ranger-"] > .elementor-widget-container { width: 100%; }
.elementor .slide__img,
.elementor .panel__img img,
.elementor .works__item img,
.elementor .help__bg img,
.elementor .split-cta__img img,
.elementor .svc-icon__ring img,
.elementor .banner__img,
.elementor .post-card__img img,
.elementor .form-section__img img { height: 100%; }
.elementor .about-home__main img,
.elementor .about-home__sub img,
.elementor .trouble__media > img,
.elementor .works__item img,
.elementor .side-img img,
.elementor .svc-row__img img,
.elementor .gc-page__side > img,
.elementor .about__pics img { border-radius: var(--radius); }
.elementor .svc-icon__ring img { border-radius: 50%; }
.elementor .post-card__img img { border-radius: 0; }
.estimate-standalone { padding-top: var(--section); padding-bottom: var(--section); max-width: 820px; }

/* Images in the newer sections keep their rounded corners inside Elementor. */
.elementor .mini-card__img img,
.elementor .article__figure img,
.elementor .form-section__img img { border-radius: var(--radius); }
.elementor .article__figure img { height: auto; }
.elementor .logo img { border-radius: 0; }

/* Ranger Layouts (header, footer, article, blog, 404) built with Elementor. */
.ranger-layout--header { position: relative; z-index: 50; }
.ranger-layout .e-con.ranger-section { overflow: visible; }
.site-header-spacer[hidden] { display: none; }
.ranger-layout-canvas .site-main { min-height: 40vh; }
.ranger-layout-canvas--footer .site-main, .ranger-layout-canvas--header .site-main { min-height: 0; }
