:root {
  --bg-page: #f5f1ea;
  --bg-soft: #fbf8f2;
  --bg-panel: rgba(255, 252, 247, 0.78);
  --bg-panel-strong: rgba(255, 255, 255, 0.92);
  --bg-dark: #102033;
  --bg-dark-soft: #16283d;
  --text-main: #18222f;
  --text-muted: #667487;
  --text-light: rgba(246, 249, 253, 0.76);
  --line-soft: rgba(24, 34, 47, 0.1);
  --line-strong: rgba(255, 255, 255, 0.12);
  --emerald: #0f7b5d;
  --emerald-deep: #0a5c45;
  --steel: #395f86;
  --steel-deep: #1b3b60;
  --champagne: #d9c3a2;
  --champagne-deep: #b89f80;
  --shadow-soft: 0 20px 60px rgba(16, 24, 35, 0.08);
  --shadow-medium: 0 28px 70px rgba(16, 24, 35, 0.12);
  --shadow-strong: 0 36px 90px rgba(16, 24, 35, 0.18);
  --radius-xl: 42px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 10% 12%, rgba(15, 123, 93, 0.09), transparent 20%),
    radial-gradient(circle at 85% 14%, rgba(57, 95, 134, 0.12), transparent 24%),
    linear-gradient(180deg, #f7f3ec 0%, #f2ede6 42%, #f8f4ee 100%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

textarea {
  resize: vertical;
}

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

.wrap {
  width: min(1360px, calc(100vw - 72px));
  margin: 0 auto;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(96px);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
}

.ambient--emerald {
  top: 100px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: rgba(15, 123, 93, 0.12);
}

.ambient--steel {
  top: 60px;
  right: 4vw;
  width: 360px;
  height: 360px;
  background: rgba(57, 95, 134, 0.18);
}

.ambient--champagne {
  top: 560px;
  left: 34vw;
  width: 220px;
  height: 220px;
  background: rgba(217, 195, 162, 0.18);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(247, 243, 236, 0.78);
  border-bottom: 1px solid rgba(24, 34, 47, 0.06);
}

.site-header__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand__mark {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 14px 24px rgba(16, 32, 51, 0.12));
}

.brand__copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.brand__copy strong,
.section-head h2,
.series-card h3,
.case-card h3,
.price-panel h2,
.cta-copy h2 {
  font-family: "Inter", "Segoe UI", sans-serif;
}

.brand__copy strong {
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.brand__copy span {
  max-width: 260px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
  color: #4f5d70;
}

.main-nav a,
.site-footer__column a,
.cta-copy__contacts a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.site-footer__column a:hover,
.site-footer__column a:focus-visible,
.cta-copy__contacts a:hover,
.cta-copy__contacts a:focus-visible {
  color: var(--emerald);
}

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

.site-header__phone {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.site-header__phone strong {
  font-size: 18px;
  line-height: 1;
}

.site-header__phone span {
  font-size: 12px;
  color: var(--text-muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--small {
  min-height: 48px;
  padding: 0 22px;
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-deep) 100%);
  box-shadow: 0 20px 34px rgba(10, 92, 69, 0.22);
}

.button--ghost {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(24, 34, 47, 0.14);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: rgba(15, 123, 93, 0.28);
  box-shadow: 0 14px 32px rgba(16, 24, 35, 0.08);
}

.button--secondary {
  color: #fff;
  background: linear-gradient(135deg, var(--steel-deep) 0%, var(--bg-dark) 100%);
  box-shadow: 0 22px 40px rgba(16, 32, 51, 0.16);
}

.button--light {
  color: var(--text-main);
  background: linear-gradient(135deg, #fff 0%, #efe7d7 100%);
  box-shadow: 0 22px 34px rgba(18, 32, 51, 0.16);
}

.hero {
  position: relative;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(244, 238, 230, 0.08), rgba(17, 25, 36, 0.08)),
    url("assets/hero-interior.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #1c2230;
}

.hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 12, 20, 0.9) 0%, rgba(10, 18, 30, 0.72) 30%, rgba(10, 18, 30, 0.28) 58%, rgba(10, 18, 30, 0.08) 78%, rgba(10, 18, 30, 0) 100%),
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.12), transparent 18%),
    linear-gradient(rgba(8, 14, 23, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 14, 23, 0.08) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.9));
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(0, 560px);
  gap: 52px;
  align-items: center;
  min-height: 560px;
}

