:root {
  --font-family: "Roboto", sans-serif;
  --font-size-base: 16.3px;
  --line-height-base: 1.44;

  --max-w: 1140px;
  --space-x: 1.57rem;
  --space-y: 1.48rem;
  --gap: 2.16rem;

  --radius-xl: 1.24rem;
  --radius-lg: 1rem;
  --radius-md: 0.62rem;
  --radius-sm: 0.36rem;

  --shadow-sm: 0 3px 4px rgba(0,0,0,0.13);
  --shadow-md: 0 14px 32px rgba(0,0,0,0.16);
  --shadow-lg: 0 26px 64px rgba(0,0,0,0.2);

  --overlay: rgba(0, 0, 0, 0.4);
  --anim-duration: 120ms;
  --anim-ease: ease;
  --random-number: 2;

  --brand: #1a7f37;
  --brand-contrast: #ffffff;
  --accent: #2d8bc9;
  --accent-contrast: #ffffff;

  --neutral-0: #ffffff;
  --neutral-100: #f8f9fa;
  --neutral-300: #dee2e6;
  --neutral-600: #6c757d;
  --neutral-800: #343a40;
  --neutral-900: #212529;

  --bg-page: #ffffff;
  --fg-on-page: #212529;

  --bg-alt: #f8f9fa;
  --fg-on-alt: #343a40;

  --surface-1: #ffffff;
  --surface-2: #f8f9fa;
  --fg-on-surface: #212529;
  --border-on-surface: #dee2e6;

  --surface-light: #ffffff;
  --fg-on-surface-light: #343a40;
  --border-on-surface-light: #dee2e6;

  --bg-primary: #1a7f37;
  --fg-on-primary: #ffffff;
  --bg-primary-hover: #15682c;
  --ring: rgba(26, 127, 55, 0.4);

  --bg-accent: #e8f4fd;
  --fg-on-accent: #0d4a7a;
  --bg-accent-hover: #1c7bb8;

  --link: #1a7f37;
  --link-hover: #15682c;

  --gradient-hero: linear-gradient(135deg, #1a7f37 0%, #2d8bc9 100%);
  --gradient-accent: linear-gradient(90deg, #e8f4fd 0%, #f0f9e8 100%);

  --btn-ghost-bg: transparent;
  --btn-ghost-bg-hover: rgba(255,255,255,0.06);
  --chip-bg: rgba(255,255,255,0.68);
  --input-placeholder: rgba(255,255,255,0.55);
}
body{margin:0;padding:0;font-family:var(--font-family);box-sizing: border-box;}
*{box-sizing:border-box;}

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: relative;
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-size: calc(var(--font-size-base) * 1.5);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--anim-duration) var(--anim-ease);
}
.logo:hover {
    color: var(--link-hover);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) * 2);
}

.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    font-weight: 500;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-sm);
    transition: all var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
}

.cta-button {
    background-color: var(--bg-primary);
    color: var(--fg-on-primary);
    border: none;
    padding: calc(var(--space-y) / 1.5) calc(var(--space-x) * 1.5);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--anim-duration) var(--anim-ease);
}
.cta-button:hover {
    background-color: var(--bg-primary-hover);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 3) var(--space-x) var(--space-y);
        transition: right var(--anim-duration) var(--anim-ease);
        flex-direction: column;
        justify-content: flex-start;
        z-index: 99;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .main-nav.is-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--gap);
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
    }

    .cta-button {
        display: none;
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.hortorsoft-footer {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    border-top: 1px solid #dee2e6;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
  }
  .footer-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5aa0;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.2s;
  }
  .footer-nav a:hover {
    color: #2c5aa0;
  }
  .footer-contacts div {
    margin-bottom: 0.3rem;
  }
  .footer-contacts a {
    color: #2c5aa0;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    text-decoration: underline;
  }
  .footer-social-links a {
    color: #666;
    text-decoration: none;
    margin: 0 0.3rem;
  }
  .footer-social-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .legal-links a {
    color: #666;
    text-decoration: none;
  }
  .legal-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .footer-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    padding-top: 1rem;
    border-top: 1px dashed #ccc;
    margin-top: 0.5rem;
  }
  @media (max-width: 768px) {
    .footer-section {
      flex-direction: column;
      text-align: center;
      gap: 1.2rem;
    }
    .footer-nav ul {
      justify-content: center;
      gap: 1rem;
    }
    .footer-social-links, .legal-links {
      justify-content: center;
    }
  }

.cookie-cv5 {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 1200;
        background: linear-gradient(90deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .cookie-cv5__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-cv5__inner p {
        margin: 0;
    }

    .cookie-cv5__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-cv5__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.12);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 7px 10px;
        cursor: pointer;
    }

    .cookie-cv5__actions button[data-choice='accept'] {
        background: var(--neutral-0);
        color: var(--fg-on-page);
    }

.intro-window-l9 {
        padding: clamp(3.7rem, 8vw, 6.7rem) var(--space-x);
        background: var(--bg-alt);
        color: var(--fg-on-page);
    }

    .intro-window-l9__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        display: flex;
        gap: 1.4rem;
        align-items: center;
        flex-wrap: wrap;
    }

    .intro-window-l9__copy {
        flex: 1 1 22rem;
        order: calc(3 - var(--random-number));
    }

    .intro-window-l9__media {
        flex: 1 1 18rem;
        order: var(--random-number);
    }

    .intro-window-l9__copy p {
        margin: 0;
        color: var(--neutral-600);
        font-size: .82rem;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    .intro-window-l9__copy h1 {
        margin: .6rem 0 0;
        font-size: clamp(2.4rem, 5vw, 4.2rem);
        line-height: 1.03;
    }

    .intro-window-l9__copy span {
        display: block;
        margin-top: .9rem;
        color: var(--neutral-600);
    }

    .intro-window-l9__links {
        margin-top: 1.1rem;
        display: flex;
        gap: .75rem;
        flex-wrap: wrap;
    }

    .intro-window-l9__links a {
        display: inline-flex;
        min-height: 2.8rem;
        align-items: center;
        justify-content: center;
        padding: 0 1rem;
        border-radius: var(--radius-md);
        text-decoration: none;
        background: var(--surface-1);
        color: var(--fg-on-page);
        border: 1px solid var(--border-on-surface-light);
    }

    .intro-window-l9__links a:first-child {
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        border-color: var(--bg-primary);
    }

    .intro-window-l9__media img {
        display: block;
        width: 100%;
        border-radius: var(--radius-xl);
        border: 1px solid var(--border-on-surface-light);
    }

    .intro-window-l9__mark {
        margin-top: .85rem;
        padding: .8rem .9rem;
        border-radius: var(--radius-md);
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface-light);
    }

