@charset "UTF-8";
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-400-italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/manrope-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/manrope-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/manrope-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/manrope-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/manrope-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/manrope-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/manrope-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/manrope-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --wine: #6e1e28;
  --wine-deep: #4a121a;
  --gold: #b08d57;
  --gold-ink: #8a6a3b;
  --ink: #161212;
  --muted: #6f6862;
  --cream: #f7f4ee;
  --paper: #fffdf9;
  --sand: #ece5da;
  --line: rgba(22, 18, 18, 0.14);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1240px;
  --radius: 10px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

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

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

::selection {
  background: var(--wine);
  color: var(--paper);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

section[id],
footer[id] {
  scroll-margin-top: 96px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--wine);
  color: var(--paper);
  font-size: 13px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Typography helpers ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 4.4vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--wine);
}

.section-lead {
  max-width: 54ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn--solid {
  background: var(--wine);
  color: var(--paper);
}

.btn--solid:hover {
  background: var(--wine-deep);
}

.btn--ghost {
  border-color: rgba(22, 18, 18, 0.3);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--light {
  background: var(--paper);
  color: var(--wine-deep);
}

.btn--light:hover {
  background: var(--sand);
}

.btn--outline-light {
  border-color: rgba(255, 253, 249, 0.4);
  color: var(--paper);
}

.btn--outline-light:hover {
  background: rgba(255, 253, 249, 0.1);
  border-color: rgba(255, 253, 249, 0.7);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}

.site-header.is-scrolled {
  background: rgba(247, 244, 238, 0.96);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 86px;
}

.brand {
  flex: none;
  border-radius: 50%;
  transition: transform 0.3s var(--ease);
}

.brand:hover {
  transform: rotate(-4deg);
}

.brand img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin-left: auto;
}

.nav__link {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(22, 18, 18, 0.78);
  padding: 8px 0;
  transition: color 0.2s;
}

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

.nav__link:hover,
.nav__link.is-active {
  color: var(--wine);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__footer {
  display: none;
}

.header__phone {
  flex: none;
  margin-left: clamp(10px, 1.6vw, 22px);
  padding: 10px 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s;
}

.header__phone:hover {
  color: var(--wine);
}

.burger {
  display: none;
  flex: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(44px, 6vw, 82px) 0 clamp(68px, 9vw, 116px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -16%;
  right: -10%;
  width: min(60vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(110, 30, 40, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(176, 141, 87, 0.1), transparent 62%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.hero__content {
  max-width: 640px;
}

.hero h1 {
  margin: 24px 0 26px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.1rem, 6.4vw, 5.7rem);
  line-height: 0.97;
  letter-spacing: -0.018em;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--wine);
}

.hero__lead {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(15.5px, 1.3vw, 17px);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3.4vw, 44px);
  margin-top: clamp(36px, 5vw, 54px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

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

.hero__fact-value {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}

.hero__fact-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.hero__media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 460px;
}

.hero__frame {
  position: relative;
  padding: 0;
  border: 1px solid rgba(110, 30, 40, 0.32);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero__frame img {
  width: 100%;
  aspect-ratio: 342 / 460;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 22px 15px;
  background: var(--wine);
  color: var(--paper);
  border-radius: var(--radius);
}

.hero__badge strong {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.hero__badge span {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.72;
}

/* ---------- Price band ---------- */

.price-band {
  background: var(--wine);
  color: var(--cream);
}

.price-band__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.price-band__item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 27px clamp(18px, 2.4vw, 32px);
  border-left: 1px solid rgba(255, 253, 249, 0.14);
  transition: background-color 0.25s var(--ease);
}

.price-band__item:first-child {
  border-left: 0;
  padding-left: 0;
}

.price-band__item:last-child {
  padding-right: 0;
}

.price-band__item:hover {
  background: rgba(0, 0, 0, 0.14);
}

.price-band__name {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
}

.price-band__value {
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 500;
  line-height: 1.2;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #131010;
  color: rgba(255, 253, 249, 0.72);
  padding: 52px 0 26px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 253, 249, 0.12);
}

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

.footer__brand img {
  border-radius: 50%;
}

.footer__name {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--paper);
  line-height: 1.1;
}

.footer__tagline {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, 0.5);
}

.footer__phone {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  color: var(--paper);
  transition: color 0.2s;
}

.footer__phone:hover {
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255, 253, 249, 0.65);
}

.footer__bottom a {
  color: rgba(255, 253, 249, 0.7);
  transition: color 0.2s;
}

.footer__bottom a:hover {
  color: var(--gold);
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.section-head {
  margin-bottom: clamp(36px, 4.6vw, 58px);
}

.section-head__row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-top: 26px;
}

.section-head__row .section-lead {
  margin-top: 0;
  padding-bottom: 6px;
}

/* ---------- Packages ---------- */

.packages {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.packages__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
  align-items: stretch;
}

.package {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 32px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s var(--ease);
}

.package:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 30, 40, 0.38);
  box-shadow: 0 26px 54px rgba(22, 18, 18, 0.07);
}

