:root {
  --cf4-bg: #090b0e;
  --cf4-panel: #10141a;
  --cf4-panel-2: #151a21;
  --cf4-line: rgba(255, 255, 255, .11);
  --cf4-text: #f4f7fb;
  --cf4-muted: #9ba6b5;
  --cf4-orange: #ff681e;
  --cf4-orange-2: #ff8d3d;
  --cf4-blue: #347fff;
  --cf4-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

html { max-width: 100%; overflow-x: clip; }
body { max-width: 100%; margin: 0; }

.cf4-skip {
  position: fixed;
  z-index: 10050;
  top: 10px;
  left: 10px;
  padding: 10px 15px;
  border-radius: 9px;
  color: #fff !important;
  background: var(--cf4-orange);
  font: 700 14px/1 Arial, sans-serif;
  transform: translateY(-150%);
}

.cf4-skip:focus { transform: none; }

.cf4-header,
.cf4-header *,
.cf4-footer,
.cf4-footer * { box-sizing: border-box; }

.cf4-header {
  position: sticky;
  z-index: 9998;
  top: 0;
  width: 100vw;
  max-width: 100%;
  color: var(--cf4-text);
  background: rgba(9, 11, 14, .92);
  border-bottom: 1px solid var(--cf4-line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  font: 600 14px/1.2 Arial, Helvetica, sans-serif;
  transition: box-shadow .25s ease, background .25s ease;
}

.cf4-header.cf4-scrolled {
  background: rgba(9, 11, 14, .975);
  box-shadow: 0 13px 40px rgba(0, 0, 0, .24);
}

.cf4-header a { color: inherit; text-decoration: none !important; }

.cf4-header__bar {
  display: flex;
  align-items: center;
  min-height: 76px;
  width: min(100% - 36px, 1480px);
  margin: 0 auto;
  gap: 22px;
}

.cf4-logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  width: 252px;
  min-width: 190px;
}

.cf4-logo img { display: block; width: 100%; height: 55px; object-fit: contain; object-position: left center; }

.cf4-nav { display: flex; align-items: stretch; align-self: stretch; margin-left: auto; }
.cf4-nav__item { position: static; display: flex; align-items: center; }

.cf4-nav__link,
.cf4-nav__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  border: 0;
  color: #dfe5ed !important;
  background: transparent;
  font: 700 13px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .01em;
  cursor: pointer;
  white-space: nowrap;
}

.cf4-nav__link::after,
.cf4-nav__toggle::after {
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 2px;
  content: '';
  background: linear-gradient(90deg, var(--cf4-orange), var(--cf4-orange-2));
  transform: scaleX(0);
  transition: transform .22s ease;
}

.cf4-nav__link:hover::after,
.cf4-nav__toggle:hover::after,
.cf4-nav__toggle[aria-expanded="true"]::after { transform: scaleX(1); }

.cf4-chevron { width: 13px; height: 13px; margin-left: 6px; transition: transform .2s ease; }
.cf4-nav__toggle[aria-expanded="true"] .cf4-chevron { transform: rotate(180deg); }

