:root {
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-blue: #0058A9;
  --color-orange: #F7921E;
  --color-text: #000000;
  --color-text-muted: rgba(0, 0, 0, 0.68);
  --color-border: rgba(0, 0, 0, 0.14);
  --color-bg: #FFFFFF;
  --color-bg-soft: #F5F6F7;
  --color-footer: #0058A9;
  --color-error: #B42318;
  --blue: var(--color-blue);
  --blue-dark: color-mix(in srgb, var(--color-blue) 86%, var(--color-black));
  --dark: var(--color-text);
  --muted: var(--color-text-muted);
  --orange: var(--color-orange);
  --surface: var(--color-bg-soft);
  --border: var(--color-border);
  --footer: var(--color-footer);
  --footer-muted: rgba(255, 255, 255, 0.78);
  --brand-pattern:
    linear-gradient(135deg, rgba(0, 88, 169, 0.07) 1px, transparent 1px),
    linear-gradient(45deg, rgba(247, 146, 30, 0.045) 1px, transparent 1px);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  appearance: none;
}

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

.container {
  width: min(100% - 70px, 1180px);
  margin: 0 auto;
}

.site-header {
  height: 86px;
  background: var(--color-white);
  border-bottom: 2px solid var(--orange);
}

.header__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
}

.header__logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  display: block;
  width: 340px;
  max-width: 340px;
  height: auto;
  object-fit: contain;
}

.logo--footer {
  width: 220px;
  max-width: 100%;
  height: auto;
}

.header__nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 48px;
  color: var(--dark);
  font-size: 15px;
  font-weight: 700;
}

.header__nav a {
  transition: color 0.15s ease;
}

.header__nav a:hover {
  color: var(--orange);
}

.header__logo-link:focus-visible,
.header__nav a:focus-visible,
.header__mobile-toggle:focus-visible,
.header__mobile-nav a:focus-visible,
.button:focus-visible,
.cookie-banner__button:focus-visible,
.section-card__button:focus-visible,
.contact-card:focus-visible,
.request-consent input:focus-visible,
.request-form__submit:focus-visible,
.request-form__callback:focus-visible,
.header__callback:focus-visible,
.callback-form__submit:focus-visible,
.callback-modal__close:focus-visible,
.upload-zone:focus-within,
.upload-zone__remove:focus-visible,
.footer__logo-button:focus-visible,
.footer__column a:focus-visible,
.footer__link-button:focus-visible,
.footer__socials a:focus-visible,
.footer__socials button:focus-visible,
.footer__bottom a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.header__mobile-toggle,
.header__mobile-nav {
  display: none;
}

.header__mobile-toggle {
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--blue);
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.header__mobile-nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  width: min(250px, calc(100vw - 32px));
  padding: 10px;
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 42, 68, 0.12);
}

.header__mobile-nav a {
  display: block;
  padding: 12px 14px;
  color: var(--dark);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
}

.header__mobile-nav a:hover {
  color: var(--orange);
  background: var(--surface);
}

.header__contact-block {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 7px;
}

.header__contact {
  display: inline-flex;
  align-items: flex-start;
  gap: 13px;
  color: var(--blue);
}

.header__phone-icon {
  flex: 0 0 auto;
  margin-top: 1px;
}

.header__phone {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.header__time {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
}

.header__callback {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--color-black);
  background: var(--orange);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  transition:
    background-color 0.15s ease,
    transform 0.15s ease;
}

.header__callback:hover {
  background: color-mix(in srgb, var(--orange) 88%, var(--color-black));
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 83% 24%, rgba(247, 146, 30, 0.14), transparent 26%),
    radial-gradient(circle at 52% 18%, rgba(0, 88, 169, 0.12), transparent 32%),
    var(--color-white);
  border-bottom: 1px solid var(--border);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: '';
  background-image: var(--brand-pattern);
  background-size: 34px 34px;
  opacity: 0.42;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(470px, 1fr);
  gap: 24px;
  min-height: 610px;
  padding: 40px 0 35px;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 610px;
  margin: 0;
  color: var(--dark);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero__title-line {
  white-space: normal;
}