.next-signal-c7 {
        padding: clamp(3.7rem, 8vw, 6.3rem) var(--space-x);
        background: linear-gradient(145deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
    }

    .next-signal-c7__wrap {
        max-width: 60rem;
        margin: 0 auto;
        display: grid;
        grid-template-columns: .95fr 1.05fr;
        gap: 1rem;
        align-items: center;
    }

    .next-signal-c7__copy p {
        margin: 0;
        color: rgba(255, 255, 255, .78);
    }

    .next-signal-c7__copy h2 {
        margin: .5rem 0 0;
        font-size: clamp(2rem, 4vw, 3.1rem);
    }

    .next-signal-c7__copy span {
        display: block;
        margin-top: .85rem;

    }

    .next-signal-c7__stack {
        display: grid;
        gap: .7rem;
    }

    .next-signal-c7__stack a {
        display: flex;
        justify-content: space-between;
        gap: .75rem;
        align-items: center;
        padding: .9rem 1rem;
        border-radius: var(--radius-lg);
        text-decoration: none;
        color: var(--fg-on-primary);
        background: rgba(255, 255, 255, .12);
        border: 1px solid rgba(255, 255, 255, .18);
    }

    .next-signal-c7__stack span {
        color: rgba(255, 255, 255, .8);
    }

    .next-signal-c7__button {
        display: inline-flex;
        margin-top: 1rem;
        min-height: 2.85rem;
        align-items: center;
        justify-content: center;
        padding: 0 1rem;
        border-radius: var(--radius-md);
        background: var(--surface-1);
        color: var(--fg-on-page);
        text-decoration: none;
    }

    @media (max-width: 820px) {
        .next-signal-c7__wrap {
            grid-template-columns: 1fr;
        }
    }

.faq-layout-d {
        padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 36px);
        background: white;
        color: black;
    }

    .faq-layout-d .wrap {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .faq-layout-d .section-head {
        margin-bottom: 16px;
        text-align: center;
    }

    .faq-layout-d h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 40px);
    }

    .faq-layout-d .section-head p {
        margin: 10px auto 0;
        max-width: 68ch;
    }

    .faq-layout-d .cards {
        display: grid;
        gap: var(--gap);
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    }

    .faq-layout-d .card {
        border-radius: var(--radius-lg);
        border: 1px solid rgba(255, 255, 255, .22);
        background: var(--accent);
        color: var(--accent-contrast);
        padding: var(--space-y) var(--space-x);
    }

    .faq-layout-d .card h3 {
        margin: 0;
        font-size: 1.05rem;
    }

    .faq-layout-d .card p {
        margin: 9px 0 0;
        color: var(--neutral-100);
    }

.plans-cv1 {
        padding: clamp(54px, 7vw, 96px) clamp(16px, 4vw, 36px);
        background: var(--gradient-accent);
        color: var(--accent-contrast);
    }

    .plans-cv1__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .plans-cv1__head {
        margin-bottom: 16px;
    }

    .plans-cv1__head h2 {
        margin: 0;
        font-size: clamp(30px, 5vw, 48px);
    }

    .plans-cv1__head p {
        margin: 8px 0 0;
        opacity: .9;
        max-width: 72ch;
    }

    .plans-cv1__grid {
        display: grid;
        gap: var(--gap);
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    }

    .plans-cv1__card {
        border-radius: var(--radius-lg);
        border: 1px solid rgba(0, 0, 0, 0.12);
        background: rgba(255, 255, 255, 0.36);
        color: var(--fg-on-page);
        padding: var(--space-y) var(--space-x);
        box-shadow: var(--shadow-md);
    }

    .plans-cv1__line {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        align-items: center;
    }

    .plans-cv1__line h3 {
        margin: 0;
    }

    .plans-cv1__line span {
        font-size: .82rem;
        padding: 4px 8px;
        border-radius: 999px;
        background: var(--bg-primary);
        color: var(--fg-on-primary);
    }

    .plans-cv1__price {
        margin: 10px 0 6px;
        font-size: 1.45rem;
        font-weight: 800;
        color: var(--brand);
    }

    .plans-cv1__desc {
        margin: 0;
        color: var(--neutral-600);
    }

    .plans-cv1__card ul {
        margin: 10px 0 0;
        padding-left: 18px;
        display: grid;
        gap: 5px;
        color: var(--neutral-800);
    }

    .plans-cv1__card button {
        width: 100%;
        margin-top: 10px;
        border: 0;
        border-radius: var(--radius-sm);
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        padding: 9px 12px;
    }

.values-board-l8 {
        padding: clamp(3.1rem, 7vw, 5.7rem) var(--space-x);
        background: var(--bg-alt);
        color: var(--fg-on-page);
    }

    .values-board-l8__wrap {
        max-width: 62rem;
        margin: 0 auto;
    }

    .values-board-l8__head {
        text-align: center;
        margin-bottom: 1.1rem;
    }

    .values-board-l8__head h2 {
        margin: 0;
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .values-board-l8__head p {
        margin: .65rem auto 0;
        max-width: 40rem;
        color: var(--neutral-600);
    }

    .values-board-l8__board {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
        gap: var(--gap);
    }

    .values-board-l8__board article {
        padding: 1rem;
        border-radius: var(--radius-xl);
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface-light);
    }

    .values-board-l8__board strong {
        color: var(--brand);
    }

    .values-board-l8__board h3 {
        margin: .7rem 0 .35rem;
    }

    .values-board-l8__board p {
        margin: 0;
        color: var(--neutral-600);
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: relative;
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-size: calc(var(--font-size-base) * 1.5);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--anim-duration) var(--anim-ease);
}
.logo:hover {
    color: var(--link-hover);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) * 2);
}

.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    font-weight: 500;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-sm);
    transition: all var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
}

.cta-button {
    background-color: var(--bg-primary);
    color: var(--fg-on-primary);
    border: none;
    padding: calc(var(--space-y) / 1.5) calc(var(--space-x) * 1.5);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--anim-duration) var(--anim-ease);
}
.cta-button:hover {
    background-color: var(--bg-primary-hover);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 3) var(--space-x) var(--space-y);
        transition: right var(--anim-duration) var(--anim-ease);
        flex-direction: column;
        justify-content: flex-start;
        z-index: 99;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .main-nav.is-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--gap);
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
    }

    .cta-button {
        display: none;
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.hortorsoft-footer {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    border-top: 1px solid #dee2e6;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
  }
  .footer-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5aa0;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.2s;
  }
  .footer-nav a:hover {
    color: #2c5aa0;
  }
  .footer-contacts div {
    margin-bottom: 0.3rem;
  }
  .footer-contacts a {
    color: #2c5aa0;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    text-decoration: underline;
  }
  .footer-social-links a {
    color: #666;
    text-decoration: none;
    margin: 0 0.3rem;
  }
  .footer-social-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .legal-links a {
    color: #666;
    text-decoration: none;
  }
  .legal-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .footer-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    padding-top: 1rem;
    border-top: 1px dashed #ccc;
    margin-top: 0.5rem;
  }
  @media (max-width: 768px) {
    .footer-section {
      flex-direction: column;
      text-align: center;
      gap: 1.2rem;
    }
    .footer-nav ul {
      justify-content: center;
      gap: 1rem;
    }
    .footer-social-links, .legal-links {
      justify-content: center;
    }
  }

.cookie-cv5 {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 1200;
        background: linear-gradient(90deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .cookie-cv5__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-cv5__inner p {
        margin: 0;
    }

    .cookie-cv5__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-cv5__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.12);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 7px 10px;
        cursor: pointer;
    }

    .cookie-cv5__actions button[data-choice='accept'] {
        background: var(--neutral-0);
        color: var(--fg-on-page);
    }

