/* Services preview page (/services/): builds on cases.css (reset, skip link) and home.css (tokens, header, buttons,
   cards, contact block, footer). Only the home page measures are used: the .home-wrap container, 22px grid gaps,
   up to 60px between text columns, home section spacing, one column from 1099px, phone layout from 699px. */
.sv-main {
  padding-bottom:clamp(56px,7vw,96px)
}
.sv-page h1,.sv-page h2,.sv-page h3 {
  font-weight:850;
  letter-spacing:-.045em;
  overflow-wrap:break-word
}

/* First screen: headline on the left, text and actions on the right, so the full width is used. */
.sv-hero {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:22px 60px;
  align-items:end;
  padding-top:clamp(20px,3vw,40px)
}
.sv-kicker {
  margin-bottom:18px
}
.sv-hero h1 {
  font-size:clamp(42px,4.7vw,78px);
  line-height:.98;
  margin:0;
  max-width:none
}
.sv-lead {
  font-size:clamp(19px,1.35vw,24px);
  line-height:1.4;
  color:#41454b;
  margin:0 0 14px
}
.sv-approach {
  margin:0 0 26px;
  font-weight:600
}
.sv-actions {
  margin-bottom:0
}

/* Sections and cards: the same rhythm and card look as «Направления работы» on the home page. */
.sv-section {
  padding-top:clamp(56px,7vw,96px)
}
.sv-section h2 {
  font-size:clamp(34px,3.6vw,52px);
  line-height:1.14;
  margin:0 0 34px
}
.sv-grid {
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:22px
}
.sv-cards {
  grid-template-columns:repeat(3,minmax(0,1fr))
}
.sv-card {
  display:flex;
  flex-direction:column;
  margin:0;
  padding:26px;
  border-radius:16px;
  background:var(--card);
  border:1px solid var(--line);
  /* Long Georgian compounds («ინტერნეტ-პროვაიდერებისთვის») must wrap inside a 320px card. */
  overflow-wrap:break-word
}
.sv-card h3 {
  font-size:22px;
  line-height:1.25;
  letter-spacing:-.02em;
  margin:0 0 12px
}
.sv-card p {
  margin:0;
  color:#43474d;
  font-size:16px
}
/* Technologies are secondary: small tags at the bottom of the card, ending with a plain «and other…» note. */
.sv-tags {
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:auto 0 0;
  padding:18px 0 0;
  font-size:13px;
  line-height:1.3
}
.sv-tags li {
  margin:0;
  padding:4px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--bg);
  color:var(--muted)
}
.sv-tags .sv-more {
  padding-inline:2px;
  border:0;
  background:none
}

/* Formats and the work steps share one row on wide screens. */
.sv-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:0 60px
}
.sv-formats {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.sv-steps {
  grid-template-columns:repeat(2,minmax(0,1fr));
  counter-reset:sv-step
}
/* Number and short step text on one line keep the 2×2 block as low as the format cards beside it. */
.sv-steps li {
  counter-increment:sv-step;
  display:flex;
  align-items:baseline;
  gap:14px;
  margin:0;
  padding:20px;
  border-radius:16px;
  background:var(--card);
  border:1px solid var(--line);
  font-size:16px;
  font-weight:600;
  line-height:1.4
}
.sv-steps li::before {
  content:counter(sv-step);
  flex:none;
  color:var(--accent);
  font-size:28px;
  font-weight:850;
  line-height:1
}
.sv-safety {
  margin:22px 0 0;
  padding-left:14px;
  border-left:3px solid var(--amber);
  color:#43474d;
  font-size:16px
}
.sv-contact {
  padding:clamp(56px,7vw,96px) 0 0
}

:lang(ka) .sv-kicker {
  text-transform:none;
  letter-spacing:.04em
}
:lang(ka) .sv-hero h1 {
  font-size:clamp(36px,4.1vw,68px);
  line-height:1.12;
  letter-spacing:-.02em
}

@media(max-width:1099px) {
  .sv-hero,.sv-row {
    grid-template-columns:minmax(0,1fr)
  }
  .sv-cards {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}
@media(max-width:699px) {
  .sv-hero h1 {
    font-size:clamp(38px,11vw,48px)
  }
  :lang(ka) .sv-hero h1 {
    font-size:clamp(32px,9.4vw,44px)
  }
  .sv-actions .btn {
    flex:1 1 100%
  }
  .sv-cards,.sv-formats {
    grid-template-columns:minmax(0,1fr)
  }
  .sv-steps {
    grid-template-columns:minmax(0,1fr);
    gap:12px
  }
  .sv-steps li {
    padding:14px 18px
  }
  .sv-card {
    padding:22px
  }
}
