:root {
  --paper: #f8f5f1;
  --milk: #f0ebe4;
  --line: rgba(91, 87, 82, 0.16);
  --burgundy: #5b0f1a;
  --burgundy-hover: #731827;
  --text: #242220;
  --muted: #665f58;
  --soft: #ffffff;
  --gold: #b68a45;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.modal-lock,
html.modal-lock body {
  overflow: hidden;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 6%, rgba(91, 15, 26, 0.055), transparent 26rem),
    linear-gradient(180deg, var(--paper) 0%, #fff 42%, var(--paper) 100%);
  color: var(--text);
  font-family: Rubik, Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body::selection {
  background: rgba(91, 15, 26, 0.18);
}

h1,
h2,
h3,
.font-display {
  font-family: Rubik, Inter, system-ui, sans-serif;
  letter-spacing: 0;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
a,
input,
select,
textarea {
  outline-color: var(--burgundy);
}

:focus-visible {
  outline: 2px solid rgba(91, 15, 26, 0.55);
  outline-offset: 3px;
}

.container-shell {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(70px, 8vw, 116px);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}

.display-title {
  font-size: clamp(42px, 6.1vw, 82px);
  font-weight: 650;
  line-height: 1.04;
}

.section-title {
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 600;
  line-height: 1.12;
}

.lead-text {
  color: var(--muted);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--burgundy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--burgundy-hover);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(91, 15, 26, 0.34);
  color: var(--burgundy);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.icon-btn {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--burgundy);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.icon-btn:hover {
  border-color: rgba(91, 15, 26, 0.34);
  background: #fff;
  transform: translateY(-1px);
}

.glass-header {
  border-bottom: 1px solid transparent;
  background: rgba(248, 245, 241, 0.82);
  backdrop-filter: blur(18px);
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.glass-header.is-scrolled {
  border-color: var(--line);
  background: rgba(248, 245, 241, 0.92);
  box-shadow: 0 16px 42px rgba(36, 34, 32, 0.06);
}

.glass-header > .lg\:hidden {
  background: var(--paper) !important;
  box-shadow: 0 22px 50px rgba(36, 34, 32, 0.12);
}

.glass-header > .lg\:hidden nav {
  background: var(--paper);
}

.glass-header > [x-show="mobileOpen"] {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(91, 87, 82, 0.2) !important;
  background: #f8f5f1 !important;
  box-shadow: 0 22px 50px rgba(36, 34, 32, 0.14);
}

.glass-header > [x-show="mobileOpen"]::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #f8f5f1;
  content: "";
}

.glass-header > [x-show="mobileOpen"] nav,
.glass-header > [x-show="mobileOpen"] a {
  background: #f8f5f1 !important;
  color: var(--text) !important;
}

.glass-header > [x-show="mobileOpen"] a:hover {
  color: var(--burgundy) !important;
}

.mobile-menu-panel {
  position: relative;
  display: block;
  z-index: 60;
  isolation: isolate;
  border-color: rgba(91, 87, 82, 0.2) !important;
  background-color: #f8f5f1 !important;
  background-image: linear-gradient(#f8f5f1, #f8f5f1) !important;
  box-shadow: 0 22px 50px rgba(36, 34, 32, 0.14);
  backdrop-filter: none !important;
  clip-path: inset(0 -100vmax);
}

.mobile-menu-panel::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: 100vw;
  background: #f8f5f1;
  content: "";
  transform: translateX(-50%);
}

.mobile-menu-panel nav {
  position: relative;
  z-index: 1;
  background: transparent !important;
}

.mobile-menu-panel a {
  display: block;
  background: transparent !important;
  color: #242220 !important;
}

.mobile-menu-panel a:hover,
.mobile-menu-panel a:focus-visible {
  background-color: #f0ebe4 !important;
  color: #5b0f1a !important;
}

.mobile-menu-panel .btn {
  background: var(--burgundy) !important;
  color: #fff !important;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav-link {
  position: relative;
  color: rgba(36, 34, 32, 0.78);
  font-size: 13px;
  font-weight: 600;
  transition: color 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--burgundy);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--burgundy);
}

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

.hero-photo {
  position: relative;
  min-height: min(72vh, 760px);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(36, 34, 32, 0.12);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.02);
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(36, 34, 32, 0.44) 100%);
  content: "";
}

