/* ======================================================================
   HOME
   ====================================================================== */

   .home-content {
    padding: 2.2rem 2rem;
    text-align: center;
  }
  
  .main-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    text-align: center;
    line-height: 1.2;
  }
  
  .main-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #ccc;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  
  .feature-card {
    background-color: rgba(17, 17, 17, 0.8);
    padding: 2rem 1.5rem;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  }
  
  .feature-icon { margin-bottom: 1.5rem; }
  .feature-icon i { font-size: 3rem; color: #e63946; }
  
  .feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
  }
  
  .feature-card p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  /* ======================================================================
     NAV LINKS
     ====================================================================== */
  
  nav ul li a {
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
    padding: 4px 0;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
  }
  
  nav ul li a:hover { color: #e63946; }
  
  nav ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e63946;
    transition: width 0.3s ease;
  }
  
  nav ul li a:hover::after { width: 100%; }
  nav ul li a.active { color: #e63946; }
  nav ul li a.active::after { width: 100%; }
  
  /* ======================================================================
     HERO BUTTONS
     ====================================================================== */
  
  #home {
    justify-content: center;
    text-align: center;
    align-items: flex-start;
    padding-top: 20px;
  }
  
  .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
  }
  
  .btn-primary {
    background-color: #e63946;
    color: #fff;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
  }
  
  .btn-primary:hover {
    background-color: #d62f3d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
  }
  
  .btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
  }
  
  .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
  }
  
  /* ======================================================================
     SECTION HEADINGS
     ====================================================================== */
  
  #services h2, #cars h2, #workshop h2, #contacts h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #fff;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
  }
  
  #services h2::after, #cars h2::after, #workshop h2::after, #contacts h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #e63946;
  }
  
  #services p, #cars p, #workshop p, #contacts p {
    text-align: center;
    margin-bottom: 3rem;
    color: #ccc;
  }
  
  /* ======================================================================
     SERVICES
     ====================================================================== */
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .service-card {
    background-color: rgba(51, 51, 51, 0.7);
    padding: 2rem;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  }
  
  .service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), transparent);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
  }
  
  .service-card:hover::before { opacity: 1; }
  
  .service-card i {
    font-size: 3rem;
    color: #e63946;
    margin-bottom: 1.5rem;
  }
  
  .service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
  }
  
  .service-card p {
    color: #ccc;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  /* ======================================================================
     CARS
     ====================================================================== */
  
  .cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .car-card {
    background-color: rgba(51, 51, 51, 0.7);
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  }
  
  .car-image {
    height: 200px;
    width: 100%;
    background-size: cover;
    background-position: center;
  }
  
  .car-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  
  .car-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
  }
  
  .car-price {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
  }
  
  .price-before { text-decoration: line-through; color: #999; }
  .price-after { color: #e63946; font-weight: 700; font-size: larger; }
  
  .car-description {
    color: #ccc;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
  }
  
  .car-button {
    display: block;
    width: 100%;
    padding: 0.8rem;
    text-align: center;
    margin-top: auto;
    background-color: #e63946;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .car-button:hover { background-color: #d62f3d; }
  
  /* ======================================================================
     WORKSHOP
     ====================================================================== */
  
  .workshop-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
  }
  
  .workshop-image {
    height: 100%;
    width: 100%;
    max-height: 400px;
    max-width: 500px;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    align-self: start;
    margin-top: 30px;
  }
  
  .image-workshop { position: relative; overflow: hidden; }
  
  .image-workshop__layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 1;
    transition: opacity 420ms ease, transform 420ms ease;
    will-change: opacity, transform;
  }
  
  .image-workshop__layer--hover {
    opacity: 0;
    transform: scale(1.02);
  }
  
  .image-workshop:hover .image-workshop__layer--main {
    opacity: 0;
    transform: scale(1.02);
  }
  
  .image-workshop:hover .image-workshop__layer--hover {
    opacity: 1;
    transform: scale(1);
  }
  
  @media (hover: none) {
    .image-workshop:hover .image-workshop__layer--main { opacity: 1; transform: none; }
    .image-workshop:hover .image-workshop__layer--hover { opacity: 0; transform: none; }
  
    .image-workshop.is-flipped .image-workshop__layer--main {
      opacity: 0;
      transform: scale(1.02);
    }
    .image-workshop.is-flipped .image-workshop__layer--hover {
      opacity: 1;
      transform: scale(1);
    }
  
    .image-workshop { cursor: pointer; }
  }
  
  .workshop-text {
    padding: 2rem;
    padding-top: 10px;
  }
  
  .workshop-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: center;
  }
  
  .workshop-text p {
    color: #ccc;
    margin-bottom: 1.5rem;
    text-align: left;
  }
  
  .workshop-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .feature i {
    color: #e63946;
    margin-right: 0.5rem;
    font-size: 1.2rem;
  }
  
  /* ======================================================================
     CONTACTS
     ====================================================================== */
  
  .contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
  }
  
  .contact-info,
  .contact-form-container {
    padding: 30px;
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  .contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
  }
  
  .contact-info h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #e63946;
  }
  
  .contact-details { margin-bottom: 10px; }
  
  .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
  }
  
  .contact-item--link { color: inherit; cursor: pointer; }
  .contact-item--link:hover { opacity: 0.95; }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(230, 57, 70, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
  }
  
  .contact-item:hover .contact-icon {
    background-color: #e63946;
    transform: scale(1.1);
  }
  
  .contact-icon i {
    color: #e63946;
    font-size: 1.1rem;
    transition: all 0.3s ease;
  }
  
  .contact-item:hover .contact-icon i { color: #fff; }
  
  .contact-text { text-align: left; }
  
  .contact-text span {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 4px;
  }
  
  .contact-text p {
    color: #fff;
    font-size: 1rem;
    margin: 0;
    line-height: 1.3;
  }
  
  .contact-social h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 15px;
  }
  
  /* social icons (contacts) */
  .social-icons { display: flex; gap: 12px; }
  .social-icons .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
  }
  .social-icons .social-icon:hover {
    background-color: #e63946;
    transform: translateY(-5px);
  }
  
  /* form */
  .modern-form { width: 100%; }
  
  .form-group { margin-bottom: 25px; position: relative; }
  .input-with-icon { position: relative; }
  
  .input-with-icon i {
    position: absolute;
    left: 0;
    top: 15px;
    color: #999;
    transition: all 0.3s ease;
    font-size: 1.1rem;
  }
  
  .form-input {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 15px 0 10px 30px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    position: relative;
    z-index: 2;
  }
  
  .form-label {
    position: absolute;
    left: 30px;
    top: 15px;
    color: #999;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  
  .input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
  }
  
  .input-line::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e63946;
    transition: width 0.3s ease;
  }
  
  .form-input:focus + .form-label,
  .form-input:not(:placeholder-shown) + .form-label {
    top: -10px;
    font-size: 0.8rem;
    color: #e63946;
  }
  
  .form-input:focus ~ .input-line::after { width: 100%; }
  .form-input:focus ~ i { color: #e63946; }
  
  .submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    background-color: #e63946;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
  }
  
  .submit-button span {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    margin-right: 10px;
  }
  
  .submit-button i {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
  }
  
  .submit-button:hover {
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
    transform: translateY(-3px);
  }
  
  .submit-button:hover span { transform: translateX(-5px); }
  .submit-button:hover i { transform: translateX(5px); }
  
  .submit-button::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    transition: width 0.3s ease;
    z-index: 1;
  }
  
  .submit-button:hover::after { width: 100%; }
  
  .form-error {
    color: #e63946;
    font-size: 0.85rem;
    margin-top: 5px;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
  }

  .submit-button.is-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;              /* ← аккуратный премиум-гэп */
  }
  
  
  .input-error ~ .input-line::after { background-color: #e63946; width: 100%; }
  .input-error ~ i { color: #e63946; }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* ======================================================================
     FOOTER
     ====================================================================== */
  
  footer {
    background-color: rgba(17, 17, 17, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    position: relative;
    z-index: 10;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 30px;
  }
  
  .footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
  }
  
  .footer-column h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
  }
  
  .footer-column h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #e63946;
  }
  
  .footer-logo img {
    width: 180px;
    height: auto;
    margin-bottom: 15px;
  }
  
  .footer-tagline {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  
  .footer-social { display: flex; gap: 15px; margin-top: 20px; }
  .footer-social .social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.25s ease;
  }
  .footer-social .social-icon:hover {
    background-color: #e63946;
    transform: translateY(-3px);
  }
  
  .footer-links { padding: 0; margin: 0; }
  .footer-links li { margin-bottom: 12px; }
  
  .footer-links a {
    color: #aaa;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    transition: color 0.25s ease;
  }
  
  .footer-links a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #e63946;
    transition: width 0.25s ease;
  }
  
  .footer-links a:hover { color: #fff; }
  .footer-links a:hover::after { width: 100%; }
  
  .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .footer-contact p {
    margin: 0;
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.35;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .footer-contact p i {
    min-width: 18px;
    text-align: center;
    color: #e63946;
  }
  
  .footer-item--link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.35;
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .footer-item--link i {
    min-width: 18px;
    text-align: center;
    color: #e63946;
  }
  
  .footer-item--link span {
    color: inherit;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  
  .footer-item--link:hover { color: #fff; }
  .footer-item--link:hover i {
    filter: drop-shadow(0 6px 18px rgba(230, 57, 70, 0.25));
  }
  
  .footer-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 0 auto 30px;
  }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #777;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .footer-legal { display: flex; align-items: center; }
  
  .footer-legal a {
    color: #777;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .footer-legal a:hover { color: #e63946; }
  .footer-legal .divider { margin: 0 10px; color: #555; }
  
  /* ======================================================================
     MODAL
     ====================================================================== */
  
  .modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
  }
  
  .modal.is-open { display: block; }
  
  .modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
  }
  
  .modal__content {
    position: relative;
    width: min(520px, calc(100% - 32px));
    margin: 10vh auto 0;
    background: rgba(34, 34, 34, 0.92);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.45);
    padding: 22px 22px 18px;
    color: #fff;
  }
  
  .modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.25);
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
  }
  
  .modal__close:hover {
    transform: translateY(-1px);
    background: rgba(230,57,70,0.18);
  }
  
  .modal__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ddd;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(230,57,70,0.14);
    border: 1px solid rgba(230,57,70,0.25);
  }
  
  .modal__title { font-size: 1.35rem; margin-bottom: 10px; }
  .modal__subtitle { color: #ccc; line-height: 1.55; }
  
  .modal__actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
  }
  
  .modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.10);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    gap: 10px;
  }
  
  .modal__btn i { font-size: 1.1rem; }
  
  .modal__btn--primary {
    background: #e63946;
    color: #fff;
    border-color: rgba(230,57,70,0.45);
    box-shadow: 0 10px 24px rgba(230,57,70,0.22);
  }
  
  .modal__btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(230,57,70,0.28);
  }
  
  .modal__btn--ghost {
    background: rgba(255,255,255,0.06);
    color: #fff;
  }
  
  .modal__btn--ghost:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.10);
  }
  
  .modal__hint {
    margin-top: 14px;
    color: #999;
    font-size: 0.85rem;
  }
  