.package__head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.package__index {
  display: block;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-ink);
}

.package__name {
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.package__desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.package__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 22px;
}

.package__price span {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.package__price small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.package__list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 12.8px;
  line-height: 1.5;
  color: rgba(22, 18, 18, 0.86);
}

.package__list li {
  position: relative;
  padding-left: 15px;
}

.package__list li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--gold);
  transform: rotate(45deg);
}

.package__list > li > strong {
  display: block;
  font-weight: 700;
  color: var(--ink);
}

.package__list > li > ul {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 5px;
  padding: 0;
  list-style: none;
}

.package__list > li > ul > li {
  padding-left: 12px;
  font-size: 11.6px;
  line-height: 1.45;
  color: rgba(22, 18, 18, 0.62);
}

.package__list > li > ul > li::before {
  top: 0.62em;
  width: 3px;
  height: 3px;
  background: rgba(176, 141, 87, 0.7);
}

.package__list > li > ul > li.package__sub-note {
  font-style: italic;
}

.package__list > li > ul > li.package__sub-note::before {
  content: none;
}

.package__gift {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px dashed rgba(176, 141, 87, 0.55);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  color: var(--wine);
}

.package__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
  padding-top: 24px;
}

.btn--sm {
  min-height: 46px;
  padding: 12px 18px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
}

.package__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: center;
  min-height: 44px;
  padding: 12px 8px 4px;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(110, 30, 40, 0.3);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.package__link:hover {
  border-color: var(--wine);
}

.package__link span {
  transition: transform 0.25s var(--ease);
}

.package__link:hover span {
  transform: translateX(3px);
}

.packages__note {
  max-width: 68ch;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

/* ---------- Package details modal ---------- */

.package-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  border: 0;
  padding: 0;
  width: min(760px, 92vw);
  max-height: 90vh;
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(22, 18, 18, 0.28);
  overflow: hidden;
}

.package-modal::backdrop {
  background: rgba(22, 18, 18, 0.55);
  backdrop-filter: blur(2px);
}

.package-modal__scroll {
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(24px, 3vw, 36px);
}

.package-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  background: rgba(22, 18, 18, 0.06);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.package-modal__close:hover {
  background: rgba(110, 30, 40, 0.12);
  color: var(--wine);
}

.package-modal__header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.package-modal__index {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-ink);
}

.package-modal__title {
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.package-modal__desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.package-modal__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.package-modal__price span {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.package-modal__price small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.package-modal__highlights {
  margin: 18px 0;
}

.package-modal__body {
  margin-top: 6px;
}

.package-modal__body .package__list {
  display: flex;
  column-count: 1;
}

.package-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.package__highlights {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(22, 18, 18, 0.78);
}

.package__highlights li {
  position: relative;
  padding-left: 14px;
}

.package__highlights li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--gold);
  transform: rotate(45deg);
}

.package__details[hidden] {
  display: none;
}