.hero-note {
  border: 1px solid rgba(91, 15, 26, 0.18);
  background: rgba(248, 245, 241, 0.96);
  box-shadow: 0 18px 48px rgba(36, 34, 32, 0.16);
  backdrop-filter: blur(18px);
}

.soft-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 48px rgba(36, 34, 32, 0.045);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.soft-card:hover {
  border-color: rgba(91, 15, 26, 0.28);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 54px rgba(36, 34, 32, 0.07);
  transform: translateY(-3px);
}

.media-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: var(--milk);
  box-shadow: 0 24px 60px rgba(36, 34, 32, 0.1);
}

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

.about-media-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(140px, 0.72fr);
}

.about-media-main {
  min-height: 560px;
}

.about-media-side {
  min-height: 250px;
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.timeline-step {
  position: relative;
}

.timeline-step::before {
  position: absolute;
  top: 24px;
  left: 23px;
  width: 1px;
  height: calc(100% + 28px);
  background: var(--line);
  content: "";
}

.timeline-step:last-child::before {
  display: none;
}

.step-mark {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(91, 15, 26, 0.24);
  border-radius: 999px;
  background: #fff;
  color: var(--burgundy);
  font-weight: 700;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--milk);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 600ms ease, filter 600ms ease;
}

.gallery-tile:hover img {
  filter: saturate(1.04);
  transform: scale(1.045);
}

.gallery-tile::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(36, 34, 32, 0.36));
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
}

.gallery-tile:hover::after {
  opacity: 1;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 236px;
  flex-direction: column;
  border: 1px solid rgba(91, 87, 82, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 245, 241, 0.86)),
    #fff;
  padding: 24px;
  box-shadow: 0 18px 44px rgba(36, 34, 32, 0.055);
}

.price-value {
  color: var(--burgundy);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.12;
}

.contact-action {
  min-height: 76px;
}

.video-feature {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  padding: clamp(16px, 2.4vw, 26px);
  text-align: left;
  box-shadow: 0 22px 58px rgba(36, 34, 32, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.video-feature:hover,
.video-card:hover {
  border-color: rgba(91, 15, 26, 0.34);
  box-shadow: 0 26px 64px rgba(36, 34, 32, 0.11);
  transform: translateY(-2px);
}

.video-phone-shell {
  display: block;
  width: min(100%, 245px);
  justify-self: center;
  border: 8px solid #242220;
  border-radius: 28px;
  background: #242220;
  box-shadow: 0 18px 42px rgba(36, 34, 32, 0.18);
}

.video-poster {
  position: relative;
  display: block;
  min-height: 220px;
  overflow: hidden;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(91, 15, 26, 0.92), rgba(182, 138, 69, 0.56)),
    url("../img/gallery/1.jpg") center / cover;
}

.video-poster::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 34, 32, 0.05), rgba(36, 34, 32, 0.42));
  content: "";
}

.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-poster-portrait {
  aspect-ratio: 9 / 16;
  min-height: 0;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(91, 15, 26, 0.68), rgba(36, 34, 32, 0.2)),
    url("../img/gallery/11.jpg") center top / cover;
}

.video-poster-1 {
  background:
    linear-gradient(145deg, rgba(91, 15, 26, 0.66), rgba(36, 34, 32, 0.18)),
    url("../img/gallery/2.jpg") center / cover;
}

.video-poster-2 {
  background:
    linear-gradient(145deg, rgba(91, 15, 26, 0.62), rgba(36, 34, 32, 0.18)),
    url("../img/gallery/6.jpg") center / cover;
}

