@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #08111a;
  --bg-soft: #101b26;
  --card: #111c27;
  --card-2: #162230;
  --card-3: #0f1722;
  --text: #eff7ff;
  --muted: #a7bed3;
  --line: #22384c;
  --accent: #ffa51e;
  --accent-2: #fc8200;
  --success: #39d98a;
  --danger: #5aef05;
  --white: #ffffff;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  --container: 1240px;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }

.topbar { background: #071018; border-bottom: 1px solid var(--line); font-size: 14px; }
.topbar__inner { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar__text { color: var(--muted); font-weight: 700; }
.topbar__links { display: flex; gap: 16px; flex-wrap: wrap; }
.topbar__links a { color: var(--white); font-weight: 700; }

.header { position: sticky; top: 0; z-index: 1000; background: rgba(8, 17, 26, 0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo__image { height: 54px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav__menu a { color: var(--muted); font-size: 14px; font-weight: 800; }
.nav__menu a:hover { color: var(--white); }
.header__actions { display: flex; align-items: center; gap: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 14px; border: 1px solid transparent; font-weight: 800; transition: 0.2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #062133; }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn--wide { width: 100%; }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); transition: 0.2s ease; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 30px; }
.burger.active span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.mobile-nav { display: none; padding: 0 16px 16px; flex-direction: column; gap: 8px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 700; }

.hero { padding: 56px 0 48px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center; }
.eyebrow { display: inline-block; padding: 8px 12px; border-radius: 999px; background: rgba(30, 200, 255, 0.12); color: var(--accent-2); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.hero h1 { margin: 16px 0 14px; font-size: clamp(34px, 6vw, 58px); line-height: 1.03; letter-spacing: -0.04em; }
.hero__text { margin: 0 0 22px; color: var(--muted); font-size: 18px; max-width: 720px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.stat strong { display: block; font-size: 20px; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: 14px; }
.glass { background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.glass--hero { overflow: hidden; }
.site-image--hero { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero__visual { position: relative; }
.hero__floating { position: absolute; right: 16px; bottom: 16px; max-width: 360px; display: grid; gap: 8px; background: rgba(8, 17, 26, 0.92); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.hero__floating strong { font-size: 18px; }
.hero__floating span { color: var(--muted); font-size: 14px; }

.section { padding: 72px 0; }
.section--dark { background: var(--bg-soft); }
.section--soft { background: #0d1722; }
.section-head { margin-bottom: 28px; max-width: 920px; }
.section-head h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; }
.section-head p { margin: 0; color: var(--muted); }
.section-head--light h2, .section-head--light p { color: var(--text); }

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.service-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-card__body { padding: 18px; }
.service-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.service-card__num { font-size: 14px; font-weight: 900; color: var(--accent-2); }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(30, 200, 255, 0.12); color: var(--accent-2); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.service-card h3 { margin: 0 0 10px; font-size: 24px; }
.service-card p, .service-card li { color: var(--muted); }
.service-card ul { margin: 0; padding-left: 18px; }
.service-card__bottom { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-card__bottom strong { font-size: 18px; }
.service-card__bottom a { color: var(--accent-2); font-weight: 800; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 20px; }
.price-card h3 { margin-top: 0; margin-bottom: 14px; }
.price-list { display: grid; }
.price-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row span { color: var(--muted); }

.advantages-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.advantage-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 20px; }
.advantage-card__icon { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(30, 200, 255, 0.12); color: var(--accent-2); font-weight: 900; margin-bottom: 14px; }
.advantage-card h3 { margin: 0 0 10px; }
.advantage-card p { margin: 0; color: var(--muted); }

.faq { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.faq-item__button { width: 100%; background: transparent; border: 0; color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; text-align: left; font-weight: 800; cursor: pointer; }
.faq-item__icon { font-size: 22px; line-height: 1; color: var(--accent-2); transition: 0.2s ease; }
.faq-item__answer { display: none; padding: 0 20px 18px; color: var(--muted); }
.faq-item.open .faq-item__answer { display: block; }
.faq-item.open .faq-item__icon { transform: rotate(45deg); }

.contacts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 20px; }
.contact-card h3 { margin-top: 0; }
.contact-card__lead, .form__note { color: var(--muted); }
.contact-list { display: grid; gap: 12px; margin-bottom: 18px; }
.contact-list__item { display: grid; gap: 4px; }
.contact-list__item strong { font-size: 14px; }
.contact-list__item span, .contact-list__item a { color: var(--muted); }
.map-box { overflow: hidden; border-radius: 16px; border: 1px solid var(--line); }
.map-box iframe { width: 100%; height: 320px; border: 0; display: block; }
.contact-card__visual { margin-top: 18px; }
.site-image--medium { width: 100%; border-radius: 16px; border: 1px solid var(--line); }

.footer { padding: 28px 0 88px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 24px; }
.logo__image--footer { height: 48px; }
.footer__muted { color: var(--muted); }
.footer__links { display: grid; gap: 8px; }
.footer__links a, .footer__links span { color: var(--muted); }
.footer__bottom { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); }

.floating-actions { position: fixed; right: 16px; bottom: 16px; z-index: 1001; display: flex; flex-direction: column; gap: 10px; }
.float-btn { width: 54px; height: 54px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: var(--shadow); cursor: pointer; transition: transform 0.2s, background 0.2s; border: none; }
.float-btn:hover { transform: scale(1.05); }
.float-phone { background: var(--danger); color: #fff; }
.float-mail { background: var(--accent); color: #062133; }
.float-top { background: var(--card-2); color: var(--accent-2); font-size: 28px; font-weight: bold; border: 1px solid var(--accent-2); opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s; }
.float-top:hover { background: var(--accent-2); color: #062133; }

/* Cookie notice */
.cookie-notice { position: fixed; right: 16px; bottom: 140px; z-index: 1002; width: min(420px, calc(100% - 32px)); background: rgba(10, 18, 28, 0.96); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 16px; }
.cookie-notice.hidden { display: none; }
.cookie-notice__body { display: grid; gap: 14px; }
.cookie-notice p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.cookie-notice a { color: var(--accent-2); text-decoration: underline; }
.cookie-notice__checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); cursor: pointer; }
.cookie-notice__checkbox input { margin-top: 2px; width: 18px; height: 18px; flex-shrink: 0; cursor: pointer; }
.cookie-notice__buttons { display: flex; gap: 10px; margin-top: 6px; }
.cookie-notice__btn { flex: 1; min-height: 42px; }

/* Modal overlay for revoke consent */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; z-index: 2000; visibility: hidden; opacity: 0; transition: visibility 0.2s, opacity 0.2s; }
.modal-overlay.open { visibility: visible; opacity: 1; }
.modal { background: var(--card); border: 1px solid var(--line); border-radius: 24px; max-width: 500px; width: calc(100% - 32px); padding: 28px 24px; text-align: center; box-shadow: var(--shadow); position: relative; }
.modal__close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 32px; color: var(--muted); cursor: pointer; line-height: 1; }
.modal__close:hover { color: var(--white); }
.modal__icon { font-size: 48px; margin-bottom: 12px; }
.modal__title { margin: 0 0 12px; font-size: 26px; }
.modal__text { color: var(--muted); margin-bottom: 28px; }
.modal__buttons { display: flex; gap: 12px; justify-content: center; }

/* Policy page */
.policy-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.policy-card__body { padding: 28px; }
.policy-card__body h2 { margin: 28px 0 12px; font-size: 26px; line-height: 1.15; }
.policy-card__body h2:first-child { margin-top: 0; }
.policy-card__body p, .policy-card__body li { color: var(--muted); }
.policy-card__body ul { margin: 0 0 10px; padding-left: 20px; }
.policy-card__body a { color: var(--accent-2); text-decoration: underline; }
.policy-card__date { margin-top: 28px; font-weight: 700; }
.policy-card__actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Mobile improvements */
@media (max-width: 1180px) {
  .hero__grid, .services-grid, .pricing-grid, .contacts-grid, .advantages-grid, .footer__grid { grid-template-columns: 1fr; }
  .hero__floating { position: static; margin-top: 14px; max-width: none; }
}
@media (max-width: 920px) {
  .nav { display: none; }
  .burger { display: inline-block; }
  .header__actions .btn { display: none; }
  .topbar__inner { flex-direction: column; align-items: flex-start; justify-content: center; padding: 10px 0; }
}
@media (max-width: 760px) {
  .hero { padding: 34px 0 34px; }
  .hero h1 { font-size: 34px; }
  .hero__text { font-size: 16px; }
  .hero__stats, .form__grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 28px; }
  .price-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .logo__image { height: 46px; }
  .floating-actions { right: 12px; bottom: 12px; }
  .cookie-notice { right: 12px; left: 12px; width: auto; bottom: 138px; }
  .policy-card__body { padding: 20px; }
  .policy-card__body h2 { font-size: 22px; }
  .modal { padding: 20px 16px; }
  .modal__title { font-size: 22px; }
  .float-top { opacity: 1; visibility: visible; } /* always visible on mobile for convenience */
}