/* ============ Лендинг «Шукаємо новий дім» ============ */

/* ---- Hero ---- */
.dh-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.dh-hero-bg { position: absolute; inset: 0; }
.dh-hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: dhKen 22s ease-out both; }
@keyframes dhKen { from { transform: scale(1.12) translate(1.5%, 1%); } to { transform: scale(1); } }
.dh-hero-scrim { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,14,27,.62), rgba(12,14,27,.18) 40%, rgba(12,14,27,.94) 88%); }
.dh-hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 140px; padding-bottom: 120px; }
.dh-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px;
  letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-secondary);
  border: 1px solid var(--border-strong); border-radius: 999px; padding: 9px 16px;
  background: rgba(12,14,27,.45); backdrop-filter: blur(8px); margin-bottom: 26px;
  white-space: nowrap; max-width: 100%; }
.dh-kicker .triad { translate: 0 -1px; }
.dh-title { font-size: clamp(44px, 9.5vw, 128px); line-height: 0.98; max-width: 12ch;
  text-shadow: 0 6px 60px rgba(12,14,27,.8); }
.dh-title em { font-style: normal; color: var(--yellow); }
.dh-sub { max-width: 620px; color: var(--text-secondary); font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65; margin: 26px 0 34px; }
.dh-sub b { color: var(--text-primary); }
.dh-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.dh-hero-note { margin: 16px 0 0; font-size: 12.5px; color: var(--text-muted); }
.dh-hero-inner > * { animation: riseIn .9s var(--ease-out) both; }
.dh-hero-inner > :nth-child(2) { animation-delay: .15s; }
.dh-hero-inner > :nth-child(3) { animation-delay: .3s; }
.dh-hero-inner > :nth-child(4) { animation-delay: .45s; }
.dh-hero-inner > :nth-child(5) { animation-delay: .58s; }
.dh-hero-credit { position: absolute; right: 20px; bottom: 20px; z-index: 3;
  font-size: 11.5px; color: var(--text-muted); letter-spacing: .04em;
  background: rgba(12,14,27,.4); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border-subtle); }
.dh-hero-hint { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; z-index: 3;
  width: 30px; height: 48px; border: 1.5px solid var(--border-strong); border-radius: 999px;
  display: grid; place-items: start center; padding-top: 9px; font-size: 13px;
  color: var(--text-secondary); animation: hint 2.2s ease-in-out infinite; }
@media (max-width: 860px) { .dh-hero-credit { display: none; } }

/* ---- Стрічка-тикер ---- */
.dh-ticker { position: relative; border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle); background: var(--ink-900);
  overflow: hidden; padding: 14px 0; }
.dh-ticker-track { display: flex; gap: 0; width: max-content; animation: dhTicker 40s linear infinite; }
.dh-ticker:hover .dh-ticker-track { animation-play-state: paused; }
@keyframes dhTicker { to { transform: translateX(-50%); } }
.dh-ticker span { font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: var(--tracking-display); font-size: 15px; color: var(--text-secondary);
  padding: 0 18px; white-space: nowrap; }
.dh-ticker i { color: var(--yellow); font-style: normal; }

/* ---- Маніфест ---- */
.dh-manifest { padding: 110px 0 70px; }
.dh-lede { font-size: clamp(21px, 3.2vw, 34px); line-height: 1.45; font-weight: 500;
  max-width: 980px; letter-spacing: -0.01em; }
