/* Southern Heat — black / red / white brand theme (mobile-first) */

:root {
  --sh-primary: #E10600;
  --sh-primary-dark: #B00000;
  --sh-accent: #FF2A2A;
  --sh-navy: #0A0A0A;
  --sh-slate: #B8B8B8;
  --sh-cream: #111111;
  --sh-warm: #2A2A2A;
  --sh-white: #fff;
  --sh-black: #000;
  --sh-surface: #161616;
  --sh-header-h: 80px;
  --sh-sticky-h: 64px;
  --sh-radius: 8px;
  --sh-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  padding-bottom: calc(var(--sh-sticky-h) + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  background: var(--sh-black);
  color: var(--sh-white);
}

img {
  max-width: 100%;
  height: auto;
}

/* Sticky header */
.sh-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sh-warm);
  box-shadow: 0 1px 0 rgba(225, 6, 0, 0.25);
}

.sh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  min-height: var(--sh-header-h);
}

.sh-brand {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  color: var(--sh-white) !important;
  flex-shrink: 0;
  line-height: 0;
}

.sh-brand__logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: min(160px, 42vw);
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

@media (min-width: 600px) {
  .sh-brand__logo {
    height: 64px;
    max-width: 200px;
  }
}

.sh-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.sh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.sh-btn--call {
  background: var(--sh-primary);
  color: var(--sh-white) !important;
}

.sh-btn--call:hover,
.sh-btn--call:focus-visible {
  background: var(--sh-primary-dark);
  color: var(--sh-white) !important;
}

.sh-btn--outline {
  background: transparent;
  color: var(--sh-white) !important;
  border-color: var(--sh-white);
}

.sh-btn--outline:hover,
.sh-btn--outline:focus-visible {
  background: var(--sh-white);
  color: var(--sh-black) !important;
}

.sh-btn--accent {
  background: var(--sh-accent);
  color: var(--sh-white) !important;
}

.sh-btn--accent:hover {
  background: var(--sh-primary-dark);
  color: var(--sh-white) !important;
}

.sh-btn--lg {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  min-height: 52px;
}

/* Nav (desktop) */
.sh-nav {
  display: none;
}

@media (min-width: 960px) {
  .sh-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .sh-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.4rem 0.7rem;
    color: var(--sh-white) !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 4px;
  }
  .sh-nav a:hover,
  .sh-nav a:focus-visible {
    color: var(--sh-accent) !important;
    background: rgba(225, 6, 0, 0.12);
  }
  .sh-header__quote-desktop {
    display: inline-flex !important;
  }
}

.sh-header__quote-desktop {
  display: none;
}

.sh-header__call-label {
  display: none;
}

@media (min-width: 480px) {
  .sh-header__call-label {
    display: inline;
  }
}

/* Sticky bottom bar */
.sh-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  background: var(--sh-navy);
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.sh-sticky-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--sh-sticky-h);
  color: var(--sh-white) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
}

.sh-sticky-bar__call {
  background: var(--sh-primary);
}

.sh-sticky-bar__call:hover,
.sh-sticky-bar__call:focus-visible {
  background: var(--sh-primary-dark);
}

.sh-sticky-bar__quote {
  background: #111;
  border-left: 1px solid var(--sh-warm);
}

.sh-sticky-bar__quote:hover,
.sh-sticky-bar__quote:focus-visible {
  background: #1c1c1c;
}

