/* Well Placed Packing — child overrides (navy #1C2739 / gold #CD9F40) */

/* Display font for hero/about/FAQ/reviews titles (headings default to Montserrat). */
@font-face{font-family:"Sunday Club";src:url("../fonts/SundayClub.otf") format("opentype");font-weight:400;font-style:normal;font-display:swap}

/* Gold section kickers. */
.pre-title.text-gray-700,.pre-title.text-gray-900{color:var(--color-action)}

/* ---------- header: logo | nav | single outlined button ---------- */
.site-header{background-color:#fff}
.site-header .title-area a>div{max-width:200px}
@media (min-width:1024px){.site-header .title-area a>div{max-width:320px}}
.site-header .mobile-menu-icon{flex:none}
.site-header .wrap{align-items:center}
.site-header .header-right{flex-direction:row-reverse;align-items:center;justify-content:space-between;flex:1 1 auto;margin-left:2.5rem}
.site-header .nav-primary .menu{gap:0}
.site-header .nav-areas .menu>li{padding:0 1.4rem;border-right:1px solid #E3E3E3;display:flex;align-items:center}
.site-header .nav-areas .menu>li:last-child{border-right:0}
.site-header .nav-areas .menu>li:first-child{padding-left:0}
.site-header .mega-panel li{padding:0;border:0;display:block}
.header-ctas a[href^="tel:"]{display:none}
.header-ctas .btn--outline:not([href^="tel:"]){background:transparent;border:2px solid var(--color-action);color:#1C2739;border-radius:0}
.header-ctas .btn--outline:not([href^="tel:"]):hover{background:var(--color-action);color:#fff}
.header-ctas .btn--solid{background:transparent;border:2px solid #1C2739;color:#1C2739;border-radius:0}
.header-ctas .btn--solid:hover{background:#1C2739;color:#fff}
.site-header .nav-areas a{text-transform:uppercase;font-size:.8rem;letter-spacing:.06em}

/* ---------- hero (sm-callout.wpp-hero) ---------- */
.wpp-hero{position:relative}
.wpp-hero::before{content:"";position:absolute;inset:0;background:rgba(16,24,38,.68)}
.wpp-hero .wrap{padding-top:7.5rem;padding-bottom:7.5rem}
@media (min-width:1024px){.wpp-hero .wrap{padding-top:11rem;padding-bottom:11rem}}
.wpp-hero h2{color:#fff;font-family:"Sunday Club",serif;font-weight:400;font-size:2.75rem;line-height:1.1}
@media (min-width:768px){.wpp-hero h2{font-size:4.25rem}}
.wpp-hero div.font-serif{color:var(--color-action)}
.wpp-hero .prose{color:#fff;max-width:38rem}
.wpp-hero .prose p{color:#fff}
.wpp-hero .btn{background:#fff;border-color:#fff;color:#1C2739;border-radius:0;padding-left:3rem;padding-right:3rem}

/* ---------- services: cream-over-white band (reverse of the map band),
   static 3-up grid instead of the slider ---------- */
.sm-services-slider{background:linear-gradient(to bottom,var(--color-cream) 0,var(--color-cream) 55%,#fff 55%,#fff 100%)}
/* the edge-bleed slider shell lives outside .wrap; contain it to wrap width */
.sm-services-slider .sm-edge-fade{display:none}
.sm-services-slider .sm-edge-slider{max-width:1156px;width:90%;margin-left:auto;margin-right:auto}
.sm-services-slider .js-sm-cards-slider{width:100% !important;margin-left:0 !important}
.sm-services-slider .swiper-wrapper{display:grid;grid-template-columns:1fr;gap:2rem;transform:none !important}
@media (min-width:768px){.sm-services-slider .swiper-wrapper{grid-template-columns:repeat(3,1fr)}}
.sm-services-slider .swiper-slide{width:auto !important;margin:0 !important}
.sm-services-slider .sm-arrow{display:none}
.sm-services-slider .swiper-slide>a::after,.sm-services-slider .swiper-slide .form-card::after{content:"LEARN MORE";display:block;margin-top:1.1rem;border:1px solid var(--color-action);color:var(--color-action);padding:.65rem 1rem;text-align:center;font-weight:600;letter-spacing:.08em;font-size:.72rem}

/* ---------- about (sm-content-image.wpp-about): display title + cream accent ---------- */
.wpp-about{overflow:clip}
.wpp-about .text-gray-900.font-serif{color:var(--color-action)}
.wpp-about h2{font-family:"Sunday Club",serif;font-weight:400;font-size:2rem;line-height:1.2}
@media (min-width:768px){.wpp-about h2{font-size:2.6rem}}
.wpp-about .flex>div:last-child{position:relative}
.wpp-about .flex>div:last-child::before{content:"";position:absolute;top:50%;right:10%;height:calc(100% + 4.5rem);transform:translateY(-50%);left:10%;background:var(--color-cream)}
.wpp-about .rounded-xl{position:relative;z-index:1;border-radius:0}

/* ---------- values row (sm-specialty-cards.wpp-values): light + left-aligned ---------- */
.wpp-values{background-color:#fff}
.wpp-values .text-cream{color:#1C2739;opacity:1}
.wpp-values h2{font-family:"Sunday Club",serif;font-weight:400}
.wpp-values .sm-specialty__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem}
@media (min-width:1024px){.wpp-values .sm-specialty__grid{grid-template-columns:repeat(3,1fr)}}
.wpp-values .sm-specialty__card{background:transparent;padding:0;text-align:left;border-radius:0;display:grid;grid-template-columns:3.6rem 1fr;column-gap:1rem}
.wpp-values .sm-specialty__toggle{display:contents;text-align:left}
.wpp-values .sm-specialty__icon{grid-column:1;grid-row:1/span 2}
.wpp-values .sm-specialty__title{grid-column:2;grid-row:1;margin-top:0 !important}
.wpp-values .sm-specialty__body{grid-column:2;grid-row:2}
.wpp-values .sm-specialty__body>div{margin-top:.35rem}
.wpp-values .sm-specialty__icon img{margin:0;width:100%;height:auto}
.wpp-values .sm-specialty__chev{display:none}
.wpp-values .sm-specialty__card:hover{background-color:transparent}
.wpp-values .sm-specialty__card:hover .sm-specialty__title{color:#1C2739}
.wpp-values .sm-specialty__card:hover .sm-specialty__icon img{filter:none}
.wpp-values .sm-specialty__body{display:block}
.wpp-values .sm-specialty__card,.wpp-values .sm-specialty__title{color:#1C2739}

/* ---------- locations map: two-tone labels ---------- */
.sm-locations-map .pre-title.text-primary{color:#1C2739;text-transform:none;font-size:1.35rem;font-weight:700}
.sm-locations-map .pre-title .label-accent{color:var(--color-action)}

/* ---------- FAQs: display title + gold chevrons ---------- */
.sm-faqs{background-color:#fff;background-image:none}
.sm-faqs h2{font-family:"Sunday Club",serif;font-weight:400}
.sm-faqs .faq-chev{border-color:var(--color-action)}

/* ---------- reviews: linear 3-up on the W-watermark background ---------- */
.reviews-masonry{background-color:#fff;background-size:auto 100%;background-repeat:no-repeat;background-position:left center}
@media (min-width:768px){.reviews-masonry__cols{columns:auto !important;display:grid;grid-template-columns:repeat(3,1fr)}}
.wpp-stars{color:var(--color-action);font-size:2rem;letter-spacing:.4rem;text-align:center}
.wpp-rating-line{color:#1C2739;font-size:1.25rem;text-align:center;margin-top:.5rem}
.wpp-rating-line .wpp-brand{font-family:"Sunday Club",serif;font-weight:400}
.wpp-rating-line .wpp-gold{color:var(--color-action)}
.reviews-masonry .btn{background:transparent;border:0;color:var(--color-action);padding:0;letter-spacing:.1em;text-transform:uppercase;font-size:.8rem}

/* ---------- footer: location renders as a menu column; hide the left-block copy ---------- */
.site-footer .footer-location{display:none}


/* ---------- quote form card: cream, labeled, styled steps ---------- */
.quote-form-card,.widget.gform_widget{background:var(--color-cream)}
.quote-form-card .gfield_label,.widget.gform_widget .gfield_label{display:block;color:#1C2739;font-weight:600;font-size:.85rem}
.quote-form-card .gform_wrapper .gform_title,.widget.gform_widget .gform_title{color:#1C2739}
.quote-form-card .gform_next_button,.quote-form-card .gform_previous_button,.quote-form-card input[type=submit],.widget.gform_widget .gform_next_button,.widget.gform_widget .gform_previous_button,.widget.gform_widget input[type=submit]{background:var(--color-action);border:0;color:#fff;padding:.7rem 2.2rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:.8rem;cursor:pointer}
.quote-form-card .gform_previous_button,.widget.gform_widget .gform_previous_button{background:transparent;color:#1C2739;border:1px solid #1C2739}
.quote-form-card .gf_step_active .gf_step_number,.widget.gform_widget .gf_step_active .gf_step_number{background:var(--color-action);border-color:var(--color-action);color:#fff}
.widget.gform_widget{padding:1.5rem;border-radius:.5rem}
/* step indicators inline (they stack in the narrow sidebar) */
.quote-form-card .gform_wrapper.gravity-theme .gf_page_steps,.widget.gform_widget .gform_wrapper.gravity-theme .gf_page_steps{display:flex;flex-wrap:nowrap;align-items:center;gap:1rem;padding:0 0 .75rem;margin:0 0 1rem}
.quote-form-card .gform_wrapper.gravity-theme .gf_step,.widget.gform_widget .gform_wrapper.gravity-theme .gf_step{display:inline-flex;align-items:center;gap:.45rem;margin:0;white-space:nowrap}
.widget.gform_widget .gf_step_label{font-size:.8rem}
/* sidebar: stack every field full-width; only the date dropdowns stay inline */
.widget.gform_widget .gform_wrapper.gravity-theme .gform_fields{grid-template-columns:1fr}
.widget.gform_widget .gform_wrapper.gravity-theme .gfield{grid-column:1/-1}
.widget.gform_widget .gform_wrapper.gravity-theme .ginput_complex.gform-grid-row{display:grid;grid-template-columns:1fr;gap:.75rem}
.widget.gform_widget .gform_wrapper.gravity-theme .gfield--type-date .ginput_complex.gform-grid-row{display:flex;flex-wrap:nowrap;gap:.5rem}
.widget.gform_widget .gform_wrapper.gravity-theme .gfield--type-date .gform-grid-col{flex:1 1 0;min-width:0}
.quote-form-card .gform_wrapper.gravity-theme .gf_step_number,.widget.gform_widget .gform_wrapper.gravity-theme .gf_step_number{flex:none;width:1.9rem;height:1.9rem;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}

/* ---------- sidebar CTA callout (replaces the long form) ---------- */
.wpp-side-cta{background:#1C2739;border-radius:.5rem;padding:2rem 1.6rem;text-align:center}
.wpp-side-cta__kicker{color:var(--color-action);font-weight:700;text-transform:uppercase;font-size:.72rem;letter-spacing:.12em}
.wpp-side-cta__title{color:#fff;font-family:"Sunday Club",serif;font-weight:400;font-size:1.5rem;margin:.6rem 0 0}
.wpp-side-cta p{color:#e7e9ee;font-size:.9rem;margin:.75rem 0 1.25rem}
.wpp-side-cta__btn{display:block;background:var(--color-action);color:#fff;font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:.8rem;padding:.8rem 1rem;text-align:center}
.wpp-side-cta__btn:hover{background:#B08A32;color:#fff;text-decoration:none}
.wpp-side-cta__tel{display:block;color:#fff;font-weight:700;margin-top:.9rem}

/* footer: give the Location column room so the address sits on two lines */
@media (min-width:768px){.footer-columns .grid.md\:grid-cols-4{grid-template-columns:1.5fr 1fr 1fr 1fr}}

/* ---------- content + sidebar pages (service areas, posts) ---------- */
/* first section starts level with the sidebar CTA (was 64px pad + 36px h2 margin) */
.content-sidebar-wrap .entry-content > section:first-child{padding-top:0}
.content-sidebar-wrap .entry-content > section:first-child h2:first-of-type{margin-top:0}
/* the CTA follows the reader like the old form widget did (parent sticky rule targets .gform_widget only) */
@media (min-width:1024px){
.sidebar.sidebar-primary .widget:has(.wpp-side-cta){position:sticky;top:1.75rem}
.has-sticky-header .sidebar.sidebar-primary .widget:has(.wpp-side-cta){top:calc(var(--sm-header-h,140px) + 16px)}
}
/* phone link stays white (sidebar link color was winning) */
.sidebar .wpp-side-cta a.wpp-side-cta__tel{color:#fff}
.sidebar .wpp-side-cta a.wpp-side-cta__tel:hover{color:var(--color-action)}
/* service + service area pages: headings in the Sunday Club display face at the homepage section size */
.single-service main h2,.single-service_area main h2,.post-type-archive-service_area main h2{font-family:"Sunday Club",serif;font-weight:400;font-size:1.875rem;line-height:2.25rem}
@media (min-width:768px){.single-service main h2,.single-service_area main h2,.post-type-archive-service_area main h2{font-size:2.25rem;line-height:2.5rem}}
/* service + service area pages: h3-h6 take the homepage subtitle style (gold Montserrat semibold) */
:is(.single-service,.single-service_area,.post-type-archive-service_area) main :is(h3,h4,h5,h6){font-family:"Montserrat",sans-serif;font-weight:600;font-size:1.25rem;line-height:1.75rem;color:var(--color-action)}
/* section-title h2s: the section padding sets the rhythm; drop the generic content-heading top margin (1.2em = 43px at 36px) */
main section:is(.sm-content,.sm-content-image,.sm-content-form) h2:first-child,
main section:is(.sm-content,.sm-content-image,.sm-content-form) .prose > h2:first-child{margin-top:0}

/* ---------- hero with the consultation form (sm-hero.wpp-hero-form) ----------
   full-bleed photo under a navy overlay; text left, form right; height comes
   from the form, not padding */
.wpp-hero-form{background:#1C2739}
.wpp-hero-form .sm-hero__image{display:block !important;left:0;width:100% !important}
.wpp-hero-form .sm-hero__fade{background:rgba(16,24,38,.74) !important}
.wpp-hero-form + div{display:none}
.wpp-hero-form .wrap{padding-top:2.5rem;padding-bottom:2.5rem}
.wpp-hero-form h1{font-family:"Sunday Club",serif;font-weight:400;color:#fff;font-size:2.4rem;line-height:1.1}
.wpp-hero-form .sm-hero__subtitle{font-family:"Montserrat",sans-serif;color:var(--color-action)}
.wpp-hero-form .sm-hero__text{color:#fff;max-width:34rem}
@media (min-width:768px){.wpp-hero-form h1{font-size:3.6rem}}
@media (min-width:1024px){
.wpp-hero-form .wrap{padding-top:3rem;padding-bottom:3rem}
.wpp-hero-form .wrap > div{max-width:none !important;display:grid;grid-template-columns:minmax(0,1fr) 430px;grid-template-rows:1fr auto auto auto 1fr;column-gap:4.5rem}
.wpp-hero-form .wrap > div > h1{grid-column:1;grid-row:2}
.wpp-hero-form .sm-hero__subtitle{grid-column:1;grid-row:3}
.wpp-hero-form .sm-hero__text{grid-column:1;grid-row:4}
.wpp-hero-form .sm-hero__form{grid-column:2;grid-row:1 / 6;margin-top:0;max-width:none}
}
.wpp-hero-form .quote-form-card{background:#fff;padding:1.75rem 2rem;box-shadow:0 18px 40px rgba(0,0,0,.25)}
.wpp-hero-form .quote-form-card > div:first-child{font-family:"Sunday Club",serif;font-weight:400;color:#1C2739}
.wpp-hero-form .quote-form-card__form{margin-top:1rem}
/* header: two CTAs (Realtor Referral + Free Consultation) beside the nav */
.header-ctas .btn{white-space:nowrap}
.header-ctas{gap:.6rem}
.site-header .header-ctas a.btn{padding:.5rem .9rem;font-size:.72rem;border-width:2px}
@media (min-width:1024px) and (max-width:1279px){.header-ctas .btn--outline:not([href^="tel:"]){display:none}}
/* service-areas archive: unlinked names (location Additional Service Areas) match the linked ones */
.post-type-archive-service_area main li h4{color:#1C2739}
