:root {
  color-scheme: light;
  --bg: #ffffff;
  --soft: #ebebeb;
  --ink: #111111;
  --muted: #6f6f6f;
  --line: #d9d4ce;
  --accent: #121212;
  --dark: #121212;
  --gray-block: #ebebeb;
  --gray-artboard: #efefef;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  height: 64px;
  padding: 0 32px;
  color: #ffffff;
  background: var(--dark);
  border-bottom: 0;
  backdrop-filter: none;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  font-size: 18px;
}

.phone-brand {
  min-width: 260px;
  font-weight: 400;
}

.site-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
}

.phone-link {
  font-weight: 700;
}

.menu-toggle {
  display: none;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  padding: 10px 14px;
  font: inherit;
}

.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(430px, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: clamp(48px, 6vw, 104px);
  margin: 0;
  padding: 42px max(32px, calc((100vw - 1120px) / 2)) 0;
  color: #ffffff;
  background: var(--dark);
  max-width: none;
  overflow: hidden;
}

.mobile-hero {
  display: none;
}

.hero-text {
  position: relative;
  z-index: 2;
  width: min(490px, 100%);
  margin-left: 0;
  padding-top: 58px;
}

.hero h1,
.page-hero h1,
.success-page h1 {
  margin: 0;
  font-size: clamp(42px, 3.25vw, 52px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  white-space: nowrap;
}

.hero-subtitle {
  margin: 8px 0 0;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.35;
}

.hero-photo {
  position: relative;
  align-self: stretch;
  min-height: calc(100vh - 106px);
  background: transparent;
  overflow: visible;
  border-radius: 0;
}

.hero-photo img {
  width: min(100%, 640px);
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  margin-left: auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.lead {
  max-width: 480px;
  margin: 54px 0 0;
  color: #bdbdbd;
  font-size: 16px;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 56px;
  margin-top: 56px;
  padding: 0 34px;
  border: 2px solid currentColor;
  background: transparent;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #2c2c2c;
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) 20px;
}

.hero + .section,
#services,
.telegram-section {
  max-width: none;
  color: #ffffff;
  background: var(--dark);
}

.hero + .section > *,
#services > *,
.telegram-section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

#services {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
}

#services .section-heading {
  max-width: none;
  padding: 22px 20px 42px;
  text-align: center;
}

#services .section-heading h2 {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 400;
}

.hero + .section {
  padding-left: max(20px, calc((100vw - 1172px) / 2));
  padding-right: max(20px, calc((100vw - 1172px) / 2));
}

.hero + .section .eyebrow,
#services .eyebrow,
.telegram-section .eyebrow,
.telegram-section .text-link {
  color: #bcbcbc;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 74px);
}

#about.split {
  position: relative;
  grid-template-columns: 520px minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  min-height: 650px;
  padding-top: 92px;
  padding-bottom: 24px;
}

#about.split::before,
#about.split::after {
  content: "";
  position: absolute;
  left: max(20px, calc((100vw - 586px) / 2));
  right: max(20px, calc((100vw - 586px) / 2));
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

#about.split::before {
  top: 28px;
}

#about.split::after {
  bottom: 14px;
}

.about-media img {
  width: 520px;
  aspect-ratio: 520 / 348;
  object-fit: cover;
}

.about-copy {
  max-width: 520px;
}

#about .about-copy h2 {
  margin: 0 0 28px;
  font-size: 27px;
  line-height: 1.25;
  font-weight: 700;
}

.about-copy h3 {
  margin: 32px 0 6px;
  color: #000000;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 700;
}

.about-copy p {
  margin: 0;
  color: #000000;
  font-size: 20px;
  line-height: 1.48;
  font-weight: 400;
}

.section h2,
.document h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.03;
  font-weight: 400;
  letter-spacing: 0;
}

.section h3 {
  margin: 28px 0 8px;
  font-size: 22px;
}

.section p,
.document p,
.document li {
  font-size: 18px;
  line-height: 1.62;
}

.text-stack p {
  margin: 0 0 18px;
}

#services .service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  max-width: none;
  margin-top: 0;
  background: var(--dark);
  border: 0;
}

.service-card {
  position: relative;
  min-height: 350px;
  display: grid;
  place-items: center;
  padding: 34px 26px;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38)),
    var(--service-image);
  background-size: cover;
  background-position: center;
  transition: background 160ms ease, transform 160ms ease;
}

.service-card:hover {
  transform: translateY(-2px);
}

.service-card-inner {
  display: flex;
  min-height: 218px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 28px;
  max-width: 420px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 45px;
  margin-top: 30px;
  padding: 0 28px;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 14px;
}

.service-card p {
  max-width: 520px;
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.5;
}

.portrait-inline {
  width: min(360px, 100%);
  margin-top: 34px;
  background: #111;
}

.qualification-section {
  max-width: 1140px;
  padding-top: 82px;
  padding-bottom: 42px;
  color: #000000;
  background: #ffffff;
}

.qualification-heading {
  margin-bottom: 36px;
  text-align: center;
}

.qualification-heading h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.18;
  font-weight: 700;
}

.qualification-heading span {
  display: block;
  width: 50px;
  height: 3px;
  margin: 16px auto 0;
  background: #616161;
}

.qualification-layout {
  display: grid;
  grid-template-columns: minmax(0, 610px) 420px;
  align-items: center;
  justify-content: center;
  gap: 78px;
}

.qualification-text {
  font-size: 20px;
  line-height: 1.42;
}

