/* Local SMS service mock. The shared calculator and tariff data retain their original markup. */
.sms-design {
  --sms-ink: #294461;
  --sms-link: #315879;
  --sms-edge: #c8d5df;
  --sms-paper: #f1f5f8;
  --sms-gold: #ffcc29;
}
.sms-design :is(.home-hero, main > section) > .container {
  width: min(1010px, calc(100% - 48px));
  max-width: none;
  padding-inline: 0;
}
.sms-design .home-hero { background: linear-gradient(108deg, #ffdf51, #ffce2e); }
.sms-design .home-hero .item-in {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 68px);
  padding-block: clamp(30px, 4.5vw, 60px);
}
.sms-design .home-hero__copy { min-width: 0; }
.sms-design .home-hero__copy h1 { max-width: 20ch; text-wrap: balance; }
.sms-design .home-hero__copy > p { max-width: 52ch; line-height: 1.5; }
.sms-design .home-hero__actions a { min-height: 44px; display: inline-flex; align-items: center; }
.sms-hero-calculator { color: var(--sms-ink); font-weight: 650; text-decoration: underline; }
.sms-design a { text-underline-offset: .18em; }
.sms-example {
  margin: 0; padding: 0; width: 100%; border-radius: 12px;
  background: #eff3f6; color: var(--sms-ink); text-align: left; overflow: hidden;
}
.sms-example figcaption {
  background: var(--sms-ink); color: #fff; padding: 12px 20px;
  font-weight: 700; line-height: 1.35;
}
.sms-example-bubble {
  margin: 18px; padding: 15px 18px; background: #fff; border: 1px solid var(--sms-edge);
  border-radius: 12px 12px 12px 2px;
}
.sms-example-bubble b { color: var(--sms-link); font-size: 16px; }
.sms-design .sms-example-bubble p { margin: 6px 0 0; font-size: 18px; line-height: 1.45; color: var(--sms-ink); }
.sms-design :is(.sms-calc, .price-zone, .service-tools) { padding-block: clamp(36px, 5vw, 65px); }
.sms-design :is(.sms-calc, .price-zone, .service-tools, .sms-trial) h2 {
  text-transform: none; text-wrap: balance; text-align: left; font-weight: 700;
  font-size: clamp(28px, 3.1vw, 38px); line-height: 1.15;
}
.sms-design .calc-intro, .sms-design .price-intro, .workflow-intro {
  margin: 12px 0 24px; line-height: 1.55; max-width: 72ch;
}
.sms-design .calc-controls { padding: clamp(18px, 3vw, 32px); }
.sms-design .calc-volume { margin-top: 26px; }
.sms-design .calc-source { max-width: 108ch; margin-top: 15px; }
.sms-design .price-links { gap: 3px 22px; border-bottom: 1px solid var(--sms-edge); padding-bottom: 12px; }
.sms-design .price-links a {
  padding: 7px 0; min-height: 44px; display: inline-flex; align-items: center; border: 0;
  border-radius: 0; background: transparent; color: var(--sms-link); text-decoration: underline;
}
.sms-design .price-links a:hover { color: #133956; }
.sms-design .section-heading { gap: 4px 18px; }
.sms-design .section-heading :is(h2,h3) { margin: 0; }
.sms-design .section-language { display: inline-flex; align-items: center; min-height: 44px; }
.sms-design .rate-group {
  margin: 0; padding-top: clamp(26px, 3vw, 40px);
}
.sms-design .rate-group + .rate-group {
  margin-top: clamp(32px, 3.4vw, 44px);
  padding-top: clamp(22px, 2.5vw, 32px);
  border-top: 1px solid var(--sms-edge);
}
.sms-design .rate-group > .section-heading { margin-bottom: 4px; }
.sms-design .rate-group h3 {
  font-size: clamp(23px, 2.5vw, 30px); font-weight: 700; line-height: 1.22; text-align: left;
}
.sms-design .rate-description, .sms-design #infosms .table-note {
  margin: 0 0 19px; max-width: 76ch; color: #40576b; line-height: 1.5;
}
.sms-design .tariff-grid.table table thead tr th { vertical-align: middle; }
.sms-design .fee-layout { gap: clamp(24px, 4vw, 45px); }
.sms-design .cost-example { padding: 21px 24px; border: 0; border-radius: 8px; }
.sms-design .cost-example h4 { font-weight: 700; }
.sms-design .price-zone [id], .sms-design .sms-calc { scroll-margin-top: 75px; }
.sms-design .category-guide {
  margin: 0 0 22px; border: 1px solid var(--sms-edge); border-radius: 8px;
  background: #f3f7fa;
}
.sms-design .conditions { margin: 18px 0 0; }
.sms-design .category-guide > summary, .sms-design .calc-breakdown > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 15px;
  min-height: 48px; cursor: pointer; list-style: none; text-decoration: none;
}
.sms-design .category-guide > summary { padding: 15px 19px; }
.sms-design details > summary::-webkit-details-marker { display: none; }
.sms-design details > summary::after {
  content: ""; flex: 0 0 auto; width: 10px; height: 10px; margin-right: 3px;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.sms-design details[open] > summary::after { transform: rotate(225deg); }
.sms-design details > summary:focus-visible { outline: 3px solid #376991; outline-offset: 2px; }
.sms-category-review summary small {
  display: block; margin-top: 4px; color: #435c71; font-size: 15px; font-weight: 400; line-height: 1.4;
}
.sms-category-content {
  display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.15fr);
  align-items: start; gap: clamp(18px, 3vw, 33px); padding: 4px 20px 22px;
}
.verification-rule { padding: 19px 20px; background: #fff4c9; border-radius: 6px; }
.sms-category-content .verification-rule h4, .sms-category-content .other-categories dt {
  margin: 0; color: var(--sms-ink); font-size: 19px; line-height: 1.25;
  text-align: left; text-transform: none; font-weight: 700;
}
.sms-category-content p { margin: 7px 0 0; line-height: 1.5; }
.sms-category-content .category-example { font-size: 15px; color: #384f64; }
.category-example span { display: block; font-weight: 700; }
.sms-design .sms-category-content .other-categories { display: block; padding: 0; margin: 0; }
.other-categories > div + div { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--sms-edge); }
.sms-design .other-categories dd { margin: 0; }
.sms-design .service-tools { background: var(--sms-paper); }
.sms-methods, .sms-followup {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4.5vw, 52px);
}
.sms-methods { padding: clamp(22px, 3vw, 34px); background: #fff; border-radius: 8px; }
.sms-methods article + article { border-left: 1px solid var(--sms-edge); padding-left: clamp(18px, 3.5vw, 40px); }
.sms-followup { margin-top: clamp(28px, 3.8vw, 44px); }
.sms-followup article { border-top: 1px solid #a5b8c9; padding-top: 17px; }
.sms-design .service-tools article h3 { font-weight: 700; font-size: 22px; }
.sms-design .service-tools article p { margin: 9px 0 5px; line-height: 1.55; }
.sms-design .service-tools article a {
  display: inline-flex; align-items: center; min-height: 44px; margin: 0; color: var(--sms-link); text-decoration: underline;
}
.sms-trial { background: var(--sms-ink); color: #fff; padding-block: clamp(28px, 4vw, 48px); }
.sms-trial .container { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; }
.sms-trial .container::before, .sms-trial .container::after { display: none; }
.sms-design .sms-trial h2 { color: inherit; font-size: clamp(25px, 2.7vw, 34px); margin: 0; }
.sms-trial p { max-width: 56ch; margin: 9px 0 0; line-height: 1.5; }
.sms-trial .btn { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 18px; white-space: normal; max-width: 100%; }
.sms-trial a:focus-visible { outline: 3px solid white; outline-offset: 3px; }
@media (max-width: 900px) {
  .sms-design .fee-layout { grid-template-columns: 1fr; }
  .sms-design .cost-example { max-width: 640px; }
}
@media (max-width: 767px) {
  .sms-design :is(.home-hero, main > section) > .container { width: calc(100% - 32px); }
  .sms-design .header > .container { padding-block: 6px; }
  .sms-design .header .column-logo { margin-bottom: 4px; }
  .sms-design .header .column-logo img { width: 155px; height: auto; }
  .sms-design .header-contacts > .btn { display: none; }
  .sms-design .home-hero .item-in { grid-template-columns: 1fr; gap: 17px; padding-block: 24px; }
  .sms-design .home-hero .home-hero__copy { display: block; }
  .sms-design .home-hero__copy h1 { text-align: left; margin: 0 0 12px; }
  .sms-design .home-hero__copy > p, .sms-design .home-hero__details { text-align: left; }
  .sms-design .home-hero__actions { justify-content: flex-start; gap: 4px 16px; margin-block: 12px 5px; }
  .sms-example { max-width: 490px; }
  .sms-example figcaption { padding: 9px 14px; }
  .sms-example-bubble { margin: 10px 12px; padding: 10px 13px; }
  .sms-category-content { grid-template-columns: 1fr; padding: 2px 14px 18px; }
  .verification-rule { padding: 15px; }
  .sms-design .tariff-grid.table table tbody tr + tr { margin-top: 12px; }
  .sms-trial .container { align-items: flex-start; flex-direction: column; gap: 18px; }
}
@media (max-width: 600px) {
  .sms-methods, .sms-followup { grid-template-columns: 1fr; gap: 22px; }
  .sms-design .section-heading { flex-wrap: wrap; align-items: center; }
  .sms-design .section-language { padding: 0; }
  .sms-methods article + article { padding: 18px 0 0; border: 0; border-top: 1px solid var(--sms-edge); }
  .sms-design .price-links { gap: 1px 18px; }
}
