/* Стиль HV (v84): заголовки — курсивная антиква, светлые карточки — беж.
   Откат: очистить этот файл (оставить пустым) — сайт вернётся к прежнему виду. */
:root{--hvcard:#F2E8D8;--hvcard2:#EADCC6;--hvcardline:rgba(181,154,115,.35)}
/* заголовки */
main h1:not(.slogan),main h2,.cat h1,.cat h2{font-family:'HV Cormorant',Georgia,serif!important;font-style:italic;font-weight:500!important;letter-spacing:0!important}
main h2{font-size:54px!important;line-height:1.08!important}
main h1:not(.slogan){font-size:66px!important;line-height:1.05!important}
main .card h3,main .steps h3,main .sgrid h3,main .ncard h3,main .dcard h3,main .days h3,main .faqcard h3,main .bend h2,main .bend h3{font-family:'HV Cormorant',Georgia,serif!important;font-style:italic;font-weight:500!important;letter-spacing:0!important;font-size:27px!important;line-height:1.15!important}
main .ncard h3{font-size:24px!important}
main .tcard h2{font-size:30px!important;line-height:1.12!important}
.faqg .qa summary{font-family:'HV Cormorant',Georgia,serif;font-style:italic;font-weight:500;font-size:clamp(21px,3vh,27px)!important;letter-spacing:0}
@media (max-width:767px){
  main h2{font-size:36px!important}
  main h1:not(.slogan){font-size:42px!important}
  main .card h3,main .steps h3,main .sgrid h3,main .dcard h3,main .days h3,main .faqcard h3,main .bend h2,main .bend h3{font-size:23px!important}
  main .ncard h3,main .tcard h2{font-size:21px!important}
  .faqg .qa summary{font-size:21px!important}
}
/* белые карточки -> беж */
.adv .steps li,.svc .sgrid li,.faqg .qa details[open],.bend{background:linear-gradient(160deg,var(--hvcard),var(--hvcard2))!important;box-shadow:0 14px 36px rgba(60,45,25,.14)!important}
.bend{border-color:var(--hvcardline)!important}
.note{background:var(--hvcard)!important}
.mnav nav,.askpop,.drawer{background:#F4ECDF!important}
.fbtn:hover,.hsb:hover{background:var(--hvcard)!important}
/* v86: никакого белого — беж вместо белого фона и белых букв */
.askm{background:#F4ECDF!important;border-color:rgba(181,154,115,.35)!important}
.askm a:hover,.askm a:focus-visible{background:#E9DCC6!important}
.lb,.lb button,.lb .cnt,.lb *{color:#EDE3D3!important}
.cv-in .btn.cvbtn:hover,.cv-in .btn.cvbtn:focus-visible,.flink:hover,.draftbar,.draftbar a{color:#EDE3D3!important}
.slogan .s2::before{background:rgba(237,227,211,.55)!important}
.lform input:not([type=checkbox]),.lform textarea,.lform select,.mailrow input,.meth .mopt:has(input:checked),.dl{background:#F7F0E4!important}
.progbox{background:rgba(237,227,211,.35)!important}
/* v88: золотая планка сверху у окна выбора связи, как у карточек */
.askm,.askpop{border-top:3px solid #B59A73!important}
/* v96: золотая планка сверху и у выпадающего меню (телефон, планшет, страницы программ) */
.mnav nav{border-top:3px solid #B59A73!important}
/* v107: «Важно!» отдельно слева, текст идёт колонкой справа от него */
.note{display:flex;align-items:baseline;gap:14px}.note>b{flex:0 0 auto}.note>span{flex:1 1 auto;min-width:0}
@media (max-width:600px){.note{display:block}.note>b{display:block;margin-bottom:6px}}
/* v114: карточки программ — название и «Подробнее» тёмные, вся техническая информация (даты, дни, люди, цена) — коричневая */
.tcard .meta,.tcard .price,.ncard .m,.ncard .pr{color:#7A5C3A!important}
.tcard .when,.ncard .when{color:#7A5C3A!important;border-color:rgba(122,92,58,.55)!important}
.tcard h2,.ncard h3,.tcard .more{color:var(--navy,#253849)}
/* v115: карточки программ на главной — как в каталоге: даты в одну строку, название компактнее, ровные отступы */
.ncard .when{white-space:nowrap;letter-spacing:.08em!important}
main .ncard h3{font-size:22px!important;line-height:1.15!important;margin-top:10px!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ncard h3+.m,.ncard .m+.pr,.ncard h3+.pr{margin-top:6px!important;display:block}
@media (max-width:767px){main .ncard h3{font-size:19px!important}}

/* v116: при смене главной картинки по нажатию на HV — на тёмно-синей подложке выдавленные HV и «Ваш Travel Concierge» */
.cover .cv-img,.cover .cv-in{transition:opacity .5s ease}
.cover.cv-swap .cv-img,.cover.cv-swap .cv-in{opacity:0}
.cv-mark{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:min(2.6vh,3vw);pointer-events:none;text-align:center;
  filter:drop-shadow(-1.5px -1.5px 0 rgba(255,255,255,.28)) drop-shadow(2.5px 2.5px 2px rgba(0,0,0,.7))}
.cvm-hv{display:block;width:min(30vh,48vw);aspect-ratio:300/184;background:var(--navy,#253849);-webkit-mask:url(/hv-mono.png) center/contain no-repeat;mask:url(/hv-mono.png) center/contain no-repeat}
.cvm-n{font-family:'HV Cinzel',Georgia,serif;font-weight:500;font-size:min(9.5vh,10.5vw);line-height:1.12;letter-spacing:.14em;padding-left:.14em;color:var(--navy,#253849)}
.cvm-t{font-family:'HV Cormorant',Georgia,serif;font-style:italic;font-weight:500;font-size:min(7vh,8.4vw);line-height:1.12;color:var(--navy,#253849);margin-top:min(1.5vh,2vw)}
.cvm-t b{font-weight:500}

/* v118: «О Елене» — главная строка крупно, «и персональный travel-консьерж» мельче отдельной строкой, тёплым коричневым */
.about h2 .h2sub{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-top:22px}
.about h2 .h2s1{display:flex;align-items:center;gap:14px;font-family:'Manrope',sans-serif;font-style:normal;font-weight:500;font-size:12px;line-height:1;letter-spacing:.32em;text-transform:uppercase;color:#7A5C3A}
.about h2 .h2s1::before{content:'';width:44px;height:1px;background:#B59A73}
.about h2 .h2s2{font-family:'HV Cormorant',Georgia,serif;font-style:italic;font-weight:500;font-size:.82em;line-height:1.1;letter-spacing:.01em;color:#9A7646}
@media (max-width:767px){.about h2 .h2sub{margin-top:16px}.about h2 .h2s1{font-size:11px;letter-spacing:.26em}.about h2 .h2s2{font-size:.86em}}
/* v121: заголовок «О Елене» чуть меньше */
main .about h2#about-t{font-size:46px!important}
@media (max-width:767px){main .about h2#about-t{font-size:31px!important}}

/* v122: текст «О Елене» — по ширине (ровным блоком), правый край по концу слова «Архитектор» */
.about .rest p{text-align:justify;-webkit-hyphens:auto;hyphens:auto}
.about .rest .motto{text-align:left}
.about .rest{max-width:var(--abw,none)}
@media (max-width:767px){.about .rest{max-width:none}}
/* v123: «О Елене» — фото и текст одним блоком на экран: фото уже, текст шире, в две ровные колонки по ширине заголовка */
@media (min-width:1024px){
  #about.about,.about{align-items:start;padding-top:40px!important;padding-bottom:40px!important}
  .about .txt{margin-top:-2px}
  .about .txt>h2#about-t{margin-top:0!important;line-height:1!important}
  .about figure{grid-column:1/span 4!important;position:static!important}
  .about figure img{height:min(calc(100vh - 88px - 96px),640px)!important}
  .about .txt{grid-column:5/span 8!important;padding-right:0!important;padding-left:24px}
  main .about h2#about-t{font-size:clamp(34px,3.1vw,46px)!important;margin:0 0 22px!important}
  .about h2 .h2sub{margin-top:14px}
  .about .rest{column-count:2;column-gap:32px;padding-top:0}
  .about .rest .motto{column-span:all;font-size:clamp(24px,2vw,30px)!important;margin:0 0 14px!important}
  .about .rest p{font-size:14px!important;line-height:21px!important;margin:0 0 10px!important}
  .about .rest .lead{font-size:15px!important;line-height:22px!important}
  .about .rest .invite{column-span:all;font-size:19px!important;line-height:26px!important;margin-top:8px!important;padding-top:14px!important}
}
@media (min-width:1024px) and (max-height:820px){
  #about.about,.about{padding-top:24px!important;padding-bottom:24px!important}
  main .about h2#about-t{font-size:clamp(30px,2.6vw,38px)!important;margin-bottom:14px!important}
  .about h2 .h2sub{margin-top:10px;gap:4px}
  .about .rest .motto{font-size:24px!important;margin-bottom:10px!important}
  .about .rest p{font-size:13px!important;line-height:19px!important;margin-bottom:8px!important}
  .about .rest .lead{font-size:14px!important;line-height:20px!important}
  .about .rest .invite{font-size:17px!important;line-height:23px!important;padding-top:10px!important}
  .about figure img{height:min(calc(100vh - 88px - 48px),640px)!important}
  .about figure{grid-column:1/span 3!important}
  .about .txt{grid-column:4/span 9!important}
}
@media (min-width:1024px){.about figure{align-self:stretch;display:flex}.about figure img{height:auto!important;min-height:100%;flex:1 1 auto}}
/* v125: «О Елене» на телефоне и планшете — коротко, остальное по кнопке; «Свернуть» маленькой кнопкой внизу экрана */
.rmore,.rless{display:none}
@media (max-width:1023px){
  .about .rest:not(.open) p:not(.motto):not(.lead){display:none}
  .about .rest.open .rmore:not(.rend){display:none}
  .about .rest:not(.open) .rend{display:none}
  .rmore{display:inline-flex;align-items:center;gap:8px;margin:4px 0 0;padding:0 0 4px;border:0;border-bottom:1px solid #B59A73;background:none;font:500 15px/22px 'Manrope',sans-serif;color:#7A5C3A;cursor:pointer}
  .rmore.rend{margin-top:14px}
  .rless{display:flex;position:fixed;right:16px;bottom:16px;z-index:40;align-items:center;gap:6px;height:38px;padding:0 16px;border:1px solid rgba(181,154,115,.6);border-top:3px solid #B59A73;background:#F4ECDF;color:#7A5C3A;font:500 14px/1 'Manrope',sans-serif;box-shadow:0 8px 24px rgba(37,56,73,.16);opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .25s,transform .25s}
  .rless.show{opacity:1;transform:none;pointer-events:auto}
  .about figure img{height:200px!important}
}
@media (max-width:767px){
  .about{padding-top:28px!important;padding-bottom:28px!important}
  .about h2#about-t{margin:0 0 16px!important}
  .about .rest{padding-top:16px!important}
  .about .rest .motto{font-size:23px!important;margin:0 0 8px!important}
  .about .rest .lead{font-size:15px!important;line-height:23px!important;margin-bottom:6px!important}
}
/* v130: карточки программ — картинки целиком (3:4), видно край 5-й карточки со стрелкой, «Смотреть все программы» внизу слева (как в галерее), блок по центру экрана */
@media (min-width:1024px) and (min-height:640px){
  html body #tours{--tch:clamp(140px,18vh,240px);display:flex;flex-direction:column}
  html body #tours > .wrap{flex:1;display:flex;flex-direction:column;justify-content:center;width:100%;box-sizing:border-box}
  html body #tours .ths{--ih:max(280px,calc(100vh - 88px - var(--tch) - 32px - 230px));--cw:min(calc((min(100vw,1440px) - 2*var(--m,80px) - 160px)/4.3),max(200px,calc(var(--ih) * .75)))}
  html body #tours .ths .ncard .im{aspect-ratio:3/4;height:auto}
  html body #tours .ths .hs-track{margin-top:28px}
  html body #tours .hsall{align-self:flex-start}
  html body #tours.near{padding-bottom:20px}
}
.ncard .when,.tcard .when{white-space:nowrap!important;max-width:100%;box-sizing:border-box;overflow:hidden;text-overflow:clip}
.ncard .when{letter-spacing:.08em!important}
/* v131: меню в шапке по центру между логотипом и RU|EN (англ. версия) */
header .wrap > nav.main{margin-left:auto!important;margin-right:auto!important}
header .wrap > .lsw{margin-left:0!important}
/* v133: каталог программ — картинки чуть меньше, чтобы подписи (даты, 2 строки названия, параметры, цена, «Подробнее») всегда помещались на экран */
@media (min-width:1024px) and (min-height:640px){
  html body .cpage{--cap:212px}
}
@media (min-width:1024px) and (min-height:640px) and (max-height:820px){
  html body .cpage{--cap:206px}
}
@media (min-width:1024px) and (min-height:640px){
  html body .cpage{height:auto;min-height:calc(100vh - 88px)}
}
/* v134: каталог — картинки целиком в пропорции 3:4 (как на главной), без обрезки; карточки сужаются по высоте экрана; последняя страница на весь экран — зелёный низ не выглядывает */
@media (min-width:1024px) and (min-height:640px){
  html body .cpage{--ih:calc(100vh - 88px - 56px - var(--hh) - var(--cap));--tw:min(calc((min(100vw,1440px) - 2*var(--m,80px) - 84px)/4),calc(var(--ih) * .75))}
  html body .cpage .tgrid,html body .cpage:last-child .tgrid{grid-template-columns:repeat(4,var(--tw));justify-content:space-between}
  html body .cpage .tcard-img{height:auto!important;aspect-ratio:3/4}
  html body .cpage:last-of-type{min-height:100vh}
}
/* v135: шапка галереи и каталога — пояснение справа, на уровне заголовка; картинки выше и крупнее */
@media (min-width:1024px){
  html body .page-head:has(> .lead){display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:64px;align-items:end}
  html body .page-head:has(> .lead) > *{grid-column:1;justify-self:start}
  html body .page-head:has(> .lead) > h1{margin-bottom:0!important}
  html body .page-head:has(> .lead) > .lead{grid-column:2;grid-row:1 / span 3;align-self:end;justify-self:end;text-align:right;max-width:560px!important;white-space:normal!important;margin:0 0 6px!important;text-wrap:balance}
  html body .cpage .page-head:has(> .lead){padding-bottom:24px!important}
  html body main > .page-head:has(> .lead){padding-top:32px;padding-bottom:32px}
}
@media (min-width:1024px) and (min-height:640px){
  html body .cpage.cfirst{--hh:118px}
}
/* v136: заголовок («Галерея», «Авторские программы») справа, над пояснением; слева — «На главную» и HEDONISM VOYAGE */
@media (min-width:1024px){
  html body .page-head:has(> .lead) > .back{grid-column:1;grid-row:1}
  html body .page-head:has(> .lead) > .eb{grid-column:1;grid-row:2;align-self:start}
  html body .page-head:has(> .lead) > h1{grid-column:2;grid-row:1 / span 2;justify-self:end;text-align:right;align-self:end;margin-top:0!important}
  html body .page-head:has(> .lead) > .lead{grid-row:3!important;margin:4px 0 0!important}
}
@media (min-width:1024px){html body .page-head:has(> .lead) > .eb{display:block!important;margin:0!important}}
@media (min-width:1024px) and (min-height:540px) and (max-height:779px){html body .cpage.cfirst{--hh:96px}}
/* v138: заголовок и пояснение каталога — тот же размер и стиль, что в галерее */
@media (min-width:1024px){
  html body .cpage .page-head:has(> .lead) > h1{font-size:66px!important;line-height:69px!important}
  html body .cpage .page-head:has(> .lead) > .lead{font-size:18px!important;line-height:30px!important}
}
@media (min-width:1024px) and (min-height:640px){html body .cpage.cfirst{--hh:150px}}
@media (min-width:1024px) and (min-height:540px) and (max-height:779px){html body .cpage.cfirst{--hh:118px}}
/* v139: блок заголовка с пояснением (каталог, галерея) — чуть выше */
@media (min-width:1024px){
  html body .page-head:has(> .lead) > h1,html body .page-head:has(> .lead) > .lead{position:relative;top:-36px}
  html body .page-head:has(> .lead){margin-bottom:-36px}
  html body .page-head:has(> .lead) + *{position:relative;z-index:1}
}
@media (min-width:1024px){
  html body main > .page-head:has(> .lead) > h1,html body main > .page-head:has(> .lead) > .lead{top:-18px}
  html body main > .page-head:has(> .lead){margin-bottom:-18px}
}
/* v140: каталог — блок «Авторские программы» с пояснением ещё на полбуквы выше, картинки на месте */
@media (min-width:1024px){
  html body .cpage .page-head:has(> .lead) > h1,html body .cpage .page-head:has(> .lead) > .lead{top:-64px}
}
/* v142: пометка на английской версии, если программа пока только на русском (полоска под шапкой) */
.bstick .bnote{margin:0;padding:7px 16px;background:#E6DCCB;border-bottom:1px solid rgba(122,92,58,.25);color:#7A5C3A;font-size:14px;line-height:20px;text-align:center}
.bstick .bnote a{color:var(--navy,#253849);text-decoration:underline;text-underline-offset:3px;white-space:nowrap;margin-left:6px}