.cf4-mega {
  position: absolute;
  z-index: 1;
  top: calc(100% + 1px);
  left: 50%;
  display: grid;
  visibility: hidden;
  width: min(1120px, calc(100vw - 40px));
  padding: 25px;
  border: 1px solid var(--cf4-line);
  border-radius: 0 0 20px 20px;
  color: var(--cf4-text);
  background:
    radial-gradient(circle at 85% 15%, rgba(52, 127, 255, .16), transparent 30%),
    radial-gradient(circle at 5% 100%, rgba(255, 104, 30, .12), transparent 32%),
    #0e1217;
  box-shadow: var(--cf4-shadow);
  opacity: 0;
  transform: translate(-50%, -8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  pointer-events: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.cf4-nav__item:hover .cf4-mega,
.cf4-nav__item:focus-within .cf4-mega,
.cf4-mega.cf4-open {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.cf4-mega__title {
  display: block;
  margin: 0 0 11px;
  color: #fff;
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.cf4-mega a {
  display: flex;
  align-items: center;
  min-height: 32px;
  color: var(--cf4-muted) !important;
  font-weight: 500;
  line-height: 1.35;
  transition: color .16s ease, transform .16s ease;
}

.cf4-mega a:hover { color: #fff !important; transform: translateX(3px); }

.cf4-mega__feature {
  align-self: stretch;
  padding: 18px;
  border: 1px solid rgba(255, 104, 30, .25);
  border-radius: 14px;
  background: rgba(255, 104, 30, .07);
}

.cf4-mega__feature strong { display: block; margin-bottom: 8px; font-size: 20px; line-height: 1.1; }
.cf4-mega__feature p { margin: 0 0 16px; color: var(--cf4-muted); font-size: 13px; font-weight: 400; line-height: 1.45; }
.cf4-mega__feature a { color: var(--cf4-orange-2) !important; font-weight: 800; }

.cf4-header__actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.cf4-phone { display: flex; flex-direction: column; align-items: flex-end; color: #fff !important; }
.cf4-phone strong { font-size: 14px; }
.cf4-phone small { margin-top: 4px; color: #7f8a99; font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }

.cf4-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 17px;
  border-radius: 10px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--cf4-orange), #ff4d00);
  box-shadow: 0 10px 24px rgba(255, 91, 17, .22);
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease;
}

.cf4-book:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255, 91, 17, .32); }

.cf4-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--cf4-line);
  border-radius: 11px;
  background: #131820;
  cursor: pointer;
}

.cf4-menu-button span { display: block; width: 20px; height: 2px; margin: 5px auto; background: #fff; transition: transform .2s, opacity .2s; }
.cf4-menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.cf4-menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.cf4-drawer {
  position: fixed;
  z-index: 9997;
  inset: 0;
  display: none;
  overflow: auto;
  padding: 96px 20px 28px;
  color: var(--cf4-text);
  background:
    radial-gradient(circle at 80% 15%, rgba(52, 127, 255, .18), transparent 27%),
    radial-gradient(circle at 10% 85%, rgba(255, 104, 30, .15), transparent 30%),
    #090b0e;
  font: 600 15px/1.35 Arial, Helvetica, sans-serif;
  opacity: 0;
  transition: opacity .22s ease;
}

.cf4-drawer.cf4-open { opacity: 1; }
.cf4-drawer__primary { display: grid; gap: 4px; max-width: 600px; margin: 0 auto 24px; }
.cf4-drawer__primary > a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--cf4-line); color: #fff !important; font-size: clamp(22px, 7vw, 34px); font-weight: 800; text-decoration: none !important; }
.cf4-drawer__primary > a small { color: var(--cf4-orange); font-size: 10px; letter-spacing: .14em; }
.cf4-drawer__grids { display: grid; max-width: 600px; margin: 0 auto; grid-template-columns: 1fr 1fr; gap: 25px; }
.cf4-drawer__grids strong { display: block; margin-bottom: 10px; color: #7f8b9a; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.cf4-drawer__grids a { display: block; padding: 6px 0; color: #d9e0e9 !important; text-decoration: none !important; }
.cf4-drawer__contact { max-width: 600px; margin: 28px auto 0; padding-top: 20px; border-top: 1px solid var(--cf4-line); }
.cf4-drawer__contact a { color: var(--cf4-orange-2) !important; font-size: 22px; font-weight: 800; text-decoration: none !important; }
.cf4-drawer__contact span { display: block; margin-top: 8px; color: var(--cf4-muted); }

body.cf4-lock { overflow: hidden !important; }

.cf4-footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 80px;
  color: var(--cf4-text);
  background:
    radial-gradient(circle at 92% 18%, rgba(52, 127, 255, .16), transparent 25%),
    radial-gradient(circle at 8% 98%, rgba(255, 104, 30, .11), transparent 28%),
    var(--cf4-bg);
  border-top: 1px solid var(--cf4-line);
  font: 500 14px/1.45 Arial, Helvetica, sans-serif;
}

.cf4-footer a { color: inherit; text-decoration: none !important; }
.cf4-footer__inner { width: min(100% - 40px, 1380px); margin: 0 auto; }

.cf4-footer__cta {
  display: grid;
  align-items: center;
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--cf4-line);
  grid-template-columns: 1fr auto;
  gap: 30px;
}

