:root {
  --sand: #f3ebe1;
  --cream: #faf6f1;
  --ink: #2a221c;
  --mute: #6d6258;
  --gold: #b08968;
  --gold-deep: #8c6244;
  --line: rgba(176, 137, 104, 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.uhod {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Manrope, system-ui, sans-serif;
  line-height: 1.55;
}

.uhod a { color: var(--gold-deep); }

.uhod a.uhod-btn-main {
  color: #fff !important;
}

.uhod-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(250, 246, 241, 0.55), rgba(243, 235, 225, 0.92)),
    url("./uhod-assets/uhod-bg-wide.jpg") center / cover no-repeat;
  animation: uhod-bg-shift 28s var(--ease) infinite alternate;
  pointer-events: none;
}

@keyframes uhod-bg-shift {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.uhod-orb {
  position: fixed;
  width: min(42vw, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: url("./uhod-assets/uhod-oil-drop.jpg") center / cover;
  opacity: 0.22;
  filter: blur(0.4px);
  z-index: 0;
  pointer-events: none;
  animation: uhod-float 16s ease-in-out infinite;
}

.uhod-orb-a { top: 12%; right: -8%; }
.uhod-orb-b {
  bottom: 8%;
  left: -10%;
  width: min(34vw, 240px);
  animation-duration: 22s;
  animation-delay: -6s;
}

@keyframes uhod-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(18px, -24px, 0); }
}

.uhod-wrap { position: relative; z-index: 1; }

.uhod-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.7rem 4vw;
  background: rgba(250, 246, 241, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.uhod-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.uhod-logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.uhod-nav { display: flex; gap: 1.2rem; }
.uhod-nav a {
  text-decoration: none;
  color: var(--mute);
  font-size: 0.88rem;
  font-weight: 600;
}
.uhod-nav a:hover { color: var(--ink); }

.uhod-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
}

.uhod-phone-ico {
  flex-shrink: 0;
  color: var(--gold-deep);
}

.uhod-btn-ico {
  gap: 0.4rem;
}

.uhod-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 4vw 3rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  align-items: center;
  min-height: calc(100vh - 72px);
}

.uhod-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.uhod-hero h1 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.uhod-hero h1 em {
  font-style: italic;
  color: var(--gold-deep);
}

.uhod-lead {
  margin: 0 0 1.4rem;
  max-width: 38ch;
  color: var(--mute);
  font-size: 1.05rem;
}

.uhod-cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }

.uhod-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.uhod-btn-main {
  color: #fff !important;
  background: #3a2418;
  box-shadow: 0 12px 30px rgba(42, 34, 28, 0.35);
  animation: uhod-pulse 3.2s ease-in-out infinite;
}

@keyframes uhod-pulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(140, 98, 68, 0.28); }
  50% { box-shadow: 0 16px 36px rgba(140, 98, 68, 0.42); }
}

.uhod-btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.uhod-price-hint {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  color: var(--mute);
}

.uhod-portrait {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 30px 70px rgba(42, 34, 28, 0.18);
}

.uhod-portrait img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
  animation: uhod-ken 22s ease-in-out infinite alternate;
}

@keyframes uhod-ken {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.uhod-portrait-card {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(250, 246, 241, 0.88);
  backdrop-filter: blur(10px);
}

.uhod-portrait-card strong { display: block; font-size: 1.02rem; }
.uhod-portrait-card span { color: var(--mute); font-size: 0.88rem; }

.uhod-marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
  padding: 0.75rem 0;
}

.uhod-marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: uhod-marquee 28s linear infinite;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--gold-deep);
}

@keyframes uhod-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.uhod-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.2rem 4vw;
}

.uhod-section h2 {
  margin: 0 0 1.4rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
}

.uhod-header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.uhod-tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #2aabee;
  background: rgba(42, 171, 238, 0.12);
  text-decoration: none;
}

