:root {
  --bg: #f3efe7;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #fffdf8;
  --surface-dark: #15191c;
  --text: #15191c;
  --muted: #5c646b;
  --line: rgba(21, 25, 28, 0.1);
  --accent: #d96f18;
  --accent-strong: #b85305;
  --accent-soft: rgba(217, 111, 24, 0.14);
  --success: #2f7b4f;
  --shadow: 0 24px 80px rgba(16, 18, 20, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100vw - 32px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 201, 120, 0.35), transparent 30%),
    radial-gradient(circle at right 20%, rgba(96, 137, 109, 0.22), transparent 26%),
    linear-gradient(180deg, #f8f3ea 0%, #f1ece3 100%);
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.6;
  min-width: 320px;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(21, 25, 28, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(217, 111, 24, 0.48);
  box-shadow: 0 0 0 4px rgba(217, 111, 24, 0.1);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(248, 243, 234, 0.78);
  border-bottom: 1px solid rgba(21, 25, 28, 0.08);
}

.header-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 130px;
  height: auto;
}

.brand-copy {
  display: none;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong,
.brand-copy span {
  font-size: 0.8rem;
}

.brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 12px 16px;
  min-width: 0;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

.header-contacts {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  flex-wrap: nowrap;
}

.header-contacts__items {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(21, 25, 28, 0.08);
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.header-contacts__items a {
  white-space: nowrap;
}

.header-contacts__items a + a {
  position: relative;
  padding-left: 18px;
}

.header-contacts__items a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 18px;
  background: rgba(21, 25, 28, 0.12);
  transform: translateY(-50%);
}

.header-contacts__items a:hover {
  color: var(--accent-strong);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 20px rgba(16, 18, 20, 0.08);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.page-hero,
.hero {
  padding: 72px 0 44px;
}

.hero {
  position: relative;
}

.hero-grid,
.split-grid,
.contact-grid,
.company-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 25, 28, 0.08);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59b3b, #d96f18);
  box-shadow: 0 0 0 6px rgba(217, 111, 24, 0.12);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  line-height: 1.02;
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.95rem, 3.6vw, 3.1rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

p {
  margin: 0;
  line-height: 1.74;
}

.lead {
  font-size: 1.04rem;
  line-height: 1.82;
  color: var(--muted);
  max-width: 62ch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, #ef8b2d, #c95c08);
  color: #fff;
  box-shadow: 0 18px 42px rgba(201, 92, 8, 0.25);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  border: 1px solid rgba(21, 25, 28, 0.08);
}

.button--sm {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.88rem;
}

.hero-points,
.badge-list,
.feature-list,
.legal-list,
.timeline,
.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.hero-points li,
.feature-list li,
.legal-list li,
.timeline li {
  position: relative;
  padding-left: 18px;
  line-height: 1.72;
}

.hero-points li::before,
.feature-list li::before,
.legal-list li::before,
.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.hero-card,
.panel,
.stat-card,
.product-card,
.info-card,
.article-card,
.legal-card,
.quote-card,
.contact-card,
.news-block,
.map-card {
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-card {
  overflow: hidden;
  position: absolute;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card--main {
  inset: 0 10% 12% 0;
}

.hero-card--accent {
  width: 240px;
  height: 280px;
  right: 0;
  top: 8%;
}

.hero-card--mini {
  width: 290px;
  height: auto;
  left: 8%;
  bottom: 0;
  padding: 20px;
  background: rgba(21, 25, 28, 0.88);
  color: #fff;
}

.hero-card--mini strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  line-height: 1;
}

.hero-card--mini span {
  color: rgba(255, 255, 255, 0.76);
}

.section {
  padding: 44px 0;
}

.section-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  max-width: 860px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-strong);
  font-weight: 700;
  white-space: nowrap;
}

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

.stat-card {
  padding: 24px;
}

.stat-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.product-grid,
.card-grid,
.article-grid,
.contact-list,
.news-grid {
  display: grid;
  gap: 18px;
}

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

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

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

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

.product-card,
.info-card,
.article-card,
.contact-card,
.news-block,
.legal-card {
  overflow: hidden;
}

