/* ═══════════════════════════════════════════════════════
   ГЛОБАЛЬНАЯ ЗАЩИТА ОТ ГОРИЗОНТАЛЬНОГО ПЕРЕПОЛНЕНИЯ
   Закрытые off-canvas панели (position:fixed) не должны
   расширять область прокрутки вправо.
   ═══════════════════════════════════════════════════════ */
html {
    overflow-x: hidden;
}
body {
    overflow-x: clip; /* clip обрезает в т.ч. fixed-потомков надёжнее hidden */
}


/* ═══════════════════════════════════════════════════════
   SIDE FORM — OVERLAY
   ═══════════════════════════════════════════════════════ */
.side-form-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 25, 0.6);
    z-index: 89000;
    display: none;
    backdrop-filter: blur(6px);
}
.side-form-overlay.open { display: block; }


/* ═══════════════════════════════════════════════════════
   SIDE FORM — ПАНЕЛЬ
   Закрыта: прижата к правому краю (right:0) и уведена
   за экран через transform — это НЕ создаёт переполнения.
   ═══════════════════════════════════════════════════════ */
.side-form-panel {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translate(100%, -50%); /* за правым краем, без переполнения */
    width: 440px;
    max-width: 100vw;
    max-height: 92vh;
    background: #fff;
    z-index: 89500;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 20px 0 0 20px;
}
.side-form-panel.open {
    transform: translate(0, -50%);
}


/* ═══════════════════════════════════════════════════════
   ШАПКА
   ═══════════════════════════════════════════════════════ */
.side-form-head {
    background: #0d1e3f;
    padding: 24px 24px 22px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.sfh-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.sfh-circle--1 {
    width: 240px;
    height: 240px;
    border: 1px solid rgba(94, 184, 255, 0.07);
    top: -90px;
    right: -50px;
}
.sfh-circle--2 {
    width: 110px;
    height: 110px;
    border: 1px solid rgba(94, 184, 255, 0.05);
    top: -20px;
    right: 40px;
}

.sfh-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.sfh-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.sfh-logo img {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    display: block;
}
.sfh-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0;
    font-family: inherit;
}
.sfh-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: rotate(90deg);
}

.sfh-body {
    position: relative;
    z-index: 1;
}
.sfh-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 20px;
    padding: 3px 10px;
    margin-bottom: 10px;
    font-size: 11px;
    color: #4ade80;
    font-weight: 600;
}
.sfh-badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    animation: sfBadgePulse 2.5s ease-in-out infinite;
}
@keyframes sfBadgePulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.2); }
    50%       { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.04); }
}
.sfh-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin-bottom: 6px;
}
.sfh-title span { color: #5eb8ff; }
.sfh-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.55;
}


/* ═══════════════════════════════════════════════════════
   ТЕЛО — ПОЛЯ ФОРМЫ
   ═══════════════════════════════════════════════════════ */
.side-form-body {
    padding: 22px 24px 24px;
    background: #f7f9fe;
    flex: 1;
}

