:root {
    --yellow: #ffcc00;
    --dark: #111111;
    --text: #1f2937;
    --muted: #667085;
    --card: #ffffff;
    --line: rgba(17, 24, 39, 0.1);
    --green: #39c85a;
    --red: #ef3b3b;
    --header-height: 80px;
    --radius: 24px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: "Inter", sans-serif; background: #f3f3f3; color: var(--text); scroll-behavior: smooth; }
body { padding-top: var(--header-height); }
button, input, textarea { font-family: "Inter", sans-serif; }
svg { display: block; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; width: 100%; margin: 0 auto; }
.site-header { position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(17,24,39,.08); z-index: 1000; }
.header-container { max-width: 1280px; height: 100%; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding: 0 24px; column-gap: 28px; }
.logo { font-size: 1.5rem; font-weight: 900; line-height: 1; white-space: nowrap; text-decoration: none; color: #111827; }
.logo span { color: #c08a00; }
.logo small { display: block; margin-top: 6px; font-size: .78rem; font-weight: 500; color: #667085; }
.nav-desktop { display: flex; justify-content: center; align-items: center; gap: 34px; }
.nav-desktop > a, .nav-dropdown-toggle { color: #111827; text-decoration: none; font-weight: 800; font-size: .88rem; letter-spacing: .04em; text-transform: uppercase; background: none; border: none; cursor: pointer; padding: 0; display: flex; align-items: center; gap: 6px; }
.nav-desktop a:hover, .nav-dropdown-toggle:hover { color: #b98700; }
.nav-dropdown { position: relative; }
.nav-dropdown svg { width: 16px; height: 16px; transition: transform .2s ease; }
.nav-dropdown.active svg { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%); min-width: 230px; padding: 10px; background: #fff; border: 1px solid rgba(17,24,39,.1); border-radius: 18px; box-shadow: 0 20px 50px rgba(17,24,39,.14); display: none; flex-direction: column; gap: 4px; }
.nav-dropdown.active .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a { padding: 11px 12px; border-radius: 12px; font-size: .92rem; text-decoration: none; color: #1f2937; }
.nav-dropdown-menu a:hover { background: rgba(255,204,0,.14); color: #111827; }
.header-right { display: flex; align-items: center; justify-content: flex-end; gap: 16px; white-space: nowrap; }
.phone-desktop { text-decoration: none; font-weight: 900; font-size: 1rem; color: #111827; }
.btn-header-max { display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; background: linear-gradient(180deg,#53d96d,#32b550); color: #fff; text-decoration: none; border-radius: 999px; font-weight: 800; box-shadow: 0 8px 18px rgba(37,211,102,.18); min-width: 78px; }
.mobile-logo, .phone-mobile, .burger-icon { display: none; }
.mobile-menu { position: fixed; inset: 0; background: rgba(0,0,0,.56); z-index: 1500; display: none; }
.mobile-menu.active { display: block; }
.mobile-menu-panel { position: absolute; top: 0; left: 0; height: 100%; width: min(86vw,360px); background: #fff; border-right: 1px solid rgba(17,24,39,.08); padding: 18px 16px 24px; box-shadow: 20px 0 40px rgba(0,0,0,.18); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mobile-menu-title { font-size: 1.2rem; font-weight: 900; }
.mobile-menu-close { background: none; border: none; color: #111827; font-size: 32px; line-height: 1; cursor: pointer; }
.mobile-nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav > a, .mobile-submenu-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 14px; border-radius: 14px; text-decoration: none; font-weight: 800; background: #f3f3f3; border: 1px solid rgba(17,24,39,.06); color: #111827; }
.mobile-submenu-menu { display: none; padding-top: 8px; gap: 6px; flex-direction: column; }
.mobile-submenu-menu.active { display: flex; }
.mobile-submenu-menu a { padding: 10px 12px 10px 18px; border-radius: 12px; text-decoration: none; background: #f8fafc; color: #344054; }
.mobile-menu-phone { display: block; margin-top: 18px; text-align: center; padding: 14px 16px; background: linear-gradient(180deg,#ff4d4d,#d91d1d); border-radius: 14px; text-decoration: none; font-weight: 900; color: #fff; }
.hero { min-height: calc(100vh - var(--header-height)); min-height: calc(100svh - var(--header-height)); display: flex; flex-direction: column; justify-content: space-between; padding: 22px 20px; overflow: hidden; background-image: url("../images/fon.webp"); background-size: cover; background-position: calc(100% + 300px) center; background-repeat: no-repeat; }
.hero-inner { display: flex; align-items: flex-start; justify-content: center; flex: 1; min-height: 0; flex-direction: column; }
.left { max-width: 640px; margin: 0; text-align: left; }
.hero-eyebrow { display: inline-block; margin: 0 0 14px; padding: 8px 12px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #111827; border: 1px solid rgba(17,24,39,.16); border-radius: 999px; background: rgba(255,255,255,.72); backdrop-filter: blur(6px); }
.hero-title-styled { margin: 0 0 16px; font-size: 2.2rem; line-height: 1.1; font-weight: 800; letter-spacing: -1px; text-align: left; color: #111827; text-shadow: none; max-width: 900px; }
.hero-title-styled span { color: #1f5f2e; }
.desc { max-width: 620px; margin: 0 0 22px; font-size: 1rem; line-height: 1.48; color: #111827; font-weight: 700; text-align: left; }
.buttons { display: flex; justify-content: flex-start; align-items: stretch; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 285px; padding: 15px 18px; border-radius: 16px; text-decoration: none; font-size: 1rem; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; cursor: pointer; border: none; }
.btn:hover { transform: translateY(-2px); }
.btn-main { position: relative; overflow: hidden; border: 1px solid rgba(57,200,90,.5); background: linear-gradient(180deg,#44e368 0%,#2aa843 100%); color: #fff; box-shadow: 0 12px 24px rgba(47,183,76,.28); text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.btn-secondary { border: 1px solid rgba(255,204,0,.24); background: rgba(17,17,17,.44); color: #fff; backdrop-filter: blur(8px); box-shadow: 0 8px 18px rgba(0,0,0,.14); }
.btn-content { display: flex; flex-direction: column; align-items: flex-start; text-align: left; line-height: 1.04; }
.btn-content small { margin-top: 5px; font-size: .85rem; font-weight: 600; opacity: .95; text-shadow: none; }
.icon-main { width: 20px; height: 20px; flex-shrink: 0; }
.features { max-width: 1240px; width: 100%; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { background: rgba(255,255,255,.92); border: 1px solid rgba(17,24,39,.1); border-radius: 18px; padding: 16px 14px 14px; text-align: center; min-height: 108px; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 14px 34px rgba(17,24,39,.12); }
.feature strong { color: #9b7000; text-transform: uppercase; font-size: .84rem; font-weight: 900; margin-bottom: 8px; }
.feature p { margin: 0; font-size: .92rem; line-height: 1.26; color: #344054; font-weight: 700; }
.section-title { margin: 0 0 16px; text-align: center; font-size: clamp(2rem,4vw,3rem); line-height: 1.06; font-weight: 900; letter-spacing: -1px; color: #111827; }
.section-title span, h1 span, h2 span { color: #b98700; }
.section-subtitle { max-width: 760px; margin: 0 auto 42px; text-align: center; font-size: 1.05rem; line-height: 1.6; color: var(--muted); }
.section-kicker { display: inline-flex; margin-bottom: 16px; padding: 9px 14px; border-radius: 999px; background: rgba(255,204,0,.22); color: #7a5600; font-size: .78rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.section-kicker.danger { background: rgba(239,59,59,.1); color: #a31313; }
.section-head { text-align: center; margin-bottom: 34px; }
.split-head { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 28px; align-items: end; text-align: left; }
.split-head h1 { margin: 0; font-size: clamp(2.2rem,4.2vw,4rem); line-height: .98; letter-spacing: -1.5px; }
.split-head p { margin: 0; color: var(--muted); line-height: 1.6; }
.breadcrumbs { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; padding: 28px 20px; font-size: .95rem; color: var(--muted); }
.breadcrumbs a { text-decoration: none; color: #111827; font-weight: 700; }
.breadcrumbs .current { color: var(--muted); }
.services-section, .process-section, .security-section, .cases-section, .risk-section, .masters-section, .reviews-section, .seo-section, .faq-section, .contacts-section { padding: 78px 20px; }
.services-section { padding-top: 46px; }
.services-container { max-width: 1240px; margin: 0 auto; }
.service-list-modern { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(17,24,39,.1); border-radius: 26px; padding: 24px; box-shadow: 0 18px 45px rgba(17,24,39,.08); min-height: 100%; }
.service-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.service-icon { width: 46px; height: 46px; color: #b98700; }
.service-time { padding: 7px 10px; border-radius: 999px; background: #f3f3f3; color: var(--muted); font-size: .76rem; font-weight: 900; }
.service-card h3 { margin: 0 0 12px; font-size: 1.15rem; line-height: 1.3; }
.service-card p { margin: 0 0 20px; color: var(--muted); line-height: 1.55; font-size: .9rem; flex: 1; }
.service-bottom { display: grid; gap: 12px; margin-top: auto; }
.service-price { font-size: 1.7rem; line-height: 1; font-weight: 900; color: #111827; }
.service-btn { width: 100%; height: 44px; border: none; border-radius: 14px; background: #111827; color: #fff; font-weight: 900; cursor: pointer; }
.timeline-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.timeline-card { position: relative; padding: 30px 22px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 45px rgba(17,24,39,.08); }
.timeline-card b { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; background: #111827; color: var(--yellow); margin-bottom: 22px; }
.timeline-card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.timeline-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.locks-panel { background: #fff; border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 20px 55px rgba(17,24,39,.08); }
.security-layout { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 22px; }
.security-main { padding: 42px; }
.security-main h2 { margin: 0 0 16px; font-size: clamp(2rem,4vw,3.4rem); line-height: 1; letter-spacing: -1.4px; }
.security-main p { margin: 0 0 28px; color: var(--muted); line-height: 1.65; font-size: 1.05rem; max-width: 720px; }
.brands-grid.compact { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.brands-grid.compact div { padding: 13px 10px; border-radius: 14px; background: #f3f3f3; text-align: center; font-weight: 900; font-size: .85rem; }
.security-side { display: grid; gap: 14px; }
.mini-card { padding: 28px; border-radius: 26px; background: #111827; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.mini-card strong { font-size: 2.5rem; line-height: 1; color: var(--yellow); }
.mini-card span { margin-top: 10px; color: rgba(255,255,255,.82); line-height: 1.45; }
.cases-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.case-card { background: #fff; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 45px rgba(17,24,39,.08); }
.case-images { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #e5e7eb; }
.case-img-item { position: relative; aspect-ratio: 1/1; background: #e5e7eb; }
.case-img-item img { width: 100%; height: 100%; object-fit: cover; }
.case-label { position: absolute; bottom: 12px; left: 12px; background: rgba(17,24,39,.86); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: .75rem; font-weight: 900; text-transform: uppercase; }
.case-label.after { background: var(--yellow); color: #111827; }
.case-info { padding: 24px; }
.case-info h3 { margin: 0 0 12px; font-size: 1.15rem; }
.case-info p { margin: 0; color: var(--muted); line-height: 1.6; }
.conversion-strip { margin: 28px auto 0; padding: 28px; border-radius: 28px; background: #111827; color: #fff; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: center; }
.conversion-strip h3 { margin: 0 0 10px; font-size: 1.5rem; }
.conversion-strip p { margin: 0; color: rgba(255,255,255,.78); line-height: 1.6; }
.conversion-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.risk-section { background: #fff; }
.risk-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.risk-grid article { padding: 28px; border-radius: 26px; border: 1px solid rgba(239,59,59,.12); background: linear-gradient(180deg,#fff,#fff8f8); }
.risk-grid h3 { margin: 0 0 12px; color: #9f1239; }
.risk-grid p { margin: 0; color: var(--muted); line-height: 1.6; }
.masters-grid, .reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.master-card, .review-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: 0 18px 45px rgba(17,24,39,.08); }
.master-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top; }
.master-info { padding: 24px; }
.master-info h3 { margin: 0 0 10px; color: #111827; }
.master-info p { margin: 0; color: var(--muted); line-height: 1.55; }
.review-card { padding: 24px; }
.review-head { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.review-author { font-weight: 900; }
.review-stars { color: #b98700; }
.review-text { margin: 0; color: var(--muted); line-height: 1.6; }
.seo-container { max-width: 1040px; margin: 0 auto; padding: 38px; }
.seo-content p { color: var(--muted); line-height: 1.75; font-size: 1.02rem; }
.faq-container { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.faq-question { width: 100%; padding: 20px 24px; background: none; border: none; color: #111827; font-size: 1rem; font-weight: 900; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question svg { width: 20px; height: 20px; transition: transform .3s ease; color: #b98700; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { margin: 0; padding: 0 24px 20px; color: var(--muted); line-height: 1.65; }
.faq-help { max-width: 860px; margin: 20px auto 0; text-align: center; padding: 28px; border-radius: 24px; background: #111827; color: #fff; }
.faq-help h3 { margin: 0 0 10px; }
.faq-help p { margin: 0 0 18px; color: rgba(255,255,255,.78); line-height: 1.6; }
.contacts-layout { max-width: 980px; margin: 0 auto; }
.contacts-card { padding: 38px; display: grid; gap: 24px; }
.contacts-card h2 { margin: 0 0 12px; font-size: clamp(2rem,4vw,3rem); }
.contacts-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.contact-lines { display: grid; gap: 12px; }
.contact-lines a { color: #111827; font-weight: 900; text-decoration: none; }
.contacts-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.site-footer { background: #111827; color: rgba(255,255,255,.76); padding: 58px 20px; }
.footer-container { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 40px; }
.footer-logo { font-size: 1.5rem; font-weight: 900; color: #fff; text-decoration: none; display: inline-block; margin-bottom: 18px; }
.footer-logo span { color: var(--yellow); }
.copyright { margin: 0 0 12px; }
.privacy-link { color: rgba(255,255,255,.55); }
.footer-title { color: #fff; margin: 0 0 20px; }
.footer-nav, .footer-contacts { display: flex; flex-direction: column; gap: 14px; }
.footer-nav a, .footer-contact-item a { text-decoration: none; color: rgba(255,255,255,.8); font-weight: 700; }
.btn-footer-max { display: inline-flex; width: fit-content; align-items: center; justify-content: center; padding: 10px 20px; background: linear-gradient(180deg,#53d96d,#32b550); color: #fff !important; border-radius: 999px; font-weight: 900; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.72); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 2000; backdrop-filter: blur(6px); }
.modal.active { display: flex; }
.modal-dialog { width: 100%; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 30px 70px rgba(0,0,0,.3); padding: 26px; position: relative; }
.modal-close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: none; background: transparent; color: #111827; font-size: 28px; cursor: pointer; }
.modal-title { margin: 0 0 8px; font-size: 2rem; line-height: 1.08; font-weight: 900; }
.modal-title span { color: #b98700; }
.modal-text { margin: 0 0 16px; color: var(--muted); line-height: 1.55; }
.modal-form { display: grid; gap: 10px; }
.modal-form input, .modal-form textarea { width: 100%; border: 1px solid rgba(17,24,39,.12); border-radius: 16px; padding: 0 18px; font-size: 1rem; color: #111827; background: #f8fafc; outline: none; }
.modal-form input { height: 48px; }
.modal-form textarea { min-height: 86px; padding-top: 12px; resize: vertical; }
.modal-form input[type="file"] { padding: 12px 14px; height: auto; border-style: dashed; }
.modal-file-note, .quiz-geo-inline { font-size: .82rem; line-height: 1.45; color: var(--muted); }
.modal-submit { height: 50px; border: none; border-radius: 16px; background: linear-gradient(180deg,#44e368,#2aa843); color: #fff; font-size: 1rem; font-weight: 900; cursor: pointer; }
.form-message { display: none; margin-top: 10px; font-size: .88rem; font-weight: 700; text-align: center; }
.form-message.success { color: #139a35; }
.form-message.error { color: #b42318; }
.honeypot { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 1200px) {
    .service-list-modern, .timeline-grid { grid-template-columns: repeat(2,1fr); }
    .masters-grid, .reviews-grid { grid-template-columns: repeat(2,1fr); }
    .features { grid-template-columns: repeat(2,1fr); max-width: 900px; }
}
@media (max-width: 992px) {
    :root { --header-height: 72px; }
    .header-container { display: flex; justify-content: space-between; }
    .nav-desktop, .phone-desktop { display: none; }
    .burger-icon { display: flex; flex-direction: column; justify-content: center; gap: 4px; background: none; border: none; padding: 0; cursor: pointer; }
    .burger-icon span { display: block; width: 22px; height: 2px; background: #111827; border-radius: 2px; }
    .security-layout, .conversion-strip { grid-template-columns: 1fr; }
    .security-side { grid-template-columns: repeat(3,1fr); }
    .risk-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    :root { --header-height: 58px; }
    body { padding-top: 58px; }
    .site-header { height: 58px; }
    .header-container { display: grid; grid-template-columns: 24px 42px 1fr auto; align-items: center; padding: 0 10px; column-gap: 8px; }
    .logo { display: none; }
    .mobile-logo { display: block; font-size: 1.75rem; font-weight: 900; color: #b98700; line-height: 1; text-align: center; text-decoration: none; }
    .header-right { display: contents; }
    .phone-mobile { display: flex; justify-content: center; align-items: center; text-align: center; color: #111827; text-decoration: none; font-size: 1rem; font-weight: 900; white-space: nowrap; }
    .btn-header-max { padding: 7px 10px; font-size: .84rem; border-radius: 10px; min-width: 58px; }
    .hero { display: block; min-height: auto; padding: 0; background: #f3f3f3 !important; background-image: none !important; background-size: auto !important; background-position: center !important; background-repeat: no-repeat !important; }
    .hero-inner { min-height: calc(100svh - 58px); display: flex; justify-content: center; padding: 20px 18px; }
    .hero-title-styled { margin: 0 0 16px; font-size: 2.2rem; line-height: 1.1; font-weight: 800; letter-spacing: -1px; text-align: left; color: #111827; text-shadow: none; max-width: 900px; }
    .desc { max-width: 620px; margin: 0 0 22px; font-size: 1rem; line-height: 1.48; color: #111827; font-weight: 700; text-align: left; }
    .buttons { flex-direction: column; width: 100%; }
    .btn { width: 100%; min-width: 0; padding: 15px 14px; }
    .features { grid-template-columns: 1fr 1fr; gap: 8px; padding: 40px 16px 20px; }
    .feature { min-height: 86px; padding: 12px 8px 10px; border-radius: 14px; }
    .feature strong { font-size: .68rem; }
    .feature p { font-size: .76rem; }
    .services-section, .process-section, .security-section, .cases-section, .risk-section, .masters-section, .reviews-section, .seo-section, .faq-section, .contacts-section { padding: 56px 14px; }
    .split-head { grid-template-columns: 1fr; text-align: center; }
    .service-list-modern, .timeline-grid, .cases-grid, .masters-grid, .reviews-grid { grid-template-columns: 1fr; }
    .security-main, .seo-container, .contacts-card { padding: 24px 16px; }
    .security-side { grid-template-columns: 1fr; }
    .brands-grid.compact { grid-template-columns: repeat(2,1fr); }
    .conversion-actions, .contacts-cta { flex-direction: column; display: grid; grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer-menu-col { display: none; }
    .btn-footer-max { margin: 0 auto; }
    .modal-dialog { padding: 22px 16px 16px; border-radius: 22px; }
}