/* Hero */
.sh-hero {
  background: linear-gradient(160deg, #000 0%, #0d0d0d 50%, #1a0505 100%);
  color: var(--sh-white);
  padding: 2.5rem 1rem 3.5rem;
  border-radius: 0 0 24px 24px;
  margin-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.has-global-padding > .sh-hero,
.has-global-padding > .sh-section--alt {
  max-width: none !important;
  width: auto;
  margin-left: calc(-1 * var(--wp--style--root--padding-left, 1rem)) !important;
  margin-right: calc(-1 * var(--wp--style--root--padding-right, 1rem)) !important;
}

.sh-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.sh-hero__logo {
  display: block;
  width: min(1120px, 96vw);
  height: auto;
  margin: 0 auto 1.75rem;
  background: transparent;
  border: none;
  box-shadow: none;
  filter: none;
}

@media (min-width: 768px) {
  .sh-hero__logo {
    width: min(1360px, 88vw);
  }
}

.sh-hero h1 {
  color: var(--sh-white) !important;
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin: 0 0 1rem;
  max-width: 18ch;
}

.sh-hero p {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 38rem;
  opacity: 0.92;
  margin: 0 0 1.75rem;
  color: #e8e8e8;
}

.sh-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sh-badge {
  display: inline-block;
  background: rgba(225, 6, 0, 0.15);
  border: 1px solid rgba(225, 6, 0, 0.45);
  color: var(--sh-white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* Sections */
.sh-section {
  padding: 3rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.sh-section--alt {
  background: var(--sh-surface);
  padding-left: 1rem;
  padding-right: 1rem;
  border-top: 1px solid var(--sh-warm);
  border-bottom: 1px solid var(--sh-warm);
}

.sh-section__title {
  margin: 0 0 0.5rem;
  color: var(--sh-white) !important;
}

.sh-section__lead {
  color: var(--sh-slate);
  font-size: 1.1rem;
  max-width: 40rem;
  margin: 0 0 2rem;
}

/* Cards grid */
.sh-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .sh-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .sh-cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sh-card {
  background: var(--sh-surface);
  border: 1px solid var(--sh-warm);
  border-radius: var(--sh-radius);
  padding: 1.5rem;
  box-shadow: var(--sh-shadow);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.sh-card:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 6, 0, 0.55);
  box-shadow: 0 8px 28px rgba(225, 6, 0, 0.15);
}

.sh-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--sh-white) !important;
}

.sh-card p {
  margin: 0 0 1rem;
  color: var(--sh-slate);
  font-size: 0.95rem;
}

.sh-card a.sh-card__link {
  font-weight: 600;
  text-decoration: none !important;
  color: var(--sh-accent) !important;
}

.sh-card a.sh-card__link:hover {
  text-decoration: underline !important;
  color: var(--sh-white) !important;
}

.sh-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

/* Trust strip */
.sh-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--sh-warm);
  border-bottom: 1px solid var(--sh-warm);
  margin: 2rem 0;
}

.sh-trust__item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sh-trust__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sh-slate);
  font-weight: 600;
}

.sh-trust__value {
  font-weight: 600;
  color: var(--sh-white);
}

/* Page hero (inner) */
.sh-page-hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--sh-warm);
  margin-bottom: 2rem;
}

.sh-page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--sh-white) !important;
}

.sh-page-hero p {
  margin: 0;
  color: var(--sh-slate);
  font-size: 1.1rem;
  max-width: 40rem;
}

/* Prose content */
.sh-prose {
  max-width: 720px;
  color: #e0e0e0;
}

.sh-prose h2 {
  margin-top: 2rem;
  color: var(--sh-white) !important;
}

.sh-prose a {
  color: var(--sh-accent) !important;
}

.sh-prose ul {
  padding-left: 1.25rem;
}

.sh-prose li {
  margin-bottom: 0.4rem;
}

/* FAQ */
.sh-faq details {
  background: var(--sh-surface);
  border: 1px solid var(--sh-warm);
  border-radius: var(--sh-radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.sh-faq summary {
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  list-style: none;
  color: var(--sh-white);
}

.sh-faq summary::-webkit-details-marker {
  display: none;
}

.sh-faq summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.25rem;
  color: var(--sh-primary);
  font-weight: 400;
}

.sh-faq details[open] summary::after {
  content: "−";
}

.sh-faq details p {
  margin: 0.75rem 0 0;
  color: var(--sh-slate);
}

.sh-faq a {
  color: var(--sh-accent) !important;
}

/* Forms */
.sh-quote-form {
  background: var(--sh-surface);
  border: 1px solid var(--sh-warm);
  border-radius: var(--sh-radius);
  padding: 1.5rem;
  max-width: 32rem;
  box-shadow: var(--sh-shadow);
}

.sh-field {
  margin: 0 0 1.15rem;
}

.sh-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: var(--sh-white);
}