.qualification-text p {
  margin: 0;
  font-size: 20px;
  line-height: 1.42;
}

.qualification-label {
  margin-bottom: 2px !important;
}

.qualification-label.spaced {
  margin-top: 34px !important;
}

.qualification-text strong {
  font-weight: 700;
}

.qualification-photo {
  width: 420px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.qualification-mobile {
  display: none;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(11, auto);
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 22px;
}

.certificates-section {
  padding-top: 26px;
  padding-bottom: 36px;
}

.certificate-grid a {
  display: block;
  width: auto;
  height: 66px;
  aspect-ratio: auto;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.certificate-grid img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.certificate-grid a {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 42px 72px;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.lightbox button {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.lightbox button:hover,
.lightbox button:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.certificates-heading {
  padding-top: 0;
  text-align: center;
}

.certificates-heading h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 400;
}

.telegram-section {
  max-width: 100%;
  padding-top: 58px;
  background: var(--dark);
}

.telegram-section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.telegram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.telegram-section .section-heading {
  text-align: center;
}

.telegram-section h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.16;
  font-weight: 400;
}

.telegram-handle {
  margin: 12px 0 0;
  color: #bcbcbc;
  font-size: 24px;
  line-height: 1.25;
}

.telegram-post {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  background: var(--dark);
  border: 0;
  color: #ffffff;
  overflow: hidden;
  cursor: pointer;
}

.telegram-post:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.telegram-post img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eee;
}

.telegram-post div {
  padding: 20px;
}

.telegram-post time {
  display: block;
  margin: 0 0 10px;
  color: #bcbcbc;
  font-size: 14px;
  line-height: 1.4;
}

.telegram-post p {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.5;
}

.telegram-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(0, 0, 0, 0.86);
}

.telegram-overlay.is-open {
  display: flex;
}

.telegram-overlay-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(780px, calc(100vh - 64px));
  overflow: auto;
  padding: 44px 46px;
  background: #111111;
  color: #ffffff;
}

.telegram-overlay-panel img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  margin-bottom: 28px;
}

.telegram-overlay-text {
  font-size: 20px;
  line-height: 1.55;
}

.telegram-overlay-text a {
  color: #ffffff;
}

.telegram-overlay-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.text-link,
.telegram-subscribe {
  display: inline-block;
  margin-top: 16px;
  color: var(--muted);
}

.telegram-subscribe {
  display: table;
  margin-top: 30px;
  color: #bcbcbc;
  font-size: 18px;
  text-align: center;
}

.contact-section {
  max-width: none;
  padding-top: 46px;
  padding-bottom: 52px;
  background: #ffffff;
  text-align: center;
}

.contact-section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.contact-section .section-heading h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.contact-section .eyebrow {
  display: none;
}

.lead-form {
  max-width: 760px;
  margin: 68px auto 0;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 274px;
  gap: 20px;
  align-items: start;
}

.lead-form.wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lead-form label {
  display: grid;
  gap: 0;
  text-align: left;
  color: var(--muted);
  font-size: 14px;
}

.lead-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.lead-form input {
  width: 100%;
  min-height: 60px;
  padding: 0 20px;
  border: 1px solid #111;
  border-radius: 0;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.lead-form input:focus {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.lead-form .button {
  width: 100%;
  min-width: 0;
  min-height: 60px;
  margin-top: 0;
  border: 0;
  background: #121212;
  color: #ffffff;
  text-transform: none;
}

.form-note,
.form-status {
  grid-column: 1 / -1;
  margin: 10px auto 0;
  color: #000000;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  max-width: 770px;
}

.form-status {
  min-height: 22px;
  color: var(--ink);
  font-weight: 700;
}

.separator {
  display: none;
  margin: 48px 0 54px;
  font-size: 42px;
  line-height: 1;
}

.contact-large {
  max-width: 900px;
  margin: 48px auto 0;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 400;
}

.contact-large span,
.contact-large a {
  display: block;
}

.contact-large a {
  font-weight: 700;
  text-decoration: none;
}

.contact-large span a {
  display: inline;
}

#contact .contact-large,
#contact .contact-large span,
#contact .contact-large a {
  font-size: 32px;
  line-height: 1.25;
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 12vw, 150px) 20px clamp(44px, 7vw, 90px);
}

.page-hero + .section.split,
.info-band {
  background: var(--gray-block);
}

.page-hero + .section.split {
  max-width: none;
  padding-left: max(20px, calc((100vw - var(--max)) / 2 + 20px));
  padding-right: max(20px, calc((100vw - var(--max)) / 2 + 20px));
}

.page-hero.compact {
  padding-bottom: 28px;
}

.large-text {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
}

.clean-list {
  margin: 18px 0;
  padding-left: 20px;
}

.clean-list li {
  margin: 10px 0;
  font-size: 18px;
  line-height: 1.5;
}

.info-band {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: #d8d8d8;
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
}

.info-band div {
  padding: clamp(32px, 5vw, 60px);
  background: var(--gray-block);
  text-align: center;
}

.info-band span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
}

.info-band strong,
.price {
  display: block;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 400;
}

.group-title-hero {
  padding: 30px 20px 38px;
  background: #ffffff;
  text-align: center;
}

.group-title-hero h1 {
  margin: 0;
  color: #000000;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
}

.group-content-section {
  padding: 54px 20px 48px;
  background: var(--gray-block);
}