.hero__subtitle {
  max-width: 545px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 31px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 64px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 0.15s ease,
    background-color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.button:disabled,
.request-form__submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.button svg {
  flex: 0 0 auto;
}

.button--primary {
  min-width: 178px;
  color: var(--color-white);
  background: var(--blue);
  border-color: var(--blue);
}

.button--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button--outline-blue {
  min-width: 194px;
  color: var(--blue);
  background: var(--color-white);
  border-color: var(--blue);
}

.button--outline-blue:hover {
  color: var(--color-white);
  background: var(--blue);
}

.button--outline-orange {
  min-width: 178px;
  color: var(--orange);
  background: var(--color-white);
  border-color: var(--orange);
}

.button--outline-orange:hover {
  color: var(--color-black);
  background: var(--orange);
}

.hero__benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  max-width: 650px;
  margin-top: 47px;
}

.hero-benefit {
  min-width: 0;
}

.hero-benefit svg {
  margin-bottom: 15px;
  color: var(--blue);
}

.hero-benefit h3 {
  margin: 0;
  color: var(--dark);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.hero-benefit p {
  margin: 7px 0 0;
  color: var(--dark);
  font-size: 13px;
  line-height: 1.4;
}

.hero__visual {
  position: relative;
  z-index: 1;
  justify-self: end;
  align-self: start;
  width: 650px;
  margin-top: -40px;
  margin-right: calc((1180px - 100vw) / 2);
}

.hero__image {
  width: 650px;
  max-width: none;
}

.section {
  scroll-margin-top: 104px;
  border-bottom: 1px solid var(--border);
  background: var(--color-white);
}

.hero,
.footer {
  scroll-margin-top: 104px;
}

.section-title {
  margin: 0 0 28px;
  color: var(--dark);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.section-lead {
  max-width: 900px;
  margin: -14px 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.supply-section {
  padding: 34px 0 32px;
}

.solutions-section,
.company-section,
.useful-section,
.contacts-section {
  padding: 32px 0;
}

.solutions-section,
.company-section,
.useful-section {
  background-image: var(--brand-pattern);
  background-size: 32px 32px;
  background-color: var(--color-white);
}

.section-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.section-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-card {
  min-width: 0;
  min-height: 158px;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.15s ease;
}

.section-card svg {
  color: var(--blue);
}

.section-card:hover {
  border-color: rgba(0, 88, 169, 0.42);
}

.section-card h3 {
  max-width: 100%;
  margin: 18px 0 0;
  color: var(--dark);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
}

.section-card p {
  max-width: 100%;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: normal;
}

.section-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.section-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 18px;
  padding: 0 16px;
  color: var(--blue);
  background: var(--color-white);
  border: 1px solid var(--blue);
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.section-card__button:hover {
  color: var(--color-white);
  background: var(--blue);
}

.section-card__button--orange {
  color: var(--orange);
  border-color: var(--orange);
}

.section-card__button--orange:hover {
  color: var(--color-black);
  background: var(--orange);
}

.supply-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 16px 18px;
}

.supply-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  height: 100%;
  min-height: 146px;
  padding: 18px 20px;
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.supply-card:hover,
.supply-card:focus-visible {
  border-color: var(--orange);
  outline: none;
}

.supply-card__image {
  width: 108px;
  max-width: 100%;
  height: 98px;
  object-fit: contain;
  justify-self: center;
}

.supply-card__content {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.supply-card__title {
  max-width: 100%;
  margin: 0;
  color: var(--dark);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.24;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.supply-card__arrow {
  display: inline-block;
  margin-top: 17px;
  color: var(--orange);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.benefits-section {
  padding: 32px 0 30px;
  background: var(--surface);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
  min-height: 150px;
  padding: 27px 24px 23px;
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.benefit-card svg {
  flex: 0 0 auto;
  color: var(--blue);
}

.benefit-card > div {
  min-width: 0;
}

.benefit-card h3 {
  max-width: 100%;
  margin: 0;
  color: var(--dark);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.benefit-card p {
  max-width: 100%;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.brands-section {
  padding: 20px 0 28px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 70px;
  padding: 13px 20px;
  color: var(--blue);
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.brand-card:hover,
.brand-card:focus-visible {
  border-color: var(--orange);
  outline: none;
}

.brand-card[aria-pressed='true'] {
  border-color: var(--blue);
  background: rgba(0, 88, 169, 0.04);
}

.brand-card__logo {
  display: block;
  width: 100%;
  max-width: 132px;
  max-height: 40px;
  object-fit: contain;
}

.brand-card__logo--klemsan {
  max-width: 138px;
  max-height: 32px;
}

.brand-card__logo--tblock {
  max-width: 124px;
  max-height: 31px;
}

.brand-card__logo--chint {
  max-width: 88px;
  max-height: 43px;
}

.brand-card__logo--eti {
  max-width: 82px;
  max-height: 44px;
}

.brand-card__logo--meanwell {
  max-width: 92px;
  max-height: 42px;
}

.brand-card__logo--shenler {
  max-width: 128px;
  max-height: 28px;
}

.brand-detail {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  min-width: 0;
  margin-top: 22px;
  padding: 24px;
  background:
    radial-gradient(circle at 96% 0%, rgba(247, 146, 30, 0.16), transparent 26%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.brand-detail__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.brand-detail__content h3,
.brand-detail__content h4 {
  max-width: 100%;
  margin: 0;
  color: var(--dark);
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.brand-detail__content h3 {
  font-size: 24px;
}

.brand-detail__content h4 {
  margin-top: 16px;
  font-size: 16px;
}

.brand-detail__content p {
  max-width: 100%;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.brand-detail__content ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--dark);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.brand-detail__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.company-intro {
  max-width: 980px;
  margin: -10px 0 24px;
}

.company-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.company-intro p + p {
  margin-top: 12px;
}

.useful-card {
  scroll-margin-top: 104px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 150px;
  padding: 24px;
  color: var(--dark);
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

a.contact-card {
  cursor: pointer;
}

.contact-card svg {
  color: var(--blue);
}

.contact-card__label {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.contact-card__value {
  max-width: 100%;
  margin-top: 7px;
  color: var(--dark);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: normal;
}

.request-section {
  padding: 20px 0 32px;
}

.request-section .section-title {
  margin-bottom: 18px;
}

.request-section .section-lead {
  margin-top: -8px;
  margin-bottom: 18px;
}

.request-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 560px) 300px;
  gap: 24px;
  align-items: stretch;
}

.request-info-card {
  min-height: 230px;
  padding: 30px 24px 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(247, 146, 30, 0.12), transparent 30%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.request-info-card svg {
  color: var(--blue);
}

.request-info-card p {
  margin: 23px 0 0;
  color: var(--dark);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.request-form {
  display: grid;
  gap: 12px;
  align-content: start;
}

.request-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.request-form input:not([type='checkbox']),
.request-form textarea {
  width: 100%;
  color: var(--dark);
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  outline: none;
}

.request-form input:not([type='checkbox']) {
  height: 42px;
  padding: 0 16px;
}

.request-form textarea {
  min-height: 104px;
  padding: 14px 16px;
  resize: vertical;
}

.request-form input:not([type='checkbox'])::placeholder,
.request-form textarea::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.request-form input:not([type='checkbox']):focus,
.request-form textarea:focus {
  border-color: var(--blue);
}

.request-form input[aria-invalid='true']:not([type='checkbox']),
.request-form textarea[aria-invalid='true'],
.callback-form input[aria-invalid='true']:not([type='checkbox']),
.callback-form textarea[aria-invalid='true'] {
  border-color: var(--color-error);
}

.form-message {
  margin: -2px 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.field-error {
  margin: -4px 0 0;
  color: var(--color-error);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.form-message--error {
  color: var(--color-error);
}

.form-message--success {
  color: var(--blue);
}

.form-message--info {
  color: var(--blue);
}

.request-consents {
  display: grid;
  gap: 8px;
  margin: 2px 0 4px;
}

.request-consent {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}

.request-consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: var(--blue);
  cursor: pointer;
}

.request-consent span {
  min-width: 0;
}

.request-consent a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.request-consent a:hover {
  color: var(--orange);
}

.request-consent__error {
  margin: -2px 0 0 25px;
}

.request-form__actions {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 10px;
  margin-top: 4px;
}

.request-form__submit,
.request-form__callback,
.callback-form__submit {
  width: 100%;
  min-height: 56px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.request-form__submit,
.callback-form__submit {
  color: var(--color-black);
  background: var(--orange);
  border: 0;
  font-size: 21px;
}

.request-form__callback {
  color: var(--blue);
  background: var(--color-white);
  border: 1px solid var(--blue);
  padding: 0 14px;
  font-size: 14px;
  line-height: 1.15;
}

.request-form__submit:hover:not(:disabled),
.callback-form__submit:hover:not(:disabled) {
  background: color-mix(in srgb, var(--orange) 88%, var(--color-black));
}

.request-form__callback:hover:not(:disabled) {
  color: var(--color-white);
  background: var(--blue);
}

.upload-zone {
  display: flex;
  min-height: 255px;
  padding: 31px 22px 25px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  background:
    var(--brand-pattern),
    var(--color-white);
  background-size: 30px 30px;
  border: 2px dashed var(--blue);
  border-radius: 8px;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

.upload-zone--active {
  background-color: rgba(0, 88, 169, 0.07);
  border-color: var(--blue);
}

.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.upload-zone svg {
  color: var(--blue);
}

.upload-zone__title {
  display: block;
  margin-top: 15px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.upload-zone__text {
  display: block;
  max-width: 210px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.upload-zone__divider {
  display: block;
  width: 100%;
  max-width: 210px;
  height: 1px;
  margin: 17px 0 14px;
  background: var(--border);
}

.upload-zone__remove {
  margin-top: 10px;
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.upload-zone__remove:hover {
  color: var(--orange);
}

.upload-zone__meta {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.upload-zone__warning {
  max-width: 238px;
  margin: 10px 0 0;
  color: rgba(0, 0, 0, 0.58);
  font-size: 12px;
  line-height: 1.35;
}

.callback-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.42);
}

.callback-modal__panel {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 30px;
  color: var(--dark);
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.callback-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
}

.callback-modal h2 {
  margin: 0;
  padding-right: 42px;
  font-size: 30px;
  line-height: 1.15;
}

.callback-modal__lead {
  margin: 10px 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.callback-form {
  display: grid;
  gap: 12px;
}

.callback-form input:not([type='checkbox']),
.callback-form textarea {
  width: 100%;
  color: var(--dark);
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  outline: none;
}

.callback-form input:not([type='checkbox']) {
  height: 42px;
  padding: 0 16px;
}

.callback-form textarea {
  min-height: 92px;
  padding: 14px 16px;
  resize: vertical;
}

.callback-form input:not([type='checkbox']):focus,
.callback-form textarea:focus {
  border-color: var(--blue);
}

.callback-form__consents {
  margin-top: 0;
}

.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding: 16px;
  pointer-events: none;
}

.cookie-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 16px 18px;
  color: var(--dark);
  background: var(--color-white);
  border: 1px solid #DADADA;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  pointer-events: auto;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.cookie-banner a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.cookie-banner a:hover {
  color: var(--orange);
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
}

.cookie-banner__button {
  min-height: 38px;
  padding: 0 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.cookie-banner__button--accept {
  color: var(--color-black);
  background: var(--orange);
  border: 1px solid var(--orange);
}

.cookie-banner__button--decline {
  color: var(--blue);
  background: var(--color-white);
  border: 1px solid var(--blue);
}

.footer {
  color: var(--color-white);
  background:
    radial-gradient(circle at 90% 20%, rgba(247, 146, 30, 0.26), transparent 28%),
    var(--brand-pattern),
    var(--footer);
  background-size: auto, 36px 36px, auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.35fr 1.25fr 0.85fr 1fr 1.1fr;
  gap: 44px;
  padding: 34px 0 31px;
}

.footer__brand p,
.footer__column p {
  margin: 18px 0 0;
  color: var(--color-white);
  font-size: 14px;
  line-height: 1.55;
}

.footer__brand p + p {
  margin-top: 14px;
}

.footer__logo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  background: var(--color-white);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__column h3 {
  margin: 0 0 17px;
  color: var(--color-white);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.footer__column a,
.footer__link-button,
.footer__contact-line {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 11px;
  color: var(--color-white);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
}

.footer__contact-line svg {
  flex: 0 0 auto;
  color: var(--orange);
}

span.footer__contact-line {
  cursor: default;
}

.footer__work p {
  margin-top: 1px;
  line-height: 1.55;
}

.footer__socials {
  display: flex;
  gap: 11px;
  margin-top: 18px;
}

.footer__socials a,
.footer__socials button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  color: var(--color-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  cursor: pointer;
}

.footer__column a:hover,
.footer__link-button:hover,
.footer__bottom a:hover {
  color: var(--orange);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 55px;
  color: var(--color-white);
  font-size: 13px;
  line-height: 1.3;
}

.footer__documents {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px 14px;
  max-width: 760px;
  font-size: 12px;
}

.footer__documents a {
  color: var(--color-white);
  opacity: 0.9;
}

@media (min-width: 641px) {
  .hero__title-line {
    white-space: nowrap;
  }
}

@media (max-width: 1180px) {
  .hero__inner {
    grid-template-columns: minmax(0, 500px) minmax(390px, 1fr);
    gap: 10px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero__visual {
    width: 560px;
    margin-right: 0;
  }

  .hero__image {
    width: 560px;
  }

  .hero__actions {
    flex-wrap: wrap;
  }

  .benefit-card {
    padding: 24px 18px;
  }

  .request-grid {
    grid-template-columns: 245px minmax(0, 1fr) 280px;
    gap: 18px;
  }

  .footer__top {
    gap: 28px;
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(100% - 48px, 960px);
  }

  .header__nav {
    gap: 28px;
  }

  .header__phone {
    font-size: 18px;
  }

  .hero__inner {
    min-height: 590px;
    grid-template-columns: minmax(0, 470px) minmax(360px, 1fr);
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero__subtitle {
    font-size: 17px;
  }

  .button {
    min-height: 58px;
    font-size: 15px;
  }

  .hero__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 420px;
    gap: 22px 30px;
  }

  .hero__visual {
    width: 500px;
    margin-top: -18px;
  }

  .hero__image {
    width: 500px;
  }

  .supply-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .supply-card {
    grid-template-columns: 104px minmax(0, 1fr);
    column-gap: 14px;
  }

  .supply-card__image {
    width: 104px;
  }

  .supply-card__title {
    font-size: 18px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-card-grid,
  .section-card-grid--four,
  .contacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .request-grid {
    grid-template-columns: 1fr 1.6fr;
  }

  .upload-zone {
    grid-column: 1 / -1;
    min-height: 210px;
  }

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

@media (max-width: 840px) {
  .site-header {
    height: 78px;
  }

  .header__inner {
    grid-template-columns: auto 1fr auto auto;
    gap: 14px;
    justify-content: initial;
  }

  .header__nav {
    display: none;
  }

  .header__contact-block {
    grid-column: 3;
    justify-self: end;
  }

  .header__mobile-toggle {
    display: inline-flex;
    grid-column: 4;
    justify-self: end;
  }

  .header__mobile-nav--open {
    display: block;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 34px 0 36px;
  }

  .hero h1 {
    max-width: 640px;
  }

  .hero__subtitle {
    max-width: 620px;
  }

  .hero__visual {
    justify-self: center;
    width: min(100%, 590px);
    margin: 0;
  }

  .hero__image {
    width: 100%;
    max-width: 590px;
  }

  .supply-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-grid {
    grid-template-columns: 1fr;
  }

  .request-info-card {
    min-height: 0;
  }

  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .cookie-banner {
    padding: 10px;
  }

  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__button {
    flex: 1;
  }

  .request-form__actions {
    grid-template-columns: 1fr;
  }

  .callback-modal {
    padding: 14px;
  }

  .callback-modal__panel {
    padding: 24px 18px;
  }

  .callback-modal h2 {
    font-size: 25px;
  }

  .logo {
    width: 240px;
    max-width: 100%;
    height: auto;
  }

  .logo--footer {
    width: 210px;
    max-width: 100%;
    height: auto;
  }

  .header__contact-block {
    gap: 8px;
  }

  .header__callback {
    min-height: 23px;
    padding: 0 9px;
    font-size: 11px;
  }

  .header__phone {
    font-size: 15px;
  }

  .header__time {
    margin-top: 5px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__subtitle br {
    display: none;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .hero__benefits {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .section-title {
    font-size: 28px;
  }

  .supply-grid,
  .benefits-grid,
  .brands-grid,
  .section-card-grid,
  .section-card-grid--four,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .brand-detail {
    grid-template-columns: 1fr;
  }

  .brand-detail__logo {
    min-height: 96px;
  }

  .brand-detail__content ul {
    grid-template-columns: 1fr;
  }

  .section-actions,
  .brand-detail__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .section-card__button {
    width: 100%;
  }

  .supply-grid {
    grid-template-columns: 1fr;
  }

  .supply-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .brand-card {
    min-height: 62px;
    font-size: 20px;
  }

  .request-form__row {
    grid-template-columns: 1fr;
  }

  .request-form__submit {
    font-size: 18px;
  }

  .footer__top,
  .footer__bottom-inner {
    grid-template-columns: 1fr;
  }

  .footer__top {
    display: grid;
  }

  .footer__bottom-inner {
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    flex-direction: column;
    min-height: 108px;
  }

  .footer__documents {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .footer__documents {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    height: 74px;
  }

  .logo {
    width: 150px;
    max-width: 100%;
    height: auto;
  }

  .logo--footer {
    width: 190px;
    max-width: 100%;
    height: auto;
  }

  .header__inner {
    gap: 6px;
  }

  .header__contact-block {
    gap: 5px;
    max-width: 124px;
  }

  .header__mobile-toggle {
    width: 34px;
    height: 34px;
  }

  .header__phone-icon {
    display: none;
  }

  .header__phone {
    font-size: 13px;
    white-space: nowrap;
  }

  .header__time {
    display: none;
  }

  .header__callback {
    width: 100%;
    min-height: 28px;
    padding: 0 6px;
    font-size: 10px;
    line-height: 1.1;
    white-space: normal;
  }

  .hero__inner {
    padding-top: 26px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .supply-card {
    grid-template-columns: 100px minmax(0, 1fr);
    min-height: 130px;
    padding: 14px;
    column-gap: 14px;
  }

  .supply-card__image {
    width: 96px;
    height: 82px;
  }

  .supply-card__title {
    font-size: 17px;
  }

  .benefit-card {
    gap: 16px;
  }
}