.product-list {

        color: var(--fg-on-page);
        background: var(--bg-page);
        padding: clamp(20px, 3.5vw, 48px) clamp(16px, 4vw, 40px);
    }

    .product-list .product-list__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .product-list .product-list__h {
        text-align: center;
        margin-bottom: clamp(24px, 4vw, 40px);
    }

    .product-list h1 {
        font-size: clamp(28px, 5vw, 48px);
        margin: 0 0 0.5rem;
        color: var(--fg-on-page);
        font-weight: 700;
    }

    .product-list .product-list__h p {
        font-size: clamp(16px, 2.2vw, 18px);
        color: var(--neutral-600);
        margin: 0;
    }

    .product-list .product-list__toolbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: clamp(24px, 4vw, 40px);
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .product-list .product-list__filters {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        flex: 1;
    }

    /* Если randomNumber четное (2) - первый ребенок получает order: 2 */
    .product-list .product-list__filters > *:first-child {
        order: calc((var(--random-number) % 2) * 2);
    }

    .product-list .product-list__filter {
        padding: 0.5rem 1rem;
        border-radius: var(--radius-md);
        border: 1px solid var(--ring);
        background: var(--bg-page);
        color: var(--fg-on-page);
        cursor: pointer;
        transition: all var(--anim-duration) var(--anim-ease);
        font-size: 0.875rem;
    }

    .product-list .product-list__filter:hover {
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        border-color: var(--bg-primary);
    }

    .product-list .product-list__view-toggle {
        display: flex;
        gap: 0.5rem;
        border: 1px solid var(--ring);
        border-radius: var(--radius-md);
        padding: 0.25rem;
        background: var(--bg-page);
    }

    .product-list .product-list__view-btn {
        padding: 0.5rem 0.75rem;
        border: none;
        background: transparent;
        color: var(--neutral-600);
        cursor: pointer;
        transition: all var(--anim-duration) var(--anim-ease);
        border-radius: var(--radius-sm);
        font-size: 1.125rem;
    }

    .product-list .product-list__view-btn.active {
        background: var(--bg-primary);
        color: var(--fg-on-primary);
    }

    .product-list .product-list__container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: clamp(16px, 2.5vw, 24px);
    }

    /* Если randomNumber четное (2) - первый ребенок получает order: 2 */
    .product-list .product-list__container > *:first-child {
        order: calc((var(--random-number) % 2) * 2);
    }

    .product-list .product-list__card {
        background: var(--surface-light);
        border: 1px solid var(--border-on-surface-light);
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        transition: all var(--anim-duration) var(--anim-ease);
        display: flex;
        flex-direction: column;
    }

    .product-list .product-list__card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: var(--bg-primary);
    }

    .product-list .product-list__image-container {
        position: relative;
        width: 100%;
        height: 200px;
        overflow: hidden;
        background: var(--bg-alt);
    }

    .product-list .product-list__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s var(--anim-ease);
    }

    .product-list .product-list__card:hover .product-list__image {
        transform: scale(1.15);
    }

    .product-list .product-list__overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        display: flex;
        align-items: center;
        justify-content: center;

        transition: opacity var(--anim-duration) var(--anim-ease);
    }

    .product-list .product-list__card:hover .product-list__overlay {
        opacity: 1;
    }

    .product-list .product-list__quick-view {
        padding: 0.75rem 1.5rem;
        background: var(--bg-page);
        color: var(--fg-on-page);
        text-decoration: none;
        border-radius: var(--radius-md);
        font-weight: 600;
        transform: translateY(10px);
        transition: transform var(--anim-duration) var(--anim-ease);
    }

    .product-list .product-list__card:hover .product-list__quick-view {
        transform: translateY(0);
    }

    .product-list .product-list__content {
        padding: clamp(16px, 2vw, 20px);
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        flex: 1;
    }

    .product-list .product-list__header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .product-list h3 {
        margin: 0;
        font-size: clamp(16px, 2vw, 18px);
        color: var(--fg-on-page);
        font-weight: 600;
        flex: 1;
        line-height: 1.4;
    }

    .product-list .product-list__wishlist {
        width: 32px;
        height: 32px;
        border: 1px solid var(--ring);
        border-radius: 50%;
        background: var(--bg-page);
        color: var(--neutral-600);
        cursor: pointer;
        transition: all var(--anim-duration) var(--anim-ease);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .product-list .product-list__wishlist:hover {
        border-color: var(--bg-primary);
        color: var(--bg-primary);
        transform: scale(1.1);
    }

    .product-list .product-list__price {
        font-size: 1.375rem;
        font-weight: 700;
        color: var(--bg-primary);
        margin: 0;
    }

    .product-list .product-list__footer {
        display: flex;
        gap: 0.5rem;
        margin-top: auto;
    }

    .product-list .product-list__btn {
        flex: 1;
        padding: 0.625rem 1rem;
        border-radius: var(--radius-md);
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        text-decoration: none;
        transition: all var(--anim-duration) var(--anim-ease);
        font-weight: 600;
        font-size: 0.875rem;
        text-align: center;
    }

    .product-list .product-list__btn:hover {
        background: var(--bg-primary-hover);
        transform: translateY(-2px);
    }

    .product-list .product-list__cart-btn {
        width: 40px;
        height: 40px;
        border: 1px solid var(--ring);
        border-radius: var(--radius-md);
        background: var(--bg-page);
        color: var(--fg-on-page);
        cursor: pointer;
        transition: all var(--anim-duration) var(--anim-ease);
        font-size: 1.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-list .product-list__cart-btn:hover {
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        border-color: var(--bg-primary);
        transform: scale(1.1);
    }

    @media (max-width: 767px) {
        .product-list .product-list__container {
            grid-template-columns: repeat(2, 1fr);
            gap: clamp(12px, 2vw, 16px);
        }

        .product-list .product-list__image-container {
            height: 160px;
        }
    }

.touch-orbit {
        padding: clamp(56px, 8vw, 96px) clamp(16px, 3vw, 36px);
        background: var(--gradient-accent);
        color: var(--fg-on-surface);
    }

    .touch-orbit .wrap {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .touch-orbit .header {
        margin-bottom: 14px;
        text-align: center;
    }

    .touch-orbit h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 40px);
        color: var(--neutral-900);
    }

    .touch-orbit .header p {
        margin: 10px auto 0;
        max-width: 64ch;
        opacity: .92;
        color: var(--neutral-800);
    }

    .touch-orbit .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
        margin-top: 40px;
    }

    .touch-orbit .card {
        border: 1px solid rgba(255, 255, 255, .6);
        border-radius: var(--radius-lg);
        background: var(--surface-1);
        padding: 24px;
        animation: orbitIn 420ms ease both;
        color: var(--fg-on-surface);
        box-shadow: var(--shadow-sm);
    }

    .touch-orbit .card:nth-child(2) {
        animation-delay: 90ms;
    }

    .touch-orbit .card:nth-child(3) {
        animation-delay: 180ms;
    }

    .touch-orbit .icon,
    .touch-orbit .badge,
    .touch-orbit h3,
    .touch-orbit .card p {
        margin: 0 0 12px;
    }

    .touch-orbit .icon {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .touch-orbit .badge {
        display: inline-block;
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        padding: 4px 10px;
        border-radius: var(--radius-sm);
        font-size: 0.85rem;
        font-weight: bold;
    }

    .touch-orbit .card h3 {
        color: var(--neutral-900);
        font-size: 1.4rem;
    }

    .touch-orbit .card p {
        color: var(--neutral-600);
        line-height: 1.5;
    }

    .touch-orbit .card a {
        color: var(--link);
        text-decoration: underline;
        font-weight: bold;
        display: inline-block;
        margin-top: 8px;
    }

    .touch-orbit .card a:hover {
        color: var(--link-hover);
    }

    .touch-orbit .main {
        display: inline-block;
        text-decoration: none;
        padding: 14px 28px;
        border-radius: var(--radius-md);
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        font-weight: bold;
        border: none;
        cursor: pointer;
        transition: background-color var(--anim-duration) var(--anim-ease);
    }

    .touch-orbit .main:hover {
        background: var(--bg-primary-hover);
    }

    .main-form button.main {
        padding: 14px 28px;
    }

    @keyframes orbitIn {
        from {
            opacity: 0;
            transform: translateY(8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: relative;
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-size: calc(var(--font-size-base) * 1.5);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--anim-duration) var(--anim-ease);
}
.logo:hover {
    color: var(--link-hover);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) * 2);
}