.group-content-layout {
  display: grid;
  grid-template-columns: 343px minmax(0, 560px);
  align-items: center;
  justify-content: center;
  gap: 44px;
  max-width: 1040px;
  margin: 0 auto;
}

.group-content-photo {
  width: 343px;
  height: 678px;
  object-fit: cover;
  object-position: center;
}

.group-content-copy {
  color: #000000;
}

.group-content-copy h2 {
  margin: 0 0 16px;
  max-width: 560px;
  font-size: 26px;
  line-height: 1.18;
  font-weight: 700;
}

.group-content-copy p,
.group-content-copy li {
  font-size: 16px;
  line-height: 1.55;
}

.group-content-copy p {
  margin: 0 0 24px;
}

.group-content-copy ul {
  margin: -14px 0 30px;
  padding-left: 20px;
}

.group-content-copy li {
  margin: 2px 0;
}

.group-meta {
  margin-top: 34px !important;
}

.group-interest-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  min-height: 42px;
  padding: 0 24px;
  border: 1px solid #000000;
  border-radius: 999px;
  background: transparent;
  color: #000000;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
}

.group-interest-button:hover {
  background: #000000;
  color: #ffffff;
}

.group-page .contact-section {
  padding-top: 54px;
}

.group-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
}

.group-modal.is-open {
  display: flex;
}

.group-modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 42px 44px 36px;
  background: #ffffff;
  color: #000000;
}

.group-modal-panel h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}

.group-modal-panel > p {
  max-width: 520px;
  margin: 14px auto 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
}

.group-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid #111111;
  border-radius: 50%;
  background: transparent;
  color: #111111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.group-modal-form {
  margin-top: 0;
}

.group-modal .lead-form label {
  gap: 8px;
}

.group-modal .lead-form label span {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  color: #000000;
  font-size: 14px;
  line-height: 1.2;
}

.group-modal .lead-form .button {
  align-self: end;
  grid-column: 1 / -1;
  justify-self: center;
  width: min(240px, 100%);
}

.payment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.payment-card .button {
  margin-top: 0;
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.payment-card .button:hover {
  background: #2c2c2c;
  border-color: #2c2c2c;
}

.document {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 100px) 20px;
}

.document h1 {
  margin-bottom: 40px;
}

.document h2 {
  margin: 34px 0 12px;
  font-size: 26px;
  line-height: 1.25;
}

.document section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.document p {
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}

.document-body {
  font-size: 18px;
  line-height: 1.55;
}

.document-body-block {
  margin-bottom: 44px;
}

.document-body p {
  margin: 0 0 18px;
}

