/* Southern Elite Plumbing — site-wide stylesheet
   Desktop spec: Southern Elite Plumbing.dc.html / Services.dc.html / About.dc.html / Contact.dc.html
   Mobile spec (<860px): Mobile - Home/Services/About/Contact.dc.html (390px reference)
   Breakpoint matches the design's isMobile threshold (window.innerWidth < 860). */

.sep-site {
  background: #0A0A0A;
  font-family: 'Inter', sans-serif;
  color: #F4F4F4;
  overflow-x: hidden;
}
.sep-site * { box-sizing: border-box; }
.sep-site a { color: #ffffff; text-decoration: none; }
.sep-site a:hover { color: #E31B23; }
.sep-site input,
.sep-site select,
.sep-site textarea { font-family: 'Inter', sans-serif; }
.sep-site input::placeholder,
.sep-site textarea::placeholder { color: #6d7176; }
.sep-site img { max-width: 100%; }

/* ---------- Layout helpers ---------- */
.sep-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.sep-eyebrow {
  font: 500 11px/1.5 'Inter', sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8d9298;
}
.sep-h1 {
  margin: 12px 0 0;
  font: 700 30px/1.1 'Oswald', sans-serif;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
}
.sep-h1 .accent { color: #E31B23; }
.sep-subtext { margin: 14px 0 0; max-width: 560px; font: 400 15px/1.6 'Inter', sans-serif; color: #BFC3C7; }

.sep-h2 {
  margin: 0;
  font: 700 26px/1.1 'Oswald', sans-serif;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
}
.sep-h2 .accent { color: #E31B23; }
.sep-rule { width: 44px; height: 3px; background: #E31B23; margin: 14px 0 20px; }

.sep-btn-primary {
  display: inline-block;
  background: #E31B23;
  border: 1px solid #F2555C;
  padding: 16px;
  text-align: center;
  font: 700 15px/1 'Oswald', sans-serif;
  letter-spacing: .06em;
  color: #fff;
  cursor: pointer;
  min-height: 48px;
}
.sep-btn-primary:hover { background: #B8141B; color: #fff; }
.sep-btn-outline {
  display: inline-block;
  padding: 13px 22px;
  border: 1px solid #3b4046;
  font: 600 13px/1 'Inter', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #F4F4F4;
  text-align: center;
  min-height: 44px;
}
.sep-btn-outline:hover { border-color: #E31B23; color: #fff; }

/* ---------- Top promo bar ---------- */
.sep-topbar { background: #E31B23; padding: 8px 16px; display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; }
.sep-topbar__text { font: 600 11px/1.3 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.sep-topbar__desktop-only { display: none; align-items: center; gap: 22px; }
.sep-topbar__divider { width: 1px; height: 14px; background: rgba(255,255,255,.45); }
.sep-topbar__phone { font: 700 13px/1 'Inter', sans-serif; letter-spacing: .08em; color: #fff; }

/* ---------- Header ---------- */
.sep-header { background: #0A0A0A; border-bottom: 1px solid #22252a; position: relative; z-index: 20; }
.sep-header__row { max-width: 1240px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; min-height: 46px; }
.sep-header__logo-link { width: 150px; height: 62px; display: flex; align-items: center; flex: 0 0 auto; overflow: visible; }
.sep-header__logo { width: 150px !important; height: auto; max-width: none !important; max-height: none; display: block; position: relative; z-index: 2; margin-top: -14px; margin-left: -5px; }
.sep-nav-desktop { display: none; align-items: center; gap: 28px; }
.sep-nav-desktop a { font: 600 13px/1 'Inter', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #BFC3C7; }
.sep-nav-desktop a.is-active { color: #fff; padding-bottom: 4px; border-bottom: 2px solid #E31B23; }
.sep-header__cta { display: none; background: #E31B23; padding: 11px 20px; flex-direction: column; align-items: center; border: 1px solid #F2555C; flex: 0 0 auto; }
.sep-header__cta:hover { background: #B8141B; }
.sep-header__cta .sep-cta-main { font: 700 14px/1.1 'Oswald', sans-serif; letter-spacing: .09em; color: #fff; }
.sep-header__cta .sep-cta-sub { font: 500 11px/1.2 'Inter', sans-serif; letter-spacing: .1em; color: rgba(255,255,255,.85); margin-top: 2px; display: block; }

.sep-header__mobile-actions { display: flex; align-items: center; gap: 14px; }
.sep-icon-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid #2c3037; font-size: 18px; color: #fff; background: transparent; cursor: pointer; padding: 0; }
.sep-hamburger { width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 5px; background: transparent; border: 1px solid #2c3037; cursor: pointer; padding: 0 11px; }
.sep-hamburger span { height: 2px; background: #fff; display: block; }

.sep-mobile-menu { display: none; border-top: 1px solid #22252a; padding: 8px 20px 18px; flex-direction: column; }
.sep-mobile-menu.is-open { display: flex; }
.sep-mobile-menu a { font: 600 14px/1 'Inter', sans-serif; letter-spacing: .12em; text-transform: uppercase; padding: 15px 0; border-bottom: 1px solid #1b1e22; }
.sep-mobile-menu__cta { margin-top: 16px !important; background: #E31B23; text-align: center; padding: 15px !important; font: 700 15px/1 'Oswald', sans-serif; letter-spacing: .09em; color: #fff !important; border-bottom: none !important; }

/* ---------- Hero (shared shell; page CSS adds layout) ---------- */
.sep-hero { background: linear-gradient(180deg, rgba(21,21,21,.72) 0%, rgba(10,10,10,.9) 100%), url('../img/dark_texture.svg') center/cover no-repeat #0A0A0A; border-bottom: 1px solid #22252a; }
.sep-hero__inner { padding: 32px 20px; }

/* ---------- Cards ---------- */
.sep-card { background: #151515; border: 1px solid #24262a; }
.sep-card--accent-top { border-top: 3px solid #E31B23; }

/* ---------- Trust strip ---------- */
.sep-trust { background: #131313; border-bottom: 1px solid #22252a; }
.sep-trust__grid { padding: 24px 20px; display: flex; flex-direction: column; gap: 20px; }
.sep-trust__item { display: flex; gap: 14px; align-items: flex-start; padding-left: 14px; border-left: 2px solid #3b4046; }
.sep-trust__item.is-accent { border-left-color: #E31B23; }
.sep-trust__item img { width: 28px; height: 28px; display: block; margin-bottom: 10px; }
.sep-trust__title { font: 600 13px/1.25 'Oswald', sans-serif; letter-spacing: .06em; color: #fff; text-transform: uppercase; }
.sep-trust__desc { font: 400 13px/1.5 'Inter', sans-serif; color: #8d9298; margin-top: 4px; }

/* ---------- Red CTA band ---------- */
.sep-cta-band { background: #E31B23 url('../img/red_cta_texture.svg') center/cover no-repeat; }
.sep-cta-band__inner { padding: 28px 20px; display: flex; flex-direction: column; gap: 18px; }
.sep-cta-band__heading { font: 700 24px/1.15 'Oswald', sans-serif; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.sep-cta-band__text { margin: 10px 0 0; font: 400 14px/1.5 'Inter', sans-serif; color: rgba(255,255,255,.92); }
.sep-cta-band__actions { display: flex; flex-direction: column; gap: 12px; }
.sep-cta-band .sep-btn-primary,
.sep-cta-band a.sep-btn-outline { background: #0A0A0A; border-color: rgba(255,255,255,.25); }
.sep-cta-band a.sep-btn-outline:hover { background: #000; border-color: rgba(255,255,255,.25); color: #fff; }
.sep-cta-band__call { display: flex; align-items: center; justify-content: center; gap: 10px; background: #0A0A0A; border: 1px solid rgba(255,255,255,.25); padding: 16px; min-height: 48px; }
.sep-cta-band__call-num { font: 600 20px/1.2 'Oswald', sans-serif; letter-spacing: .03em; color: #fff; }
.sep-cta-band__call-label { font: 600 11px/1 'Inter', sans-serif; letter-spacing: .14em; color: #9ea3a9; }

/* ---------- Forms (Contact page quote form) ---------- */
.sep-form { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.sep-form__row { display: flex; gap: 12px; flex-wrap: wrap; }
.sep-form input[type="text"],
.sep-form input[type="tel"],
.sep-form input[type="email"],
.sep-form select,
.sep-form textarea {
  background: #0A0A0A; border: 1px solid #2c3037; color: #fff; padding: 13px 14px; font-size: 15px; outline: none; width: 100%;
}
.sep-form select { color: #9ea3a9; }
.sep-form input:focus, .sep-form select:focus, .sep-form textarea:focus { border-color: #E31B23; }
.sep-form__row input { flex: 1 1 150px; }
.sep-form textarea { resize: vertical; }

.sep-form__upload-label { font: 600 12px/1 'Inter', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #9ea3a9; margin-top: 6px; }
.sep-dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 26px 16px; cursor: pointer; border: 2px dashed #3b4046; background: #0A0A0A; }
.sep-dropzone.is-dragging { border-color: #E31B23; background: rgba(225,20,20,.08); }
.sep-dropzone img { width: 32px; height: 32px; }
.sep-dropzone .sep-dz-title { font: 600 14px/1.4 'Inter', sans-serif; color: #F4F4F4; margin-top: 8px; }
.sep-dropzone .sep-dz-sub { font: 400 13px/1.4 'Inter', sans-serif; color: #8d9298; }
.sep-dropzone .sep-dz-types { font: 500 11px/1 'Inter', sans-serif; letter-spacing: .1em; color: #6d7176; margin-top: 10px; }
.sep-form__files { font: 500 12px/1.5 'Inter', sans-serif; color: #7fd18a; display: none; }
.sep-form__files.is-visible { display: block; }

.sep-form__submit { margin-top: 6px; min-height: 48px; }
.sep-form__submit:disabled { opacity: .6; cursor: default; }
.sep-form__secure { display: flex; align-items: center; justify-content: center; gap: 8px; }
.sep-form__secure img { width: 14px; height: 14px; }
.sep-form__secure span { font: 400 12px/1.4 'Inter', sans-serif; color: #6d7176; }

.sep-form__status { display: none; font: 500 13px/1.5 'Inter', sans-serif; padding: 12px 14px; border: 1px solid; }
.sep-form__status.is-visible { display: block; }
.sep-form__status.is-success { color: #7fd18a; border-color: #2f5c3a; background: rgba(127,209,138,.08); }
.sep-form__status.is-error { color: #F2555C; border-color: #5c2f33; background: rgba(227,27,35,.08); }

/* ---------- Photo grids (Services / Home before-after) ---------- */
.sep-photo-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.sep-photo-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border: 1px solid #24262a; display: block; }
.sep-photo-list { display: flex; flex-direction: column; gap: 16px; }
.sep-photo-list__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid #24262a; display: block; }
.sep-photo-list__caption { font: 500 12px/1.5 'Inter', sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #8d9298; margin-top: 8px; }

.sep-ba { position: relative; aspect-ratio: 4/3; overflow: hidden; border: 1px solid #2c3037; background: #000; }
.sep-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; }
.sep-ba__tag { position: absolute; top: 10px; left: 10px; color: #fff; font: 700 11px/1 'Inter', sans-serif; letter-spacing: .1em; padding: 6px 9px; }
.sep-ba__tag--before { background: #E31B23; }
.sep-ba__tag--after { background: #67B83A; left: auto; right: 10px; }
.sep-ba__caption { font: 500 13px/1.5 'Inter', sans-serif; color: #8d9298; margin-top: 10px; }

.sep-ba-slider { position: relative; aspect-ratio: 4/3; overflow: hidden; border: 1px solid #2c3037; cursor: ew-resize; touch-action: none; background: #000; }
.sep-ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; }
.sep-ba-slider__before { position: absolute; inset: 0; overflow: hidden; }
.sep-ba-slider__handle { position: absolute; top: 0; bottom: 0; width: 2px; background: #E31B23; pointer-events: none; }
.sep-ba-slider__knob { position: absolute; top: 50%; width: 40px; height: 40px; margin-left: -20px; margin-top: -20px; border-radius: 50%; background: #E31B23; border: 2px solid #fff; pointer-events: none; display: flex; align-items: center; justify-content: center; font: 700 10px 'Inter', sans-serif; letter-spacing: .04em; color: #fff; }
.sep-ba-hint { font: 400 12px/1.5 'Inter', sans-serif; color: #6d7176; margin-top: 14px; }

/* ---------- Reviews ---------- */
.sep-reviews__links { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.sep-review-card { background: #151515; border: 1px solid #24262a; padding: 22px; }
.sep-review-card__stars { color: #E31B23; letter-spacing: .2em; font-size: 14px; }
.sep-review-card__quote { margin: 12px 0 0; font: 400 14px/1.6 'Inter', sans-serif; color: #BFC3C7; }
.sep-review-card__author { font: 600 11px/1 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #8d9298; margin-top: 16px; }

/* ---------- Footer ---------- */
.sep-footer { background: #0A0A0A; border-top: 1px solid #22252a; }
.sep-footer__grid { max-width: 1240px; margin: 0 auto; padding: 32px 20px; display: flex; flex-direction: column; gap: 28px; }
.sep-footer__brand { font: 700 18px/1.1 'Oswald', sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.sep-footer__brand .accent { color: #E31B23; }
.sep-footer__rule { width: 32px; height: 2px; background: #E31B23; margin: 12px 0 14px; }
.sep-footer__tagline { font: 400 13px/1.6 'Inter', sans-serif; color: #8d9298; }
.sep-footer__heading { font: 600 12px/1 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.sep-footer__area { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; margin-top: 14px; }
.sep-footer__list { display: flex; flex-direction: column; gap: 10px; flex: 1 1 140px; }
.sep-footer__list a, .sep-footer__list span { font: 400 14px/1.4 'Inter', sans-serif; color: #BFC3C7; word-break: break-word; }
.sep-footer__list span.is-muted { color: #8d9298; }
.sep-footer__map { width: 170px; height: auto; display: block; flex: 0 0 auto; border: 1px solid #24262a; }
.sep-footer__bottom { border-top: 1px solid #1b1e22; padding-top: 18px; }
.sep-footer__bottom-inner { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.sep-footer__copyright { font: 400 12px/1.4 'Inter', sans-serif; color: #6d7176; }
.sep-footer__legal { display: flex; gap: 22px; }
.sep-footer__legal a { font: 400 12px/1.4 'Inter', sans-serif; color: #8d9298; }

/* ---------- Sticky mobile bar ---------- */
.sep-mobile-bar { position: sticky; bottom: 0; left: 0; right: 0; z-index: 50; display: flex; background: #0A0A0A; border-top: 1px solid #2c3037; }
.sep-mobile-bar a { flex: 1 1 40%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 8px; min-height: 60px; }
.sep-mobile-bar__quote { flex: 1 1 60% !important; background: #E31B23; }
.sep-mobile-bar__main { font: 600 14px/1.1 'Oswald', sans-serif; letter-spacing: .05em; color: #fff; }
.sep-mobile-bar__sub { font: 400 11px/1.2 'Inter', sans-serif; color: #8d9298; margin-top: 3px; }
.sep-mobile-bar__quote .sep-mobile-bar__main { font-weight: 700; }
.sep-mobile-bar__quote .sep-mobile-bar__sub { color: rgba(255,255,255,.9); }

/* =========================================================================
   Desktop (>= 860px)
   ========================================================================= */
@media (min-width: 860px) {
  .sep-topbar { padding: 7px 20px; }
  .sep-topbar__desktop-only { display: flex; }
  .sep-header__row { padding: 12px 20px; min-height: 58px; }
  .sep-header__logo-link { width: 149px; height: 93px; overflow: visible; }
  .sep-header__logo { width: 230px !important; height: 230px; max-width: none !important; max-height: none; margin-top: -20px; margin-left: -8px; object-fit: contain; }
  .sep-nav-desktop { display: flex; }
  .sep-header__cta { display: flex; }
  .sep-header__mobile-actions { display: none; }
  .sep-mobile-menu { display: none !important; }

  .sep-hero__inner { max-width: 1240px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) 20px; }
  .sep-eyebrow { letter-spacing: .2em; }
  .sep-h1 { font-size: clamp(32px, 4vw, 50px); margin-top: 14px; }
  .sep-subtext { font-size: 16px; margin-top: 18px; }

  .sep-h2 { font-size: clamp(24px, 2.6vw, 34px); }
  .sep-rule { margin: 14px 0 26px; }

  .sep-trust__grid { max-width: 1240px; margin: 0 auto; padding: 26px 20px; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
  .sep-trust__item { padding-left: 16px; gap: 16px; }
  .sep-trust__item img { width: 30px; height: 30px; margin-bottom: 12px; }
  .sep-trust__title { font-size: 14px; }

  .sep-cta-band__inner { max-width: 1240px; margin: 0 auto; padding: clamp(26px, 3vw, 40px) 20px; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .sep-cta-band__heading { font-size: clamp(22px, 2.4vw, 32px); }
  .sep-cta-band__actions { flex-direction: row; }
  .sep-cta-band__call { padding: 18px 28px; }

  .sep-form__submit { padding: 17px; font-size: 17px; }

  .sep-photo-grid { grid-template-columns: repeat(4, 1fr); }
  .sep-photo-grid img { aspect-ratio: auto; height: 170px; }
  .sep-photo-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }

  .sep-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.7fr; gap: clamp(24px, 3vw, 40px); padding: clamp(32px, 3.5vw, 50px) 20px; }
  .sep-footer__bottom { padding-top: 0; border-top: none; }
  .sep-footer__bottom-inner { max-width: 1240px; margin: 0 auto; padding: 18px 20px; }

  .sep-mobile-bar { display: none !important; }
}

@media (max-width: 859.98px) {
  .sep-cta-band__actions .sep-btn-outline,
  .sep-cta-band__actions .sep-btn-primary { display: block; width: 100%; }
}
