@font-face {
  font-family: "BahnschriftLocal";
  src: url("../fonts/bahnschrift.woff2") format("woff2"), url("../fonts/bahnschrift.woff") format("woff");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "VeraCrouzLocal";
  src: url("../fonts/VeraCrouz.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #eaf5ff;
  --surface: #f8fcff;
  --surface-soft: #e1effc;
  --text: #183265;
  --muted: #516886;
  --line: rgba(28, 57, 112, .14);
  --blue: #293f98;
  --blue-dark: #183265;
  --cyan: #28bfd7;
  --teal: #55c9c2;
  --green: #36b64d;
  --purple: #9266aa;
  --purple-dark: #69498d;
  --red: #e22931;
  --red-dark: #bf151a;
  --shadow: 0 24px 62px rgba(28, 57, 112, .14);
  --shadow-card: 10px 14px 0 rgba(88, 75, 150, .13), 0 24px 54px rgba(28, 57, 112, .1);
  --radius-xl: 42px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --section-gap: 70px;
  --section-pad: calc(var(--section-gap) / 2);
  --font-body: "Golos Text", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: "Montserrat", "Golos Text", BahnschriftLocal, Arial, sans-serif;
  --font-accent: "VeraCrouzLocal", "Georgia", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 12% 16%, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, 0) 32%),
    radial-gradient(ellipse at 86% 24%, rgba(255, 255, 255, .58) 0%, rgba(255, 255, 255, 0) 35%),
    linear-gradient(180deg, #edf8ff 0%, #e3f1ff 42%, #f7fbff 100%);
  overflow-x: hidden;
  font-feature-settings: "liga" 1, "kern" 1;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  z-index: 0;
  pointer-events: none;
}


body::after {
  bottom: -112px;
  height: 236px;
  background: linear-gradient(96deg, #35b84d 0%, #79ca90 18%, #28bfd7 48%, #3651a4 74%, #8b61a7 100%);
  border-radius: 56% 44% 0 0 / 78% 54% 0 0;
  box-shadow: 0 -24px 0 rgba(76, 68, 151, .11);
  opacity: .34;
}

body>* {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 70px 0;
}

.intro {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(10px);
}

.intro__grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 54px;
  align-items: start;
}

h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.1vw, 40px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 760;
}

.intro p,
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 34px;
}

.section-head h2 {
  margin: 0 0 12px;
}

.catalog {
  background: linear-gradient(180deg, rgba(255, 255, 255, .88) 0%, rgba(245, 247, 251, .86) 100%);
  backdrop-filter: blur(10px);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.cards-grid:last-child {
  margin-bottom: 0;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(17, 24, 39, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 65px rgba(17, 24, 39, .14);
}

.service-card>img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.service-card__body {
  padding: 22px;
}

.badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(227, 30, 36, .1);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.service-card h3 {
  margin: 16px 0 14px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.14;
  letter-spacing: -.04em;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  margin: 10px 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.45;
}

.service-card li:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 0;
  top: .55em;
}

.link-btn {
  margin-top: 18px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.025em;
}

.link-btn:after {
  content: " →";
  color: var(--red);
}

.advantages {
  background: var(--blue-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

// .advantages:before {
//   content: "";
//   position: absolute;
//   inset: -30% 55% auto -15%;
//   height: 500px;
//   background: radial-gradient(circle, rgba(227, 30, 36, .38), transparent 70%);
// }

.section-head--light .section-kicker {
  color: #ff8b8f;
}

.advantages__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.advantages__grid article {
  min-height: 210px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: #0e347e;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .18);
}

.advantages__grid img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  opacity: .78;
  transition: transform .3s ease, opacity .3s ease;
}

.advantages__grid article:hover img {
  transform: scale(1.06);
  opacity: .92;
}

.advantages__grid h3 {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.12;
  letter-spacing: -.04em;
  text-shadow: 0 6px 22px rgba(0, 0, 0, .5);
}

.steps {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.steps__grid article {
  position: relative;
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, #f8faff);
  text-align: center;
  box-shadow: 0 18px 40px rgba(17, 24, 39, .06);
}

.steps__grid span {
  position: absolute;
  left: 16px;
  top: 14px;
  color: rgba(23, 70, 162, .18);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
}

.steps__grid img {
  height: 54px;
  width: 54px;
  margin: 12px auto 14px;
}

.steps__grid h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: -.035em;
}

.steps__grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.contacts-section {
  position: relative;
  min-height: 560px;
  background: rgba(219, 228, 243, .9);
}

.map-box,
.map-box iframe {
  width: 100%;
  min-height: 560px;
  display: block;
  border: 0;
}

.contacts-card-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.contacts-card {
  pointer-events: auto;
  width: min(430px, 100%);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .8);
}

.contacts-card h2 {
  margin-bottom: 16px;
}

.contacts-card p {
  color: var(--muted);
  line-height: 1.55;
}

.contact-phone,
.contact-email {
  display: block;
  margin: 10px 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--blue);
}

.worktime {
  margin-bottom: 24px;
}

.footer {
  padding: 54px 0;
  background: #081b44;
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.footer__logo {
  width: 210px;
  margin-bottom: 16px;
}

.footer p {
  color: rgba(255, 255, 255, .72);
  line-height: 1.55;
}

.footer nav,
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer a {
  color: rgba(255, 255, 255, .78);
}

.footer a:hover {
  color: #fff;
}

.footer h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  letter-spacing: -.035em;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 27, 68, .68);
  backdrop-filter: blur(8px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  background: #fff;
  border-radius: 30px;
  padding: 36px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .26);
}

.modal__close {
  position: absolute;
  right: 18px;
  top: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f1f4f9;
  font-size: 28px;
  line-height: 1;
  color: var(--text);
}

.modal h2 {
  font-size: 34px;
  margin: 0 0 10px;
  font-family: var(--font-display);
  letter-spacing: -.045em;
}

.modal p {
  color: var(--muted);
  line-height: 1.55;
}

form {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  background: #f8faff;
  outline: none;
  transition: .2s ease;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(23, 70, 162, .45);
  box-shadow: 0 0 0 4px rgba(23, 70, 162, .12);
  background: #fff;
}

@media (max-width: 1080px) {

  .intro__grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .cards-grid,
  .advantages__grid,
  .steps__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  h2 {
    font-size: 28px;
  }

  .contacts-card-wrap {
    position: relative;
    display: block;
    padding: 0 0 24px;
    margin-top: -80px;
  }

  .contacts-card {
    margin: 0 auto;
    width: calc(100% - 28px);
    padding: 26px;
  }

  .map-box,
  .map-box iframe {
    min-height: 420px;
  }

  .modal__dialog {
    padding: 28px 22px;
    border-radius: 24px;
  }
}

.site-header {
  position: static;
  overflow: visible;
}

.site-header::before {
  content: none;
}

.header-top {
  min-height: 136px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 14px 0 10px;
}

.logo img {
  width: 198px;
  height: auto;
}

.header-contacts {
  display: grid;
  grid-template-columns: 1.45fr 1.28fr 1.02fr;
  gap: 24px;
  align-items: center;
}

.header-contact {
  min-height: 76px;
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.35;
}

.header-contact--phones {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 7px;
  align-items: baseline;
  font-size: 20px;
}

.header-contact--phones a {
  white-space: nowrap;
}

.header-contact--phones span {
  grid-row: 1 / 3;
  color: var(--red);
  font-weight: 800;
}

.header-contact--mail,
.header-contact--address {
  position: relative;
  padding-left: 24px;
}

.header-contact--mail::before,
.header-contact--address::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: rgba(36, 139, 210, .22);
}

.header-contact--mail>a {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 20px;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.header-contact--address p {
  margin: 0 0 8px;
  font-size: 17px;
}

.socials {
  display: flex;
  gap: 14px;
  align-items: center;
}

.socials img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 8px 13px rgba(28, 57, 112, .16));
}

.header__inner {
  position: relative;
  z-index: 20;
  height: auto;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #33499a 0%, #2f75b4 44%, #25bed8 100%);
  box-shadow: 0 24px 44px rgba(36, 88, 163, .18);
}