.document-body strong {
  display: block;
  margin: 28px 0 12px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

.document-body ol,
.document-body ul {
  margin: 0 0 22px 24px;
  padding: 0;
}

.document-body li {
  margin: 0 0 10px;
}

.document-body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.document-subtitle {
  margin: 52px 0 22px;
  text-align: center;
}

.document-signing {
  margin-top: 70px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.document-signing h2 {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 400;
}

.document-signing > p {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.signing-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}

.signing-form label {
  display: grid;
  gap: 7px;
}

.signing-form label span {
  color: var(--muted);
  font-size: 13px;
}

.signing-form input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid #000000;
  border-radius: 0;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.signing-form .button {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 220px;
  margin-top: 8px;
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.signing-form .button:hover {
  background: #2c2c2c;
  border-color: #2c2c2c;
}

.signing-form .form-status {
  grid-column: 1 / -1;
  text-align: center;
}

.success-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.success-page section {
  max-width: 760px;
}

.site-footer {
  max-width: none;
  margin: 0;
  padding: 34px 20px 56px;
  color: #ffffff;
  background: #000000;
  border-top: 1px solid #000000;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 620px;
  margin: 0 auto;
  padding: 14px 16px;
  background: var(--gray-block);
  color: #111111;
  border-radius: 5px;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
}

.cookie-banner button {
  border: 1px solid #999999;
  border-radius: 5px;
  background: var(--gray-block);
  color: #555555;
  padding: 8px 16px;
  cursor: pointer;
}

.muted {
  color: var(--muted);
}

@media (max-width: 1180px) {
  .menu-toggle {
    display: inline-flex;
    min-height: 40px;
  }

  .site-header {
    align-items: center;
    justify-content: space-between;
    height: auto;
    min-height: 60px;
    padding: 12px 16px;
  }

  .phone-brand {
    min-width: 0;
    font-size: 16px;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    transform: none;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px 24px;
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .hero,
  .split,
  .payment-card {
    grid-template-columns: 1fr;
  }

  #about.split {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .about-media img {
    width: 100%;
  }

  .about-copy {
    max-width: none;
  }

  .hero {
    min-height: auto;
    padding: 42px 20px 0;
    gap: 18px;
  }

  .hero-text {
    margin-left: 0;
    padding-top: 0;
  }

  .hero-photo {
    min-height: 380px;
    border-radius: 0;
  }

  .hero-photo img {
    width: min(100%, 430px);
    margin-right: -24px;
  }

  .service-grid,
  .telegram-grid,
  .lead-form,
  .lead-form.wide,
  .signing-form,
  .info-band {
    grid-template-columns: 1fr;
  }

  #services .service-grid {
    grid-template-columns: 1fr;
  }

  .certificate-grid {
    grid-template-columns: repeat(4, auto);
    gap: 16px;
  }

  .qualification-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .qualification-photo {
    width: min(420px, 100%);
    order: -1;
    margin: 0 auto;
  }

  #services .section-heading {
    padding-top: 24px;
    padding-bottom: 36px;
  }

  #services .section-heading h2 {
    font-size: 34px;
  }

  .telegram-section h2 {
    font-size: 34px;
  }

  .telegram-handle {
    font-size: 20px;
  }

  .service-card {
    min-height: 280px;
    padding: 30px 24px;
  }

  .service-card-inner {
    width: 100%;
    min-height: 0;
  }

  .service-card h3 {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: 20px;
  }

  .service-card p {
    max-width: 100%;
    font-size: 16px;
  }

  .service-card a {
    margin-top: 22px;
  }

  .group-title-hero {
    padding: 28px 18px 32px;
  }

  .group-title-hero h1 {
    font-size: 30px;
  }

  .group-content-section {
    padding: 36px 18px 42px;
  }

  .group-content-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .group-content-photo {
    width: min(343px, 100%);
    height: auto;
    margin: 0 auto;
  }

  .group-content-copy h2 {
    font-size: 24px;
  }

  .group-modal-panel {
    padding: 40px 22px 28px;
  }

  .group-modal-panel h2 {
    font-size: 27px;
  }

  .lead-form .button {
    margin-top: 0;
  }

  .signing-form .button {
    width: 100%;
  }

  .document {
    padding: 42px 18px;
  }

  .document h1 {
    margin-bottom: 28px;
    font-size: 34px;
    line-height: 1.12;
  }

  .document h2 {
    font-size: 23px;
  }

  .document p,
  .document li,
  .document-body {
    font-size: 16px;
    line-height: 1.55;
  }

  .document-body a,
  .document a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 1180px) and (pointer: coarse) {
  .hero h1,
  .page-hero h1,
  .success-page h1 {
    font-size: 36px;
  }

  .hero h1 {
    white-space: normal;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .lead {
    margin-top: 24px;
  }

  .button {
    margin-top: 28px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-photo {
    min-height: 320px;
  }

  #about.split {
    padding-top: 44px;
    padding-bottom: 34px;
  }

  #about.split::before,
  #about.split::after {
    left: 20px;
    right: 20px;
  }

  #about .about-copy h2 {
    font-size: 25px;
  }

  .about-copy h3 {
    margin-top: 24px;
    font-size: 19px;
  }

  .about-copy p {
    font-size: 17px;
    line-height: 1.52;
  }

  .service-card {
    min-height: 260px;
    padding: 28px 22px;
  }

  #services .section-heading {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  #services .section-heading h2,
  .telegram-section h2,
  .qualification-heading h2,
  .certificates-heading h2,
  .contact-section .section-heading h2 {
    font-size: 30px;
    line-height: 1.18;
  }

  .qualification-section {
    padding-top: 48px;
    padding-bottom: 30px;
  }

  .qualification-heading {
    margin-bottom: 26px;
  }

  .qualification-text p {
    font-size: 17px;
    line-height: 1.48;
  }

  .certificate-grid {
    grid-template-columns: repeat(3, auto);
    gap: 14px;
  }

  .certificate-grid a {
    height: 58px;
  }

  .telegram-section {
    padding: 42px 20px;
  }

  .telegram-grid {
    gap: 24px;
    margin-top: 28px;
  }

  .telegram-post {
    min-height: auto;
  }

  .telegram-post div {
    padding: 16px 0 0;
  }

  .telegram-post img {
    aspect-ratio: 16 / 11;
  }

  .contact-section {
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .lead-form {
    margin-top: 34px;
  }

  .contact-large,
  #contact .contact-large,
  #contact .contact-large span,
  #contact .contact-large a {
    font-size: 25px;
    line-height: 1.26;
  }

  .contact-large {
    margin-top: 38px;
  }

  .contact-large a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 560px) {
  .brand {
    white-space: normal;
  }

  .hero h1,
  .page-hero h1,
  .success-page h1 {
    font-size: 36px;
  }

  .hero h1 {
    white-space: normal;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .lead {
    margin-top: 24px;
  }

  .button {
    margin-top: 28px;
  }

  .hero-photo {
    min-height: 320px;
    border-radius: 0;
  }

  .service-card {
    min-height: 260px;
    padding: 28px 22px;
  }

  #about.split {
    padding-top: 44px;
    padding-bottom: 34px;
  }

  #about.split::before,
  #about.split::after {
    left: 20px;
    right: 20px;
  }

  #about .about-copy h2 {
    font-size: 25px;
  }

  .about-copy h3 {
    margin-top: 24px;
    font-size: 19px;
  }

  .about-copy p {
    font-size: 17px;
    line-height: 1.52;
  }

  #services .section-heading {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  #services .section-heading h2,
  .telegram-section h2,
  .qualification-heading h2,
  .certificates-heading h2,
  .contact-section .section-heading h2 {
    font-size: 30px;
    line-height: 1.18;
  }

  .qualification-section {
    padding-top: 48px;
    padding-bottom: 30px;
  }

  .qualification-heading {
    margin-bottom: 26px;
  }

  .qualification-text p {
    font-size: 17px;
    line-height: 1.48;
  }

  .certificate-grid {
    grid-template-columns: repeat(3, auto);
    gap: 14px;
  }

  .certificate-grid a {
    height: 58px;
  }

  .telegram-section {
    padding: 42px 20px;
  }

  .telegram-grid {
    gap: 24px;
    margin-top: 28px;
  }

  .telegram-post {
    min-height: auto;
  }

  .telegram-post div {
    padding: 16px 0 0;
  }

  .telegram-post img {
    aspect-ratio: 16 / 11;
  }

  .contact-section {
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .lead-form {
    margin-top: 34px;
  }

  .contact-large,
  #contact .contact-large,
  #contact .contact-large span,
  #contact .contact-large a {
    font-size: 25px;
    line-height: 1.26;
  }

  .contact-large {
    margin-top: 38px;
  }

  .contact-large a {
    overflow-wrap: anywhere;
  }

  .group-title-hero h1 {
    font-size: 28px;
  }

  .group-content-section {
    padding: 32px 18px 36px;
  }

  .group-content-copy h2 {
    font-size: 22px;
  }

  .group-content-copy p,
  .group-content-copy li {
    font-size: 16px;
  }

  .group-modal {
    padding: 14px;
  }

  .payment-card {
    gap: 20px;
  }

  .payment-card .button {
    width: 100%;
  }

  .lightbox {
    padding: 58px 16px 24px;
  }

  .telegram-overlay {
    padding: 18px;
  }

  .telegram-overlay-panel {
    padding: 42px 22px 28px;
  }

  .telegram-overlay-text {
    font-size: 17px;
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }
}

