/* ===========================
   GLOBAL CONTAINER
   =========================== */

.container {
  max-width: 990px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   GLOBAL BASE RULES
   =========================== */

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.3;
  color: #000000;
  background: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Global link styling */
a {
  color: #000000;
  text-decoration: underline;
}

a:hover,
a:focus {
  color: #c40000;
}

/* ===========================
   DESKTOP HEADER ONLY
   3 COLUMNS: 30 / 30 / 40
   =========================== */

.site-header {
  background: #ffffff;
  padding: 12px 0;
}

.header-inner {
  display: grid;
  grid-template-columns: 30% 30% 40%;
  align-items: center;
}

/* Left – logo */
.header-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.header-left .logo {
  max-width: 240px;
  height: auto;
}

/* Center – phone */
.header-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-center .header-phone {
  font-size: 2rem;
  font-weight: 800;
  color: #c40000;
  text-decoration: none;
  white-space: nowrap;
}

.header-center .header-phone:hover,
.header-center .header-phone:focus {
  color: #000000;
}

/* Right – empty / reserved */
.header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.nav-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-column a {
  font-size: 0.75rem;
  font-weight: 400;
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.3;
  padding: 1px 0;
}

.nav-column a::before {
  content: "• ";
  color: #000000;
}

.nav-column a:hover,
.nav-column a:focus {
  color: #c40000;
}

/* Hamburger - hidden on desktop */
.hamburger {
  display: none;
}

/* ===========================
   GLOBAL SECTION GAPS – SINGLE SOURCE OF TRUTH
   =========================== */

:root { --section-gap: 10px; }  /* change this number only */

.site-header { margin-bottom: var(--section-gap); }

main { margin-bottom: var(--section-gap); }

.band-wrapper { margin: 0 0 var(--section-gap); }  /* keeps band tight above, gap below */

.faq-section { margin-bottom: var(--section-gap); }

.site-footer { margin-top: 0; } /* optional – footer already follows faq gap */



/* ===========================
   MAIN – LEFT / RIGHT PANELS
   =========================== */

main {
  display: block;
}

.intro-and-form {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* LEFT PANEL */
.intro-panel {
  flex: 3;
}

/* RIGHT PANEL – quote form */
.quote-panel {
  flex: 1.5;
  max-width: 350px;
}

/* ===========================
   LEFT PANEL – FINAL
   =========================== */

/* Panel container */
.intro-panel {
  flex: 3;
}

/* H1 – larger, strong, flush */
.intro-panel h1 {
  margin: 0 0 2px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.15;
  color: #000000;
}

/* Subhead – distinct from body copy */
.intro-panel .intro-subhead {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: #000000;
}

/* Body copy – larger + readable */
.intro-panel p {
  margin: 0 0 12px;
   line-height: 1.3;
  color: #000000;
}


/* Desktop H2 for content pages (privacy, etc.) */
.intro-panel h2 {
  margin: 14px 0 2px;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
}

/* First H2 - tighter after H1 */
.intro-panel h2:first-of-type {
  margin-top: 10px;
}
/* Image + copy rows */
.content-block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* Image column */
.content-image {
  flex: 0 0 150px;
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* Copy column */
.content-copy {
  flex: 1;
}

/* ===========================
   RIGHT PANEL – QUOTE FORM RULES
   =========================== */

.quote-panel {
  flex: 1.5;
  background: #000000;
  color: #ffffff;
  max-width: 350px;
  align-self: flex-start;
  border-radius: 8px;
  padding: 20px;
}

.quote-panel h2 {
  margin: -4px 0 12px;
  color: #ffffff;
  text-align: center;
}

.quote-panel h4 {
  margin: 0 0 12px;
  color: #000000;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.quote-panel form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.form-row input {
  min-width: 0;
}

.quote-panel input[type="text"],
.quote-panel input[type="email"],
.quote-panel input[type="tel"],
.quote-panel textarea {
  padding: 7px;
  border-radius: 4px;
  border: none;
  font-size: 0.8rem;
  background: #ffffff;
}

.quote-panel input::placeholder,
.quote-panel textarea::placeholder {
  color: #c40000;
}

.quote-panel textarea {
  resize: vertical;
  font-size: 0.8rem;
  font-family: Arial, Helvetica, sans-serif;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.service-label {
  grid-column: 1 / -1;
  margin: 0 0 2px 0;
  color: #000000;
  font-weight: 700;
  font-size: 1rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  background: #ffffff;
  padding: 10px;
  border-radius: 4px;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  color: #000000;
  font-size: 0.8rem;
  white-space: nowrap;
}

.checkbox-grid input[type="checkbox"] {
  margin-right: 6px;
  accent-color: #000000;
}

.quote-panel button[type="submit"] {
  margin-top: 4px;
  padding: 7px 18px;
  border-radius: 4px;
  border: 2px solid #ffffff;
  background: #000000;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.quote-panel button[type="submit"]:hover {
  background: #ffffff;
  color: #000000;
}

/* ===========================
   IMAGE BAND – ORIGINAL / CORRECT
   =========================== */

.band-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  margin: 0 0 15px
  overflow: hidden;
}

/* Background image */
.band-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Heading overlay */
.band-heading {
  position: absolute;
  left: 0.5in;
  top: 50%;
  width: 40%;
  transform: translateY(-50%);
  margin: 0;
  text-align: center;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
}

/* ===========================
   FAQ SECTION – FINAL
   =========================== */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 25px;
  row-gap: 12px;
}

.faq-item {
  margin: 0;
}

/* Question */
.faq-item h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: #000000;
}

/* Answer */
.faq-item p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #000000;
}

