/* ============================================================
   MTE Paralegal Professional Corporation
   home.css — Homepage Section Styles
   ============================================================ */

/* ── SHARED ── */
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 0.9375rem;
  color: #6c757d;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── BUTTONS ── */
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid #1a1a2e;
  color: #1a1a2e;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.btn-outline-dark:hover {
  background: #1a1a2e;
  color: #fff;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

/* ── HERO ── */
.hero-section {
  padding: 4rem 0 0;
  background: #fff;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-heading {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: #1a1a2e;
}

.hero-heading-blue {
  color: #1a3a5c;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.hero-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* Hero placeholder when no image uploaded */
.hero-image-placeholder {
  width: 100%;
  height: 360px;
  background: linear-gradient(135deg, #e8f0f9 0%, #b5d4f4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #1a3a5c;
  font-size: 0.875rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Trust Statement */
.trust-statement {
  background: #f8f9fa;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-top: 1px solid #dee2e6;
}

.trust-statement p {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.125rem;
  color: #1a3a5c;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

.trust-statement strong {
  font-weight: 700;
}

/* ── SERVICES ── */
.services-section {
  background: #f0f4f8;
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #dee2e6;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

.service-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #e8f0f9;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-body {
  padding: 1.25rem;
}

.service-icon {
  margin-bottom: 0.75rem;
}

.service-name {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.8125rem;
  color: #6c757d;
  line-height: 1.6;
}

.services-link {
  text-align: center;
  margin-top: 2.5rem;
}

.services-link a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.9375rem;
  color: #1a3a5c;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.services-link a:hover {
  color: #122840;
  text-decoration: underline;
}

/* ── CLIENTS ── */
.clients-section {
  padding: 5rem 0;
  background: #fff;
}

.clients-section .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 3rem;
}

.client-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.client-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-name {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.8125rem;
  color: #343a40;
  text-align: center;
  font-weight: 500;
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  background: #f0f4f8;
  padding: 5rem 0;
}

.testimonials-section .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid #dee2e6;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-quote {
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  color: #dee2e6;
  font-weight: 700;
}

.testimonial-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.9375rem;
  color: #343a40;
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border-top: 1px solid #f1f3f5;
  padding-top: 1rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e8f0f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a3a5c;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.author-info strong {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1a1a2e;
}

.author-info span {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.75rem;
  color: #6c757d;
}

/* ── CTA ── */
.cta-section {
  padding: 5rem 0;
  background: #fff;
}

.cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.cta-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
}

.cta-subtitle {
  font-size: 0.9375rem;
  color: #6c757d;
  max-width: 420px;
  line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image { order: -1; }

  .hero-image img {
    height: 240px;
  }

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

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

  .clients-grid {
    gap: 1.5rem 2rem;
  }
}
