/* ==========================================================================
   Atlas Plumbing & Mechanical - Custom Content Styles
   Matches Site Typography, Color Palette, and Design Aesthetics
   ========================================================================== */

/* Typography & Base Variables */
:root {
  --atlas-navy: #0c2340;
  --atlas-blue: #0c4c93;
  --atlas-blue-light: #51acfb;
  --atlas-gold: #e59a10;
  --atlas-gold-hover: #cf8808;
  --atlas-bg-light: #f8fafc;
  --atlas-bg-card: #ffffff;
  --atlas-border: #e2e8f0;
  --atlas-border-hover: #cbd5e1;
  --atlas-text-dark: #1e293b;
  --atlas-text-muted: #475569;
  --atlas-font-heading: 'Mulish', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --atlas-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --atlas-shadow-sm: 0 2px 8px rgba(12, 35, 64, 0.04);
  --atlas-shadow-md: 0 6px 20px -2px rgba(12, 35, 64, 0.07);
  --atlas-shadow-lg: 0 16px 36px -4px rgba(12, 35, 64, 0.12);
}

/* Sections */
.atlas-section {
  padding: 60px 0;
  position: relative;
  width: 100%;
}
.atlas-section.bg-light {
  background-color: var(--atlas-bg-light);
}
.atlas-section.bg-white {
  background-color: #ffffff;
}

/* Section Header & Dividers */
.atlas-header-center {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}
.atlas-header-left {
  max-width: 900px;
  margin: 0 0 30px;
  text-align: left;
}
.atlas-seo-badge {
  display: inline-block;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--atlas-gold);
  background: rgba(229, 154, 16, 0.1);
  border: 1px solid rgba(229, 154, 16, 0.25);
  border-radius: 30px;
  margin-bottom: 15px;
}
.atlas-main-title {
  font-family: var(--atlas-font-heading) !important;
  font-size: 32px !important;
  font-weight: 900 !important;
  color: var(--atlas-navy) !important;
  line-height: 1.25 !important;
  margin: 0 0 14px !important;
}
.atlas-sub-title {
  font-family: var(--atlas-font-heading) !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  color: var(--atlas-navy) !important;
  line-height: 1.35 !important;
  margin: 0 0 14px !important;
}
.atlas-lead-text {
  font-family: var(--atlas-font-body) !important;
  font-size: 16.5px !important;
  line-height: 1.75 !important;
  color: var(--atlas-text-muted) !important;
  margin: 0 auto 16px !important;
}
.atlas-lead-text strong {
  color: var(--atlas-navy);
  font-weight: 700;
}
.atlas-gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px auto 24px;
  max-width: 200px;
  height: 10px;
}
.atlas-gold-divider.align-left {
  margin: 16px 0 24px 0;
  justify-content: flex-start;
}
.atlas-gold-divider .divider-line {
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, rgba(230, 160, 40, 0) 0%, rgba(230, 160, 40, 0.85) 100%);
  border-radius: 2px;
}
.atlas-gold-divider.align-left .divider-line:first-child {
  display: none;
}
.atlas-gold-divider .divider-line:last-child {
  background: linear-gradient(90deg, rgba(230, 160, 40, 0.85) 0%, rgba(230, 160, 40, 0) 100%);
}
.atlas-gold-divider .divider-dot {
  width: 7px;
  height: 7px;
  min-width: 7px;
  min-height: 7px;
  background-color: var(--atlas-gold);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px rgba(229, 154, 16, 0.5);
}

/* Service Offering Grid & Cards */
.atlas-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.atlas-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.atlas-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.atlas-service-card {
  background: var(--atlas-bg-card);
  border: 1px solid var(--atlas-border);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--atlas-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.atlas-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--atlas-blue), var(--atlas-gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.atlas-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--atlas-shadow-md);
  border-color: var(--atlas-border-hover);
}
.atlas-service-card:hover::before {
  opacity: 1;
}
.atlas-card-number {
  font-family: var(--atlas-font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--atlas-gold);
  background: rgba(229, 154, 16, 0.1);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.atlas-card-title {
  font-family: var(--atlas-font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--atlas-navy);
  margin: 0 0 12px;
  line-height: 1.35;
}
.atlas-card-desc {
  font-family: var(--atlas-font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--atlas-text-muted);
  margin: 0 0 16px;
}
.atlas-card-desc strong {
  color: var(--atlas-navy);
  font-weight: 700;
}
.atlas-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.atlas-card-list li {
  font-family: var(--atlas-font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--atlas-text-dark);
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.atlas-card-list li:last-child {
  margin-bottom: 0;
}
.atlas-card-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--atlas-gold);
  font-size: 13px;
  font-weight: bold;
}