.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    font-weight: 500;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-sm);
    transition: all var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
}

.cta-button {
    background-color: var(--bg-primary);
    color: var(--fg-on-primary);
    border: none;
    padding: calc(var(--space-y) / 1.5) calc(var(--space-x) * 1.5);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--anim-duration) var(--anim-ease);
}
.cta-button:hover {
    background-color: var(--bg-primary-hover);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 3) var(--space-x) var(--space-y);
        transition: right var(--anim-duration) var(--anim-ease);
        flex-direction: column;
        justify-content: flex-start;
        z-index: 99;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .main-nav.is-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--gap);
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
    }

    .cta-button {
        display: none;
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.hortorsoft-footer {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    border-top: 1px solid #dee2e6;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
  }
  .footer-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5aa0;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.2s;
  }
  .footer-nav a:hover {
    color: #2c5aa0;
  }
  .footer-contacts div {
    margin-bottom: 0.3rem;
  }
  .footer-contacts a {
    color: #2c5aa0;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    text-decoration: underline;
  }
  .footer-social-links a {
    color: #666;
    text-decoration: none;
    margin: 0 0.3rem;
  }
  .footer-social-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .legal-links a {
    color: #666;
    text-decoration: none;
  }
  .legal-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .footer-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    padding-top: 1rem;
    border-top: 1px dashed #ccc;
    margin-top: 0.5rem;
  }
  @media (max-width: 768px) {
    .footer-section {
      flex-direction: column;
      text-align: center;
      gap: 1.2rem;
    }
    .footer-nav ul {
      justify-content: center;
      gap: 1rem;
    }
    .footer-social-links, .legal-links {
      justify-content: center;
    }
  }

.cookie-cv5 {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 1200;
        background: linear-gradient(90deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .cookie-cv5__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-cv5__inner p {
        margin: 0;
    }

    .cookie-cv5__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-cv5__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.12);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 7px 10px;
        cursor: pointer;
    }

    .cookie-cv5__actions button[data-choice='accept'] {
        background: var(--neutral-0);
        color: var(--fg-on-page);
    }

.product-item {

        color: var(--fg-on-page);
        background: var(--bg-page);
        padding: clamp(16px, 3vw, 40px);
    }

    .product-item .product-item__c {
        max-width: var(--max-w);
        margin: 0 auto;
        display: grid;
        gap: var(--space-x);
    }

    @media (min-width: 1024px) {
        .product-item .product-item__c {
            grid-template-columns: 1fr 1fr;
        }

        /* Si randomNumber es par (2) - el primer hijo obtiene order: 2 */
        .product-item .product-item__c > *:first-child {
            order: calc((var(--random-number) % 2) * 2);
        }
    }

    .product-item .product-item__main-image img {
        width: 100%;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
    }

    .product-item .product-item__thumbnails {
        display: flex;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .product-item .product-item__thumb {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: var(--radius-md);
        cursor: pointer;
        border: 2px solid transparent;
        transition: all var(--anim-duration) var(--anim-ease);
    }

    .product-item .product-item__thumb:hover {
        border-color: var(--bg-primary);
    }

    .product-item h1 {
        font-size: clamp(24px, 4vw, 36px);
        margin: 0 0 1rem;
        color: var(--fg-on-page);
    }

    .product-item .product-item__price {
        font-size: clamp(28px, 4vw, 42px);
        font-weight: 700;
        color: var(--bg-primary);
        margin: 0 0 1.5rem;
    }

    .product-item .product-item__description {
        color: var(--neutral-300);
        line-height: 1.8;
        margin-bottom: var(--space-y);
    }

    .product-item .product-item__description ul {
        padding-left: 1.5rem;
        margin-top: 1rem;
    }

    .product-item .product-item__description li {
        margin-bottom: 0.5rem;
    }

    .product-item .product-item__actions {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    /* Si randomNumber es par (2) - el primer hijo obtiene order: 2 */
    .product-item .product-item__actions > *:first-child {
        order: calc((var(--random-number) % 2) * 2);
    }

    .product-item .product-item__add-cart,
    .product-item .product-item__wishlist {
        padding: 0.875rem 2rem;
        border-radius: var(--radius-lg);
        border: none;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all var(--anim-duration) var(--anim-ease);
    }

    .product-item .product-item__add-cart {
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        box-shadow: var(--shadow-md);
    }

    .product-item .product-item__add-cart:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

    .product-item .product-item__wishlist {
        background: var(--bg-page);
        color: var(--fg-on-page);
        border: 1px solid var(--ring);
    }

    .product-item .product-item__wishlist:hover {
        background: var(--surface-1);
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: relative;
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-size: calc(var(--font-size-base) * 1.5);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--anim-duration) var(--anim-ease);
}
.logo:hover {
    color: var(--link-hover);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) * 2);
}

.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    font-weight: 500;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-sm);
    transition: all var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
}

.cta-button {
    background-color: var(--bg-primary);
    color: var(--fg-on-primary);
    border: none;
    padding: calc(var(--space-y) / 1.5) calc(var(--space-x) * 1.5);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--anim-duration) var(--anim-ease);
}
.cta-button:hover {
    background-color: var(--bg-primary-hover);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 3) var(--space-x) var(--space-y);
        transition: right var(--anim-duration) var(--anim-ease);
        flex-direction: column;
        justify-content: flex-start;
        z-index: 99;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .main-nav.is-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--gap);
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
    }

    .cta-button {
        display: none;
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.hortorsoft-footer {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    border-top: 1px solid #dee2e6;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
  }
  .footer-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5aa0;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.2s;
  }
  .footer-nav a:hover {
    color: #2c5aa0;
  }
  .footer-contacts div {
    margin-bottom: 0.3rem;
  }
  .footer-contacts a {
    color: #2c5aa0;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    text-decoration: underline;
  }
  .footer-social-links a {
    color: #666;
    text-decoration: none;
    margin: 0 0.3rem;
  }
  .footer-social-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .legal-links a {
    color: #666;
    text-decoration: none;
  }
  .legal-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .footer-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    padding-top: 1rem;
    border-top: 1px dashed #ccc;
    margin-top: 0.5rem;
  }
  @media (max-width: 768px) {
    .footer-section {
      flex-direction: column;
      text-align: center;
      gap: 1.2rem;
    }
    .footer-nav ul {
      justify-content: center;
      gap: 1rem;
    }
    .footer-social-links, .legal-links {
      justify-content: center;
    }
  }