.sfb-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.sfb-group {
    margin-bottom: 11px;
}
.sfb-group label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #8896b3;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.sfb-field-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.sfb-field-wrap i {
    position: absolute;
    left: 12px;
    font-size: 13px;
    color: #b0bcda;
    pointer-events: none;
    z-index: 1;
}
.sfb-field-wrap--ta i {
    top: 12px;
    align-self: flex-start;
}
.sfb-field-wrap input,
.sfb-field-wrap textarea {
    width: 100%;
    padding: 11px 13px 11px 36px;
    border: 1.5px solid #e4eaf6;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    color: #1a2035;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.sfb-field-wrap textarea {
    resize: vertical;
    line-height: 1.5;
}
.sfb-field-wrap input::placeholder,
.sfb-field-wrap textarea::placeholder {
    color: #b8c4d8;
}
.sfb-field-wrap input:focus,
.sfb-field-wrap textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.09);
}
.sfb-field-wrap input.input-error,
.sfb-field-wrap textarea.input-error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.09);
}
.sfb-error {
    display: block;
    font-size: 11px;
    color: #e53e3e;
    margin-top: 4px;
}
.sfb-check-row {
    margin: 14px 0 16px;
}
.sfb-check-label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    cursor: pointer;
}
.sfb-check-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #2563eb;
    cursor: pointer;
}
.sfb-check-label span {
    font-size: 12px;
    color: #7a8aaa;
    line-height: 1.6;
}
.sfb-check-label a { color: #2563eb; text-decoration: none; }
.sfb-check-label a:hover { text-decoration: underline; }
.sfb-check-label.is-error span { color: #e53e3e; }

.sfb-submit {
    width: 100%;
    padding: 14px;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 11px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.1px;
}
.sfb-submit:hover {
    background: #1d4ed8;
}
.sfb-submit:active  { transform: translateY(0); }
.sfb-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.sfb-submit i { font-size: 15px; }
.sfb-submit-error {
    margin-top: 10px;
    font-size: 12px;
    color: #e53e3e;
    text-align: center;
}


/* ═══════════════════════════════════════════════════════
   ФУТЕР ПАНЕЛИ — контакт города
   ═══════════════════════════════════════════════════════ */
.side-form-foot {
    padding: 14px 24px 18px;
    background: #fff;
    border-top: 1px solid #eef1f8;
    flex-shrink: 0;
}
.sff-contact-block {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f0f4ff;
    border-radius: 10px;
    padding: 10px 13px;
}
.sff-contact-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #e6edfc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
    color: var(--blue);
}
.sff-contact-info { flex: 1; min-width: 0; }
.sff-contact-city {
    font-size: 12px;
    font-weight: 600;
    color: #1a2035;
}
.sff-contact-time {
    font-size: 11px;
    color: #8896b3;
    margin-top: 1px;
}
.sff-contact-phone {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}
.sff-contact-phone:hover { text-decoration: underline; }


/* ═══════════════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(13,30,58,0.7); z-index: 90000;
    display: none; align-items: center; justify-content: center; backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
    background: white; border-radius: var(--radius-lg); padding: 40px;
    max-width: 480px; width: 90%; position: relative;
    animation: modalIn 0.3s cubic-bezier(0.4,0,0.2,1);
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
    position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
    background: var(--gray-100); border-radius: 50%; display: flex;
    align-items: center; justify-content: center; cursor: pointer;
    font-size: 13px; color: var(--gray-600); transition: var(--transition);
}
.modal-close:hover { background: var(--blue); color: white; }
.modal-icon {
    width: 56px; height: 56px; background: rgba(26,111,212,0.1); border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: var(--blue); margin-bottom: 20px;
}
.modal-title { font-size: var(--text-xl); font-weight: var(--fw-black); color: var(--dark); margin-bottom: 6px; }
.modal-sub   { font-size: var(--text-sm); color: var(--gray-400); margin-bottom: 28px; }


/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
footer {
    background: var(--dark); color: rgba(255,255,255,0.6);
    padding-top: 60px; position: relative; overflow: hidden;
}
.footer-fire-bg {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-size: cover; background-position: center bottom;
    background-repeat: no-repeat; background-color: var(--dark);
}
.footer-fire-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom,
    rgba(10,16,32,0.96) 0%, rgba(10,16,32,0.80) 40%,
    rgba(10,16,32,0.40) 75%, rgba(0,0,0,0.10) 100%);
}
.footer-main {
    display: grid; grid-template-columns: 280px 1fr 1fr 1fr;
    gap: 40px; padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { display: inline-flex; align-items: center; margin-bottom: 16px; }
.footer-logo img { width: 140px; height: auto; filter: brightness(0) invert(1); }
.footer-tagline { font-size: var(--text-sm); line-height: 1.7; margin-bottom: 20px; color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.social-btn {
    width: 36px; height: 36px; background: rgba(255,255,255,0.06); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); font-size: 16px; transition: var(--transition);
}
.social-btn:hover { background: var(--blue); color: white; }
.social-btn--maks { background: rgba(0,100,220,0.15); color: rgba(120,180,255,0.7); }
.social-btn--maks:hover { background: #0064dc; color: white; }
.social-btn--maks svg { width: 18px; height: 18px; }
.footer-col-title {
    font-size: var(--text-sm); font-weight: var(--fw-bold); color: white;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: var(--text-sm); color: rgba(255,255,255,0.8); transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: white; padding-left: 4px; }
.footer-links a i { font-size: 13px; color: var(--blue-light); }
.footer-bottom {
    padding: 20px 0; display: flex; align-items: center; justify-content: space-between;
    font-size: var(--text-xs); color: rgba(255,255,255,0.8);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }
.footer-ya-rating { display: flex; align-items: center; flex-shrink: 0; border-radius: 6px; overflow: hidden; margin-bottom: 20px; }
.footer-ya-rating iframe { display: block; border-radius: 6px; }

@media (max-width: 1024px) {
    footer { padding-top: 48px; }
    .footer-main { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
    .footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 24px; align-items: start; }
    .footer-logo    { grid-column: 1; grid-row: 1; margin-bottom: 0; align-self: center; }
    .footer-tagline { grid-column: 2; grid-row: 1; margin-bottom: 0; align-self: center; }
    .footer-social  { grid-column: 1 / -1; grid-row: 2; margin-top: 14px; }
    .footer-bottom  { flex-direction: column; gap: 12px; text-align: center; }
    .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 12px 16px; }
}
@media (max-width: 767px) {
    footer { padding-top: 32px; }
    .footer-main { grid-template-columns: 1fr; gap: 0; padding-bottom: 0; border-bottom: none; }
    .footer-brand { display: block; grid-column: auto; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .footer-logo { margin-bottom: 12px; }
    .footer-tagline { font-size: var(--text-sm); margin-bottom: 16px; }
    .footer-col { border-bottom: 1px solid rgba(255,255,255,0.08); }
    .footer-col-title { margin-bottom: 0; padding: 18px 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; user-select: none; font-size: var(--text-sm); }
    .footer-col-title::after { content: '+'; font-size: 20px; font-weight: 300; color: rgba(255,255,255,0.3); transition: transform 0.3s ease; }
    .footer-col.open .footer-col-title::after { transform: rotate(45deg); }
    .footer-links { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding-bottom 0.3s ease; padding-bottom: 0; }
    .footer-col.open .footer-links { max-height: 400px; padding-bottom: 20px; }
    .footer-bottom { flex-direction: column; gap: 14px; text-align: center; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.08); }
    .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 10px 20px; }
    .footer-fire-overlay { background: linear-gradient(to bottom, rgba(10,16,32,0.97) 0%, rgba(10,16,32,0.88) 50%, rgba(0,0,0,0.20) 100%); }

    /* Боковая форма на мобиле — full-screen, прячется тем же transform */
    .side-form-panel {
        top: 0;
        right: 0;
        transform: translateX(100%);
        height: 100vh;
        height: 100dvh;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
    }
    .side-form-panel.open { transform: translateX(0); }

    .sfb-row { grid-template-columns: 1fr; }
    .sfh-title { font-size: 20px; }
}
@media (max-width: 480px) {
    footer { padding-top: 24px; }
    .footer-tagline { font-size: var(--text-xs); }
    .social-btn { width: 40px; height: 40px; font-size: 17px; }
    .footer-col-title { font-size: var(--text-xs); padding: 16px 0; }
    .footer-links a { font-size: var(--text-xs); }
    .footer-bottom { font-size: 11px; gap: 10px; }
    .footer-bottom-links { gap: 8px 14px; }
    .sfh-title { font-size: 18px; }
    .sfb-submit { font-size: 14px; padding: 13px; }
}