/* Why Choose Us Feature Cards */
.atlas-feature-box {
  background: #ffffff;
  border: 1px solid var(--atlas-border);
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow: var(--atlas-shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.atlas-feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--atlas-shadow-md);
  border-color: #cbd5e1;
}
.atlas-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: linear-gradient(135deg, rgba(12, 76, 147, 0.1), rgba(229, 154, 16, 0.15));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--atlas-blue);
}
.atlas-feature-content h4 {
  font-family: var(--atlas-font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--atlas-navy);
  margin: 0 0 6px;
}
.atlas-feature-content p {
  font-family: var(--atlas-font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--atlas-text-muted);
  margin: 0;
}
.atlas-feature-content strong {
  color: var(--atlas-navy);
}

/* Service Overview Responsive Table */
.atlas-table-container {
  margin: 30px 0;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: var(--atlas-shadow-md);
  border: 1px solid var(--atlas-border);
  overflow: hidden;
}
.atlas-table-header-bar {
  background: linear-gradient(135deg, var(--atlas-navy) 0%, var(--atlas-blue) 100%);
  padding: 20px 24px;
  color: #ffffff;
}
.atlas-table-header-bar h3 {
  font-family: var(--atlas-font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
}
.atlas-table-header-bar p {
  font-family: var(--atlas-font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.atlas-table-responsive {
  width: 100%;
  overflow-x: auto;
}
.atlas-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.atlas-table thead th {
  background-color: #f1f5f9;
  font-family: var(--atlas-font-heading);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--atlas-navy);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 14px 20px;
  border-bottom: 2px solid var(--atlas-border);
}
.atlas-table tbody td {
  padding: 16px 20px;
  font-family: var(--atlas-font-body);
  font-size: 14.5px;
  color: var(--atlas-text-dark);
  border-bottom: 1px solid var(--atlas-border);
  line-height: 1.6;
}
.atlas-table tbody tr:last-child td {
  border-bottom: none;
}
.atlas-table tbody tr:nth-child(even) {
  background-color: #fbfcfe;
}
.atlas-table tbody tr:hover {
  background-color: #f1f7ff;
}
.atlas-table td strong {
  color: var(--atlas-navy);
  font-weight: 700;
}
.atlas-badge-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.badge-emergency {
  background-color: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.25);
}
.badge-scheduled {
  background-color: rgba(12, 76, 147, 0.1);
  color: var(--atlas-blue);
  border: 1px solid rgba(12, 76, 147, 0.2);
}

/* Detailed Q&A Explanations (AEO / SEO Accordion Cards) */
.atlas-qa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 25px 0;
}
.atlas-qa-card {
  background: #ffffff;
  border: 1px solid var(--atlas-border);
  border-left: 5px solid var(--atlas-blue);
  border-radius: 10px;
  padding: 24px;
  box-shadow: var(--atlas-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.atlas-qa-card:hover {
  box-shadow: var(--atlas-shadow-md);
  border-left-color: var(--atlas-gold);
}
.atlas-qa-title {
  font-family: var(--atlas-font-heading);
  font-size: 19px;
  font-weight: 800;
  color: var(--atlas-navy);
  margin: 0 0 12px;
  line-height: 1.35;
}
.atlas-qa-body {
  font-family: var(--atlas-font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--atlas-text-muted);
}
.atlas-qa-body p {
  margin: 0 0 12px;
}
.atlas-qa-body p:last-child {
  margin-bottom: 0;
}
.atlas-qa-body strong {
  color: var(--atlas-navy);
}
.atlas-qa-highlight {
  background: var(--atlas-bg-light);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 12px 0 0;
  border: 1px solid #e9edf2;
}
.atlas-qa-highlight-item {
  margin-bottom: 8px;
  font-size: 14.5px;
}
.atlas-qa-highlight-item:last-child {
  margin-bottom: 0;
}
.atlas-qa-highlight-item strong {
  color: var(--atlas-blue);
}

/* FAQ Interactive Accordions */
.atlas-faq-container {
  max-width: 950px;
  margin: 20px auto 0;
}
details.atlas-faq-item {
  background: #ffffff;
  border: 1px solid var(--atlas-border);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--atlas-shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
details.atlas-faq-item:hover {
  border-color: #cbd5e1;
}
details.atlas-faq-item[open] {
  border-color: var(--atlas-blue);
  box-shadow: var(--atlas-shadow-md);
}
details.atlas-faq-item summary {
  padding: 18px 22px;
  font-family: var(--atlas-font-heading);
  font-size: 16.5px;
  font-weight: 800;
  color: var(--atlas-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: #ffffff;
  transition: background 0.2s ease;
}
details.atlas-faq-item summary::-webkit-details-marker {
  display: none;
}
details.atlas-faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 700;
  color: var(--atlas-blue);
  transition: transform 0.2s ease, color 0.2s ease;
  line-height: 1;
}
details.atlas-faq-item[open] summary::after {
  content: "−";
  color: var(--atlas-gold);
}
details.atlas-faq-item[open] summary {
  background: #f8fafc;
  border-bottom: 1px solid var(--atlas-border);
}
.atlas-faq-answer {
  padding: 20px 22px;
  font-family: var(--atlas-font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--atlas-text-dark);
  background: #ffffff;
}
.atlas-faq-answer p {
  margin: 0;
}
.atlas-faq-answer strong {
  color: var(--atlas-navy);
}

/* Service Process Workflow Cards */
.atlas-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
  position: relative;
}
.atlas-process-steps.three-steps {
  grid-template-columns: repeat(3, 1fr);
}
.atlas-step-card {
  background: #ffffff;
  border: 1px solid var(--atlas-border);
  border-radius: 12px;
  padding: 26px 20px;
  text-align: center;
  position: relative;
  box-shadow: var(--atlas-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.atlas-step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--atlas-shadow-md);
  border-color: var(--atlas-blue);
}
.atlas-step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--atlas-blue) 0%, var(--atlas-navy) 100%);
  color: #ffffff;
  font-family: var(--atlas-font-heading);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 3px rgba(12, 76, 147, 0.2);
}
.atlas-step-title {
  font-family: var(--atlas-font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--atlas-navy);
  margin: 0 0 10px;
}
.atlas-step-desc {
  font-family: var(--atlas-font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--atlas-text-muted);
  margin: 0;
}