.cookie-cv5 {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 1200;
        background: linear-gradient(90deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .cookie-cv5__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-cv5__inner p {
        margin: 0;
    }

    .cookie-cv5__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-cv5__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.12);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 7px 10px;
        cursor: pointer;
    }

    .cookie-cv5__actions button[data-choice='accept'] {
        background: var(--neutral-0);
        color: var(--fg-on-page);
    }

.product-item {

        color: var(--fg-on-page);
        background: var(--bg-page);
        padding: clamp(16px, 3vw, 40px);
    }

    .product-item .product-item__c {
        max-width: var(--max-w);
        margin: 0 auto;
        display: grid;
        gap: var(--space-x);
    }

    @media (min-width: 1024px) {
        .product-item .product-item__c {
            grid-template-columns: 1fr 1fr;
        }

        /* Si randomNumber es par (2) - el primer hijo obtiene order: 2 */
        .product-item .product-item__c > *:first-child {
            order: calc((var(--random-number) % 2) * 2);
        }
    }

    .product-item .product-item__main-image img {
        width: 100%;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
    }

    .product-item .product-item__thumbnails {
        display: flex;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .product-item .product-item__thumb {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: var(--radius-md);
        cursor: pointer;
        border: 2px solid transparent;
        transition: all var(--anim-duration) var(--anim-ease);
    }

    .product-item .product-item__thumb:hover {
        border-color: var(--bg-primary);
    }

    .product-item h1 {
        font-size: clamp(24px, 4vw, 36px);
        margin: 0 0 1rem;
        color: var(--fg-on-page);
    }

    .product-item .product-item__price {
        font-size: clamp(28px, 4vw, 42px);
        font-weight: 700;
        color: var(--bg-primary);
        margin: 0 0 1.5rem;
    }

    .product-item .product-item__description {
        color: var(--neutral-300);
        line-height: 1.8;
        margin-bottom: var(--space-y);
    }

    .product-item .product-item__actions {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    /* Si randomNumber es par (2) - el primer hijo obtiene order: 2 */
    .product-item .product-item__actions > *:first-child {
        order: calc((var(--random-number) % 2) * 2);
    }

    .product-item .product-item__add-cart,
    .product-item .product-item__wishlist {
        padding: 0.875rem 2rem;
        border-radius: var(--radius-lg);
        border: none;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all var(--anim-duration) var(--anim-ease);
    }

    .product-item .product-item__add-cart {
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        box-shadow: var(--shadow-md);
    }

    .product-item .product-item__add-cart:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

    .product-item .product-item__wishlist {
        background: var(--bg-page);
        color: var(--fg-on-page);
        border: 1px solid var(--ring);
    }

    .product-item .product-item__wishlist:hover {
        background: var(--surface-1);
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: relative;
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-size: calc(var(--font-size-base) * 1.5);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--anim-duration) var(--anim-ease);
}
.logo:hover {
    color: var(--link-hover);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) * 2);
}

.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    font-weight: 500;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-sm);
    transition: all var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
}

.cta-button {
    background-color: var(--bg-primary);
    color: var(--fg-on-primary);
    border: none;
    padding: calc(var(--space-y) / 1.5) calc(var(--space-x) * 1.5);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--anim-duration) var(--anim-ease);
}
.cta-button:hover {
    background-color: var(--bg-primary-hover);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 3) var(--space-x) var(--space-y);
        transition: right var(--anim-duration) var(--anim-ease);
        flex-direction: column;
        justify-content: flex-start;
        z-index: 99;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .main-nav.is-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--gap);
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
    }

    .cta-button {
        display: none;
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.hortorsoft-footer {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    border-top: 1px solid #dee2e6;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
  }
  .footer-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5aa0;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.2s;
  }
  .footer-nav a:hover {
    color: #2c5aa0;
  }
  .footer-contacts div {
    margin-bottom: 0.3rem;
  }
  .footer-contacts a {
    color: #2c5aa0;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    text-decoration: underline;
  }
  .footer-social-links a {
    color: #666;
    text-decoration: none;
    margin: 0 0.3rem;
  }
  .footer-social-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .legal-links a {
    color: #666;
    text-decoration: none;
  }
  .legal-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .footer-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    padding-top: 1rem;
    border-top: 1px dashed #ccc;
    margin-top: 0.5rem;
  }
  @media (max-width: 768px) {
    .footer-section {
      flex-direction: column;
      text-align: center;
      gap: 1.2rem;
    }
    .footer-nav ul {
      justify-content: center;
      gap: 1rem;
    }
    .footer-social-links, .legal-links {
      justify-content: center;
    }
  }

.cookie-cv5 {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 1200;
        background: linear-gradient(90deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .cookie-cv5__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-cv5__inner p {
        margin: 0;
    }

    .cookie-cv5__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-cv5__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.12);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 7px 10px;
        cursor: pointer;
    }

    .cookie-cv5__actions button[data-choice='accept'] {
        background: var(--neutral-0);
        color: var(--fg-on-page);
    }

.product-item {

        color: var(--fg-on-page);
        background: var(--bg-page);
        padding: clamp(16px, 3vw, 40px);
    }

    .product-item .product-item__c {
        max-width: var(--max-w);
        margin: 0 auto;
        display: grid;
        gap: var(--space-x);
    }

    @media (min-width: 1024px) {
        .product-item .product-item__c {
            grid-template-columns: 1fr 1fr;
        }

        /* Si randomNumber es par (2) - el primer hijo obtiene order: 2 */
        .product-item .product-item__c > *:first-child {
            order: calc((var(--random-number) % 2) * 2);
        }
    }

    .product-item .product-item__main-image img {
        width: 100%;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
    }

    .product-item .product-item__thumbnails {
        display: flex;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .product-item .product-item__thumb {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: var(--radius-md);
        cursor: pointer;
        border: 2px solid transparent;
        transition: all var(--anim-duration) var(--anim-ease);
    }

    .product-item .product-item__thumb:hover {
        border-color: var(--bg-primary);
    }

    .product-item h1 {
        font-size: clamp(24px, 4vw, 36px);
        margin: 0 0 1rem;
        color: var(--fg-on-page);
    }

    .product-item .product-item__price {
        font-size: clamp(28px, 4vw, 42px);
        font-weight: 700;
        color: var(--bg-primary);
        margin: 0 0 1.5rem;
    }

    .product-item .product-item__description {
        color: var(--neutral-300);
        line-height: 1.8;
        margin-bottom: var(--space-y);
    }

    .product-item .product-item__actions {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    /* Si randomNumber es par (2) - el primer hijo obtiene order: 2 */
    .product-item .product-item__actions > *:first-child {
        order: calc((var(--random-number) % 2) * 2);
    }

    .product-item .product-item__add-cart,
    .product-item .product-item__wishlist {
        padding: 0.875rem 2rem;
        border-radius: var(--radius-lg);
        border: none;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all var(--anim-duration) var(--anim-ease);
    }

    .product-item .product-item__add-cart {
        background: var(--bg-primary);
        color: var(--fg-on-page);
        box-shadow: var(--shadow-md);
    }

    .product-item .product-item__add-cart:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

    .product-item .product-item__wishlist {
        background: var(--bg-page);
        color: var(--fg-on-page);
        border: 1px solid var(--ring);
    }

    .product-item .product-item__wishlist:hover {
        background: var(--surface-1);
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: relative;
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-size: calc(var(--font-size-base) * 1.5);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--anim-duration) var(--anim-ease);
}
.logo:hover {
    color: var(--link-hover);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) * 2);
}