/* ---------- Calculator ---------- */

.calculator {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.calculator::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -12%;
  width: 56vw;
  max-width: 760px;
  aspect-ratio: 1;
  border: 1px solid rgba(176, 141, 87, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.calculator__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5.5vw, 78px);
  align-items: center;
}

.calculator .eyebrow {
  color: var(--gold);
}

.calculator .section-title {
  margin-top: 24px;
  color: var(--paper);
}

.calculator .section-title em {
  color: #d9b88d;
}

.calculator .section-lead {
  max-width: 42ch;
  color: rgba(255, 253, 249, 0.6);
}

.calc-facts {
  margin-top: 38px;
  border-top: 1px solid rgba(255, 253, 249, 0.14);
}

.calc-facts__item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 253, 249, 0.1);
}

.calc-facts dt {
  padding-top: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.calc-facts dd {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 253, 249, 0.74);
}

.calc {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

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

.calc__legend {
  display: block;
  margin: 0 0 12px;
  padding: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, 0.5);
}

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

.calc-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.calc-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.calc-option__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  padding: 14px;
  border: 1px solid rgba(255, 253, 249, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.02);
  transition: border-color 0.2s, background-color 0.2s;
}

.calc-option__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--paper);
}

.calc-option__price {
  font-size: 10.5px;
  line-height: 1.4;
  color: rgba(255, 253, 249, 0.7);
}

.calc-option:hover .calc-option__body {
  border-color: rgba(255, 253, 249, 0.34);
}

.calc-option input:checked + .calc-option__body {
  border-color: var(--gold);
  background: rgba(176, 141, 87, 0.13);
}

.calc-option input:checked + .calc-option__body .calc-option__price {
  color: rgba(255, 253, 249, 0.8);
}

.calc-option input:focus-visible + .calc-option__body {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.calc__area-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 3px;
}

.calc__area-head .calc__legend {
  margin: 0;
}

.calc__area-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.calc__area-value input {
  width: 88px;
  padding: 2px 8px 4px;
  border: 1px solid rgba(255, 253, 249, 0.2);
  border-radius: 8px;
  background: transparent;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  -moz-appearance: textfield;
}

.calc__area-value input::-webkit-outer-spin-button,
.calc__area-value input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc__area-value span {
  font-size: 12px;
  color: rgba(255, 253, 249, 0.5);
}

.calc__range {
  --fill: 11%;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.calc__range::-webkit-slider-runnable-track {
  width: 100%;
  height: 44px;
  background: linear-gradient(to right, var(--gold) 0 var(--fill), rgba(255, 253, 249, 0.18) var(--fill) 100%) center / 100% 2px no-repeat;
}

.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: 13px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 6px rgba(176, 141, 87, 0.14);
}

.calc__range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 6px rgba(176, 141, 87, 0.14);
}

.calc__range::-moz-range-track {
  width: 100%;
  height: 44px;
  background: linear-gradient(to right, var(--gold) 0 var(--fill), rgba(255, 253, 249, 0.18) var(--fill) 100%) center / 100% 2px no-repeat;
}

.calc__range::-moz-range-progress {
  background: transparent;
}

.calc__range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: -11px;
  pointer-events: none;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255, 253, 249, 0.65);
}

.calc__result {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  background: var(--wine);
  border-radius: var(--radius-lg);
}

.calc__result::after {
  content: "";
  position: absolute;
  top: -96px;
  right: -72px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 253, 249, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.calc__result-label {
  position: relative;
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, 0.6);
}

.calc__total {
  position: relative;
  margin: 12px 0 22px;
  font-family: var(--serif);
  font-size: clamp(26px, 3.3vw, 39px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.calc__total small {
  font-size: 0.62em;
  color: rgba(255, 253, 249, 0.72);
}

.calc__meta {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(255, 253, 249, 0.16);
  border-bottom: 1px solid rgba(255, 253, 249, 0.16);
}

.calc__meta dt {
  margin-bottom: 4px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, 0.72);
}

.calc__meta dd {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--paper);
}

