/* ===== SERVICE PAGE STYLES ===== */

/* ===== SERVICE HERO ===== */
.service-hero {
  min-height: 44vh; display: flex; align-items: center;
  padding: 7rem 2.5rem 3.5rem;
  background: var(--surface); position: relative; overflow: hidden;
}
.service-hero-inner { max-width: 720px; margin: 0 auto; position: relative; }

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.62rem; font-weight: 400;
  color: var(--muted); letter-spacing: 0.04em;
  margin-bottom: 1.8rem;
  opacity: 0; animation: up .7s ease .1s forwards;
}
.breadcrumb a {
  color: var(--accent); text-decoration: none; transition: color 0.2s;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .bc-sep { color: var(--faint); }

.service-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 400;
  line-height: 1.18; color: var(--ink);
  letter-spacing: -0.025em; margin-bottom: 1.2rem;
  opacity: 0; animation: up .7s ease .2s forwards;
}
.service-hero h1 em { font-style: italic; color: var(--accent); }

.service-hero-sub {
  font-size: 1rem; font-weight: 300; color: var(--ink-3);
  max-width: 540px; line-height: 1.75; margin-bottom: 2rem;
  opacity: 0; animation: up .7s ease .35s forwards;
}

.service-hero-ctas {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  opacity: 0; animation: up .7s ease .5s forwards;
}

/* ===== PROCESS TIMELINE ===== */
.timeline { background: var(--surface); border-top: 1px solid var(--border-fine); }
.timeline-track {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0; margin-top: 2.5rem; position: relative;
}
.timeline-track::before {
  content: ''; position: absolute; top: 17px;
  left: 8%; right: 8%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--accent) 0, var(--accent) 4px, transparent 4px, transparent 10px);
  opacity: 0.3;
}
.timeline-step { text-align: center; padding: 0 0.8rem; position: relative; }
.timeline-dot {
  width: 34px; height: 34px;
  border: 1.5px solid var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 0.65rem; font-weight: 500;
  color: var(--accent); margin: 0 auto 1.2rem;
  background: var(--surface); position: relative; z-index: 1;
  transition: all 0.3s;
}
.timeline-step:hover .timeline-dot { background: var(--accent-wash); }
.timeline-step h3,
.timeline-step h4 {
  font-size: 0.88rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem;
}
.timeline-step p {
  font-size: 0.78rem; font-weight: 300; color: var(--ink-3); line-height: 1.6;
}

/* ===== CHECKLIST GRID ===== */
.checklist { background: var(--bg); }
.check-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin-top: 2.5rem;
  background: var(--border-fine); border: 1px solid var(--border-fine);
  border-radius: var(--radius-lg); overflow: hidden;
}
.check-card {
  background: var(--surface); padding: 1.8rem;
  transition: background 0.3s;
}
.check-card:hover { background: var(--surface-2); }
.check-diamond {
  width: 8px; height: 8px; background: var(--accent);
  border-radius: 2px; transform: rotate(45deg);
  margin-bottom: 0.9rem;
}
.check-card h3,
.check-card h4 {
  font-size: 0.92rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem;
}
.check-card p {
  font-size: 0.82rem; font-weight: 300; color: var(--ink-3); line-height: 1.65;
}
.check-card ul {
  list-style: none; padding: 0; margin: 0.5rem 0 0;
}
.check-card li {
  font-size: 0.78rem; font-weight: 300; color: var(--ink-3);
  line-height: 1.6; padding: 0.3rem 0 0.3rem 1rem; position: relative;
}
.check-card li::before {
  content: '›'; position: absolute; left: 0;
  color: var(--accent); font-weight: 500; font-size: 0.9rem;
}