.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  padding: 0;
  background: transparent;
}

.main-nav a {
  padding: 10px 2px;
  color: #fff;
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.main-nav a:hover {
  background: transparent;
  color: #fff;
  box-shadow: none;
  text-shadow: 0 0 18px rgba(255, 255, 255, .7);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, .94);
  background: linear-gradient(180deg, #b98ace 0%, var(--purple) 56%, #815ca1 100%);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 16px 28px rgba(95, 66, 133, .22), 0 0 0 8px rgba(38, 191, 211, .18);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(95, 66, 133, .3), 0 0 0 8px rgba(38, 191, 211, .24);
}

.btn--small {
  min-width: 220px;
  padding: 11px 24px;
  font-size: 18px;
}

.btn--ghost {
  background: rgba(255, 255, 255, .9);
  color: var(--blue);
  border-color: rgba(43, 86, 164, .16);
  box-shadow: 0 14px 34px rgba(28, 57, 112, .12);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent;
  border-radius: 50%;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background: #fff;
  margin: 5px auto;
  border-radius: 3px;
}

.eyebrow,
.section-kicker {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .05em;
}

.section {
  position: relative;
  overflow: hidden;
}

// .section::before {
//   content: "";
//   position: absolute;
//   left: -9%;
//   right: -9%;
//   top: -118px;
//   height: 195px;
//   background: linear-gradient(96deg, rgba(75, 69, 157, .13), rgba(40, 191, 215, .14));
//   border-radius: 0 0 56% 44% / 0 0 86% 62%;
//   pointer-events: none;
// }

.section>.container {
  position: relative;
  z-index: 1;
}

.intro,
.catalog,
.steps {
  background: rgba(242, 249, 255, .78);
  backdrop-filter: blur(10px);
}

h2 {
  color: var(--blue-dark);
  font-family: var(--font-display);
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro p,
.section-head p {
  color: var(--muted);
}

.section-head {
  max-width: 840px;
}

.catalog {
  background: linear-gradient(180deg, rgba(250, 253, 255, .82) 0%, rgba(226, 241, 252, .8) 100%);
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 26px 26px 46px 26px;
  box-shadow: var(--shadow-card);
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
  z-index: 1;
}

.service-card:hover {
  box-shadow: 12px 16px 0 rgba(88, 75, 150, .16), 0 28px 64px rgba(28, 57, 112, .15);
}

.service-card>img {
  height: 198px;
}

.badge {
  background: rgba(40, 191, 215, .13);
  color: var(--blue);
  border: 1px solid rgba(40, 191, 215, .24);
  font-family: var(--font-display);
  letter-spacing: 0;
}

.service-card h3 {
  color: var(--blue-dark);
  font-family: var(--font-display);
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-card li {
  color: var(--muted);
}

.service-card li::before {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(54, 182, 77, .13);
}

.link-btn {
  color: var(--purple-dark);
  letter-spacing: 0;
}

.link-btn::after {
  color: var(--cyan);
}

.advantages {
  color: var(--text);
  background: linear-gradient(180deg, rgba(225, 241, 253, .94), rgba(248, 252, 255, .88));
}

.section-head--light .section-kicker {
  color: var(--red);
}

.section-head--light h2,
.section-head--light p {
  color: var(--blue-dark);
}

.advantages__grid article {
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 26px 26px 46px 26px;
  box-shadow: var(--shadow-card);
}

.advantages__grid img {
  opacity: .88;
}

.advantages__grid h3 {
  left: 18px;
  right: 18px;
  bottom: 16px;
  width: fit-content;
  max-width: calc(100% - 36px);
  padding: 11px 16px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, .88);
  border-radius: 999px;
  text-shadow: none;
  letter-spacing: 0;
}

.steps__grid article {
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 42px 26px 42px 26px;
  background:
    radial-gradient(circle at 78% 18%, rgba(54, 182, 77, .12), transparent 23%),
    rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-card);
}

.steps__grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  left: 18px;
  top: 18px;
  color: #fff;
  background: linear-gradient(180deg, #2e78c5, var(--blue));
  border: 3px solid rgba(54, 182, 77, .74);
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(28, 57, 112, .18);
  font-size: 19px;
  letter-spacing: 0;
}

.steps__grid h3 {
  color: var(--blue-dark);
  letter-spacing: 0;
  text-transform: uppercase;
}

.contacts-section {
  min-height: auto;
  padding: 78px 0;
  background:
    linear-gradient(180deg, rgba(250, 253, 255, .74), rgba(225, 241, 253, .84)),
    var(--surface-soft);
  overflow: hidden;
}

.map-box {
  width: min(1200px, calc(100% - 48px));
  min-height: 460px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 56px 56px 72px 56px;
  box-shadow: 0 30px 80px rgba(28, 57, 112, .16);
}

.map-box iframe {
  min-height: 460px;
}

.contacts-card {
  border-radius: 42px 28px 42px 28px;
  box-shadow: var(--shadow-card);
}

.contact-phone,
.contact-email {
  color: var(--blue);
  letter-spacing: 0;
}

.footer {
  position: relative;
  overflow: hidden;
  padding: 78px 0 48px;
  background: #dfeefa;
  color: var(--blue-dark);
}

.footer::before,
.footer::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  pointer-events: none;
}

.footer::before {
  top: 0;
  height: 60px;
  background: linear-gradient(96deg, #4b459d 0%, #8660a9 34%, #36c5cd 72%, #3189cf 100%);
  border-radius: 0 0 58% 42% / 0 0 86% 54%;
  box-shadow: 0 24px 0 rgba(138, 104, 176, .14);
}

.footer::after {
  bottom: -60px;
  height: 100px;
  background: linear-gradient(96deg, #36b84d 0%, #72c78b 18%, #28bfd7 46%, #3651a4 72%, #8b61a7 100%);
  border-radius: 58% 42% 0 0 / 86% 54% 0 0;
}

.footer__grid {
  position: relative;
  z-index: 1;
}

.footer__logo {
  width: 200px;
}

.footer p,
.footer a {
  color: var(--blue-dark);
}

.footer nav,
.footer__contacts {
  gap: 14px;
}

.footer a {
  font-size: 17px;
  font-weight: 600;
}

.footer a:hover {
  color: var(--blue);
}

.footer h3 {
  width: fit-content;
  color: var(--blue-dark);
  font-size: 22px;
  letter-spacing: 0;
  text-transform: uppercase;
  border-bottom: 5px solid var(--blue-dark);
}

.footer .footer__to-top {
  position: absolute;
  left: max(24px, calc((100% - 1200px) / 2));
  top: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 13px 28px;
  color: #118bd1;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  text-decoration: none;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 28px;
  box-shadow: 0 14px 28px rgba(31, 66, 130, .12);
}

.footer .footer__to-top:hover {
  color: var(--blue-dark);
  transform: translateY(-1px);
}

.footer__to-top-icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  border: 3px solid currentColor;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .92);
}

