/* Шапка и цельный фотографический Hero. */
:root { --header-height: 84px; --header-surface: #f2ece4; }
[data-header] { position: sticky; top: 0; z-index: 30; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--header-surface); border-bottom: 1px solid var(--line); }
[data-header] > .site-header { position: relative; }
.site-header.is-scrolled { box-shadow: 0 5px 20px rgb(56 41 32 / 7%); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: calc(var(--header-height) - 1px); }
.brand { display: inline-flex; flex: 0 0 auto; flex-direction: column; align-items: flex-start; gap: 6px; padding: 7px 0; border: 0; background: transparent; }
.brand-name { font-family: 'Cormorant Garamond Roman', Georgia, serif; font-size: 36px; font-weight: 600; line-height: 1; letter-spacing: -.032em; white-space: nowrap; }
.brand-caption { color: var(--muted); font-size: 8px; font-weight: 500; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.desktop-nav { display: flex; align-items: center; gap: 26px; font-size: 12px; }
.desktop-nav a { position: relative; padding-block: 13px; white-space: nowrap; }
.desktop-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 7px; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: left; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); }
.header-end { display: flex; align-items: center; gap: 24px; }
.header-phone { padding-block: 12px; font-size: 12px; white-space: nowrap; }
.header-contact { padding: 11px 17px; min-height: 44px; font-size: 12px; gap: 16px; }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 9px; min-width: 44px; min-height: 44px; padding: 8px; font-size: 12px; background: transparent; }
.menu-icon { position: relative; display: inline-block; width: 20px; height: 18px; }
.menu-icon i { position: absolute; left: 0; width: 20px; height: 1px; background: currentColor; top: 5px; transition: transform 260ms ease; }
.menu-icon i + i { top: 12px; }
.menu-toggle[aria-expanded='true'] .menu-icon i { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-icon i + i { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu, .mobile-header-request { display: none; }


.hero { width: 100%; position: relative; isolation: isolate; background: var(--paper); }
.hero-stage { position: relative; padding-top: 34px; height: max(570px, min(calc(100vh - var(--header-height) - 70px), calc(100vw * .54), 900px)); height: max(570px, min(calc(100svh - var(--header-height) - 70px), calc(100vw * .54), 900px)); }
.hero-copy { position: relative; z-index: 2; width: min(var(--content), calc(100% - 96px)); margin-inline: auto; }
.hero-headline { text-align: left; }
.hero-title { display: flex; align-items: baseline; justify-content: flex-start; gap: .2em; margin: 0; font-size: clamp(48px, min(4.4vw, 8vh), 76px); line-height: 1.06; letter-spacing: -.057em; }
.hero-title > span { display: block; white-space: nowrap; }
.hero-title > span:first-child { font-weight: 500; }
.hero-title .accent { font-size: 1.1em; line-height: 1; letter-spacing: -.035em; }
.hero-introduction { max-width: 690px; margin-top: 18px; }
.hero-description { margin: 0; font-size: clamp(14px, 1.17vw, 18px); line-height: 1.7; color: var(--muted); }
.hero-actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; width: min(var(--content), calc(100% - 96px)); margin: 24px auto 0; }
.hero-actions .button { min-height: 50px; padding: 12px 20px; font-size: 12px; gap: 20px; }
.hero-scene { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(calc(100% - 48px), 1480px, calc(max(360px, 100vh - var(--header-height) - 280px) * 2.803738)); width: min(calc(100% - 48px), 1480px, calc(max(360px, 100svh - var(--header-height) - 280px) * 2.803738)); aspect-ratio: 2100 / 749; z-index: 0; }
.hero-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-baseline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 3px; margin-bottom: 0; background: rgb(252 249 244 / 35%); }
.hero-fact { display: flex; align-items: center; justify-content: center; padding: 18px 20px; font-size: 11px; line-height: 1.6; text-align: center; }
.hero-fact + .hero-fact { border-left: 1px solid var(--line); }
@media (min-width: 1800px) {
  .hero-scene { width: min(calc(100% - 48px), 1600px, calc(max(360px, 100vh - var(--header-height) - 280px) * 2.803738)); width: min(calc(100% - 48px), 1600px, calc(max(360px, 100svh - var(--header-height) - 280px) * 2.803738)); }
}

