:root {
  --color-primary: #2a5bd7;
  --color-primary-dark: #1c45b0;
  --color-primary-deep: #173a96;
  --color-primary-light: #5d8ff0;
  --color-primary-soft: #e8eefc;
  --color-bg: #f6f7f9;
  --color-surface: #ffffff;
  --color-text: #1d2433;
  --color-muted: #6f788b;
  --color-line: #e2e6ee;
  --color-white: #ffffff;
  --color-error: #c42b3a;
  --color-success: #1f9d63;
  --gradient-blue: linear-gradient(140deg, #3a6be0 0%, #2a5bd7 45%, #1d47b4 100%);
  --gradient-hero: linear-gradient(115deg, #2453cb 0%, #2a5bd7 45%, #3e74e3 75%, #78a3ee 100%);
  --gradient-footer: linear-gradient(120deg, #1d47b4 0%, #2a5bd7 55%, #4f84ea 100%);
  --font-main: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-card: 0 18px 40px -18px rgba(29, 71, 180, 0.45);
  --shadow-soft: 0 12px 30px -14px rgba(29, 36, 51, 0.25);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --container: 1240px;
  --gutter: 16px;
  --header-height: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

svg {
  display: block;
  width: 100%;
  height: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-primary-dark);
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out);
}

.skip-link:focus {
  transform: translateY(76px);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 36px;
}

.section-head__title {
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.section-head__text {
  max-width: 340px;
  font-size: 14px;
  color: var(--color-muted);
}

.pill-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.3s var(--ease-out);
}

.pill-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: scale(0);
  transition: transform 0.4s var(--ease-out);
}

.pill-button:hover::before,
.pill-button:focus-visible::before {
  transform: scale(1);
}

.pill-button--glass {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.pill-button--glass::before,
.pill-button--light::before {
  background: var(--color-white);
}

.pill-button--glass:hover,
.pill-button--glass:focus-visible {
  color: var(--color-primary-dark);
}

.pill-button--outline {
  color: var(--color-primary-dark);
  border-color: rgba(42, 91, 215, 0.45);
  background: var(--color-surface);
  min-height: 40px;
  font-size: 11px;
}

.pill-button--outline::before {
  background: var(--color-primary);
}

.pill-button--outline:hover,
.pill-button--outline:focus-visible {
  color: var(--color-white);
  border-color: var(--color-primary);
}

.pill-button--light {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.pill-button--light:hover,
.pill-button--light:focus-visible {
  color: var(--color-primary-dark);
}

.pill-button--primary {
  color: var(--color-white);
  background: var(--gradient-blue);
  min-height: 48px;
  padding: 12px 26px;
}

.pill-button--primary::before {
  background: var(--color-primary-deep);
}

.pill-button--primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pill-button--primary:disabled::before {
  transform: scale(0);
}

.pill-button--tiny {
  min-height: 36px;
  padding: 6px 16px;
  font-size: 10px;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.55);
}

.pill-button--tiny::before {
  background: var(--color-white);
}

.pill-button--tiny:hover,
.pill-button--tiny:focus-visible {
  color: var(--color-primary-dark);
}

.arrow-link {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 12px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: none;
  transition: transform 0.3s var(--ease-out), background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.arrow-link:hover,
.arrow-link:focus-visible {
  transform: rotate(45deg);
}

.arrow-link--glass {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.55);
}

.arrow-link--glass:hover,
.arrow-link--glass:focus-visible {
  background: var(--color-white);
  color: var(--color-primary-dark);
}

.arrow-link--small {
  width: 32px;
  height: 32px;
  padding: 8px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.18);
}

.arrow-link--small:hover,
.arrow-link--small:focus-visible {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.32);
}

.arrow-link--solid {
  width: 40px;
  height: 40px;
  padding: 11px;
  color: var(--color-white);
  background: var(--color-primary-deep);
}

.icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: var(--color-white);
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.icon-button:hover,
.icon-button:focus-visible {
  background: var(--color-white);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.icon-button--small {
  width: 36px;
  height: 36px;
  padding: 9px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--color-white);
  transition: background-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.site-header--scrolled,
.site-header--solid {
  background: rgba(29, 71, 180, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -18px rgba(10, 25, 70, 0.8);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-height);
  transition: transform 0.35s var(--ease-out);
}

.site-header--scrolled .site-header__inner {
  transform: translateY(0);
}

.site-header__logo {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header__phone {
  display: none;
  margin-right: 6px;
  font-size: 13px;
  text-decoration: none;
  opacity: 0.9;
}

.site-header__phone:hover {
  opacity: 1;
}

.site-header__burger {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: transparent;
  color: var(--color-white);
}

.site-header__burger-line {
  display: block;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out), opacity 0.2s var(--ease-out);
}

.site-header__burger[aria-expanded="true"] .site-header__burger-line:nth-child(1) {
  transform: translateY(6.6px) rotate(45deg);
}

.site-header__burger[aria-expanded="true"] .site-header__burger-line:nth-child(2) {
  opacity: 0;
}

.site-header__burger[aria-expanded="true"] .site-header__burger-line:nth-child(3) {
  transform: translateY(-6.6px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: var(--header-height) 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px var(--gutter) 32px;
  background: var(--color-primary-dark);
  box-shadow: 0 30px 40px -20px rgba(10, 25, 70, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
}

.site-nav--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: 20px;
  text-decoration: none;
  opacity: 0.85;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.site-nav__link:hover,
.site-nav__link--active {
  opacity: 1;
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
  transform: scaleX(1);
}

.site-nav__phone {
  font-size: 16px;
  text-decoration: none;
  opacity: 0.9;
}

.basket-toggle__count {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-primary-dark);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.basket-toggle__count--visible {
  opacity: 1;
  transform: scale(1);
}

.basket-toggle__count--bump {
  animation: count-bump 0.45s var(--ease-out);
}

@keyframes count-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 28px) 0 0;
  background: var(--gradient-hero);
  color: var(--color-white);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  animation: glow-drift 14s ease-in-out infinite alternate;
}

.hero__glow--one {
  width: 420px;
  height: 420px;
  top: -140px;
  left: -120px;
  background: rgba(120, 164, 245, 0.45);
}

.hero__glow--two {
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: -160px;
  background: rgba(190, 214, 255, 0.4);
  animation-delay: -6s;
}

@keyframes glow-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, 30px, 0) scale(1.12); }
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 24px;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: hero-in 0.6s var(--ease-out) both;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__title {
  display: flex;
  flex-direction: column;
  font-weight: 400;
}

.hero__brand {
  font-size: clamp(64px, 17vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff 30%, #d7e4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 300;
  line-height: 1.2;
}

.hero__thumbs {
  display: flex;
  flex: none;
}

.hero__thumb,
.care__thumb {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  object-fit: cover;
}

.hero__thumb + .hero__thumb,
.care__thumb + .care__thumb {
  margin-left: -10px;
}

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

.hero__stat {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 24px;
  line-height: 1;
}

.hero__stat-label {
  margin-left: 6px;
  font-size: 10px;
  line-height: 1.25;
  opacity: 0.8;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
}

.hero__lead {
  max-width: 400px;
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.75;
  opacity: 0.92;
}

.hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1.08;
}

.hero__circle {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -8%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.28), rgba(23, 58, 150, 0.6) 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.hero__image {
  position: absolute;
  left: 12%;
  bottom: 0;
  width: 76%;
  height: 100%;
  object-fit: cover;
  border-radius: 200px 200px 0 0;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  animation: ken-burns 18s ease-in-out infinite alternate;
}

@keyframes ken-burns {
  from { transform: scale(1); }
  to { transform: scale(1.04) translateY(-4px); }
}

.stat-card {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-soft);
}

.stat-card__value {
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-card__value--light {
  color: var(--color-white);
}

.stat-card__label {
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.3;
  color: var(--color-muted);
}

.hero__card {
  position: absolute;
  z-index: 2;
  text-align: center;
  animation: float 6s ease-in-out infinite alternate;
}

.hero__card--top {
  right: 0;
  top: 34%;
}

.hero__card--bottom {
  left: 0;
  bottom: 18%;
  animation-delay: -3s;
}

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: var(--gradient-blue);
  color: var(--color-white);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 50px -20px rgba(29, 71, 180, 0.6);
}