.product-card img,
.article-card img,
.news-block img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.product-card__body,
.info-card__body,
.article-card__body,
.contact-card__body,
.news-block__body,
.legal-card__body {
  padding: 22px;
}

.product-card__body,
.article-card__body,
.news-block__body,
.info-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 700;
}

.feature-list,
.legal-list,
.timeline {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.split-grid {
  align-items: stretch;
}

.panel {
  padding: 28px;
}

.panel--dark {
  background:
    linear-gradient(180deg, rgba(19, 23, 25, 0.96), rgba(27, 33, 36, 0.98)),
    #15191c;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.panel--dark .lead,
.panel--dark .feature-list,
.panel--dark .timeline,
.panel--dark .muted {
  color: rgba(255, 255, 255, 0.74);
}

.panel--accent {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 36%),
    linear-gradient(135deg, #d96f18, #aa4c00);
  color: #fff;
}

.panel--accent .lead,
.panel--accent .muted {
  color: rgba(255, 255, 255, 0.82);
}

.panel--accent .field label,
.panel--accent .checkbox,
.panel--dark .field label,
.panel--dark .checkbox {
  color: rgba(255, 255, 255, 0.86);
}

.panel-stack {
  display: grid;
  gap: 18px;
}

.quote-card {
  padding: 28px;
  background: rgba(255, 250, 242, 0.88);
}

.quote-card strong {
  display: block;
  margin-bottom: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
}

.company-grid,
.contact-grid {
  align-items: start;
}

.page-hero {
  padding-top: 68px;
}

.page-hero__panel {
  padding: 28px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.94rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumb span::after {
  content: "/";
  margin-left: 8px;
}

.breadcrumb span,
.breadcrumb a {
  white-space: nowrap;
}

.breadcrumb span:last-child::after {
  display: none;
}

.media-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.media-card img {
  aspect-ratio: 4 / 3.5;
  object-fit: cover;
  width: 100%;
}

.contact-card__body strong,
.legal-card__body strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.map-card {
  overflow: hidden;
}

.map-card iframe,
.map-card script {
  display: block;
  width: 100%;
}

.map-card--placeholder {
  display: grid;
  min-height: 425px;
  place-items: center;
  background:
    linear-gradient(rgba(255, 253, 248, 0.86), rgba(255, 253, 248, 0.86)),
    repeating-linear-gradient(45deg, rgba(21, 25, 28, 0.06) 0 1px, transparent 1px 16px);
}

.map-card__content {
  display: grid;
  gap: 14px;
  width: min(100% - 40px, 360px);
  text-align: center;
  justify-items: center;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq details {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 25, 28, 0.08);
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
}

.faq p {
  margin-top: 10px;
  color: var(--muted);
}

.call-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(21, 25, 28, 0.1);
}

.call-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef8b2d, #c95c08);
  color: #fff;
  box-shadow: 0 16px 34px rgba(201, 92, 8, 0.28);
  animation: call-pulse 1.8s ease-in-out infinite;
}

.call-card__icon::before {
  content: "\260E";
  font-size: 1.75rem;
  line-height: 1;
  animation: call-ring 1.2s ease-in-out infinite;
  transform-origin: 50% 55%;
}

.call-card__body {
  display: grid;
  gap: 8px;
}

.call-card__title {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.call-card__phone {
  display: inline-flex;
  width: fit-content;
  color: var(--accent-strong);
  font-size: 1.18rem;
  font-weight: 800;
}

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

.panel--accent .call-card {
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

@keyframes call-ring {
  0%,
  100% {
    transform: rotate(0deg);
  }

  15% {
    transform: rotate(-15deg);
  }

  30% {
    transform: rotate(12deg);
  }

  45% {
    transform: rotate(-9deg);
  }

  60% {
    transform: rotate(6deg);
  }
}

@keyframes call-pulse {
  0%,
  100% {
    box-shadow: 0 16px 34px rgba(201, 92, 8, 0.28), 0 0 0 0 rgba(217, 111, 24, 0.22);
  }

  50% {
    box-shadow: 0 16px 34px rgba(201, 92, 8, 0.28), 0 0 0 12px rgba(217, 111, 24, 0);
  }
}

.form-panel {
  display: grid;
  gap: 16px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field label,
.checkbox {
  font-size: 0.94rem;
  color: var(--muted);
}

.checkbox {
  display: flex;
  align-items: start;
  gap: 10px;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-status {
  min-height: 24px;
  font-size: 0.94rem;
  font-weight: 600;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: #a33d2d;
}

.cta-band {
  position: relative;
}

.cta-band .panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.legal-layout {
  display: grid;
  gap: 18px;
}

.legal-card__body {
  display: grid;
  gap: 14px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.article-content,
.article-sidebar {
  display: grid;
  gap: 18px;
}

.article-content .panel,
.article-sidebar .panel {
  display: grid;
  gap: 16px;
}

.article-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
}

.article-content h3 {
  font-size: 1.1rem;
}

.article-content p,
.article-sidebar p,
.article-content li,
.article-sidebar li {
  color: var(--muted);
}

.article-content ul,
.article-sidebar ul {
  margin: 0;
  padding-left: 20px;
}

.site-footer {
  padding: 54px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 20px;
}

.footer-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(21, 25, 28, 0.08);
}

.footer-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid rgba(21, 25, 28, 0.08);
  color: var(--muted);
  font-size: 0.94rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(16, 18, 20, 0.58);
  backdrop-filter: blur(12px);
  z-index: 80;
}

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

.modal__dialog {
  width: min(100%, 580px);
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  position: relative;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(21, 25, 28, 0.06);
  font-size: 1.4rem;
  line-height: 1;
}

.modal__content {
  display: grid;
  gap: 16px;
}

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

.spacer-top {
  margin-top: 12px;
}

.cookie-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(720px, calc(100vw - 48px));
  padding: 20px;
  border: 1px solid rgba(21, 25, 28, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 20px 70px rgba(16, 18, 20, 0.2);
}

.cookie-consent__text {
  display: grid;
  gap: 6px;
}

.cookie-consent__text strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
}

.cookie-consent__text p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.62;
}

.cookie-consent__text a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

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

  .site-nav {
    justify-content: flex-end;
    gap: 10px 14px;
  }
}