/* Coverage / Service Areas Box */
.atlas-coverage-card {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  border: 1px solid #c7ddfc;
  border-radius: 14px;
  padding: 30px;
  margin: 25px 0;
  box-shadow: var(--atlas-shadow-sm);
}
.atlas-coverage-header {
  font-family: var(--atlas-font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--atlas-navy);
  margin-bottom: 14px;
}
.atlas-area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.atlas-area-pill {
  background: #ffffff;
  border: 1px solid #93c5fd;
  color: var(--atlas-navy);
  padding: 7px 16px;
  border-radius: 30px;
  font-family: var(--atlas-font-heading);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.atlas-area-pill.hub {
  background: var(--atlas-blue);
  color: #ffffff;
  border-color: var(--atlas-blue);
}

/* High-Converting CTA Banner */
.atlas-cta-banner {
  background: linear-gradient(135deg, var(--atlas-navy) 0%, #163660 50%, var(--atlas-blue) 100%);
  border-radius: 16px;
  padding: 45px 35px;
  color: #ffffff;
  text-align: center;
  margin: 40px 0 20px;
  box-shadow: var(--atlas-shadow-lg);
  position: relative;
  overflow: hidden;
}
.atlas-cta-banner::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(229, 154, 16, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.atlas-cta-title {
  font-family: var(--atlas-font-heading);
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 12px;
}
.atlas-cta-desc {
  font-family: var(--atlas-font-body);
  font-size: 17px;
  color: #e2e8f0;
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.atlas-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.atlas-btn-phone {
  background: var(--atlas-gold);
  color: #ffffff !important;
  font-family: var(--atlas-font-heading);
  font-size: 16px;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(229, 154, 16, 0.4);
  transition: all 0.3s ease;
}
.atlas-btn-phone:hover {
  background: var(--atlas-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 154, 16, 0.5);
  color: #ffffff !important;
}
.atlas-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-family: var(--atlas-font-heading);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.atlas-btn-secondary:hover {
  background: #ffffff;
  color: var(--atlas-navy) !important;
  transform: translateY(-2px);
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .atlas-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .atlas-process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .atlas-process-steps.three-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .atlas-section {
    padding: 40px 0;
  }
  .atlas-grid-3, .atlas-grid-2, .atlas-grid-4 {
    grid-template-columns: 1fr;
  }
  .atlas-process-steps, .atlas-process-steps.three-steps {
    grid-template-columns: 1fr;
  }
  .atlas-main-title {
    font-size: 25px !important;
  }
  .atlas-sub-title {
    font-size: 21px !important;
  }
  .atlas-lead-text {
    font-size: 15px !important;
  }
  .atlas-cta-title {
    font-size: 24px;
  }
  .atlas-cta-banner {
    padding: 32px 20px;
  }
  .atlas-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .atlas-btn-phone, .atlas-btn-secondary {
    justify-content: center;
    width: 100%;
  }
}
