/* ===== Service page shared styles ===== */

.service-page {
  color: #0f172a;
  background: #fff;
}

.service-page section {
  padding: 4.5rem 1.25rem;
}

.service-page .container {
  max-width: 1120px;
  margin: 0 auto;
}

/* ----- Breadcrumbs ----- */
.breadcrumbs {
  padding: 1.25rem 1.25rem 0.5rem;
  max-width: 1120px;
  margin: 0 auto;
  font-size: 0.875rem;
  color: #64748b;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}
.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: #cbd5e1;
}
.breadcrumbs a {
  color: #0891b2;
  text-decoration: none;
  font-weight: 500;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}

/* ----- Hero ----- */
.service-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0e7490 0%, #0891b2 40%, #2563eb 100%);
  color: #fff;
  text-align: center;
  padding: 6rem 1.25rem !important;
}
.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255,255,255,0.08) 0%, transparent 40%);
  pointer-events: none;
}
.service-hero .container { position: relative; z-index: 1; }
.service-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.service-hero .hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0 auto 2.25rem;
  max-width: 720px;
  opacity: 0.95;
}
@media (min-width: 768px) {
  .service-hero h1 { font-size: 3.25rem; }
  .service-hero .hero-subtitle { font-size: 1.25rem; }
}
.service-hero .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #0e7490;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.service-hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(0,0,0,0.4);
}
.service-hero .btn-primary::after {
  content: "→";
  font-size: 1.1rem;
  transition: transform 0.15s;
}
.service-hero .btn-primary:hover::after {
  transform: translateX(3px);
}

