:root {
    /* Night Logistics Palette */
    --bg-body: #0f172a;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --primary: #f59e0b;
    /* Amber */
    --primary-hover: #d97706;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --accent-blue: #3b82f6;

    --font-main: 'Inter', sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
    --radius: 12px;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    gap: 10px;
}

.btn--primary {
    background-color: var(--primary);
    color: #0f172a;
}

.btn--primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn--outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn--outline:hover {
    background-color: var(--primary);
    color: #0f172a;
}

.btn--white {
    background-color: var(--white);
    color: var(--bg-body);
}

.btn--white:hover {
    background-color: var(--primary);
    color: #0f172a;
}

/* CTA Button - специальный стиль для кнопки в CTA секции */
.btn--cta {
    background-color: #ffffff;
    color: #0f172a;
    border: 2px solid #ffffff;
    font-weight: 700;
}

.btn--cta:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #0f172a;
    transform: translateY(-2px);
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn--lg {
    font-size: 1.1rem;
    padding: 16px 40px;
}

.btn--full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__link {
    color: var(--text-muted);
    font-weight: 500;
}

.nav__link:hover {
    color: var(--primary);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: transform 0.25s ease-out, opacity 0.25s ease-out;
    will-change: transform, opacity;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    /* Stack children vertically */
    justify-content: space-between;
    /* Push stats to bottom */
    background-image: url('hero_bg_renault_master.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 0;
    padding-top: var(--header-height);
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.4));
    z-index: 1;
}

.hero__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically in the remaining space */
    flex-grow: 1;
    /* Take up available space */
    width: 100%;
    gap: 2rem;
}

.hero__content {
    max-width: 700px;
}

.hero__title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #cbd5e1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__stats {
    position: relative;
    z-index: 2;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    width: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(5px);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item__number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-item__text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section__title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section__subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* Features */
.features {
    background-color: var(--bg-body);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius);
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    background-color: var(--bg-card-hover);
    border-color: var(--primary);
}

.feature-card__icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card__text {
    color: var(--text-muted);
}

/* Directions */
.directions {
    background-color: #0b1120;
    /* Slightly darker */
}

.directions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.direction-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: 0.3s;
    cursor: pointer;
}

.direction-card:hover {
    background-color: var(--bg-card-hover);
    transform: translateX(5px);
}

.direction-card__icon {
    color: var(--primary);
    font-size: 1.5rem;
}

.direction-card__title {
    font-size: 1.1rem;
    margin: 0;
}

/* Fleet */
.fleet {
    background-color: var(--bg-body);
}

.fleet__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.fleet-card {
    background-color: var(--bg-card);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.fleet-card--featured {
    border-color: var(--primary);
    background-color: #1e293b;
    transform: scale(1.05);
    z-index: 10;
    box-shadow: var(--shadow);
}

.fleet-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: #0f172a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.fleet-card__icon {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-align: center;
}

.fleet-card--featured .fleet-card__icon {
    color: var(--primary);
}

.fleet-card__title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.fleet-card__specs {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.fleet-card__specs li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fleet-card__desc {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Steps */
.steps {
    background-color: #0b1120;
}

.steps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-item {
    position: relative;
}

.step-item__number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -20px;
    left: -10px;
    z-index: 0;
}

.step-item__title {
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.step-item__desc {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
}

/* Reviews Carousel */
.reviews {
    background-color: var(--bg-body);
    overflow: hidden;
}

.reviews__carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 60px;
}

.reviews__carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.reviews__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.review-card {
    min-width: 100%;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
    border-radius: var(--radius);
    padding: 3rem 2.5rem;
    border: 1px solid transparent;
    background-clip: padding-box;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), #d97706, var(--primary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.review-card::after {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.08;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.review-card__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.review-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-body);
    flex-shrink: 0;
}

.review-card__author-info {
    text-align: left;
}

.review-card__name {
    font-size: 1.25rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.review-card__rating {
    display: flex;
    gap: 0.25rem;
}

.review-card__star {
    color: var(--primary);
    font-size: 0.9rem;
}

.review-card__content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.review-card__text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
    font-style: italic;
    position: relative;
}

.reviews__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(30, 41, 59, 0.9);
    border: 2px solid var(--primary);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.reviews__btn:hover {
    background-color: var(--primary);
    color: var(--bg-body);
    transform: translateY(-50%) scale(1.1);
}

.reviews__btn:active {
    transform: translateY(-50%) scale(0.95);
}

.reviews__btn--prev {
    left: 0;
}

.reviews__btn--next {
    right: 0;
}

.reviews__dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.reviews__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reviews__dot:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.reviews__dot.active {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary), #d97706);
    padding: 80px 0;
    text-align: center;
}