.hero__copy {
  max-width: 760px;
  padding: 54px 0 58px;
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: rgba(245, 248, 252, 0.76);
}

.hero h1 {
  color: #f6f8fc;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  color: #506072;
}

.eyebrow::before,
.kicker::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: 0.52;
}

.eyebrow--inverse {
  color: rgba(245, 248, 252, 0.82);
}

.kicker {
  color: #57708e;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: clamp(38px, 3.9vw, 60px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  max-width: 860px;
  text-wrap: balance;
}

.hero__headline-soft {
  font-size: 0.84em;
  font-weight: 700;
  color: rgba(226, 234, 242, 0.96);
}

.hero__lead {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.58;
  color: rgba(226, 234, 242, 0.78);
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.hero__visual {
  min-height: 100%;
}

.series-card,
.case-card,
.price-table,
.contact-form {
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}

.section {
  padding: 118px 0;
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 42px;
}

.section-head--narrow {
  max-width: 980px;
}

.section-head--split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  align-items: end;
  gap: 34px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-head__note {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

.card {
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
}

.section--products {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(242, 234, 223, 0.72) 100%);
}

.products-brand {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4f6072;
}

.products-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.series-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
  overflow: hidden;
  position: relative;
}

.series-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: var(--series-accent, rgba(24, 34, 47, 0.16));
}

.series-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
  background:
    radial-gradient(circle at 84% 14%, rgba(57, 95, 134, 0.16), transparent 28%),
    rgba(255, 255, 255, 0.66);
}

.series-card--vertical {
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
}

.series-card--premium .series-card__visual {
  min-height: 100%;
  height: 100%;
}

.series-card--premium .series-card__visual img {
  object-fit: cover;
  object-position: center center;
}

.series-card--premium .series-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding-block: 16px;
}

.series-card--classic {
  --series-accent: #35579a;
}

.series-card--legend {
  --series-accent: #cf0a63;
}

.series-card--perfekt {
  --series-accent: #ff7a00;
}

.series-card--premium {
  --series-accent: #0f7b45;
}

.series-card--formula {
  --series-accent: #9f0d10;
}

.series-card--flessia {
  --series-accent: #5d50a7;
}

.series-card__visual {
  position: relative;
  min-height: 340px;
  border-radius: 28px;
  padding: 0;
  background:
    linear-gradient(180deg, #f4efe7 0%, #e8dfd1 100%);
  overflow: hidden;
  border: 1px solid rgba(24, 34, 47, 0.06);
}

.series-card__visual img,
.series-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.series-card__visual img {
  object-position: center center;
}

.series-card__media {
  position: relative;
  height: 240px;
  padding: 0;
  margin: 0 0 2px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f4efe7 0%, #e8dfd1 100%);
  border: 1px solid rgba(24, 34, 47, 0.06);
}

.series-card__media img {
  object-position: center center;
}

.series-card__content p,
.series-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: #536476;
}

.series-card__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}

.series-card__logo {
  display: block;
  height: auto;
}

.series-card__logo--msd {
  width: 66px;
  flex: 0 0 auto;
  opacity: 0.92;
}

.series-card__logo--series {
  width: min(100%, 182px);
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}

.series-card__logo--premium {
  max-height: 42px;
}

.series-card__title {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #314355;
}

.series-card__wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 2px 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.series-card__wordmark--flessia {
  color: #5d50a7;
}

.series-card__facts,
.case-card__facts {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.series-card__facts li,
.case-card__facts li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: #4a596a;
}

.series-card__facts li + li,
.case-card__facts li + li {
  margin-top: 10px;
}

.series-card__facts li::before,
.case-card__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
}

.series-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

.series-card__meta span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(16, 32, 51, 0.05);
  font-size: 13px;
  font-weight: 700;
  color: #455668;
}

.section--cases {
  background:
    radial-gradient(circle at 84% 20%, rgba(88, 128, 175, 0.16), transparent 20%),
    linear-gradient(180deg, #132235 0%, #101c2c 100%);
}

.section-head--dark h2 {
  color: #f6f8fc;
}

.section-head__note--dark {
  color: rgba(228, 234, 242, 0.68);
}

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

.case-card {
  min-height: 100%;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.case-card .kicker {
  color: rgba(193, 208, 224, 0.8);
}

.case-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.12;
  color: #f5f8fc;
}

.case-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(222, 230, 239, 0.74);
}

.case-card__facts li {
  color: rgba(235, 241, 248, 0.8);
}

.section--price {
  padding-top: 104px;
}

