/* EcoShell shared page styles for the new pages (2 Nov 2026). Load after /assets/css/style.css.
   Palette: teal #26444b, green #a7cf3a, pale green #f5faea, call red #c8102e (hover #9e0b23). */

.ecoPage .srHero { text-align: left; }
.ecoPage .srHero h1 { color: #26444b; font-size: 34px; line-height: 1.15; margin-bottom: 16px; }
.ecoPage .srKicker { font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; font-size: 14px !important; color: #4d7a00; margin-bottom: 10px !important; }
.ecoPage .srHero p { max-width: 820px; }
.ecoPage .srCta { margin-top: 24px; }
.ecoPage .srSmall { font-size: 16px !important; line-height: 22px !important; opacity: 0.85; }

/* Big call button: same .dc_button.call look, larger */
.ecoPage .dc_button.srBig { font-size: 20px; padding: 18px 24px 18px 56px; background-size: 34px; }
.ecoPage .dc_button.call { margin-bottom: 10px; }

/* Two-column text + image rows */
.ecoPage .srTwoCol { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.ecoPage .srImage img { border-radius: 10px; display: block; }
@media screen and (min-width: 900px) {
	.ecoPage .srTwoCol { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 50px; }
	.ecoPage .srOrphan .srTwoCol { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
	.ecoPage .srHero h1 { font-size: 52px; }
}

/* Tick list */
.ecoPage .srTicks { margin: 10px 0 24px; }
.ecoPage .srTicks li { position: relative; padding-left: 34px; margin-bottom: 12px; font-size: 18px; line-height: 28px; }
.ecoPage .srTicks li:before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: #a7cf3a; }
.ecoPage .srTicks li:after { content: ""; position: absolute; left: 7px; top: 9px; width: 5px; height: 9px; border: solid #26444b; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.ecoPage .srTicks strong { font-weight: 900; }

/* Installer-gone section: dark teal band like the services row */
.ecoPage .srOrphan { background: #26444b; color: white; padding: 50px 0; }
.ecoPage .srOrphan h2 { color: #a7cf3a; font-size: 30px; font-weight: 900; margin-bottom: 14px; line-height: 1.2; }
.ecoPage .srOrphan p { font-size: 18px; line-height: 30px; }
.ecoPage .srOrphan .srTicks li:after { border-color: #26444b; }
.ecoPage .srOrphan .dc_button.call:hover, .ecoPage .srOrphan .dc_button.call:focus { background-color: white; color: #26444b; }
@media screen and (min-width: 1025px) { .ecoPage .srOrphan { padding: 80px 0; } }

/* Warranty Replacement feature: icon sized like the services icons */
.ecoPage .feature .image { background: transparent; border: 2px solid #a7cf3a; display: flex; align-items: center; justify-content: center; padding: 20px; }
.ecoPage .feature .image img { max-width: 160px; height: auto; object-fit: contain; }

/* Big call band */
.ecoPage .srBand { background: #a7cf3a; color: #26444b; text-align: center; padding: 40px 0; }
.ecoPage .srBandTitle { font-weight: 900; text-transform: uppercase; font-size: 20px !important; margin-bottom: 8px !important; }
.ecoPage .srBandNumber { display: inline-block; font-weight: 900; font-size: 40px; line-height: 1.1; color: #26444b; text-decoration: none; padding: 6px 0; }
.ecoPage .srBandNumber:hover, .ecoPage .srBandNumber:focus { text-decoration: underline; }
@media screen and (min-width: 740px) { .ecoPage .srBandNumber { font-size: 64px; } }

/* Also-from cards: two across on wider screens */
@media screen and (min-width: 960px) { .ecoPage .gridItems.srAlso { grid-template-columns: 1fr 1fr; } }
.ecoPage .srAlso .item .image img { aspect-ratio: 3 / 2; object-fit: cover; }
.ecoPage .srAlso .item h3 { margin-bottom: 8px; font-size: 22px; }

/* FAQ */
.ecoPage .srFaq details { border-bottom: 1px solid #d9e8b5; padding: 14px 0; }
.ecoPage .srFaq summary { cursor: pointer; font-weight: 900; font-size: 19px; line-height: 26px; list-style: none; padding-right: 30px; position: relative; }
.ecoPage .srFaq summary::-webkit-details-marker { display: none; }
.ecoPage .srFaq summary:after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 26px; color: #4d7a00; }
.ecoPage .srFaq details[open] summary:after { content: "\2013"; }
.ecoPage .srFaq details p { margin-top: 10px; }

/* Footer NAP line */
.ecoPage .ecoNap { color: white; font-size: 15px !important; line-height: 22px !important; margin-top: 20px; opacity: 0.85; }
.ecoPage footer .contactInfo a { color: white; }

/* Sticky call button: mobile only */
.ecoPage .ecoSticky { display: none; }
@media screen and (max-width: 739px) {
	.ecoPage { padding-bottom: 76px; }
	.ecoPage .ecoSticky {
		display: block; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 1000;
		background: url('/assets/images/phone-icon.svg') 14px center / 30px no-repeat #a7cf3a;
		color: #26444b; font-weight: 900; font-size: 17px; text-align: center; text-decoration: none;
		padding: 16px 12px 16px 50px; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,0.25);
	}
	.ecoPage .dc_button { display: block; text-align: center; margin-right: 0; }
	.ecoPage .dc_button.srBig { font-size: 18px; }
}

/* Header on small phones: keep the number on one line; show the email as an icon only */
@media screen and (max-width: 739px) {
	.ecoPage header .container .contactDetails a .text { white-space: nowrap; }
	.ecoPage header .container .contactDetails a[href^="mailto:"] .text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ===== Phone calls to action in leaflet red (31 Oct 2026) =====
   #c8102e with white text = 5.9:1 contrast (WCAG AA). Hover/focus #9e0b23 = 8.3:1.
   Applies only to tel: buttons, the call band and the sticky mobile button on this page. */
.ecoPage a.dc_button[href^="tel:"],
.ecoPage .srOrphan a.dc_button[href^="tel:"] {
	background: url('/assets/images/phone-icon.svg') 10px center / 30px no-repeat #c8102e;
	color: #ffffff;
	padding-left: 48px;
}
.ecoPage a.dc_button.srBig[href^="tel:"] { background-size: 34px; padding-left: 56px; }
.ecoPage a.dc_button[href^="tel:"]:hover,
.ecoPage a.dc_button[href^="tel:"]:focus,
.ecoPage .srOrphan a.dc_button[href^="tel:"]:hover,
.ecoPage .srOrphan a.dc_button[href^="tel:"]:focus {
	background-color: #9e0b23;
	color: #ffffff;
	text-decoration: underline;
}
.ecoPage a[href^="tel:"]:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px #26444b;
}

/* Call band */
.ecoPage .srBand { background: #c8102e; color: #ffffff; }
.ecoPage .srBand .srBandNumber { color: #ffffff; }
.ecoPage .srBand .srBandNumber:hover, .ecoPage .srBand .srBandNumber:focus { color: #ffffff; text-decoration: underline; }
.ecoPage .srBand .srSmall { opacity: 1; }

/* Sticky mobile button */
@media screen and (max-width: 739px) {
	.ecoPage .ecoSticky { background-color: #c8102e; color: #ffffff; }
	.ecoPage .ecoSticky:hover, .ecoPage .ecoSticky:focus { background-color: #9e0b23; color: #ffffff; }
}

/* ===== Shared components (P2-20) ===== */

/* Readable green for text on white (P3-14): #4d7a00 on white = 5.0:1 */
.ecoPage .genericTextBlock h2, .ecoPage .genericTextBlock h3 { color: #26444b; }
.ecoPage .srKicker { color: #4d7a00; }

/* Steps strip */
.ecoSteps { list-style: none; display: grid; grid-template-columns: 1fr; gap: 16px; margin: 20px 0; padding: 0; counter-reset: step; }
.ecoSteps li { background: #f5faea; border-radius: 10px; padding: 20px 20px 20px 70px; position: relative; font-size: 17px; line-height: 26px; }
.ecoSteps li:before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: #26444b; color: #a7cf3a; font-weight: 900; font-size: 20px; text-align: center; line-height: 36px; }
.ecoSteps strong { display: block; font-weight: 900; color: #26444b; }
@media screen and (min-width: 900px) { .ecoSteps { grid-template-columns: repeat(4, 1fr); } .ecoSteps li { padding: 70px 18px 20px; } }

/* Symptom checklist: two columns on wide screens */
@media screen and (min-width: 900px) { .ecoPage .srTicks.ecoCols { columns: 2; column-gap: 40px; } .ecoPage .srTicks.ecoCols li { break-inside: avoid; } }

/* Makes grid */
.ecoMakes { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 16px 0 20px; }
.ecoMakes li { background: #f5faea; border: 1px solid #d9e8b5; border-radius: 6px; padding: 8px 10px; font-size: 15px; line-height: 20px; font-weight: 700; color: #26444b; }
@media screen and (min-width: 740px) { .ecoMakes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Reviews block (shows only when reviews are supplied) */
.ecoReviews { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media screen and (min-width: 900px) { .ecoReviews { grid-template-columns: repeat(3, 1fr); } }
.ecoReviews blockquote { background: #f5faea; border-left: 5px solid #a7cf3a; padding: 18px; border-radius: 6px; font-size: 17px; line-height: 26px; margin: 0; }
.ecoReviews cite { display: block; margin-top: 10px; font-style: normal; font-weight: 900; color: #26444b; }

/* Service cards row (battery / bird proofing / fault) */
@media screen and (min-width: 960px) { .ecoPage .gridItems.ecoThree { grid-template-columns: 1fr 1fr 1fr; } }
.ecoPage .ecoThree .item .image img { aspect-ratio: 3 / 2; object-fit: cover; }

/* Form */
.ecoForm { display: grid; gap: 14px; max-width: 620px; }
.ecoForm label { font-weight: 900; color: #26444b; display: block; margin-bottom: 4px; }
.ecoForm input, .ecoForm textarea { width: 100%; box-sizing: border-box; font: 18px Lato, sans-serif; padding: 12px; border: 2px solid #9db4b9; border-radius: 6px; }
.ecoForm input:focus, .ecoForm textarea:focus { outline: none; border-color: #26444b; box-shadow: 0 0 0 3px #a7cf3a; }
.ecoForm .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ecoForm button { justify-self: start; background: #26444b; color: #fff; border: 0; border-radius: 6px; padding: 14px 26px; font: 900 18px Lato, sans-serif; cursor: pointer; }
.ecoForm button:hover, .ecoForm button:focus { background: #1a3035; text-decoration: underline; }
.ecoNotice { padding: 14px 18px; border-radius: 6px; margin-bottom: 18px; font-size: 18px; }
.ecoNotice.ok { background: #f5faea; border: 2px solid #a7cf3a; }
.ecoNotice.err { background: #fdecee; border: 2px solid #c8102e; }

/* Areas hub and town pages */
.ecoAreas { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media screen and (min-width: 900px) { .ecoAreas { grid-template-columns: 1fr 1fr; } }
.ecoAreas h3 { margin-top: 0 !important; }
.ecoAreas ul { list-style: none; padding: 0; }
.ecoAreas li { padding: 6px 0; border-bottom: 1px solid #e3eed0; font-size: 17px; line-height: 24px; }
.ecoAreas li a { font-weight: 900; color: #26444b; }
.ecoFacts { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 16px 0; }
@media screen and (min-width: 740px) { .ecoFacts { grid-template-columns: repeat(3, 1fr); } }
.ecoFacts div { background: #f5faea; border-radius: 8px; padding: 14px 16px; font-size: 16px; line-height: 22px; }
.ecoFacts strong { display: block; color: #26444b; font-weight: 900; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.ecoLinks { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.ecoLinks a { display: inline-block; padding: 8px 12px; border: 2px solid #26444b; border-radius: 20px; color: #26444b; font-weight: 700; text-decoration: none; }
.ecoLinks a:hover, .ecoLinks a:focus { background: #26444b; color: #fff; }

/* Footer extras */
.ecoPage .ecoFootLinks { color: #fff; font-size: 15px !important; margin-top: 8px; }
.ecoPage .ecoFootLinks a { color: #fff; }
.ecoPage .ecoCrumb { font-size: 15px !important; margin-bottom: 8px !important; }
.ecoPage .ecoCrumb a { color: #26444b; }