/* ----- Intro ----- */
.service-intro {
  padding: 3.5rem 1.25rem !important;
}
.service-intro p {
  font-size: 1.15rem;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.75;
  color: #334155;
}
.service-intro p strong { color: #0891b2; }

/* ----- Section headings ----- */
.service-benefits h2,
.service-features h2,
.service-process h2,
.service-examples h2,
.service-pricing h2,
.service-faq h2,
.service-cta h2,
.service-related h2 {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  text-align: center;
  color: #0f172a;
}
@media (min-width: 768px) {
  .service-benefits h2,
  .service-features h2,
  .service-process h2,
  .service-examples h2,
  .service-pricing h2,
  .service-faq h2,
  .service-cta h2,
  .service-related h2 {
    font-size: 2.25rem;
  }
}

/* ----- Benefits grid ----- */
.service-benefits { background: #f8fafc; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.benefits-grid .benefit-card {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.benefits-grid .benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -12px rgba(14,116,144,0.25);
  border-color: #a5f3fc;
}
.benefits-grid .benefit-card::before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 1rem;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 22px 22px no-repeat,
    linear-gradient(135deg, #06b6d4, #2563eb);
}
.benefits-grid .benefit-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.benefits-grid .benefit-card p {
  color: #475569;
  line-height: 1.65;
  font-size: 0.95rem;
  margin: 0;
}

/* ----- Features list ----- */
.service-features ul {
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}
.service-features li {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #06b6d4;
  border-radius: 10px;
  padding: 1rem 1.25rem 1rem 3rem;
  line-height: 1.65;
  color: #334155;
  position: relative;
  transition: box-shadow 0.15s, transform 0.15s;
}
.service-features li:hover {
  box-shadow: 0 6px 16px -8px rgba(14,116,144,0.2);
  transform: translateX(2px);
}
.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0.9rem;
  top: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #ecfeff;
  color: #0891b2;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.service-features li strong { color: #0f172a; }

/* ----- Process (numbered steps) ----- */
.service-process { background: #f8fafc; }
.service-process ol {
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}
.service-process li {
  counter-increment: step;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1.25rem 4.5rem;
  position: relative;
  color: #334155;
  line-height: 1.65;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
.service-process li::before {
  content: counter(step);
  position: absolute;
  left: 1.25rem;
  top: 1.1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px -2px rgba(6,182,212,0.45);
}
.service-process li strong {
  color: #0f172a;
  display: inline-block;
  margin-right: 0.25rem;
}

/* ----- Pricing card ----- */
.service-pricing {
  background: linear-gradient(180deg, #fff 0%, #f0f9ff 100%);
}
.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 2px solid #06b6d4;
  border-radius: 18px;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 50px -18px rgba(14,116,144,0.35);
  position: relative;
}
.pricing-card::before {
  content: "Starting Price";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  color: #fff;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pricing-card .price {
  font-size: 1.125rem;
  color: #475569;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.pricing-card .price strong {
  display: block;
  font-size: 3.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0891b2, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-top: 0.25rem;
  letter-spacing: -0.02em;
}
.pricing-card .price-note {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1rem;
}
.pricing-card p:not(.price):not(.price-note) {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-top: 1rem;
}

/* ----- FAQ accordion ----- */
.service-faq {
  background: #f8fafc;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}
.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.faq-item[open] {
  border-color: #06b6d4;
  box-shadow: 0 8px 20px -10px rgba(14,116,144,0.2);
}
.faq-item summary {
  padding: 1.1rem 3.25rem 1.1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: #ecfeff;
  background-image:
    linear-gradient(#0891b2, #0891b2),
    linear-gradient(#0891b2, #0891b2);
  background-size: 0.75rem 2px, 2px 0.75rem;
  background-position: center, center;
  background-repeat: no-repeat;
  transition: background-color 0.2s, background-size 0.2s, background-image 0.2s;
}
.faq-item[open] summary::after {
  background-color: transparent;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff),
    linear-gradient(135deg, #06b6d4, #2563eb);
  background-size: 0.75rem 2px, 0 0, 100% 100%;
  background-position: center, center, center;
}
.faq-item > div {
  padding: 0 1.25rem 1.25rem;
  color: #475569;
  line-height: 1.7;
  font-size: 0.95rem;
}
.faq-item > div a { color: #0891b2; }

/* ----- Final CTA ----- */
.service-cta {
  background: linear-gradient(135deg, #0e7490 0%, #0891b2 40%, #2563eb 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.service-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 0%, transparent 45%);
  pointer-events: none;
}
.service-cta .container { position: relative; z-index: 1; }
.service-cta h2 {
  color: #fff !important;
  margin-bottom: 1rem;
}
.service-cta p {
  color: rgba(255,255,255,0.92);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}
.service-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #0e7490;
  padding: 1rem 2.25rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.service-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(0,0,0,0.45);
}

/* ----- Related services ----- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.related-grid a {
  display: block;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  position: relative;
}
.related-grid a:hover {
  border-color: #06b6d4;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -12px rgba(14,116,144,0.25);
}
.related-grid a strong {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #0891b2;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
}
.related-grid a strong::after {
  content: "→";
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
}
.related-grid a:hover strong::after {
  opacity: 1;
  transform: translateX(3px);
}
.related-grid a span {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.55;
  display: block;
}

/* ----- Examples cards ----- */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.example-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #06b6d4;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
  transition: transform 0.15s, box-shadow 0.15s;
}
.example-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px -12px rgba(14,116,144,0.22);
}
.example-card h3 {
  color: #0f172a;
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}
.example-card p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.service-examples > .container > p:first-child {
  max-width: 780px;
  margin: 0 auto 1.5rem;
  text-align: center;
  color: #475569;
  line-height: 1.7;
}
.service-examples > .container > p a { color: #0891b2; font-weight: 600; }

/* ----- Hub page ----- */
.services-hub {
  padding: 4rem 1.25rem 5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.services-hub h1 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #0f172a;
}
@media (min-width: 768px) {
  .services-hub h1 { font-size: 3rem; }
}
.services-hub .hub-intro {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.7;
}
.services-hub .hub-group {
  max-width: 1120px;
  margin: 0 auto 3.5rem;
}
.services-hub .hub-group h2 {
  text-align: center;
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: #0f172a;
  position: relative;
  padding-bottom: 0.75rem;
}
.services-hub .hub-group h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  border-radius: 2px;
  margin: 0.75rem auto 0;
}
.services-hub .hub-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.services-hub .hub-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  position: relative;
}
.services-hub .hub-card:hover {
  border-color: #06b6d4;
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -14px rgba(14,116,144,0.3);
}
.services-hub .hub-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 1.75rem;
  background: linear-gradient(135deg, #ecfeff 0%, #dbeafe 100%);
  border-radius: 12px;
  margin-bottom: 1rem;
}
.services-hub .hub-card h3 {
  color: #0f172a;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.services-hub .hub-card p {
  color: #64748b;
  font-size: 0.925rem;
  line-height: 1.6;
  margin: 0;
}

/* Hub final CTA */
.services-hub > section:last-child {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem !important;
  box-shadow: 0 10px 30px -18px rgba(15,23,42,0.18);
}
.services-hub > section:last-child h2 {
  font-size: 1.625rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
}
.services-hub > section:last-child p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}
