/* ========== RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #ffffff;
    color: #1a1a2e;
    line-height: 1.5;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== TYPOGRAPHY ========== */
.section__header {
    text-align: center;
    margin-bottom: 48px;
}

.section__badge {
    display: inline-block;
    background: rgba(219, 29, 0, 0.1);
    color: #db1d00;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section__subtitle {
    color: #64748b;
    font-size: 18px;
}

.text-gradient {
    background: linear-gradient(135deg, #db1d00, #ff6b35);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #db1d00, #e84118);
    color: white;
    box-shadow: 0 4px 15px rgba(219, 29, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(219, 29, 0, 0.4);
}

.btn-large {
    padding: 16px 36px;
    font-size: 18px;
}

/* ========== HEADER (DARKER) ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(10, 15, 25, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 15, 25, 0.92);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height 0.3s ease;
}

.header.scrolled .nav {
    height: 65px;
}

.nav__logo img {
    height: 38px;
    transition: height 0.3s ease;
}

.header.scrolled .nav__logo img {
    height: 32px;
}

.nav__menu {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav__link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #db1d00;
    transition: width 0.3s;
}

.nav__link:hover {
    color: #db1d00;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    background: rgba(219, 29, 0, 0.15);
    border-radius: 40px;
    transition: all 0.3s;
}

.nav__phone i {
    font-size: 18px;
}

.nav__phone:hover {
    background: #db1d00;
    color: #ffffff;
}

.nav__social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icon {
    color: #ffffff;
    font-size: 20px;
    transition: all 0.3s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.social-icon:hover {
    background: #db1d00;
    color: #ffffff;
    transform: translateY(-2px);
}

.nav__toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #ffffff;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #252525 0%, #040710 100%);
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: url('../img/content/home.jpg') center/cover no-repeat;
    opacity: 0.2;
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero__title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero__text {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero__stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #db1d00;
}

.stat__label {
    font-size: 14px;
    opacity: 0.8;
    color: #fff;
}

/* ========== BENEFITS ========== */
.benefits {
    padding: 80px 0;
    background: #f8fafc;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 32px 24px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-card__icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(219, 29, 0, 0.1), rgba(255, 107, 53, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-card__icon i {
    font-size: 32px;
    color: #db1d00;
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.benefit-card p {
    color: #64748b;
    font-size: 15px;
}

/* ========== MAP SECTION ========== */
.map-section__wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-section__map {
    width: 100%;
    height: 400px;
    background: #f1f5f9;
}

.leaflet-control-attribution {
    display: none;
}

/* ========== COUNTRIES ========== */
.countries {
    padding: 50px 0 80px;
    min-height: 400px;
}

.countries__tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}


.countries__tab {
    background: #f1f5f9;
    border: none;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #1a1a2e;
}

.countries__tab:hover {
    background: #e2e8f0;
}

.countries__tab.active {
    background: linear-gradient(135deg, #db1d00, #e84118);
    color: white;
}

.countries__content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    transition: opacity 0.2s ease;
    min-height: 350px;
}


.countries__content.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading-spinner {
    text-align: center;
    padding: 60px 40px;
    color: #64748b;
    grid-column: 1 / -1;
}

.error {
    text-align: center;
    padding: 60px 40px;
    color: #dc2626;
    grid-column: 1 / -1;
}

.city-card {
    background: #f8fafc;
    padding: 24px;
    border-radius: 20px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid #e2e8f0;
}

.city-card:hover {
    transform: translateY(-3px);
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #db1d00;
}

.city-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.city-card p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 12px;
}

.city-card__price {
    display: inline-block;
    background: rgba(219, 29, 0, 0.1);
    color: #db1d00;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #64748b;
}

.error {
    text-align: center;
    padding: 40px;
    color: #dc2626;
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
    padding: 60px 0 80px;
    background: #f8fafc;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.step {
    flex: 1;
    min-width: 220px;
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -30px;
    width: 40px;
    height: 2px;
    background: #db1d00;
}

.step__number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #db1d00, #e84118);
    color: white;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.step__icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step__icon i {
    font-size: 32px;
    color: #db1d00;
}

.step h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.step p {
    color: #64748b;
    font-size: 14px;
}

/* ========== PAGE HEADER ========== */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 50px 0 50px;
    text-align: center;
    color: white;
    margin-top: 72px;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.8;
}