.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    font-weight: 500;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-sm);
    transition: all var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
}

.cta-button {
    background-color: var(--bg-primary);
    color: var(--fg-on-primary);
    border: none;
    padding: calc(var(--space-y) / 1.5) calc(var(--space-x) * 1.5);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--anim-duration) var(--anim-ease);
}
.cta-button:hover {
    background-color: var(--bg-primary-hover);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 3) var(--space-x) var(--space-y);
        transition: right var(--anim-duration) var(--anim-ease);
        flex-direction: column;
        justify-content: flex-start;
        z-index: 99;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .main-nav.is-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--gap);
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
    }

    .cta-button {
        display: none;
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.hortorsoft-footer {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    border-top: 1px solid #dee2e6;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
  }
  .footer-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5aa0;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.2s;
  }
  .footer-nav a:hover {
    color: #2c5aa0;
  }
  .footer-contacts div {
    margin-bottom: 0.3rem;
  }
  .footer-contacts a {
    color: #2c5aa0;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    text-decoration: underline;
  }
  .footer-social-links a {
    color: #666;
    text-decoration: none;
    margin: 0 0.3rem;
  }
  .footer-social-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .legal-links a {
    color: #666;
    text-decoration: none;
  }
  .legal-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .footer-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    padding-top: 1rem;
    border-top: 1px dashed #ccc;
    margin-top: 0.5rem;
  }
  @media (max-width: 768px) {
    .footer-section {
      flex-direction: column;
      text-align: center;
      gap: 1.2rem;
    }
    .footer-nav ul {
      justify-content: center;
      gap: 1rem;
    }
    .footer-social-links, .legal-links {
      justify-content: center;
    }
  }

.cookie-cv5 {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 1200;
        background: linear-gradient(90deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .cookie-cv5__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-cv5__inner p {
        margin: 0;
    }

    .cookie-cv5__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-cv5__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.12);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 7px 10px;
        cursor: pointer;
    }

    .cookie-cv5__actions button[data-choice='accept'] {
        background: var(--neutral-0);
        color: var(--fg-on-page);
    }

.checkout {

        color: var(--fg-on-primary);
        background: var(--gradient-hero);
        padding: clamp(16px, 3vw, 40px);
    }

    .checkout .checkout__c {
        max-width: var(--max-w);
        margin: 0 auto;
        display: grid;
        gap: var(--space-x);
    }

    @media (min-width: 1024px) {
        .checkout .checkout__c {
            grid-template-columns: 2fr 1fr;
        }
    }

    .checkout h2 {
        font-size: clamp(24px, 4vw, 32px);
        margin: 0 0 var(--space-y);
        color: var(--fg-on-primary);
    }

    .checkout .checkout__items {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .checkout .checkout__item {
        display: flex;
        gap: 1rem;
        background: var(--surface-light);
        padding: 1rem;
        border-radius: var(--radius-lg);
        border: 1px solid var(--ring);
    }

    .checkout .checkout__item-image {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: var(--radius-md);
    }

    .checkout .checkout__item-info {
        flex: 1;
    }

    .checkout h4 {
        margin: 0 0 0.5rem;
        color: var(--fg-on-surface);
    }

    .checkout .checkout__item-price {
        font-weight: 700;
        color: var(--bg-primary);
        margin: 0.5rem 0;
    }

    .checkout .checkout__item-quantity {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .checkout .checkout__item-quantity button {
        width: 32px;
        height: 32px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--ring);
        background: var(--surface-2);
        cursor: pointer;
        color: var(--fg-on-surface);
    }

    .checkout .checkout__summary {
        background: var(--surface-light);
        padding: clamp(24px, 3vw, 32px);
        border-radius: var(--radius-lg);
        border: 1px solid var(--ring);
        box-shadow: var(--shadow-md);
    }

    .checkout .checkout__total {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--bg-primary);
        margin-bottom: var(--space-y);
        padding-bottom: var(--space-y);
        border-bottom: 1px solid var(--ring);
    }

    .checkout .checkout__form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .checkout .checkout__form input,
    .checkout .checkout__form textarea {
        padding: 0.875rem;
        border-radius: var(--radius-md);
        border: 1px solid var(--ring);
        background: var(--surface-1);
        color: var(--fg-on-surface);
        outline: none;
    }

    .checkout .checkout__form input:focus,
    .checkout .checkout__form textarea:focus {
        border-color: var(--bg-primary);
        box-shadow: 0 0 0 3px var(--ring);
    }

    .checkout .checkout__form button {
        padding: 1rem 2rem;
        border-radius: var(--radius-lg);
        border: none;
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        font-weight: 600;
        cursor: pointer;
        transition: all var(--anim-duration) var(--anim-ease);
    }

    .checkout .checkout__form button:hover {
        background: var(--bg-primary-hover);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: relative;
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-size: calc(var(--font-size-base) * 1.5);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--anim-duration) var(--anim-ease);
}
.logo:hover {
    color: var(--link-hover);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) * 2);
}

.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    font-weight: 500;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-sm);
    transition: all var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
}

.cta-button {
    background-color: var(--bg-primary);
    color: var(--fg-on-primary);
    border: none;
    padding: calc(var(--space-y) / 1.5) calc(var(--space-x) * 1.5);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--anim-duration) var(--anim-ease);
}
.cta-button:hover {
    background-color: var(--bg-primary-hover);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 3) var(--space-x) var(--space-y);
        transition: right var(--anim-duration) var(--anim-ease);
        flex-direction: column;
        justify-content: flex-start;
        z-index: 99;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .main-nav.is-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--gap);
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
    }

    .cta-button {
        display: none;
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.hortorsoft-footer {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    border-top: 1px solid #dee2e6;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
  }
  .footer-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5aa0;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.2s;
  }
  .footer-nav a:hover {
    color: #2c5aa0;
  }
  .footer-contacts div {
    margin-bottom: 0.3rem;
  }
  .footer-contacts a {
    color: #2c5aa0;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    text-decoration: underline;
  }
  .footer-social-links a {
    color: #666;
    text-decoration: none;
    margin: 0 0.3rem;
  }
  .footer-social-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .legal-links a {
    color: #666;
    text-decoration: none;
  }
  .legal-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .footer-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    padding-top: 1rem;
    border-top: 1px dashed #ccc;
    margin-top: 0.5rem;
  }
  @media (max-width: 768px) {
    .footer-section {
      flex-direction: column;
      text-align: center;
      gap: 1.2rem;
    }
    .footer-nav ul {
      justify-content: center;
      gap: 1rem;
    }
    .footer-social-links, .legal-links {
      justify-content: center;
    }
  }

.cookie-cv5 {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 1200;
        background: linear-gradient(90deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .cookie-cv5__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-cv5__inner p {
        margin: 0;
    }

    .cookie-cv5__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-cv5__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.12);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 7px 10px;
        cursor: pointer;
    }

    .cookie-cv5__actions button[data-choice='accept'] {
        background: var(--neutral-0);
        color: var(--fg-on-page);
    }