.dh-lede mark { background: none; color: var(--yellow); font-weight: 700; }
.dh-lede .dim { color: var(--text-muted); }
.dh-seek { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 54px 0 26px; }
@media (max-width: 1000px) { .dh-seek { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dh-seek { grid-template-columns: 1fr; } }
.dh-seek-card { position: relative; border: 1px solid var(--border-subtle); border-radius: 18px;
  background: var(--surface-card); padding: 26px 22px 22px; overflow: hidden;
  transition: translate .3s var(--ease-out), border-color .3s, box-shadow .3s; }
.dh-seek-card:hover { translate: 0 -6px; border-color: var(--border-strong);
  box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.dh-seek-card .num { font-family: var(--font-display); font-size: 13px; letter-spacing: .18em;
  color: var(--text-muted); display: block; margin-bottom: 40px; }
.dh-seek-card h3 { font-size: clamp(19px, 2vw, 24px); line-height: 1.2; }
.dh-seek-card p { color: var(--text-secondary); font-size: 14px; margin: 10px 0 0; }
.dh-seek-card::after { content: ''; position: absolute; top: 22px; right: 20px;
  width: 10px; height: 10px; border-radius: 50%; }
.dh-seek-card:nth-child(3n+1)::after { background: var(--blue); }
.dh-seek-card:nth-child(3n+2)::after { background: var(--yellow); }
.dh-seek-card:nth-child(3n)::after { background: var(--red); }
.dh-guests { color: var(--text-secondary); font-size: clamp(17px, 2vw, 21px); max-width: 760px; }
.dh-guests b { color: var(--yellow); font-family: var(--font-display); letter-spacing: .04em; }

/* ---- Нумеровані маркери секцій (редакційний прийом) ---- */
.dh-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: 12px; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-muted); }
.dh-eyebrow-num { font-family: var(--font-display); color: var(--yellow); font-size: 13px; letter-spacing: .1em; }
.dh-eyebrow::after { content: ''; height: 1px; flex: 0 0 40px; background: var(--border-strong); }
.dh-uzh .dh-eyebrow { color: #6E6650; }
.dh-uzh .dh-eyebrow::after { background: rgba(12,14,27,.2); }
.dh-uzh .dh-eyebrow-num { color: var(--blue); }

/* ---- Чим був ALIVE ---- */
.dh-role { padding: 40px 0 40px; }
.dh-h2 { font-size: clamp(30px, 5vw, 56px); max-width: 900px; margin-bottom: 20px; }
.dh-h2 em { font-style: normal; color: var(--yellow); }
.dh-role-intro { color: var(--text-secondary); font-size: 17px; line-height: 1.7; max-width: 720px; margin-bottom: 50px; }
.dh-role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 860px) { .dh-role-grid { grid-template-columns: 1fr; } }
.dh-role-card { position: relative; border-radius: 20px; overflow: hidden; min-height: 340px;
  display: flex; align-items: flex-end; }
.dh-role-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: scale 1.2s var(--ease-out); }
.dh-role-card:hover img { scale: 1.05; }
.dh-role-card::before { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,14,27,.05) 0%, rgba(12,14,27,.1) 28%,
    rgba(12,14,27,.6) 50%, rgba(12,14,27,.94) 72%, rgba(12,14,27,.99) 100%); }
.dh-role-body { position: relative; padding: 58px 26px 26px; }
.dh-role-body::before { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, var(--ink-950) 44%); }
.dh-role-body h3, .dh-role-body p { position: relative; }
.dh-role-body h3 { font-size: clamp(19px, 2.4vw, 26px); margin-bottom: 10px; color: #fff; }
.dh-role-body p { color: #E4E6F0; font-size: 14.5px; line-height: 1.65; margin: 0; max-width: 480px; }
.dh-role-n { position: absolute; top: 16px; left: 16px; z-index: 2;
  font-family: var(--font-display); font-size: 12px; letter-spacing: .1em; color: var(--text-secondary);
  background: rgba(12,14,27,.5); backdrop-filter: blur(6px); border: 1px solid var(--border-subtle);
  border-radius: 999px; padding: 5px 11px; }

/* ---- Можливості ---- */
.dh-kit { padding: 90px 0; background: var(--ink-900);
  background-image: repeating-radial-gradient(circle at 85% 10%, rgba(245,245,248,.03) 0 1px, transparent 1px 16px); }
.dh-kit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 50px; }
@media (max-width: 860px) { .dh-kit-grid { grid-template-columns: 1fr; } }
.dh-kit-card { border: 1px solid var(--border-subtle); border-radius: 20px; padding: 30px 28px;
  background: var(--ink-950); transition: border-color .3s, translate .3s var(--ease-out); }
.dh-kit-card:hover { border-color: var(--border-strong); translate: 0 -4px; }
.dh-kit-card.wide { grid-column: 1 / -1; }
.dh-kit-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: var(--ink-950); background: var(--yellow);
  border-radius: 999px; padding: 5px 12px 5px 9px; font-weight: 700; margin-bottom: 18px; }