.service-card__media {
  margin: 10px 10px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.service-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-card__image {
  transform: scale(1.06);
}

.service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 18px;
}

.service-card__title {
  font-size: 17px;
  font-weight: 500;
}

.service-card__text {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.82;
}

.service-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}

.service-card__price {
  font-size: 15px;
  line-height: 1;
}

.service-card__amount {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.service-card__unit {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  opacity: 0.75;
}

.service-card__add {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: var(--color-primary-deep);
  color: var(--color-white);
  transition: transform 0.3s var(--ease-out), background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.service-card__add:hover,
.service-card__add:focus-visible {
  background: var(--color-white);
  color: var(--color-primary-dark);
  transform: rotate(90deg);
}

.service-card--photo {
  min-height: 380px;
  background: var(--color-primary-deep);
}

.service-card--photo .service-card__media {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 0;
  aspect-ratio: auto;
}

.service-card--photo .service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 58, 150, 0.05) 20%, rgba(23, 58, 150, 0.55) 55%, rgba(18, 44, 116, 0.95) 100%);
}

.service-card--photo .service-card__body {
  position: relative;
  justify-content: flex-end;
  padding-top: 160px;
}

.care__inner {
  position: relative;
  display: grid;
}

.care__media {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.care__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.care__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(246, 247, 249, 0.92) 0%, rgba(246, 247, 249, 0.6) 40%, rgba(246, 247, 249, 0) 70%);
}

.care__intro {
  position: relative;
  z-index: 2;
  padding: 28px 22px 0;
}

.care__title {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.care__text {
  max-width: 300px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--color-text);
}

.care__stats {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  gap: 12px;
}

.care__stats .stat-card {
  min-width: 96px;
  text-align: center;
}

.care__panel {
  position: relative;
  z-index: 3;
  margin: -40px 12px 0;
  padding: 28px 22px 22px;
  border-radius: var(--radius-md);
  background: var(--gradient-blue);
  color: var(--color-white);
  box-shadow: var(--shadow-card);
}

.check-list {
  display: grid;
  gap: 16px;
}

.check-list__item {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  opacity: 0.92;
}

.check-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
}

.check-list__item::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 5px;
  height: 3px;
  border-left: 1.4px solid var(--color-white);
  border-bottom: 1.4px solid var(--color-white);
  transform: rotate(-45deg);
}

.care__panel-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.care__thumbs {
  display: flex;
}

.care__panel-label {
  font-size: 10px;
  line-height: 1.3;
  opacity: 0.8;
}

.care__panel-footer .arrow-link {
  margin-left: auto;
}

.process__grid {
  display: grid;
  gap: 24px;
}

.process__intro {
  max-width: 300px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--color-muted);
}

.process__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1.1 / 1;
}

.process__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.process__media:hover .process__image {
  transform: scale(1.05);
}

.process__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 0 16px 28px;
  border-radius: var(--radius-md);
  background: var(--gradient-blue);
  color: var(--color-white);
  box-shadow: var(--shadow-card);
}

.process__steps {
  position: relative;
  margin-top: -1px;
  padding: 24px 20px 56px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.process__step + .process__step {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
}

.js .process__step {
  display: none;
}

.js .process__step + .process__step {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.js .process__step.is-active {
  display: block;
  animation: fade-up 0.4s var(--ease-out);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.process__step-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.process__step-title {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-primary);
}

.process__step-number {
  font-size: clamp(54px, 8vw, 78px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.process__step-text {
  max-width: 360px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--color-muted);
}

.process__next {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-primary);
  transition: transform 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}

.process__next:hover,
.process__next:focus-visible {
  background: var(--color-primary-soft);
  transform: translateX(3px);
}

.process__tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.process__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-white);
}

.process__tab-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.process__tab:hover .process__tab-icon {
  transform: translateY(-3px);
}

.process__tab.is-active .process__tab-icon {
  background: var(--color-white);
  color: var(--color-primary);
}

.process__tab-label {
  font-size: 11px;
  opacity: 0.8;
}

.process__tab.is-active .process__tab-label {
  opacity: 1;
}

.rooms__stage {
  position: relative;
  display: grid;
}

