/* V4 → dev2: страница «Contact Us» (page_id 30), все витрины — 18.10.2026. Разметку раскладывает v4-kontakt.js */
html.v4c-page .tygh-content .span4.ty-sidebox-delimiter { display: none !important; }
html.v4c-page .tygh-content .span12 { width: 100% !important; margin-left: 0 !important; float: none !important; }
html.v4c-page .vs-mainbox-general, html.v4c-page .v4c-after { max-width: 1200px; margin-left: auto; margin-right: auto; }
.v4c-srOnly { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; margin: 0 !important; padding: 0 !important; }
.v4c-hide { display: none !important; }
.v4c, .v4c-after { --c-ink: #1E2421; --c-txt: #2F3A35; --c-mute: #6B726E; --c-green: #0F5C45; --c-gold: #9A7A3A; font: 400 16px/1.6 Inter, system-ui, sans-serif; color: var(--c-txt); }
.v4c-contact, .v4c-world { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.v4c-in { opacity: 1 !important; transform: none !important; }
@keyframes v4cUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* шапка */
.v4c-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 24px; margin: 8px 0 clamp(28px, 4vw, 44px); padding: clamp(28px, 5vw, 60px); border-radius: 32px; overflow: hidden; background: radial-gradient(120% 140% at 0% 0%, #FBF1DF 0%, #F6F4EF 45%, #E4F1EA 100%); }
.v4c-heroText > * { animation: v4cUp .8s cubic-bezier(.22,1,.36,1) both; }
.v4c-heroText > :nth-child(2) { animation-delay: .08s; } .v4c-heroText > :nth-child(3) { animation-delay: .16s; }
.v4c .v4c-k { margin: 0 0 10px !important; font: 700 13px/1 Inter, system-ui, sans-serif !important; letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold) !important; }
.v4c .v4c-title { margin: 0 0 14px !important; font: 600 clamp(40px, 5.2vw, 66px)/1.02 var(--v4-cond), sans-serif !important; letter-spacing: -.02em; color: var(--c-ink) !important; }
.v4c .v4c-lead { max-width: 560px; margin: 0 !important; font: 400 18px/1.55 Inter, system-ui, sans-serif !important; color: var(--c-txt) !important; }
.v4c-art svg { width: 100%; max-width: 380px; display: block; margin: 0 auto; overflow: visible; }
.v4c-art svg * { transform-box: view-box; fill: none; stroke: #1E2421; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.v4c-glow { fill: rgba(201,169,97,.16) !important; stroke: none !important; animation: v4cGlow 6s ease-in-out infinite; transform-origin: 170px 112px; }
@keyframes v4cGlow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.v4c-env { animation: v4cFly 4s ease-in-out infinite; }
@keyframes v4cFly { 0%, 100% { transform: translate(0, 0) rotate(-4deg); } 50% { transform: translate(10px, -8px) rotate(2deg); } }
.v4c-envB { fill: #fff !important; }
.v4c-envF { stroke: #0F5C45 !important; }
.v4c-trail { stroke: #C9A961 !important; stroke-width: 2.5 !important; animation: v4cTrail 1.4s linear infinite; }
.v4c-t2 { animation-delay: .35s; } .v4c-t3 { animation-delay: .7s; }
@keyframes v4cTrail { 0% { transform: translateX(8px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(-14px); opacity: 0; } }
.v4c-bub { animation: v4cPop 5s ease-in-out infinite; transform-origin: 196px 88px; }
.v4c-bub path { fill: #0F5C45 !important; stroke: #0F5C45 !important; }
.v4c-dot { fill: #fff !important; stroke: none !important; animation: v4cDot 1.2s ease-in-out infinite; }
.v4c-dot:nth-of-type(2) { animation-delay: .2s; } .v4c-dot:nth-of-type(3) { animation-delay: .4s; }
@keyframes v4cDot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
@keyframes v4cPop { 0%, 8% { transform: scale(.6); opacity: 0; } 18%, 88% { transform: scale(1); opacity: 1; } 100% { transform: scale(.9); opacity: 0; } }
.v4c-cupB { fill: #fff !important; }
.v4c-tea { fill: #E0B154 !important; }
.v4c-heart { fill: #F28DB4 !important; stroke: none !important; transform-origin: 182px 134px; animation: v4cBeat 1.8s ease-in-out infinite; }
@keyframes v4cBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.1); } }
.v4c-st { stroke: #9AA5A0 !important; stroke-width: 2.5 !important; animation: v4cSteam 2.6s ease-out infinite; }
.v4c-s2 { animation-delay: 1.3s; }
@keyframes v4cSteam { 0% { transform: translateY(6px); opacity: 0; } 30% { opacity: .9; } 100% { transform: translateY(-14px); opacity: 0; } }
.v4c-sau { stroke: #C9A961 !important; }

/* форма + «как связаться» */
.v4c-contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: clamp(36px, 5vw, 64px); }
.v4c-formCard { padding: clamp(22px, 3.5vw, 36px); border: 1px solid #ECE6DA; border-radius: 28px; background: #fff; box-shadow: 0 16px 40px rgba(15,40,32,.06); }
.v4c-formCard .ty-form-builder { width: auto !important; float: none !important; margin: 0 !important; }
.v4c-formCard form > .clearfix { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.v4c-formCard .ty-control-group { width: auto !important; float: none !important; margin: 0 0 16px !important; padding: 0 !important; }
.v4c-formCard .ty-control-group.ty-column1 { grid-column: 1 / -1; }
.v4c-formCard .ty-control-group__title { display: block; margin: 0 0 7px !important; font: 600 14px/1.2 Inter, system-ui, sans-serif !important; color: var(--c-txt) !important; }
.v4c-formCard .ty-control-group__title.cm-required::after { color: #C2533A; }
.v4c-formCard input.ty-input-text, .v4c-formCard textarea { width: 100% !important; max-width: none !important; box-sizing: border-box; height: 48px; padding: 12px 16px !important; border: 1.5px solid #E1DCD1 !important; border-radius: 14px !important; background: #FCFBF8 !important; font: 400 15px Inter, system-ui, sans-serif !important; color: var(--c-ink); box-shadow: none !important; transition: border-color .2s, box-shadow .2s, background .2s; }
.v4c-formCard textarea { height: 150px; resize: vertical; }
.v4c-formCard input.ty-input-text:focus, .v4c-formCard textarea:focus { outline: none; border-color: var(--c-green) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(15,92,69,.12) !important; }
.v4c-formCard .ty-form-builder__buttons { margin: 4px 0 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.v4c-formCard .ty-form-builder__buttons .ty-btn { display: inline-flex !important; align-items: center; gap: 10px; height: 52px !important; padding: 0 30px !important; border: 0 !important; border-radius: 999px !important; background: var(--c-green) !important; color: #fff !important; font: 600 16px/1 Inter, system-ui, sans-serif !important; text-transform: none !important; box-shadow: 0 10px 22px rgba(15,92,69,.22); transition: transform .2s, background .2s; }
.v4c-formCard .ty-form-builder__buttons .ty-btn:hover { background: #006B45 !important; transform: translateY(-2px); }
.v4c-send { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.v4c-formCard .ty-btn:hover .v4c-send { transform: translate(3px, -3px); }
.v4c-quick { display: grid; gap: 14px; }
.v4c-qCard { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center; padding: 18px 20px; border-radius: 22px; background: #FBFAF7; border: 1px solid #ECE6DA; transition: transform .3s, box-shadow .3s; }
.v4c-in .v4c-qCard { animation: v4cUp .7s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--i) * 110ms + 150ms); }
.v4c-qCard:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(15,40,32,.08); }
.v4c-qCard .v4c-ico { grid-row: 1 / span 3; }
.v4c-qCard p { margin: 0 !important; font: 600 16px/1.4 Inter, system-ui, sans-serif; color: var(--c-ink); }
.v4c-qCard .v4c-qK { font: 600 12.5px/1.3 Inter, system-ui, sans-serif !important; letter-spacing: .06em; text-transform: uppercase; color: var(--c-mute) !important; }
.v4c a { color: var(--c-green); font-weight: 600; text-decoration: none; }
.v4c a:hover { text-decoration: underline; text-underline-offset: 3px; }
.v4c-qCard:nth-child(2) .v4c-ico { background: #FAF1E4; } .v4c-qCard:nth-child(2) .v4c-ico svg { stroke: #B8762E; }
.v4c-qCard:nth-child(3) .v4c-ico { background: #F2F0F8; } .v4c-qCard:nth-child(3) .v4c-ico svg { stroke: #7A6BB0; }

/* значки */
.v4c-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #EEF3F0; }
.v4c-ico svg { width: 24px; height: 24px; overflow: visible; fill: none; stroke: var(--c-green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.v4c-ico svg * { transform-box: fill-box; }
.v4c-flap { animation: v4cFlap 3s ease-in-out infinite; transform-origin: center top; }
@keyframes v4cFlap { 0%, 70%, 100% { transform: scaleY(1); } 80% { transform: scaleY(-.6); } }
.v4c-ring { transform-origin: center; animation: v4cRing 2.8s ease-in-out infinite; }
@keyframes v4cRing { 0%, 60%, 100% { transform: rotate(0); } 65%, 75%, 85% { transform: rotate(-12deg); } 70%, 80%, 90% { transform: rotate(12deg); } }
.v4c-dots { stroke-width: 2.6; animation: v4cBlink 1.4s ease-in-out infinite; }
@keyframes v4cBlink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.v4c-bob { animation: v4cBob 2.4s ease-in-out infinite; }
@keyframes v4cBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }

/* адреса по миру */
.v4c-world { margin-bottom: clamp(36px, 5vw, 64px); }
.v4c-worldHead { position: relative; padding-left: 84px; margin-bottom: 22px; }
.v4c-globe { position: absolute; left: 0; top: 2px; width: 64px; height: 64px; fill: none; stroke: #0F5C45; stroke-width: 2; stroke-linecap: round; }
.v4c-globe * { transform-box: view-box; }
.v4c-turn { transform-origin: 32px 32px; animation: v4cTurn 6s ease-in-out infinite; }
@keyframes v4cTurn { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(-1); } }
.v4c-worldHead h2 { margin: 0 0 6px !important; padding: 0 !important; border: 0 !important; font: 600 clamp(28px, 3.4vw, 42px)/1.1 var(--v4-cond), sans-serif !important; letter-spacing: -.015em; color: var(--c-ink) !important; text-transform: none !important; text-align: left !important; }
.v4c-worldHead p { margin: 0 !important; max-width: 640px; color: var(--c-mute); }
.v4c-offices { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.v4c-office { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 24px; background: #FBFAF7; border: 1px solid #ECE6DA; transition: transform .3s, box-shadow .3s; }
.v4c-in .v4c-office { animation: v4cUp .7s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--i) * 90ms); }
.v4c-office:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(15,40,32,.08); }
.v4c-office .v4c-ico { margin-bottom: 6px; }
.v4c-office p { margin: 0 !important; font-size: 15px; line-height: 1.55; }
.v4c-office .v4c-oK { font: 700 17px/1.3 Inter, system-ui, sans-serif !important; color: var(--c-ink) !important; }
.v4c-office:nth-child(3n+2) .v4c-ico { background: #FAF1E4; } .v4c-office:nth-child(3n+2) .v4c-ico svg { stroke: #B8762E; }
.v4c-office:nth-child(3n+3) .v4c-ico { background: #F2F0F8; } .v4c-office:nth-child(3n+3) .v4c-ico svg { stroke: #7A6BB0; }

@media (max-width: 1006px) {
  .v4c-hero, .v4c-contact { grid-template-columns: 1fr; }
  .v4c-art { order: -1; } .v4c-art svg { max-width: 300px; }
}
@media (max-width: 640px) {
  .v4c-hero { padding: 24px 20px; border-radius: 24px; }
  .v4c-formCard form > .clearfix { grid-template-columns: 1fr; }
  .v4c-formCard .ty-form-builder__buttons .ty-btn { width: 100%; justify-content: center; }
  .v4c-worldHead { padding-left: 0; } .v4c-globe { position: static; width: 48px; height: 48px; margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .v4c *, .v4c-after * { animation: none !important; transition: none !important; }
  .v4c-contact, .v4c-world { opacity: 1; transform: none; }
}
/* правки после осмотра: у старой формы своя рамка и «clearfix»-ячейки сетки */
.v4c-formCard form > .clearfix::before, .v4c-formCard form > .clearfix::after { display: none !important; content: none !important; }
.v4c-formCard .ty-form-builder, .v4c-formCard .vs-page-form-form, .v4c-formCard form { border: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; width: auto !important; }
.v4c-formCard .ty-form-builder::before, .v4c-formCard .ty-form-builder::after { display: none !important; }
@media (min-width: 1007px) { .v4c-offices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* 18.10.2026, замечания владельца: без тени под кнопкой «Submit», без хлебных крошек на этой странице */
.v4c-formCard .ty-form-builder__buttons, .v4c-formCard .ty-form-builder__buttons::before, .v4c-formCard .ty-form-builder__buttons::after { box-shadow: none !important; background: none !important; }
.v4c-formCard .ty-form-builder__buttons .ty-btn, .v4c-formCard .ty-form-builder__buttons .ty-btn:hover, .v4c-formCard .ty-form-builder__buttons .ty-btn:focus { box-shadow: none !important; }
.v4c-formCard .ty-form-builder__buttons .ty-btn::before, .v4c-formCard .ty-form-builder__buttons .ty-btn::after { display: none !important; }
html.v4c-page .ty-breadcrumbs, html.v4c-page .vs-breadcrumbs, html.v4c-page [class*="breadcrumbs"] { display: none !important; }
/* 16.10.2026, слово владельца («картинка довольно высокая — сократить, сделать прямоугольной, текст уменьшить»): на телефоне
   рисунок — невысокой полосой 110px, заголовок и текст мельче, отступы меньше (сам текст у витрин свой — в базе, не меняется) */
@media (max-width: 767px) {
  html body .v4c-hero { gap: 10px; padding: 18px 18px 22px; }
  html body .v4c-art { display: flex; justify-content: center; height: 110px; overflow: hidden; }
  html body .v4c-art svg { width: auto; height: 110px; max-width: none; }
  html body .v4c .v4c-k { margin-bottom: 6px !important; font-size: 11px !important; }
  html body .v4c .v4c-title { margin-bottom: 8px !important; font-size: 30px !important; }
  html body .v4c .v4c-lead { font-size: 15px !important; line-height: 1.45 !important; }
}
