/* LDVC-MVA Carbon2 FullHD Header & Footer (80px gradient wave) */

:root {
    --c2-cobalt: #071A33;
    --c2-cobalt-elev: #0D2647;
    --c2-cobalt-hover: #13325B;
    --c2-blue: #004097;
    --c2-blue-hover: #0A4DA2;
    --c2-white: #FFFFFF;
    --c2-ink: #0F172A;
    --c2-slate: #475569;
    --c2-ice: #BFD6F6;
    --c2-ice-muted: #93B5E1;
    --c2-border-light: #E2E8F0;
    --c2-border-cobalt: rgba(186, 214, 252, 0.16);
    --c2-urgent-ink: #0E7490;
    --c2-urgent-bg: #ECFEFF;
  }

  html, body {
    padding-top: 0 !important;
    margin-top: 0 !important;
    overflow-x: clip;
  }

  #page, .site, #carouselExampleCaptions, #carouselExampleCaptions .carousel-inner {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Ensure hero slider photo has cinematic top presence on all viewports */
  #carouselExampleCaptions .carousel-item img {
    margin-top: 0 !important;
  }

  .back-to-top {
    bottom: 84px !important;
    right: 24px !important;
    left: auto !important;
    z-index: 8500 !important;
  }

  #ldvc-new-header ::selection,
  #ldvc-new-footer ::selection,
  #ldvc-mobile-drawer ::selection,
  #ldvc-booking-modal ::selection {
    background: #004097;
    color: #FFFFFF;
  }

  #ldvc-new-header, #ldvc-new-header *,
  #ldvc-new-footer, #ldvc-new-footer *,
  #ldvc-mobile-drawer, #ldvc-mobile-drawer *,
  #ldvc-booking-modal, #ldvc-booking-modal *,
  #c2-copy-toast, #c2-copy-toast * {
    box-sizing: border-box;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }

  #ldvc-new-header :focus:not(:focus-visible),
  #ldvc-new-footer :focus:not(:focus-visible),
  #ldvc-mobile-drawer :focus:not(:focus-visible),
  #ldvc-booking-modal :focus:not(:focus-visible) {
    outline: none;
  }

  #ldvc-new-header a,
  #ldvc-new-footer a,
  #ldvc-mobile-drawer a,
  #ldvc-booking-modal a {
    text-decoration: none;
  }

  #ldvc-new-header ul,
  #ldvc-new-footer ul,
  #ldvc-mobile-drawer ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #ldvc-new-header button,
  #ldvc-new-footer button,
  #ldvc-mobile-drawer button,
  #ldvc-booking-modal button {
    cursor: pointer;
    font-family: inherit;
  }

  #ldvc-new-header :focus-visible,
  #ldvc-mobile-drawer :focus-visible,
  #ldvc-booking-modal :focus-visible {
    outline: 2px solid #004097;
    outline-offset: 2px;
  }

  #ldvc-new-header:not(.is-scrolled) > .c2-hdr-inner > .c2-brand:focus-visible,
  #ldvc-new-header:not(.is-scrolled) .c2-nav-link:focus-visible,
  #ldvc-new-header:not(.is-scrolled) .c2-phone-trigger:focus-visible,
  #ldvc-new-header:not(.is-scrolled) .c2-hdr-cta:focus-visible,
  #ldvc-new-header:not(.is-scrolled) .c2-burger:focus-visible,
  #ldvc-new-footer :focus-visible {
    outline: 2px solid #7DD3FC;
    outline-offset: 2px;
  }

  .c2-panel :focus-visible {
    outline: 2px solid #004097;
    outline-offset: 2px;
  }

  /* ==========================================================================
     HEADER: Editorial Transparent Overlay (y=0) -> Pure White Sticky (>80px)
     ========================================================================== */
  #ldvc-new-header.c2-hdr {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transition: background-color 0.26s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.26s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* Delicate top readability gradient over live hero slider */
  #ldvc-new-header.c2-hdr::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 138px;
    background: linear-gradient(180deg, rgba(7,24,48,0.72) 0%, rgba(7,24,48,0.22) 68%, rgba(7,24,48,0) 100%);
    pointer-events: none;
    z-index: -1;
    opacity: 1;
    transition: opacity 0.26s ease;
  }

  #ldvc-new-header.c2-hdr.is-scrolled {
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  }

  #ldvc-new-header.c2-hdr.is-scrolled::before {
    opacity: 0;
  }

  .c2-hdr-inner {
    max-width: 1420px;
    margin: 0 auto;
    height: 84px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: relative;
    transition: height 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  }

  #ldvc-new-header.c2-hdr.is-scrolled .c2-hdr-inner {
    height: 72px;
  }

  /* Brand lockup with circular white crest medallion */
  .c2-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: #FFFFFF;
    transition: color 0.22s ease;
  }

  .c2-crest-ring {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #FFFFFF;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(7, 24, 48, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  }

  .c2-brand:hover .c2-crest-ring {
    transform: scale(1.03);
  }

  #ldvc-new-header.c2-hdr.is-scrolled .c2-crest-ring {
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    border-color: #E2E8F0;
  }

  .c2-crest-ring img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  .c2-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.15;
  }

  .c2-brand-title {
    font-size: 16.5px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    white-space: nowrap;
    transition: color 0.22s ease;
  }

  .c2-brand-sub {
    font-size: 11.5px;
    font-weight: 500;
    color: rgba(232, 242, 255, 0.88);
    white-space: nowrap;
    transition: color 0.22s ease;
  }

  #ldvc-new-header.c2-hdr.is-scrolled .c2-brand-title {
    color: #0F172A;
  }

  #ldvc-new-header.c2-hdr.is-scrolled .c2-brand-sub {
    color: #526071;
  }

  /* Center Navigation */
  .c2-nav {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .c2-nav-item {
    position: relative;
    display: flex;
    align-items: center;
  }

  .c2-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 38px;
    padding: 0 11px;
    border-radius: 9px;
    border: 1px solid transparent;
    background: transparent;
    color: #FFFFFF;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-shadow: 0 1px 8px rgba(7, 24, 48, 0.32);
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, text-shadow 0.18s ease;
  }

  .c2-nav-link:hover,
  .c2-nav-link[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
  }

  .c2-nav-link.is-triage {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.30);
    padding: 0 12px;
  }

  .c2-nav-link.is-triage:hover,
  .c2-nav-link.is-triage[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.55);
  }

  .c2-ico-pulse {
    color: #7DD3FC;
    flex-shrink: 0;
    transition: color 0.18s ease;
  }

  .c2-ico-chev {
    opacity: 0.85;
    flex-shrink: 0;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .c2-nav-link[aria-expanded="true"] .c2-ico-chev,
  .c2-phone-trigger[aria-expanded="true"] .c2-ico-chev {
    transform: rotate(180deg);
  }

  #ldvc-new-header.c2-hdr.is-scrolled .c2-nav-link {
    color: #0F172A;
    text-shadow: none;
  }

  #ldvc-new-header.c2-hdr.is-scrolled .c2-nav-link:hover,
  #ldvc-new-header.c2-hdr.is-scrolled .c2-nav-link[aria-expanded="true"] {
    background: #F1F5F9;
    color: #004097;
  }

  #ldvc-new-header.c2-hdr.is-scrolled .c2-nav-link.is-triage {
    background: #F0F9FF;
    border-color: #BAE6FD;
    color: #0369A1;
  }

  #ldvc-new-header.c2-hdr.is-scrolled .c2-nav-link.is-triage:hover,
  #ldvc-new-header.c2-hdr.is-scrolled .c2-nav-link.is-triage[aria-expanded="true"] {
    background: #E0F2FE;
    border-color: #7DD3FC;
    color: #075985;
  }

  #ldvc-new-header.c2-hdr.is-scrolled .c2-ico-pulse {
    color: #0284C7;
  }

  /* Right Cluster: Phone Popover + CTA */
  .c2-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
  }

  .c2-phone-wrap {
    position: relative;
  }

  .c2-phone-trigger {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 5px 10px;
    border-radius: 9px;
    border: 1px solid transparent;
    background: transparent;
    color: #FFFFFF;
    text-align: right;
    transition: background-color 0.18s ease, color 0.18s ease;
  }

  .c2-phone-trigger:hover,
  .c2-phone-trigger[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.14);
  }

  .c2-phone-main {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #FFFFFF;
    white-space: nowrap;
    text-shadow: 0 1px 8px rgba(7, 24, 48, 0.32);
    transition: color 0.2s ease, text-shadow 0.2s ease;
  }

  .c2-phone-sub {
    font-size: 11.5px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: rgba(232, 242, 255, 0.88);
    white-space: nowrap;
    transition: color 0.2s ease;
  }

  #ldvc-new-header.c2-hdr.is-scrolled .c2-phone-trigger:hover,
  #ldvc-new-header.c2-hdr.is-scrolled .c2-phone-trigger[aria-expanded="true"] {
    background: #F1F5F9;
  }

  #ldvc-new-header.c2-hdr.is-scrolled .c2-phone-main {
    color: #0F172A;
    text-shadow: none;
  }

  #ldvc-new-header.c2-hdr.is-scrolled .c2-phone-sub {
    color: #64748B;
  }

  /* Primary Header CTA: Pure White at y=0 -> #004097 on scroll */
  .c2-hdr-cta {
    height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid #FFFFFF;
    background: #FFFFFF;
    color: #071A33;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(7, 24, 48, 0.24);
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.15s ease;
  }

  .c2-hdr-cta:hover {
    background: #F0F6FF;
    border-color: #F0F6FF;
    color: #004097;
    transform: translateY(-1px);
  }

  #ldvc-new-header.c2-hdr.is-scrolled .c2-hdr-cta {
    background: #004097;
    border-color: #004097;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 64, 151, 0.18);
  }

  #ldvc-new-header.c2-hdr.is-scrolled .c2-hdr-cta:hover {
    background: #0A4DA2;
    border-color: #0A4DA2;
    color: #FFFFFF;
  }

  /* Mobile controls in header */
  .c2-mob-call {
    display: none;
    height: 40px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    backdrop-filter: blur(8px);
  }

  .c2-burger {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0 !important;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
  }

  .c2-burger svg,
  .c2-drawer-close svg,
  .c2-modal-close svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    display: block !important;
  }

  #ldvc-new-header.c2-hdr.is-scrolled .c2-mob-call {
    background: #F8FAFC;
    border-color: #CBD5E1;
    color: #004097;
  }

  #ldvc-new-header.c2-hdr.is-scrolled .c2-burger {
    background: #FFFFFF;
    border-color: #CBD5E1;
    color: #0F172A;
  }

  /* ==========================================================================
     FLOATING PANELS: Full-Width Mega-Menu, Triage Popover, Phones, About
     ========================================================================== */
  .c2-panel {
    position: absolute;
    background: #FFFFFF;
    color: #0F172A;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 24px 56px rgba(7, 24, 48, 0.20), 0 4px 14px rgba(7, 24, 48, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0.2s;
    z-index: 9100;
  }

  .c2-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* (a) Full-Width Mega-Menu "Отделения" */
  .c2-mega {
    top: calc(100% + 8px);
    left: 28px;
    right: 28px;
    padding: 26px 30px 24px;
  }

  .c2-mega-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #E2E8F0;
  }

  .c2-mega-heading {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .c2-mega-heading strong {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    letter-spacing: -0.015em;
  }

  .c2-mega-heading span {
    font-size: 13.5px;
    color: #526071;
  }

  .c2-mega-search {
    position: relative;
    width: min(376px, 100%);
  }

  .c2-mega-search svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B;
    pointer-events: none;
  }

  .c2-mega-search input {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 38px;
    border-radius: 10px;
    border: 1px solid #CBD5E1;
    background: #F8FAFC;
    color: #0F172A;
    font-size: 14px;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  }

  .c2-mega-search input:focus,
  .c2-mega-search input:focus-visible {
    outline: none !important;
    border-color: #004097;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(0, 64, 151, 0.12);
  }

  .c2-mega-grid {
    display: grid;
    grid-template-columns: 1.9fr 1fr;
    gap: 36px;
  }

  .c2-mega-col-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: #004097;
    letter-spacing: -0.01em;
  }

  .c2-mega-depts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 20px;
  }

  .c2-mega-diag {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .c2-mega-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 8px;
    color: #1E293B;
    font-size: 14.5px;
    font-weight: 500;
    transition: background-color 0.15s ease, color 0.15s ease;
  }

  .c2-mega-link:hover {
    background: #F0F6FF;
    color: #004097;
  }

  .c2-mega-empty {
    display: none;
    padding: 14px 10px;
    font-size: 14px;
    color: #64748B;
  }

  .c2-mega-foot {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13.5px;
    color: #475569;
  }

  .c2-mega-foot-links {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .c2-mega-foot-links a {
    color: #004097;
    font-weight: 600;
  }

  .c2-mega-foot-links a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  /* (b) Live Triage Popover "Питомец заболел" */
  .c2-triage {
    top: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 8px);
    width: min(540px, calc(100vw - 40px));
    padding: 22px 24px;
  }

  .c2-triage.is-open {
    transform: translate(-50%, 0);
  }

  .c2-triage-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
  }

  .c2-triage-head h3 {
    margin: 0 0 4px;
    font-size: 17.5px;
    font-weight: 700;
    color: #0F172A;
    letter-spacing: -0.015em;
  }

  .c2-triage-head p {
    margin: 0;
    font-size: 13.5px;
    color: #475569;
    line-height: 1.45;
  }

  .c2-triage-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    background: #F1F5F9;
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 14px;
  }

  .c2-triage-tab {
    height: 34px;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  }

  .c2-triage-tab.is-active {
    background: #FFFFFF;
    color: #0F172A;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  }

  .c2-triage-pane {
    display: none;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
  }

  .c2-triage-pane.is-active {
    display: block;
  }

  .c2-triage-pane.is-critical {
    background: #FFF8F8;
    border-color: #FECACA;
  }

  .c2-triage-pane strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
  }

  .c2-triage-pane.is-critical strong {
    color: #991B1B;
  }

  .c2-triage-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .c2-triage-list li {
    position: relative;
    padding-left: 16px;
    font-size: 13.5px;
    line-height: 1.45;
    color: #334155;
  }

  .c2-triage-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0284C7;
  }

  .c2-triage-pane.is-critical .c2-triage-list li::before {
    background: #DC2626;
  }

  .c2-triage-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }

  .c2-triage-call {
    flex: 1 1 auto;
    height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    background: #004097;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.15s ease;
  }

  .c2-triage-call:hover {
    background: #0A4DA2;
    color: #FFFFFF;
  }

  .c2-triage-guide {
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #CBD5E1;
    background: #FFFFFF;
    color: #0F172A;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease, color 0.15s ease;
  }

  .c2-triage-guide:hover {
    border-color: #004097;
    color: #004097;
  }

  /* About dropdown */
  .c2-about-pop {
    top: calc(100% + 10px);
    left: 0;
    width: 268px;
    padding: 10px;
  }

  .c2-about-pop a {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    color: #1E293B;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.15s ease, color 0.15s ease;
  }

  .c2-about-pop a:hover {
    background: #F0F6FF;
    color: #004097;
  }

  /* Phones popover */
  .c2-phones-pop {
    top: calc(100% + 10px);
    right: 0;
    width: 332px;
    padding: 18px;
  }

  .c2-phones-title {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 10px;
  }

  .c2-phones-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .c2-phones-list a {
    display: flex;
    flex-direction: column;
    padding: 8px 10px;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #0F172A;
    transition: border-color 0.15s ease, background-color 0.15s ease;
  }

  .c2-phones-list a:hover {
    border-color: #93C5FD;
    background: #F0F6FF;
  }

  .c2-phones-list strong {
    font-size: 14.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #0F172A;
  }

  .c2-phones-list span {
    font-size: 12px;
    color: #64748B;
  }

  .c2-phones-meta {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #E2E8F0;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
  }

  .c2-phones-meta a {
    color: #004097;
    font-weight: 600;
  }

  /* ==========================================================================
     FOOTER: Asymmetric Noble Cobalt (#071A33) Signature Footer
     ========================================================================== */
  #ldvc-new-footer.c2-ftr {
    position: relative;
    background: #071A33;
    color: #FFFFFF;
    overflow: hidden;
    border-top: 1px solid rgba(186, 214, 252, 0.14);
  }

  .c2-ftr-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 32px 44px;
    position: relative;
    z-index: 2;
  }

  .c2-ftr-grid {
    display: grid;
    grid-template-columns: minmax(360px, 5fr) minmax(440px, 7fr);
    gap: 52px;
    align-items: start;
  }

  /* Left Wide Accent Column */
  .c2-ftr-lead {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .c2-ftr-brand {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .c2-ftr-crest {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFFFFF;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  }

  .c2-ftr-crest img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  .c2-ftr-brand-txt strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.01em;
  }

  .c2-ftr-brand-txt span {
    display: block;
    font-size: 13.5px;
    color: #9CC0EE;
    font-variant-numeric: tabular-nums;
    margin-top: 2px;
  }

  .c2-ftr-h2 {
    margin: 2px 0 0;
    font-size: clamp(28px, 2.3vw, 32px);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.028em;
    color: #FFFFFF;
    text-wrap: balance;
    max-width: 18ch;
  }

  .c2-ftr-desc {
    margin: -6px 0 0;
    font-size: 15px;
    line-height: 1.55;
    color: #BFD6F6;
    max-width: 44ch;
  }

  /* 1-Click Copy Buttons */
  .c2-copy-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 480px;
  }

  .c2-copy-btn {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid rgba(186, 214, 252, 0.18);
    background: #0D2647;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
  }

  .c2-copy-btn:hover {
    background: #13325B;
    border-color: rgba(186, 214, 252, 0.36);
  }

  .c2-copy-btn:active {
    transform: scale(0.995);
  }

  .c2-copy-btn.is-copied {
    border-color: #7DD3FC;
    background: #10335C;
  }

  .c2-copy-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
  }

  .c2-copy-ico {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(191, 214, 246, 0.10);
    color: #93C5FD;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .c2-copy-val {
    font-size: 15.5px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.35;
    font-variant-numeric: tabular-nums;
  }

  .c2-copy-val.is-phone {
    font-size: 17px;
    font-weight: 700;
  }

  .c2-copy-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #BFD6F6;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.18s ease, color 0.18s ease;
  }

  .c2-copy-btn:hover .c2-copy-badge {
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
  }

  .c2-copy-btn .c2-svg-check {
    display: none;
  }

  .c2-copy-btn.is-copied .c2-svg-copy {
    display: none;
  }

  .c2-copy-btn.is-copied .c2-svg-check {
    display: block;
    color: #7DD3FC;
  }

  .c2-copy-btn.is-copied .c2-copy-badge {
    background: rgba(125, 211, 252, 0.18);
    color: #E0F2FE;
  }

  /* Spoiler: "Все 4 линии регистратуры" */
  .c2-spoiler {
    max-width: 480px;
  }

  .c2-spoiler-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 2px;
    border: none;
    background: transparent;
    color: #9CC0EE;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.15s ease;
  }

  .c2-spoiler-btn:hover,
  .c2-spoiler-btn[aria-expanded="true"] {
    color: #FFFFFF;
  }

  .c2-spoiler-btn[aria-expanded="true"] .c2-ico-chev {
    transform: rotate(180deg);
  }

  .c2-spoiler-body {
    display: none;
    margin-top: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #0D2647;
    border: 1px solid rgba(186, 214, 252, 0.16);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
  }

  .c2-spoiler-body.is-open {
    display: grid;
  }

  .c2-spoiler-line {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .c2-spoiler-line a {
    font-size: 14.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #FFFFFF;
  }

  .c2-spoiler-line a:hover {
    color: #93C5FD;
  }

  .c2-spoiler-line span {
    font-size: 12px;
    color: #93B5E1;
  }

  /* Footer CTA Row */
  .c2-ftr-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
  }

  .c2-ftr-cta {
    height: 48px;
    padding: 0 24px;
    border-radius: 10px;
    border: 1px solid #FFFFFF;
    background: #FFFFFF;
    color: #071A33;
    font-size: 15px;
    font-weight: 700;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.15s ease;
  }

  .c2-ftr-cta:hover {
    background: #E8F1FF;
    color: #004097;
    transform: translateY(-1px);
  }

  .c2-ftr-sec {
    height: 48px;
    padding: 0 20px;
    border-radius: 10px;
    border: 1px solid rgba(186, 214, 252, 0.28);
    background: transparent;
    color: #FFFFFF;
    font-size: 14.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.18s ease, background-color 0.18s ease;
  }

  .c2-ftr-sec:hover {
    border-color: #FFFFFF;
    background: rgba(255, 255, 255, 0.07);
    color: #FFFFFF;
  }

  /* Right Curated 2-Column Zone */
  .c2-ftr-nav {
    border-left: 1px solid rgba(186, 214, 252, 0.14);
    padding-left: 52px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }

  .c2-ftr-col h3 {
    margin: 0 0 18px;
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.015em;
  }

  .c2-ftr-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
  }

  .c2-ftr-links a {
    display: inline-block;
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.42;
    color: #D0E2FA;
    transition: color 0.15s ease;
  }

  .c2-ftr-links a:hover {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(255, 255, 255, 0.65);
  }

  /* Delicate Architectural Watermark Wordmark */
  .c2-ftr-watermark {
    margin-top: 26px;
    line-height: 0.84;
    font-size: clamp(54px, 9.2vw, 128px);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: rgba(186, 214, 252, 0.055);
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
  }

  /* Clean Bottom Legal & Ecosystem Bar */
  .c2-ftr-bottom {
    margin-top: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(186, 214, 252, 0.14);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 28px;
    font-size: 13.5px;
    color: #9CC0EE;
  }

  .c2-ftr-meta-left,
  .c2-ftr-meta-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
  }

  .c2-ftr-bottom a {
    color: #BFD6F6;
    font-weight: 500;
    transition: color 0.15s ease;
  }

  .c2-ftr-bottom a:hover {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  /* ==========================================================================
     TOAST, MOBILE DRAWER & DEMO BOOKING MODAL
     ========================================================================== */
  #c2-copy-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translate(-50%, 16px);
    padding: 11px 18px;
    border-radius: 999px;
    background: #FFFFFF;
    color: #071A33;
    border: 1px solid #CBD5E1;
    box-shadow: 0 14px 36px rgba(7, 24, 48, 0.28);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.2s;
  }

  #c2-copy-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  #c2-copy-toast svg {
    color: #0284C7;
    flex-shrink: 0;
  }

  /* Mobile Drawer */
  .c2-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 26, 51, 0.55);
    z-index: 99990;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s;
  }

  .c2-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .c2-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(376px, 100vw);
    background: #FFFFFF;
    color: #0F172A;
    z-index: 99991;
    transform: translateX(100%);
    transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -12px 0 40px rgba(7, 26, 51, 0.22);
  }

  .c2-drawer.is-open {
    transform: translateX(0);
  }

  .c2-drawer-head {
    padding: 16px 20px;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .c2-drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    color: #0F172A;
  }

  .c2-drawer-brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
  }

  .c2-drawer-close {
    width: 38px;
    height: 38px;
    padding: 0 !important;
    border-radius: 9px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    color: #0F172A;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
  }

  .c2-drawer-body {
    padding: 18px 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .c2-drawer-cta {
    width: 100%;
    height: 46px;
    border-radius: 10px;
    border: none;
    background: #004097;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
  }

  .c2-drawer-triage-box {
    padding: 14px;
    border-radius: 12px;
    background: #F0F9FF;
    border: 1px solid #BAE6FD;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .c2-drawer-triage-box strong {
    font-size: 14.5px;
    color: #075985;
  }

  .c2-drawer-triage-box p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #334155;
  }

  .c2-drawer-triage-box a {
    font-size: 13.5px;
    font-weight: 700;
    color: #004097;
    margin-top: 2px;
  }

  .c2-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .c2-drawer-item {
    width: 100%;
    padding: 11px 12px;
    border-radius: 9px;
    border: none;
    background: transparent;
    color: #0F172A;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .c2-drawer-item:hover {
    background: #F1F5F9;
    color: #004097;
  }

  .c2-drawer-item[aria-expanded="true"] .c2-ico-chev {
    transform: rotate(180deg);
  }

  .c2-drawer-sub {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 4px 0 8px 10px;
    margin-left: 8px;
    border-left: 1px solid #CBD5E1;
  }

  .c2-drawer-sub.is-open {
    display: flex;
  }

  .c2-drawer-sub a {
    padding: 7px 10px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
  }

  .c2-drawer-sub a:hover {
    background: #F8FAFC;
    color: #004097;
  }

  .c2-drawer-contacts {
    padding: 14px;
    border-radius: 12px;
    background: #071A33;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13.5px;
  }

  .c2-drawer-contacts span {
    color: #BFD6F6;
  }

  .c2-drawer-phones {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
  }

  .c2-drawer-phones a {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14.5px;
    font-variant-numeric: tabular-nums;
  }

  /* Booking Modal */
  .c2-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 26, 51, 0.58);
    z-index: 99995;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }

  .c2-modal-backdrop.is-open {
    display: flex;
  }

  .c2-modal-box {
    width: min(472px, 100%);
    background: #FFFFFF;
    color: #0F172A;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 28px 64px rgba(7, 26, 51, 0.28);
    overflow: hidden;
  }

  .c2-modal-head {
    padding: 18px 22px;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .c2-modal-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
  }

  .c2-modal-close {
    width: 34px;
    height: 34px;
    padding: 0 !important;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    color: #0F172A;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
  }

  .c2-modal-form {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .c2-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
  }

  .c2-field input,
  .c2-field select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid #CBD5E1;
    background: #FFFFFF;
    color: #0F172A;
    font-size: 14.5px;
    font-family: inherit;
  }

  .c2-field input:focus,
  .c2-field select:focus {
    outline: none;
    border-color: #004097;
  }

  .c2-modal-submit {
    height: 46px;
    border: none;
    border-radius: 10px;
    background: #004097;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
  }

  .c2-modal-submit:hover {
    background: #0A4DA2;
  }

  .c2-modal-note {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: #64748B;
  }

  .c2-modal-success {
    display: none;
    padding: 24px 22px;
    flex-direction: column;
    gap: 12px;
  }

  .c2-modal-success.is-visible {
    display: flex;
  }

  .c2-modal-success strong {
    font-size: 17px;
    color: #004097;
  }

  /* ==========================================================================
     RESPONSIVE BREAKPOINTS (1920, 1440, 1280, Tablet, Mobile 390)
     ========================================================================== */
  @media (max-width: 1380px) {
    .c2-hdr-inner {
      padding: 0 22px;
      gap: 12px;
    }
    .c2-brand-sub {
      display: none;
    }
    .c2-nav {
      gap: 3px;
    }
    .c2-nav-link {
      padding: 0 9px;
      font-size: 14px;
    }
    .c2-right {
      gap: 10px;
    }
    .c2-hdr-cta {
      padding: 0 15px;
      font-size: 13.5px;
    }
    .c2-mega {
      left: 22px;
      right: 22px;
    }
  }

  @media (max-width: 1120px) {
    .c2-nav,
    .c2-phone-wrap,
    .c2-hdr-cta {
      display: none;
    }
    .c2-mob-call,
    .c2-burger {
      display: inline-flex;
    }
    .c2-hdr-inner {
      height: 70px;
      padding: 0 16px;
    }
    #ldvc-new-header.c2-hdr.is-scrolled .c2-hdr-inner {
      height: 64px;
    }
    .c2-crest-ring {
      width: 40px;
      height: 40px;
    }
    .c2-brand-sub {
      display: block;
      font-size: 11px;
    }
    .c2-ftr-grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    .c2-ftr-nav {
      border-left: none;
      border-top: 1px solid rgba(186, 214, 252, 0.14);
      padding-left: 0;
      padding-top: 36px;
    }
  }

  @media (max-width: 640px) {
    .c2-brand-sub {
      display: none;
    }
    .c2-brand-title {
      font-size: 15.5px;
    }
    .c2-ftr-inner {
      padding: 40px 18px 72px;
    }
    .c2-ftr-h2 {
      font-size: 26px;
    }
    .c2-copy-btn {
      padding: 12px 13px;
      gap: 10px;
    }
    .c2-copy-val {
      font-size: 14px;
    }
    .c2-copy-val.is-phone {
      font-size: 15.5px;
    }
    .c2-spoiler-body {
      grid-template-columns: 1fr;
    }
    .c2-ftr-actions {
      flex-direction: column;
      align-items: stretch;
    }
    .c2-ftr-cta,
    .c2-ftr-sec {
      width: 100%;
    }
    .c2-ftr-nav {
      grid-template-columns: 1fr;
      gap: 24px;
    }
    .c2-ftr-watermark {
      font-size: 50px;
      margin-top: 24px;
    }
    .back-to-top {
      bottom: 18px !important;
      right: 16px !important;
      left: auto !important;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    #ldvc-new-header.c2-hdr,
    #ldvc-new-header.c2-hdr *,
    .c2-panel,
    .c2-drawer,
    #c2-copy-toast {
      transition: none !important;
    }
  }