/* No extra space after last answer in a column */
.faq-column .faq-item:last-child p {
  margin-bottom: 0;
}

/* ===========================
   FOOTER – CLEAN
   =========================== */

.site-footer {
  background: #f5f5f5;
  border-top: 1px solid #e1e1e1;
  padding: 16px 0;
}

/* Layout */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Left side */
.footer-left p {
  margin: 0;
  font-size: 0.75rem;
  color: #000000;
}

/* Right side */
.footer-right {
  text-align: right;
}

.footer-right p {
  margin: 0;
  font-size: 0.75rem;
  color: #000000;
}

.footer-right a {
  color: #000000;
  text-decoration: none;
}

.footer-right a:hover {
  color: #c40000;
}

/* ===========================
   COOKIE CONSENT – CLEAN
   =========================== */

/* Lock background */
body.cc-locked {
  overflow: hidden;
}

body.cc-locked > *:not(#cookie-consent) {
  filter: blur(4px);
  pointer-events: none;
}

/* Overlay */
#cookie-consent {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,0.45);
  z-index: 99999;
}

#cookie-consent.cc-hidden {
  display: none;
}

/* Card */
.cc-card {
  width: min(720px, 100%);
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Title */
#cc-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #000000;
}

/* Copy */
.cc-text {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #000000;
}

/* Preferences panel */
.cc-prefs {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
}

.cc-prefs.cc-hidden {
  display: none;
}

.cc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.9rem;
}

/* Actions */
.cc-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 10px;
}

.cc-btn {
  border: 2px solid #000000;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  background: #ffffff;
  color: #000000;
}

.cc-primary {
  background: #000000;
  color: #ffffff;
}

.cc-secondary {
  background: #ffffff;
  color: #000000;
}

/* ===========================
   PREV / NEXT NAVIGATION
   =========================== */

.page-navigation {
  margin-top: 10px; /* matches section gap rhythm */
}

.nav-links {
  text-align: center;
}

.nav-prev,
.nav-next,
.nav-separator {
  font-size: 1rem;
  font-weight: 700;
  color: #000000;
  margin: 0 8px;
  text-decoration: none;
}

.nav-prev:hover,
.nav-next:hover {
  color: #0088b3;
}


/* ===========================
   THANK YOU - SERVICES PANEL
   =========================== */

.ty-services-panel {
  margin: 0 0 var(--section-gap);
}

.ty-services-inner {
  background: #000000;
  border-radius: 12px;
  padding: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.ty-services-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 0 0 20px;
}

.ty-service {
  /* individual service block */
}

.ty-service h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.ty-service-body {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.ty-service-image {
  flex: 0 0 120px;
}

.ty-service-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.ty-service-copy {
  flex: 1;
}

.ty-service-copy p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #ffffff;
}

.ty-services-phone {
  text-align: center;
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 400;
}

.ty-phone-number {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  margin-left: 8px;
}

.ty-phone-number:hover,
.ty-phone-number:focus {
  color: #c40000;
}

/* ============================================================
   ============================================================
   =======================  MOBILE  ===========================
   ============================================================
   ============================================================ */

