/*
 * Ja-Mar Roofing — Service Page Enhancements
 * File: jamar-service-enhancements.css
 * Prefix: jamar-svc-
 * Safe to load globally — all classes are unique and will not
 * interfere with GeneratePress, existing page styles, or plugins.
 * Version: 1.0.1
 */

/* ============================================================
   TRUST BAR
   Usage: <div class="jamar-svc-trust-bar">...</div>
   ============================================================ */
.jamar-svc-trust-bar {
    background: #1a1a1a;
    padding: 14px 20px;
    text-align: center;
    margin-bottom: 32px;
}

.jamar-svc-trust-bar span {
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    margin: 4px 16px;
    display: inline-block;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .jamar-svc-trust-bar span {
        display: block;
        margin: 6px auto;
        white-space: normal;
    }
}

/* ============================================================
   SERVICE ICON GRID
   Usage: <div class="jamar-svc-grid">
            <div class="jamar-svc-grid-card">...</div>
          </div>
   ============================================================ */
.jamar-svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 24px 0 32px;
}

.jamar-svc-grid-card {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px 18px;
}

.jamar-svc-grid-card .jamar-svc-icon {
    font-size: 42px;
    margin-bottom: 14px;
    color: #c8102e;
    line-height: 1;
}

.jamar-svc-grid-card .jamar-svc-icon i {
    display: block;
}

.jamar-svc-grid-card strong {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
}

.jamar-svc-grid-card ul {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
    color: #444;
}

/* ============================================================
   MATERIALS COMPARISON TABLE
   Usage: <div class="jamar-svc-table-wrap"><table>...</table></div>
   ============================================================ */
.jamar-svc-table-wrap {
    overflow-x: auto;
    margin: 20px 0 32px;
}

.jamar-svc-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.jamar-svc-table-wrap thead tr {
    background: #1a1a1a;
    color: #fff;
}

.jamar-svc-table-wrap thead th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.jamar-svc-table-wrap tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.jamar-svc-table-wrap tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.jamar-svc-table-wrap tbody td {
    padding: 11px 16px;
}

/* ============================================================
   3-COLUMN INFO CARDS (Verify / Ask / Watch)
   Usage: <div class="jamar-svc-info-grid">
            <div class="jamar-svc-info-card">...</div>
            <div class="jamar-svc-info-card jamar-svc-info-card--alert">...</div>
          </div>
   ============================================================ */
.jamar-svc-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0 32px;
}

.jamar-svc-info-card {
    border-left: 4px solid #1a1a1a;
    padding: 16px 18px;
    background: #f9f9f9;
    border-radius: 0 6px 6px 0;
}

.jamar-svc-info-card--alert {
    border-left-color: #c8102e;
}

.jamar-svc-info-card strong {
    display: block;
    margin-bottom: 8px;
}

.jamar-svc-info-card ul {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
}

/* ============================================================
   NUMBERED PROCESS STEPS
   Usage: <div class="jamar-svc-steps">
            <div class="jamar-svc-step">
              <div class="jamar-svc-step-num">1</div>
              <div class="jamar-svc-step-body">...</div>
            </div>
          </div>
   ============================================================ */
.jamar-svc-steps {
    margin: 24px 0 32px;
}