.rooms__media {
  order: -1;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.rooms__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.rooms__stage:hover .rooms__image {
  transform: scale(1.04);
}

.rooms__card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  margin: -48px 12px 0;
  padding: 28px 22px 22px;
  border-radius: var(--radius-md);
  background: var(--gradient-blue);
  color: var(--color-white);
  box-shadow: var(--shadow-card);
}

.rooms__slide + .rooms__slide {
  margin-top: 22px;
}

.js .rooms__slide {
  display: none;
}

.js .rooms__slide + .rooms__slide {
  margin-top: 0;
}

.js .rooms__slide.is-active {
  display: block;
  animation: fade-up 0.45s var(--ease-out);
}

.rooms__room {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.rooms__tasks {
  margin-top: 12px;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 300;
  line-height: 1.6;
}

.rooms__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.rooms__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.2;
}

.rooms__badge small {
  font-size: 10px;
  opacity: 0.75;
}

.rooms__badge-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 9px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
}

.rooms__next {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 8px 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  font-size: 12px;
  transition: background-color 0.3s var(--ease-out);
}

.rooms__next svg {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  transition: transform 0.3s var(--ease-out);
}

.rooms__next:hover,
.rooms__next:focus-visible {
  background: rgba(255, 255, 255, 0.24);
}

.rooms__next:hover svg {
  transform: translateX(3px);
}

.rooms__dots {
  display: none;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.js .rooms__dots {
  display: flex;
}

.rooms__dot {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  position: relative;
}

.rooms__dot::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 4px;
  background: #c6d3f2;
  transition: background-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.rooms__dot.is-active {
  width: 40px;
}

.rooms__dot.is-active::before {
  background: var(--color-primary);
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 72px 0 28px;
  background: var(--gradient-footer);
  color: var(--color-white);
}

.site-footer__glow {
  position: absolute;
  right: -180px;
  top: -200px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(150, 190, 255, 0.35);
  filter: blur(90px);
  pointer-events: none;
  animation: glow-drift 16s ease-in-out infinite alternate;
}

.site-footer__top {
  position: relative;
  display: grid;
  gap: 48px;
}

.site-footer__title {
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 400;
  line-height: 1.3;
}

.site-footer__text {
  max-width: 340px;
  margin-top: 18px;
  font-size: 13px;
  opacity: 0.82;
}

.site-footer__buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.site-footer__icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 20px;
  margin-top: 36px;
}

.site-footer__heading {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 500;
}

.site-footer__list {
  display: grid;
  gap: 6px;
}

.site-footer__link {
  position: relative;
  font-size: 12px;
  text-decoration: none;
  opacity: 0.78;
  word-break: break-word;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: opacity 0.3s var(--ease-out), background-size 0.3s var(--ease-out);
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  opacity: 1;
  background-size: 100% 1px;
}

.site-footer__bottom {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  opacity: 0.75;
}

.basket {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.basket[hidden] {
  display: none;
}

.basket__overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 28, 60, 0.5);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.basket__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(100%, 520px);
  background: var(--color-surface);
  box-shadow: -30px 0 60px -30px rgba(16, 28, 60, 0.5);
  transform: translateX(100%);
  transition: transform 0.38s var(--ease-out);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.basket--open .basket__overlay {
  opacity: 1;
}

.basket--open .basket__panel {
  transform: translateX(0);
}

.basket__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  background: var(--gradient-blue);
  color: var(--color-white);
}

.basket__title {
  font-size: 20px;
  font-weight: 400;
}

.basket__close {
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: transparent;
  color: var(--color-white);
  transition: transform 0.3s var(--ease-out);
}

.basket__close:hover {
  transform: rotate(90deg);
}

.basket__view {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px var(--gutter) 24px;
}

.basket__view[hidden] {
  display: none;
}

.basket__empty {
  padding: 28px 0;
  font-size: 14px;
  color: var(--color-muted);
}

.basket__empty[hidden] {
  display: none;
}

.basket__items {
  display: grid;
  gap: 12px;
}

.basket-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 12px;
  padding: 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  animation: fade-up 0.3s var(--ease-out);
}

.basket-item__info {
  grid-column: 1 / -1;
}