.footer__to-top-icon::before,
.footer__to-top-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.footer__to-top-icon::before {
  top: 6px;
  width: 9px;
  height: 9px;
  border-left: 3px solid currentColor;
  border-top: 3px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

.footer__to-top-icon::after {
  top: 9px;
  width: 3px;
  height: 11px;
  border-radius: 999px;
  background: currentColor;
}

.modal__overlay {
  background: rgba(24, 50, 101, .68);
}

.modal__dialog {
  background: rgba(248, 252, 255, .98);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
}

input,
textarea {
  border-color: rgba(28, 57, 112, .16);
  background: rgba(255, 255, 255, .82);
}

@media (max-width: 1080px) {
  .container {
    width: min(100% - 36px, 1200px);
  }

  .header-top {
    min-height: auto;
    grid-template-columns: 170px 1fr;
    gap: 18px;
    padding: 12px 0 9px;
  }

  .logo img {
    width: 158px;
  }

  .header-contacts {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .header-contact {
    min-height: auto;
  }

  .header-contact--phones {
    font-size: 16px;
  }

  .header-contact--mail>a {
    font-size: 17px;
    margin-bottom: 10px;
  }

  .header-contact--address {
    display: none;
  }

  .socials img {
    width: 30px;
    height: 30px;
  }

  .header__inner {
    position: relative;
    min-height: 60px;
    margin-bottom: 10px;
    padding: 8px 12px;
    flex-wrap: wrap;
    background: transparent;
    box-shadow: none;
    row-gap: 0;
  }

  .header__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 60px;
    z-index: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #33499a 0%, #2f75b4 44%, #25bed8 100%);
    box-shadow: 0 24px 44px rgba(36, 88, 163, .18);
    pointer-events: none;
  }

  .menu-toggle,
  .header__actions,
  .main-nav {
    position: relative;
    z-index: 1;
  }

  .menu-toggle {
    display: inline-block;
    order: 1;
  }

  .header__actions {
    order: 2;
  }

  .main-nav {
    order: 3;
    position: static;
    flex: 0 0 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    margin-top: 8px;
    padding: 14px;
    border-radius: 28px;
    background: linear-gradient(135deg, #33499a, #25bed8);
    box-shadow: var(--shadow);
    gap: 4px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 9px 12px;
    font-size: 16px;
    text-align: center;
  }

  .btn--small {
    min-width: 168px;
    padding: 10px 16px;
    font-size: 15px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1200px);
  }

  body::before {
    top: -150px;
  }

  .header-top {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
    padding: 8px 0 6px;
  }

  .logo img {
    width: 124px;
  }

  .header-contacts {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .header-contact--phones {
    display: flex;
    min-height: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
    font-size: 13px;
  }

  .header-contact--phones span {
    grid-row: auto;
  }

  .header-contact--mail {
    display: none;
  }

  .header__inner {
    min-height: 54px;
    margin-bottom: 10px;
    padding: 6px 8px;
  }

  .header__inner::before {
    height: 54px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .menu-toggle span {
    width: 24px;
    height: 3px;
    margin: 4px auto;
  }

  .main-nav {
    margin-top: 7px;
    padding: 10px;
    border-radius: 24px;
  }

  .btn--small {
    display: inline-flex;
    min-width: 0;
    padding: 8px 12px;
    font-size: 13px;
    box-shadow: 0 12px 24px rgba(95, 66, 133, .22);
  }

  .service-card,
  .advantages__grid article,
  .steps__grid article,
  .contacts-card {
    border-radius: 30px 22px 36px 22px;
  }

  .map-box {
    width: min(100% - 28px, 1200px);
    min-height: 360px;
    border-radius: 34px;
  }

  .map-box iframe {
    min-height: 360px;
  }

  .footer {
    padding: 58px 0 36px;
  }

  .footer__logo {
    width: 132px;
  }

  .footer a {
    font-size: 13px;
  }
}

.hero {
  padding: 24px 0 54px;
  background: linear-gradient(180deg, rgba(239, 249, 255, .72), rgba(225, 241, 253, .64));
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: none;
}

.hero__frame {
  position: relative;
  min-height: clamp(460px, 38vw, 590px);
  overflow: hidden;
  isolation: isolate;
  border: 14px solid rgba(255, 255, 255, .78);
  border-radius: 0 0 96px 0;
  background: #dfeefa;
  box-shadow: 0 30px 75px rgba(28, 57, 112, .14);
}

.hero__frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  height: 22%;
  background: linear-gradient(180deg, rgba(224, 240, 253, 0), rgba(224, 240, 253, .68));
  pointer-events: none;
}

.hero__slider,
.hero__slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.hero__slider {
  z-index: 0;
  background: #dfeefa;
  transform: translateZ(0);
}

.hero__slide {
  opacity: 0;
  transition: opacity .58s ease;
  transform: translateZ(0);
  will-change: opacity;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: inherit;
}

.hero__arrow {
  position: absolute;
  top: 56%;
  z-index: 4;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(185, 138, 206, .92), rgba(129, 92, 161, .94));
  color: #fff;
  box-shadow: 0 16px 34px rgba(28, 57, 112, .22), 0 0 0 8px rgba(38, 191, 211, .16);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.hero__arrow:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 18px 40px rgba(28, 57, 112, .26), 0 0 0 8px rgba(38, 191, 211, .22);
}

.hero__arrow--prev {
  left: 22px;
}

.hero__arrow--next {
  right: 22px;
}

.hero__overlay {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: min(82%, 990px);
  min-height: 32%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 2.4vw, 34px) clamp(28px, 3.4vw, 48px) clamp(22px, 2.4vw, 32px);
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, .86) 0%, rgba(245, 246, 248, .72) 62%, rgba(232, 235, 240, .64) 100%);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 0 0 64% 34px / 0 0 100% 34px;
  box-shadow: 28px 28px 70px rgba(28, 57, 112, .13);
  backdrop-filter: blur(8px) saturate(112%);
}

.hero .eyebrow {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: clamp(19px, 1.85vw, 27px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: none;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  color: #4b459d;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.05vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__lead {
  width: fit-content;
  margin: clamp(14px, 1.75vw, 22px) 0 0;
  color: #32a84f;
  font-family: var(--font-accent);
  font-size: clamp(36px, 3.55vw, 52px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: 0;
  transform: rotate(-1.7deg);
  border-bottom: 4px solid currentColor;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .hero {
    padding: 22px 0 50px;
  }

  .hero__frame {
    min-height: 500px;
    border-width: 12px;
    border-radius: 0 0 72px 0;
  }

  .hero__overlay {
    width: 90%;
    min-height: 34%;
    padding: 26px 24px 28px;
  }

  .hero .eyebrow {
    font-size: clamp(21px, 2.8vw, 29px);
  }

  .hero h1 {
    font-size: clamp(28px, 4vw, 40px);
  }

  .hero__lead {
    font-size: clamp(34px, 4.6vw, 48px);
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 16px 0 40px;
  }

  .hero__frame {
    min-height: 420px;
    border-width: 10px;
    border-radius: 0 0 46px 0;
  }

  .hero__image {
    object-position: center bottom;
  }

  .hero__arrow {
    top: auto;
    bottom: 18px;
    width: 40px;
    height: 40px;
    border-width: 2px;
    font-size: 18px;
    box-shadow: 0 12px 24px rgba(28, 57, 112, .2), 0 0 0 6px rgba(38, 191, 211, .14);
  }

  .hero__arrow--prev {
    left: 22px;
  }

  .hero__arrow--next {
    right: 22px;
  }

  .hero__overlay {
    width: 100%;
    min-height: 220px;
    padding: 20px 14px 22px;
    border-radius: 0 0 44px 44px / 0 0 56px 56px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .9) 0%, rgba(245, 246, 248, .76) 68%, rgba(232, 235, 240, .68) 100%);
  }

  .hero .eyebrow {
    font-size: clamp(14px, 4.1vw, 18px);
  }

  .hero h1 {
    font-size: clamp(22px, 6.6vw, 28px);
    line-height: 1.1;
  }

  .hero__lead {
    margin-top: 14px;
    font-size: clamp(28px, 8vw, 34px);
    border-bottom-width: 3px;
  }
}

.service-card {
  --card-image-h: 210px;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 26px 26px 46px 26px;
  box-shadow: var(--shadow-card);
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
  z-index: 3;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 12px 16px 0 rgba(88, 75, 150, .16), 0 28px 64px rgba(28, 57, 112, .15);
}

.service-card>img {
  width: 100%;
  height: var(--card-image-h);
  border-radius: 0;
  object-fit: cover;
}

.service-card__body {
  padding: 22px 20px 24px;
  text-align: left;
}

