/* ComaxTour */

:root {
    --brand-orange: #f26d2a;
    --brand-teal: #0f6f85;
    --header-border: #ececec;
    --call-border: #e8e8e8;
    --call-label: #9aa0a6;
}

.site-header {
    background: #fff;
    border-top: 3px solid var(--brand-orange);
    box-shadow: 0 1px 0 var(--header-border);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    padding: 10px 0;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    display: block;
    height: 48px;
    width: auto;
}

.header-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    border: 1px solid var(--call-border);
    border-radius: 22px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-call:hover {
    border-color: #d9d9d9;
    box-shadow: 0 4px 14px rgba(15, 111, 133, 0.08);
    color: inherit;
}

.header-call-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--brand-orange);
    flex-shrink: 0;
}

.header-call-icon img {
    display: block;
    width: 20px;
    height: 20px;
}

.header-call-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.header-call-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--call-label);
}

.header-call-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-teal);
    white-space: nowrap;
}

.hero {
    position: relative;
    min-height: 560px;
    background: #0b4f5f url("../img/hero.jpg") center / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 70, 86, 0.42) 0%, rgba(12, 70, 86, 0.55) 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding: 28px 0 64px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 54px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(120, 136, 146, 0.55);
    color: #eef3f5;
    font-size: 11px;
    line-height: 1.3;
}

.hero-title {
    margin: 0 0 28px;
    color: #fff;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.search-card {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 32px 32px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.trip-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.trip-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #4b5563;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.trip-btn.is-active {
    background: var(--brand-orange);
    color: #fff;
}

.trip-btn-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: currentColor;
}

.trip-btn-icon-oneway {
    -webkit-mask: url("../img/arrow.svg") center / contain no-repeat;
    mask: url("../img/arrow.svg") center / contain no-repeat;
}

.trip-btn-icon-round {
    -webkit-mask: url("../img/round.svg") center / contain no-repeat;
    mask: url("../img/round.svg") center / contain no-repeat;
}

.search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 16px 18px;
    align-items: end;
}

.search-card.is-round .search-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
}

.search-field {
    position: relative;
    min-width: 0;
}

.search-label {
    display: block;
    margin-bottom: 8px;
    color: #1f2937;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.search-input {
    position: relative;
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 14px 0 8px;
    background: #fff;
    border-radius: 12px;
}

.search-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 10px;
    border-radius: 10px;
    background: var(--brand-orange);
    flex-shrink: 0;
}

.search-input-icon img {
    display: block;
    width: 16px;
    height: 16px;
}

.search-input input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #111827;
    font-size: 14px;
}

.search-input input::placeholder {
    color: #9ca3af;
}

.js-date-native {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 0 28px;
    border: 0;
    border-radius: 12px;
    background: var(--brand-orange);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}

.search-submit img {
    width: 16px;
    height: 16px;
}

.search-submit:hover {
    background: #e05f1f;
}

.location-suggest {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 5;
    max-height: 240px;
    overflow: auto;
    padding: 6px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

.location-suggest.is-open {
    display: block;
}

.location-suggest button {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    background: transparent;
    text-align: left;
    font-size: 14px;
    color: #111827;
}

.location-suggest button:hover,
.location-suggest button.is-active {
    background: #f3f4f6;
}

.location-suggest span {
    display: block;
    color: #6b7280;
    font-size: 12px;
}

.is-hidden {
    display: none;
}

@media (max-width: 991.98px) {
    .search-grid,
    .search-card.is-round .search-grid {
        grid-template-columns: 1fr 1fr;
    }

    .search-submit {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .site-header-inner {
        min-height: 72px;
        gap: 12px;
    }

    .site-logo img {
        height: 40px;
    }

    .header-call {
        padding: 6px 10px 6px 6px;
        gap: 8px;
    }

    .header-call-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .header-call-number {
        font-size: 14px;
    }

    .hero {
        min-height: 0;
    }

    .hero-inner {
        padding: 20px 0 36px;
    }

    .hero-badge {
        margin-bottom: 28px;
        font-size: 10px;
    }

    .hero-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .search-card {
        padding: 20px 16px 18px;
        border-radius: 24px;
    }

    .search-grid,
    .search-card.is-round .search-grid {
        grid-template-columns: 1fr;
    }
}