.basket-item__title {
  font-size: 15px;
  font-weight: 500;
}

.basket-item__meta {
  font-size: 12px;
  color: var(--color-muted);
}

.basket-item__controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.basket-item__qty-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: var(--color-bg);
  font-size: 18px;
  line-height: 1;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.basket-item__qty-button:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.basket-item__qty {
  min-width: 28px;
  text-align: center;
  font-weight: 500;
}

.basket-item__price {
  font-size: 17px;
  font-weight: 500;
  color: var(--color-primary-dark);
  text-align: right;
}

.basket-item__remove {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 2px 0;
  border: 0;
  background: none;
  font-size: 12px;
  color: var(--color-error);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.basket__summary {
  margin-top: auto;
  padding-top: 24px;
}

.basket__total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--color-muted);
}

.basket__total {
  font-size: 26px;
  font-weight: 500;
  color: var(--color-text);
}

.basket__hint {
  margin: 8px 0 18px;
  font-size: 12px;
  color: var(--color-muted);
}

.basket__summary .pill-button,
.confirmation .pill-button {
  width: 100%;
}

.checkout__back {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 4px 0;
  border: 0;
  background: none;
  font-size: 13px;
  color: var(--color-primary-dark);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field__label {
  font-size: 13px;
  font-weight: 500;
}

.field__optional {
  font-weight: 400;
  color: var(--color-muted);
}

.field__input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  font-size: 16px;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.field__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(42, 91, 215, 0.18);
}

.field__input[aria-invalid="true"] {
  border-color: var(--color-error);
}

.field__input--area {
  resize: vertical;
  min-height: 84px;
}

.field__error {
  font-size: 12px;
  color: var(--color-error);
}

.field__error:empty {
  display: none;
}

.payment {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.payment .field__label {
  display: block;
  margin-bottom: 8px;
  padding: 0;
}

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

.payment__option {
  position: relative;
  display: block;
}

.payment__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.payment__label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}

.payment__label::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #b3bccd;
  border-radius: 50%;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.payment__input:checked + .payment__label {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
}

.payment__input:checked + .payment__label::before {
  border-color: var(--color-primary);
  box-shadow: inset 0 0 0 3.5px var(--color-white), inset 0 0 0 8px var(--color-primary);
}

.payment__input:focus-visible + .payment__label {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

.checkout__note {
  margin: 18px 0;
  font-size: 12px;
  color: var(--color-muted);
}

.checkout__note a {
  color: var(--color-primary-dark);
}

.checkout__submit-row {
  display: grid;
  gap: 14px;
  margin-top: auto;
}

.confirmation {
  align-items: flex-start;
  gap: 12px;
}

.confirmation__icon {
  display: block;
  flex: none;
  width: 54px;
  height: 54px;
  padding: 14px;
  border-radius: 50%;
  background: var(--color-success);
  color: var(--color-white);
  animation: fade-up 0.4s var(--ease-out);
}

.confirmation__title {
  font-size: 24px;
  font-weight: 400;
}

.confirmation__title:focus {
  outline: none;
}

.confirmation__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 14px;
  color: var(--color-muted);
}

.confirmation__row strong {
  color: var(--color-text);
  font-weight: 500;
  text-align: right;
}

.confirmation__text {
  margin: 8px 0 12px;
  font-size: 14px;
}

.toast {
  position: fixed;
  left: 50%;
  top: calc(var(--header-height) + 12px);
  z-index: 120;
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--color-text);
  color: var(--color-white);
  font-size: 14px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -16px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.toast--visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .service-card.reveal.is-visible:hover {
  transform: translateY(-6px);
  transition-delay: 0ms;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 3px;
  background: linear-gradient(90deg, #9fc0ff, var(--color-white));
  transform: scaleX(0);
  transform-origin: left;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 48px) 0 56px;
  background: var(--gradient-hero);
  color: var(--color-white);
}