@media (max-width: 1180px) {
  .site-header {
    display: none;
  }

  .hero {
    position: relative;
    display: block;
    min-height: 336px;
    padding: 106px 12px 0;
    overflow: hidden;
    background: #111111;
  }

  .hero-text {
    position: relative;
    z-index: 2;
    max-width: 220px;
    margin: 0;
    padding: 0;
  }

  .hero h1 {
    max-width: 220px;
    margin: 0;
    font-size: 22px;
    line-height: 1.12;
    font-weight: 700;
    white-space: normal;
  }

  .hero-subtitle {
    max-width: 176px;
    margin-top: 9px;
    font-size: 11px;
    line-height: 1.32;
    color: rgba(255, 255, 255, 0.76);
  }

  .hero .lead {
    max-width: 172px;
    margin-top: 28px;
    font-size: 10px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.58);
  }

  .hero .button {
    min-width: 88px;
    min-height: 31px;
    margin-top: 24px;
    padding: 0 14px;
    border-width: 1px;
    font-size: 9px;
    line-height: 31px;
  }

  .hero-photo {
    position: absolute;
    right: 8px;
    bottom: 0;
    z-index: 1;
    width: min(62vw, 252px);
    min-height: 0;
    height: 286px;
    pointer-events: none;
  }

  .hero-photo img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
    object-position: right bottom;
    transform: translateX(-14%) scale(1.14);
    transform-origin: right bottom;
  }

  #about.split {
    display: block;
    min-height: auto;
    padding: 28px 18px 34px;
    color: #111111;
    background: #ffffff;
  }

  #about.split::before,
  #about.split::after,
  #about .about-media {
    display: none;
  }

  .about-copy {
    max-width: 390px;
    margin: 0 auto;
  }

  #about .about-copy h2 {
    max-width: 340px;
    margin: 0 auto 26px;
    font-size: 18px;
    line-height: 1.32;
    font-weight: 700;
    text-align: center;
    color: #111111;
  }

  .about-copy h3 {
    margin: 20px 0 6px;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
    color: #202020;
  }

  .about-copy p {
    font-size: 12px;
    line-height: 1.55;
    color: #777777;
  }

  .qualification-section {
    padding: 34px 18px 28px;
  }

  .qualification-heading {
    margin-bottom: 0;
  }

  .qualification-heading h2 {
    font-size: 24px;
    line-height: 1.22;
  }

  .qualification-heading span {
    width: 44px;
    height: 2px;
    margin-top: 14px;
  }

  .qualification-layout {
    display: none;
  }

  .qualification-mobile {
    display: block;
    max-width: 320px;
    margin: 28px auto 0;
  }

  .qualification-mobile details {
    border-top: 1px solid #e8e8e8;
  }

  .qualification-mobile details:last-child {
    border-bottom: 1px solid #e8e8e8;
  }

  .qualification-mobile summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 0;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

  .qualification-mobile summary::-webkit-details-marker {
    display: none;
  }

  .qualification-mobile summary::after {
    content: "+";
    flex: 0 0 auto;
    font-size: 25px;
    line-height: 1;
    font-weight: 300;
  }

  .qualification-mobile details[open] summary::after {
    content: "-";
  }

  .qualification-mobile div {
    padding: 0 0 18px;
  }

  .qualification-mobile p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.45;
    color: #555555;
  }

  .certificates-section {
    padding: 28px 0 36px;
    overflow: hidden;
  }

  .certificates-heading {
    padding: 0 18px;
  }

  .certificate-grid {
    display: flex;
    justify-content: flex-start;
    gap: 18px;
    width: 100%;
    max-width: none;
    margin-top: 26px;
    padding: 0 calc((100vw - min(82vw, 320px)) / 2) 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: calc((100vw - min(82vw, 320px)) / 2);
    -webkit-overflow-scrolling: touch;
  }

  .certificate-grid::-webkit-scrollbar {
    display: none;
  }

  .certificate-grid {
    scrollbar-width: none;
  }

  .certificate-grid a {
    flex: 0 0 min(82vw, 320px);
    width: min(82vw, 320px);
    height: auto;
    overflow: visible;
    scroll-snap-align: center;
  }

  .certificate-grid img {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: contain;
  }
}