.calc__actions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.calc__actions .btn {
  min-height: 48px;
  padding: 13px 16px;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.calc__note {
  position: relative;
  margin-top: 14px;
  font-size: 10.5px;
  line-height: 1.55;
  color: rgba(255, 253, 249, 0.7);
}

/* ---------- Portfolio ---------- */

.portfolio {
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.portfolio__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.filter {
  min-height: 40px;
  padding: 9px 18px;
  border: 1px solid rgba(22, 18, 18, 0.18);
  border-radius: 999px;
  background: transparent;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.filter:hover {
  border-color: var(--wine);
  color: var(--wine);
}

.filter.is-active {
  border-color: var(--wine);
  background: var(--wine);
  color: var(--paper);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.work {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s var(--ease);
}

.work:hover {
  border-color: rgba(110, 30, 40, 0.38);
  box-shadow: 0 20px 44px rgba(22, 18, 18, 0.05);
}

.work.is-hidden {
  display: none;
}

.work__media {
  position: relative;
  aspect-ratio: 1 / 1.14;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 50% 42%, #f7f2e9 0%, #ece4d7 100%);
}

.work__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work__badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  border-radius: 0 0 10px 0;
  padding: 8px 12px;
  background: var(--wine);
  color: var(--paper);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.work__mark {
  position: absolute;
  top: 43%;
  left: 50%;
  z-index: 1;
  width: 78px;
  height: 78px;
  transform: translate(-50%, -50%);
  opacity: 0.14;
  border-radius: 50%;
  transition: opacity 0.3s;
}

.work:hover .work__mark {
  opacity: 0.24;
}

.work__placeholder {
  position: absolute;
  right: 22px;
  bottom: 26px;
  left: 22px;
  z-index: 2;
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.25;
  text-align: center;
  color: rgba(22, 18, 18, 0.6);
}

.work__placeholder small {
  display: block;
  margin-top: 7px;
  font-family: var(--sans);
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.8;
}

.work__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 20px 20px;
}

.work__title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
}

.work__meta {
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--muted);
}

.work__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(110, 30, 40, 0.26);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine);
  transition: border-color 0.2s;
}

.work__link:hover {
  border-color: var(--wine);
}

.work__link span {
  transition: transform 0.25s var(--ease);
}

.work__link:hover span {
  transform: translateX(3px);
}

