/* ===========================
   SERVICE PAGE STYLES
   Extends style.css for service landing pages
   =========================== */

/* --- Force navbar into scrolled state on service pages --- */
.service-page .navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.service-page .navbar__logo-img {
  opacity: 1;
}

.service-page .navbar__links a {
  color: var(--color-charcoal);
}

.service-page .navbar__links a:hover {
  color: var(--color-primary);
}

.service-page .navbar__cta {
  background: var(--color-primary);
  color: #fff;
}

/* --- Service Hero --- */
.service-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: calc(var(--space-20) + 80px) var(--space-6) var(--space-20);
}

.service-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 107, 143, 0.88) 0%,
    rgba(0, 82, 110, 0.92) 100%
  );
  z-index: 1;
}

.service-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: #fff;
}

.service-hero__breadcrumb {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  opacity: 0.85;
}

.service-hero__breadcrumb a {
  color: #fff;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.service-hero__breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}

.service-hero__breadcrumb .breadcrumb-sep {
  margin: 0 var(--space-2);
  opacity: 0.6;
}

.service-hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-4);
  color: #fff;
}

.service-hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  opacity: 0.92;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.service-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background: var(--color-accent);
  color: var(--color-charcoal);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 16px rgba(212, 168, 83, 0.35);
}

.service-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 168, 83, 0.45);
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--color-off-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: var(--space-5) var(--space-6);
}

.trust-bar__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-charcoal);
  white-space: nowrap;
}

.trust-bar__icon {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* --- Service Content Section --- */
.service-content {
  padding: var(--space-16) var(--space-6);
}

.service-content__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-bottom: var(--space-16);
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-block--reverse .service-block__image {
  order: 2;
}

.service-block__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.service-block__text h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-charcoal);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.service-block__text p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.service-block__text p:last-child {
  margin-bottom: 0;
}

/* --- Feature List --- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23D4A853'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* --- Why Choose Us (Service-specific) --- */
.service-benefits {
  background: var(--color-charcoal);
  padding: var(--space-16) var(--space-6);
}

.service-benefits__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.service-benefits__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: #fff;
  margin-bottom: var(--space-3);
}

.service-benefits__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.service-benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
}

.service-benefit-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.service-benefit-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}

.service-benefit-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  color: var(--color-accent);
}

.service-benefit-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: #fff;
  margin-bottom: var(--space-2);
}

.service-benefit-card__text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* --- FAQ Section --- */
.service-faq {
  padding: var(--space-16) var(--space-6);
  background: var(--color-off-white);
}

.service-faq__inner {
  max-width: 780px;
  margin: 0 auto;
}

.service-faq__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-charcoal);
  text-align: center;
  margin-bottom: var(--space-10);
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-charcoal);
  text-align: left;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.faq-item__question:hover {
  color: var(--color-primary);
}

.faq-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--color-primary);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.is-open .faq-item__answer {
  max-height: 400px;
}

.faq-item__answer-inner {
  padding: 0 var(--space-6) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
}

/* --- CTA Banner --- */
.service-cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #005270 100%);
  padding: var(--space-14) var(--space-6);
  text-align: center;
}

.service-cta-banner__inner {
  max-width: 700px;
  margin: 0 auto;
}

.service-cta-banner__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: #fff;
  margin-bottom: var(--space-4);
}

.service-cta-banner__text {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-6);
}

.service-cta-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-10);
  background: var(--color-accent);
  color: var(--color-charcoal);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 20px rgba(212, 168, 83, 0.4);
}

.service-cta-banner__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(212, 168, 83, 0.55);
}

.service-cta-banner__phone {
  margin-top: var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
}

.service-cta-banner__phone a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.service-cta-banner__phone a:hover {
  text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .service-hero {
    min-height: 360px;
    height: auto;
    padding: calc(var(--space-16) + 80px) var(--space-5) var(--space-16);
  }

  .service-hero__title {
    font-size: var(--text-3xl);
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .service-block--reverse .service-block__image {
    order: 0;
  }

  .trust-bar__inner {
    gap: var(--space-4) var(--space-6);
    justify-content: center;
  }

  .service-benefits__grid {
    grid-template-columns: 1fr;
  }

  .service-cta-banner__title {
    font-size: var(--text-2xl);
  }
}

@media (max-width: 480px) {
  .trust-bar__inner {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }

  .service-hero__cta {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
  }

  .faq-item__question {
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-sm);
  }

  .faq-item__answer-inner {
    padding: 0 var(--space-5) var(--space-5);
    font-size: var(--text-sm);
  }
}