.service-card .badge {
  position: absolute;
  top: 16px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(40, 191, 215, .3);
  border-radius: 999px;
  background: rgba(232, 250, 255, .94);
  color: var(--blue);
  box-shadow: 0 10px 22px rgba(28, 57, 112, .12);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.service-card .link-btn {
  position: absolute;
  top: calc(var(--card-image-h) - 54px);
  left: 18px;
  z-index: 4;
  min-height: 40px;
  margin: 0;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #b98ace 0%, var(--purple) 58%, #805ba0 100%);
  color: #fff;
  box-shadow: 0 14px 26px rgba(95, 66, 133, .24);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.service-card .link-btn::after {
  content: "";
}

.service-card h3 {
  margin: 14px 0 12px;
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.14;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
}

.service-card h3::after {
  content: none;
}

.service-card ul {
  max-width: none;
  margin: 0;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  margin: 8px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
}

.service-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  position: absolute;
  left: 0;
  top: .55em;
  box-shadow: 0 0 0 3px rgba(54, 182, 77, .13);
}

@media (max-width: 1080px) {
  .service-card {
    --card-image-h: 220px;
  }
}

@media (max-width: 720px) {
  .service-card {
    --card-image-h: 198px;
    border-radius: 30px 22px 36px 22px;
  }

  .service-card .badge {
    top: 18px;
    right: 14px;
    max-width: calc(100% - 28px);
    font-size: 12px;
  }

  .service-card .link-btn {
    top: calc(var(--card-image-h) - 52px);
    left: 16px;
    min-height: 38px;
    padding: 9px 16px;
  }

  .service-card__body {
    padding: 20px 20px 24px;
  }
}

@media (max-width: 720px) {
  .footer {
    padding: 58px 0 36px;
  }

  .footer::before {
    height: 36px;
    box-shadow: 0 12px 0 rgba(138, 104, 176, .1);
  }

  .footer::after {
    bottom: -42px;
    height: 68px;
  }

  .footer .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
  }

  .footer .footer__grid>div:first-child {
    grid-column: 1 / -1;
    display: block;
  }

  .footer .footer__logo {
    flex: 0 0 auto;
    width: 104px;
    margin: 0;
  }

  .footer p {
    display: none;
  }

  .footer nav,
  .footer .footer__contacts {
    gap: 8px;
  }

  .footer a {
    font-size: 13px;
    line-height: 1.24;
    font-weight: 700;
  }

  .footer .footer__contacts {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    padding-top: 2px;
  }

  .footer .footer__contacts h3 {
    grid-column: 1 / -1;
    margin: 0 0 2px;
    font-size: 19px;
    border-bottom-width: 3px;
  }

  .footer .footer__contacts a {
    font-size: 14px;
  }

  .footer .footer__contacts a[href^="mailto"] {
    grid-column: 1 / -1;
  }
}

@media (max-width: 360px) {
  .footer {
    padding-top: 54px;
  }

  .footer .footer__grid {
    gap: 16px 12px;
  }

  .footer .footer__logo {
    width: 90px;
  }

  .footer a {
    font-size: 12px;
  }

  .footer .footer__contacts a {
    font-size: 13px;
  }
}

.main-nav a[aria-current="page"] {
  text-shadow: 0 0 18px rgba(255, 255, 255, .72);
}

.page--urgent main {
  background:
    radial-gradient(ellipse at 8% 18%, rgba(255, 255, 255, .72), transparent 30%),
    radial-gradient(ellipse at 92% 44%, rgba(255, 255, 255, .58), transparent 34%);
}

.urgent-hero {
  padding: 24px 0 44px;
}

.urgent-hero__frame {
  position: relative;
  min-height: clamp(390px, 34vw, 520px);
  overflow: hidden;
  border: 14px solid rgba(255, 255, 255, .78);
  border-radius: 0 0 96px 0;
  background: #dfeefa;
  box-shadow: 0 30px 75px rgba(28, 57, 112, .14);
}

.urgent-hero__frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 26%;
  background: linear-gradient(180deg, rgba(224, 240, 253, 0), rgba(224, 240, 253, .76));
  pointer-events: none;
}

.urgent-hero__frame>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.urgent-hero__panel {
  position: relative;
  z-index: 2;
  width: min(74%, 820px);
  min-height: 34%;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(255, 255, 255, .9) 0%, rgba(245, 246, 248, .76) 62%, rgba(232, 235, 240, .68) 100%);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 0 0 64% 34px / 0 0 100% 34px;
  box-shadow: 28px 28px 70px rgba(28, 57, 112, .13);
  backdrop-filter: blur(8px) saturate(112%);
}

.urgent-hero__panel .eyebrow {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: clamp(17px, 1.8vw, 26px);
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: none;
}

.urgent-hero__panel h1 {
  max-width: 740px;
  margin: 0;
  color: #4b459d;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 800;
  line-height: 1.04;
  text-transform: uppercase;
}

.urgent-hero__lead {
  max-width: 620px;
  margin: 14px 0 20px;
  color: var(--blue-dark);
  font-size: clamp(16px, 1.45vw, 21px);
  font-weight: 650;
  line-height: 1.45;
}

.urgent-intro,
.order-flow-section,
.price-section,
.fixings-section-modern,
.flag-types-section-modern,
.fabric-section-modern,
.size-section-modern,
.page2-gallery {
  position: relative;
  padding: 58px 0;
  overflow: hidden;
}

.urgent-intro {
  padding: 64px 0 72px;
}

.order-flow-section {
  padding: 60px 0 70px;
}

.fabric-section-modern,
.page2-gallery {
  background: rgba(250, 253, 255, .82);
  backdrop-filter: blur(10px);
}

.order-price-backdrop {
  position: relative;
  overflow: hidden;
  background: #eaf7ff url("../img/order-price-bg-1920.webp") top center / cover no-repeat;
}

.order-price-backdrop .order-flow-section,
.order-price-backdrop .page2-photo-band,
.order-price-backdrop .price-section {
  background: transparent;
  backdrop-filter: none;
}

.fixings-section-modern,
.size-section-modern {
  background: linear-gradient(180deg, rgba(226, 241, 252, .78), rgba(248, 252, 255, .9));
}

.urgent-intro .container {
  max-width: 1200px;
}

.order-flow-section .container {
  max-width: 1200px;
}

.urgent-intro__head {
  max-width: 880px;
  margin: 0 auto 22px;
  text-align: center;
}

.urgent-intro__head h2 {
  margin: 0 0 12px;
  color: #4b459d;
  font-size: clamp(30px, 4.1vw, 50px);
}

.urgent-intro__head p {
  margin: 6px 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 650;
  line-height: 1.45;
}

.urgent-intro__main {
  color: var(--text) !important;
  font-weight: 800 !important;
}

.urgent-tabs {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #33499a 0%, #2f75b4 44%, #25bed8 100%);
  box-shadow: 0 18px 38px rgba(36, 88, 163, .16);
  overflow-x: auto;
}

.urgent-tabs a {
  position: relative;
  flex: 1 0 auto;
  padding: 14px 16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.45vw, 22px);
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  border-radius: 999px;
}

.urgent-tabs a:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25%;
  right: 0;
  bottom: 25%;
  width: 2px;
  background: rgba(255, 255, 255, .28);
  border-radius: 999px;
}

.urgent-tabs a:hover {
  background: rgba(255, 255, 255, .14);
}