.portfolio__status {
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.package {
  scroll-margin-top: 110px;
}

/* ---------- Panoramas ---------- */

.panorama {
  margin-top: clamp(28px, 3vw, 44px);
}

.panorama__packages {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 14px;
}

.panorama__package {
  position: relative;
  padding: 3px 0 7px;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}

.panorama__package::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.panorama__package:hover,
.panorama__package.is-active {
  color: var(--wine);
}

.panorama__package.is-active::after {
  transform: scaleX(1);
}

.panorama__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.panorama__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panorama__tab {
  min-height: 40px;
  padding: 9px 18px;
  border: 1px solid rgba(22, 18, 18, 0.18);
  border-radius: 999px;
  background: transparent;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.panorama__tab[hidden] {
  display: none;
}

.panorama__tab:hover {
  border-color: var(--wine);
  color: var(--wine);
}

.panorama__tab.is-active {
  border-color: var(--wine);
  background: var(--wine);
  color: var(--paper);
}

.panorama__badge {
  flex: 0 0 auto;
  padding: 7px 14px;
  border: 1px solid rgba(176, 141, 87, 0.55);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
}

.panorama__viewer {
  position: relative;
  width: 100%;
  height: clamp(320px, 52vw, 620px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #161212;
}

.panorama__hint {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .panorama__bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .panorama__badge {
    display: none;
  }

  .panorama__viewer {
    height: 62vw;
    min-height: 300px;
  }

  .panorama__hint {
    flex-direction: column;
    gap: 3px;
  }
}

@media (max-width: 640px) {
  .package-modal {
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }

  .package-modal__scroll {
    max-height: 100vh;
  }
}

/* ---------- Panorama fullscreen button ---------- */

.pnlm-fullscreen-toggle-button {
  display: none !important;
}

.pnlm-compass {
  display: none !important;
}

.panorama__fullscreen {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(22, 18, 18, 0.55);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.panorama__fullscreen:hover {
  background: rgba(110, 30, 40, 0.75);
  border-color: rgba(176, 141, 87, 0.7);
}

.panorama__fullscreen:active {
  transform: translateY(-50%) scale(0.94);
}

.panorama__fullscreen svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

@media (max-width: 640px) {
  .panorama__fullscreen {
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .panorama__fullscreen svg {
    width: 18px;
    height: 18px;
  }
}

/* ---------- Panorama pseudo-fullscreen (iOS fallback) ---------- */

.panorama__viewer.is-fullscreen {
  position: fixed;
  inset: 0;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  border-radius: 0;
  margin: 0;
}

body.pano-fullscreen {
  overflow: hidden;
}

/* ---------- Process ---------- */

.process {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.process__intro {
  position: sticky;
  top: 118px;
}

.process__phone {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 34px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(110, 30, 40, 0.28);
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 27px);
  font-weight: 600;
  line-height: 1.15;
  transition: color 0.2s, border-color 0.2s;
}

.process__phone span {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.process__phone:hover {
  border-color: var(--wine);
  color: var(--wine);
}

.steps {
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.step__num {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--gold-ink);
}

.step__title {
  font-family: var(--serif);
  font-size: clamp(23px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.1;
  transition: color 0.2s;
}

.step:hover .step__title {
  color: var(--wine);
}

.step__text {
  max-width: 54ch;
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--muted);
}

/* ---------- Contacts ---------- */

.contacts {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--wine);
  color: var(--cream);
}

.contacts::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -8%;
  width: 48vw;
  max-width: 620px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 253, 249, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.contacts__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.contacts .eyebrow {
  color: #d9b88d;
}

.contacts .section-title {
  margin-top: 22px;
  color: var(--paper);
}

.contacts .section-title em {
  color: #d9b88d;
}

.contacts .section-lead {
  max-width: 42ch;
  color: rgba(255, 253, 249, 0.68);
}

.contacts__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 28px;
  margin-top: 34px;
}

.contacts__phone {
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 253, 249, 0.3);
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.contacts__phone:hover {
  border-color: #d9b88d;
  color: #d9b88d;
}

.contacts__note {
  margin-top: 18px;
  font-size: 11.5px;
  color: rgba(255, 253, 249, 0.75);
}

.contacts__social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 253, 249, 0.3);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, 0.82);
  transition: color 0.2s, border-color 0.2s;
}

.contacts__social svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.contacts__social:hover {
  color: var(--paper);
  border-color: var(--gold);
}

.contacts__media {
  justify-self: end;
  width: 100%;
  max-width: 330px;
}

.contacts__frame {
  padding: 0;
  border: 1px solid rgba(255, 253, 249, 0.28);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-sizing: border-box;
}

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

.contacts__media figcaption {
  margin-top: 10px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: right;
  color: rgba(255, 253, 249, 0.72);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@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;
  }

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

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: 1fr 0.86fr;
    gap: 44px;
  }

}

