:root {
  --alyans-red: #b71922;
  --alyans-red-dark: #92151c;
  --alyans-ink: #17191c;
  --alyans-muted: #5d6269;
  --alyans-line: #dfe1e3;
  --alyans-paper: #ffffff;
  --alyans-soft: #f3f4f4;
  --alyans-max: 1280px;
  --alyans-gutter: clamp(20px, 3.2vw, 48px);
}

body { color: var(--alyans-ink); font-family: Arial, Helvetica, sans-serif; }
body.alyans-dialog-open { overflow: hidden; }
.alyans-header { position: relative; z-index: 100; display: flex; flex-direction: row !important; align-items: center; gap: clamp(20px, 3vw, 50px); min-height: 88px; padding-inline: var(--alyans-gutter); border-bottom: 1px solid var(--alyans-line); background: #fff; }
.alyans-header .elementor-widget-shortcode { width: auto; }
.alyans-logo { display: inline-flex; width: clamp(142px, 14vw, 205px); align-items: center; text-decoration: none; }
.alyans-logo__image { width: 100%; height: auto; }
.alyans-nav { position: relative; }
.alyans-nav__list { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 38px); margin: 0; padding: 0; list-style: none; }
.alyans-nav__list a { color: var(--alyans-ink); font-size: .72rem; font-weight: 800; letter-spacing: .02em; text-decoration: none; text-transform: uppercase; }
.alyans-nav__list a:hover { color: var(--alyans-red); }
.alyans-nav button.alyans-nav__toggle { display: none !important; }
.alyans-header__cta { margin-left: auto; }
.alyans-header__cta .elementor-button { white-space: nowrap; }
.alyans-site, .alyans-site * { box-sizing: border-box; }
.alyans-site img { display: block; max-width: 100%; height: auto; }
.alyans-site a { color: inherit; }
.alyans-site :focus-visible, .alyans-dialog :focus-visible { outline: 3px solid var(--alyans-red); outline-offset: 3px; }
.alyans-container { width: min(calc(100% - 2 * var(--alyans-gutter)), var(--alyans-max)); margin-inline: auto; }
.alyans-section { padding-block: clamp(64px, 7vw, 112px); }
.alyans-section--soft { background: var(--alyans-soft); }
.alyans-section--dark { background: var(--alyans-ink); color: #fff; }
.alyans-section--red { background: var(--alyans-red-dark); color: #fff; }
.alyans-kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; color: var(--alyans-red); font-size: .72rem; font-weight: 700; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.alyans-kicker::before { content: ""; display: block; width: 42px; height: 1px; background: currentColor; }
.alyans-kicker .elementor-heading-title { color: inherit !important; font-size: inherit !important; font-weight: inherit !important; letter-spacing: inherit !important; line-height: inherit !important; text-transform: inherit !important; }
.alyans-section--dark .alyans-kicker, .alyans-section--red .alyans-kicker { color: #fff; }
.alyans-display { max-width: 100%; margin: 0; font-size: clamp(2.5rem, 5.6vw, 5.9rem); line-height: 1.02; font-weight: 800; letter-spacing: -.05em; text-transform: uppercase; overflow-wrap: normal; word-break: normal; hyphens: none; }
.alyans-display .elementor-heading-title { color: inherit !important; font-size: inherit !important; font-weight: inherit !important; letter-spacing: inherit !important; line-height: inherit !important; text-transform: inherit !important; }
.alyans-heading { margin: 0; font-size: clamp(2.15rem, 3.8vw, 4rem); line-height: 1.04; font-weight: 800; letter-spacing: -.045em; text-transform: uppercase; overflow-wrap: normal; word-break: normal; hyphens: none; }
.alyans-heading .elementor-heading-title { color: inherit !important; font-size: inherit !important; font-weight: inherit !important; letter-spacing: inherit !important; line-height: inherit !important; text-transform: inherit !important; }
.alyans-lead { max-width: 64ch; margin: 24px 0 0; color: var(--alyans-muted); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.55; }
.alyans-lead p { margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.alyans-section--dark .alyans-lead, .alyans-section--red .alyans-lead { color: rgba(255,255,255,.78); }
.alyans-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--alyans-red); border-radius: 0; padding: 12px 22px; background: var(--alyans-red); color: #fff !important; font: inherit; font-size: .82rem; font-weight: 800; letter-spacing: .02em; line-height: 1.2; text-decoration: none !important; text-transform: uppercase; cursor: pointer; transition: background .2s, border-color .2s; }
.alyans-button:hover { border-color: var(--alyans-red-dark); background: var(--alyans-red-dark); }
.alyans-button.elementor-widget { min-height: 0; border: 0; padding: 0; background: transparent; }
.alyans-button.elementor-widget:hover { border: 0; background: transparent; }
.alyans-button.e-con { width: max-content; max-width: 100%; min-height: 0; border: 0; padding: 0; background: transparent; }
.alyans-button.e-con:hover { border: 0; background: transparent; }
.alyans-button .elementor-button { display: inline-flex; min-height: 50px; align-items: center; gap: 20px; border-radius: 10px; padding: 12px 22px; background: var(--alyans-red) !important; color: #fff !important; font-size: .82rem; font-weight: 800; text-decoration: none !important; text-transform: uppercase; }
.alyans-button .elementor-button-text { text-decoration: none !important; }
.alyans-button .elementor-button:hover { background: var(--alyans-red-dark); }
.alyans-button--small { min-height: 42px; padding: 10px 14px; font-size: .73rem; }
.alyans-button--outline { border-color: var(--alyans-line); background: transparent; color: var(--alyans-ink) !important; }
.alyans-button--outline:hover { border-color: var(--alyans-ink); background: var(--alyans-ink); color: #fff !important; }
.alyans-button--outline .elementor-button { border: 1px solid var(--alyans-line); background: transparent; color: var(--alyans-ink); }
.alyans-button--outline .elementor-button:hover { border-color: var(--alyans-ink); background: var(--alyans-ink); color: #fff; }
.alyans-direction--red .alyans-button--outline .elementor-button { border-color: rgba(255,255,255,.7); color: #fff; }
.alyans-direction--red .alyans-button--outline .elementor-button:hover { border-color: #fff; background: #fff; color: var(--alyans-red-dark); }
.alyans-link-button { display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; border: 0; background: transparent; color: var(--alyans-ink); font: inherit; font-size: .78rem; font-weight: 800; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.alyans-link-button:hover { color: var(--alyans-red); }
.alyans-rule { border: 0; border-top: 1px solid var(--alyans-line); margin: 0; }
.alyans-mark { color: var(--alyans-red); }

/* Page sections remain ordinary Elementor widgets/containers; these classes supply the brand styling. */
.alyans-hero { display: grid !important; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); min-height: 680px; border-bottom: 1px solid var(--alyans-line); }
.alyans-hero__copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(54px, 7vw, 112px) var(--alyans-gutter); }
.alyans-hero__copy .alyans-display { max-width: 100%; font-size: clamp(2rem, 4.45vw, 4.5rem); }
.alyans-hero__media { position: relative; min-height: 550px !important; overflow: hidden !important; background: #e7e4df url('hero-seeder.webp') center / cover no-repeat; }
.alyans-hero__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,16,20,.42), transparent 32%); pointer-events: none; }
.alyans-hero__media::after { content: none; }
.alyans-hero__copy .alyans-lead { margin-bottom: 28px; }
.alyans-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.alyans-section-heading .alyans-lead { max-width: 34ch; margin: 0; }
.alyans-directions { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.alyans-direction { position: relative; display: flex; flex-direction: column; min-height: 410px; padding: clamp(28px, 3.5vw, 48px); overflow: hidden; border: 1px solid #e5e3e0; border-top: 4px solid var(--alyans-ink); border-radius: 18px !important; background: #f8f8f7; color: var(--alyans-ink) !important; box-shadow: 0 16px 36px rgba(25,28,31,.08); transition: transform .2s, box-shadow .2s; }
.alyans-direction:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(25,28,31,.14); }
.alyans-direction--red { border-top-color: var(--alyans-red); background: #fffaf9; }
.alyans-direction::after { content: none; }
.alyans-direction__index { display: block; margin: 0 0 auto !important; color: var(--alyans-red) !important; font-size: .77rem; font-weight: 800; letter-spacing: .1em; }
.alyans-direction__index .elementor-heading-title { color: var(--alyans-red) !important; }
.alyans-direction__title { margin-top: auto; }
.alyans-direction h3 { max-width: none; margin: 0; color: var(--alyans-ink) !important; font-size: clamp(1.65rem, 2.8vw, 2.65rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.07; text-transform: uppercase; overflow-wrap: normal; word-break: normal; hyphens: none; }
.alyans-direction h3.elementor-heading-title { color: var(--alyans-ink) !important; }
.alyans-direction__description { min-height: 3.4rem; margin-top: 16px; }
.alyans-direction p { max-width: 42ch; margin: 0; color: #4c5257 !important; line-height: 1.5; opacity: 1; }
.alyans-direction .elementor-widget-text-editor p { color: #4c5257 !important; }
.alyans-direction .alyans-direction__button.e-con { width: min(100%, 310px); margin-top: 24px; }
.alyans-direction .alyans-direction__button .elementor-button { width: 100%; justify-content: center; border: 1px solid var(--alyans-red); background: var(--alyans-red) !important; color: #fff !important; font-size: clamp(.68rem, 1vw, .82rem); text-decoration: none !important; white-space: nowrap !important; }
.alyans-direction .alyans-direction__button .elementor-button-text { white-space: nowrap !important; }
.alyans-direction .alyans-direction__button .elementor-button:hover { background: var(--alyans-red-dark) !important; }
.alyans-proof { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--alyans-line); border-bottom: 1px solid var(--alyans-line); }
.alyans-proof__item { padding: 32px; border-right: 1px solid var(--alyans-line); }
.alyans-proof__item:last-child { border-right: 0; }
.alyans-proof__index { display: block; margin-bottom: 40px; color: var(--alyans-red); font-size: .72rem; font-weight: 800; }
.alyans-proof__item h3 { margin: 0 0 12px; font-size: 1.25rem; line-height: 1.2; }
.alyans-proof__item .elementor-heading-title, .alyans-footer .elementor-heading-title { color: var(--alyans-ink) !important; }
.alyans-proof__item p { margin: 0; color: var(--alyans-muted); font-size: .94rem; line-height: 1.5; }
.alyans-split { display: grid !important; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.alyans-tech-panel { position: relative; display: block; aspect-ratio: 1.35; overflow: hidden; border-radius: 18px !important; background-color: #eceeee; background-position: center; background-size: cover; box-shadow: 0 18px 40px rgba(25,28,31,.1); }
.alyans-tech-panel .elementor-widget-shortcode { position: absolute; inset: 0; width: 100%; height: 100%; }
.alyans-tech-panel .elementor-widget-container, .alyans-tech-panel .elementor-shortcode { width: 100%; height: 100%; }
.alyans-tech-panel .alyans-tech-panel__image { display: block; width: 100% !important; height: 100% !important; object-fit: cover; }
.alyans-tech-panel::before { content: none; }
.alyans-tech-panel::after { content: "ИЛЛЮСТРАЦИЯ"; position: absolute; right: 14px; bottom: 14px; padding: 7px 9px; border-radius: 6px; background: rgba(255,255,255,.92); color: var(--alyans-ink); font-size: .62rem; font-weight: 800; letter-spacing: .08em; }
.alyans-steps { border-top: 1px solid rgba(255,255,255,.35); }
.alyans-step { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.35); }
.alyans-step span { color: #f9a8a8; font-size: .72rem; font-weight: 800; }
.alyans-step p { margin: 0; line-height: 1.45; }
.alyans-page-intro { padding-block: clamp(78px, 10vw, 140px) clamp(55px, 7vw, 105px); background: var(--alyans-soft); }
.alyans-page-intro .alyans-display { max-width: 100%; font-size: clamp(2rem, 4.7vw, 4.8rem); }
.alyans-page-intro .alyans-lead { max-width: 60ch; }
.alyans-contact-grid { display: grid !important; grid-template-columns: .86fr 1.14fr; gap: clamp(36px, 7vw, 120px); align-items: start; }
.alyans-contact-list { display: grid; gap: 16px; margin-top: 38px; }
.alyans-contact-list a { color: #fff; font-size: clamp(1.25rem, 2vw, 1.8rem); font-weight: 700; text-decoration: none; }
.alyans-contact-list a:hover { text-decoration: underline; }
.alyans-form { padding: clamp(24px, 3vw, 40px); background: #fff; color: var(--alyans-ink); }
.alyans-form label { color: var(--alyans-ink); font-size: .86rem; font-weight: 700; }
.alyans-form input:not([type="checkbox"]), .alyans-form textarea, .alyans-form select { width: 100%; min-height: 48px; border: 1px solid var(--alyans-line); border-radius: 0; padding: 12px 14px; background: #fff; color: var(--alyans-ink); font: inherit; }
.alyans-form textarea { min-height: 100px; }
.alyans-form button[type="submit"] { width: 100%; min-height: 50px; border: 0; border-radius: 0; background: var(--alyans-red); color: #fff; font: inherit; font-size: .84rem; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.alyans-form button[type="submit"]:hover { background: var(--alyans-red-dark); }
.alyans-form-notice { margin: 0; padding: 20px; border: 1px solid var(--alyans-line); background: #fff; color: var(--alyans-ink); }
.alyans-footer { padding: 52px 0 26px; border-top: 1px solid var(--alyans-line); background: #fff; }
.alyans-footer__grid { display: grid !important; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
.alyans-footer__nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.alyans-footer__nav a { text-decoration: none; }
.alyans-footer__nav a:hover { color: var(--alyans-red); }
.alyans-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 58px; padding-top: 20px; border-top: 1px solid var(--alyans-line); color: var(--alyans-muted); font-size: .75rem; }
.alyans-footer__legal a { color: inherit; text-decoration: none; }
.alyans-footer__legal a:hover { color: var(--alyans-red); text-decoration: underline; }

/* Catalog shortcode */
.alyans-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.alyans-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--alyans-line); background: #fff; }
.alyans-card__image { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; overflow: hidden; background: var(--alyans-soft); }
.alyans-card__image img { width: 100%; height: 100%; object-fit: cover; }
.alyans-card__image-fallback { color: #8b8f92; font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; }
.alyans-card__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 20px; }
.alyans-card__eyebrow { margin: 0; color: var(--alyans-red); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.alyans-card__title { margin: 0; color: var(--alyans-ink); font-size: 1.2rem; line-height: 1.23; }
.alyans-card__meta, .alyans-card__specs { margin: 0; color: var(--alyans-muted); font-size: .85rem; line-height: 1.45; }
.alyans-card__price { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--alyans-line); font-size: .8rem; font-weight: 700; }
.alyans-dialog__notice { padding: 12px 14px; border-left: 3px solid var(--alyans-red); background: var(--alyans-soft); font-size: .85rem; }
.alyans-card__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.alyans-card__actions button { display: inline-flex; min-width: 0; min-height: 42px; align-items: center; justify-content: center; gap: 6px; padding: 8px 10px; font-size: .7rem; font-weight: 800; line-height: 1.2; text-align: center; text-transform: uppercase; }
.alyans-card__actions button.alyans-link-button { border: 1px solid var(--alyans-line) !important; background: #fff !important; color: var(--alyans-ink) !important; }
.alyans-card__actions button.alyans-link-button:hover { border-color: var(--alyans-red) !important; color: var(--alyans-red) !important; }
.alyans-card__actions button.alyans-button { border: 1px solid var(--alyans-red) !important; background: var(--alyans-red) !important; color: #fff !important; }
.alyans-card__actions button.alyans-button:hover { border-color: var(--alyans-red-dark) !important; background: var(--alyans-red-dark) !important; }
.alyans-empty { padding: clamp(32px, 5vw, 70px); border: 1px solid var(--alyans-line); background: var(--alyans-soft); }
.alyans-empty p { max-width: 35ch; margin: 0 0 24px; font-size: clamp(1.2rem, 2.3vw, 1.9rem); line-height: 1.2; font-weight: 700; }

/* Accessible modal */
.alyans-dialog[hidden], .alyans-dialog__form[hidden] { display: none !important; }
.alyans-dialog { position: fixed; z-index: 99999; inset: 0; display: grid; place-items: center; padding: 20px; }
.alyans-dialog__backdrop { position: absolute; inset: 0; background: rgba(13, 16, 19, .78); }
.alyans-dialog__panel { position: relative; width: min(100%, 950px); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; box-shadow: 0 24px 75px rgba(0,0,0,.25); }
.alyans-dialog__close { position: absolute; z-index: 2; top: 0; right: 0; width: 48px; height: 48px; border: 0 !important; border-radius: 0 0 0 10px; background: var(--alyans-red) !important; color: #fff !important; font-size: 2rem; line-height: 1; cursor: pointer; }
.alyans-dialog__content { display: grid; grid-template-columns: 42% 58%; }
.alyans-dialog__image { display: grid; place-items: center; min-height: 280px; background: var(--alyans-soft); }
.alyans-dialog__image img { width: 100%; max-height: 400px; object-fit: contain; }
.alyans-dialog__copy { padding: clamp(28px, 4vw, 55px); }
.alyans-dialog__copy h2 { margin: 0 0 24px; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.05; }
.alyans-dialog__copy p { line-height: 1.5; }
.alyans-dialog__form { padding: 32px; border-top: 1px solid var(--alyans-line); }
.alyans-dialog__form h3 { margin: 0 0 18px; font-size: 1.35rem; }
.alyans-dialog__form .alyans-form { padding: 0; }

@media (max-width: 1199px) { .alyans-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
  .alyans-header { min-height: 70px; }
  .alyans-header__cta { display: none !important; }
  .alyans-header__nav { margin-left: auto; }
  .alyans-nav { margin-left: auto; }
  .alyans-nav button.alyans-nav__toggle { display: flex !important; width: 46px; height: 46px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--alyans-red) !important; border-radius: 10px; background: var(--alyans-red) !important; cursor: pointer; }
  .alyans-nav__toggle span { display: block !important; flex: none; width: 22px; height: 2px; border-radius: 1px; background: #fff !important; }
  .alyans-nav__links { display: none; position: absolute; top: 51px; right: 0; width: min(calc(100vw - 2 * var(--alyans-gutter)), 360px); padding: 22px; border: 1px solid var(--alyans-line); background: #fff; box-shadow: 0 18px 32px rgba(0,0,0,.12); }
  .alyans-nav--open .alyans-nav__links { display: block; }
  .alyans-nav__list { align-items: stretch; flex-direction: column; gap: 20px; }
  .alyans-hero, .alyans-directions, .alyans-split, .alyans-contact-grid { grid-template-columns: minmax(0, 1fr); }
  .alyans-hero { min-height: 0; }
  .alyans-hero__copy, .alyans-hero__media { min-width: 0; }
  .alyans-hero__media { min-height: 340px !important; background-position: 57% center; }
  .alyans-hero__copy { padding-block: 65px; }
  .alyans-section-heading { align-items: flex-start; flex-direction: column; }
  .alyans-proof { grid-template-columns: 1fr; }
  .alyans-proof__item { border-right: 0; border-bottom: 1px solid var(--alyans-line); }
  .alyans-proof__item:last-child { border-bottom: 0; }
  .alyans-proof__index { margin-bottom: 16px; }
  .alyans-footer__grid { grid-template-columns: 1fr 1fr; }
  .alyans-dialog__content { grid-template-columns: 1fr; }
  .alyans-dialog__image { min-height: 200px; }
}
@media (max-width: 479px) {
  .alyans-display, .alyans-hero__copy .alyans-display, .alyans-page-intro .alyans-display { font-size: clamp(1.5rem, 7.45vw, 2rem); line-height: 1.08; letter-spacing: -.04em; }
  .alyans-heading { font-size: clamp(1.75rem, 7.7vw, 2.2rem); }
  .alyans-button, .alyans-button .elementor-button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .alyans-card-grid, .alyans-footer__grid { grid-template-columns: 1fr; }
  .alyans-direction { min-height: 0; padding: 28px; }
  .alyans-direction h3 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .alyans-direction__title { margin-top: 45px; }
  .alyans-direction__description { min-height: 0; }
  .alyans-hero__media { min-height: 260px !important; }
  .alyans-card__image { aspect-ratio: 1.35; }
  .alyans-card__image img { transform: scale(1.1); }
  .alyans-footer__bottom { flex-direction: column; }
  .alyans-dialog { padding: 8px; }
  .alyans-dialog__panel { max-height: calc(100vh - 16px); }
  .alyans-dialog__image { min-height: 0; aspect-ratio: 4 / 3; overflow: hidden; }
  .alyans-dialog__image img { width: 100% !important; height: 100% !important; max-height: none; object-fit: cover; transform: scale(1.08); }
  .alyans-dialog__copy, .alyans-dialog__form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
