/* INSLIFE - Main Stylesheet */
/* Generated from src/scss/main.scss */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    background-color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #1a56db;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1e40af;
}

ul {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea {
    font: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: #1e293b;
}

.logo--footer {
    color: #ffffff;
    margin-bottom: 1rem;
}

.logo__text {
    background: linear-gradient(135deg, #1a56db 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    @media (max-width: 768px) {
        display: none;
    }
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    color: #1e293b;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.nav__link:hover {
    color: #1a56db;
    border-bottom-color: #1a56db;
}

.nav__link--active {
    color: #1a56db;
    border-bottom-color: #1a56db;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    width: 2rem;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #1e293b;
    transition: all 0.2s ease;
}

.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
}

.hero__content {
    max-width: 600px;
    margin-bottom: 3rem;
}

.hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #1e293b;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero__title {
        font-size: 2rem;
    }
}

.hero__description {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero__feature {
    padding: 0.5rem 1rem;
    background-color: #ffffff;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a56db;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.hero__cta {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    padding: 0.875rem 2rem;
    animation: pulse 2s infinite;
}

.hero__cta::after {
    content: '↓';
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.hero__cta:hover::after {
    transform: translateY(4px);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 6px -1px rgba(26, 86, 219, 0.3), 0 2px 4px -1px rgba(26, 86, 219, 0.2);
    }
    50% {
        box-shadow: 0 10px 15px -3px rgba(26, 86, 219, 0.4), 0 4px 6px -2px rgba(26, 86, 219, 0.3);
    }
}

.hero__form-wrapper {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .hero__form-wrapper {
        justify-content: center;
    }
}

.form-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 400px;
}

@media (max-width: 480px) {
    .form-card {
        padding: 1.5rem;
    }
}

.form-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-card__subtitle {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 1.5rem;
}

.credit-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e293b;
}

.form-input {
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #1a56db;
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-card__policy {
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
    margin-top: 0.5rem;
}

.form-card__policy a {
    color: #1a56db;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    background: linear-gradient(135deg, #1a56db 0%, #3b82f6 100%);
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn--primary:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn--outline {
    background-color: transparent;
    border: 1px solid #1a56db;
    color: #1a56db;
}

.btn--outline:hover {
    background-color: #1a56db;
    color: #ffffff;
}

.btn--full {
    width: 100%;
}

.features {
    background-color: #ffffff;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .features__grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background-color: #f8fafc;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (max-width: 480px) {
    .feature-card {
        padding: 1.5rem;
    }
}

.feature-card__icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    color: #1a56db;
    background-color: rgba(26, 86, 219, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.feature-card__description {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.calculator {
    background-color: #f8fafc;
}

.calculator__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 900px) {
    .calculator__wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.calculator__form {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.calc-range {
    margin-bottom: 2rem;
}

.calc-range:last-child {
    margin-bottom: 0;
}

.calc-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.calc-range__input {
    width: 100%;
    height: 0.5rem;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, #1a56db 0%, #1a56db 50%, #e2e8f0 50%, #e2e8f0 100%);
    border-radius: 0.75rem;
    outline: none;
    cursor: pointer;
}

.calc-range__input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #1a56db;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.calc-range__input::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.calc-range__input::-moz-range-thumb {
    width: 1.5rem;
    height: 1.5rem;
    background-color: #1a56db;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.calc-range__input::-moz-range-thumb:hover {
    transform: scale(1.1);
}

.calculator__result {
    background: linear-gradient(135deg, #1a56db 0%, #3b82f6 100%);
    border-radius: 1rem;
    padding: 2rem;
    color: #ffffff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.calculator__result-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.calculator__result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.calculator__result-item:last-of-type {
    border-bottom: none;
}

.calculator__result-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.calculator__result-value {
    font-size: 1.125rem;
    font-weight: 700;
}

.calculator__result-value--accent {
    font-size: 1.5rem;
    color: #fbbf24;
}

.calculator__result-value--warning {
    color: #fca5a5;
}

.calculator__btn {
    margin-top: 2rem;
    background-color: #ffffff;
    color: #1a56db;
}

.calculator__btn:hover {
    background-color: #f8fafc;
}

.partners {
    background-color: #ffffff;
}

.partners__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .partners__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .partners__grid {
        grid-template-columns: 1fr;
    }
}

.partner-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 2rem 1rem;
    text-align: center;
    font-weight: 600;
    color: #64748b;
    transition: all 0.2s ease;
}

.partner-card:hover {
    border-color: #1a56db;
    color: #1a56db;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.partner-card__name {
    font-size: 1rem;
}

.contact {
    background-color: #f8fafc;
}

.contact__card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 900px) {
    .contact__card {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

.contact__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact__description {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact__detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact__label {
    font-size: 0.875rem;
    color: #64748b;
}

.contact__value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
}

.specialist-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.specialist-card__photo {
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specialist-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialist-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.specialist-card__position {
    font-size: 0.875rem;
    color: #64748b;
}

.specialist-card__phone {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a56db;
}

.seo-content {
    background-color: #ffffff;
}

.seo-content__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.seo-content__text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    line-height: 1.8;
    color: #64748b;
}

.seo-content__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .seo-content__grid {
        grid-template-columns: 1fr;
    }
}

.seo-content__col {
    background-color: #f8fafc;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.seo-content__subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.seo-content__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.seo-content__list li {
    position: relative;
    padding-left: 1.5rem;
    color: #64748b;
    font-size: 0.875rem;
}

.seo-content__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1a56db;
    font-weight: 700;
}

.footer {
    background-color: #1e293b;
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 900px) {
    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer__inner {
        grid-template-columns: 1fr;
    }
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
}

.footer__description {
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 250px;
}

.footer__links,
.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__links a,
.footer__contacts a {
    color: #94a3b8;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer__links a:hover,
.footer__contacts a:hover {
    color: #ffffff;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.footer__copyright {
    font-size: 0.875rem;
}

.footer__legal {
    display: flex;
    gap: 2rem;
}

@media (max-width: 600px) {
    .footer__legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.footer__legal a {
    font-size: 0.875rem;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.footer__legal a:hover {
    color: #ffffff;
}

/* === Car Brands Section === */
.car-brands {
    background-color: #f8fafc;
}

.car-brands__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .car-brands__grid {
        grid-template-columns: 1fr;
    }
}

.car-brand-card {
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.car-brand-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.car-brand-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.car-brand-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.car-brand-card:hover .car-brand-card__img {
    transform: scale(1.05);
}

.car-brand-card__content {
    padding: 1.5rem;
}

.car-brand-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.car-brand-card__description {
    color: #64748b;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.car-brand-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.car-brand-card__features li {
    padding: 0.25rem 0.75rem;
    background-color: rgba(26, 86, 219, 0.1);
    color: #1a56db;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Hero Inner Layout */
.hero__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}

.hero__content {
    max-width: 600px;
}

.hero__form-wrapper {
    width: 100%;
    max-width: 400px;
}

/* Accent Button */
.btn--accent {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.3), 0 2px 4px -1px rgba(245, 158, 11, 0.2);
}

.btn--accent:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.4), 0 4px 6px -2px rgba(245, 158, 11, 0.3);
}

/* Calculator Form Submit */
.calculator__form-submit {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calculator__form-submit .form-group {
    margin-bottom: 0;
}

.calculator__form-submit .form-input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.calculator__form-submit .form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.calculator__form-submit .form-input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}