@media (max-width: 1180px) {
  .hero {
    display: none;
  }

  .mobile-hero {
    position: relative;
    display: block;
    min-height: 336px;
    padding: 102px 10px 0;
    overflow: hidden;
    color: #ffffff;
    background: #111111;
  }

  .mobile-hero-text {
    position: relative;
    z-index: 2;
    width: min(56vw, 224px);
  }

  .mobile-hero h1 {
    margin: 0;
    font-size: clamp(18px, 4.85vw, 21px);
    line-height: 1.12;
    font-weight: 700;
  }

  .mobile-hero-subtitle {
    max-width: 158px;
    margin: 9px 0 0;
    font-size: clamp(9px, 2.65vw, 11px);
    line-height: 1.32;
    color: rgba(255, 255, 255, 0.76);
  }

  .mobile-hero-lead {
    max-width: 170px;
    margin: 28px 0 0;
    font-size: clamp(8px, 2.35vw, 10px);
    line-height: 1.36;
    color: rgba(255, 255, 255, 0.58);
  }

  .mobile-hero .button {
    min-width: 88px;
    min-height: 31px;
    margin-top: 23px;
    padding: 0 14px;
    border-width: 1px;
    font-size: 9px;
    line-height: 31px;
  }

  .mobile-hero-photo {
    position: absolute;
    left: min(48vw, 202px);
    right: auto;
    bottom: 0;
    z-index: 1;
    width: min(49vw, 210px);
    max-width: none;
    height: auto;
    pointer-events: none;
  }
}

@media (max-width: 380px) {
  .mobile-hero {
    min-height: 318px;
    padding-top: 92px;
  }

  .mobile-hero-photo {
    left: 46vw;
    right: auto;
    width: 51vw;
  }
}

@media (max-width: 1180px) {
  .mobile-hero {
    min-height: min(118vw, 480px);
    padding: min(30vw, 122px) 14px 0;
  }

  .mobile-hero-text {
    width: min(62vw, 260px);
  }

  .mobile-hero h1 {
    font-size: clamp(24px, 6.4vw, 30px);
    line-height: 1.08;
    white-space: nowrap;
  }

  .mobile-hero-subtitle {
    max-width: 210px;
    margin-top: 12px;
    font-size: clamp(12px, 3.25vw, 15px);
    line-height: 1.28;
  }

  .mobile-hero-lead {
    max-width: 215px;
    margin-top: 34px;
    font-size: clamp(11px, 2.9vw, 13px);
    line-height: 1.38;
  }

  .mobile-hero .button {
    min-width: 112px;
    min-height: 40px;
    margin-top: 28px;
    padding: 0 18px;
    font-size: 11px;
    line-height: 40px;
  }

  .mobile-hero-photo {
    left: auto;
    right: -5vw;
    bottom: 0;
    width: min(61vw, 270px);
  }

  #about.split {
    padding: 32px 16px 40px;
  }

  .about-copy {
    width: 100%;
    max-width: none;
  }

  #about .about-copy h2 {
    max-width: none;
    margin-bottom: 30px;
    font-size: clamp(21px, 5.6vw, 27px);
    line-height: 1.22;
  }

  .about-copy h3 {
    margin-top: 24px;
    margin-bottom: 8px;
    font-size: clamp(15px, 4vw, 18px);
  }

  .about-copy p {
    font-size: clamp(14px, 3.6vw, 16px);
    line-height: 1.5;
  }
}

@media (max-width: 380px) {
  .mobile-hero {
    min-height: 430px;
    padding-top: 104px;
  }

  .mobile-hero h1 {
    font-size: 22px;
  }

  .mobile-hero-photo {
    right: -8vw;
    width: 64vw;
  }
}

@media (max-width: 1180px) {
  .mobile-hero {
    min-height: min(236vw, 960px);
    padding-top: min(58vw, 235px);
  }

  .mobile-hero-text {
    width: min(76vw, 318px);
  }

  .mobile-hero h1 {
    font-size: clamp(34px, 8.8vw, 42px);
  }

  .mobile-hero-subtitle {
    max-width: 285px;
    margin-top: 18px;
    font-size: clamp(20px, 5.25vw, 25px);
  }

  .mobile-hero-lead {
    max-width: 300px;
    margin-top: 58px;
    font-size: clamp(18px, 4.75vw, 23px);
  }

  .mobile-hero .button {
    min-width: 170px;
    min-height: 62px;
    margin-top: 48px;
    padding: 0 28px;
    font-size: 18px;
    line-height: 62px;
  }

  .mobile-hero-photo {
    right: 0;
    width: min(82vw, 350px);
  }
}

@media (max-width: 380px) {
  .mobile-hero {
    min-height: min(236vw, 860px);
    padding-top: 210px;
  }

  .mobile-hero h1 {
    font-size: 32px;
  }

  .mobile-hero-subtitle {
    font-size: 19px;
  }

  .mobile-hero-lead {
    font-size: 17px;
  }

  .mobile-hero-photo {
    right: 0;
    width: 83vw;
  }
}