@media (max-width: 1190px) and (min-width: 901px) {
  .header-row { gap: 22px; }
  .desktop-nav { gap: 22px; }
  .header-phone { display: none; }
  .brand-name { font-size: 33px; }
}
@media (min-width: 1101px) and (max-height: 740px) {
  .hero-stage { padding-top: 26px; }
  .hero-title { font-size: clamp(46px, min(4.4vw, 7.4vh), 66px); }
  .hero-introduction { max-width: 640px; margin-top: 16px; }
  .hero-description { font-size: 14px; line-height: 1.65; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .button { min-height: 46px; padding-block: 10px; }
}
@media (max-width: 1100px) {
  .hero-stage { height: auto; display: flex; flex-direction: column; padding: 28px 0 0; }
  .hero-copy { width: calc(100% - 48px); }
  .hero-title { font-size: clamp(42px, 5.2vw, 58px); }
  .hero-introduction { margin-top: 16px; max-width: 690px; }
  .hero-description { font-size: 14px; }
  .hero-scene { position: relative; left: auto; bottom: auto; transform: none; width: calc(100% - 24px); margin: 24px auto 0; }
  .hero-actions { width: calc(100% - 48px); margin: 20px auto 24px; }
  .hero-fact { padding: 15px; font-size: 10px; }
}
@media (max-width: 900px) {
  :root { --header-height: 66px; }
  .header-row { gap: 12px; }
  .desktop-nav, .header-end { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand-name { font-size: 28px; }
  .brand-caption { font-size: 7px; }
  .mobile-header-request { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 3px; font-size: 11px; margin-left: auto; }
  .mobile-header-request .arrow { font-size: 16px; }
  .mobile-menu:not([hidden]) { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding: 12px 24px 20px; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; }
  .mobile-menu > a { padding-block: 11px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .mobile-menu .mobile-phone { margin-top: 10px; font-size: 15px; border: 0; }
}
@media (max-width: 760px) {
  .hero-copy { text-align: center; }
  .hero-headline { text-align: center; }
  .hero-title { display: block; font-size: clamp(42px, 8.6vw, 60px); line-height: 1.04; }
  .hero-title .accent { margin-top: 2px; font-size: 1.26em; line-height: .94; }
  .hero-introduction { margin-inline: auto; max-width: 580px; }
  .hero-actions { justify-content: center; }
}
@media (max-width: 640px) {
  :root { --header-height: 62px; }
  .header-row { gap: 8px; }
  .brand { gap: 4px; padding-block: 6px; }
  .brand-name { font-size: clamp(20px, 6vw, 24px); }
  .brand-caption { font-size: 6px; letter-spacing: .055em; }
  .menu-toggle { min-width: 40px; padding: 8px; }
  .menu-label { display: none; }
  .mobile-header-request { padding-inline: 10px; font-size: 10px; min-height: 40px; }
  .mobile-menu:not([hidden]) { padding-inline: 20px; }
  .hero-stage { padding-top: 24px; }
  .hero-copy { width: calc(100% - 40px); }
  .hero-title { font-size: clamp(40px, 11.2vw, 58px); }
  .hero-introduction { margin-top: 14px; }
  .hero-description { max-width: 440px; font-size: 12px; line-height: 1.65; }
  .hero-scene { width: calc(100% - 12px); margin-top: 20px; }
  .hero-actions { flex-wrap: wrap; gap: 8px 12px; width: calc(100% - 40px); margin: 17px auto 20px; }
  .hero-actions .button { min-height: 44px; padding: 10px 14px; gap: 12px; font-size: 11px; }
  .hero-fact { padding: 11px 8px; font-size: 9px; line-height: 1.6; }
}
@media (max-width: 360px) {
  :root { --header-height: 58px; }
  .header-row { gap: 6px; }
  .brand-name { font-size: 19.5px; }
  .brand-caption { font-size: 5.5px; }
  .mobile-header-request { padding-inline: 7px; gap: 5px; }
  .menu-toggle { min-width: 36px; padding-inline: 6px; }
  .hero-actions .button { padding-inline: 11px; font-size: 10px; gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero *, .site-header * { animation: none !important; transition: none !important; }
}