.sh-field input,
.sh-field select,
.sh-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--sh-warm);
  border-radius: 6px;
  font: inherit;
  background: #0a0a0a;
  color: var(--sh-white);
}

.sh-field textarea {
  min-height: 120px;
  resize: vertical;
}

.sh-field input:focus,
.sh-field select:focus,
.sh-field textarea:focus {
  outline: 2px solid var(--sh-primary);
  outline-offset: 1px;
  border-color: var(--sh-primary);
}

.sh-field--submit button,
.sh-quote-form .wp-block-button__link {
  min-height: 52px;
  width: 100%;
  background: var(--sh-primary);
  color: var(--sh-white);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.85rem 1.5rem;
}

.sh-field--submit button:hover {
  background: var(--sh-primary-dark);
}

.sh-form-note {
  font-size: 0.875rem;
  color: var(--sh-slate);
  margin: 0;
}

.sh-form-note a {
  color: var(--sh-accent) !important;
}

.sh-form-success {
  background: #0f2a14;
  border: 1px solid #2e7d32;
  border-radius: var(--sh-radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  max-width: 32rem;
  color: #c8e6c9;
}

/* Footer */
.sh-footer {
  background: #000;
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 1rem 2rem;
  margin-left: 0;
  margin-right: 0;
  margin-top: 3rem;
  border-top: 2px solid var(--sh-primary);
}

.sh-footer a {
  color: #fff !important;
  text-decoration: none !important;
}

.sh-footer a:hover {
  text-decoration: underline !important;
  color: var(--sh-accent) !important;
}

.sh-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .sh-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.sh-footer h3 {
  color: #fff !important;
  font-size: 1rem;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 600;
}

.sh-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sh-footer li {
  margin-bottom: 0.5rem;
}

.sh-footer li a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.sh-footer__brand {
  font-family: Georgia, "Times New Roman", "Liberation Serif", serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.sh-footer__meta {
  font-size: 0.875rem;
  line-height: 1.6;
}

.sh-footer__bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  opacity: 0.75;
}

/* CTA band */
.sh-cta-band {
  background: linear-gradient(120deg, var(--sh-primary) 0%, var(--sh-primary-dark) 100%);
  color: #fff;
  padding: 2.5rem 1.5rem;
  border-radius: var(--sh-radius);
  text-align: center;
  margin: 2.5rem 0;
}

.sh-cta-band h2 {
  color: #fff !important;
  margin: 0 0 0.75rem;
}

.sh-cta-band p {
  margin: 0 0 1.5rem;
  opacity: 0.95;
}

.sh-cta-band .sh-hero__ctas {
  justify-content: center;
}

/* Service areas list */
.sh-cities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .sh-cities {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sh-cities a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  background: var(--sh-surface);
  border: 1px solid var(--sh-warm);
  border-radius: var(--sh-radius);
  font-weight: 600;
  text-decoration: none !important;
  color: var(--sh-white) !important;
  padding: 0.75rem;
}

.sh-cities a:hover {
  border-color: var(--sh-primary);
  color: var(--sh-accent) !important;
}

/* Focus visible */
:focus-visible {
  outline: 3px solid var(--sh-accent);
  outline-offset: 2px;
}

.wp-site-blocks {
  padding-left: 0;
  padding-right: 0;
  background: var(--sh-black);
  color: var(--sh-white);
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}


/* Work gallery / photo grid */
.sh-gallery {
  margin: 1.5rem 0 2rem;
}

.sh-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--sh-radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  background: var(--sh-surface);
}

.sh-gallery figcaption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--sh-slate);
  line-height: 1.45;
}

.sh-gallery--feature {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.sh-gallery--pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
}

@media (min-width: 640px) {
  .sh-gallery--pair {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .sh-gallery--pair img {
    height: 100%;
    object-fit: cover;
    min-height: 240px;
  }
}

.sh-gallery--hub {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.sh-work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 1.25rem 0 0;
}

@media (min-width: 520px) {
  .sh-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .sh-work-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.sh-work-grid__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--sh-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--sh-surface);
  aspect-ratio: 4 / 3;
}

.sh-work-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.35s ease;
}

.sh-work-grid__item:hover img {
  transform: scale(1.03);
}
