/* New multipage components; approved homepage sections retain their own styles. */
.ovd-wrap { width:calc(100% - clamp(32px,7vw,120px)); max-width:1320px; margin-inline:auto; }
.ovd-main { padding:48px 0 72px; background:#f8f7f4; min-height:65vh; }
.ovd-main h1 { font-size:clamp(34px,4.4vw,64px); line-height:1.08; letter-spacing:-.04em; max-width:1000px; margin:24px 0; }
.ovd-main h2,.ovd-section h2 { font-size:clamp(27px,3vw,42px); line-height:1.15; letter-spacing:-.03em; margin:0 0 28px; }
.ovd-main h2 { margin-top:48px; }.ovd-main h3 { line-height:1.25; }
.ovd-page-heading p { font-size:19px; max-width:850px; color:#526175; }
.ovd-section { padding:clamp(44px,5vw,80px) 0; background:#f8f7f4; }
.ovd-section--prices,.ovd-section--reviews,.ovd-section--contacts { background:#efece6; }
.ovd-section--process { background:#123247; color:#fff; }
.ovd-split,.ovd-service-hero { display:grid; grid-template-columns:1fr 1fr; gap:clamp(24px,4vw,64px); align-items:start; }
.ovd-service-hero { align-items:center; margin-bottom:40px; }.ovd-service-image { width:100%; height:420px; object-fit:cover; border-radius:24px; }
.ovd-button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:12px 24px; border:1px solid #ff8300; border-radius:12px; background:#ff8300; color:#102b4a; font-weight:650; text-decoration:none; cursor:pointer; line-height:1.3; }
.ovd-button--line { background:transparent; border-color:#102b4a; }.ovd-button:disabled { opacity:.6; cursor:wait; }
.ovd-text-button { border:0; padding:0; background:transparent; color:#06499a; cursor:pointer; text-decoration:underline; }
.ovd-panel { padding:clamp(24px,3vw,40px); background:white; border-radius:24px; margin-block:30px; }
.ovd-prose { max-width:920px; }.ovd-prose p,.ovd-prose li { max-width:78ch; }.ovd-prose h2 { margin-top:42px; }
.ovd-breadcrumbs { font-size:14px; color:#526175; }.ovd-breadcrumbs a { text-decoration:none; }
.ovd-form { max-width:700px; display:grid; gap:16px; }.ovd-form label,.ovd-filters label { display:grid; gap:7px; }
.ovd-form input:not([type=checkbox]),.ovd-form select,.ovd-form textarea,.ovd-filters select,.ovd-search input { width:100%; min-width:0; border:1px solid #b7c2cc; border-radius:10px; background:#fff; color:#102b4a; padding:12px; min-height:48px; }
.ovd-form .ovd-consent { display:flex; align-items:flex-start; font-size:13px; gap:10px; }.ovd-consent input { margin-top:5px; width:18px; height:18px; flex-shrink:0; }
.ovd-form__status { margin:0; font-size:15px; }.ovd-trap { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.ovd-submit-pending::before {
  content:"";
  width:1em;
  height:1em;
  flex:none;
  margin-inline-end:.55em;
  border:2px solid currentColor;
  border-inline-end-color:transparent;
  border-radius:50%;
  animation:ovd-submit-spin .7s linear infinite;
}
.contact-submit.ovd-submit-pending svg { display:none; }
.ovd-form__status[data-enquiry-result], .contact-form__status[data-enquiry-result] {
  padding:12px 15px;
  border-inline-start:3px solid;
  border-radius:10px;
  line-height:1.45;
  animation:ovd-submit-result .24s ease-out both;
}
[data-enquiry-result="success"] { background:#edf6ef; color:#215537; }
[data-enquiry-result="error"] { background:#fff0e8; color:#8b301b; }
.ovd-quiz__success:not([hidden]) { animation:ovd-submit-result .24s ease-out both; }
@keyframes ovd-submit-spin { to { transform:rotate(1turn); } }
@keyframes ovd-submit-result {
  from { opacity:0; transform:translateY(5px); }
  to { opacity:1; transform:translateY(0); }
}
@media (prefers-reduced-motion:reduce) {
  .ovd-submit-pending::before,
  .ovd-form__status[data-enquiry-result],
  .contact-form__status[data-enquiry-result],
  .ovd-quiz__success:not([hidden]) { animation:none; }
}
.ovd-dialog { width:min(720px,calc(100% - 24px)); max-height:90dvh; overflow:auto; padding:clamp(24px,4vw,44px); border:0; border-radius:24px; color:#102b4a; background:#f8f7f4; }.ovd-dialog::backdrop { background:rgb(5 25 40 / 75%); }.ovd-dialog h2 { padding-right:34px; font-size:28px; line-height:1.15; }.ovd-close { position:absolute; top:12px; right:12px; width:44px; height:44px; border:0; border-radius:50%; font-size:28px; cursor:pointer; background:#fff; color:#102b4a; }.ovd-modal-open { overflow:hidden; }
.ovd-prices { display:grid; grid-template-columns:1fr 1fr; gap:24px; }.ovd-prices article { border-top:2px solid #ff8300; padding:22px 0; }.ovd-prices strong { font-size:clamp(32px,4vw,54px); }.ovd-process { list-style:none; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }.ovd-process span { color:#ff8300; font-size:28px; }.ovd-process h3 { font-size:20px; }
.ovd-faq details { border-bottom:1px solid #cbd3da; padding:18px 0; }.ovd-faq summary { cursor:pointer; font-size:20px; font-weight:600; }.ovd-faq details div { max-width:850px; padding-top:12px; }
.ovd-company-video { max-width:240px; justify-self:center; }.ovd-company-video .company-video { position:relative; inset:auto; width:100%; transform:none; }.ovd-company-video .company-video__trigger { transform:none; }
.ovd-catalog { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin:36px 0; }.ovd-catalog article { background:#fff; border-radius:22px; overflow:hidden; }.ovd-catalog a { display:grid; grid-template-columns:38% 1fr; height:100%; text-decoration:none; }.ovd-catalog img { width:100%; height:100%; min-height:220px; object-fit:cover; }.ovd-catalog article div { padding:24px; }.ovd-catalog h2 { font-size:24px; margin:0 0 12px; }.ovd-catalog span { color:#a84707; }
.ovd-link-list { display:grid; grid-template-columns:1fr 1fr; gap:16px; }.ovd-link-list a { padding:14px; border-bottom:1px solid #cbd3da; text-decoration:none; }
.ovd-filters { display:flex; gap:20px; align-items:end; flex-wrap:wrap; margin-block:30px; }.ovd-filters label { flex:1; min-width:200px; }
.ovd-project-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-block:30px; }.ovd-project-tile { min-width:0; }.ovd-project-tile img { width:100%; aspect-ratio:1.3; object-fit:cover; border-radius:20px; }.ovd-project-tile h2 { font-size:24px; margin:16px 0; }.ovd-project-tile>a:first-child { text-decoration:none; }
.ovd-project-media { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }.ovd-project-media button { position:relative; padding:0; border:0; background:#eae6df; border-radius:18px; overflow:hidden; cursor:pointer; }.ovd-project-media img { width:100%; height:400px; display:block; object-fit:cover; }.ovd-project-media span { position:absolute; bottom:20px; left:20px; padding:10px; border-radius:10px; color:#fff; background:#123247; }
.ovd-map { width:100%; height:420px; border:0; border-radius:20px; }.ovd-pagination { display:flex; gap:12px; }.ovd-pagination>* { padding:8px 14px; border:1px solid #cbd3da; border-radius:8px; }
.ovd-footer { background:#102b4a; color:#fff; padding:50px 0 24px; }.ovd-footer__grid { display:grid; grid-template-columns:1fr .8fr 1.2fr 1fr; gap:30px; }.ovd-footer ul { list-style:none; padding:0; margin:0; }.ovd-footer li { margin-bottom:10px; }.ovd-footer a { text-decoration:none; }.ovd-footer .site-brand { display:block; width:130px; background:#fff; border-radius:8px; padding:10px; }.ovd-footer .site-brand img { width:100%; }.ovd-footer__legal { display:flex; gap:24px; flex-wrap:wrap; border-top:1px solid #526175; margin-top:30px; padding-top:24px; font-size:13px; }
.ovd-articles { display:grid; grid-template-columns:repeat(2,1fr); gap:30px; }.ovd-article-image { width:100%; max-height:520px; object-fit:cover; border-radius:20px; }.ovd-search { display:flex; gap:10px; max-width:700px; margin:24px 0; }
@media(max-width:1180px){.ovd-footer__grid { grid-template-columns:1fr 1fr; }}
@media(max-width:767px){.ovd-main { padding-top:32px; }.ovd-split,.ovd-service-hero,.ovd-catalog,.ovd-project-grid,.ovd-project-media,.ovd-articles,.ovd-prices,.ovd-link-list,.ovd-footer__grid { grid-template-columns:1fr; }.ovd-process { grid-template-columns:1fr 1fr; gap:20px; }.ovd-service-image { height:300px; }.ovd-project-media img { height:300px; }.ovd-catalog a { grid-template-columns:33% 1fr; }.ovd-catalog article div { padding:18px; }.ovd-catalog h2 { font-size:21px; }.ovd-form,.ovd-filters { min-width:0; }.ovd-search { flex-wrap:wrap; }.ovd-dialog { max-height:94dvh; }.ovd-section h2 { overflow-wrap:normal; }}

/* Header navigation: a single row when there is room, disclosure below 1600px. */
.site-header .primary-navigation { min-width:0; }
.site-header .primary-menu { display:flex; align-items:center; flex-wrap:nowrap; gap:24px; padding:0; margin:0; list-style:none; }
.site-header .primary-menu>li { position:relative; display:flex; align-items:center; gap:6px; }
.site-header .primary-menu>li>a { padding:12px 0; font-size:16px; line-height:24px; white-space:nowrap; }
.site-header .primary-menu>li>a::before,.site-header .primary-menu>li>a::after { content:none; }
.site-header .primary-menu>li.current-menu-item>a,.site-header .primary-menu>li.current-menu-ancestor>a { color:#a84707; font-weight:650; }
.site-header .primary-menu a:hover { color:#c45b00; }
.ovd-submenu-toggle { display:grid; place-items:center; flex:none; width:24px; height:44px; padding:0; border:0; background:transparent; color:#102b4a; cursor:pointer; }
.ovd-submenu-toggle::before { content:""; justify-self:start; width:7px; height:7px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:translateY(-2px) rotate(45deg); }
.ovd-submenu-toggle[aria-expanded=true]::before { transform:translateY(2px) rotate(225deg); }
.site-header .primary-menu .sub-menu { display:none; position:absolute; z-index:20; top:100%; left:-16px; width:340px; min-width:0; max-height:70dvh; overflow:auto; margin:0; padding:14px; list-style:none; border:1px solid #e5e4e1; border-radius:14px; background:#fff; box-shadow:0 10px 28px rgb(16 43 74 / 12%); }
.site-header .primary-menu .ovd-submenu-open>.sub-menu { display:block; }
.site-header .primary-menu .sub-menu a { display:block; padding:10px 12px; font-size:15px; line-height:1.4; white-space:normal; border-radius:8px; }
.site-header .primary-menu .sub-menu a:hover,.site-header .primary-menu .sub-menu a:focus-visible { background:#fff3e5; color:#a84707; }
@media(min-width:1280px){
 .site-header .site-header__inner { gap:clamp(12px,1.2vw,22px); flex-wrap:nowrap; }
 .site-header .site-header__messengers { margin-inline-end:0; }
 .site-header .primary-navigation { margin-inline:auto; }
 .site-header .primary-menu { gap:clamp(13px,1.35vw,26px); }
 .site-header .primary-menu>li>a { font-size:clamp(14px,1.04vw,16px); }
 .site-header .header-contact { margin-left:0; }
}
@media(max-width:1279px){
 .site-header .site-header__inner { flex-wrap:wrap; }
 .site-header .menu-toggle { display:grid; place-items:center; order:4; width:44px; height:44px; padding:10px; border:1px solid #bcc6d1; border-radius:10px; background:#fff; color:#102b4a; cursor:pointer; }
 .menu-toggle__lines,.menu-toggle__lines::before,.menu-toggle__lines::after { display:block; width:22px; height:2px; border-radius:2px; background:currentColor; }
 .menu-toggle__lines { position:relative; }.menu-toggle__lines::before,.menu-toggle__lines::after { position:absolute; left:0; content:""; }.menu-toggle__lines::before { top:-7px; }.menu-toggle__lines::after { top:7px; }
 .menu-toggle[aria-expanded=true] .menu-toggle__lines { background:transparent; }.menu-toggle[aria-expanded=true] .menu-toggle__lines::before { top:0; transform:rotate(45deg); }.menu-toggle[aria-expanded=true] .menu-toggle__lines::after { top:0; transform:rotate(-45deg); }
 .site-header .primary-navigation { order:5; width:100%; margin:0; max-height:calc(100dvh - 110px); overflow:auto; padding:12px 0; border-top:1px solid #e1dfdb; }
 .js .site-header .primary-navigation { display:none; }.js .site-header .primary-navigation.is-open { display:block; }
 .site-header:has(.primary-navigation.is-open) { background:#f8f7f4; }
 .site-header .primary-menu { display:flex; flex-direction:column; align-items:stretch; gap:0; }
 .site-header .primary-menu>li { flex-wrap:wrap; justify-content:flex-start; }
 .site-header .primary-menu>li>a { font-size:16px; }
 .site-header .primary-menu .sub-menu { position:static; width:100%; max-height:none; box-shadow:none; margin-bottom:8px; padding:8px 12px; }
}
@media(min-width:768px) and (max-width:899px){
 .site-header .site-header__inner { row-gap:8px; }
 .site-header .primary-navigation { order:6; max-height:calc(100dvh - 140px); }
}
@media(max-width:767px){.site-header .primary-navigation { max-height:calc(100dvh - 90px); }.site-header .primary-menu .sub-menu a { padding:12px 8px; }}
.home .ovd-footer .ovd-wrap{width:min(var(--home-width),calc(100% - 2 * var(--home-gutter)));max-width:none}
.home .ovd-footer{background:#102c47}.home .ovd-footer a:hover{color:#ffc18a}.home .ovd-footer a:focus-visible{outline:2px solid #ffb16c;outline-offset:4px}
@media(max-width:767px){.home .ovd-footer nav[aria-label="Разделы сайта"] ul{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.home .ovd-footer nav a{display:inline-block;padding-block:5px}.home .ovd-footer__grid{gap:24px}.home .ovd-footer__legal{gap:16px}}

/* The compact homepage header is the size reference for all inner pages. */
body:not(.home) .site-header__inner{min-height:82px;padding-block:6px;align-items:center}
body:not(.home) .site-brand{width:100px;align-self:center}
@media(max-width:1279px){
 body:not(.home) .site-header__inner{min-height:76px}
 body:not(.home) .site-brand{width:88px}
}
@media(max-width:767px){
 body:not(.home) .site-header__inner{min-height:68px;padding-block:5px}
 body:not(.home) .site-brand{width:70px}
}

.site-header__messengers {
  display:flex;
  flex:none;
  align-items:center;
  gap:8px;
  margin-inline-end:auto;
  padding-inline-start:clamp(10px,1.25vw,22px);
  border-inline-start:1px solid #d0d5dc;
}
.site-header__messenger {
  display:block;
  box-sizing:border-box;
  width:36px;
  height:36px;
  padding:6px;
  border-radius:11px;
  color:#fff;
}
.site-header__messenger--max { background:linear-gradient(140deg,#00aeee,#471aff 62%,#9500ff); }
.site-header__messenger--telegram { background:#229ed9; }
.site-header__messenger--whatsapp { background:#128c53; }
@media(max-width:767px) {
  .site-header__messengers { display:none; }
}
