/* =============================================
   Awad Agency — Service Page Styles
   Used on auto-insurance.html (and future service pages)
   ============================================= */

/* --- Page Layout (sticky footer) --- */
.service-page {
  flex: 1;
}

/* --- Service Intro with Illustration --- */
.service-intro-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

.service-intro-text {
  flex: 1;
}

.service-intro-row .service-intro {
  max-width: none;
}

.service-intro-img {
  flex-shrink: 0;
  width: 180px;
  height: auto;
  border-radius: 12px;
  opacity: 0.9;
}

/* --- Lead Paragraph --- */
.service-intro {
  font-size: 18px;
  line-height: 1.7;
  color: #333333;
  max-width: 800px;
}

/* --- Reusable Section Spacing --- */
.service-section {
  padding: 40px 0;
  border-bottom: 1px solid #e8e8e8;
}

.service-section:last-child {
  border-bottom: none;
}

.service-section h2 {
  margin-bottom: 18px;
}

.service-section p {
  font-size: 16px;
  line-height: 1.7;
  color: #444444;
}

.service-section ul,
.service-section ol {
  font-size: 16px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 14px;
}

.service-section li {
  margin-bottom: 6px;
}

/* --- Callout (requirements table) --- */
.service-section .callout {
  overflow-x: auto;
}

.service-section .callout table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.service-section .callout th,
.service-section .callout td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #e0d8c0;
}

.service-section .callout th {
  font-weight: 700;
  color: #333333;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.service-section .callout td {
  color: #444444;
}

/* --- Coverage Grid --- */
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.coverage-card {
  border: 1px solid #e8e8e8;
  padding: 24px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.coverage-card h3 {
  font-family: 'Lora', Georgia, "Times New Roman", serif;
  font-size: 18px;
  color: #333333;
  margin-bottom: 8px;
}

.coverage-card p {
  font-size: 15px;
  color: #555555;
  margin-bottom: 0;
}

/* --- Steps Grid (How It Works) --- */
.steps-grid {
  display: flex;
  gap: 30px;
  text-align: center;
}

.step {
  flex: 1;
}

.step-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #A81C0D;
  color: #ffffff;
  font-family: 'Lora', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.step h3 {
  font-family: 'Lora', Georgia, "Times New Roman", serif;
  font-size: 18px;
  margin-bottom: 8px;
}

.step p {
  font-size: 15px;
  color: #555555;
  margin-bottom: 0;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid #e8e8e8;
}

.faq-item:first-child {
  border-top: 1px solid #e8e8e8;
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: #A81C0D;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item[open] summary {
  color: #A81C0D;
}

.faq-answer {
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 1.7;
  color: #444444;
  max-width: 720px;
}

.faq-answer p {
  font-size: 15px;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.testimonial-card {
  border-left: 3px solid #A81C0D;
  padding: 24px;
  background: #fafafa;
  border-radius: 0 6px 6px 0;
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 14px;
}

.testimonial-author {
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 0;
}

.testimonial-location {
  font-size: 13px;
  color: #888888;
  margin-bottom: 0;
}

.testimonial-stars {
  color: #f4b400;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* --- Trust Badges --- */
.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  padding: 24px 0;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.trust-badge-icon {
  width: 32px;
  height: 32px;
}

.trust-badge span:last-child {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
}

/* --- Service Area --- */
.service-area-cities {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 15px;
  color: #444444;
}

.service-area-cities li::before {
  content: "\2022";
  color: #A81C0D;
  margin-right: 8px;
}

/* --- Bottom CTA Section --- */
.cta-bottom {
  padding: 50px 0;
  border-bottom: none;
}

.cta-bottom .form-card--inline {
  margin: 0 auto;
}

.cta-contact {
  text-align: center;
  margin-top: 24px;
  font-size: 16px;
  color: #444444;
}

.cta-contact a {
  font-weight: 700;
}

/* --- Mid-section CTA link --- */
.cta-inline {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  color: #A81C0D;
  font-size: 16px;
}

.cta-inline:hover {
  color: #8a1609;
}

/* --- Responsive: 768px --- */
@media (max-width: 768px) {
  .service-section {
    padding: 30px 0;
  }

  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    flex-direction: column;
    gap: 24px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .trust-badges {
    flex-wrap: wrap;
    gap: 24px;
  }

  .service-intro {
    font-size: 16px;
  }

  .service-intro-row {
    flex-direction: column;
    gap: 20px;
  }

  .service-intro-img {
    display: none;
  }
}

/* --- Agent Profile (About page) --- */
.agent-profile {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  margin-top: 10px;
}

.agent-photo {
  flex-shrink: 0;
  width: 260px;
}

.agent-photo img {
  width: 260px;
  height: auto;
  border-radius: 6px;
  display: block;
}

.agent-photo-placeholder {
  width: 200px;
  height: 240px;
  background: #f0f0f0;
  border: 2px dashed #ccc;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #999;
  font-weight: 600;
}

.agent-details {
  flex: 1;
}

.agent-details h3 {
  font-family: 'Lora', Georgia, "Times New Roman", serif;
  font-size: 22px;
  color: #333333;
  margin-bottom: 12px;
}

.agent-credentials {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}

.agent-credentials li {
  padding: 6px 0;
  font-size: 15px;
  color: #444444;
  border-bottom: 1px solid #f0f0f0;
}

.agent-credentials li:last-child {
  border-bottom: none;
}

.agent-contact {
  margin-top: 12px;
  font-size: 15px;
}

/* --- Office Info (About page) --- */
.office-info {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  margin-top: 10px;
}

.office-details {
  flex: 1;
}

.office-details h3 {
  font-family: 'Lora', Georgia, "Times New Roman", serif;
  font-size: 20px;
  color: #333333;
  margin-bottom: 10px;
}

.office-details h3:not(:first-child) {
  margin-top: 24px;
}

.office-map {
  flex: 1;
  min-width: 0;
}

.hours-table {
  font-size: 15px;
  border-collapse: collapse;
}

.hours-table td {
  padding: 6px 20px 6px 0;
  color: #444444;
  border-bottom: 1px solid #f0f0f0;
}

.hours-table td:first-child {
  font-weight: 600;
  color: #333333;
  min-width: 110px;
}

/* --- Responsive: 480px --- */
@media (max-width: 480px) {
  .service-section {
    padding: 24px 0;
  }

  .coverage-card {
    padding: 18px;
  }

  .trust-badges {
    gap: 18px;
  }

  .cta-bottom {
    padding: 30px 0;
  }
}

/* --- Responsive: About page (768px) --- */
@media (max-width: 768px) {
  .agent-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .agent-credentials {
    text-align: left;
  }

  .office-info {
    flex-direction: column;
  }

  .office-map iframe {
    height: 250px;
  }
}
