/* Extracted from server-snapshots/klinika-20260822/index-current.php.

   Only the current shared shell, header, footer and mobile-call rules are included. */

    :root {
      --navy: #21325b;
      --navy-dark: #152341;
      --red: #d7071d;
      --red-dark: #b90016;
      --ink: #172033;
      --body: #5c687b;
      --muted: #7c8798;
      --line: #dfe4eb;
      --light: #f4f7fa;
      --green: #427968;
      --white: #ffffff;
      --container: 1240px;
      --header-height: 88px;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: var(--header-height);
    }

    body {
      margin: 0;
      color: var(--body);
      background: var(--white);
      font-family: Inter, "Segoe UI", Arial, sans-serif;
      font-size: 16px;
      line-height: 1.65;
      text-rendering: optimizeLegibility;
    }

    body,
    button,
    a {
      letter-spacing: 0;
    }

    img {
      max-width: 100%;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    a {
      -webkit-tap-highlight-color: transparent;
    }

    :focus-visible {
      outline: 3px solid rgba(215, 7, 29, .34);
      outline-offset: 4px;
    }

    .skip-link {
      position: fixed;
      z-index: 2000;
      top: 10px;
      left: 10px;
      padding: 10px 14px;
      color: var(--white);
      background: var(--navy-dark);
      transform: translateY(-150%);
      transition: transform .2s ease;
    }

    .skip-link:focus {
      transform: translateY(0);
    }

    .container {
      width: min(100% - 48px, var(--container));
      margin-inline: auto;
    }

    .site-header {
      position: sticky;
      z-index: 1000;
      top: 0;
      min-height: var(--header-height);
      display: flex;
      align-items: center;
      background: rgba(255, 255, 255, .97);
      border-bottom: 1px solid rgba(223, 228, 235, .86);
      backdrop-filter: blur(12px);
    }

    .header-inner {
      min-height: var(--header-height);
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 32px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
    }

    .brand img {
      width: 172px;
      height: auto;
      display: block;
    }

    .site-nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 32px;
    }

    .site-nav a {
      position: relative;
      padding: 8px 0;
      color: #4e5d72;
      font-size: 14px;
      font-weight: 600;
    }

    .site-nav a::after {
      position: absolute;
      right: 0;
      bottom: 1px;
      left: 0;
      height: 2px;
      content: "";
      background: var(--red);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .2s ease;
    }

    .site-nav a:hover::after,
    .site-nav a:focus-visible::after {
      transform: scaleX(1);
    }

    .header-appointment {
      min-height: 44px;
      padding: 0 20px;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      color: var(--white);
      background: var(--red);
      border-radius: 5px;
      font-size: 14px;
      font-weight: 700;
      transition: background .2s ease, transform .2s ease;
    }

    .header-appointment:hover {
      color: var(--white);
      background: var(--red-dark);
      transform: translateY(-1px);
    }

    .menu-toggle,
    .mobile-menu {
      display: none;
    }

    .site-footer {
      padding: 42px 0 104px;
      color: var(--muted);
      background: var(--white);
    }

    .footer-inner {
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 32px;
    }

    .footer-brand {
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .footer-brand img {
      width: 158px;
      height: auto;
      display: block;
    }

    .footer-brand p {
      margin: 0;
      font-size: 12px;
      line-height: 1.6;
    }

    .footer-links {
      display: flex;
      align-items: center;
      gap: 22px;
      font-size: 13px;
      font-weight: 600;
    }

    .footer-links a:hover {
      color: var(--red);
    }

    .footer-legal {
      margin-top: 32px;
      padding-top: 28px;
      display: grid;
      grid-template-columns: 230px minmax(0, 1fr);
      align-items: start;
      gap: 36px;
      border-top: 1px solid var(--line);
    }

    .footer-legal-logo {
      width: 230px;
      max-width: 100%;
      height: auto;
      display: block;
    }

    .footer-legal-copy {
      max-width: 880px;
      font-size: 12px;
      line-height: 1.65;
    }

    .footer-legal-copy p {
      margin: 0;
    }

    .footer-legal-name {
      color: #4e596b;
      font-weight: 600;
    }

    .footer-legal-identifiers,
    .footer-legal-register {
      margin-top: 5px !important;
    }

    .mobile-call {
      display: none;
    }

    @media (max-width: 991px) {
      :root {
        --header-height: 78px;
      }

      .site-nav,
      .header-appointment {
        display: none;
      }

      .header-inner {
        grid-template-columns: 1fr auto;
      }

      .brand img {
        width: 174px;
      }

      .menu-toggle {
        width: 44px;
        min-height: 44px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        background: var(--red);
        border: 0;
        border-radius: 5px;
        cursor: pointer;
        transition: background .2s ease;
      }

      .menu-toggle:hover,
      .menu-toggle.is-open {
        background: var(--red-dark);
      }

      .menu-toggle i {
        font-size: 25px;
        line-height: 1;
      }

      .mobile-menu {
        position: absolute;
        z-index: 1001;
        top: 100%;
        right: 0;
        left: 0;
        max-height: calc(100svh - var(--header-height));
        display: block;
        overflow-y: auto;
        background: var(--white);
        border-top: 1px solid var(--line);
        box-shadow: 0 18px 38px rgba(21, 35, 65, .16);
      }

      .mobile-menu[hidden] {
        display: none;
      }

      .mobile-menu-inner {
        padding-top: 8px;
        padding-bottom: 18px;
      }

      .mobile-menu-nav {
        display: grid;
      }

      .mobile-menu-nav a {
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        color: var(--ink);
        border-bottom: 1px solid var(--line);
        font-size: 15px;
        font-weight: 700;
      }

      .mobile-menu-nav a i {
        color: var(--red);
        font-size: 14px;
      }

      .mobile-menu-phone {
        min-height: 48px;
        margin-top: 16px;
        padding: 0 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: var(--white);
        background: var(--red);
        border-radius: 5px;
        font-size: 15px;
        font-weight: 800;
      }

      .mobile-menu-phone:hover {
        color: var(--white);
        background: var(--red-dark);
      }
    }

    @media (max-width: 767px) {
      :root {
        --header-height: 74px;
      }

      body {
        padding-bottom: 70px;
      }

      .container {
        width: min(100% - 36px, var(--container));
      }

      .header-inner {
        min-height: var(--header-height);
        gap: 14px;
      }

      .brand img {
        width: 150px;
      }
      .site-footer {
        padding: 38px 0;
      }

      .footer-inner,
      .footer-brand {
        grid-template-columns: 1fr;
        align-items: flex-start;
      }

      .footer-brand {
        display: grid;
        gap: 18px;
      }

      .footer-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
      }

      .footer-legal {
        margin-top: 28px;
        padding-top: 24px;
        grid-template-columns: 1fr;
        gap: 18px;
      }

      .footer-legal-logo {
        width: 220px;
      }

      .mobile-call {
        position: fixed;
        z-index: 1100;
        right: 12px;
        bottom: 12px;
        left: 12px;
        min-height: 54px;
        padding: 0 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: var(--white);
        background: var(--red);
        border-radius: 5px;
        box-shadow: 0 12px 30px rgba(21, 35, 65, .26);
        font-size: 15px;
        font-weight: 800;
        opacity: 0;
        pointer-events: none;
        transform: translateY(calc(100% + 28px));
        transition: opacity .2s ease, transform .2s ease;
      }

      .mobile-call.is-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      *,
      *::before,
      *::after {
        transition-duration: .01ms !important;
      }
    }
