:root {
    --yellow: #f2cf1f;
    --black: #111111;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #2a2a2a, #0d0d0d 55%);
    color: var(--white);
}

.page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.card {
    width: min(560px, 100%);
    border-radius: 20px;
    background: rgba(9, 10, 13, 0.92);
    color: var(--white);
    border: 1px solid rgba(242, 207, 31, 0.35);
    padding: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.top-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: -14px 0 22px;
}

.top-nav-link {
    min-width: 104px;
    text-align: center;
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(242, 207, 31, 0.45);
    color: var(--yellow);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    background: rgba(242, 207, 31, 0.08);
}

.top-nav-link.active {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
}

.brand {
    width: 162px;
    height: 162px;
    margin: -10px auto 20px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(242, 207, 31, 0.35);
    background: #151515;
}

.brand-logo {
    width: 162px;
    height: 162px;
    display: block;
    object-fit: cover;
}

.phone-link {
    display: block;
    text-align: center;
    margin: -16px 0 16px;
    transform: translateY(3px);
    color: #f2cf1f;
    font-weight: 800;
    font-size: 17px;
    text-decoration: none;
}

.phone-link:hover {
    text-decoration: underline;
}

.phone-link-centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 0;
    padding-bottom: 0;
    transform: none;
}

.subtitle {
    margin: 12px 0 20px;
    opacity: 0.8;
    text-align: center;
    font-weight: 600;
}

.form {
    display: grid;
    gap: 12px;
}

label {
    display: grid;
    gap: 6px;
    font-size: 14px;
    position: relative;
}

.field {
    gap: 0;
}

.required-field {
    position: relative;
}

.required-field::before {
    content: "*";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--yellow);
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    z-index: 3;
    pointer-events: none;
}

.field-with-icon {
    position: relative;
}

.swap-wrap {
    display: flex;
    justify-content: center;
    margin: -7px 0;
}

.swap-wrap .swap-btn {
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--yellow);
    font-size: 17px;
    line-height: 1;
    padding: 0;
    margin: 0;
    margin-top: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.swap-btn:hover {
    opacity: 0.85;
}

.field-with-icon input {
    padding-left: 42px;
    padding-right: 42px;
}

.required-field:not(.field-with-icon):not(.field-datetime) input,
.required-field textarea {
    padding-left: 28px;
}

.required-field.field-with-icon::before {
    left: 8px;
}

.required-field.field-datetime .field-hint {
    left: 24px;
}

.field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--yellow);
    font-size: 18px;
    line-height: 1;
    pointer-events: none;
    z-index: 2;
}

.clear-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 0;
    border: 0;
    background: transparent;
    color: var(--yellow);
    font-size: 22px;
    font-weight: 800;
    line-height: 22px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-align: center;
    z-index: 3;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    outline: none;
}

.clear-btn:hover {
    opacity: 0.85;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

input {
    width: 100%;
    height: 52px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #3b3b3b;
    background: #1a1b1f;
    color: var(--white);
    font-size: 16px;
}

select {
    width: 100%;
    height: 52px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #3b3b3b;
    background: #1a1b1f;
    color: var(--white);
    font-size: 16px;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

input[readonly] {
    color: rgba(255, 255, 255, 0.9);
    background: #17181c;
}

textarea {
    width: 100%;
    min-height: 108px;
    resize: vertical;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #3b3b3b;
    background: #1a1b1f;
    color: var(--white);
    font-size: 16px;
    font-family: inherit;
}

textarea::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.field-datetime {
    position: relative;
    width: 100%;
    display: block;
}

.field-datetime input {
    display: block;
    width: 100%;
    inline-size: 100%;
    min-width: 0;
    max-width: 100%;
    height: 52px;
    block-size: 52px;
    -webkit-appearance: none;
    appearance: none;
}

input[type="datetime-local"],
input[type="date"] {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.field-datetime .field-hint {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.65);
    pointer-events: none;
    font-size: 16px;
}

.field-datetime input:focus + .field-hint,
.field-datetime input:valid + .field-hint {
    display: none;
}

button {
    margin-top: 6px;
    padding: 14px;
    border: 0;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--black);
    font-weight: 800;
    cursor: pointer;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#submit-btn {
    margin-bottom: 0;
}

.status {
    min-height: 24px;
    margin: 8px 0 0;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    white-space: pre-line;
}

.estimate-box {
    position: relative;
    border: 1px solid rgba(242, 207, 31, 0.35);
    border-radius: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
}

.estimate-box p {
    margin: 4px 0;
    text-align: center;
}

#estimate-meta {
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#estimate-price {
    font-size: 24px;
    font-weight: 800;
}

