/* CARTO services.css — стили для раздела /services/ */

/* ─── Hero ─── */
.svc-wrap { background: var(--snow); }
.svc-hero {
  background: var(--midnight);
  padding: 48px 0 64px;
}
.svc-hero-inner { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.svc-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: rgba(0,200,150,.15); color: #00C896;
  font-family: 'Inter'; font-weight: 700; font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; border-radius: 999px; margin-bottom: 24px;
}
.svc-hero h1 {
  font-family: 'Manrope'; font-weight: 800; font-size: 52px; line-height: 60px;
  letter-spacing: -0.025em; color: #fff; margin: 0 0 20px; max-width: 760px;
}
.svc-hero h1 em { color: #00C896; font-style: normal; }
.svc-hero .lead {
  font-family: 'Inter'; font-size: 18px; line-height: 28px;
  color: rgba(255,255,255,.75); max-width: 620px; margin: 0 0 36px;
}
.svc-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.svc-breadcrumb {
  max-width: 1440px; margin: 0 auto; padding: 14px 24px 0;
  font-size: 13px; color: var(--grey); display: flex; gap: 6px; align-items: center;
}
.svc-breadcrumb a { color: var(--grey); text-decoration: none; }
.svc-breadcrumb a:hover { color: var(--voltage); }
.svc-breadcrumb span { color: var(--midnight); font-weight: 500; }

/* ─── Trust strip (reuse homepage styles, override bg) ─── */
.svc-trust { background: var(--mist); padding: 32px 0; }
.svc-trust-inner { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.svc-trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.svc-trust-item { padding: 12px 24px; border-right: 1px solid var(--stone); }
.svc-trust-item:last-child { border-right: 0; }
.svc-trust-item:first-child { padding-left: 0; }
.svc-trust-num { font-family: 'Manrope'; font-weight: 800; font-size: 36px; line-height: 1; color: var(--midnight); letter-spacing: -0.02em; }
.svc-trust-cap { font-size: 13px; color: var(--grey); margin-top: 6px; }

/* ─── Main sections ─── */
.svc-main { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.svc-section { padding: 56px 0; border-top: 1px solid var(--stone); }
.svc-section:first-child { border-top: 0; padding-top: 48px; }
.svc-section h2 {
  font-family: 'Manrope'; font-weight: 700; font-size: 36px; line-height: 1.15;
  letter-spacing: -0.02em; color: var(--midnight); margin: 0 0 8px;
}
.svc-section .kicker {
  font-family: 'Inter'; font-weight: 700; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--voltage); margin-bottom: 12px;
}
.svc-section .lead {
  font-size: 17px; line-height: 26px; color: var(--graphite);
  max-width: 720px; margin: 0 0 32px;
}

/* Cards grid */
.svc-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-card {
  padding: 28px; background: var(--snow); border: 1.5px solid var(--stone);
  border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.svc-card:hover { border-color: var(--voltage); box-shadow: 0 4px 20px rgba(0,200,150,.1); }
.svc-card-ico {
  width: 44px; height: 44px; background: var(--mint);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: #00876C;
}
.svc-card h3 { font-family: 'Manrope'; font-weight: 700; font-size: 19px; color: var(--midnight); margin: 0 0 10px; }
.svc-card p { font-size: 14px; line-height: 22px; color: var(--graphite); margin: 0 0 16px; }
.svc-card .svc-card-price {
  font-family: 'Manrope'; font-weight: 700; font-size: 17px; color: var(--midnight);
  border-top: 1px solid var(--mist); padding-top: 14px; margin-top: 14px;
}
.svc-card a.svc-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--voltage); text-decoration: none; margin-top: 12px;
}
.svc-card a.svc-card-link:hover { text-decoration: underline; }

/* Numbered steps */
.svc-steps { display: flex; flex-direction: column; gap: 0; }
.svc-step {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 24px 0; border-bottom: 1px solid var(--mist);
  align-items: flex-start;
}
.svc-step:last-child { border-bottom: 0; }
.svc-step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--midnight);
  color: #fff; font-family: 'Manrope'; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.svc-step-body h3 { font-family: 'Manrope'; font-weight: 700; font-size: 18px; color: var(--midnight); margin: 0 0 6px; }
.svc-step-body p { font-size: 15px; line-height: 24px; color: var(--graphite); margin: 0; }
.svc-step-body .svc-step-tag {
  display: inline-block; padding: 3px 10px; background: var(--mist); border-radius: 999px;
  font-size: 12px; color: var(--grey); margin-top: 8px;
}

