/* Page density and content hierarchy follow the supplied roofing reference. */
.section { padding-top: 54px; padding-bottom: 54px; }
.section-heading { margin-bottom: 30px; }
.section-heading h2 { font-size: clamp(25px, 2.7vw, 34px); line-height: 1.3; }
.page-intro { padding-top: 28px; padding-bottom: 28px; }
.page-intro h1,.type-hero h1 { font-size: clamp(31px, 4vw, 48px); line-height: 1.2; letter-spacing: -.025em; }
.page-lead { max-width: 870px; font-size: 17px; }
.type-hero { gap: 45px; padding-bottom: 38px; }
.type-hero-illustrated { grid-template-columns: 1.1fr 1fr; }
.type-hero .foundation-figure { margin: 0; }
.v3-tinted { background: #f5f5f5; }
.v3-directory-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; align-items:start; }
.v3-directory-group { border-top: 3px solid #ffd600; min-width:0; }
.v3-directory-group h3 { font-size:18px; margin:18px 0 8px; }
.v3-directory-group h3 a { display:flex; gap:10px; align-items:center; justify-content:space-between; text-decoration:none; }
.v3-directory-group ul { list-style:none; padding:0; margin:0 0 18px; }
.v3-directory-group li { border-bottom:1px solid #e8e8e8; }
.v3-directory-group li a { display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:46px; padding:10px 0; font-size:14px; line-height:1.5; text-decoration:none; }
.v3-directory-group a:hover { color:#806700; text-decoration:underline; }
.v3-directory-group .arrow { flex-shrink:0; width:16px; }
.v3-directory-group > .text-link { font-size:12px; }
.v3-example-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.v3-example-card { border:1px solid #e1e1e1; background:white; }
.v3-example-card > img { display:block; width:100%; height:175px; object-fit:contain; background:#fafafa; }
.v3-example-card > div { padding:22px; }
.v3-example-card h3 { font-size:19px; margin:0 0 10px; }
.v3-example-card p { font-size:13px; margin:8px 0 15px; }
.v3-example-card strong { display:block; font-size:35px; line-height:1.2; }
.v3-example-card span { display:block; font-size:13px; color:#626262; }
.v3-example-card .fine-print { min-height:44px; }
.v3-example-card .button { width:100%; padding:14px 12px; font-size:12px; }
.v3-calculator-links { display:flex; flex-wrap:wrap; gap:12px 26px; align-items:center; border-top:1px solid #ddd; margin-top:32px; padding-top:25px; }
.v3-calculator-links h3 { width:100%; font-size:19px; margin:0; }
.v3-calculator-links a { font-size:13px; }
.v3-price-links { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); border-top:1px solid #ddd; border-left:1px solid #ddd; margin-bottom:28px; }
.v3-price-links > a { padding:18px; border-right:1px solid #ddd; border-bottom:1px solid #ddd; display:flex; flex-direction:column; justify-content:space-between; gap:15px; font-size:14px; font-weight:600; text-decoration:none; background:#fff; }
.v3-price-links > a:hover { background:#fff7c7; }
.v3-price-links > a span:last-child { font-size:11px; font-weight:400; display:flex; align-items:center; justify-content:space-between; }
.v3-price-panel { border-bottom:1px solid #ddd; background:#fff; }
.v3-price-panel > summary { cursor:pointer; padding:18px 22px; display:flex; justify-content:space-between; gap:15px; font-weight:600; list-style:none; font-size:17px; }
.v3-price-panel > summary::-webkit-details-marker { display:none; }
.v3-price-panel[open] > summary { background:#ffdb20; }
.v3-price-panel[open] > summary > span { transform:rotate(45deg); }
.v3-price-panel > div { padding:0 22px 22px; }
.v3-table-scroll { overflow:auto; max-width:100%; margin:22px 0; }
.v3-price-table { width:100%; border-collapse:collapse; text-align:left; font-size:14px; line-height:1.55; min-width:590px; }
.v3-price-table th,.v3-price-table td { padding:15px 18px; border-bottom:1px solid #ddd; vertical-align:top; }
.v3-price-table thead { background:#333; color:#fff; font-size:12px; }
.v3-price-table tbody th { font-weight:600; width:27%; }
.v3-price-table tbody tr:nth-child(even) { background:#f8f8f8; }
.v3-price-table a { text-underline-offset:4px; }
.v3-price-directory .fine-print { font-size:12px; max-width:900px; margin-top:24px; }
.v3-knowledge-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 45px; margin-bottom:30px; }
.v3-knowledge-grid article { display:flex; gap:22px; padding-top:24px; border-top:1px solid #ccc; }
.v3-editorial-number { font-size:15px; font-weight:600; color:#777; }
.v3-knowledge-grid h3 { font-size:19px; line-height:1.45; margin:0 0 12px; }
.v3-knowledge-grid h3 a { text-decoration:none; }
.v3-knowledge-grid h3 a:hover { text-decoration:underline; }
.v3-knowledge-grid p { font-size:14px; }
.v3-knowledge-grid .text-link { font-size:12px; }
.v3-split { display:grid; grid-template-columns:1.25fr 1fr; gap:45px; align-items:center; }
.v3-split img { width:100%; height:auto; }
.v3-on-page { display:flex; flex-wrap:wrap; gap:12px 26px; padding-top:16px; padding-bottom:16px; border-top:1px solid #ddd; border-bottom:1px solid #ddd; }
.v3-on-page a { font-size:13px; text-underline-offset:4px; }
.v3-example-note { border-left:4px solid #ffd600; background:#fafafa; padding:20px 25px; margin:25px 0; }
.v3-example-note p { margin:8px 0 0; }
.v3-type-commerce > p { max-width:960px; }
.v3-sitemap { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px; align-items:start; }
.v3-sitemap h2 { font-size:23px; }
.v3-sitemap ul { padding-left:19px; font-size:14px; }
.v3-sitemap li { margin:12px 0; }
.service-detail-layout { gap:40px; }
.service-article { min-width:0; font-size:16px; line-height:1.8; }
.service-article h2 { font-size:27px; line-height:1.35; }
.service-article h3 { font-size:18px; }
.service-article section { margin-bottom:36px; }
.service-sidebar nav a { padding:10px 0; font-size:13px; }
.service-sidebar { align-self:start; }
.service-sidebar details { border-bottom:1px solid #ddd; }
.service-sidebar summary { cursor:pointer; padding:15px 0; font-size:14px; font-weight:600; }
.service-sidebar nav { padding-bottom:15px; }
.v3-service-guide { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:35px; }
.v3-service-guide h2 { font-size:23px; line-height:1.4; }
.v3-service-guide p { font-size:15px; line-height:1.85; }
.service-article .intro-image { max-height:280px; width:100%; object-fit:contain; background:#fafafa; }
.type-card-text-media { display:flex; align-items:center; justify-content:center; padding:28px; text-align:center; background:#f5f5f5; min-height:180px; text-decoration:none; }
.type-card-text-media strong { font-size:23px; }
.type-card-text-media .media-label { position:static; display:block; font-size:11px; margin-top:15px; }
@media(max-width:1050px) {
  .v3-directory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .v3-price-links { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .v3-example-card > div { padding:16px; }
  .v3-example-card .button { font-size:11px; }
}
@media(max-width:700px) {
  .section { padding-top:36px; padding-bottom:36px; }
  .page-intro h1,.type-hero h1 { font-size:31px; }
  .page-lead { font-size:15px; }
  .v3-example-grid,.v3-split,.v3-knowledge-grid,.v3-sitemap,.v3-service-guide { grid-template-columns:1fr; }
  .v3-example-card { display:grid; grid-template-columns:.8fr 1.2fr; align-items:center; }
  .v3-example-card > img { height:155px; }
  .v3-example-card h3 { font-size:16px; }
  .v3-example-card strong { font-size:28px; }
  .v3-example-card p { font-size:12px; }
  .v3-example-card .button { padding:11px; }
  .v3-example-card .button .arrow { display:none; }
  .v3-example-card .fine-print { min-height:0; }
  .v3-price-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .v3-price-links > a { padding:15px; font-size:13px; }
  .v3-price-panel > summary { font-size:15px; padding:16px; }
  .v3-price-panel > div { padding:0 12px 20px; }
  .v3-price-table th,.v3-price-table td { padding:12px; }
  .v3-price-table { font-size:13px; }
  .v3-knowledge-grid h3 { font-size:18px; }
  .v3-on-page { gap:10px 18px; }
  .service-article { font-size:15px; }
  .service-article h2 { font-size:24px; }
  .type-hero-illustrated { grid-template-columns:1fr; }
}
@media(max-width:460px) {
  .v3-directory-grid { grid-template-columns:1fr; gap:30px; }
  .v3-example-card { grid-template-columns:1fr; }
  .v3-example-card > img { height:150px; }
  .v3-example-card > div { padding:20px; }
  .v3-example-card .button { font-size:12px; }
  .v3-example-card .button .arrow { display:block; }
}
