/* Fonts */
@font-face {
    font-family: 'InterTight';
    src: url('https://cdn.prod.website-files.com/698e171f77017f515549898f/698e176442badd91b2dd0e2d_InterTight-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'InterTight';
    src: url('https://cdn.prod.website-files.com/698e171f77017f515549898f/698e17642a266fa9879cf20c_InterTight-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'InterTight';
    src: url('https://cdn.prod.website-files.com/698e171f77017f515549898f/698e1764f910e60b0d35ee9f_InterTight-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* CSS Variables */
:root {
    --black: #000000;
    --white: #ffffff;
    --yellow: #ffd500;
    --dark-grey: #333333;
    --light-grey: #999999;
    --border-grey: #353535;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.body {
    font-family: 'InterTight', Arial, sans-serif;
    background-color: var(--black);
    color: var(--white);
    font-size: 1.1111vw;
    line-height: 1.2;
    letter-spacing: -0.05em;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    width: 100%;
    padding: 0 1.875em;
    margin-left: auto;
    margin-right: auto;
    max-width: 75em;
}

.container-hero {
    padding: 0;
    min-height: 100%;
    width: 100%;
}

/* Typography */
h1 {
    font-size: 5.625em;
    line-height: 0.9;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin: 0;
    display: block;
}

h2 {
    font-size: 4em;
    line-height: 0.9;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin: 0;
}

h3 {
    font-size: 2.25em;
    line-height: 1.2;
    letter-spacing: -0.05em;
    font-weight: 700;
    margin: 0;
}

.t-27 {
    font-size: 1.6875em;
    line-height: 1.2;
}

.t-24 {
    font-size: 1.5em;
    line-height: 1.2;
}

.t-20 {
    font-size: 1.25em;
    line-height: 1.2;
}

.highlight {
    color: var(--yellow);
}

/* Section Spacing */
section {
    padding: 3em 1.875em;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.875em;
}

.hero-content {
    border-radius: 2em;
    padding: 2em;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
    position: relative;
    min-height: 90vh;
    justify-content: center;
    overflow: hidden;
}

.abs-hero-image{
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.badges {
    display: flex;
    gap: 0.75em;
    flex-wrap: wrap;
    justify-content: center;
}

.badge {
    background-color: rgba(255, 255, 255, 0.6);
    color: var(--black);
    padding: 0.5em 1em;
    border-radius: 100px;
    font-size: 1em;
    backdrop-filter: blur(10px);
}

.hero-subtitle {
    font-size: 1.6875em;
    line-height: 1.2;
}

.buttons {
    display: flex;
    gap: 1em;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.buttons.centered {
    margin-top: 2em;
}

.btn-telegram {
    width: 4em;
    height: 4em;
    background-color: #7360f2;
    border-radius: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.btn-telegram:hover {
    transform: scale(1.05);
}

.btn-telegram img {
    width: 2.5em;
    height: 2.5em;
}

.btn-phone {
    background-color: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-grey);
    border-radius: 1em;
    padding: 0 2em;
    font-weight: 700;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    height: 4em;
}

.btn-phone:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Logo Animations */
.logo-spin {
    position: absolute;
    width: 2em;
    height: 2em;
    opacity: 0.3;
    animation: rotate 30s linear infinite;
}

.logo-tl { top: 2em; left: 2em; }
.logo-tr { top: 2em; right: 2em; }
.logo-bl { bottom: 2em; left: 2em; }
.logo-br { bottom: 2em; right: 2em; }
.logo-center { top: 50%; left: 50%; transform: translate(-50%, -50%); }

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3em;
    padding: 0 2em;
}

.section-title {
    max-width: 50%;
}

.section-label {
    background-color: rgba(255, 255, 255, 0.6);
    color: var(--black);
    padding: 0.5em 1em;
    border-radius: 100px;
    font-size: 1em;
    letter-spacing: -0.07em;
    backdrop-filter: blur(10px);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
}

.service-card {
    background-color: transparent;
    border: 1px solid var(--border-grey);
    border-radius: 2em;
    padding: 2em;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.service-card.featured {
    background-color: var(--yellow);
    color: var(--black);
    grid-column: span 2;
}

.service-card p {
    font-size: 1.5em;
    line-height: 1.2;
}

/* Vehicles Grid */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2em;
}

.vehicle-card {
    position: relative;
    border-radius: 2em;
    overflow: hidden;
}

.vehicle-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.vehicle-info p {
    font-size: 1.5em;
}

/* Process Section */
.process-section {
    background-image: url('./images/imgi_12_698e40b5ea98776231e399f4_Frame 2087327736.png');
    background-size: cover;
    background-position: center;
    border-radius: 2em;
    max-width: 95%;
    margin: 0 auto;
}

.process-wrapper {
    display: flex;
    gap: 3em;
}

.process-heading {
    flex: 1;
    position: sticky;
    top: 10%;
    align-self: flex-start;
}

.process-steps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.process-card {
    background-color: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-grey);
    border-radius: 1em;
    padding: 1.25em;
}

.process-card.featured {
    background-color: var(--yellow);
    color: var(--black);
}

.step-label {
    background-color: rgba(255, 255, 255, 0.6);
    color: var(--black);
    padding: 0.5em 1em;
    border-radius: 100px;
    font-size: 1em;
    display: inline-block;
    margin-bottom: 1em;
}

.step-label.dark {
    background-color: var(--black);
    color: var(--white);
}

.process-card h3 {
    margin-bottom: 0.5em;
}

.process-card p {
    font-size: 1.5em;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
}

.feature-card {
    background-color: transparent;
    border: 1px solid var(--border-grey);
    border-radius: 2em;
    padding: 2em;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.feature-card p {
    font-size: 1.5em;
}

/* Reviews Section */
.reviews-section {
    overflow: hidden;
}

.reviews-slider {
    overflow: visible;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    width: auto;
}

.review-card {
    background-color: transparent;
    border: 1px solid var(--border-grey);
    border-radius: 2em;
    padding: 2em;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.review-text {
    font-size: 1.5em;
    line-height: 1.2;
    flex-grow: 1;
}

.review-author {
    font-size: 1.25em;
    opacity: 0.7;
}

/* FAQ Section */
.faq-section {
    background-image: url('images/imgi_13_698e46775a8376d38d2f5544_CleanShot 2026-02-11 at 13.39.19@2x 1.png');
    background-size: cover;
    background-position: center;
    border-radius: 2em;
    max-width: 95%;
    margin: 0 auto;
}

.wrp-90 {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.faq-wrapper {
    display: flex;
    gap: 3em;
}

.faq-heading {
    flex: 1;
    position: sticky;
    top: 10%;
    align-self: flex-start;
}

.faq-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(19px);
    border: 1px solid #7e7e7e;
    border-radius: 1em;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--white);
    padding: 1.25em;
    font-size: 1.25em;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'InterTight', Arial, sans-serif;
}

.faq-icon {
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.25em;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.25em 1.25em;
}

.faq-answer p {
    font-size: 1em;
    line-height: 1.5;
    opacity: 0.9;
}

/* Map Section */
.map-section {
    padding: 0;
}

.map-section iframe {
    width: 100%;
    height: 500px;
    display: block;
}

/* Footer */
.footer {
    padding: 3em 0 1.5em;
}

.footer-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1em;
    align-items: start;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-logo {
    width: 5em;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 4.375em;
    justify-content: end;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
}

.footer-column h4 {
    color: var(--dark-grey);
    text-transform: uppercase;
    font-size: 0.875em;
    letter-spacing: 1px;
    margin-bottom: 0.75em;
}

.footer-column a {
    font-size: 0.875em;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--yellow);
}

.social-links {
    display: flex;
    gap: 0.75em;
    margin-top: 0.75em;
}

.social-links img {
    width: 1.5em;
    height: 1.5em;
}

/* Videos Section */
.videos-section {
    padding-bottom: 4em;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 991px) {
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 1em;
    }

    .section-title {
        max-width: 100%;
    }

    .process-wrapper,
    .faq-wrapper {
        flex-direction: column;
    }

    .process-heading,
    .faq-heading {
        position: static;
        text-align: center;
    }
}

@media (max-width: 767px) {
    section {
        padding: 3em 1em;
    }

    .container {
        padding: 0 1em;
    }

    .container-hero {
        padding: 0;
        min-height: 100%;
    }

    .hero-section {
        padding: 1em;
        align-items: stretch;
    }

    .hero-content {
        padding: 3em 1.5em;
        min-height: 100%;
    }

    .badges {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .services-grid,
    .vehicles-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 0.5em;
    }

    .service-card.featured {
        grid-column: span 1;
    }

    .service-card,
    .feature-card {
        padding: 1.5em;
        border-radius: 1.5em;
    }

    .vehicle-card {
        border-radius: 2em;
    }

    .vehicle-card img {
        aspect-ratio: 3/2;
    }

    .section-header {
        padding: 0;
        margin-bottom: 2em;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5em;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5em;
        justify-content: start;
    }

    .footer-column {
        align-items: center;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 479px) {
    body {
        font-size: 4.222vw;
    }

    h1 {
        font-size: 2.1em;
    }

    h2, h3 {
        font-size: 1.75em;
    }

    .t-27 {
        font-size: 1.25em;
    }

    .hero-subtitle {
        font-size: 1.25em;
    }

    .review-author,
    .service-card p,
    .vehicle-info p,
    .process-card p,
    .feature-card p,
    .review-text {
        font-size: 1em;
    }

    .faq-question {
        font-size: 1em;
        padding-right: 1em;
        display: flex;
        flex-direction: row;
        gap: 24px;
    }
}


/* Videos Section */
.videos-section {
    padding-bottom: 4em;
}

.videos-slider-wrap {
    position: relative;
    padding: 0 1.875em;
}

.videos-swiper {
    overflow: visible;
}

.videos-swiper .swiper-wrapper {
    align-items: center;
}

.videos-swiper .swiper-slide {
    width: auto;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.5;
}

.videos-swiper .swiper-slide-active,
.videos-swiper .swiper-slide-prev,
.videos-swiper .swiper-slide-next {
    opacity: 1;
}

.video-card {
    border-radius: 1.5em;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    background-color: var(--dark-grey);
    width: 22vw;
    max-width: 280px;
    min-width: 160px;
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Кнопки навігації */
.videos-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    border: 1px solid var(--border-grey);
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.videos-btn:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
    transform: translateY(-50%) scale(1.08);
}

.videos-btn.swiper-button-disabled {
    opacity: 0.25;
    pointer-events: none;
}

.videos-btn-prev { left: 0; }
.videos-btn-next { right: 0; }

@media (max-width: 767px) {
    .video-card {
        width: 72vw;
        max-width: none;
    }

    .videos-slider-wrap {
        padding: 0 3em;
    }
}

@media (max-width: 479px) {
    .video-card {
        width: 78vw;
    }
}


.body {
  font-size: clamp(4.2vw, 1.111vw, 16px);
}

@media (min-width: 1441px) {
  .body {
    font-size: 16px;
  }
}


/* Footer */
.footer {
    padding: 4em 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3em;
    align-items: start;
    padding-bottom: 3em;
    border-bottom: 1px solid var(--border-grey);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.footer-logo {
    width: 5em;
}

.footer-tagline {
    font-size: 0.875em;
    color: var(--light-grey);
    line-height: 1.5;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
}

.footer-column h4 {
    color: var(--light-grey);
    text-transform: uppercase;
    font-size: 0.75em;
    letter-spacing: 0.1em;
    margin-bottom: 0.25em;
}

.footer-column a {
    font-size: 0.9em;
    transition: color 0.3s ease;
    color: var(--white);
}

.footer-column a:hover {
    color: var(--yellow);
}

.footer-phone {
    font-size: 1.1em !important;
    font-weight: 700;
    color: var(--white);
}

.footer-hours {
    font-size: 0.875em;
    color: var(--light-grey);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.9em;
    color: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: 0.75em;
    padding: 0.5em 0.875em;
    transition: border-color 0.3s ease, color 0.3s ease;
    width: fit-content;
}

.social-btn:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.social-btn img {
    width: 1.25em;
    height: 1.25em;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5em 0;
    font-size: 0.8em;
    color: var(--light-grey);
}

/* Footer Responsive */
@media (max-width: 767px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2em;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }

    .footer-column {
        align-items: center;
        text-align: center;
    }

    .social-links {
        flex-direction: row;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5em;
        text-align: center;
    }
}


/* Fixed Phone Button */
.btn-phone-fixed {
    position: fixed;
    bottom: 2em;
    right: 2em;
    z-index: 100;
    width: 4em;
    height: 4em;
    background-color: var(--yellow);
    border-radius: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 24px rgba(255, 213, 0, 0.35);
    animation: pulse 2s ease-in-out infinite;
}

.btn-phone-fixed:hover {
    transform: scale(1.08);
    animation: none;
}

.btn-phone-fixed img {
    width: 2em;
    height: 2em;
    position: relative;
    z-index: 1;
}

.btn-phone-fixed::before,
.btn-phone-fixed::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1em;
    background-color: var(--yellow);
    animation: wave 2s ease-out infinite;
    z-index: -1;
}

.btn-phone-fixed::after {
    animation-delay: 0.6s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes wave {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

/* ========== CALCULATOR SECTION ========== */
.calc-section {
    padding: 3em 1.875em;
}

.calc-wrapper {
    background: transparent;
    border: 1px solid var(--border-grey);
    border-radius: 2em;
    padding: 3em;
    max-width: 780px;
    margin: 0 auto;
}

/* Steps indicator */
.calc-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 3em;
}

.calc-step {
    display: flex;
    align-items: center;
    gap: 0.6em;
    opacity: 0.35;
    transition: opacity 0.3s ease;
}

.calc-step.active {
    opacity: 1;
}

.calc-step.done {
    opacity: 0.7;
}

.step-num {
    width: 2em;
    height: 2em;
    border-radius: 50%;
    border: 1.5px solid var(--border-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875em;
    font-weight: 700;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.calc-step.active .step-num {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

.calc-step.done .step-num {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

.step-name {
    font-size: 0.875em;
    font-weight: 500;
}

.calc-step-line {
    flex: 1;
    height: 1px;
    background: var(--border-grey);
    margin: 0 1em;
    max-width: 80px;
}

/* Pages */
.calc-page {
    display: none;
    animation: calcFadeIn 0.35s ease forwards;
}

.calc-page.active {
    display: block;
}

@keyframes calcFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.calc-page-label {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 1.5em;
    letter-spacing: -0.03em;
}

/* Fields */
.calc-fields {
    display: flex;
    flex-direction: column;
    gap: 1.25em;
    margin-bottom: 2em;
}

.calc-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
}

.calc-field {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.calc-label {
    font-size: 0.875em;
    opacity: 0.6;
    font-weight: 500;
}

.calc-optional {
    opacity: 0.5;
    font-weight: 400;
}

.calc-input {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-grey);
    border-radius: 0.875em;
    padding: 0.875em 1.25em;
    color: var(--white);
    font-family: 'InterTight', Arial, sans-serif;
    font-size: 1em;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    width: 100%;
}

.calc-input:focus {
    border-color: var(--yellow);
    background: rgba(255,213,0,0.05);
}

.calc-input::placeholder {
    color: rgba(255,255,255,0.25);
}

.calc-input-mono {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.1em;
    font-size: 0.95em;
}

/* Toggles */
.calc-toggles {
    display: flex;
    gap: 0.75em;
    flex-wrap: wrap;
}

.calc-toggle input {
    display: none;
}

.toggle-pill {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.6em 1.25em;
    border: 1px solid var(--border-grey);
    border-radius: 100px;
    font-size: 0.9em;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    user-select: none;
}

.toggle-pill:hover {
    border-color: rgba(255,213,0,0.5);
}

.calc-toggle input:checked + .toggle-pill {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

/* Upload zone */
.calc-upload {
    border: 1px dashed var(--border-grey);
    border-radius: 1.25em;
    display: block;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    overflow: hidden;
}

.calc-upload:hover {
    border-color: var(--yellow);
    background: rgba(255,213,0,0.03);
}

.upload-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75em;
    padding: 2.5em;
    text-align: center;
}

.upload-inner svg {
    opacity: 0.35;
}

.upload-inner p {
    font-size: 1em;
    opacity: 0.7;
}

.upload-inner span {
    font-size: 0.8em;
    opacity: 0.35;
}

.upload-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75em;
    padding: 0.75em;
}

.upload-preview-item {
    width: 80px;
    height: 80px;
    border-radius: 0.75em;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-grey);
}

.upload-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-preview-item .remove-photo {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    color: white;
    border: none;
    line-height: 1;
}

/* Summary box */
.calc-summary {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-grey);
    border-radius: 1.25em;
    padding: 1.25em 1.5em;
    margin-bottom: 1.5em;
    display: none;
    gap: 0.5em;
    flex-direction: column;
}

.calc-summary.visible {
    display: flex;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    gap: 1em;
}

.summary-row span:first-child {
    opacity: 0.45;
    white-space: nowrap;
}

.summary-row span:last-child {
    text-align: right;
    font-weight: 500;
}

/* Nav buttons */
.calc-nav {
    display: flex;
    gap: 1em;
    align-items: center;
}

.calc-btn-next,
.calc-btn-submit {
    background: var(--yellow);
    color: var(--black);
    border: none;
    border-radius: 1em;
    padding: 0.875em 2em;
    font-family: 'InterTight', Arial, sans-serif;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6em;
    transition: transform 0.2s, opacity 0.2s;
    letter-spacing: -0.02em;
    margin-left: auto;
}

.calc-btn-next:hover,
.calc-btn-submit:hover {
    transform: scale(1.03);
}

.calc-btn-back {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: 1em;
    padding: 0.875em 1.5em;
    font-family: 'InterTight', Arial, sans-serif;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6em;
    transition: border-color 0.2s;
}

.calc-btn-back:hover {
    border-color: var(--yellow);
}

.calc-btn-submit.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success */
.calc-success {
    text-align: center;
    padding: 2em 0;
}

.calc-success h3 {
    margin: 1em 0 0.5em;
}

.calc-success p {
    font-size: 1.25em;
    opacity: 0.6;
    line-height: 1.5;
}

.success-icon {
    width: 5em;
    height: 5em;
    background: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--black);
}

/* Validation error */
.calc-input.error {
    border-color: #ff4444;
}

.calc-error-msg {
    font-size: 0.8em;
    color: #ff6666;
    margin-top: 0.25em;
}

/* Responsive */
@media (max-width: 767px) {
    .calc-wrapper {
        padding: 2em 1.25em;
        border-radius: 1.5em;
    }

    .calc-fields-row {
        grid-template-columns: 1fr;
    }

    .calc-steps {
        gap: 0;
    }

    .step-name {
        display: none;
    }

    .calc-btn-next,
    .calc-btn-submit {
        width: 100%;
        justify-content: center;
    }

    .calc-nav {
        flex-direction: column-reverse;
    }

    .calc-btn-back {
        width: 100%;
        justify-content: center;
    }

    .calc-btn-next {
        margin-left: 0;
    }
}


/* ========== AUTOCOMPLETE DROPDOWN ========== */
.ac-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1px solid var(--border-grey);
    border-radius: 1em;
    list-style: none;
    max-height: 240px;
    overflow-y: auto;
    z-index: 999;
    padding: 0.375em;
    display: none;
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);

    /* Кастомний скролбар */
    scrollbar-width: thin;
    scrollbar-color: var(--border-grey) transparent;
}

.ac-dropdown::-webkit-scrollbar { width: 4px; }
.ac-dropdown::-webkit-scrollbar-track { background: transparent; }
.ac-dropdown::-webkit-scrollbar-thumb { background: var(--border-grey); border-radius: 4px; }

.ac-dropdown.open {
    display: block;
    animation: acFadeIn 0.15s ease forwards;
}

@keyframes acFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ac-item {
    padding: 0.6em 0.875em;
    border-radius: 0.6em;
    cursor: pointer;
    font-size: 0.95em;
    line-height: 1.3;
    transition: background 0.1s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--white);
}