.video-poster-3 {
  background:
    linear-gradient(145deg, rgba(91, 15, 26, 0.62), rgba(36, 34, 32, 0.18)),
    url("../img/gallery/8.jpg") center / cover;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--burgundy);
  box-shadow: 0 14px 36px rgba(36, 34, 32, 0.16);
  transform: translate(-50%, -50%);
}

.video-feature-copy,
.video-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.video-tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(91, 15, 26, 0.1);
  color: var(--burgundy);
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.video-title {
  color: var(--text);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 650;
  line-height: 1.12;
}

.video-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.video-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  text-align: left;
  box-shadow: 0 18px 48px rgba(36, 34, 32, 0.055);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.video-card-media {
  display: block;
}

.video-card .video-poster {
  min-height: 190px;
  border-radius: 0;
}

.video-card-body {
  padding: 18px;
}

.video-card .video-title {
  font-size: 22px;
}

.video-modal {
  width: min(100% - 24px, 980px);
  max-height: min(92vh, 860px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(36, 34, 32, 0.26);
}

.video-modal.is-vertical {
  width: min(100% - 24px, 520px);
}

.video-player {
  display: block;
  width: 100%;
  max-height: 72vh;
  border-radius: 10px;
  background: #111;
}

.video-modal.is-vertical .video-player {
  max-height: 76vh;
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

.field {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.field:focus {
  border-color: rgba(91, 15, 26, 0.46);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(91, 15, 26, 0.08);
}

select.field {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--burgundy) 50%),
    linear-gradient(135deg, var(--burgundy) 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 21px,
    calc(100% - 13px) 21px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

input[type="date"].field {
  color-scheme: light;
}

textarea.field {
  min-height: 104px;
  resize: vertical;
}

.field-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  white-space: nowrap;
}

.field-button span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.field-button svg,
.field-button img,
.btn svg,
.btn img,
.contact-action svg,
.contact-action img {
  flex: 0 0 auto;
}

.field-placeholder {
  color: rgba(102, 95, 88, 0.74);
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.field-error {
  margin-top: 6px;
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 600;
}

.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  padding: 12px 13px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.choice:hover,
.choice.is-active {
  border-color: rgba(91, 15, 26, 0.38);
  background: #fff;
  color: var(--burgundy);
}

.choice-dot {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 1px solid rgba(91, 87, 82, 0.32);
  border-radius: 4px;
  background: #fff;
}

.choice.is-active .choice-dot {
  border-color: var(--burgundy);
  background: var(--burgundy);
  box-shadow: inset 0 0 0 4px #fff;
}

.select-wrap,
.date-picker {
  position: relative;
}

.select-menu,
.calendar-popover {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 25;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid rgba(91, 15, 26, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(36, 34, 32, 0.14);
}

.select-option {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  transition: background 180ms ease, color 180ms ease;
}

.select-option:hover,
.select-option.is-active {
  background: rgba(91, 15, 26, 0.08);
  color: var(--burgundy);
}

.calendar-popover {
  position: fixed;
  top: 50%;
  left: 50%;
  right: auto;
  width: min(360px, calc(100vw - 40px));
  max-width: 360px;
  max-height: calc(100vh - 48px);
  padding: 14px;
  transform: translate(-50%, -50%);
}

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

.calendar-title {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-transform: capitalize;
}

.calendar-nav {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--burgundy);
  transition: background 180ms ease, border-color 180ms ease;
}

.calendar-nav:hover {
  border-color: rgba(91, 15, 26, 0.34);
  background: rgba(91, 15, 26, 0.06);
}

.calendar-week,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-week {
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.calendar-grid {
  margin-top: 8px;
}

.calendar-day {
  display: inline-flex;
  min-width: 0;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.calendar-day:hover:not(:disabled),
.calendar-day.is-selected {
  border-color: rgba(91, 15, 26, 0.4);
  background: var(--burgundy);
  color: #fff;
}

.calendar-day.is-muted {
  color: rgba(102, 95, 88, 0.42);
}

.calendar-day.is-today:not(.is-selected) {
  border-color: rgba(91, 15, 26, 0.34);
  color: var(--burgundy);
}

.calendar-day:disabled {
  cursor: not-allowed;
  opacity: 0.36;
}

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

.messenger-choice {
  display: flex;
  min-height: 50px;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.messenger-choice:hover,
.messenger-choice.is-active {
  border-color: rgba(91, 15, 26, 0.38);
  background: #fff;
  color: var(--burgundy);
}

.messenger-choice img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  object-fit: contain;
}

.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--burgundy);
}

.consent-row a,
.legal-link,
.cookie-banner a {
  color: var(--burgundy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(91, 15, 26, 0.28);
  text-underline-offset: 3px;
}

.modal-panel {
  width: min(100% - 24px, 760px);
  max-height: min(88vh, 820px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(36, 34, 32, 0.24);
}

.progress-dot {
  height: 4px;
  border-radius: 999px;
  background: rgba(91, 87, 82, 0.18);
}

.progress-dot.is-active {
  background: var(--burgundy);
}

.social-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.social-icon-lg {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.contact-phone {
  white-space: nowrap;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: min(100% - 36px, 560px);
  border: 1px solid rgba(91, 15, 26, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: 18px;
  box-shadow: 0 24px 68px rgba(36, 34, 32, 0.18);
  backdrop-filter: blur(16px);
}

.legal-layout {
  padding-block: 132px 86px;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: clamp(22px, 4vw, 44px);
  box-shadow: 0 18px 48px rgba(36, 34, 32, 0.055);
}

.legal-card h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 650;
  line-height: 1.1;
}

.legal-card h2 {
  margin-top: 34px;
  color: var(--text);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 650;
  line-height: 1.25;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  margin-top: 12px;
  padding-left: 1.2rem;
}

.legal-card li + li {
  margin-top: 8px;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
}

[x-cloak] {
  display: none !important;
}

@media (max-width: 1023px) {
  .section-pad {
    padding-block: 76px;
  }

  .hero-note {
    right: 16px;
    bottom: 16px;
    max-width: min(360px, calc(100% - 32px));
  }

  .about-media-main {
    min-height: 420px;
  }

  .gallery-tile img {
    min-height: 220px;
  }
}

@media (max-width: 767px) {
  .container-shell {
    width: min(100% - 24px, 1180px);
  }

  .section-pad {
    padding-block: 54px;
  }

  .glass-header > .container-shell {
    height: 68px;
  }

  .mobile-menu-panel .container-shell {
    height: auto;
  }

  .glass-header {
    background: var(--paper);
  }

  .glass-header > .lg\:hidden {
    border-color: rgba(91, 87, 82, 0.2);
  }

  .glass-header > [x-show="mobileOpen"] {
    background: #f8f5f1 !important;
    backdrop-filter: none;
  }

  .mobile-menu-panel {
    background-color: #f8f5f1 !important;
    opacity: 1 !important;
  }

  main#top > section:first-child {
    padding-top: 94px;
    padding-bottom: 48px;
  }

  .btn {
    width: 100%;
    min-height: 46px;
    padding: 12px 16px;
    white-space: normal;
  }

  .btn svg,
  .btn img {
    flex: 0 0 auto;
  }

  .display-title {
    font-size: clamp(36px, 11vw, 48px);
    line-height: 1.08;
  }

  .section-title {
    font-size: clamp(28px, 8.6vw, 38px);
    line-height: 1.16;
  }

  .lead-text {
    font-size: 16px;
    line-height: 1.65;
  }

  .text-4xl,
  .md\:text-6xl {
    font-size: clamp(28px, 8.8vw, 40px) !important;
    line-height: 1.16 !important;
  }

  .section-kicker {
    font-size: 11px;
  }

  .section-kicker::before {
    width: 24px;
  }

  .stat-chip {
    padding: 7px 10px;
    font-size: 12px;
  }

  .hero-photo {
    min-height: 380px;
  }

  .hero-photo img {
    object-position: center top;
  }

  .hero-note {
    position: static !important;
    max-width: none;
    margin-top: 12px;
    padding: 14px;
  }

  .hero-note p {
    font-size: 13px;
    line-height: 1.55;
  }

  .about-media-grid {
    grid-template-columns: 1fr;
  }

  .about-media-main,
  .about-media-side {
    min-height: 300px;
  }

  .soft-card {
    box-shadow: 0 12px 32px rgba(36, 34, 32, 0.04);
  }

  .timeline-step {
    gap: 14px;
  }

  .timeline-step h3 {
    font-size: 20px;
    line-height: 1.24;
  }

  .step-mark {
    width: 40px;
    height: 40px;
  }

  .timeline-step::before {
    left: 19px;
  }

  .gallery-tile img {
    min-height: 220px;
  }

  .gallery-tile {
    min-height: 220px;
  }

  .contact-action {
    min-height: 64px;
  }

  .video-feature {
    grid-template-columns: 1fr;
    border-radius: 14px;
    padding: 14px;
  }

  .video-phone-shell {
    width: min(72vw, 230px);
  }

  .video-title {
    font-size: 24px;
  }

  .video-card .video-poster {
    min-height: 180px;
  }

  .video-modal {
    width: min(100% - 12px, 980px);
    max-height: 94vh;
    border-radius: 10px;
  }

  .video-modal.is-vertical {
    width: min(100% - 12px, 430px);
  }

  .video-player {
    max-height: 68vh;
  }

  .video-modal.is-vertical .video-player {
    max-height: 70vh;
  }

  .contact-phone {
    white-space: nowrap;
  }

  .contact-phone span {
    font-size: 14px;
  }

  .price-card {
    min-height: 0;
    padding: 20px;
  }

  .modal-panel {
    width: min(100% - 12px, 760px);
    max-height: 94vh;
    border-radius: 10px;
  }

  .modal-panel .sticky {
    padding: 16px;
  }

  .modal-panel h2 {
    font-size: 20px;
  }

  .modal-panel h3 {
    font-size: 24px;
    line-height: 1.2;
  }

  .field,
  .choice,
  .messenger-choice {
    font-size: 14px;
  }

  .field-button {
    min-height: 50px;
  }

  .floating-contact .btn {
    width: auto;
    min-width: 0;
    padding-inline: 16px;
  }

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

  .calendar-popover {
    width: min(340px, calc(100vw - 24px));
    max-width: none;
    padding: 12px;
  }

  .calendar-grid,
  .calendar-week {
    gap: 4px;
  }

  .calendar-day {
    border-radius: 7px;
    font-size: 12px;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 14px;
  }

  .legal-layout {
    padding-block: 96px 56px;
  }
}

@media (max-width: 420px) {
  .display-title {
    font-size: clamp(33px, 10.5vw, 42px);
  }

  .text-4xl,
  .md\:text-6xl {
    font-size: clamp(26px, 8.4vw, 34px) !important;
  }

  .hero-photo {
    min-height: 330px;
  }

  .video-phone-shell {
    width: min(76vw, 205px);
    border-width: 7px;
    border-radius: 24px;
  }

  .video-play {
    width: 54px;
    height: 54px;
  }

  .video-card .video-poster {
    min-height: 160px;
  }

  .about-media-main,
  .about-media-side {
    min-height: 260px;
  }

  .contact-phone span {
    font-size: 13px;
  }

  .modal-panel h3 {
    font-size: 22px;
  }

  .calendar-popover {
    width: calc(100vw - 18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