.estimate-clear-btn {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    color: var(--yellow);
    font-size: 22px;
    font-weight: 800;
    line-height: 22px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-align: center;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    outline: none;
}

.estimate-clear-btn:hover {
    opacity: 0.85;
}

.suggestions {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 4px;
    z-index: 9999;
    background: #161616;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    max-height: 220px;
    overflow-y: auto;
}

.suggestions.active {
    display: block;
}

.suggestion-item {
    width: 100%;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: left;
    padding: 14px 14px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 600;
    cursor: pointer;
}

.admin-mode-banner {
    margin: -6px 0 16px;
    border: 1px solid rgba(242, 207, 31, 0.38);
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(242, 207, 31, 0.08);
}

.admin-mode-banner-static {
    margin-top: 0;
}

.admin-mode-banner-title {
    color: var(--yellow);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.admin-mode-banner-text {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 700;
}

.admin-inline-actions {
    display: grid;
    gap: 10px;
}

.admin-secondary-btn {
    background: rgba(255, 255, 255, 0.08);
    color: var(--yellow);
    border: 1px solid rgba(242, 207, 31, 0.38);
}

.admin-note {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

.admin-field-label {
    display: block;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 700;
}

/* TOUR PAGE */
.tour-title {
    margin: 2px 0 10px;
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    color: var(--yellow);
}

.tour-intro {
    margin: 0 0 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.45;
    font-size: 14px;
}

.tour-service-meta {
    margin: 0 0 14px;
    text-align: center;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 700;
}

.tour-list {
    display: grid;
    gap: 12px;
    margin-top: 6px;
}

.tour-item {
    border: 1px solid rgba(242, 207, 31, 0.35);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    padding: 14px;
}

.tour-item h3 {
    margin: 0 0 6px;
    font-size: 18px;
    color: var(--yellow);
}

.tour-item p {
    margin: 0 0 6px;
    line-height: 1.45;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.92);
}

.tour-badge {
    display: inline-block;
    margin: 0 0 8px;
    background: var(--yellow);
    color: var(--black);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.3px;
    padding: 4px 8px;
    border-radius: 999px;
}

.tour-item-meta {
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 800;
}

.tour-item-desc {
    color: rgba(255, 255, 255, 0.93);
}

.tour-points {
    margin: 8px 0 10px;
    padding-left: 18px;
}

.tour-points li {
    margin: 4px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.92);
}

.tour-itinerary {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.tour-card-cta {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    background: var(--yellow);
    color: var(--black);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 800;
    font-size: 13px;
}

.tour-why,
.tour-faq {
    margin-top: 14px;
    border: 1px solid rgba(242, 207, 31, 0.35);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    padding: 14px;
}

.tour-why h2,
.tour-faq h2 {
    margin: 0 0 8px;
    color: var(--yellow);
    font-size: 18px;
}

.tour-why ul {
    margin: 0;
    padding-left: 18px;
}

.tour-why li {
    margin: 4px 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
}

.tour-faq p {
    margin: 6px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.92);
}

.tour-actions {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.tour-actions a {
    text-align: center;
    text-decoration: none;
    border-radius: 999px;
    padding: 14px;
    font-weight: 800;
}

.tour-primary {
    background: var(--yellow);
    color: var(--black);
}

.tour-secondary {
    background: rgba(242, 207, 31, 0.08);
    color: var(--yellow);
    border: 1px solid rgba(242, 207, 31, 0.45);
}

/* TOUR BOOKING */
.tour-offer-box {
    border-color: rgba(242, 207, 31, 0.55);
}

#tour-offer-name {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

#tour-offer-price {
    font-size: 24px;
    font-weight: 900;
    color: var(--yellow);
}

.tour-time-wrap {
    margin-top: 2px;
}

.tour-time-title {
    margin: 0 0 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
}

.tour-time-options {
    display: flex;
    gap: 10px;
}

.tour-time-option {
    flex: 1;
    display: block;
    margin: 0;
}

.tour-time-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tour-time-option span {
    display: block;
    height: 52px;
    border-radius: 14px;
    border: 1px solid #3b3b3b;
    background: #1a1b1f;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    line-height: 52px;
    cursor: pointer;
}

.tour-time-option input:checked + span {
    border-color: var(--yellow);
    color: var(--yellow);
    background: rgba(242, 207, 31, 0.08);
}