.page-hero__title {
  position: relative;
  font-size: clamp(38px, 7vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.page-hero__meta {
  position: relative;
  margin-top: 14px;
  font-size: 14px;
  opacity: 0.85;
}

.policy {
  padding: 48px 0 80px;
}

.policy__layout {
  display: grid;
  gap: 32px;
}

.policy__toc {
  align-self: start;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.policy__toc-title {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.policy__toc-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy__toc-link {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.policy__toc-link:hover,
.policy__toc-link:focus-visible {
  color: var(--color-primary);
  transform: translateX(4px);
}

.policy__content {
  max-width: 760px;
  padding: 28px 22px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.policy__section + .policy__section {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--color-line);
}

.policy__section h2 {
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: 400;
  color: var(--color-primary-dark);
}

.policy__section h3 {
  margin: 18px 0 8px;
  font-size: 16px;
  font-weight: 500;
}

.policy__section p,
.policy__section li {
  font-size: 15px;
  line-height: 1.7;
  color: #3a4255;
}

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

.policy__section ul {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.policy__section li {
  position: relative;
  padding-left: 20px;
}

.policy__section li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
}

.policy__section a {
  color: var(--color-primary-dark);
  text-underline-offset: 3px;
}

.policy__section strong {
  font-weight: 500;
  color: var(--color-text);
}

@media (min-width: 600px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .field--wide {
    grid-column: 1 / -1;
  }

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

  .checkout__submit-row {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

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

@media (min-width: 768px) {
  :root {
    --gutter: 28px;
  }

  .section {
    padding: 96px 0;
  }

  .section-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 44px;
  }

  .section-head--split {
    align-items: flex-start;
  }

  .site-header__phone {
    display: inline;
  }

  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 0;
  }

  .hero__content {
    padding-bottom: 56px;
  }

  .hero__visual {
    width: 100%;
    max-width: 480px;
  }

  .care__media {
    min-height: 560px;
  }

  .care__intro {
    padding: 40px 36px 0;
  }

  .care__stats {
    left: 36px;
    bottom: 36px;
  }

  .care__panel {
    position: absolute;
    right: calc(var(--gutter) + 0px);
    bottom: -60px;
    width: 46%;
    max-width: 440px;
    margin: 0;
    padding: 32px 30px 26px;
  }

  .care {
    padding-bottom: 156px;
  }

  .process__grid {
    grid-template-columns: 1fr 1.05fr;
    align-items: stretch;
  }

  .process__aside {
    display: flex;
    flex-direction: column;
  }

  .process__media {
    aspect-ratio: 4 / 3;
  }

  .process__panel {
    margin-top: 0;
    padding: 0 24px 34px;
  }

  .process__steps {
    padding: 30px 28px 60px;
  }

  .rooms__stage {
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
  }

  .rooms__media {
    grid-column: 5 / -1;
    grid-row: 1;
    aspect-ratio: 16 / 10;
  }

  .rooms__card {
    grid-column: 1 / 8;
    grid-row: 1;
    margin: -60px 0 0;
    padding: 34px 32px 28px;
    min-height: 300px;
  }

  .rooms__dots {
    grid-column: 1 / -1;
  }

  .site-footer {
    padding-top: 88px;
  }

  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .policy__content {
    padding: 40px 44px;
  }
}

@media (min-width: 1024px) {
  :root {
    --header-height: 76px;
  }

  .site-header__burger {
    display: none;
  }

  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .site-nav__list {
    flex-direction: row;
    gap: 22px;
  }

  .site-nav__link {
    padding: 4px 0;
    font-size: 13px;
    opacity: 0.72;
  }

  .site-nav__phone {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .hero__content {
    padding-bottom: 72px;
  }

  .hero__visual {
    max-width: 520px;
    margin-right: -20px;
  }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .service-card--photo {
    min-height: 0;
  }

  .care__panel {
    right: 0;
    width: 42%;
  }

  .care__media {
    min-height: 600px;
    margin-right: 6%;
  }

  .process__grid {
    gap: 36px;
  }

  .process__panel {
    margin-top: -40px;
  }

  .rooms__card {
    grid-column: 1 / 7;
    margin: 0;
    transform: translateY(-36px);
  }

  .policy__layout {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }

  .policy__toc {
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .site-footer__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .site-footer__columns {
    width: 100%;
    max-width: 520px;
  }
}

@media (min-width: 1280px) {
  .hero__brand {
    font-size: 150px;
  }

  .hero__visual {
    max-width: 560px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