.form-fresh-v5 {
        padding: calc(var(--space-y) * 2.4) var(--space-x);
        background: var(--neutral-900);
        color: var(--neutral-0);
    }

    .form-fresh-v5 .shell {
        max-width: 760px;
        margin: 0 auto;
        display: grid;
        gap: var(--gap);
    }

    .form-fresh-v5 .head p {
        margin: .35rem 0 0;
        opacity: .82;
    }

    .form-fresh-v5 .panel {
        display: grid;
        gap: .7rem;
        padding: 1rem;
        border-radius: var(--radius-lg);
        background: var(--chip-bg);
        border: 1px solid var(--btn-ghost-bg-hover);
    }

    .form-fresh-v5 label {
        display: grid;
        gap: .3rem;
    }

    .form-fresh-v5 span {
        font-size: .82rem;
        opacity: .85;
    }

    .form-fresh-v5 input {
        padding: .65rem .75rem;
        border: 1px solid var(--btn-ghost-bg-hover);
        border-radius: var(--radius-sm);
        background: var(--surface-1);
        color: var(--fg-on-surface);
        font: inherit;
    }

    .form-fresh-v5 button {
        padding: .72rem 1rem;
        border: 0;
        border-radius: var(--radius-sm);
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        font-weight: 700;
        cursor: pointer;
    }

.contacts-fresh-v6 {
        padding: calc(var(--space-y) * 2.8) var(--space-x);
        background: var(--surface-2);
        color: var(--fg-on-surface);
    }

    .contacts-fresh-v6 .shell {
        max-width: var(--max-w);
        margin: 0 auto;
        display: grid;
        gap: var(--gap);
    }

    .contacts-fresh-v6 h2 {
        margin: 0;
        font-size: clamp(1.8rem, 3vw, 2.5rem);
    }

    .contacts-fresh-v6 .columns {
        display: flex;
        gap: var(--gap);
        overflow: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: .2rem;
    }

    .contacts-fresh-v6 article {
        min-width: 260px;
        scroll-snap-align: start;
        padding: 1rem;
        border-radius: var(--radius-lg);
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface);
    }

    .contacts-fresh-v6 h3 {
        margin: 0 0 .5rem;
    }

    .contacts-fresh-v6 p {
        margin: 0;
    }

    .contacts-fresh-v6 .hint {
        margin: .4rem 0 .8rem;
        color: var(--fg-on-surface-light);
    }

    .contacts-fresh-v6 a {
        text-decoration: none;
        color: var(--link);
        font-weight: 700;
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: relative;
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-size: calc(var(--font-size-base) * 1.5);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--anim-duration) var(--anim-ease);
}
.logo:hover {
    color: var(--link-hover);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) * 2);
}

.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    font-weight: 500;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-sm);
    transition: all var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
}

.cta-button {
    background-color: var(--bg-primary);
    color: var(--fg-on-primary);
    border: none;
    padding: calc(var(--space-y) / 1.5) calc(var(--space-x) * 1.5);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--anim-duration) var(--anim-ease);
}
.cta-button:hover {
    background-color: var(--bg-primary-hover);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 3) var(--space-x) var(--space-y);
        transition: right var(--anim-duration) var(--anim-ease);
        flex-direction: column;
        justify-content: flex-start;
        z-index: 99;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .main-nav.is-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--gap);
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
    }

    .cta-button {
        display: none;
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.hortorsoft-footer {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    border-top: 1px solid #dee2e6;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
  }
  .footer-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5aa0;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.2s;
  }
  .footer-nav a:hover {
    color: #2c5aa0;
  }
  .footer-contacts div {
    margin-bottom: 0.3rem;
  }
  .footer-contacts a {
    color: #2c5aa0;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    text-decoration: underline;
  }
  .footer-social-links a {
    color: #666;
    text-decoration: none;
    margin: 0 0.3rem;
  }
  .footer-social-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .legal-links a {
    color: #666;
    text-decoration: none;
  }
  .legal-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .footer-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    padding-top: 1rem;
    border-top: 1px dashed #ccc;
    margin-top: 0.5rem;
  }
  @media (max-width: 768px) {
    .footer-section {
      flex-direction: column;
      text-align: center;
      gap: 1.2rem;
    }
    .footer-nav ul {
      justify-content: center;
      gap: 1rem;
    }
    .footer-social-links, .legal-links {
      justify-content: center;
    }
  }

.cookie-cv5 {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 1200;
        background: linear-gradient(90deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .cookie-cv5__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-cv5__inner p {
        margin: 0;
    }

    .cookie-cv5__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-cv5__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.12);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 7px 10px;
        cursor: pointer;
    }

    .cookie-cv5__actions button[data-choice='accept'] {
        background: var(--neutral-0);
        color: var(--fg-on-page);
    }

.terms-layout-b {
        padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 36px);
        background: var(--surface-1);
        color: var(--fg-on-page);
    }

    .terms-layout-b .wrap {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .terms-layout-b .section-head {
        margin-bottom: 16px;
        text-align: center;
    }

    .terms-layout-b h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 40px);
    }

    .terms-layout-b .section-head p {
        margin: 10px auto 0;
        color: var(--neutral-600);
        max-width: 74ch;
    }

    .terms-layout-b .grid {
        display: grid;
        gap: var(--gap);
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .terms-layout-b article {
        border: 1px solid var(--border-on-surface-light);
        border-radius: var(--radius-md);
        padding: 12px;
        background: var(--bg-alt);
    }

    .terms-layout-b h3 {
        margin: 0 0 8px;
        color: var(--brand);
    }

    .terms-layout-b h4 {
        margin: 10px 0 6px;
    }

    .terms-layout-b p, .terms-layout-b li {
        color: var(--neutral-600);
        margin-top: 0;
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: relative;
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-size: calc(var(--font-size-base) * 1.5);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--anim-duration) var(--anim-ease);
}
.logo:hover {
    color: var(--link-hover);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) * 2);
}

.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    font-weight: 500;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-sm);
    transition: all var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
}

.cta-button {
    background-color: var(--bg-primary);
    color: var(--fg-on-primary);
    border: none;
    padding: calc(var(--space-y) / 1.5) calc(var(--space-x) * 1.5);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--anim-duration) var(--anim-ease);
}
.cta-button:hover {
    background-color: var(--bg-primary-hover);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 3) var(--space-x) var(--space-y);
        transition: right var(--anim-duration) var(--anim-ease);
        flex-direction: column;
        justify-content: flex-start;
        z-index: 99;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .main-nav.is-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--gap);
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
    }

    .cta-button {
        display: none;
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.hortorsoft-footer {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    border-top: 1px solid #dee2e6;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
  }
  .footer-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5aa0;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.2s;
  }
  .footer-nav a:hover {
    color: #2c5aa0;
  }
  .footer-contacts div {
    margin-bottom: 0.3rem;
  }
  .footer-contacts a {
    color: #2c5aa0;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    text-decoration: underline;
  }
  .footer-social-links a {
    color: #666;
    text-decoration: none;
    margin: 0 0.3rem;
  }
  .footer-social-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .legal-links a {
    color: #666;
    text-decoration: none;
  }
  .legal-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .footer-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    padding-top: 1rem;
    border-top: 1px dashed #ccc;
    margin-top: 0.5rem;
  }
  @media (max-width: 768px) {
    .footer-section {
      flex-direction: column;
      text-align: center;
      gap: 1.2rem;
    }
    .footer-nav ul {
      justify-content: center;
      gap: 1rem;
    }
    .footer-social-links, .legal-links {
      justify-content: center;
    }
  }