/* ========== CONTACT OFFICE ========== */
.contact-office {
    padding: 60px 0;
}

.office-card {
    background: white;
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.office-card__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.office-info {
    padding: 48px;
}

.office-badge {
    display: inline-block;
    background: rgba(219, 29, 0, 0.1);
    color: #db1d00;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.office-info h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #1a1a2e;
}

.office-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.detail-item {
    display: flex;
    gap: 16px;
}

.detail-item i {
    font-size: 24px;
    color: #db1d00;
    flex-shrink: 0;
}

.detail-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 4px;
}

.detail-item p,
.detail-item a {
    color: #1a1a2e;
    text-decoration: none;
    font-size: 16px;
}

.detail-link {
    color: #db1d00 !important;
    font-size: 13px !important;
    margin-top: 4px;
    display: inline-block;
}

.schedule-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.schedule-list li {
    font-size: 14px;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.office-social {
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
}

.office-social strong {
    display: block;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.social-link:hover {
    color: #db1d00;
}

.social-link i {
    font-size: 20px;
}

.office-map {
    background: #f1f5f9;
    min-height: 450px;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

/* ========== CONTACT FORM ========== */
.contact-form-section {
    padding: 0 0 80px;
}

.contact-form-wrapper {
    max-width: 100%;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 32px;
}

.contact-form-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.contact-form-header p {
    color: #64748b;
    font-size: 14px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 16px 8px 16px;
    font-size: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    transition: all 0.3s;
}


.form-group textarea {
    resize: vertical;
}

/* продовжити тут !!!! */

.form-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: #94a3b8;
    font-size: 14px;
    transition: all 0.3s;
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #db1d00;
    outline: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 6px;
    font-size: 11px;
    color: #db1d00;
}


.form-button {
    text-align: center;
    margin-top: 8px;
}

.form-button .btn {
    min-width: 200px;
}

/* ========== STORY SECTION ========== */
.story {
    padding: 80px 0;
}

.story__content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: center;
    align-items: center;
}

.story__text h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 16px 0 24px;
    color: #1a1a2e;
}

.story__text p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.story__stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.story__stats .stat {
    text-align: left;
}

.story__stats .stat__number {
    font-size: 32px;
    font-weight: 800;
    color: #db1d00;
}

.story__stats .stat__label {
    font-size: 14px;
    color: #64748b;
}

/* ========== VALUES SECTION ========== */
.values {
    padding: 60px 0 80px;
    background: #f8fafc;
}

.values__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 48px;
}