.panic-card {
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(28px, 3.5vw, 48px) 0 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.panic-card h3 {
  margin: 0 0 22px;
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
  text-align: center;
}

.panic-card p {
  margin: 18px 0 0;
  color: var(--text);
  font-size: clamp(15px, 1.45vw, 22px);
  font-weight: 600;
  line-height: 1.55;
}

.order-flow {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.24fr .92fr .78fr .78fr;
  grid-template-rows: 138px 126px;
  grid-template-areas:
    "contact info call call"
    "contact extra next final";
  gap: 14px;
  align-items: stretch;
}

.order-flow__card {
  position: relative;
  min-height: 0;
  padding: 18px 20px 18px;
  border-radius: 30px 54px 30px 54px / 30px 50px 30px 50px;
  background:
    radial-gradient(circle at 78% 18%, rgba(54, 182, 77, .12), transparent 25%),
    rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 10px 13px 0 rgba(85, 88, 150, .17), 0 22px 44px rgba(31, 66, 130, .08);
  overflow: hidden;
}

.order-flow__card--wide {
  grid-area: contact;
}

.order-flow__card--info {
  grid-area: info;
}

.order-flow__card--info-extra {
  grid-area: extra;
  padding-top: 20px;
}

.order-flow__card--call {
  grid-area: call;
}

.order-flow__card:nth-of-type(5) {
  grid-area: next;
}

.order-flow__card:nth-of-type(6) {
  grid-area: final;
}

.order-flow__num {
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #273476;
  background: radial-gradient(circle at 45% 40%, #fff 0 48%, #d9effb 49% 100%);
  border: 3px solid #35b54b;
  box-shadow: 0 0 0 2px #1bb2dc, 0 3px 7px rgba(29, 48, 108, .18);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  line-height: 1;
  z-index: 2;
}

.order-flow__card h3 {
  position: relative;
  z-index: 1;
  margin: 3px 0 12px 44px;
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 800;
  line-height: 1.08;
}

.order-flow__card p,
.order-flow__card li,
.order-flow__card a {
  position: relative;
  z-index: 1;
  color: var(--blue-dark);
  font-size: clamp(12px, .9vw, 14px);
  font-weight: 700;
  line-height: 1.42;
}

.order-flow__card p {
  position: relative;
  z-index: 1;
  margin: 7px 0;
}

.order-flow__card ol {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-left: 22px;
}

.order-flow__card--info h3 {
  margin-left: 0;
  text-align: center;
}

.order-flow__card--info .order-flow__num {
  left: auto;
  top: auto;
  right: 18px;
  bottom: 18px;
}

.order-flow__card--info ol {
  width: max-content;
  margin: 0 auto;
  padding-left: 0;
  list-style-position: inside;
}

.order-flow__card--info-extra ol {
  padding-left: 42px;
  line-height: 1.32;
}

.order-flow__card--call h3 {
  margin-left: 42px;
  margin-bottom: 8px;
  padding-right: 56px;
  text-align: center;
  font-size: clamp(18px, 1.35vw, 23px);
}

.order-flow__card--call p {
  margin: 6px 0 0;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.15;
}

.order-flow__card--call p:last-child {
  margin-top: 6px;
  padding-right: 28px;
  text-align: right;
}

.order-flow__card:nth-of-type(5) h3,
.order-flow__card:nth-of-type(6) h3 {
  margin-left: 42px;
  text-align: left;
}

.order-flow__card:nth-of-type(5) ol,
.order-flow__card:nth-of-type(6) ol {
  padding-left: 34px;
  text-align: center;
  list-style-position: inside;
}

.order-flow__mail small {
  display: block;
  margin-top: 2px;
  color: rgba(25, 54, 106, .74);
  font-size: .76em;
  line-height: 1.25;
}

.order-flow__card--wide .order-flow__mail {
  position: relative;
  z-index: 1;
  margin: 8px 0 24px;
  color: var(--blue-dark);
  font-size: clamp(13px, 1.12vw, 18px);
  font-weight: 600;
  line-height: 1.2;
}

.order-flow__card--wide .order-flow__mail a {
  font-size: inherit;
  font-weight: 600;
}

.order-flow__card--wide .order-flow__mail small {
  padding-left: 55%;
  font-size: .64em;
  font-weight: 600;
}

.order-flow__messengers {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.order-flow__messenger {
  display: grid;
  grid-template-columns: 24px 12px max-content;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--blue-dark);
  text-decoration: none;
}

.order-flow__messenger:nth-child(-n + 2) {
  margin-left: 31%;
}

.order-flow__messenger:nth-child(n + 3) {
  margin-left: 15%;
}

.order-flow__messenger img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.order-flow__messenger span,
.order-flow__messenger b {
  color: var(--blue-dark);
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 700;
  line-height: 1;
}

.order-flow__phones {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 34px;
  margin: 0 56px 8px 0;
}

.order-flow__phones a:first-child {
  color: #31b65a;
}

.order-flow__card--info::after,
.order-flow__card--info-extra::after {
  content: "";
  position: absolute;
  right: 12%;
  bottom: 12%;
  width: 54px;
  height: 76px;
  background: url("../img/order-footsteps.svg") center / contain no-repeat;
  opacity: .72;
  transform: rotate(-18deg);
  pointer-events: none;
}

.order-flow__card--info-extra::after {
  right: 5%;
  bottom: 4%;
  width: 66px;
  height: 70px;
  transform: rotate(16deg);
}

.order-flow__card--info-extra::before {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  background: url("../img/order-person.svg") center / contain no-repeat;
  z-index: 1;
  pointer-events: none;
}

.order-flow__card--call::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 20px;
  width: 38px;
  height: 98px;
  background: url("../img/order-phone-line.svg") center / contain no-repeat;
  opacity: .66;
  pointer-events: none;
}

.order-flow__action {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.page2-photo-band {
  padding: 38px 0;
}

.page2-photo-band img {
  width: min(900px, 100%);
  max-height: 390px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 36px 24px 58px 24px;
  box-shadow: var(--shadow-card);
}

.price-group {
  margin-top: 30px;
}

.price-group:first-of-type {
  margin-top: 0;
}

.price-group h3 {
  margin: 0 0 8px;
  color: #4b459d;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.65vw, 32px);
  text-align: center;
}

.price-group>p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  text-align: center;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  overflow: hidden;
  border-radius: 24px 24px 36px 24px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, .9);
}

.price-card h4 {
  min-height: 64px;
  margin: 0;
  padding: 14px 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(90deg, #33499a 0%, #2f75b4 44%, #25bed8 100%);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.28;
  text-align: center;
}

.price-card__rows {
  padding: 14px 13px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3px minmax(0, 1fr);
  gap: 0 9px;
  align-items: stretch;
  color: var(--blue-dark);
}

.price-card__col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 6px;
  align-content: start;
}

.price-card__divider {
  width: 3px;
  min-height: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, #65bdf2 0%, #1c78c8 50%, #65bdf2 100%);
}

.price-card__col span {
  color: var(--muted);
  min-width: 0;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.price-card__col b {
  font-family: var(--font-display);
  font-size: 12px;
  white-space: nowrap;
}

.price-card .btn {
  width: calc(100% - 28px);
  min-width: 0;
  margin: 0 14px 16px;
  padding: 9px 14px;
  font-size: 14px;
}

.fixings-layout {
  display: grid;
  gap: 32px;
}

.fixings-panel {
  display: grid;
  grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr);
  gap: clamp(26px, 3.2vw, 44px);
  align-items: start;
  padding: clamp(24px, 2.8vw, 36px);
  border-radius: 34px 24px 54px 24px;
  background: linear-gradient(180deg, rgba(137, 204, 248, .78), rgba(225, 244, 255, .72) 70%, rgba(255, 255, 255, .72));
  border: 1px solid rgba(255, 255, 255, .84);
  box-shadow: var(--shadow-card);
}

.fixings-panel--reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
}

.fixings-panel--reverse .fixings-image-grid {
  order: 2;
}

.fixings-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fixings-image-grid img {
  width: 100%;
  height: clamp(150px, 15vw, 190px);
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(98, 181, 238, .42);
  box-shadow: 0 14px 26px rgba(28, 57, 112, .08);
}

.fixings-text-list {
  display: grid;
  gap: clamp(13px, 1.55vw, 20px);
}

.fixings-text-list p {
  margin: 0;
  color: #4b459d;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.22vw, 18px);
  font-weight: 720;
  line-height: 1.52;
}

.fixings-text-list strong {
  font-weight: 850;
}

.large-fixings-section {
  position: relative;
  padding: clamp(54px, 5vw, 82px) 0 clamp(62px, 6vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 12% 8%, rgba(255, 255, 255, .8), transparent 34%),
    radial-gradient(ellipse at 90% 52%, rgba(255, 255, 255, .7), transparent 38%),
    linear-gradient(180deg, rgba(177, 219, 249, .78) 0%, rgba(225, 244, 255, .86) 56%, rgba(255, 255, 255, .92) 100%);
}

.large-fixings-section::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.large-fixings-section .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

.large-fixings-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 30px) clamp(18px, 2.4vw, 34px);
  align-items: stretch;
}

.large-fixing-card {
  display: block;
  min-width: 0;
}