.cookie-cv5 {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 1200;
        background: linear-gradient(90deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .cookie-cv5__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-cv5__inner p {
        margin: 0;
    }

    .cookie-cv5__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-cv5__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.12);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 7px 10px;
        cursor: pointer;
    }

    .cookie-cv5__actions button[data-choice='accept'] {
        background: var(--neutral-0);
        color: var(--fg-on-page);
    }

.policy-layout-a {
        padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 36px);
        background: linear-gradient(180deg, var(--bg-accent), var(--bg-page));
        color: var(--fg-on-page);
    }

    .policy-layout-a .wrap {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .policy-layout-a .section-head {
        margin-bottom: 16px;
    }

    .policy-layout-a h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 40px);
    }

    .policy-layout-a .section-head p {
        margin: 10px 0 0;
        color: var(--neutral-600);
        max-width: 72ch;
    }

    .policy-layout-a .grid {
        display: grid;
        gap: var(--gap);
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .policy-layout-a article {
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface-light);
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
    }

    .policy-layout-a .meta {
        margin: 0;
        color: var(--brand);
        font-weight: 600;
    }

    .policy-layout-a h3 {
        margin: 8px 0;
    }

    .policy-layout-a article p {
        margin: 0;
        color: var(--neutral-600);
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: relative;
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-size: calc(var(--font-size-base) * 1.5);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--anim-duration) var(--anim-ease);
}
.logo:hover {
    color: var(--link-hover);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) * 2);
}

.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    font-weight: 500;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-sm);
    transition: all var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
}

.cta-button {
    background-color: var(--bg-primary);
    color: var(--fg-on-primary);
    border: none;
    padding: calc(var(--space-y) / 1.5) calc(var(--space-x) * 1.5);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--anim-duration) var(--anim-ease);
}
.cta-button:hover {
    background-color: var(--bg-primary-hover);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 3) var(--space-x) var(--space-y);
        transition: right var(--anim-duration) var(--anim-ease);
        flex-direction: column;
        justify-content: flex-start;
        z-index: 99;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .main-nav.is-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--gap);
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
    }

    .cta-button {
        display: none;
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.hortorsoft-footer {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    border-top: 1px solid #dee2e6;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
  }
  .footer-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5aa0;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.2s;
  }
  .footer-nav a:hover {
    color: #2c5aa0;
  }
  .footer-contacts div {
    margin-bottom: 0.3rem;
  }
  .footer-contacts a {
    color: #2c5aa0;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    text-decoration: underline;
  }
  .footer-social-links a {
    color: #666;
    text-decoration: none;
    margin: 0 0.3rem;
  }
  .footer-social-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .legal-links a {
    color: #666;
    text-decoration: none;
  }
  .legal-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .footer-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    padding-top: 1rem;
    border-top: 1px dashed #ccc;
    margin-top: 0.5rem;
  }
  @media (max-width: 768px) {
    .footer-section {
      flex-direction: column;
      text-align: center;
      gap: 1.2rem;
    }
    .footer-nav ul {
      justify-content: center;
      gap: 1rem;
    }
    .footer-social-links, .legal-links {
      justify-content: center;
    }
  }

.cookie-cv5 {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 1200;
        background: linear-gradient(90deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .cookie-cv5__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-cv5__inner p {
        margin: 0;
    }

    .cookie-cv5__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-cv5__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.12);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 7px 10px;
        cursor: pointer;
    }

    .cookie-cv5__actions button[data-choice='accept'] {
        background: var(--neutral-0);
        color: var(--fg-on-page);
    }

.thank-mode-d {
        padding: clamp(56px, 10vw, 114px) 18px;
        background: var(--accent);
        color: var(--accent-contrast);
    }

    .thank-mode-d .core {
        max-width: 740px;
        margin: 0 auto;
        text-align: center;
        padding: clamp(28px, 4vw, 46px);
        border-radius: var(--radius-lg);
        border: 1px solid rgba(255, 255, 255, .24);
    }

    .thank-mode-d h1 {
        margin: 0;
        font-size: clamp(32px, 5vw, 52px);
    }

    .thank-mode-d p {
        margin: 12px 0 0;
        opacity: .9;
    }

    .thank-mode-d a {
        display: inline-block;
        margin-top: 18px;
        padding: 10px 16px;
        border-radius: 999px;
        text-decoration: none;
        background: var(--accent);
        color: var(--accent-contrast);
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: relative;
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-size: calc(var(--font-size-base) * 1.5);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--anim-duration) var(--anim-ease);
}
.logo:hover {
    color: var(--link-hover);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) * 2);
}

.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    font-weight: 500;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-sm);
    transition: all var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
}

.cta-button {
    background-color: var(--bg-primary);
    color: var(--fg-on-primary);
    border: none;
    padding: calc(var(--space-y) / 1.5) calc(var(--space-x) * 1.5);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--anim-duration) var(--anim-ease);
}
.cta-button:hover {
    background-color: var(--bg-primary-hover);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 3) var(--space-x) var(--space-y);
        transition: right var(--anim-duration) var(--anim-ease);
        flex-direction: column;
        justify-content: flex-start;
        z-index: 99;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .main-nav.is-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--gap);
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
    }

    .cta-button {
        display: none;
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.hortorsoft-footer {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    border-top: 1px solid #dee2e6;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
  }
  .footer-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5aa0;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.2s;
  }
  .footer-nav a:hover {
    color: #2c5aa0;
  }
  .footer-contacts div {
    margin-bottom: 0.3rem;
  }
  .footer-contacts a {
    color: #2c5aa0;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    text-decoration: underline;
  }
  .footer-social-links a {
    color: #666;
    text-decoration: none;
    margin: 0 0.3rem;
  }
  .footer-social-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .legal-links a {
    color: #666;
    text-decoration: none;
  }
  .legal-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
  }
  .footer-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    padding-top: 1rem;
    border-top: 1px dashed #ccc;
    margin-top: 0.5rem;
  }
  @media (max-width: 768px) {
    .footer-section {
      flex-direction: column;
      text-align: center;
      gap: 1.2rem;
    }
    .footer-nav ul {
      justify-content: center;
      gap: 1rem;
    }
    .footer-social-links, .legal-links {
      justify-content: center;
    }
  }

.cookie-cv5 {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 1200;
        background: linear-gradient(90deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .cookie-cv5__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-cv5__inner p {
        margin: 0;
    }

    .cookie-cv5__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-cv5__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.12);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 7px 10px;
        cursor: pointer;
    }

    .cookie-cv5__actions button[data-choice='accept'] {
        background: var(--neutral-0);
        color: var(--fg-on-page);
    }

.err-slab-f {
        padding: clamp(56px, 10vw, 112px) 20px;
        background: var(--surface-1);
        color: var(--fg-on-page);
    }

    .err-slab-f .chip {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
        padding: clamp(28px, 4vw, 46px);
        border-radius: var(--radius-lg);
        border: 1px solid var(--border-on-surface-light);
        box-shadow: var(--shadow-sm);
        position: relative;
    }

    .err-slab-f .chip::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        background: var(--gradient-accent);
    }

    .err-slab-f h1 {
        margin: 0;
        font-size: clamp(32px, 6vw, 56px);
    }

    .err-slab-f p {
        margin: 12px 0 0;
        color: var(--neutral-600);
    }

    .err-slab-f a {
        display: inline-block;
        margin-top: 18px;
        padding: 10px 16px;
        border-radius: var(--radius-sm);
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        text-decoration: none;
    }