.cta__title {
    color: #0f172a;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta__subtitle {
    color: #0f172a;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #020617;
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer__desc {
    color: var(--text-muted);
    max-width: 300px;
}

.footer__title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer__nav li {
    margin-bottom: 0.8rem;
}

.footer__nav a {
    color: var(--text-muted);
}

.footer__nav a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer__link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

.footer__text {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .fleet-card--featured {
        transform: none;
    }

    .hero__title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .header__btn {
        display: none;
    }

    .hero {
        background-position: 83% center;
    }

    .burger-menu {
        display: flex;
        z-index: 1002;
    }

    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* Mobile Menu Backdrop */
    .mobile-menu-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.7);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease-out, visibility 0.25s ease-out;
        z-index: 999;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    .mobile-menu-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85%);
        height: 100vh;
        background: linear-gradient(135deg, var(--bg-card) 0%, #0f172a 100%);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        transform: translate3d(100%, 0, 0);
        transition: transform 0.3s ease-out;
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        z-index: 1001;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(245, 158, 11, 0.3);
    }

    .nav.active {
        transform: translate3d(0, 0, 0);
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 100px;
        padding: 0 20px;
    }

    .nav__item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 0;
        transition: opacity 0.2s ease-out;
    }

    .nav.active .nav__item {
        opacity: 1;
    }

    .nav.active .nav__item:nth-child(1) {
        transition-delay: 0.05s;
    }

    .nav.active .nav__item:nth-child(2) {
        transition-delay: 0.1s;
    }

    .nav.active .nav__item:nth-child(3) {
        transition-delay: 0.15s;
    }

    .nav.active .nav__item:nth-child(4) {
        transition-delay: 0.2s;
    }

    .nav.active .nav__item:nth-child(5) {
        transition-delay: 0.25s;
    }

    .nav__link {
        font-size: 1.25rem;
        font-weight: 600;
        padding: 1.25rem 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--text-main);
        transition: all 0.3s ease;
        position: relative;
    }

    .nav__link::after {
        content: '\f054';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.875rem;
        color: var(--primary);
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.3s ease;
    }

    .nav__link:hover {
        color: var(--primary);
        padding-left: 1.5rem;
        background-color: rgba(245, 158, 11, 0.1);
    }

    .nav__link:hover::after {
        opacity: 1;
        transform: translateX(0);
    }

    /* Mobile Menu Close Button Area */
    .nav__list::before {
        content: 'Меню';
        display: block;
        position: absolute;
        top: 30px;
        left: 20px;
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary);
        letter-spacing: -0.5px;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__stats {
        display: none;
        /* Hide stats on mobile to save space */
    }

    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__desc {
        margin: 0 auto;
    }

    .footer__col {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    /* Reviews carousel mobile adjustments */
    .reviews__carousel {
        padding: 1rem 45px;
    }

    .review-card {
        padding: 2rem 1.5rem;
    }

    .review-card::after {
        font-size: 5rem;
        top: 15px;
        right: 20px;
    }

    .review-card__avatar {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .review-card__text {
        font-size: 1rem;
    }

    .review-card__name {
        font-size: 1.05rem;
    }

    .review-card__rating {
        gap: 0.2rem;
    }

    .review-card__star {
        font-size: 0.8rem;
    }

    .reviews__btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .reviews__btn--prev {
        left: 0;
    }

    .reviews__btn--next {
        right: 0;
    }

    .reviews__dot {
        width: 10px;
        height: 10px;
    }
}

/* Modal Styles */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: var(--bg-card);
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius);
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-backdrop.active .modal {
    transform: translateY(0);
}

.modal--small {
    max-width: 400px;
}

.modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
    padding: 5px;
}

.modal__close:hover {
    color: var(--white);
}

.modal__content {
    padding: 2.5rem;
}

.modal__title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-align: center;
}

.modal__subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.radio-label input {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input:checked+.radio-custom {
    border-color: var(--primary);
}

.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.radio-label input:checked+.radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-label input:checked~span {
    color: var(--white);
}

/* Utility Classes */
.hidden {
    display: none;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    font-size: 4rem;
    color: #22c55e;
    margin-bottom: 1.5rem;
}

.success-title {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.success-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* intl-tel-input Custom Styles */
.iti {
    width: 100%;
}

.iti__flag-container {
    background-color: rgba(15, 23, 42, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.iti__selected-flag {
    background-color: transparent;
    padding: 0 12px;
}

.iti__selected-flag:hover {
    background-color: rgba(15, 23, 42, 0.8);
}

.iti__country-list {
    position: absolute !important;
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    color: var(--text-main);
    max-height: 200px;
    z-index: 2000 !important;
    /* Higher than modal backdrop (1060) */
}

.iti__country {
    padding: 8px 12px;
    color: var(--text-main);
}

.iti__country:hover {
    background-color: var(--bg-card-hover);
}

.iti__country.iti__highlight {
    background-color: var(--bg-card-hover);
}

.iti__country-name,
.iti__dial-code {
    color: var(--text-main);
}

.iti__search-input {
    background-color: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 8px 12px;
}

.iti__search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.form-error.active {
    display: block;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #ef4444;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .modal__content {
        padding: 1.5rem;
    }

    .modal__title {
        font-size: 1.5rem;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .iti__country-list {
        max-height: 150px;
    }
}