@media (max-width: 1100px) {
  .header-row {
    grid-template-columns: auto 1fr;
  }

  .header-contacts {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: space-between;
  }

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

  .card-grid,
  .article-grid,
  .news-grid,
  .footer-grid,
  .stats,
  .contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
    order: 3;
    margin-left: 0;
  }

  .header-row {
    display: flex;
    min-height: 74px;
    gap: 10px;
  }

  .brand {
    margin-right: auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: auto;
    width: min(340px, calc(100vw - 32px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255, 253, 248, 0.98);
    box-shadow: var(--shadow);
    border: 1px solid rgba(21, 25, 28, 0.08);
  }

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

  .hero-grid,
  .split-grid,
  .contact-grid,
  .company-grid,
  .cta-band .panel {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 470px;
  }

  .header-contacts {
    order: 2;
    justify-self: auto;
    justify-content: flex-end;
    gap: 8px;
  }

  .header-contacts .button,
  .header-contacts .button--sm {
    width: auto;
    min-height: 42px;
    padding: 0 14px;
  }
}

@media (max-width: 720px) {
  .hero,
  .page-hero {
    padding-top: 38px;
  }

  .hero-card--accent {
    width: 180px;
    height: 200px;
  }

  .hero-card--mini {
    width: 210px;
  }

  .form-grid,
  .stats,
  .card-grid,
  .article-grid,
  .news-grid,
  .contact-list,
  .footer-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .button,
  .button--sm {
    width: 100%;
  }

  .header-contacts .button,
  .header-contacts .button--sm {
    width: auto;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
  }

  .call-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .cookie-consent {
    grid-template-columns: 1fr;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    padding: 16px;
  }

  .cookie-consent__actions {
    justify-content: stretch;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100vw - 20px, 100%);
  }

  .brand img {
    width: 130px;
  }

  h1 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-card--mini {
    width: 170px;
    padding: 16px;
  }

  .hero-card--mini strong {
    font-size: 1.9rem;
  }

  .panel,
  .product-card__body,
  .info-card__body,
  .article-card__body,
  .contact-card__body,
  .news-block__body,
  .legal-card__body,
  .footer-card,
  .modal__dialog,
  .page-hero__panel {
    padding: 20px;
  }
}