/* ===== COMPARISON TABLE ===== */
.compare { background: var(--surface); border-top: 1px solid var(--border-fine); }
.compare .section-inner { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table {
  width: 100%; min-width: 480px; margin-top: 2.5rem;
  background: var(--surface); border: 1px solid var(--border-fine);
  border-radius: var(--radius-lg); overflow: hidden;
  border-collapse: separate; border-spacing: 0;
}
.compare-table thead th {
  font-family: var(--mono); font-size: 0.62rem; font-weight: 500;
  color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 1rem 1.4rem; text-align: left;
  background: var(--surface-2); border-bottom: 1px solid var(--border-fine);
}
.compare-table tbody td {
  padding: 0.9rem 1.4rem; font-size: 0.85rem; font-weight: 300;
  color: var(--ink-3); border-bottom: 1px solid var(--border-fine);
  vertical-align: top;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:nth-child(even) td { background: var(--surface-2); }
.compare-table tbody td:first-child {
  font-weight: 500; color: var(--ink-2); font-size: 0.82rem;
}
.compare-table tbody td strong { color: var(--ink); font-weight: 500; }

/* ===== INFO GRID (2-col prose + sidebar) ===== */
.info { background: var(--bg); }
.info-layout {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem; align-items: start; margin-top: 2.5rem;
}
.info-prose p {
  font-size: 0.95rem; font-weight: 300; color: var(--ink-3);
  line-height: 1.8; margin-bottom: 1.2rem;
}
.info-prose p strong { color: var(--ink-2); font-weight: 500; }

.info-sidebar {
  background: var(--surface); border: 1px solid var(--border-fine);
  border-radius: var(--radius-lg); padding: 1.8rem;
}
.info-sidebar-title {
  font-family: var(--mono); font-size: 0.6rem; font-weight: 500;
  color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1rem; padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-fine);
}
.info-sidebar ul {
  list-style: none; padding: 0; margin: 0;
}
.info-sidebar li {
  font-size: 0.82rem; font-weight: 300; color: var(--ink-3);
  line-height: 1.6; padding: 0.35rem 0 0.35rem 1rem; position: relative;
}
.info-sidebar li::before {
  content: '›'; position: absolute; left: 0;
  color: var(--accent); font-weight: 500; font-size: 0.9rem;
}

/* ===== CARD GRID (3-col highlight cards) ===== */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin-top: 2.5rem;
  background: var(--border-fine); border: 1px solid var(--border-fine);
  border-radius: var(--radius-lg); overflow: hidden;
}
.highlight-card {
  background: var(--surface); padding: 1.8rem;
  transition: background 0.3s;
}
.highlight-card:hover { background: var(--surface-2); }
.highlight-card-icon {
  width: 42px; height: 42px;
  background: var(--accent-wash); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 1rem;
}
.highlight-card-icon svg { width: 20px; height: 20px; }
.highlight-card h4 {
  font-size: 0.92rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem;
}
.highlight-card p {
  font-size: 0.82rem; font-weight: 300; color: var(--ink-3); line-height: 1.65;
}

/* ===== CALLOUT CARDS ===== */
.callout-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem; margin-top: 2.5rem;
}
.callout-card {
  background: var(--surface); border: 1px solid var(--border-fine);
  border-radius: var(--radius-lg); padding: 1.5rem;
  border-left: 3px solid var(--accent);
  transition: box-shadow 0.3s;
}
.callout-card:hover { box-shadow: var(--shadow-sm); }
.callout-card h3,
.callout-card h4 {
  font-size: 0.88rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem;
}
.callout-card p {
  font-size: 0.82rem; font-weight: 300; color: var(--ink-3); line-height: 1.65;
}

/* ===== FAQ ACCORDION ===== */
.faq { background: var(--bg); }
.faq-list { margin-top: 2.5rem; max-width: 740px; }
.faq-item {
  border-bottom: 1px solid var(--border-fine);
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.2rem 0;
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 0.92rem; font-weight: 500;
  color: var(--ink); text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-arrow {
  width: 24px; height: 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 6px;
  color: var(--muted);
  transition: all 0.3s;
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-wash);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), padding 0.4s;
  padding: 0 0;
}
.faq-item.open .faq-a {
  max-height: 600px; padding: 0 0 1.2rem;
}
.faq-a p {
  font-size: 0.88rem; font-weight: 300; color: var(--ink-3); line-height: 1.75;
}
.faq-a p + p { margin-top: 0.6rem; }

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--accent-wash); padding: 4rem 2.5rem;
  text-align: center;
}
.cta-band-inner { max-width: 600px; margin: 0 auto; }
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400;
  color: var(--ink); line-height: 1.2;
  margin-bottom: 0.8rem; letter-spacing: -0.02em;
}
.cta-band h2 em { font-style: italic; color: var(--accent); }
.cta-band p {
  font-size: 0.92rem; font-weight: 300; color: var(--ink-3);
  line-height: 1.7; margin-bottom: 2rem;
}
.cta-band-btns {
  display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
}