/* ═══════════════════════════════════════════════════════
   FLOATING POPUP
   ═══════════════════════════════════════════════════════ */
.float-popup-overlay { position: fixed; inset: 0; background: rgba(13,30,58,0.5); z-index: 8100; display: none; backdrop-filter: blur(2px); }
.float-popup-overlay.open { display: block; }
.float-popup {
    position: fixed; right: 24px; bottom: 90px; width: 340px;
    max-width: calc(100vw - 32px); /* не выходит за экран на узких */
    background: var(--white); border-radius: 20px; z-index: 8200;
    box-shadow: 0 24px 64px rgba(13,30,58,0.2);
    transform: translateY(20px) scale(0.96); opacity: 0; pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease; overflow: hidden;
}
.float-popup.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.float-popup-head { background: var(--dark); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; }
.float-popup-head span { color: white; font-weight: var(--fw-bold); font-size: var(--text-md); }
.float-popup-close { width: 30px; height: 30px; background: rgba(255,255,255,0.1); border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 13px; border: none; font-family: inherit; transition: var(--transition); }
.float-popup-close:hover { background: var(--green); }
.float-popup-body { padding: 20px; }
.float-city-row { display: flex; align-items: center; gap: 8px; font-size: var(--text-md); font-weight: var(--fw-bold); color: var(--dark); margin-bottom: 16px; }
.float-city-row i { color: var(--green); font-size: 14px; }
.float-contact-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.float-contact-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; transition: var(--transition); text-decoration: none; color: var(--gray-800); }
.float-contact-item:hover { background: var(--off-white); }
.fci-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(76,175,80,0.1); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.fci-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fci-label { font-size: var(--text-xs); color: var(--gray-400); font-weight: var(--fw-medium); }
.fci-val   { font-size: var(--text-sm); font-weight: var(--fw-semi); color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-city-section { border-top: 1px solid var(--gray-100); padding-top: 16px; }
.float-city-section-label { font-size: var(--text-xs); font-weight: var(--fw-bold); color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 10px; }
.float-city-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.float-city-btn { padding: 6px 14px; border-radius: 20px; border: 1.5px solid var(--gray-200); background: var(--white); color: var(--gray-600); font-family: inherit; font-size: var(--text-sm); cursor: pointer; transition: var(--transition); }
.float-city-btn:hover  { border-color: var(--green); color: var(--green); }
.float-city-btn.active { background: var(--green); border-color: var(--green); color: white; font-weight: var(--fw-semi); }
.float-popup-body .btn-primary { background: var(--green); color: white; border-color: var(--green); }


/* ═══════════════════════════════════════════════════════
   FAB — кнопка «Отправить заявку»
   ═══════════════════════════════════════════════════════ */
.fab-request {
    position: fixed;
    top: 30%;
    right: 0;
    z-index: 999;
    display: block;
    border-radius: 36px 0 0 8px;
    width: 42px;
    height: 262px;
    font-size: 0;
    background: linear-gradient(#469bff 0%, #153059 100%);
    -webkit-box-shadow: 0 4px 4px 0 rgba(0,0,0,0.25);
    box-shadow: 0 4px 4px 0 rgba(0,0,0,0.25);
    cursor: pointer;
    border: none;
    padding: 0;
}
.fab-request span {
    display: inline-flex;
    position: relative;
    justify-content: center;
    left: -79px;
    align-items: center;
    width: 200px;
    font-size: 18px;
    color: #fff;
    letter-spacing: 1px;
    transform: rotate(-90deg);
    transform-origin: center;
}
.fab-request::before {
    rotate: -90deg;
    top: 0px;
    left: 2px;
    content: "";
    position: absolute;
    width: 32px;
    height: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='40' viewBox='0 0 32 40' fill='none'%3E%3CclipPath id='clip5_1'%3E%3Crect width='32' height='40' fill='white' fill-opacity='0'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23clip5_1)'%3E%3Cpath d='M9 0C12.58 0.04 32 5.42 32 33.08C18.92 30.72 9 19.31 9 5.55L9 0Z' fill='%2318C139' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
}
@media (max-width: 768px) {
    .fab-request { display: none; }
}


/* ═══════════════════════════════════════════════════════
   FAB — кнопка «Контакты»
   ═══════════════════════════════════════════════════════ */
.fab-contacts {
    position: fixed; right: 24px; bottom: 28px; z-index: 8000;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 22px 13px 16px;
    background: var(--green); color: var(--white);
    border: none; border-radius: 40px; font-family: inherit;
    font-size: var(--text-sm); font-weight: var(--fw-bold);
    cursor: pointer; white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,196,114,0.40), 0 12px 36px rgba(0,196,114,0.20);
    transition: var(--transition);
}
.fab-contacts:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0,196,114,0.50), 0 16px 44px rgba(0,196,114,0.25); }
.fab-contacts-icon { width: 30px; height: 30px; background: rgba(255,255,255,0.22); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fab-contacts-icon i { font-size: 13px; }
.fab-contacts-label { letter-spacing: 0.1px; }
@media (max-width: 768px) {
    .fab-contacts { right: 16px; bottom: 70px; padding: 0; width: 52px; height: 52px; border-radius: 50%; justify-content: center; }
    .fab-contacts-label { display: none; }
    .fab-contacts-icon { width: 100%; height: 100%; border-radius: 50%; background: transparent; }
    .ck-reopen-btn {
        bottom: 70px;
    }
}
@media (max-width: 480px) {
    .fab-contacts { right: 12px; bottom: 70px; width: 48px; height: 48px; }
}


.form-group { margin-bottom: 14px; }

.form-group label {
    display: block; font-size: 11px; font-weight: 700;
    letter-spacing: 0.7px; color: #7a88a0;
    text-transform: uppercase; margin-bottom: 6px;
}

.form-group-inner {
    position: relative; display: flex; align-items: center;
}
.form-group-icon {
    position: absolute; left: 13px; z-index: 1;
    color: #a0aec0; display: flex; align-items: center; pointer-events: none;
}
.form-group-icon svg {
    width: 15px; height: 15px;
    stroke: #a0aec0; stroke-width: 1.8;
    fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.form-group-icon--top {
    align-items: flex-start;
    top: 11px;
}

.form-group input,
.form-group textarea {
    width: 100%; padding: 11px 14px 11px 40px;
    border: 1.5px solid #e2e8f4; border-radius: 12px;
    font-family: inherit; font-size: 14px; color: #1a2035;
    background: #f4f7ff; outline: none; transition: 0.2s;
    box-sizing: border-box;
}
.form-group textarea { resize: vertical; line-height: 1.5; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0bcd4; }
.form-group input:focus,
.form-group textarea:focus {
    border-color: #2563eb; background: #fff;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}

.form-group input[type="checkbox"] { width: auto; padding: 0; background: none; border: none; box-shadow: none; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-group--checkbox { margin: 16px 0 18px; }
.checkbox-label {
    display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
    width: 18px; height: 18px; flex-shrink: 0;
    border: 2px solid #d1d9e6; border-radius: 5px;
    background: #f4f7ff; margin-top: 1px;
    accent-color: #2563eb; cursor: pointer;
}
.checkbox-label span {
    font-size: 12px; color: #6b7a99; line-height: 1.55;
}
.checkbox-label a { color: #2563eb; text-decoration: none; }
.checkbox-label a:hover { text-decoration: underline; }