/* Shared production fixes layered over the retained site stylesheet. */
:root { color-scheme: light; --cmm-ink: #34474d; --cmm-teal: #205b6c; --cmm-link: #185c83; }
* { box-sizing: border-box; }
body { color: var(--cmm-ink); background: #fff; font-size: 18px; }
a:link, a:visited { color: var(--cmm-link); }
a { text-underline-offset: .18em; }
main p a, main li a, .review-notice a { text-decoration: underline; }
button, summary { font: inherit; cursor: pointer; }
button { color: inherit; }
:where(a, button, summary, input, textarea):focus-visible { outline: 3px solid #163f52; outline-offset: 4px; box-shadow: 0 0 0 7px #fff; }
main:focus { outline: none; }
h1, h2, h3, h4 { overflow-wrap: anywhere; }
h1, h2 { line-height: 1.08; }
h3 { color: #435c1a; }
img { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
[hidden] { display: none !important; }
.skip-link { position: absolute; z-index: 100; left: 1rem; top: .5rem; transform: translateY(-200%); padding: .75rem 1rem; background: white; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 100px; padding: 1rem max(5%, calc((100% - 1200px) / 2)); background: #fff; border-bottom: 1px solid #dce4e5; }
.site-name, .site-name:visited { font-family: 'refrigerator-deluxe', sans-serif; color: var(--cmm-teal); font-size: 1.65rem; font-weight: 700; line-height: 1; text-decoration: none; }
.site-name img { max-width: 260px; }
@media (max-width: 480px) { .site-name img { width: min(190px, 55vw); height: auto; } }
.header-actions { display: flex; align-items: center; gap: 2rem; }
.header-contact { padding: .6rem 0; }
.site-menu > summary { padding: .65rem .9rem; border: 1px solid #7d939a; border-radius: 4px; min-height: 44px; }
.site-menu nav { position: absolute; right: 5%; top: calc(100% - .25rem); width: min(360px, 90vw); max-height: 75vh; overflow-y: auto; padding: 1rem; border: 1px solid #bdcdd1; border-radius: 4px; background: #fff; box-shadow: 0 12px 30px #183c4926; }
.site-menu nav > a, .site-menu nav summary, .site-menu li a { display: block; padding: .65rem; min-height: 44px; }
.site-menu nav summary { display: list-item; margin-left: 1.2rem; }
.site-menu ul { list-style: none; margin: 0 0 .5rem; padding: 0 0 0 1rem; }
.site-menu a:hover { background: #edf3f4; }
.site-footer { background: #eef1f1; padding: 3rem max(5%, calc((100% - 1200px) / 2)) 1rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 1.4fr); gap: 2rem; }
.site-footer h2 { font: 700 1.1rem/1.4 'adelle', serif; margin: 0 0 .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .3rem 0; }
.site-footer li a { display: inline-block; padding: .3rem 0; }
.site-footer p { margin: .5rem 0 1rem; }
.site-footer a { overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid #bdcccf; margin-top: 2rem; padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.subpage { padding-top: 2rem; }
.subpage #content { width: min(90%, 900px); font-size: 1rem; margin-bottom: 3rem; overflow-wrap: anywhere; }
.subpage h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); margin: .5em 0; }
.subpage h2 { font-size: 2rem; margin-top: 1.5em; }
.subpage h3 { font-size: 1.4rem; }
.subpage h4 { font-size: 1.1rem; }
.subpage #content > ul, .subpage #content > ol { padding-left: 1.5rem; }
.subpage table { max-width: 100%; }
.review-notice { width: min(90%, 900px); margin: 0 auto 2rem; padding: 1rem 1.25rem; border-left: 4px solid #9c6c19; background: #fff5df; color: #493b22; line-height: 1.7; font-size: .9rem; }
.review-notice strong { display: block; }
.contact-card { padding: 1.5rem 2rem; background: #edf4f5; border: 1px solid #ccdce0; border-radius: 6px; margin: 2rem 0; }
.contact-card h2 { margin-top: 0; }
.contact-email { overflow-wrap: anywhere; font-weight: 700; }
.contact-cta { text-align: center; padding: 4rem 5%; background: #f5f7f7; }
.contact-cta h2 { font-size: clamp(2.1rem, 4vw, 3rem); margin: .4em 0; }
.contact-cta > p { margin: 1rem auto; max-width: 55ch; }
.contact-cta a.get_started { display: inline-block; margin-top: 1rem; font-family: 'refrigerator-deluxe', sans-serif; font-size: 1.4rem; }
a.get_started, a.get_started:visited { color: #fff; background: #ab3923; }
a.get_started:hover { background: #832b1a; }
#page1 { min-height: 650px; min-height: min(760px, 85svh); display: flex; align-items: center; background-image: linear-gradient(90deg, #fffffff2 0%, #ffffffdb 40%, #ffffff00 78%), url('/images/cmm-home-contractor-call-1731x909.jpg'); background-size: cover; background-position: center; }
#page1_content { padding: 4rem 7%; width: min(850px, 65%); font-size: 1rem; }
#page1_content h1 { font-size: clamp(3rem, 5vw, 5rem); }
#page1_content p { max-width: 52ch; background: #fffffff0; padding: .75rem; margin-left: -.75rem; border-radius: 4px; }
#page1_call_to_action { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin: 2rem 0 0; word-spacing: normal; }
.hero-secondary { background: #fffffff0; padding: .25rem .5rem; font-size: 1.25rem; }
#page2.industry-section { min-height: 0; padding: 3rem 5%; color: #fff; background-image: linear-gradient(#173b49e8, #173b49e8), url('https://images.servicedirect.com/images/shared/cmp/leads-today-background.jpg'); }
#page2_content { max-width: 1100px; margin: auto; padding: 0; }
#page2 h2 { font-size: clamp(2.2rem, 4vw, 3rem); margin: .3em 0; }
.industry-links { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; padding: 0; margin: 2rem 0 0; }
.industry-links a { display: block; padding: .75rem 1.25rem; color: #fff; border: 1px solid #b3ced7; border-radius: 4px; }
.planning-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1200px; margin: 2rem auto; }
.planning-grid h3 { font-size: 1.6rem; }
.topic-carousel { position: relative; background: #173b49; color: white; }
.topic-slide { min-height: 560px; display: flex; align-items: flex-end; padding: 4rem 7% 6rem; background-size: cover; background-position: center; }
.topic-content { max-width: 600px; padding: 1.5rem 2rem; background: #102b35eb; border-radius: 4px; }
.topic-content h2 { color: white; font-size: clamp(2.2rem, 4vw, 3rem); margin-top: 0; }
.topic-content a { color: #fff; text-decoration: underline; }
.carousel-controls { display: flex; gap: 1.5rem; align-items: center; justify-content: center; position: absolute; bottom: 1.25rem; left: 0; right: 0; }
.carousel-controls button { min-width: 48px; min-height: 48px; border: 1px solid #fff; border-radius: 4px; color: white; background: #173b49; font-size: 1.5rem; }
.carousel-controls span { background: #173b49; padding: .25rem .5rem; }
@media (max-width: 900px) {
 .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .planning-grid { grid-template-columns: repeat(2, 1fr); }
 #page1_content { width: 80%; }
}
@media (max-width: 600px) {
 body { font-size: 16px; }
 .site-header { min-height: 84px; padding: 1rem 5%; }
 .site-name { font-size: 1.3rem; }
 .header-contact { display: none; }
 .header-actions { gap: 0; }
 .site-menu nav { max-height: 70svh; }
 #page1 { min-height: 0; background-position: 68% center; }
 #page1_content { width: 100%; padding: 3rem 6%; background: #ffffffb8; }
 #page1_content h1 { font-size: 3.1rem; }
 #page1_content p { background: transparent; padding: 0; margin-left: 0; }
 #page1_call_to_action { align-items: flex-start; }
 .planning-grid { gap: .75rem 1.25rem; text-align: left; }
 .topic-slide { min-height: 530px; padding: 2rem 5% 6rem; }
 .topic-content { padding: 1.25rem; }
 .topic-content h2 { font-size: 2rem; }
 .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
 .site-footer li a { min-height: 44px; }
 .footer-bottom { display: block; }
 .contact-card { padding: 1.25rem; }
 .subpage .bio p { width: 100%; margin: .5rem 0; }
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.subpage #content a:not(.button) { text-decoration: underline; }
.contact-email { font-size: .95rem; }
.unavailable-source small { font-size: .85em; }

.draft-section { margin: 3rem 0; padding: 1.5rem 2rem; border: 1px solid #ccdce0; border-radius: 6px; background: #f8faf9; }
.draft-section h2 { margin-top: 0; }
.draft-fields { display: grid; gap: 1rem; }
.draft-fields label { display: block; margin-bottom: .35rem; font-weight: 700; }
.draft-fields input, .draft-fields textarea { width: 100%; padding: .7rem; border: 1px solid #60777e; border-radius: 4px; font: inherit; color: var(--cmm-ink); background: white; }
.draft-section button { padding: .8rem 1.1rem; border: 0; border-radius: 4px; color: white; background: #ab3923; font-weight: 700; }
.draft-section button:hover { background: #832b1a; }
.draft-ready { border-left: 4px solid #205b6c; padding: .75rem 1rem; background: #e8f2f3; }
.hero-phone { display: inline-block; padding: .5rem .75rem; background: #fffffff0; font-weight: 700; }
@media (max-width: 600px) { .draft-section { padding: 1.25rem; } }
.service-overview { padding: 5rem 5%; background: #f4f7f6; }
.service-overview-inner { max-width: 1200px; margin: auto; }
.section-kicker { margin: 0 0 .5rem; color: #735113; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.service-overview h2 { max-width: 24ch; margin: .25em 0; font-size: clamp(2.4rem, 4.5vw, 3.8rem); }
.section-intro { max-width: 62ch; }
.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.service-cards article { padding: 1.8rem; background: white; border: 1px solid #d4dede; border-radius: 6px; }
.service-cards article > span { color: #93651b; font-weight: 700; }
.service-cards h3 { margin: .7rem 0; color: #205b6c; font-size: 1.65rem; }
.service-cards p { min-height: 5.1em; }
.service-cards a { font-weight: 700; text-decoration: underline; }
.service-note { margin-top: 1.5rem; }
@media (max-width: 700px) { .service-overview { padding: 3.5rem 5%; } .service-cards { grid-template-columns: 1fr; } .service-cards p { min-height: 0; } }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.draft-section button:disabled { background: #d5dddd; color: #34474d; cursor: not-allowed; }
.story-placeholder, .customer-stories figure { margin: 2rem 0; padding: 1.5rem 2rem; background: #f4f7f6; border-left: 4px solid #205b6c; }
.story-placeholder h2 { margin-top: 0; }
.customer-stories blockquote { margin: 0; }
.customer-stories figcaption { font-weight: 700; }

/* Reference layout: measured against contractormarketingpros.com, 2026-11-03.
   Preserve CMM content and interactions while matching the original proportions. */
body { font-size: 19.2px; }
.site-header { min-height: 80px; padding: 0 10%; border-bottom: 0; background: transparent; flex-wrap: wrap; }
.site-name { flex-shrink: 0; }
body:has(#page1) .site-header { position: relative; background: #fff; }
.site-name img { width: 200px; max-width: 100%; }
.header-actions { gap: 1.25rem; margin-left: auto; min-width: 0; flex-wrap: wrap; justify-content: flex-end; }
.header-phone { font: 700 1.6rem/1.2 'refrigerator-deluxe', sans-serif; white-space: nowrap; }
.site-menu > summary { border: 0; padding: .5rem; min-width: 44px; min-height: 44px; display: flex; align-items: center; gap: .4rem; font-size: 1.1rem; list-style: none; }
.site-menu > summary::-webkit-details-marker { display: none; }
#page1 { isolation: isolate; position: relative; min-height: clamp(32rem, 74svh, 48rem); padding-top: 0; display: flex; align-items: center; background: #f5f5f2; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% center; z-index: -2; }
#page1::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fffffff7 0%, #ffffffe8 38%, #ffffff80 68%, transparent 100%); z-index: -1; pointer-events: none; }
#page1_content { width: min(55%, 700px); margin-left: max(6%, calc((100% - 1200px) / 2)); padding: 4rem 0; font-size: 1.1rem; }
#page1_content h1 { font-size: clamp(3.4rem, 5vw, 5rem); line-height: 1; margin: .4em 0; text-transform: uppercase; }
#page1_content h1 .subtitle { font-size: .7em; }
#page1_content p { max-width: none; padding: 0; margin: 1em 0; background: transparent; line-height: 1.7; border-radius: 0; }
#page1_call_to_action { margin: 2rem 0 0; gap: 1rem 1.5rem; line-height: 1.3; }
.hero-phone, .cta-phone { background: transparent; padding: 0; font: 700 2em/1.15 'refrigerator-deluxe', sans-serif; white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
#page1 .get_started { font-size: 1em; padding: .8em; }
#page2.industry-section { min-height: 0; display: grid; place-items: center; padding: 4rem 5%; }
#page2 h2 { font-size: 3.6rem; text-transform: uppercase; }
.service-overview { background: #fff; padding: 4rem 10%; }
.service-overview h2 { margin: 0 auto 1rem; max-width: 24ch; text-align: center; }
.service-overview .section-kicker, .service-overview .section-intro, .service-note { text-align: center; margin-left: auto; margin-right: auto; }
.service-cards article { display: flex; flex-direction: column; border: 0; padding: 1rem; border-radius: 0; }
.service-cards p { min-height: 0; }
.service-cards a { margin-top: auto; padding: .5rem 0; }
.planning-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 850px; gap: 2.5rem 5rem; }
.topic-slide { min-height: clamp(500px, 70svh, 700px); align-items: center; background: linear-gradient(90deg, #173b49f5, #173b49b0), url('/images/cmm-home-contractor-call-1731x909.jpg') center / cover; padding: 6rem 12%; }
.topic-content { background: #102b35f2; border-radius: 4px; padding: clamp(1.25rem, 3vw, 2rem); max-width: 620px; }
.topic-content h2 { font-size: 3.6rem; text-transform: uppercase; }
.contact-cta { padding: 3.5rem 10%; background: #fff; }
.contact-cta > p:first-child { font-style: italic; }
.contact-cta h2 { font-size: 4rem; text-transform: uppercase; }
.cta-phone { display: inline-block; margin: 1rem 0 1rem 1.5rem; vertical-align: middle; }
.site-footer { padding: 3rem 10% 1rem; font-size: 1rem; background: #fff; }
.subpage #content { width: 80%; max-width: 1000px; }
@media (max-width: 1000px) and (min-width: 761px) {
 #page1_content { width: 60%; font-size: 1rem; }
 .header-actions { gap: .75rem; }
 .header-contact { display: none; }
}
@media (max-width: 760px) {
 .site-header { min-height: 80px; padding: .4rem 4%; }
 .site-name img { width: 175px; }
 .header-phone, .header-blog, .header-contact { display: none; }
 #page1 { min-height: 0; padding-top: 0; background: #fff; display: flex; flex-direction: column; align-items: stretch; }
 #page1_content { order: 0; width: 100%; margin: 0; padding: 2.5rem 5% 2rem; background: transparent; font-size: 1rem; }
 #page1_content h1 { width: auto; max-width: 100%; font-size: clamp(3rem, 9vw, 4rem); margin: .3em 0; line-height: 1; }
 #page1_content p { max-width: 32ch; }
 #page1_call_to_action { margin: 1.5rem 0 0; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
 .hero-phone { font-size: 1.8em; }
 .hero-image { position: static; order: 1; width: 100%; height: auto; object-fit: contain; z-index: 0; }
 #page1::after { display: none; }
 #page2.industry-section { min-height: 0; padding: 3rem 5%; }
 #page2 h2 { font-size: 2.8rem; }
 .service-overview { padding: 3rem 5%; }
 .service-cards { grid-template-columns: 1fr; }
 .planning-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
 .topic-slide { min-height: 500px; padding: 3rem 5% 6rem; }
 .topic-content h2 { font-size: 2.8rem; }
 .contact-cta { padding: 3rem 5%; }
 .contact-cta h2 { font-size: 3rem; }
 .cta-phone { display: block; margin: 1.5rem auto 0; font-size: 1.8em; }
 .site-footer { padding: 2.5rem 5%; font-size: 1rem; }
 .site-footer li a { min-height: 44px; }
 .footer-grid { grid-template-columns: 1fr; }
 .subpage #content { width: 92%; }
}

@media (max-width: 360px) { .planning-grid { grid-template-columns: 1fr; } }

@media (min-width: 481px) and (max-width: 760px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Homepage composition based on the supplied page-source.md reference. */
.home-intro { padding: clamp(3rem, 7vw, 5rem) 5%; background: #e4e6e5; }
.home-intro-frame { max-width: 800px; min-height: 360px; margin: auto; padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: white; background: #173b49; }
.home-intro-frame h2 { margin: .3em 0; font-size: clamp(2.5rem, 4.5vw, 4rem); color: white; }
.home-intro-frame p { max-width: 48ch; }
.home-intro-kicker { margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
a.home-intro-link:link, a.home-intro-link:visited { display: inline-block; margin-top: 1rem; padding: .7rem 1rem; border: 1px solid #fff; border-radius: 4px; color: white; text-decoration: none; }
a.home-intro-link:hover { background: #fff; color: #173b49; }
.industry-panel { width: min(720px, 100%); margin: 2rem auto 0; padding: 1.5rem; background: #205b6ce8; }
.industry-panel p { margin: 0; }
.industry-panel .industry-links { margin-top: 1rem; }
.feature-grid { max-width: 900px; margin: 2rem auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 4rem; text-align: left; }
.feature-item, .feature-item:visited { min-width: 0; display: flex; align-items: center; gap: 1.25rem; padding: .5rem; color: var(--cmm-ink); text-decoration: none; }
.feature-item svg { flex: 0 0 64px; width: 64px; height: 64px; color: #2585a6; }
.feature-item > span { min-width: 0; overflow-wrap: anywhere; }
.feature-item strong { display: block; color: #205b6c; font-size: 1.1rem; }
.feature-item span span { display: block; font-size: .95rem; line-height: 1.5; }
.feature-item:hover strong { text-decoration: underline; }
.home-stories { max-width: 1200px; margin: auto; padding: 4rem 5%; text-align: center; }
.home-stories h2 { font-size: clamp(2.4rem, 4vw, 3.5rem); }
.home-story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; text-align: left; }
.home-story-grid figure { margin: 0; padding: 2rem; border-left: 8px solid #2585a6; background: #f1f5f5; }
.home-story-grid blockquote { margin: 0; }
.home-story-grid figcaption { font-weight: 700; }
.site-footer { background: #eef1f1; }
@media (min-width: 1200px) {
 body:has(#page1) .site-header { position: absolute; inset: 0 0 auto; background: #fffffff0; }
 #page1 { padding-top: 6rem; }
}
@media (max-width: 600px) {
 .home-intro-frame { min-height: 280px; }
 .feature-grid, .home-story-grid { grid-template-columns: minmax(0, 1fr); }
 .feature-grid { gap: 1rem; }
 .feature-item svg { flex-basis: 52px; width: 52px; height: 52px; }
}