/* 1. Eliminate white hairline on transparent header, remove text-shadow/backdrop-filter blur */
  #ldvc-new-header.c2-hdr,
  #ldvc-new-header.c2-hdr.is-scrolled {
    border-bottom: 1px solid transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  #ldvc-new-header.c2-hdr.is-scrolled {
    border-bottom-color: #E2E8F0 !important;
  }
  #ldvc-new-header.c2-hdr::before {
    height: 156px;
    z-index: -2;
    background: linear-gradient(180deg, rgba(7, 24, 48, 0.70) 0%, rgba(7, 24, 48, 0.24) 56%, rgba(7, 24, 48, 0) 100%);
  }
  #ldvc-new-header.c2-hdr .c2-nav-link,
  #ldvc-new-header.c2-hdr .c2-brand-title,
  #ldvc-new-header.c2-hdr .c2-phone-main,
  #ldvc-new-header.c2-hdr .c2-hdr-cta {
    text-shadow: none !important;
  }

  /* 2. Container width & fixed header height / enlarged crest (no scroll shrink jumps) */
  .c2-hdr-inner,
  .c2-ftr-inner {
    max-width: 1840px;
    width: 100%;
    padding-left: clamp(20px, 2.5vw, 48px);
    padding-right: clamp(20px, 2.5vw, 48px);
  }

  .c2-hdr-inner {
    height: 92px;
  }

  .c2-brand {
    gap: 14px;
  }

  /* Clean transparent logo without white outer ring */
  .c2-crest-ring {
    width: 64px;
    height: 64px;
    transform: scale(1);
    transform-origin: center center;
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .c2-crest-ring,
  #ldvc-new-header.c2-hdr.is-scrolled .c2-crest-ring {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .c2-nav-xl-only {
    display: none !important;
  }

  /* Nested "Диагностика" accordion inside mobile "Отделения и услуги" */
  .c2-drawer-sub-acc {
    width: 100%;
    padding: 8px 10px;
    border-radius: 7px;
    border: none;
    background: transparent;
    color: #004097;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
  .c2-drawer-sub-acc:hover,
  .c2-drawer-sub-acc[aria-expanded="true"] {
    background: #F1F5F9;
  }
  .c2-drawer-sub-acc[aria-expanded="true"] .c2-ico-chev {
    transform: rotate(180deg);
  }
  .c2-drawer-sub-nested {
    margin-left: 12px;
    padding-left: 10px;
    border-left: 2px solid #DBEAFE;
  }

  .c2-brand:hover .c2-crest-ring {
    transform: scale(1.03);
  }

  .c2-brand-title {
    font-size: 18px;
  }
  .c2-brand-sub {
    font-size: 12.5px;
  }
  .c2-ftr-crest {
    width: 64px;
    height: 64px;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* Compact Cobalt 3-Column Footer Layout (top-level nav + contacts + clean 2026 bar) */
  .c2-ftr-inner {
    padding-top: 44px;
    padding-bottom: 28px;
  }

  .c2-ftr-grid {
    grid-template-columns: minmax(270px, 1.05fr) minmax(320px, 1.35fr) minmax(260px, 1fr);
    gap: 44px;
    align-items: start;
  }

  .c2-ftr-brand-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .c2-ftr-hours {
    font-size: 14px;
    font-weight: 500;
    color: #9CC0EE;
  }

  .c2-ftr-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
  }

  .c2-ftr-social {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 13px;
    border-radius: 8px;
    border: 1px solid rgba(186, 214, 252, 0.24);
    background: rgba(255, 255, 255, 0.06);
    color: #E2EEFF;
    font-size: 13.5px;
    font-weight: 600;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  }

  .c2-ftr-social:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(186, 214, 252, 0.45);
    color: #FFFFFF;
  }

  .c2-ftr-nav {
    border-left: 1px solid rgba(186, 214, 252, 0.14);
    padding-left: 44px;
    gap: 32px;
  }

  .c2-ftr-contacts-col {
    border-left: 1px solid rgba(186, 214, 252, 0.14);
    padding-left: 44px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .c2-ftr-contacts-col h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.015em;
  }

  .c2-ftr-phone-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
  }

  .c2-ftr-phone-link,
  .c2-ftr-contact-row {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: #D0E2FA;
    font-variant-numeric: tabular-nums;
    transition: color 0.15s ease;
  }

  .c2-ftr-phone-link svg,
  .c2-ftr-contact-row svg {
    color: #7DD3FC;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .c2-ftr-phone-link:hover,
  .c2-ftr-contact-row:hover {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .c2-ftr-bottom {
    margin-top: 30px;
    padding-top: 18px;
    padding-right: 220px;
    justify-content: flex-start;
  }

  @media (max-width: 1120px) {
    .c2-ftr-grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }
    .c2-ftr-nav,
    .c2-ftr-contacts-col {
      border-left: none;
      border-top: 1px solid rgba(186, 214, 252, 0.14);
      padding-left: 0;
      padding-top: 28px;
    }
    .c2-ftr-bottom {
      padding-right: 0;
    }
  }

  #ldvc-new-header.c2-hdr.is-scrolled .c2-hdr-inner {
    height: 92px;
  }
  #ldvc-new-header.c2-hdr.is-scrolled .c2-crest-ring {
    transform: scale(1);
  }
  .c2-brand:hover .c2-crest-ring {
    transform: scale(1.03);
  }

  .c2-phone-trigger {
    gap: 4px;
    padding: 6px 10px;
  }
  .c2-phone-main {
    line-height: 1.15;
  }
  .c2-phone-sub {
    line-height: 1.2;
    margin-top: 1px;
  }

  /* Suppress transition flicker on initial synchronous paint */
  html:not([data-c2-ready="1"]) #ldvc-new-header.c2-hdr,
  html:not([data-c2-ready="1"]) #ldvc-new-header.c2-hdr::before,
  html:not([data-c2-ready="1"]) #ldvc-new-header.c2-hdr::after,
  html:not([data-c2-ready="1"]) #ldvc-new-header.c2-hdr * {
    transition: none !important;
  }

  /* Mode A (default): Threshold 80px vertical white-gradient curtain wave (no mid-scroll grey/blur) */
  html[data-c2-transition="gradient"] #ldvc-new-header.c2-hdr,
  html[data-c2-transition="gradient"] #ldvc-new-header.c2-hdr.is-scrolled {
    background: transparent !important;
    transition: border-color 0.42s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }

  html[data-c2-transition="gradient"] #ldvc-new-header.c2-hdr::before {
    transition: opacity 0.40s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }

  html[data-c2-transition="gradient"] #ldvc-new-header.c2-hdr::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 52%, rgba(255, 255, 255, 0.86) 68%, rgba(255, 255, 255, 0) 100%);
    background-size: 100% 260%;
    background-position: 0 100%;
    opacity: 0;
    transition: background-position 0.48s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  }

  html[data-c2-transition="gradient"] #ldvc-new-header.c2-hdr.is-scrolled::after {
    background-position: 0 0%;
    opacity: 1;
  }

  html[data-c2-transition="gradient"] #ldvc-new-header.c2-hdr .c2-crest-ring {
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.38s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }

  html[data-c2-transition="gradient"] #ldvc-new-header.c2-hdr .c2-brand,
  html[data-c2-transition="gradient"] #ldvc-new-header.c2-hdr .c2-brand-title,
  html[data-c2-transition="gradient"] #ldvc-new-header.c2-hdr .c2-brand-sub,
  html[data-c2-transition="gradient"] #ldvc-new-header.c2-hdr .c2-nav-link,
  html[data-c2-transition="gradient"] #ldvc-new-header.c2-hdr .c2-ico-pulse,
  html[data-c2-transition="gradient"] #ldvc-new-header.c2-hdr .c2-phone-trigger,
  html[data-c2-transition="gradient"] #ldvc-new-header.c2-hdr .c2-phone-main,
  html[data-c2-transition="gradient"] #ldvc-new-header.c2-hdr .c2-phone-sub,
  html[data-c2-transition="gradient"] #ldvc-new-header.c2-hdr .c2-hdr-cta,
  html[data-c2-transition="gradient"] #ldvc-new-header.c2-hdr .c2-mob-call,
  html[data-c2-transition="gradient"] #ldvc-new-header.c2-hdr .c2-burger {
    transition: color 0.38s cubic-bezier(0.22, 1, 0.36, 1),
                background-color 0.38s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.38s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }

  /* Mode B (comparison): instant snap at 80px */
  html[data-c2-transition="step"] #ldvc-new-header.c2-hdr::after {
    display: none !important;
  }

  html[data-c2-transition="step"] #ldvc-new-header.c2-hdr,
  html[data-c2-transition="step"] #ldvc-new-header.c2-hdr::before,
  html[data-c2-transition="step"] #ldvc-new-header.c2-hdr * {
    transition: none !important;
  }

  @media (min-width: 1600px) {
    html[data-c2-width="fullhd"] .c2-hdr-inner {
      height: 96px;
      gap: 28px;
    }
    html[data-c2-width="fullhd"] #ldvc-new-header.c2-hdr.is-scrolled .c2-hdr-inner {
      height: 96px;
    }
    html[data-c2-width="fullhd"] .c2-crest-ring {
      width: 70px;
      height: 70px;
      padding: 0 !important;
    }
    html[data-c2-width="fullhd"] .c2-brand-title {
      font-size: 20px;
    }
    html[data-c2-width="fullhd"] .c2-brand-sub {
      font-size: 13.5px;
    }
    html[data-c2-width="fullhd"] .c2-nav-xl-only {
      display: flex !important;
    }
    html[data-c2-width="fullhd"] .c2-about-compact-only {
      display: none !important;
    }
    html[data-c2-width="fullhd"] .c2-nav {
      gap: 8px;
    }
    html[data-c2-width="fullhd"] .c2-nav-link {
      padding: 0 12px;
      font-size: 15px;
      height: 40px;
    }
    html[data-c2-width="fullhd"] .c2-right {
      gap: 20px;
    }
    html[data-c2-width="fullhd"] .c2-phone-trigger {
      gap: 5px;
    }
    html[data-c2-width="fullhd"] .c2-phone-main {
      font-size: 15.5px;
    }
    html[data-c2-width="fullhd"] .c2-hdr-cta {
      height: 44px;
      padding: 0 22px;
      font-size: 14.5px;
    }
    html[data-c2-width="fullhd"] .c2-mega {
      left: 48px;
      right: 48px;
      max-width: 1680px;
      margin: 0 auto;
    }
    html[data-c2-width="fullhd"] .c2-mega-depts {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    html[data-c2-width="fullhd"] .c2-ftr-inner {
      padding-top: 48px;
      padding-bottom: 30px;
    }
    html[data-c2-width="fullhd"] .c2-ftr-grid {
      grid-template-columns: minmax(320px, 1.05fr) minmax(380px, 1.35fr) minmax(320px, 1fr);
      gap: 60px;
    }
    html[data-c2-width="fullhd"] .c2-ftr-nav,
    html[data-c2-width="fullhd"] .c2-ftr-contacts-col {
      padding-left: 56px;
    }
  }

  /* A/B comparison toggle: old 1420px / 1400px MacBook width (keeps enlarged crest + fixed height) */
  @media (min-width: 1121px) {
    html[data-c2-width="narrow"] .c2-hdr-inner {
      max-width: 1420px !important;
      height: 92px !important;
      padding: 0 28px !important;
      gap: 18px !important;
    }
    html[data-c2-width="narrow"] #ldvc-new-header.c2-hdr.is-scrolled .c2-hdr-inner {
      height: 92px !important;
    }
    html[data-c2-width="narrow"] .c2-crest-ring {
      width: 64px !important;
      height: 64px !important;
      padding: 0 !important;
    }
    html[data-c2-width="narrow"] .c2-ftr-inner {
      max-width: 1400px !important;
      padding: 44px 32px 28px !important;
    }
    html[data-c2-width="narrow"] .c2-ftr-grid {
      grid-template-columns: minmax(270px, 1.05fr) minmax(320px, 1.35fr) minmax(260px, 1fr) !important;
      gap: 44px !important;
    }
    html[data-c2-width="narrow"] .c2-mega {
      left: 28px !important;
      right: 28px !important;
      max-width: none !important;
    }
    html[data-c2-width="narrow"] .c2-mega-depts {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
  }

  /* Multi-page transparent-header mode handling */
  html[data-c2-mode="raw"] body {
    padding-top: 0 !important;
  }

  html[data-c2-mode="auto"][data-c2-page-kind="banner"] [id^="vverh-dop-page"] {
    padding-top: 152px !important;
    padding-bottom: 64px !important;
    position: relative !important;
  }

  html[data-c2-mode="auto"][data-c2-page-kind="banner"] [id^="vverh-dop-page"]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 24, 48, 0.62) 0%, rgba(7, 24, 48, 0.18) 58%, rgba(7, 24, 48, 0) 100%);
    pointer-events: none;
    z-index: 1;
  }

  html[data-c2-mode="auto"][data-c2-page-kind="banner"] [id^="vverh-dop-page"] > .container {
    position: relative;
    z-index: 2;
  }

  html[data-c2-mode="auto"][data-c2-page-kind="light"] body,
  html[data-c2-mode="home-only"]:not([data-c2-page-kind="hero"]) body {
    padding-top: 92px !important;
  }
  @media (min-width: 1600px) {
    html[data-c2-width="fullhd"][data-c2-mode="auto"][data-c2-page-kind="light"] body,
    html[data-c2-width="fullhd"][data-c2-mode="home-only"]:not([data-c2-page-kind="hero"]) body {
      padding-top: 96px !important;
    }
  }

  @media (max-width: 1120px) {
    .c2-hdr-inner {
      height: 74px !important;
    }
    #ldvc-new-header.c2-hdr.is-scrolled .c2-hdr-inner {
      height: 74px !important;
    }
    .c2-crest-ring {
      width: 50px !important;
      height: 50px !important;
      padding: 0 !important;
    }
    html[data-c2-mode="auto"][data-c2-page-kind="banner"] [id^="vverh-dop-page"] {
      padding-top: 124px !important;
      padding-bottom: 52px !important;
    }
    html[data-c2-mode="auto"][data-c2-page-kind="light"] body,
    html[data-c2-mode="home-only"]:not([data-c2-page-kind="hero"]) body {
      padding-top: 74px !important;
    }
  }

/* Preserve button utility used inside #appointmentModal and page templates */
.btn-ldvc { background-color: #107bb1; border-color: #107bb1; color: #fff; }
.btn-ldvc:hover, .btn-ldvc:focus { background-color: #0a6ea1; border-color: #0a6ea1; color: #fff; }
.btn-ldvc:active { background-color: #095f8c; border-color: #095f8c; color: #fff; }

/* Keep Bootstrap appointmentModal above the fixed C2 header (z-index: 9000) */
.modal-backdrop { z-index: 9900 !important; }
.modal { z-index: 9950 !important; }