.value-card {
    background: white;
    padding: 32px 24px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-card__icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(219, 29, 0, 0.1), rgba(255, 107, 53, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-card__icon i {
    font-size: 32px;
    color: #db1d00;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.value-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

/* ========== GALLERY SECTION ========== */
.gallery-section {
    padding: 80px 0;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.gallery__item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 0.9;
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery__item:hover .gallery__overlay {
    transform: translateY(0);
}

.gallery__overlay span {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

/* ========== CTA SECTION ========== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    text-align: center;
    color: white;
}

.cta__content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta__content p {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 32px;
}

/* ========== SERVICES GRID ========== */
.services-grid {
    padding: 60px 0;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 32px 24px;
    border-radius: 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(219, 29, 0, 0.1), rgba(255, 107, 53, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card__icon i {
    font-size: 32px;
    color: #db1d00;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.service-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.service-features li i {
    color: #db1d00;
    font-size: 16px;
}

/* ========== WHY CHOOSE US ========== */
.why-choose {
    padding: 60px 0;
    background: #f8fafc;
}

.why-choose__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-choose__text h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 16px 0 20px;
    color: #1a1a2e;
}

.why-choose__text > p {
    color: #64748b;
    font-size: 16px;
    margin-bottom: 32px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature {
    display: flex;
    gap: 16px;
}

.feature i {
    font-size: 28px;
    color: #db1d00;
    flex-shrink: 0;
}

.feature strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.feature p {
    color: #64748b;
    font-size: 14px;
}

.why-choose__image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

/* ========== BOOKING STEPS ========== */
.booking-steps {
    padding: 60px 0 80px;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.booking-action {
    text-align: center;
    margin-top: 40px;
}

/* ========== SEARCH SECTION ========== */
.search-section {
    padding: 100px 0 40px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.search-card {
    background: white;
    border-radius: 32px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.search-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    color: #1a1a2e;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: end;
}

.form-row:last-child {
    grid-template-columns: 1fr 1fr auto;
}

.form-group {
    position: relative;
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 20px;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    font-size: 16px;
    transition: all 0.3s;
    background: white;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #db1d00;
    box-shadow: 0 0 0 3px rgba(219, 29, 0, 0.1);
}

.switch-group {
    display: flex;
    align-items: end;
}

.switch-btn {
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.switch-btn:hover {
    background: #db1d00;
    border-color: #db1d00;
    color: white;
}

.btn-search {
    width: 100%;
    height: 54px;
    font-size: 16px;
}

/* Suggestions */
.suggestions-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.suggestion-item:hover {
    background: #f8fafc;
}

/* Passenger options */
.passenger-box {
    width: 280px;
    right: auto;
    left: auto;
}

.passenger-option {
    padding: 16px;
    z-index: 9999;
}

.passenger-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.passenger-counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.passenger-counter button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}

.passenger-counter button:hover {
    background: #db1d00;
    color: white;
}

.passenger-confirm {
    width: 100%;
    padding: 10px;
    background: #db1d00;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 8px;
}

/* ========== MAP SECTION ========== */
.map-section {
    height: 400px;
    position: relative;
    z-index: 10;
}

.index-map-section{
    padding: 50px 0 0;
    position: relative;
}

.route-map {
    width: 100%;
    height: 100%;
}

/* ========== RESULTS SECTION ========== */
.results-section {
    padding: 40px 0 80px;
    background: #f8fafc;
}

.results-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.route-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.route-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
}

.route-info i {
    font-size: 28px;
    color: #db1d00;
}

.date-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
}

.results-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.passengers-details {
    flex: 1;
}

.passengers-details h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a2e;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    color: #64748b;
    font-size: 14px;
}

.price-total {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    font-weight: 700;
    font-size: 18px;
    color: #1a1a2e;
}

.action-buttons {
    display: flex;
    gap: 16px;
}

/* ========== MODAL ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: white;
    border-radius: 32px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #db1d00;
}

.modal-body {
    padding: 24px;
}

.modal-body .form-group {
    margin-bottom: 20px;
}

.modal-body .form-group input {
    width: 100%;
    padding: 16px 16px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
}

.modal-body .form-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: #94a3b8;
    transition: all 0.3s;
    pointer-events: none;
}

.modal-body .form-group input:focus + label,
.modal-body .form-group input:not(:placeholder-shown) + label {
    top: 6px;
    font-size: 11px;
    color: #db1d00;
}

.price-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    margin: 20px 0;
}

.price-summary strong {
    font-size: 24px;
    color: #db1d00;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ========== FOOTER ========== */
.footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo img {
    height: 36px;
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
}

.footer__col p {
    font-size: 14px;
    margin-bottom: 16px;
    color: #94a3b8;
}

.footer__col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer__col ul {
    list-style: none;
}

.footer__col ul li {
    margin-bottom: 10px;
}

.footer__col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer__col ul li a:hover,
.footer__col ul li i {
    color: #db1d00;
}

.footer__col ul li i {
    margin-right: 8px;
    width: 20px;
}

.footer__social {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.footer__social a {
    color: #94a3b8;
    font-size: 20px;
    transition: color 0.3s;
}

.footer__social a:hover {
    color: #db1d00;
}

.footer__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #94a3b8;
}

/* Помилки валідації */
.input-wrapper.error input {
    border-color: #dc2626;
    background-color: #fef2f2;
}

.field-error {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    margin-left: 12px;
}

.route-error {
    background: #fef2f2;
    border: 1px solid #dc2626;
    border-radius: 12px;
    padding: 12px 16px;
    color: #dc2626;
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
    display: none;
}

/* Запобігаємо оновленню сторінки при кліку на кнопки */
.passenger-minus,
.passenger-plus,
.passenger-confirm {
    cursor: pointer;
}

.passenger-counter button {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
}

.passenger-counter button:hover {
    background: #db1d00;
    color: white;
}

/* Кастомна модалка */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.custom-modal-container {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    z-index: 10001;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-modal-header {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.custom-modal-header i {
    margin-bottom: 10px;
}

.custom-modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #333;
}

.custom-modal-body {
    padding: 30px 20px;
    text-align: center;
}

.custom-modal-body p {
    margin: 10px 0;
    color: #555;
}

.custom-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.custom-modal-btn {
    background: #1abc9c;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.custom-modal-btn:hover {
    background: #16a085;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .nav__list {
        gap: 24px;
    }
    
    .nav__phone span {
        display: none;
    }
    
    .nav__phone {
        padding: 8px 12px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav__menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #0f172a;
        justify-content: center;
        transition: left 0.3s;
        z-index: 999;
    }
    
    .nav__menu.active {
        left: 0;
    }
    
    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    
    .nav__link {
        font-size: 18px;
    }

    .nav__actions {
        gap: 16px;
    }
    
    .nav__social {
        gap: 8px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .nav__toggle {
        display: block;
    }

    .header.scrolled .nav {
        height: 65px;
    }

    .nav__menu.active ~ .nav__actions .nav__toggle i {
        transform: rotate(90deg);
    }

    .hero {
        min-height: 70vh;
        padding: 80px 0 40px;
    }
    
    .hero__title {
        font-size: 32px;
    }
    
    .hero__text {
        font-size: 16px;
    }
    
    .hero__stats {
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .stat__number {
        font-size: 28px;
    }
    
    .section__title {
        font-size: 28px;
    }
    
    
    .countries__tabs {
        gap: 12px;
    }
    
    .countries__tab {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .map-section__map {
        height: 250px;
    }

    .step:not(:last-child)::after {
        display: none;
    }
    
    .search-card {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .form-row:last-child {
        grid-template-columns: 1fr;
    }
    
    .switch-group {
        justify-content: center;
    }
    
    .results-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .results-body {
        flex-direction: column;
    }
    
    .action-buttons {
        width: 100%;
    }
    
    .action-buttons .btn {
        flex: 1;
    }
    
    .passenger-box {
        width: 100%;
        left: 0;
    }

    .btn-search{
        margin-top: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer__col ul li i {
        display: inline-block;
    }

    .page-header {
        margin-top: 65px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .office-card__content {
        grid-template-columns: 1fr;
    }
    
    .office-info {
        padding: 32px;
    }
    
     .office-info h2 {
        font-size: 24px;
    }
    
    .office-map {
        min-height: 300px;
    }
    
    .map-container {
        min-height: 300px;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .search-card .form-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .contact-form-header h3 {
        font-size: 20px;
    }

     .why-choose__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-choose__text h2 {
        font-size: 28px;
    }
    
    .services__grid {
        gap: 20px;
    }
    
    .booking-steps .steps {
        gap: 30px;
    }

    .footer__col{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__col p{
        max-width: 250px;
        width: 100%;
    }

    .footer__social{
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav__phone span {
        display: none;
    }
    
    .nav__actions{
        margin-left: 20px;
        gap: 5px;
    }
    
    .nav__phone i {
        font-size: 20px;
    }

     .search-card h2 {
        font-size: 22px;
    }
    
    .route-info h3 {
        font-size: 18px;
    }
    
    .route-info i {
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .story h2 {
        font-size: 28px;
    }

    .story__stats .stat__number {
        font-size: 20px;
    }
}