/* Pricing table */
.svc-price-table { width: 100%; border-collapse: collapse; border-radius: 12px; overflow: hidden; border: 1px solid var(--stone); }
.svc-price-table th {
  background: var(--midnight); color: #fff; font-family: 'Manrope'; font-weight: 700;
  font-size: 13px; padding: 14px 20px; text-align: left;
}
.svc-price-table td { padding: 14px 20px; font-size: 15px; color: var(--graphite); border-bottom: 1px solid var(--mist); }
.svc-price-table tr:last-child td { border-bottom: 0; }
.svc-price-table tr:nth-child(even) td { background: #f8fafc; }
.svc-price-val { font-family: 'Manrope'; font-weight: 700; color: var(--midnight); white-space: nowrap; }

/* FAQ accordion */
.svc-faq-list { display: flex; flex-direction: column; gap: 4px; }
.svc-faq-item {
  border: 1.5px solid var(--stone); border-radius: 10px; overflow: hidden;
  transition: border-color .2s;
}
.svc-faq-item[open] { border-color: var(--voltage); }
.svc-faq-item summary {
  padding: 18px 20px; font-family: 'Manrope'; font-weight: 600; font-size: 16px;
  color: var(--midnight); cursor: pointer; list-style: none; display: flex;
  justify-content: space-between; align-items: center; gap: 12px;
}
.svc-faq-item summary::-webkit-details-marker { display: none; }
.svc-faq-item summary > svg { display: none; }
.svc-faq-item summary::after {
  content: '+'; font-size: 22px; font-weight: 300; color: var(--grey);
  flex-shrink: 0; transition: transform .2s;
}
.svc-faq-item[open] summary::after { transform: rotate(45deg); }
.svc-faq-body { padding: 0 20px 18px; font-size: 15px; line-height: 24px; color: var(--graphite); }
.svc-faq-body p { margin: 0 0 10px; }
.svc-faq-body p:last-child { margin: 0; }
/* direct <p> in <details> — fix margin-collapse escape */
.svc-faq-item > p {
  margin: 0; padding: 0 20px 18px;
  font-size: 15px; line-height: 24px; color: var(--graphite);
}
.svc-faq-item > ul, .svc-faq-item > ol {
  margin: 0; padding: 0 20px 18px 36px;
  font-size: 15px; line-height: 24px; color: var(--graphite);
}

/* Why us list */
.svc-why-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc-why-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: var(--mist); border-radius: 10px; }
.svc-why-ico { flex-shrink: 0; color: #00876C; margin-top: 2px; }
.svc-why-item h4 { font-family: 'Manrope'; font-weight: 700; font-size: 16px; color: var(--midnight); margin: 0 0 4px; }
.svc-why-item p { font-size: 14px; line-height: 22px; color: var(--graphite); margin: 0; }

/* Hub category header */
.svc-cat-title {
  font-family: 'Manrope'; font-weight: 800; font-size: 28px; color: var(--midnight);
  margin: 0 0 6px; letter-spacing: -0.02em;
}
.svc-cat-sub { font-size: 15px; color: var(--grey); margin: 0 0 24px; }

/* Final CTA */
.svc-cta {
  background: var(--midnight); color: #fff; border-radius: 16px;
  padding: 56px 48px; text-align: center; margin: 0 0 80px;
}
.svc-cta h2 { font-family: 'Manrope'; font-weight: 800; font-size: 38px; color: #fff; margin: 0 0 16px; }
.svc-cta p { font-size: 17px; color: rgba(255,255,255,.7); max-width: 540px; margin: 0 auto 32px; }
.svc-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Inline checklist */
.svc-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.svc-checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 23px; color: var(--graphite); }
.svc-checklist li::before { content: ''; display: block; width: 20px; height: 20px; background: var(--mint); border-radius: 50%; flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300876C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; margin-top: 1px; }

/* Service page info box */
.svc-infobox {
  background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: 10px;
  padding: 20px 24px; margin: 24px 0; display: flex; gap: 14px; align-items: flex-start;
}
.svc-infobox svg { flex-shrink: 0; color: #2563EB; margin-top: 2px; }
.svc-infobox p { font-size: 15px; line-height: 23px; color: #1E3A5F; margin: 0; }
.svc-infobox strong { color: #1E3A5F; }

/* ─── Hub page service link cards ─── */
.svc-hub-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 24px; background: var(--snow); border: 1.5px solid var(--stone);
  border-radius: 12px; text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
.svc-hub-card:hover { border-color: var(--voltage); box-shadow: 0 4px 16px rgba(0,200,150,.1); }
.svc-hub-card-ico {
  width: 40px; height: 40px; background: var(--mint); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #00876C;
}
.svc-hub-card-body h3 { font-family: 'Manrope'; font-weight: 700; font-size: 16px; color: var(--midnight); margin: 0 0 4px; }
.svc-hub-card-body p { font-size: 13px; line-height: 20px; color: var(--grey); margin: 0; }

/* ─── Related services block (at bottom of service page) ─── */
.svc-related { background: var(--mist); border-radius: 12px; padding: 32px; margin: 32px 0; }
.svc-related h3 { font-family: 'Manrope'; font-weight: 700; font-size: 20px; color: var(--midnight); margin: 0 0 20px; }
.svc-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.svc-related-link {
  display: block; padding: 14px 16px; background: var(--snow); border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--midnight); text-decoration: none;
  border: 1px solid var(--stone); transition: border-color .15s;
}
.svc-related-link:hover { border-color: var(--voltage); color: var(--voltage); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .svc-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .svc-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-trust-item { border-right: 0; border-bottom: 1px solid var(--stone); padding: 14px 0; }
  .svc-why-list { grid-template-columns: 1fr; }
  .svc-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .svc-hero h1 { font-size: 36px; line-height: 44px; }
  .svc-grid-3 { grid-template-columns: 1fr; }
  .svc-grid-2 { grid-template-columns: 1fr; }
  .svc-section h2 { font-size: 28px; }
  .svc-cta { padding: 40px 24px; }
  .svc-cta h2 { font-size: 28px; }
  .svc-related-grid { grid-template-columns: 1fr; }
  .svc-trust-grid { grid-template-columns: 1fr 1fr; }
}