.cf4-footer__cta small { display: block; margin-bottom: 10px; color: var(--cf4-orange-2); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.cf4-footer__cta h2 { max-width: 800px; margin: 0; color: #fff; font: 800 clamp(30px, 4vw, 58px)/.98 Arial, Helvetica, sans-serif; letter-spacing: -.04em; }
.cf4-footer__cta p { max-width: 720px; margin: 15px 0 0; color: var(--cf4-muted); font-size: 16px; }
.cf4-footer__cta .cf4-book { min-height: 54px; padding: 0 24px; font-size: 15px; }

.cf4-footer__grid {
  display: grid;
  padding: 48px 0 44px;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 45px;
}

.cf4-footer__brand img { display: block; width: min(100%, 290px); height: auto; }
.cf4-footer__brand p { max-width: 340px; margin: 18px 0; color: var(--cf4-muted); }
.cf4-footer__phones a { display: block; width: fit-content; margin: 5px 0; color: #fff !important; font-size: 18px; font-weight: 800; }
.cf4-footer__address { margin-top: 15px; color: #c7ced8; }
.cf4-footer__col strong { display: block; margin-bottom: 14px; color: #fff; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.cf4-footer__col a { display: block; width: fit-content; padding: 5px 0; color: var(--cf4-muted) !important; transition: color .16s, transform .16s; }
.cf4-footer__col a:hover { color: #fff !important; transform: translateX(3px); }

.cf4-footer__bottom { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; border-top: 1px solid var(--cf4-line); color: #7d8795; font-size: 12px; gap: 20px; }
.cf4-footer__bottom div { display: flex; flex-wrap: wrap; gap: 18px; }

.cf4-cookie {
  position: fixed;
  z-index: 10001;
  right: 18px;
  bottom: 18px;
  display: none;
  align-items: center;
  max-width: 460px;
  padding: 13px 14px 13px 17px;
  border: 1px solid var(--cf4-line);
  border-radius: 13px;
  color: #dfe5ec;
  background: rgba(14, 18, 23, .97);
  box-shadow: var(--cf4-shadow);
  font: 500 12px/1.4 Arial, Helvetica, sans-serif;
  gap: 14px;
}
.cf4-cookie.cf4-show { display: flex; }
.cf4-cookie button { flex: 0 0 auto; padding: 8px 11px; border: 0; border-radius: 8px; color: #fff; background: var(--cf4-orange); font-weight: 800; cursor: pointer; }

@media (max-width: 1200px) {
  .cf4-header__bar { width: min(100% - 24px, 1480px); gap: 10px; }
  .cf4-logo { width: 205px; }
  .cf4-nav__link, .cf4-nav__toggle { padding: 0 9px; font-size: 12px; }
  .cf4-phone { display: none; }
}

@media (max-width: 900px) {
  .cf4-header { position: sticky; }
  .cf4-header__bar { min-height: 68px; }
  .cf4-logo { width: 194px; }
  .cf4-logo img { height: 48px; }
  .cf4-nav { display: none; }
  .cf4-header__actions { margin-left: auto; }
  .cf4-header__actions .cf4-book { display: none; }
  .cf4-menu-button { display: block; }
  .cf4-drawer { display: block; visibility: hidden; }
  .cf4-drawer.cf4-open { visibility: visible; }
  .cf4-footer__cta { grid-template-columns: 1fr; }
  .cf4-footer__cta .cf4-book { width: fit-content; }
  .cf4-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .cf4-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .cf4-header__bar { width: calc(100vw - 20px); max-width: calc(100vw - 20px); min-height: 62px; }
  .cf4-logo { width: 166px; min-width: 0; }
  .cf4-logo img { height: 43px; }
  .cf4-header__actions { min-width: 41px; }
  .cf4-menu-button { width: 41px; height: 41px; flex: 0 0 41px; }
  .cf4-drawer { padding-top: 82px; }
  .cf4-drawer__grids { grid-template-columns: 1fr; gap: 20px; }
  .cf4-footer { margin-top: 54px; }
  .cf4-footer__inner { width: min(100% - 28px, 1380px); }
  .cf4-footer__cta { padding: 45px 0 38px; }
  .cf4-footer__cta p { font-size: 14px; }
  .cf4-footer__grid { padding: 38px 0; grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .cf4-footer__brand { grid-column: 1 / -1; }
  .cf4-footer__bottom { align-items: flex-start; flex-direction: column; }
  .cf4-cookie { right: 10px; bottom: 10px; left: 10px; max-width: none; align-items: stretch; flex-direction: column; }
  .cf4-cookie button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .cf4-header *, .cf4-footer * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
