/* ============================================================
   IO Roofing additions on top of the ported ioWindows system.
   ============================================================ */

/* Brand */
.brand-logo { display: block; height: 40px; width: auto; }
.footer-logo .brand-logo { height: 42px; margin-bottom: 14px; }
.header-phone { font-weight: 700; color: var(--navy); white-space: nowrap; }
.topbar a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Footer column headings (h2 for a proper outline, styled like the old h4) */
.site-footer .footer-h {
	font-family: var(--font); color: #fff; font-size: 12.5px; font-weight: 800;
	text-transform: uppercase; letter-spacing: 0.12em; margin: 4px 0 16px;
}

/* Hero illustration */
.hero-illus { width: 100%; max-width: 440px; height: auto; display: block; border-radius: 18px; box-shadow: var(--shadow); }
.hero h1 em { color: var(--blue); }

/* Four-step how it works */
.steps-grid.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps-grid.steps-4 .step-card { padding: 24px; }
.steps-grid.steps-4 h3 { font-size: 21px; }

/* Shingle tiers */
.tier-grid .lineup-card { border-top: 4px solid var(--copper); }

/* Service area: three cards */
.areas-grid.areas-3 { grid-template-columns: repeat(3, 1fr); max-width: 980px; }
.areas-3 .area-card { padding: 24px 20px; text-align: center; }
.areas-3 .area-name { font-family: var(--font-head); font-size: 22px; font-weight: 600; color: var(--navy); }
.areas-3 .area-note { font-size: 14.5px; color: var(--mut); line-height: 1.5; }

/* Narrow sections and FAQ accordions (details blocks also feed FAQPage schema) */
.narrow { max-width: 780px; }
.faq-list details, .entry-content details {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
	padding: 0 20px; margin: 0 0 10px;
}
.faq-list summary, .entry-content summary {
	cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; position: relative; padding-right: 28px;
}
.faq-list summary::-webkit-details-marker, .entry-content summary::-webkit-details-marker { display: none; }
.faq-list summary::after, .entry-content summary::after {
	content: "+"; position: absolute; right: 0; top: 13px; font-size: 22px; color: var(--blue); font-weight: 400;
}
.faq-list details[open] summary::after, .entry-content details[open] summary::after { content: "\2212"; }
.faq-list details p, .entry-content details p { margin: 0 0 16px; color: var(--mut); }

/* Page heroes with breadcrumbs and a lede */
.page-hero .crumbs { padding-top: 28px; font-size: 14px; color: var(--mut); }
.page-hero .crumbs a { color: var(--mut); }
.page-hero .crumbs + h1 { padding-top: 10px; }
.page-hero .page-lede { margin: -36px 0 0; padding-bottom: 44px; max-width: 720px; font-size: 18.5px; color: var(--mut); }

/* Comparison tables in page content */
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15.5px; }
.entry-content th, .entry-content td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry-content thead th { background: var(--sky); color: var(--navy); font-weight: 700; }
.entry-content .table-wrap { overflow-x: auto; }

.iort-from { color: var(--good); }

@media (max-width: 980px) {
	.steps-grid.steps-4 { grid-template-columns: repeat(2, 1fr); }
	.header-phone { display: none; }
}
@media (max-width: 720px) {
	.steps-grid.steps-4, .areas-grid.areas-3 { grid-template-columns: 1fr; }
	.brand-logo { height: 34px; }
	.page-hero .page-lede { margin-top: -30px; padding-bottom: 32px; font-size: 17px; }
}

/* No cart icon in the header, so push the actions to the right edge. */
.header-actions { margin-left: auto; }