.ac-item:hover,
.ac-item.ac-active {
    background: rgba(255, 213, 0, 0.12);
    color: var(--yellow);
}

.ac-item b {
    color: var(--yellow);
    font-weight: 700;
}

.ac-empty {
    padding: 0.75em 0.875em;
    font-size: 0.9em;
    color: rgba(255,255,255,0.3);
    text-align: center;
    cursor: default;
}


/* ========== VIN DECODER ========== */
.calc-input.autofilled {
    border-color: var(--yellow);
    background: rgba(255, 213, 0, 0.07);
    transition: border-color 0.3s, background 0.3s;
}

.vin-status {
    display: flex;
    align-items: center;
    gap: 0.4em;
    font-size: 0.8em;
    margin-top: 0.4em;
    padding: 0.4em 0.75em;
    border-radius: 0.5em;
    width: fit-content;
}

.vin-loading {
    color: rgba(255,255,255,0.45);
}

.vin-ok {
    color: var(--yellow);
    background: rgba(255,213,0,0.08);
}

.vin-err {
    color: rgba(255,100,100,0.85);
    background: rgba(255,100,100,0.07);
}

/* Spinner */
.vin-spinner {
    display: inline-block;
    width: 11px;
    height: 11px;
    border: 2px solid rgba(255,255,255,0.2);
    border-top-color: rgba(255,255,255,0.6);
    border-radius: 50%;
    animation: vinSpin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes vinSpin {
    to { transform: rotate(360deg); }
}