.large-fixing-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 148.255 / 145.965;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 16px rgba(31, 66, 130, .08));
}

.flag-types-grid-modern article {
  position: relative;
  overflow: hidden;
  border-radius: 28px 22px 44px 22px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-card);
}

.flag-types-grid-modern article::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
}

.flag-types-grid-modern h3,
.fabric-list h3 {
  margin: 18px 0 10px;
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.16;
  text-transform: uppercase;
}

.flag-types-grid-modern p,
.fabric-list p,
.size-layout p,
.size-layout li {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.flag-types-grid-modern {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.flag-types-grid-modern img {
  width: 100%;
  height: clamp(230px, 21vw, 290px);
  object-fit: cover;
}

.flag-types-grid-modern h3,
.flag-types-grid-modern p {
  padding: 0 clamp(24px, 2.8vw, 34px);
}

.flag-types-grid-modern p {
  padding-bottom: clamp(22px, 2.4vw, 30px);
  font-size: clamp(15px, 1.22vw, 18px);
}

.flag-types-grid-modern h3 {
  margin-top: clamp(20px, 2vw, 26px);
  font-size: clamp(20px, 1.8vw, 27px);
}

.fabric-list {
  display: grid;
  gap: 18px;
}

.fabric-list article {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border-radius: 28px 22px 42px 22px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-card);
}

.fabric-list article:nth-child(even) {
  grid-template-columns: 1fr 240px;
}

.fabric-list article:nth-child(even) img {
  order: 2;
}

.fabric-list img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 22px;
}

.size-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 26px;
  align-items: center;
  margin-top: 22px;
  padding: 22px;
  border-radius: 30px 24px 48px 24px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-card);
}

.size-layout--reverse {
  grid-template-columns: 1.08fr .92fr;
}

.size-layout--reverse img {
  order: 2;
}

.size-layout img {
  width: 100%;
  max-height: 310px;
  object-fit: contain;
}

.size-layout ul {
  display: grid;
  gap: 12px;
}

.size-layout li {
  position: relative;
  padding-left: 22px;
}

.size-layout li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(54, 182, 77, .13);
}

.page2-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.page2-gallery__grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 28px 22px 42px 22px;
  box-shadow: var(--shadow-card);
}

.page2-gallery__grid img:nth-child(3) {
  grid-column: 1 / -1;
  height: 300px;
}

@media (max-width: 1080px) {
  .urgent-hero__frame {
    min-height: 440px;
    border-width: 12px;
    border-radius: 0 0 72px 0;
  }

  .urgent-hero__panel {
    width: 86%;
  }

  .order-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-template-areas:
      "contact info"
      "contact extra"
      "call call"
      "next final";
  }

  .order-flow__card--wide {
    min-height: auto;
  }

  .order-flow__card--call {
    min-height: 154px;
  }

  .price-grid,
  .flag-types-grid-modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fixings-panel,
  .fixings-panel--reverse {
    grid-template-columns: 1fr;
  }

  .fixings-panel--reverse .fixings-image-grid {
    order: 0;
  }
}

@media (max-width: 720px) {
  .order-price-backdrop {
    background-image: url("../img/order-price-bg-900.webp");
  }

  .urgent-hero {
    padding: 16px 0 34px;
  }

  .urgent-hero__frame {
    min-height: 390px;
    border-width: 10px;
    border-radius: 0 0 46px 0;
  }

  .urgent-hero__frame>img {
    object-position: 30% bottom;
  }

  .urgent-hero__panel {
    width: 100%;
    min-height: 210px;
    padding: 20px 16px 22px;
    align-items: center;
    text-align: center;
    border-radius: 0 0 44px 44px / 0 0 56px 56px;
  }

  .urgent-hero__panel h1 {
    font-size: clamp(22px, 7vw, 32px);
  }

  .urgent-hero__lead {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .urgent-intro,
  .order-flow-section,
  .price-section,
  .fixings-section-modern,
  .flag-types-section-modern,
  .fabric-section-modern,
  .size-section-modern,
  .page2-gallery {
    padding: 38px 0;
  }

  .urgent-tabs {
    width: 100%;
    justify-content: flex-start;
    padding: 7px;
    border-radius: 24px;
  }

  .urgent-tabs a {
    padding: 9px 12px;
    font-size: 12px;
  }

  .panic-card {
    padding: 20px 14px;
  }

  .order-flow,
  .price-grid,
  .flag-types-grid-modern,
  .fabric-list,
  .size-layout,
  .size-layout--reverse,
  .page2-gallery__grid {
    grid-template-columns: 1fr;
  }

  .order-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "contact contact"
      "info extra"
      "call call"
      "next final";
    grid-template-rows: auto;
    gap: 10px;
  }

  .order-flow-section .section-head {
    margin-bottom: 18px;
  }

  .order-flow-section .section-head h2 {
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.06;
  }

  .order-flow__card {
    min-height: auto;
    padding: 13px 14px 14px;
    border-radius: 20px 16px 28px 16px;
    box-shadow: 7px 9px 0 rgba(85, 88, 150, .16), 0 16px 30px rgba(31, 66, 130, .07);
  }

  .order-flow__card:not(.order-flow__card--info-extra) {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
  }

  .order-flow__card h3 {
    grid-column: 2;
    margin: 0 0 7px;
    font-size: 16px;
    line-height: 1.08;
    text-align: left;
  }

  .order-flow__num,
  .order-flow__card--info .order-flow__num {
    position: static;
    grid-column: 1;
    grid-row: 1 / span 4;
    align-self: start;
    right: auto;
    bottom: auto;
    width: 30px;
    height: 30px;
    border-width: 3px;
    box-shadow: 0 0 0 2px #1bb2dc, 0 3px 7px rgba(29, 48, 108, .15);
    font-size: 16px;
  }

  .order-flow__card--info h3,
  .order-flow__card--call h3,
  .order-flow__card:nth-of-type(5) h3,
  .order-flow__card:nth-of-type(6) h3 {
    margin-left: 0;
    padding-right: 0;
    text-align: left;
  }

  .order-flow__card p,
  .order-flow__card li,
  .order-flow__card a {
    font-size: 13px;
    line-height: 1.34;
  }

  .order-flow__card p,
  .order-flow__card ol,
  .order-flow__mail,
  .order-flow__messengers,
  .order-flow__phones {
    grid-column: 2;
  }

  .order-flow__card--info ol,
  .order-flow__card--info-extra ol,
  .order-flow__card:nth-of-type(5) ol,
  .order-flow__card:nth-of-type(6) ol {
    width: auto;
    margin: 0;
    padding-left: 18px;
    text-align: left;
    list-style-position: outside;
  }

  .order-flow__card--info ol,
  .order-flow__card:nth-of-type(5) ol,
  .order-flow__card:nth-of-type(6) ol {
    padding-left: 17px;
  }

  .order-flow__card--info-extra {
    display: flex;
    align-items: center;
    padding: 13px 14px 14px;
  }

  .order-flow__card--call p,
  .order-flow__card--call p:last-child {
    margin-top: 5px;
    padding-right: 0;
    text-align: left;
    font-size: 13px;
    line-height: 1.3;
  }

  .order-flow__phones {
    display: grid;
    justify-content: stretch;
    gap: 4px;
    margin: 0 0 8px;
  }

  .order-flow__card--info::after,
  .order-flow__card--info-extra::after,
  .order-flow__card--info-extra::before,
  .order-flow__card--call::after {
    display: none;
  }

  .order-flow__card--wide .order-flow__mail small {
    padding-left: 0;
    margin-top: 1px;
    font-size: .68em;
  }

  .order-flow__card--wide .order-flow__mail {
    margin: 0 0 11px;
    font-size: 13px;
    line-height: 1.25;
  }

  .order-flow__messenger:nth-child(-n + 2) {
    margin-left: 0;
  }

  .order-flow__messenger:nth-child(n + 3) {
    margin-left: 0;
  }

  .order-flow__messengers {
    gap: 6px;
    padding-left: 0;
  }

  .order-flow__messenger {
    grid-template-columns: 20px 8px minmax(0, 1fr);
    gap: 6px;
  }

  .order-flow__messenger img {
    width: 20px;
    height: 20px;
  }

  .order-flow__messenger span,
  .order-flow__messenger b {
    min-width: 0;
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .order-flow__card:nth-of-type(5),
  .order-flow__card:nth-of-type(6) {
    min-height: 116px;
  }

  .order-flow__action {
    margin-top: 18px;
  }

  .order-flow__action .btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  .fixings-panel {
    gap: 20px;
    padding: 20px;
    border-radius: 28px 20px 42px 20px;
  }

  .fixings-image-grid {
    gap: 10px;
  }

  .fixings-image-grid img {
    height: 132px;
  }

  .fixings-text-list {
    gap: 12px;
  }

  .fixings-text-list p {
    font-size: 14px;
    line-height: 1.48;
  }

  .page2-photo-band {
    padding: 28px 0;
  }

  .steps {
    padding: 36px 0;
  }

  .steps .section-head {
    margin-bottom: 20px;
  }

  .steps__grid {
    gap: 12px;
  }

  .steps__grid article {
    min-height: 148px;
    padding: 16px 16px 18px;
    border-radius: 24px 20px 32px 20px;
  }

  .steps__grid span {
    left: 14px;
    top: 14px;
    width: 34px;
    height: 34px;
    border-width: 3px;
    font-size: 16px;
  }

  .steps__grid img {
    width: 46px;
    height: 46px;
    margin: 8px auto 10px;
  }

  .steps__grid h3 {
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1.1;
  }

  .steps__grid p {
    max-width: 250px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.35;
  }

  .flag-types-grid-modern img {
    height: 205px;
  }

  .fabric-list article,
  .fabric-list article:nth-child(even) {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .fabric-list article:nth-child(even) img,
  .size-layout--reverse img {
    order: 0;
  }

  .fabric-list img {
    height: 190px;
  }

  .size-layout {
    gap: 20px;
    padding: 20px;
  }

  .page2-gallery__grid img,
  .page2-gallery__grid img:nth-child(3) {
    height: 140px;
  }

  .page2-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .page2-gallery__grid img {
    border-radius: 24px 18px 32px 18px;
  }

  .page2-gallery__grid img:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(70%, 230px);
  }
}

@media (max-width: 420px) {
  .urgent-hero__frame {
    min-height: 360px;
  }

  .urgent-hero__panel {
    min-height: 198px;
  }

  .order-flow__card p,
  .order-flow__card li,
  .order-flow__card a,
  .flag-types-grid-modern p,
  .fabric-list p,
  .size-layout p,
  .size-layout li {
    font-size: 12px;
  }

  .order-flow-section .section-head h2 {
    font-size: 28px;
  }

  .order-flow {
    gap: 9px;
  }

  .order-flow__card {
    padding: 12px 12px 13px;
    border-radius: 18px 15px 26px 15px;
  }

  .order-flow__card:not(.order-flow__card--info-extra) {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 8px;
  }

  .order-flow__card h3 {
    margin-left: 0;
    font-size: 15px;
  }

  .order-flow__num,
  .order-flow__card--info .order-flow__num {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  .order-flow__card--wide .order-flow__mail,
  .order-flow__phones {
    margin-left: 0;
  }

  .order-flow__messengers {
    padding-left: 0;
  }

  .order-flow__messenger span,
  .order-flow__messenger b {
    font-size: 12px;
  }

  .fixings-image-grid img {
    height: 112px;
  }

  .fixings-text-list p {
    font-size: 13px;
  }

  .price-card h4 {
    font-size: 14px;
  }

  .price-card__rows {
    padding: 14px 10px 12px;
    gap: 0 8px;
  }

  .price-card__col {
    gap: 8px 5px;
  }

  .price-card__col span,
  .price-card__col b {
    font-size: 12px;
  }
}

@media (max-width: 980px) {
  .large-fixings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 22px;
  }
}

@media (max-width: 720px) {
  .footer .footer__to-top {
    top: 8px;
    right: 24px;
    left: auto;
    gap: 8px;
    padding: 9px 12px 10px 17px;
    font-size: 16px;
  }

  .footer__to-top-icon {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
    border-width: 2px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .92);
  }

  .footer__to-top-icon::before {
    top: 5px;
    width: 7px;
    height: 7px;
    border-left-width: 2px;
    border-top-width: 2px;
  }

  .footer__to-top-icon::after {
    top: 8px;
    width: 2px;
    height: 8px;
  }

  .large-fixings-section {
    padding: 44px 0 52px;
  }

}