.jamar-svc-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.jamar-svc-step-num {
    min-width: 36px;
    height: 36px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.jamar-svc-step-body {
    padding-top: 4px;
}

.jamar-svc-step-body strong {
    display: block;
    margin-bottom: 4px;
    line-height: 1.3;
}

.jamar-svc-step-body span {
    display: block;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-top: 2px;
}

/* ============================================================
   FAQ CARD STACK
   Usage: <div class="jamar-svc-faq">
            <div class="jamar-svc-faq-item">
              <strong>Question?</strong>
              <p>Answer.</p>
            </div>
          </div>
   ============================================================ */
.jamar-svc-faq {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 32px;
}

.jamar-svc-faq-item {
    padding: 18px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.jamar-svc-faq-item:last-child {
    border-bottom: none;
}

.jamar-svc-faq-item strong {
    display: block;
    margin-bottom: 0;
}

.jamar-svc-faq-item p {
    margin: 10px 0 0;
    font-size: 14px;
    color: #444;
}

/* ============================================================
   MID-PAGE CTA BAND (dark)
   Usage: <div class="jamar-svc-cta-band">...</div>
   ============================================================ */
.jamar-svc-cta-band {
    background: #1a1a1a;
    color: #fff;
    border-radius: 6px;
    padding: 32px 28px;
    margin: 40px 0;
    text-align: center;
}

.jamar-svc-cta-band p:first-child {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
}

.jamar-svc-cta-band p:last-of-type {
    font-size: 15px;
    margin: 0 0 22px;
    color: #ccc;
}

/* ============================================================
   CLOSING CTA CARD (light)
   Usage: <div class="jamar-svc-cta-close">...</div>
   ============================================================ */
.jamar-svc-cta-close {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 28px;
    text-align: center;
    margin-top: 32px;
}

.jamar-svc-cta-close p:first-child {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
}

.jamar-svc-cta-close p:last-of-type {
    font-size: 15px;
    margin: 0 0 20px;
    color: #555;
}

/* ============================================================
   SHARED BUTTON STYLES
   Usage: <a class="jamar-svc-btn">Primary</a>
          <a class="jamar-svc-btn jamar-svc-btn--dark">Phone</a>
          <a class="jamar-svc-btn jamar-svc-btn--outline">Secondary</a>
   ============================================================ */
.jamar-svc-btn {
    display: inline-block;
    background: #c8102e;
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none !important;
    margin: 4px 6px;
    transition: opacity 0.2s ease;
}

.jamar-svc-btn:hover,
.jamar-svc-btn:focus,
.jamar-svc-btn:visited {
    opacity: 0.88;
    color: #fff !important;
    text-decoration: none !important;
}

.jamar-svc-btn--dark {
    background: #1a1a1a;
    color: #fff !important;
}

.jamar-svc-btn--dark:hover,
.jamar-svc-btn--dark:focus,
.jamar-svc-btn--dark:visited {
    color: #fff !important;
}

.jamar-svc-btn--outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff !important;
}

.jamar-svc-btn--outline:hover,
.jamar-svc-btn--outline:focus,
.jamar-svc-btn--outline:visited {
    background: rgba(255,255,255,0.1);
    color: #fff !important;
}

/* =========================================
   JA-MAR DFW CTA BOXES & BUTTONS
   Hub + all geo sub-pages
   ========================================= */

.jamar-cta-box {
  background: #f5f5f5;
  border-left: 4px solid #cc0000;
  padding: 24px 28px;
  margin: 40px 0;
  border-radius: 2px;
}

.jamar-cta-box p {
  margin-bottom: 0.5em;
}

.jamar-cta-box .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.jamar-cta-box a.btn-primary {
  display: inline-block;
  background: #cc0000;
  color: #fff !important;
  padding: 13px 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 2px;
  white-space: nowrap;
}

.jamar-cta-box a.btn-secondary {
  display: inline-block;
  background: #1a1a1a;
  color: #fff !important;
  padding: 13px 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 2px;
  white-space: nowrap;
}

.jamar-cta-box a.btn-primary:hover {
  background: #aa0000;
}

.jamar-cta-box a.btn-secondary:hover {
  background: #333;
}

/* =========================================
   JA-MAR DFW SERVICE AREAS LIST
   Responsive columns — add to child theme style.css
   ========================================= */
 
.jamar-areas-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2em 0;
  columns: 4;
  column-gap: 1.5em;
}
 
.jamar-areas-list li {
  padding: 4px 0;
  break-inside: avoid;
  font-size: 15px;
  line-height: 1.5;
}
 
.jamar-areas-list li::before {
  content: "→ ";
  color: #cc0000;
  font-weight: 600;
}
 
@media (max-width: 900px) {
  .jamar-areas-list {
    columns: 3;
  }
}
 
@media (max-width: 600px) {
  .jamar-areas-list {
    columns: 2;
  }
}
 
@media (max-width: 380px) {
  .jamar-areas-list {
    columns: 1;
  }
}
 

@media (max-width: 768px) {
  .jamar-cta-box {
    padding: 18px 16px;
  }

  .jamar-cta-box .cta-buttons {
    flex-direction: column;
  }

  .jamar-cta-box a.btn-primary,
  .jamar-cta-box a.btn-secondary {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }
	
  .jamar-cta-box .cta-buttons {
    gap: 2px;
  }
}

/* ============================================================
   HIDE CONTENT BOX AT BOTTOM OF PAGE  
   ============================================================ */

.page-id-12138 #toc_container, .page-id-12162 #toc_container, .page-id-12183 #toc_container, .page-id-12200 #toc_container {
	display:none!important;
}