@media (max-width: 920px) {
  .hero::after {
    display: none;
  }

  .site-header {
    background: var(--cream);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 60;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 92px clamp(24px, 8vw, 56px) 40px;
    background: var(--cream);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__link {
    font-family: var(--serif);
    font-size: clamp(30px, 6vw, 40px);
    font-weight: 500;
    line-height: 1.3;
    color: var(--ink);
    padding: 4px 0;
  }

  .nav__link::after {
    display: none;
  }

  .nav__link:hover,
  .nav__link.is-active {
    color: var(--wine);
  }

  .nav__footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }

  .nav__phone {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    color: var(--wine);
  }

  .header__phone {
    display: none;
  }

  .burger {
    display: block;
    position: relative;
    z-index: 70;
  }

  .brand {
    position: relative;
    z-index: 70;
  }

  .header__inner {
    min-height: 76px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__media {
    justify-self: start;
    max-width: 430px;
    margin: 0 0 0 clamp(12px, 4vw, 32px);
  }

  .hero::before {
    display: none;
  }

  .price-band__inner {
    grid-template-columns: 1fr;
  }

  .price-band__item,
  .price-band__item:first-child,
  .price-band__item:last-child {
    padding: 20px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 253, 249, 0.14);
  }

  .price-band__item:first-child {
    border-top: 0;
  }

  .price-band__item:hover {
    background: transparent;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(2.9rem, 13vw, 4rem);
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 18px;
  }

  .hero__fact:last-child {
    grid-column: 1 / -1;
  }

  .hero__badge {
    left: 12px;
    bottom: 12px;
  }

  .hero__media {
    margin-left: 0;
    margin-bottom: 26px;
  }

  .hero__badge strong {
    font-size: 23px;
  }

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

  .header__inner {
    gap: 14px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 1024px) {
  .packages__grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
  }

  .package__list {
    display: block;
    column-count: 2;
    column-gap: 32px;
  }

  .package__list > li {
    break-inside: avoid;
    margin-bottom: 13px;
  }

  .package__actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 860px) {
  .section-head__row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-lead {
    margin-top: 16px;
  }
}

@media (max-width: 640px) {
  .package__list {
    column-count: 1;
  }

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

  .package__link {
    align-self: center;
  }
}

@media (max-width: 980px) {
  .calculator__grid {
    grid-template-columns: 1fr;
  }

  .calculator .section-lead {
    max-width: 56ch;
  }

  .calc-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 0;
    border-bottom: 1px solid rgba(255, 253, 249, 0.12);
    margin-top: 30px;
  }

  .calc-facts__item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 16px;
    border-bottom: 0;
    border-left: 1px solid rgba(255, 253, 249, 0.1);
  }

  .calc-facts__item:first-child {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .calc-facts {
    grid-template-columns: 1fr;
  }

  .calc-facts__item,
  .calc-facts__item:first-child {
    padding: 12px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 253, 249, 0.1);
  }

  .calc-facts__item:last-child {
    border-bottom: 0;
  }

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

  .calc__meta > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .calc__packages {
    grid-template-columns: 1fr;
  }

  .calc-option__body {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
  }

  .calculator .section-title {
    font-size: clamp(2.3rem, 10vw, 3.1rem);
  }
}

@media (max-width: 1024px) {
  .portfolio__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .portfolio__grid {
    grid-template-columns: 1fr;
  }

  .work__media {
    aspect-ratio: 1 / 1;
  }

  .filter {
    flex: 1 1 auto;
    padding: 9px 14px;
  }
}

/* ---------- Footer navigation ---------- */

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 12.5px;
  color: rgba(255, 253, 249, 0.62);
}

.footer__nav a {
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--gold);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.footer__wa {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 0;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.2s;
}

.footer__wa:hover {
  color: #d9b88d;
}

@media (max-width: 980px) {
  .process__grid {
    grid-template-columns: 1fr;
  }

  .process__intro {
    position: static;
  }

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

  .contacts__media {
    justify-self: start;
    max-width: 280px;
  }

  .contacts__media figcaption {
    text-align: left;
  }
}

@media (max-width: 860px) {
  .footer__top {
    align-items: flex-start;
  }

  .footer__nav {
    order: 3;
    flex-basis: 100%;
    padding-top: 6px;
  }
}

@media (max-width: 640px) {
  .step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
  }

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

  .contacts__actions .btn {
    width: 100%;
  }

  .contacts__phone {
    font-size: clamp(26px, 8vw, 34px);
  }

  .contacts__media {
    max-width: 240px;
  }

  .footer__contact {
    align-items: flex-start;
  }
}

.calc__note a {
  color: inherit;
  border-bottom: 1px solid currentColor;
}