.dh-kit-tag svg { width: 14px; height: 14px; flex: 0 0 14px; }
.dh-kit-card:nth-child(even) .dh-kit-tag { background: var(--blue-bright); color: #fff; }
.dh-kit-card h3 { font-size: clamp(18px, 2vw, 23px); margin-bottom: 14px; line-height: 1.25; }
.dh-kit-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; margin: 0 0 10px; }
.dh-kit-card p:last-child { margin-bottom: 0; }
.dh-kit-card p b { color: var(--text-primary); }
.dh-kit-spec { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 18px; }
.dh-kit-spec div b { font-family: var(--font-display); font-size: 26px; color: var(--yellow); display: block; }
.dh-kit-spec div span { font-size: 12px; color: var(--text-muted); letter-spacing: .1em; text-transform: uppercase; }

/* ---- Ужгород (картон) ---- */
.dh-uzh { padding: 90px 0; background: var(--cardboard); color: var(--ink-950);
  background-image: repeating-radial-gradient(circle at 50% 0%, rgba(12,14,27,.045) 0 1px, transparent 1px 14px); }
.dh-uzh .dh-h2, .dh-uzh h3 { color: var(--ink-950); }
.dh-uzh-lead { font-size: 17px; line-height: 1.7; color: #3E3A2C; max-width: 760px; margin-bottom: 40px; }
.dh-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 70px; }
@media (max-width: 900px) { .dh-facts { grid-template-columns: repeat(2, 1fr); } }
.dh-fact { background: rgba(255,255,255,.42); border: 1px solid rgba(12,14,27,.14);
  border-radius: 16px; padding: 20px; }
.dh-fact b { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px); display: block;
  letter-spacing: .03em; }
.dh-fact span { font-size: 13px; color: #5C5643; line-height: 1.5; display: block; margin-top: 6px; }
.dh-world { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 44px; }
@media (max-width: 860px) { .dh-world { grid-template-columns: 1fr; } }
.dh-wcard { background: rgba(255,255,255,.5); border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(12,14,27,.12); display: flex; flex-direction: column;
  box-shadow: 0 3px 8px rgba(12,14,27,.1), 0 16px 34px rgba(12,14,27,.16);
  transition: translate .3s var(--ease-out), box-shadow .3s; }
.dh-wcard:hover { translate: 0 -5px; box-shadow: 0 6px 12px rgba(12,14,27,.12), 0 26px 52px rgba(12,14,27,.22); }
.dh-wcard .wimg { aspect-ratio: 16/9; overflow: hidden; background: var(--ink-800); }
.dh-wcard .wimg img { width: 100%; height: 100%; object-fit: cover; }
.dh-wcard .wimg.wplaceholder { display: grid; place-items: center;
  background: var(--ink-950) repeating-radial-gradient(circle at 50% 50%, rgba(245,245,248,.06) 0 1px, transparent 1px 12px); }
.dh-wcard .wimg.wplaceholder span { display: flex; gap: 8px; }
.dh-wcard .wimg.wplaceholder i { width: 14px; height: 14px; border-radius: 50%; }
.dh-wbody { padding: 20px 22px 22px; }
.dh-wbody h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  font-size: 17px; margin: 0 0 4px; }
.dh-wbody .wsub { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8A8064; }
.dh-wbody p { font-size: 14.5px; line-height: 1.65; color: #3E3A2C; margin: 10px 0 0; }
.dh-wcredit { margin-top: 26px; font-size: 12px; color: #8A8064; }

/* ---- Додана вартість ---- */
.dh-value { padding: 100px 0; }
.dh-value-quote { font-size: clamp(22px, 3.4vw, 38px); line-height: 1.4; max-width: 1000px;
  font-weight: 500; letter-spacing: -0.01em; }
.dh-value-quote mark { background: none; color: var(--yellow); }
.dh-value-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 56px; }
@media (max-width: 860px) { .dh-value-cols { grid-template-columns: 1fr; } }
.dh-vcol { border-top: 2px solid var(--border-strong); padding-top: 18px; position: relative; }
.dh-vcol::before { content: ''; position: absolute; top: -2px; left: 0; width: 56px; height: 2px; }
.dh-vcol:nth-child(1)::before { background: var(--blue-bright); }
.dh-vcol:nth-child(2)::before { background: var(--yellow); }
.dh-vcol:nth-child(3)::before { background: var(--red-bright); }
.dh-vcol h3 { font-size: 17px; margin-bottom: 12px; }
.dh-vcol p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.7; margin: 0; }
.dh-value-cta { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border-subtle); text-align: center; }