.price-layout {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.price-panel {
  position: sticky;
  top: 114px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(24, 34, 47, 0.08);
  box-shadow: var(--shadow-medium);
}

.price-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.price-panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.price-panel__facts {
  display: grid;
  gap: 18px;
  margin: 28px 0 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(24, 34, 47, 0.08);
}

.price-panel__facts span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #60748a;
}

.price-panel__facts strong {
  font-size: 18px;
  line-height: 1.2;
}

.price-table {
  padding: 16px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.78);
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 24px;
}

.price-table thead th {
  padding: 20px 18px;
  background: #eff4fa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  color: #4d6075;
}

.price-table tbody td {
  padding: 20px 18px;
  border-bottom: 1px solid rgba(24, 34, 47, 0.08);
  font-size: 15px;
  line-height: 1.55;
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table tbody td:first-child {
  font-weight: 800;
}

.section--cta {
  padding-top: 112px;
}

.cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  padding: 30px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 14% 14%, rgba(217, 195, 162, 0.18), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(65, 104, 145, 0.28), transparent 20%),
    linear-gradient(145deg, #132235 0%, #102033 48%, #16283d 100%);
  box-shadow: var(--shadow-strong);
}

.cta-copy {
  padding: 18px 10px 18px 6px;
}

.cta-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #f5f8fc;
}

.cta-copy p {
  margin: 0;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(226, 234, 242, 0.74);
}

.cta-copy__contacts {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.cta-copy__contacts a,
.cta-copy__contacts span {
  font-size: 16px;
  line-height: 1.6;
  color: #f5f8fc;
}

.contact-form {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
}

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

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

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

.field span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #576a7f;
}

.field input,
.field textarea {
  width: 100%;
  padding: 17px 18px;
  border: 1px solid rgba(24, 34, 47, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(15, 123, 93, 0.45);
  box-shadow: 0 0 0 4px rgba(15, 123, 93, 0.08);
}

.consent {
  display: flex;
  gap: 12px;
  align-items: start;
  margin: 18px 0 26px;
  font-size: 14px;
  line-height: 1.6;
  color: #536476;
}

.consent input {
  margin-top: 2px;
}

.site-footer {
  padding: 34px 0 48px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.55fr));
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid rgba(24, 34, 47, 0.08);
}

.brand--footer .brand__copy span {
  max-width: 320px;
}

.site-footer__brand p {
  max-width: 420px;
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

.site-footer__column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer__column h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #56697c;
}

.site-footer__column a,
.site-footer__column p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #4f6072;
}

@media (max-width: 1180px) {
  .wrap {
    width: min(1360px, calc(100vw - 48px));
  }

  .site-header__row,
  .hero__grid,
  .price-layout,
  .cta-shell,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: start;
    flex-wrap: wrap;
  }

  .site-header__actions {
    justify-content: space-between;
  }

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

  .series-card--featured {
    grid-column: span 2;
  }

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

  .price-panel {
    position: static;
  }

  .hero__grid {
    min-height: 520px;
  }

  .hero__copy {
    padding: 48px 0 52px;
  }
}

@media (max-width: 960px) {
  .hero::before {
    background-position: right center;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(247, 243, 236, 0.86), rgba(247, 243, 236, 0.62)),
      linear-gradient(rgba(16, 32, 51, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(16, 32, 51, 0.03) 1px, transparent 1px);
    background-size: auto, 72px 72px, 72px 72px;
  }

  .site-header__row {
    gap: 18px;
  }

  .main-nav,
  .site-header__actions {
    display: none;
  }

  .products-showcase,
  .cases-grid,
  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .section-head--split,
  .series-card--featured {
    grid-template-columns: 1fr;
  }

  .series-card--featured {
    grid-column: span 1;
  }

  .hero__grid {
    min-height: auto;
  }

  .hero__copy {
    padding: 42px 0 34px;
  }

  .products-brand {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(1360px, calc(100vw - 32px));
  }

  .section {
    padding: 84px 0;
  }

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

  .hero__copy {
    padding: 34px 0 30px;
  }

  .products-brand {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .series-card__brand {
    flex-wrap: wrap;
  }

  .metric-card,
  .series-card,
  .case-card,
  .price-panel,
  .contact-form,
  .cta-shell {
    padding-left: 22px;
    padding-right: 22px;
  }

  .price-table {
    padding: 10px;
    overflow-x: auto;
  }

  .price-table table {
    min-width: 680px;
  }

  .cta-shell {
    padding: 22px;
  }
}