@media (max-width: 540px) {
  .large-fixings-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.site-header,
.header__inner,
.main-nav {
  position: relative;
  z-index: 120;
  overflow: visible;
}

.header__inner {
  z-index: 140;
}

.main-nav {
  gap: clamp(8px, 1.55vw, 25px);
}

.main-nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.main-nav__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}

.main-nav__top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  min-height: 48px;
  padding: 0 8px 0 13px;
  border-radius: 999px;
  isolation: isolate;
}

.main-nav__top::before,
.main-nav__top::after {
  content: "";
  position: absolute;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.main-nav__top::before {
  inset: 5px 0;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .23), rgba(255, 255, 255, .08)),
    radial-gradient(circle at 22% 0%, rgba(255, 255, 255, .35), transparent 50%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .36), 0 13px 24px rgba(17, 43, 103, .14);
  opacity: 0;
  transform: scale(.9);
}

.main-nav__top::after {
  left: 18px;
  right: 34px;
  bottom: 5px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(181, 246, 255, .96));
  opacity: 0;
  transform: scaleX(.28);
  transform-origin: left center;
}

.main-nav .main-nav__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 2px;
  color: #fff;
  border-radius: 0;
  text-align: center;
}

.main-nav__toggle {
  position: relative;
  z-index: 1;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  background: rgba(255, 255, 255, .13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
  cursor: pointer;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}

.main-nav__toggle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 47%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -60%) rotate(45deg);
  transition: transform .22s ease;
}

.main-nav__item:hover .main-nav__top::before,
.main-nav__item:focus-within .main-nav__top::before,
.main-nav__item.is-open .main-nav__top::before,
.main-nav__item--active .main-nav__top::before {
  opacity: 1;
  transform: scale(1);
}

.main-nav__item:hover .main-nav__top::after,
.main-nav__item:focus-within .main-nav__top::after,
.main-nav__item.is-open .main-nav__top::after,
.main-nav__item--active .main-nav__top::after {
  opacity: 1;
  transform: scaleX(1);
}

.main-nav__item:hover .main-nav__toggle,
.main-nav__item:focus-within .main-nav__toggle,
.main-nav__item.is-open .main-nav__toggle {
  border-color: rgba(255, 255, 255, .64);
  background: rgba(255, 255, 255, .22);
}

.main-nav__item:hover .main-nav__toggle::before,
.main-nav__item:focus-within .main-nav__toggle::before,
.main-nav__item.is-open .main-nav__toggle::before {
  transform: translate(-50%, -35%) rotate(225deg);
}

.main-nav__item:hover .main-nav__link,
.main-nav__item:focus-within .main-nav__link {
  text-shadow: 0 0 18px rgba(255, 255, 255, .7);
}

.main-nav__dropdown {
  position: absolute;
  top: calc(100% + 13px);
  left: 50%;
  z-index: 220;
  min-width: 248px;
  padding: 11px;
  border: 1px solid rgba(93, 127, 192, .32);
  border-radius: 22px;
  background:
    linear-gradient(180deg, #fff, rgba(244, 250, 255, .99)),
    radial-gradient(circle at 14% 8%, rgba(42, 191, 216, .16), transparent 38%);
  box-shadow: 0 26px 54px rgba(21, 45, 95, .3), 0 5px 0 rgba(196, 210, 234, .9);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 9px) scale(.97);
  transform-origin: top center;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.main-nav__dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  left: calc(50% - 8px);
  width: 16px;
  height: 16px;
  border-left: 1px solid rgba(138, 168, 219, .22);
  border-top: 1px solid rgba(138, 168, 219, .22);
  background: rgba(255, 255, 255, .98);
  transform: rotate(45deg);
}