.uhod-cabinet-list {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
  color: var(--mute);
}

.uhod-cabinet-list li { margin-bottom: 0.45rem; }

.uhod-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.uhod-card {
  padding: 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.uhod-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.uhod-card p { margin: 0; color: var(--mute); font-size: 0.95rem; }

.uhod-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.uhod-still {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 24px;
}

.uhod-offers {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.uhod-offer {
  padding: 1.5rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.uhod-offer-featured {
  background: linear-gradient(165deg, #fff, #f6ece3);
}

.uhod-tag {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.uhod-sum {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.6rem;
  margin: 0.4rem 0 1rem;
}

.uhod-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }

.uhod-step {
  padding: 1rem;
  border-top: 1px solid var(--gold);
}

.uhod-step b {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  color: var(--gold);
}

.uhod-footer {
  padding: 2rem 4vw 5.5rem;
  text-align: center;
  color: var(--mute);
  font-size: 0.88rem;
}

.uhod-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(250, 246, 241, 0.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(42, 34, 28, 0.08);
  padding: 0.45rem 0.6rem calc(0.45rem + env(safe-area-inset-bottom));
}

.uhod-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  min-height: 52px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.uhod-bar-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.uhod-bar-ico-tg {
  color: #2aabee;
  background: rgba(42, 171, 238, 0.14);
}

.uhod-bar-ico-max {
  color: #4d6bff;
  background: rgba(77, 107, 255, 0.14);
}

.uhod-bar-ico-book {
  color: #fff;
  background: #3a2418;
}

.uhod-reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: uhod-in 1s var(--ease) forwards;
}

.uhod-hero-copy { animation-delay: 0.1s; }
.uhod-portrait { animation-delay: 0.25s; }

@keyframes uhod-in {
  to { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  body.uhod {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .uhod-header {
    padding: 0.55rem 4.5vw;
  }

  .uhod-logo {
    font-size: 1.05rem;
    letter-spacing: 0.1em;
  }

  .uhod-nav { display: none; }

  .uhod-header-actions { gap: 0.45rem; }

  .uhod-phone {
    width: 40px;
    height: 40px;
    justify-content: center;
    border-radius: 50%;
    background: rgba(140, 98, 68, 0.12);
  }

  .uhod-phone-text { display: none; }

  .uhod-phone-ico {
    width: 18px;
    height: 18px;
  }

  .uhod-tg {
    width: 40px;
    height: 40px;
  }

  .uhod-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 1.1rem 5vw 1.6rem;
    gap: 1.2rem;
  }

  .uhod-hero h1 {
    font-size: clamp(1.7rem, 8.4vw, 2.35rem);
    margin-bottom: 0.7rem;
  }

  .uhod-lead {
    max-width: none;
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .uhod-cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .uhod-cta-row .uhod-btn-main {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 48px;
  }

  .uhod-cta-row .uhod-btn-ghost {
    min-height: 46px;
    padding: 0.7rem 0.6rem;
    font-size: 0.88rem;
  }

  .uhod-price-hint { font-size: 0.84rem; }

  .uhod-split,
  .uhod-offers,
  .uhod-grid-3,
  .uhod-steps {
    grid-template-columns: 1fr;
  }

  .uhod-portrait,
  .uhod-portrait img { min-height: 300px; }

  .uhod-portrait-card {
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
    padding: 0.75rem 0.85rem;
  }

  .uhod-section { padding: 2rem 5vw; }

  .uhod-card,
  .uhod-offer { padding: 1.1rem; }

  .uhod-sum { font-size: 2.1rem; }

  .uhod-still { min-height: 240px; }

  .uhod-footer { padding-bottom: 1.5rem; }

  .uhod-bar { display: grid; }
  .uhod-orb-b { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .uhod-bg,
  .uhod-orb,
  .uhod-portrait img,
  .uhod-marquee-track,
  .uhod-btn-main,
  .uhod-reveal {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