/* ===== RELATED SERVICES ===== */
.related { background: var(--surface); border-top: 1px solid var(--border-fine); }
.related-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; margin-top: 2rem;
  background: var(--border-fine); border: 1px solid var(--border-fine);
  border-radius: var(--radius-lg); overflow: hidden;
}
.related-card {
  background: var(--surface); padding: 1.5rem;
  text-decoration: none; transition: background 0.3s;
  display: block;
}
.related-card:hover { background: var(--surface-2); }
.related-card-num {
  font-family: var(--mono); font-size: 0.58rem; font-weight: 500;
  color: var(--accent); letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem; background: var(--accent-wash);
  border-radius: 4px; display: inline-block; margin-bottom: 0.6rem;
}
.related-card h3,
.related-card h4 {
  font-size: 0.88rem; font-weight: 600; color: var(--ink); margin-bottom: 0.3rem;
}
.related-card p {
  font-size: 0.78rem; font-weight: 300; color: var(--ink-3); line-height: 1.6;
}

/* ===== PRICING CARD (single) ===== */
.pricing-spotlight {
  margin-top: 2.5rem; max-width: 400px;
}
.pricing-spotlight .price-card {
  background: var(--surface); border: 1px solid var(--accent);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: 0 0 0 1px var(--accent-wash), var(--shadow-sm);
}

/* ===== PROSE SECTION ===== */
.prose-section { background: var(--surface); border-top: 1px solid var(--border-fine); }
.prose-content {
  max-width: 680px; margin-top: 2rem;
}
.prose-content p {
  font-size: 0.95rem; font-weight: 300; color: var(--ink-3);
  line-height: 1.8; margin-bottom: 1.2rem;
}
.prose-content p strong { color: var(--ink-2); font-weight: 500; }

/* ===== CASE STUDY CARDS ===== */
.case-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-top: 2.5rem;
}
.case-card {
  background: var(--surface); border: 1px solid var(--border-fine);
  border-radius: var(--radius-lg); padding: 1.8rem;
  transition: box-shadow 0.3s, transform 0.3s;
}
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.case-tag {
  font-family: var(--mono); font-size: 0.58rem; font-weight: 500;
  color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.case-card h4 {
  font-size: 0.92rem; font-weight: 600; color: var(--ink);
  margin-bottom: 0.5rem;
}
.case-card p {
  font-size: 0.82rem; font-weight: 300; color: var(--ink-3); line-height: 1.65;
}
.case-outcome {
  margin-top: 0.8rem; padding-top: 0.8rem;
  border-top: 1px solid var(--border-fine);
  font-family: var(--mono); font-size: 0.68rem; font-weight: 500;
  color: var(--accent);
}

/* ===== SERVICE PAGE RESPONSIVE ===== */
@media (max-width: 900px) {
  .service-hero { padding: 6rem 1.5rem 3rem; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .info-layout { grid-template-columns: 1fr; gap: 2rem; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .timeline-track { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .timeline-track::before { display: none; }
}

@media (max-width: 640px) {
  .check-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .timeline-track { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .compare-table { font-size: 0.8rem; }
  .compare-table thead th,
  .compare-table tbody td { padding: 0.7rem 0.8rem; }
  .cta-band { padding: 3rem 1.5rem; }
  .service-hero h1 { font-size: clamp(1.7rem, 6vw, 2.2rem); }

  /* ===== MOBILE FONT-SIZE FLOOR (service.css) — minimum 14px for body copy ===== */
  .check-card p { font-size: 0.875rem; }
  .check-card li { font-size: 0.875rem; }
  .timeline-step p { font-size: 0.875rem; }
.timeline-step h3,
.timeline-step h4 { font-size: 0.95rem; }
  .highlight-card p { font-size: 0.875rem; }
  .callout-card p { font-size: 0.875rem; }
  .related-card p { font-size: 0.875rem; }
.related-card h3,
.related-card h4 { font-size: 0.9rem; }
  .case-card p { font-size: 0.875rem; }
  .info-prose p { font-size: 0.95rem; }
  .info-sidebar li { font-size: 0.875rem; }
  .faq-q { font-size: 0.95rem; }
  .faq-a p { font-size: 0.9rem; }
  .cta-band p { font-size: 0.95rem; }
  .prose-content p { font-size: 0.95rem; }
}