@media (max-width: 1180px) {
  .mobile-hero-photo {
    right: -16vw;
    width: min(107vw, 455px);
  }

  #about .about-copy h2 {
    font-size: clamp(25px, 6.5vw, 31px);
    line-height: 1.2;
  }

  .about-copy h3 {
    font-size: clamp(18px, 4.65vw, 22px);
  }

  .about-copy p {
    font-size: clamp(16px, 4.15vw, 19px);
    line-height: 1.52;
  }

  #services .section-heading h2,
  .telegram-section h2,
  .qualification-heading h2,
  .certificates-heading h2,
  .contact-section .section-heading h2 {
    font-size: clamp(31px, 7.8vw, 38px);
    line-height: 1.14;
  }

  .service-card h3 {
    font-size: clamp(21px, 5.4vw, 26px);
  }

  .service-card p {
    font-size: clamp(16px, 4.1vw, 20px);
  }

  .qualification-mobile summary {
    font-size: clamp(16px, 4.1vw, 19px);
  }

  .qualification-mobile p,
  .telegram-post p,
  .telegram-post .telegram-date,
  .form-note {
    font-size: clamp(14px, 3.6vw, 17px);
    line-height: 1.5;
  }

  .contact-large,
  #contact .contact-large,
  #contact .contact-large span,
  #contact .contact-large a {
    font-size: clamp(27px, 6.8vw, 33px);
    line-height: 1.2;
  }
}

@media (max-width: 380px) {
  .mobile-hero-photo {
    right: -18vw;
    width: 108vw;
  }
}