/* ---- Форма ---- */
.dh-contact { padding: 90px 0 110px; background: var(--ink-900); position: relative; overflow: hidden; }
.dh-contact::after { content: ''; position: absolute; right: -110px; top: -110px; width: 420px; height: 420px;
  background: url('../assets/v-mark-white.png') center/contain no-repeat; opacity: .04; pointer-events: none; }
.dh-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; position: relative; z-index: 1; }
@media (max-width: 900px) { .dh-contact-grid { grid-template-columns: 1fr; gap: 36px; } }
.dh-contact-info p { color: var(--text-secondary); font-size: 16px; line-height: 1.7; }
.dh-contact-info .mail { display: inline-block; margin-top: 18px; font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 22px); letter-spacing: .04em; color: var(--yellow);
  border-bottom: 2px solid rgba(252,175,23,.35); padding-bottom: 3px; transition: border-color .2s; }
.dh-contact-info .mail:hover { border-color: var(--yellow); }
.dh-contact-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.dh-contact-points li { position: relative; padding-left: 26px; color: var(--text-secondary); font-size: 14.5px; }
.dh-contact-points li::before { content: '✓'; position: absolute; left: 0; top: -1px;
  width: 18px; height: 18px; border-radius: 50%; background: rgba(252,175,23,.16); color: var(--yellow);
  font-size: 11px; display: grid; place-items: center; }
.dh-form { display: grid; gap: 14px; }
.dh-form-card { background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: 20px; padding: 30px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
@media (max-width: 640px) { .dh-form-card { padding: 22px; border-radius: 18px; } }
.dh-form label { display: block; }
.dh-form label span { display: block; font-size: 12px; letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 7px; }
.dh-input, .dh-select, .dh-textarea { width: 100%; background: var(--ink-950);
  border: 1px solid var(--border-subtle); border-radius: 12px; color: var(--text-primary);
  padding: 14px 16px; font: inherit; transition: border-color .2s, background .2s; }
.dh-input:focus, .dh-select:focus, .dh-textarea:focus { outline: none; border-color: var(--yellow);
  background: var(--ink-800); }
.dh-textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.dh-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .dh-row2 { grid-template-columns: 1fr; } }
.dh-submit { margin-top: 6px; }
.dh-form-note { font-size: 12.5px; color: var(--text-muted); margin: 0; }
.dh-form-status { border-radius: 12px; padding: 14px 16px; font-size: 14.5px; display: none; }
.dh-form-status.ok { display: block; background: rgba(62,184,118,.13); color: #7ADFA9;
  border: 1px solid rgba(62,184,118,.4); }
.dh-form-status.err { display: block; background: rgba(238,53,35,.12); color: #FFB3AB;
  border: 1px solid rgba(238,53,35,.4); }

/* ---- Мобільне ---- */
@media (max-width: 640px) {
  .dh-hero-inner { padding-top: 150px; padding-bottom: 90px; }
  .dh-kicker { font-size: 10.5px; letter-spacing: 0.08em; gap: 7px; padding: 8px 12px; }
  .dh-hero-actions { flex-direction: column; align-items: stretch; }
  .dh-hero-actions .btn { width: 100%; }
  .dh-hero-note { text-align: center; }
  .dh-hero-hint { bottom: 16px; }
  .dh-ticker { padding: 11px 0; }
  .dh-ticker span { font-size: 12.5px; padding: 0 12px; }
  .dh-manifest { padding: 56px 0 44px; }
  .dh-lede br { display: none; }
  .dh-seek { margin: 40px 0 22px; }
  .dh-seek-card { padding: 20px 18px 18px; }
  .dh-seek-card .num { margin-bottom: 28px; }
  .dh-role { padding: 24px 0; }
  .dh-role-intro { margin-bottom: 32px; }
  .dh-role-card { min-height: 240px; }
  .dh-role-body { padding: 40px 20px 20px; }
  .dh-kit, .dh-uzh, .dh-value, .dh-contact { padding: 56px 0; }
  .dh-kit-card { padding: 22px 20px; }
  .dh-kit-spec { gap: 20px; }
  .dh-facts { grid-template-columns: 1fr; margin-bottom: 44px; }
  .dh-uzh-lead { margin-bottom: 28px; }
  .dh-value-quote br { display: none; }
  .dh-value-cta { margin-top: 40px; padding-top: 30px; }
  .dh-value-cta .btn { width: 100%; }
  .dh-eyebrow { margin-bottom: 14px; }
  .dh-form-card { box-shadow: none; }
}
