/* before-and-after page styles */
.site-main *, ::before, ::after {box-sizing: border-box; margin: 0px; padding: 0px;}
.site-main {--cream: #faf7f2; --ivory: #f4f0e8; --navy: #0f1932; --cornflower: #6b87c4; --dark: #1a1f2e;}
.site-main {scroll-behavior: smooth;}
.site-main {font-family: Inter, sans-serif; background: var(--cream); color: var(--dark); line-height: 1.6; overflow-x: hidden;}
img {display: block; max-width: 100%;}
a {text-decoration: none; color: inherit;}
.page-header {background: var(--midnight); color: rgb(255, 255, 255); padding: 80px 24px 60px; text-align: center; position: relative; overflow: hidden;}
.page-header::before {content: ""; position: absolute; inset: 0px; background: url("https://paramoservices.com/wp-content/uploads/2026/11/Before-and-After-Cleaning-Transformation-opt.webp") center center / cover; opacity: 1;}
.page-header-inner {visibility: hidden; position: relative; z-index: 1; max-width: 700px; margin: 0px auto;}
.page-header span {display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cornflower); margin-bottom: 16px;}
.page-header h1 {font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 600; line-height: 1.1; margin-bottom: 16px;}
.page-header p {font-size: 1.05rem; opacity: 0.8; max-width: 560px; margin: 0px auto;}
.gallery-intro {max-width: 800px; margin: 60px auto; padding: 0px 24px; text-align: center;}
.gallery-intro h2 {font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; font-weight: 600; color: var(--navy); margin-bottom: 12px;}
.gallery-intro p {color: rgb(85, 85, 85); line-height: 1.7;}
.ba-grid {display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; max-width: 1100px; margin: 0px auto 80px; padding: 0px 24px;}
.ba-card {background: rgb(255, 255, 255); border-radius: 16px; overflow: hidden; box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 20px; transition: transform 0.2s, box-shadow 0.2s;}
.ba-card:hover {transform: translateY(-4px); box-shadow: rgba(0, 0, 0, 0.14) 0px 12px 40px;}
.ba-card-slider {position: relative; aspect-ratio: 4 / 5; overflow: hidden; cursor: col-resize; user-select: none;}
.ba-card-after {position: absolute; inset: 0px; background: center center / cover no-repeat rgb(232, 228, 221);}
.ba-card-before {position: absolute; inset: 0px; background: center center / cover no-repeat rgb(200, 196, 189); clip-path: inset(0px 50% 0px 0px);}
.ba-divider {position: absolute; top: 0px; bottom: 0px; left: 50%; width: 3px; background: rgb(255, 255, 255); box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px; transform: translateX(-50%); cursor: col-resize;}
.ba-divider::before {content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; background: rgb(255, 255, 255); border-radius: 50%; box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 12px; display: flex; align-items: center; justify-content: center;}
.ba-divider::after {content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 14px; color: rgb(68, 68, 68); font-weight: 700; z-index: 1; pointer-events: none;}
.ba-labels {position: absolute; bottom: 12px; display: flex; justify-content: space-between; width: 100%; padding: 0px 12px; pointer-events: none;}
.ba-label {background: rgba(0, 0, 0, 0.65); color: rgb(255, 255, 255); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px;}
.ba-card-info {padding: 20px 24px;}
.ba-card-info h3 {font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.2rem; font-weight: 600; color: var(--navy); margin-bottom: 6px;}
.ba-card-info p {font-size: 0.88rem; color: rgb(102, 102, 102); line-height: 1.5;}
.ba-card-tag {display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;}
.ba-card-tag.hoarding {background: rgba(107, 135, 196, 0.12); color: var(--cornflower);}
.ba-card-tag.junk {background: rgba(107, 135, 196, 0.12); color: var(--cornflower);}
.ba-card-tag.declutter {background: rgba(107, 135, 196, 0.12); color: var(--cornflower);}
.stats-bar {background: var(--navy); color: rgb(255, 255, 255); padding: 48px 24px; margin-bottom: 0px;}
.stats-inner {max-width: 900px; margin: 0px auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;}
.stat-num {font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.5rem; font-weight: 700; color: var(--cornflower);}
.stat-label {font-size: 0.82rem; opacity: 0.75; letter-spacing: 0.05em; text-transform: uppercase; margin-top: 4px;}
@media (max-width: 600px) {
.stats-inner {grid-template-columns: repeat(2, 1fr);}
.ba-grid {grid-template-columns: 1fr;}
}
.btn-cta-main {display: inline-block; background: var(--navy); color: rgb(255, 255, 255); padding: 16px 36px; border-radius: 50px; font-weight: 700; font-size: 1rem; transition: 0.2s;}
.btn-cta-main:hover {background: var(--cornflower); transform: translateY(-2px);}
.btn-cta-phone {display: inline-block; background: transparent; color: var(--navy); padding: 15px 32px; border: 2px solid rgba(15, 25, 50, 0.3); border-radius: 50px; font-weight: 600; font-size: 1rem; transition: 0.2s;}
.btn-cta-phone:hover {border-color: var(--navy); background: rgba(15, 25, 50, 0.05);}
.has-sub {position: relative;}
.has-sub > a::after {content: " ▾"; font-size: 0.65rem;}
@media (max-width: 900px) {
.has-sub > a::after {display: none !important;}
.has-sub {position: static !important;}
.site-main {padding-top: 64px !important;}
}