@media (max-width: 1180px) {
  .mobile-hero-photo {
    right: 0;
    width: auto;
    height: min(223vw, 950px);
    max-width: none;
  }

  .mobile-hero-subtitle {
    max-width: 330px;
    white-space: nowrap;
  }

  .mobile-hero-lead {
    max-width: none;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .mobile-hero-photo {
    right: 0;
    width: auto;
    height: min(223vw, 860px);
  }
}

@media (max-width: 1180px) {
  .mobile-hero h1 {
    font-size: clamp(38px, 9.75vw, 46px);
  }

  .mobile-hero-subtitle {
    font-size: clamp(22px, 5.75vw, 27px);
  }

  .mobile-hero-lead {
    font-size: clamp(20px, 5.2vw, 25px);
  }

  .mobile-hero .button {
    min-width: 184px;
    min-height: 68px;
    font-size: 20px;
    line-height: 68px;
  }
}

@media (max-width: 380px) {
  .mobile-hero h1 {
    font-size: 36px;
  }

  .mobile-hero-subtitle {
    font-size: 21px;
  }

  .mobile-hero-lead {
    font-size: 19px;
  }

  .mobile-hero .button {
    min-width: 174px;
    min-height: 64px;
    font-size: 19px;
    line-height: 64px;
  }
}

@media (max-width: 1180px) {
  .service-card {
    min-height: min(92vw, 390px);
    padding: 42px 24px;
  }

  .service-card-inner {
    justify-content: center;
    min-height: min(54vw, 230px);
  }

  #services .section-heading h2,
  .qualification-heading h2,
  .certificates-heading h2,
  .telegram-section h2,
  .contact-section .section-heading h2 {
    font-size: clamp(35px, 8.8vw, 43px);
    line-height: 1.12;
  }

  .service-card h3 {
    font-size: clamp(24px, 6.1vw, 30px);
    line-height: 1.12;
  }

  .service-card p {
    font-size: clamp(18px, 4.65vw, 22px);
    line-height: 1.35;
  }

  .service-card a {
    min-width: 176px;
    min-height: 52px;
    font-size: 16px;
    line-height: 52px;
  }

  .qualification-mobile {
    max-width: min(92vw, 410px);
  }

  .qualification-mobile summary {
    padding: 22px 0;
    font-size: clamp(19px, 4.85vw, 23px);
  }

  .qualification-mobile p {
    font-size: clamp(17px, 4.35vw, 20px);
    line-height: 1.48;
  }

  .telegram-section {
    padding: 54px 14px;
  }

  .telegram-grid {
    gap: 22px;
  }

  .telegram-post {
    display: grid;
    grid-template-columns: minmax(84px, 25vw) minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    width: 100%;
    min-height: 0;
  }

  .telegram-post img {
    width: min(25vw, 108px);
    height: min(25vw, 108px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .telegram-post div {
    min-width: 0;
    padding: 0;
  }

  .telegram-post time {
    margin-bottom: 7px;
    font-size: clamp(12px, 3.1vw, 15px);
  }

  .telegram-post p {
    font-size: clamp(15px, 3.85vw, 18px);
    line-height: 1.42;
  }

  .telegram-handle {
    font-size: clamp(20px, 5.1vw, 24px);
  }

  .telegram-subscribe {
    font-size: clamp(16px, 4.1vw, 19px);
  }

  .certificates-heading h2 {
    font-size: clamp(32px, 8.1vw, 39px);
  }

  .contact-section {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .lead-form input {
    min-height: 58px;
    font-size: 18px;
  }

  .lead-form .button {
    min-height: 58px;
    font-size: 17px;
    line-height: 58px;
  }

  .form-note {
    font-size: clamp(15px, 3.85vw, 18px);
    line-height: 1.48;
  }

  .contact-large,
  #contact .contact-large,
  #contact .contact-large span,
  #contact .contact-large a {
    font-size: clamp(30px, 7.6vw, 37px);
    line-height: 1.18;
  }
}

@media (max-width: 380px) {
  .service-card {
    min-height: 350px;
  }

  .telegram-post {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .telegram-post img {
    width: 92px;
    height: 92px;
  }
}

@media (max-width: 1180px) {
  #about .about-copy h2 {
    font-size: clamp(34px, 8.6vw, 42px);
    line-height: 1.16;
  }

  .about-copy h3 {
    font-size: clamp(23px, 5.8vw, 28px);
    line-height: 1.18;
  }

  .about-copy p {
    font-size: clamp(20px, 5.05vw, 24px);
    line-height: 1.45;
  }
}

@media (max-width: 380px) {
  #about .about-copy h2 {
    font-size: 31px;
  }

  .about-copy h3 {
    font-size: 22px;
  }

  .about-copy p {
    font-size: 19px;
  }
}

@media (max-width: 1180px) {
  .service-card h3 {
    font-size: clamp(29px, 7.2vw, 35px);
    line-height: 1.08;
  }

  .service-card p {
    font-size: clamp(22px, 5.45vw, 26px);
    line-height: 1.32;
  }

  .service-card a {
    min-width: 204px;
    min-height: 60px;
    font-size: 20px;
    line-height: 60px;
  }

  .qualification-mobile summary {
    font-size: clamp(24px, 5.95vw, 29px);
    line-height: 1.16;
  }

  .qualification-mobile summary::after {
    font-size: 34px;
  }

  .qualification-mobile p {
    font-size: clamp(20px, 5vw, 24px);
    line-height: 1.46;
  }

  .telegram-post {
    grid-template-columns: minmax(124px, 34vw) minmax(0, 1fr);
    gap: 10px;
  }

  .telegram-post img {
    width: min(34vw, 148px);
    height: min(34vw, 148px);
  }

  .telegram-post time {
    font-size: clamp(15px, 3.75vw, 18px);
  }

  .telegram-post p {
    font-size: clamp(19px, 4.7vw, 23px);
    line-height: 1.38;
  }

  .telegram-overlay-panel {
    width: min(92vw, 720px);
  }

  .telegram-overlay-text {
    font-size: clamp(21px, 5.2vw, 26px);
    line-height: 1.5;
  }
}

@media (max-width: 380px) {
  .service-card h3 {
    font-size: 27px;
  }

  .service-card p {
    font-size: 21px;
  }

  .service-card a {
    min-width: 190px;
    font-size: 19px;
  }

  .qualification-mobile summary {
    font-size: 22px;
  }

  .qualification-mobile p {
    font-size: 19px;
  }

  .telegram-post {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px;
  }

  .telegram-post img {
    width: 120px;
    height: 120px;
  }

  .telegram-post p {
    font-size: 18px;
  }

  .telegram-overlay-text {
    font-size: 20px;
  }
}

@media (max-width: 1180px) {
  .qualification-section {
    padding-right: 6px;
    padding-left: 6px;
  }

  .qualification-mobile {
    width: calc(100vw - 12px);
    max-width: none;
  }

  .telegram-grid {
    gap: 24px;
  }

  .telegram-post {
    grid-template-columns: minmax(150px, 42vw) minmax(0, 1fr);
    gap: 8px;
  }

  .telegram-post img {
    width: min(42vw, 184px);
    height: min(42vw, 184px);
  }

  .telegram-post time {
    font-size: clamp(16px, 4vw, 19px);
  }

  .telegram-post p {
    font-size: clamp(21px, 5.25vw, 25px);
    line-height: 1.34;
  }

  .contact-section .section-heading h2 {
    font-size: clamp(39px, 9.8vw, 48px);
  }

  .lead-form input {
    min-height: 68px;
    font-size: 22px;
  }

  .lead-form .button {
    min-height: 68px;
    font-size: 21px;
    line-height: 68px;
  }

  .form-note {
    font-size: clamp(18px, 4.55vw, 22px);
    line-height: 1.45;
  }

  .contact-large,
  #contact .contact-large,
  #contact .contact-large span,
  #contact .contact-large a {
    font-size: clamp(36px, 9vw, 44px);
    line-height: 1.14;
  }
}

@media (max-width: 380px) {
  .qualification-section {
    padding-right: 4px;
    padding-left: 4px;
  }

  .qualification-mobile {
    width: calc(100vw - 8px);
  }

  .telegram-post {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 8px;
  }

  .telegram-post img {
    width: 150px;
    height: 150px;
  }

  .telegram-post p {
    font-size: 20px;
  }

  .lead-form input {
    min-height: 64px;
    font-size: 20px;
  }

  .lead-form .button {
    min-height: 64px;
    font-size: 20px;
    line-height: 64px;
  }

  .form-note {
    font-size: 17px;
  }

  .contact-large,
  #contact .contact-large,
  #contact .contact-large span,
  #contact .contact-large a {
    font-size: 32px;
  }
}

@media (max-width: 1180px) {
  .telegram-grid {
    gap: 14px;
  }

  .telegram-post {
    grid-template-columns: min(46vw, 210px) minmax(0, 1fr);
    gap: 8px;
  }

  .telegram-post img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
}

@media (max-width: 380px) {
  .telegram-grid {
    gap: 12px;
  }

  .telegram-post {
    grid-template-columns: min(46vw, 174px) minmax(0, 1fr);
    gap: 7px;
  }

  .telegram-post img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 1180px) {
  .telegram-post {
    gap: min(11.5vw, 52px);
  }

  .lead-form input {
    min-height: 76px;
    font-size: 26px;
  }

  .lead-form .button {
    min-height: 76px;
    font-size: 25px;
    line-height: 76px;
  }

  .contact-large span,
  .contact-large a {
    display: block;
  }
}

@media (max-width: 380px) {
  .telegram-post {
    gap: 38px;
  }

  .lead-form input {
    min-height: 72px;
    font-size: 24px;
  }

  .lead-form .button {
    min-height: 72px;
    font-size: 23px;
    line-height: 72px;
  }
}