.main-nav__item:hover .main-nav__dropdown,
.main-nav__item:focus-within .main-nav__dropdown,
.main-nav__item.is-open .main-nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
  visibility: visible;
}

.main-nav .main-nav__dropdown a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 9px 12px 9px 13px;
  border-radius: 14px;
  color: #173566;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-shadow: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.main-nav .main-nav__dropdown a::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3ec05b, #25bed8 58%, #6f4ea3);
  box-shadow: 0 0 0 4px rgba(42, 191, 216, .1);
}

.main-nav .main-nav__dropdown a:hover,
.main-nav .main-nav__dropdown a:focus-visible {
  background: linear-gradient(90deg, rgba(42, 191, 216, .13), rgba(122, 88, 166, .12));
  color: #263f9a;
  box-shadow: inset 3px 0 0 rgba(42, 191, 216, .62);
  transform: translateX(3px);
}

.main-nav a[aria-current="page"],
.main-nav .main-nav__link[aria-current="page"] {
  text-shadow: 0 0 18px rgba(255, 255, 255, .72);
}

@media (max-width: 1080px) {
  .main-nav {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    overflow: hidden;
    gap: 6px;
  }

  .main-nav__item {
    display: block;
    width: 100%;
  }

  .main-nav__item::after {
    display: none;
  }

  .main-nav__top {
    display: grid;
    grid-template-columns: 1fr 42px;
    gap: 8px;
    min-height: 48px;
    padding: 3px 4px 3px 14px;
    border-radius: 20px;
  }

  .main-nav__top::before {
    inset: 0;
    opacity: 1;
    transform: none;
    background: rgba(255, 255, 255, .12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
  }

  .main-nav__top::after {
    display: none;
    left: 17px;
    right: 58px;
    bottom: 4px;
    opacity: 0;
    transform: scaleX(.28);
  }

  .main-nav__item:hover .main-nav__top::after,
  .main-nav__item:focus-within .main-nav__top::after,
  .main-nav__item.is-open .main-nav__top::after {
    opacity: 0;
    transform: scaleX(.28);
  }

  .main-nav__item--active .main-nav__top::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .main-nav .main-nav__link {
    justify-content: flex-start;
    min-height: 42px;
    padding: 9px 0;
    font-size: 18px;
    text-align: left;
  }

  .main-nav__item:hover .main-nav__link,
  .main-nav__item:focus-within .main-nav__link {
    text-shadow: none;
  }

  .main-nav__item--active .main-nav__link,
  .main-nav__item--active:hover .main-nav__link,
  .main-nav__item--active:focus-within .main-nav__link {
    text-shadow: 0 0 18px rgba(255, 255, 255, .72);
  }

  .main-nav__toggle {
    align-self: center;
    justify-self: end;
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    background: rgba(255, 255, 255, .2);
  }

  .main-nav__item:hover .main-nav__toggle,
  .main-nav__item:focus-within .main-nav__toggle {
    border-color: rgba(255, 255, 255, .38);
    background: rgba(255, 255, 255, .2);
  }

  .main-nav__item:hover .main-nav__toggle::before,
  .main-nav__item:focus-within .main-nav__toggle::before {
    transform: translate(-50%, -60%) rotate(45deg);
  }

  .main-nav__item.is-open .main-nav__toggle {
    border-color: rgba(255, 255, 255, .64);
    background: rgba(255, 255, 255, .22);
  }

  .main-nav__item.is-open .main-nav__toggle::before {
    transform: translate(-50%, -35%) rotate(225deg);
  }

  .main-nav__dropdown {
    position: static;
    min-width: 0;
    width: 100%;
    max-height: 0;
    margin: 0;
    padding: 0 8px;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, .12);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
    transition: max-height .24s ease, margin .2s ease, padding .2s ease;
  }

  .main-nav__dropdown::before {
    display: none;
  }

  .main-nav__item:hover .main-nav__dropdown,
  .main-nav__item:focus-within .main-nav__dropdown {
    max-height: 0;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    transform: none;
  }

  .main-nav__item.is-open .main-nav__dropdown {
    max-height: 360px;
    margin: 5px 0 9px;
    padding: 8px;
  }

  .main-nav .main-nav__dropdown a {
    min-height: 36px;
    padding: 9px 12px;
    color: #fff;
    font-size: 15px;
    white-space: normal;
  }

  .main-nav .main-nav__dropdown a:hover,
  .main-nav .main-nav__dropdown a:focus-visible {
    background: rgba(255, 255, 255, .16);
    color: #fff;
    box-shadow: inset 3px 0 0 rgba(255, 255, 255, .6);
  }
}

@media (max-width: 720px) {
  .main-nav .main-nav__link {
    font-size: 17px;
  }

  .main-nav__top {
    grid-template-columns: 1fr 38px;
    padding-left: 12px;
  }

  .main-nav__toggle {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .main-nav .main-nav__dropdown a {
    font-size: 14px;
  }
}

/* Unified vertical rhythm: 70px between content blocks on desktop, 35px on mobile. */
.hero,
.urgent-hero,
.section,
.contacts-section,
.urgent-intro,
.order-flow-section,
.price-section,
.page2-photo-band,
.fixings-section-modern,
.large-fixings-section,
.flag-types-section-modern,
.fabric-section-modern,
.size-section-modern,
.page2-gallery {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

@media (max-width: 720px) {
  :root {
    --section-gap: 35px;
  }

  .hero,
  .urgent-hero,
  .section,
  .contacts-section,
  .urgent-intro,
  .order-flow-section,
  .price-section,
  .page2-photo-band,
  .fixings-section-modern,
  .large-fixings-section,
  .flag-types-section-modern,
  .fabric-section-modern,
  .size-section-modern,
  .page2-gallery {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
  }
}

/* Calmer heading scale. */
h2 {
  font-size: clamp(24px, 2.75vw, 36px);
}

.section-head p {
  font-size: 15px;
  line-height: 1.55;
}

.hero .eyebrow {
  font-size: clamp(17px, 1.55vw, 23px);
}

.hero h1 {
  font-size: clamp(28px, 2.75vw, 42px);
}

.hero__lead {
  font-size: clamp(32px, 3.1vw, 46px);
}

.urgent-hero__panel .eyebrow {
  font-size: clamp(16px, 1.55vw, 23px);
}

.urgent-hero__panel h1 {
  font-size: clamp(28px, 3.05vw, 43px);
}

.urgent-hero__lead {
  font-size: clamp(15px, 1.2vw, 18px);
}

.urgent-intro__head h2 {
  font-size: clamp(28px, 3.35vw, 42px);
}

.urgent-intro__head p {
  font-size: clamp(15px, 1.55vw, 20px);
}

.panic-card h3 {
  font-size: clamp(22px, 2.45vw, 32px);
}

.panic-card p {
  font-size: clamp(15px, 1.2vw, 18px);
}

.price-group h3 {
  font-size: clamp(21px, 2.25vw, 28px);
}

.price-group>p {
  font-size: 15px;
}

.flag-types-grid-modern h3 {
  font-size: clamp(19px, 1.55vw, 24px);
}

.fabric-list h3 {
  font-size: 18px;
}

@media (max-width: 720px) {
  h2 {
    font-size: clamp(23px, 6.4vw, 30px);
  }

  .section-head p,
  .urgent-intro__head p {
    font-size: 14px;
  }

  .hero h1,
  .urgent-hero__panel h1 {
    font-size: clamp(21px, 6vw, 27px);
  }

  .hero__lead {
    font-size: clamp(25px, 7vw, 31px);
  }

  .urgent-intro__head h2,
  .order-flow-section .section-head h2 {
    font-size: clamp(24px, 7vw, 30px);
  }

  .panic-card h3,
  .price-group h3 {
    font-size: clamp(20px, 6vw, 26px);
  }

  .flag-types-grid-modern h3,
  .fabric-list h3 {
    font-size: 18px;
  }
}

@media (max-width: 420px) {
  .order-flow-section .section-head h2 {
    font-size: 26px;
  }
}
