/* RoofMaster Pro Theme v3.1.4 - child theme for Corrowick Roofing */
@font-face { font-family: 'Alfa Slab One'; src: url('/demos/corrowick/before/fonts/alfa-slab-one.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; src: url('/demos/corrowick/before/fonts/montserrat-400.woff2') format('woff2'); font-weight: 400; }
@font-face { font-family: 'Montserrat'; src: url('/demos/corrowick/before/fonts/montserrat-700.woff2') format('woff2'); font-weight: 700; }
@font-face { font-family: 'Merriweather'; src: url('/demos/corrowick/before/fonts/merriweather-400.woff2') format('woff2'); font-weight: 400; }
@font-face { font-family: 'Merriweather'; src: url('/demos/corrowick/before/fonts/merriweather-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; }

body { margin: 0; font-family: 'Merriweather', Georgia, serif; font-size: 13px; color: #8d8d8d; background: #e9eaeb; line-height: 1.75; }
a { color: #c8202b; text-decoration: none; }
a:hover { color: #2c5d8f; text-decoration: underline; }
.container { width: 1140px; margin: 0 auto; position: relative; }
h1, h2, h3, h4, h5 { font-family: 'Alfa Slab One', 'Rockwell', serif; font-weight: normal; color: #22262c; margin: 0 0 10px; line-height: 1.15; }
.red { color: #c8202b; }
.tagline { font-family: 'Merriweather', serif; font-style: italic; color: #2c5d8f; font-size: 20px; text-align: center; }
.small-grey { color: #b5b5b5; font-size: 11px; line-height: 1.5; }

@keyframes pulse { 0%, 100% { background: #c8202b; } 50% { background: #e8343f; } }
.promo-bar { background: #c8202b; color: #fff; text-align: center; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 1px; padding: 8px 0; animation: pulse 1.2s infinite; }
.promo-bar a { color: #f2c32a; text-decoration: underline; margin-left: 6px; }
.top-strip { background: #1a1d22; color: #7d828a; font-family: 'Montserrat', Arial, sans-serif; font-size: 11px; padding: 7px 0; }
.top-strip span { margin-right: 24px; }
.top-strip .social { float: right; margin: 0; }
.top-strip .social a { display: inline-block; width: 22px; height: 22px; line-height: 22px; text-align: center; background: #2c5d8f; color: #fff; margin-left: 4px; font-weight: bold; }

.site-header { background: #fff; }
.header-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.logo img { width: 380px; height: auto; display: block; }
.header-badge { font-family: 'Alfa Slab One', serif; color: #fff; background: #2c5d8f; padding: 10px 16px; font-size: 18px; transform: rotate(-3deg); box-shadow: 3px 3px 0 #1a1d22; }
.header-call { text-align: right; font-family: 'Montserrat', Arial, sans-serif; }
.call-label { display: block; font-size: 12px; font-weight: 700; color: #999; letter-spacing: 2px; }
.big-phone { display: block; font-family: 'Alfa Slab One', serif; font-size: 40px; color: #c8202b; line-height: 1.1; }
.big-phone.white { color: #fff; font-size: 34px; }
.call-sub { font-size: 11px; color: #aaa; font-style: italic; font-family: 'Merriweather', serif; }

.main-nav { background: #22262c; border-top: 3px solid #c8202b; border-bottom: 1px solid #000; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.main-nav li a { display: block; padding: 16px 11px; color: #d6d6d6; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; font-size: 11px; white-space: nowrap; letter-spacing: 1px; }
.main-nav li.active a, .main-nav li a:hover { background: #c8202b; color: #fff; text-decoration: none; }
.main-nav .nav-estimate { background: #f2c32a; color: #22262c !important; }

.carousel { position: relative; height: 540px; overflow: hidden; background: #000; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 540px; object-fit: cover; }
.caption { position: absolute; right: 7%; top: 20%; width: 540px; text-align: right; }
.caption h2 { color: #fff; font-size: 50px; text-shadow: 3px 3px 0 #000, 0 0 20px rgba(0, 0, 0, 0.8); }
.caption p { color: #f2c32a; font-size: 18px; font-style: italic; text-shadow: 1px 1px 2px #000; }
.arrow { position: absolute; top: 44%; font-size: 54px; color: #fff; background: rgba(200, 32, 43, 0.7); padding: 0 18px; line-height: 70px; font-family: 'Montserrat', Arial, sans-serif; }
.arrow.prev { left: 0; } .arrow.next { right: 0; }
.dots { position: absolute; bottom: 16px; width: 100%; text-align: center; }
.dot { display: inline-block; width: 30px; height: 6px; background: rgba(255, 255, 255, 0.5); margin: 0 3px; }
.dot.active { background: #c8202b; }

.btn { display: inline-block; padding: 14px 30px; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 1px; color: #fff; border-radius: 3px; border: 0; border-bottom: 4px solid rgba(0, 0, 0, 0.35); cursor: pointer; text-transform: uppercase; }
.btn-red { background: linear-gradient(#e2323d, #a8141e); }
.btn-blue { background: linear-gradient(#3b78b5, #234b74); }
.btn-yellow { background: #f2c32a; color: #22262c; }
.btn:hover { text-decoration: none; color: #fff; opacity: 0.9; }

.cta-band { background: #2c5d8f url() repeat; padding: 20px 0; border-bottom: 6px solid #22262c; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; }
.cta-band span { font-family: 'Alfa Slab One', serif; font-size: 21px; color: #fff; }

.welcome { background: #fff; padding: 36px 50px; margin-top: 30px; border-top: 5px solid #c8202b; }
.welcome h2 { font-size: 34px; text-align: center; }
.welcome p { color: #9a9a9a; font-size: 13px; text-align: justify; }
.badges { width: 100%; height: auto; display: block; margin: 30px 0 10px; }

.section-title { font-size: 38px; text-align: center; margin: 46px 0 8px; }
.section-sub { text-align: center; font-style: italic; color: #a5a5a5; margin: 0 0 28px; }
.section-sub::after { content: ''; display: block; width: 90px; height: 3px; background: #c8202b; margin: 12px auto 0; }
.services { display: flex; flex-wrap: wrap; gap: 24px; }
.service { width: 264px; background: #fff; padding-bottom: 18px; text-align: center; border-bottom: 4px solid #2c5d8f; }
.service .thumb { height: 170px; overflow: hidden; position: relative; }
.service .thumb img { width: 100%; height: 190px; transition: transform 0.5s; }
.service:hover .thumb img { transform: scale(1.08); }
.service h4 { font-size: 19px; margin: 14px 10px 6px; }
.service p { padding: 0 16px; color: #a2a2a2; font-size: 12px; }
.read-more { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; text-transform: uppercase; font-size: 11px; }

.finance { margin: 40px 0; background: #22262c; color: #cfcfcf; display: flex; align-items: center; justify-content: space-between; padding: 26px 40px; border: 4px dashed #f2c32a; }
.finance h3 { color: #f2c32a; font-size: 30px; margin: 0; }
.finance p { margin: 4px 0 0; font-style: italic; }

.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ba { background: #fff; padding: 10px; position: relative; }
.ba .pics { display: flex; gap: 6px; }
.ba .pics div { flex: 1; height: 150px; overflow: hidden; position: relative; }
.ba img { width: 100%; height: 150px; object-fit: cover; transition: transform 0.4s; }
.ba .pics div:hover img { transform: scale(1.15); }
.ba .lbl { position: absolute; top: 6px; left: 6px; background: #c8202b; color: #fff; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; font-size: 10px; padding: 2px 6px; }
.ba .lbl.after { background: #2c5d8f; }
.ba h5 { font-size: 16px; margin: 10px 0 0; }
.ba p { margin: 0; font-size: 11px; color: #aaa; }

.why { width: 100%; margin: 40px 0; border-spacing: 14px 0; }
.why td { background: #fff; padding: 22px; vertical-align: top; width: 25%; text-align: center; border-top: 4px solid #c8202b; }
.why h3 { font-size: 20px; }
.why .ico { font-size: 34px; color: #2c5d8f; }

.team-band { background: #22262c; padding: 44px 0; color: #9da2a8; }
.team-row { display: flex; gap: 40px; align-items: center; }
.team-img { width: 540px; border: 8px solid #2c5d8f; }
.team-text h2 { color: #fff; font-size: 38px; }
.team-text ul { padding-left: 18px; }

.testimonials { display: flex; gap: 24px; }
.testimonial { flex: 1; background: #fff; padding: 26px 30px; font-style: italic; font-size: 14px; position: relative; }
.testimonial::before { content: '\201C'; position: absolute; top: -10px; left: 12px; font-family: 'Alfa Slab One', serif; font-size: 90px; color: #e3e3e3; }
.stars { color: #f2c32a; font-size: 24px; font-style: normal; letter-spacing: 2px; }
.testimonial h5 { font-size: 16px; color: #c8202b; margin-top: 10px; }

.areas { display: flex; gap: 40px; margin: 40px 0; }
.areas-text { flex: 1; }
.area-table { width: 100%; border-collapse: collapse; }
.area-table td { border: 1px solid #d5d5d5; padding: 9px; background: #fff; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; font-size: 12px; color: #22262c; }
.map-box { flex: 1; height: 300px; background: #d9d9d9; color: #a0a0a0; display: flex; align-items: center; justify-content: center; font-size: 22px; border: 1px solid #c5c5c5; }

.newsletter { background: #c8202b; padding: 30px 0; text-align: center; }
.newsletter h2 { color: #fff; font-size: 28px; }
.newsletter input { padding: 12px; width: 260px; border: 0; margin: 0 4px; font-family: inherit; }
.newsletter input[type=submit] { width: auto; background: #22262c; color: #fff; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; padding: 12px 24px; cursor: pointer; }

.site-footer { background: #1a1d22; color: #6b7078; padding: 44px 0 0; font-size: 12px; }
.footer-cols { display: flex; gap: 40px; }
.footer-cols > div { flex: 1; }
.site-footer h4 { color: #fff; font-size: 18px; border-bottom: 2px solid #c8202b; padding-bottom: 8px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li::before { content: '\203A  '; color: #c8202b; }
.site-footer a { color: #8a9099; }
.copyright { background: #111316; text-align: center; padding: 14px; margin-top: 30px; color: #4f545b; font-size: 11px; }
.copyright small { color: #8a9099; }

.side-tab { position: fixed; right: 0; top: 38%; z-index: 55; background: #c8202b; color: #fff; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 2px; padding: 18px 10px; writing-mode: vertical-rl; transform: rotate(180deg); box-shadow: 0 0 8px rgba(0, 0, 0, 0.5); }
.side-tab:hover { color: #f2c32a; text-decoration: none; }
.chat-bubble { position: fixed; left: 20px; bottom: 70px; background: #2c5d8f; color: #fff; padding: 12px 20px; border-radius: 30px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4); font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; font-size: 13px; z-index: 50; }
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(20, 22, 26, 0.92); color: #bbb; padding: 12px 20px; font-size: 12px; z-index: 60; text-align: center; }
.cookie-bar.hidden { display: none; }
.cookie-ok { background: #c8202b; color: #fff; padding: 4px 14px; margin-left: 10px; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; }
.popup-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.75); z-index: 100; }
.popup-overlay.show { display: block; }
.popup { width: 500px; margin: 110px auto 0; background: #22262c url('/demos/corrowick/before/assets/slide-storm.jpg') center / cover; border: 6px solid #f2c32a; padding: 34px; text-align: center; position: relative; color: #fff; }
.popup h2 { font-size: 54px; color: #f2c32a; text-shadow: 3px 3px 0 #000; }
.popup h3 { font-size: 22px; color: #fff; }
.popup input { display: block; width: 100%; box-sizing: border-box; padding: 11px; margin: 8px 0; border: 0; font-family: inherit; }
.popup-close { position: absolute; top: 4px; right: 12px; font-size: 30px; color: #ddd; }
.popup-close.no-thanks { position: static; font-size: 11px; text-decoration: underline; color: #bbb; }

.page-banner { background: #22262c url('/demos/corrowick/before/assets/slide-storm.jpg') center / cover; padding: 56px 0; }
.page-banner h1 { color: #fff; font-size: 56px; text-shadow: 3px 3px 0 #000; margin: 0; }
.page-banner p { color: #f2c32a; margin: 0; font-family: 'Montserrat', Arial, sans-serif; font-size: 12px; }
.est-layout { display: flex; gap: 30px; margin: 30px auto 50px; }
.est-main { flex: 2; background: #fff; padding: 30px; border-top: 5px solid #c8202b; }
.est-main h3 { font-size: 30px; color: #c8202b; }
.est-main p { color: #a2a2a2; }
.est-form input[type=text], .est-form select, .est-form textarea { display: block; width: 100%; box-sizing: border-box; padding: 10px; margin-bottom: 11px; border: 1px solid #ddd; background: #f7f7f7; color: #b0b0b0; font-family: inherit; font-size: 12px; }
.row2, .row3 { display: flex; gap: 10px; }
.radios { margin: 8px 0; color: #aaa; font-size: 12px; }
.upload { border: 2px dashed #ccc; padding: 16px; margin: 10px 0; color: #aaa; text-align: center; font-size: 12px; }
.captcha-row { display: flex; align-items: center; gap: 10px; margin: 16px 0; }
.captcha-row input { margin: 0 !important; width: 200px !important; }
.refresh { font-size: 26px; }
.est-side { flex: 1; }
.side-box { background: #fff; padding: 20px; margin-bottom: 20px; }
.side-box h3 { font-size: 22px; }
.blue-box { background: #2c5d8f; color: #d5e2ef; text-align: center; }
.blue-box h3 { color: #fff; }
.price-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.price-table td { border-bottom: 1px dotted #ccc; padding: 6px 2px; }
.price-table td:last-child { text-align: right; font-weight: bold; color: #c8202b; white-space: nowrap; }
.checks { list-style: none; padding: 0; }
.checks li::before { content: '\2714  '; color: #c8202b; }
.side-badges { width: 100%; height: auto; display: block; }