@media (max-width: 768px) {
  /* Hide desktop nav on mobile */
  .desktop-nav {
    display: none;
  }

  /* Show hamburger on mobile */
  .hamburger {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .hamburger img {
    width: 32px;
    height: 32px;
  }

  /* ========================================
     HEADER - 30 / 55 / 15
     ======================================== */
  
  .site-header {
    padding: 8px 0;
  }

  .header-inner {
    display: grid;
    grid-template-columns: 30% 55% 15%;
    align-items: center;
  }

  /* Logo - left */
  .header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .header-left .logo {
    max-width: 120px;
    width: auto;
    height: auto;
    display: block;
  }

  /* Phone - center */
  .header-center {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
  }

  .header-center .header-phone {
    font-size: 1.4rem;
    font-weight: 800;
    white-space: nowrap;
  }

  /* Hamburger - right */
  .header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .hamburger {
    display: block;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }

  .hamburger img {
    width: 26px;
    height: auto;
    display: block;
  }

  /* Force hide desktop nav */
  .header-services,
  .header-services ul,
  .header-services li,
  .site-header ul {
    display: none !important;
  }

  /* ========================================
     MOBILE MENU
     ======================================== */

  /* Overlay - darkens background when menu open */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Menu - hidden by default, slides in from right */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: #ffffff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: 999;
    padding: 60px 0 20px;
  }

  .mobile-menu.active {
    right: 0;
  }

  .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-menu li {
    border-bottom: 1px solid #e1e1e1;
  }

  .mobile-menu a {
    display: block;
    padding: 14px 20px;
    color: #000000;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
  }

  .mobile-menu a:hover,
  .mobile-menu a:active {
    background: #f5f5f5;
    color: #c40000;
  }

  /* ========================================
     HERO IMAGE
     ======================================== */

  .mobile-hero {
    width: 100%;
    height: 220px;
    overflow: hidden;
    margin: 0 0 15px;
  }
  
  .mobile-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* ========================================
     MAIN CONTENT
     ======================================== */

  /* Stack vertically instead of side-by-side */
  .intro-and-form {
    display: block;
    width: 100%;
  }
  
  /* Left panel - full width */
  .intro-panel {
    width: 100%;
    max-width: 100%;
    margin: 0 0 15px;
  }

  /* H1 - home page only */
  .landing-page .intro-panel h1 {
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
    text-align: left;
    white-space: nowrap;
  }

  /* Subhead - home page only */
  .landing-page .intro-panel .intro-subhead {
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.25;
    color: #000000;
  }

  /* Hide desktop content blocks with images - home page only */
  .landing-page .intro-panel .content-block {
    display: none;
  }

  /* Hide all paragraphs except first - home page only */
  .landing-page .intro-panel p:not(:first-of-type) {
    display: none;
  }

  /* First paragraph styling - home page only */
  .landing-page .intro-panel p:first-of-type {
    width: 100%;
    margin: 0 0 15px;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.3;
    color: #000000;
  }

  /* H2 spacing for content pages - tighter sections */
  .intro-panel h2 {
    margin: 12px 0 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
  }

  /* First H2 - less top margin after H1 */
  .intro-panel h2:first-of-type {
    margin-top: 8px;
  }

  /* Thank you page - tighter H1 spacing */
  .thank-you-page .thank-you-section h1 {
    margin: 0 0 8px;
  }
  
  /* Right panel - full width */
  .quote-panel {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  /* ========================================
     FAQ SECTION
     ======================================== */

  /* Hide desktop image band */
  .band-wrapper {
    display: none;
  }

  /* FAQ section container */
  .faq-section {
    margin-bottom: 15px;
  }

  /* FAQ heading - red centered text */
  .faq-section h2 {
    margin: 0 0 10px;
    padding: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #c40000;
    text-align: center;
  }

  /* Single column stack instead of grid */
  .faq-grid {
    display: block;
    width: 100%;
  }

  /* FAQ item spacing */
  .faq-item {
    margin: 0 0 10px;
  }

  .faq-item:last-child {
    margin-bottom: 0;
  }

  /* Question styling */
  .faq-item h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
  }

  /* Answer styling */
  .faq-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.3;
    color: #000000;
  }

  /* ========================================
     FOOTER
     ======================================== */


  /* ========================================
     THANK YOU SERVICES PANEL
     ======================================== */

  /* Panel - contained box */
  .ty-services-inner {
    padding: 20px;
  }

  /* Stack services vertically */
  .ty-services-columns {
    display: block;
  }

  /* Service spacing */
  .ty-service {
    margin: 0 0 20px;
  }

  .ty-service:last-child {
    margin-bottom: 0;
  }

  /* Service heading */
  .ty-service h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
  }

  /* Image + copy side by side */
  .ty-service-body {
    display: flex;
    gap: 12px;
  }

  .ty-service-image {
    flex: 0 0 100px;
  }

  .ty-service-copy p {
    font-size: 0.85rem;
  }

  /* Phone line */
  .ty-services-phone {
    margin-top: 20px;
    font-size: 1rem;
  }

  .ty-phone-number {
    display: inline;
  }
  .site-footer {
    padding: 12px 0;
  }

  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-left p {
    font-size: 0.7rem;
  }

  .footer-right p {
    font-size: 0.7rem;
  }

  /* Hide location info on mobile */
  .footer-location {
    display: none;
  }

}

/* ============================================================
   DESKTOP SAFETY
   ============================================================ */

@media (min-width: 769px) {
  .hamburger {
    display: none;
  }
  
  .mobile-hero {
    display: none;
  }
  
  .faq-section h2 {
    display: none;
  }
  
  .mobile-menu {
    display: none;
  }
  
  .menu-overlay {
    display: none;
  }
  
  .faq-section h2 {
    display: none;
  }
  
  .mobile-menu {
    display: none;
  }
  
  .menu-overlay {
    display: none;
  }
}