/* Service Detail — Corporate overrides */

/* Content must stay visible even if AOS CDN fails to load */
#servicePage [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.service-hero {
  padding: calc(var(--header-h) + 2rem) 0 3.5rem;
  background: var(--navy);
  color: var(--white);
  border-bottom: 3px solid var(--gold);
  overflow: hidden;
}

.service-hero--premium {
  position: relative;
}

.service-hero--premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 85% 50%, rgba(184, 149, 106, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.service-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.service-hero__content { max-width: 560px; }

.service-hero__eyebrow {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.service-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-hero__illustration {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-hero__badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.service-hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.service-hero__badge i { color: var(--gold); font-size: 0.8rem; }

.service-hero__badge:nth-child(1) { top: 8%; left: -4%; }
.service-hero__badge:nth-child(2) { bottom: 18%; right: -6%; }
.service-hero__badge:nth-child(3) { top: 42%; right: -10%; }

.service-hero__breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2rem;
}

.service-hero__breadcrumb a:hover { color: var(--gold); }
.service-hero__breadcrumb i { font-size: 0.55rem; }

.service-hero__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(184, 149, 106, 0.15);
  border: 1px solid rgba(184, 149, 106, 0.35);
  border-radius: var(--radius);
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.service-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.service-hero__tagline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 2rem;
}

.service-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.service-hero__phone {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.service-body { padding: 4rem 0 5rem; background: var(--warm-white); }

/* Two-column layout */
.service-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

.service-main { min-width: 0; }

/* Sidebar */
.service-sidebar__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-sidebar__card--sticky {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.service-sidebar__back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--ivory);
  border-bottom: 1px solid var(--border);
  transition: color 0.25s;
}

.service-sidebar__back:hover { color: var(--gold); }

.service-sidebar__nav {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  max-height: 320px;
  overflow-y: auto;
}

.service-sidebar__link {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  border-left: 3px solid transparent;
  transition: all 0.2s;
}

.service-sidebar__link:hover {
  color: var(--navy);
  background: var(--ivory);
}

.service-sidebar__link.active {
  color: var(--navy);
  font-weight: 600;
  border-left-color: var(--gold);
  background: var(--gold-soft);
}

.service-sidebar__contact {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.service-sidebar__contact h4,
.service-sidebar__related-wrap h4 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.75rem;
}

.service-sidebar__phone,
.service-sidebar__email,
.service-sidebar__offices {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  transition: color 0.2s;
}

.service-sidebar__phone:hover,
.service-sidebar__email:hover,
.service-sidebar__offices:hover { color: var(--navy); }

.service-sidebar__offices {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  font-weight: 600;
}

.service-sidebar__phone i,
.service-sidebar__email i,
.service-sidebar__offices i {
  color: var(--gold);
  width: 14px;
  font-size: 0.75rem;
}

.service-sidebar__related-wrap {
  padding: 1.25rem;
}

.service-sidebar__related {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

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

.service-sidebar__related:hover { color: var(--gold); }

.service-sidebar__related i {
  color: var(--gold);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.service-intro {
  font-size: 1.02rem;
  color: var(--charcoal);
  line-height: 1.9;
  padding: 1.5rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
}

.service-intro__p {
  margin-bottom: 1rem;
}

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

.service-map {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.service-map__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.service-section--intro .service-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.service-section--intro .service-section__title {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.service-section__accent {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft);
  border: 1px solid rgba(184, 149, 106, 0.3);
  border-radius: var(--radius);
  color: var(--navy);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.service-section { margin-bottom: 3.5rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); }

.service-section__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--light-gray);
}

.service-section p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}

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

.why-card {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--gold);
}

.why-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.why-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

.benefits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.benefits-list i { color: var(--gold); margin-top: 0.2rem; flex-shrink: 0; font-size: 0.75rem; }

.mistakes-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mistakes-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid #c0392b;
  border-radius: var(--radius);
}

.mistakes-list i {
  color: #c0392b;
  margin-top: 0.2rem;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.industries-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 1.5rem;
}

.info-box--full { max-width: 100%; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.process-step {
  position: relative;
  padding: 1.5rem;
  padding-top: 2.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.process-step__num {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.process-step p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.info-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.info-box h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.info-box li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.info-box li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.timeline-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.timeline-table th,
.timeline-table td { padding: 1rem 1.25rem; text-align: left; font-size: 0.88rem; }

.timeline-table th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-table tr:nth-child(even) td { background: var(--ivory); }
.timeline-table td:first-child { font-weight: 600; color: var(--navy); }
.timeline-table td { color: var(--text-muted); }

.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }

.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--white); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  background: var(--white);
}

.faq-question:hover { background: var(--ivory); }
.faq-question i { color: var(--gold); font-size: 0.7rem; transition: transform 0.3s; }
.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-answer__inner { padding: 0 1.5rem 1.25rem; font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }

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

.related-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease);
}

.related-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.related-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft);
  border-radius: var(--radius);
  color: var(--navy);
  flex-shrink: 0;
}

.related-card__title { font-size: 0.88rem; font-weight: 600; color: var(--navy); flex: 1; }
.related-card__arrow { color: var(--gold); font-size: 0.7rem; }

.service-cta {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--white);
  margin-top: 1rem;
}

.service-cta h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.service-cta p { color: rgba(255, 255, 255, 0.7); margin-bottom: 1.5rem; font-size: 0.95rem; }

.service-cta__email {
  margin-left: 0.5rem;
  border-color: #fff;
  color: #fff;
}

.service-cta .btn--secondary:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* Service contact form */
.service-contact__lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-contact__form { margin-top: 0; }

.form-row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 1024px) {
  .service-hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-hero__visual { order: -1; max-width: 380px; margin: 0 auto; }
  .service-hero__badge:nth-child(1) { top: 4%; left: 0; }
  .service-hero__badge:nth-child(2) { bottom: 8%; right: 0; }
  .service-hero__badge:nth-child(3) { top: 50%; right: 0; }
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { order: -1; }
  .service-sidebar__card--sticky { position: static; }
  .service-sidebar__nav {
    flex-direction: row;
    flex-wrap: wrap;
    max-height: none;
    padding: 0.75rem 1rem;
    gap: 0.35rem;
  }
  .service-sidebar__link {
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    border-left: 1px solid var(--border);
    font-size: 0.75rem;
  }
  .service-sidebar__link.active {
    border-color: var(--gold);
    border-left-color: var(--gold);
  }
  .service-sidebar__contact,
  .service-sidebar__related-wrap { display: none; }
  .why-grid, .info-grid, .related-grid { grid-template-columns: 1fr; }
  .benefits-list, .industries-list { grid-template-columns: 1fr; }
  .form-row--half { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .service-hero__badge { font-size: 0.65rem; padding: 0.4rem 0.65rem; }
  .service-hero__badge:nth-child(3) { display: none; }
  .service-cta .btn--secondary { margin-left: 0; margin-top: 0.75rem; display: inline-flex; }
}
