/* Sense Roastery 8.0 — guaranteed section contrast + actual visual separation.
 * Intentionally loaded after layout-v7 and Elementor's main stylesheet.  The
 * selectors target saved Elementor widgets on existing WordPress installations:
 * no reset or import of the user's content is required.
 */
:root{--sr-section-gap:50px}

/* 50px of genuine EXTERNAL space between top-level sections — not just
   padding within them. Keep each section's own image and surface treatment. */
html body .sense-main-content .elementor > .e-con + .e-con,
html body .sense-main-content .elementor > .elementor-section + .elementor-section,
html body .sense-main-content .elementor > .e-con + .elementor-section,
html body .sense-main-content .elementor > .elementor-section + .e-con{
  margin-block-start:var(--sr-section-gap)!important;
}

/* Both offending editorial bands: enforce the background and typography
   together. Elementor stores pastel text colors on these heading widgets;
   the corresponding dark surface must not silently change to paper. */
html body .sense-main-content .elementor .sr-manifesto-section.e-con,
html body .sense-main-content .elementor .sr-cta-section.e-con,
html body .sense-main-content .elementor .sr-manifesto-section.elementor-section,
html body .sense-main-content .elementor .sr-cta-section.elementor-section{
  background:var(--sr-deep)!important;
  background-color:var(--sr-deep)!important;
  color:var(--sr-inverse)!important;
  background-image:none!important;
}
html body .sense-main-content .elementor .sr-manifesto-section :is(.sr-manifesto-copy,.sr-cta-copy),
html body .sense-main-content .elementor .sr-cta-section :is(.sr-cta-copy,.sr-cta-side){
  background:transparent!important;
  background-color:transparent!important;
}
html body .sense-main-content .elementor .sr-manifesto-section :is(.sr-manifesto-title,.sr-manifesto-highlight,.sr-eyebrow,.sr-manifesto-body),
html body .sense-main-content .elementor .sr-cta-section :is(.sr-cta-title,.sr-cta-desc,.sr-eyebrow){
  opacity:1!important;
}
html body .sense-main-content .elementor .sr-manifesto-section .sr-manifesto-title .elementor-heading-title,
html body .sense-main-content .elementor .sr-cta-section .sr-cta-title .elementor-heading-title{
  color:var(--sr-inverse)!important;
  -webkit-text-fill-color:var(--sr-inverse)!important;
  opacity:1!important;
}
html body .sense-main-content .elementor .sr-manifesto-section .sr-manifesto-highlight .elementor-heading-title{
  color:var(--sr-dark-accent)!important;
  -webkit-text-fill-color:var(--sr-dark-accent)!important;
  opacity:1!important;
}
html body .sense-main-content .elementor :is(.sr-manifesto-section,.sr-cta-section) .sr-eyebrow .elementor-heading-title{
  color:var(--sr-inverse)!important;
  -webkit-text-fill-color:var(--sr-inverse)!important;
  opacity:1!important;
}
html body .sense-main-content .elementor .sr-manifesto-section .sr-manifesto-body :is(p,span,strong,em,a),
html body .sense-main-content .elementor .sr-cta-section .sr-cta-desc :is(p,span,strong,em,a){
  color:var(--sr-inverse-muted)!important;
  -webkit-text-fill-color:var(--sr-inverse-muted)!important;
  opacity:1!important;
}
html body .sense-main-content .elementor .sr-manifesto-section .sr-text-button .elementor-button{
  background:transparent!important;
  color:var(--sr-inverse)!important;
  -webkit-text-fill-color:var(--sr-inverse)!important;
  border-color:var(--sr-inverse)!important;
}
html body .sense-main-content .elementor .sr-cta-section .sr-cta-btn .elementor-button{
  background:var(--sr-inverse)!important;
  color:var(--sr-deep)!important;
  -webkit-text-fill-color:var(--sr-deep)!important;
  border-color:var(--sr-inverse)!important;
}

/* Explicit dark-on-light typography on every other landing section. Keeps
   Elementor's old inline soft-greys from looking like background-colored text. */
html body .sense-main-content .elementor :is(.sr-hero-section,.sr-services-section,.sr-catalog-section,.sr-packaging-section,.sr-process-section,.sr-values-section,.sr-about-hero-section,.sr-about-quote-section,.sr-contact-hero-section,.sr-contact-section) :is(.sr-section-title,.sr-page-title,.sr-service-title,.sr-process-title,.sr-value-title,.sr-packaging-title,.sr-quote-title,.sr-contact-hero-title,.sr-contact-side-title) .elementor-heading-title{
  color:var(--sr-ink)!important;
  -webkit-text-fill-color:var(--sr-ink)!important;
  opacity:1!important;
}
html body .sense-main-content .elementor :is(.sr-services-section,.sr-catalog-section,.sr-packaging-section,.sr-process-section,.sr-values-section,.sr-about-hero-section,.sr-about-quote-section,.sr-contact-hero-section,.sr-contact-section) :is(.sr-section-lead,.sr-service-desc,.sr-packaging-desc,.sr-process-desc,.sr-value-desc,.sr-page-intro,.sr-contact-intro,.sr-contact-side-text) :is(p,span,strong){
  color:var(--sr-muted)!important;
  -webkit-text-fill-color:var(--sr-muted)!important;
  opacity:1!important;
}
/* Distinctive accents remain legible at WCAG AA contrast. */
html body .sense-main-content .elementor :is(.sr-hero-second,.sr-packaging-highlight,.sr-title-highlight) .elementor-heading-title{
  color:var(--sr-accent)!important;
  -webkit-text-fill-color:var(--sr-accent)!important;
  opacity:1!important;
}

/* The user-provided logo and CTA must remain visible in the footer as well. */
html body .sr-elementor-site-footer :is(.sr-footer-description,.sr-footer-quote) :is(p,span),
html body .sr-elementor-site-footer .sr-footer-heading .elementor-heading-title{
  color:var(--sr-muted)!important;
  -webkit-text-fill-color:var(--sr-muted)!important;
  opacity:1!important;
}
html body .sr-elementor-site-footer .sr-footer-heading .elementor-heading-title{
  color:var(--sr-ink)!important;
  -webkit-text-fill-color:var(--sr-ink)!important;
}

/* Keep mobile gutters and the separation equal to desktop: 50px minimum. */
@media(max-width:767px){
  :root{--sr-section-gap:50px}
  html body .sense-main-content .elementor > .e-con,
  html body .sense-main-content .elementor > .elementor-section{max-width:100%;min-width:0}
  html body .sense-main-content .elementor .sr-manifesto-section .sr-manifesto-title .elementor-heading-title,
  html body .sense-main-content .elementor .sr-cta-section .sr-cta-title .elementor-heading-title{
    font-size:clamp(26px,7.5vw,39px)!important;
    line-height:1.5!important;
  }
  html body .sense-main-content .elementor .sr-manifesto-section .sr-manifesto-body p,
  html body .sense-main-content .elementor .sr-cta-section .sr-cta-desc p{
    font-size:14px!important;
    line-height:2.05!important;
  }
}