/* ======================================================================
   LEAD MODAL — PREMIUM ALERT (NO PROGRESS BAR)
   ====================================================================== */

   .lead-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
  }
  
  .lead-modal.is-open {
    display: block;
  }
  
  .lead-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
  }
  
  /* ---------- CONTENT ---------- */
  
  .lead-modal__content {
    position: relative;
    width: min(520px, calc(100% - 32px));
    margin: 18vh auto 0;
    padding: 24px 22px 20px;
    color: #fff;
  
    border-radius: 18px;
    background: rgba(18, 18, 18, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.10);
  
    box-shadow:
      0 36px 90px rgba(0, 0, 0, 0.65),
      0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  
    transform: translateY(10px) scale(0.99);
    opacity: 0;
    animation: leadModalIn 220ms ease forwards;
    overflow: hidden;
  }
  
  /* subtle premium border */
  .lead-modal__content::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 18px;
    background: linear-gradient(
      135deg,
      rgba(230, 57, 70, 0.55),
      rgba(255, 255, 255, 0.12),
      rgba(230, 57, 70, 0.35)
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
  }
  
  @keyframes leadModalIn {
    to {
      transform: translateY(0) scale(1);
      opacity: 1;
    }
  }
  
  /* ---------- STATES ---------- */
  
  .lead-modal__content.is-success .lead-modal__icon {
    background: rgba(46, 204, 113, 0.18);
    border-color: rgba(46, 204, 113, 0.30);
  }
  
  .lead-modal__content.is-error .lead-modal__icon {
    background: rgba(230, 57, 70, 0.18);
    border-color: rgba(230, 57, 70, 0.30);
  }
  
  /* ---------- ICON ---------- */
  
  .lead-modal__icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin: 6px auto 14px;
  
    font-size: 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }
  
  /* ---------- TEXT ---------- */
  
  .lead-modal__title {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
  }
  
  .lead-modal__text {
    text-align: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
    margin-bottom: 18px;
  }
  
  /* ---------- ACTIONS ---------- */
  
  .lead-modal__actions {
    display: flex;
    justify-content: center;
  }
  
  .lead-modal__btn {
    height: 44px;
    padding: 0 26px;
    border-radius: 999px;
  
    background: #e63946;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
  
    border: 1px solid rgba(255, 255, 255, 0.10);
    cursor: pointer;
  
    box-shadow: 0 12px 28px rgba(230, 57, 70, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .lead-modal__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(230, 57, 70, 0.35);
  }
  
  /* ---------- CLOSE ---------- */
  
  .lead-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
  
    width: 38px;
    height: 38px;
    border-radius: 12px;
  
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
  
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
  
    transition: transform 0.2s ease, background 0.2s ease;
  }
  
  .lead-modal__close:hover {
    transform: translateY(-1px);
    background: rgba(230, 57, 70, 0.18);
  }
  
  /* ---------- GLOBAL LOCK ---------- */
  
  body.is-modal-open {
    overflow: hidden;
  }
  

  /* ======================================================================
   FORM CONSENT CHECKBOX
   ====================================================================== */

.form-consent {
  margin-bottom: 18px;
}

.consent-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.consent-checkbox input {
  display: none;
}

/* кастомный чекбокс */
.consent-custom {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

/* галочка */
.consent-custom::after {
  content: "✓";
  font-size: 14px;
  color: #fff;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.15s ease;
}

/* checked */
.consent-checkbox input:checked + .consent-custom {
  background: #e63946;
  border-color: rgba(230,57,70,0.6);
  box-shadow: 0 6px 18px rgba(230,57,70,0.35);
}

.consent-checkbox input:checked + .consent-custom::after {
  opacity: 1;
  transform: scale(1);
}

/* текст */
.consent-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}

.consent-text a {
  color: #e63946;
  text-decoration: none;
  border-bottom: 1px dashed rgba(230,57,70,0.4);
}

.consent-text a:hover {
  opacity: 0.9;
}

/* ошибка */
.form-consent.error .consent-custom {
  border-color: #e63946;
  box-shadow: 0 0 0 2px rgba(230,57,70,0.25);
}


.form-hint {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

.form-hint.error {
  color: #ff4d4f;
}
