/* Explain: Component styles for buttons, cards, forms, and the chat widget. */
a:focus-visible,
button:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.9), rgba(250, 249, 246, 0.62));
    backdrop-filter: blur(18px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(250, 249, 246, 0.82), rgba(255, 255, 255, 0.55));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(88, 129, 87, 0.38);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    position: absolute;
    inset: 1.1rem;
    border: 1px solid rgba(250, 249, 246, 0.62);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    height: min(70vh, 660px);
    min-height: 460px;
    border-radius: 999px 999px 2.5rem 2.5rem;
}

.arch-frame-medium {
    height: 580px;
    max-width: 450px;
    border-radius: 999px 999px 2.1rem 2.1rem;
}

.floating-note {
    position: absolute;
    right: -1.2rem;
    bottom: 3rem;
    display: flex;
    max-width: 250px;
    align-items: center;
    gap: 0.85rem;
    border-radius: 999px;
    padding: 1rem 1.2rem;
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.5;
}

.btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    padding: 0.85rem 2rem;
    color: var(--background-color);
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: var(--shadow-button);
    transition: background-color 300ms ease, transform 300ms ease;
}

.btn-solid:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--glass-bg);
    padding: 0.85rem 2rem;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    transition: border-color 300ms ease, background-color 300ms ease;
}

.btn-outline:hover {
    border-color: var(--accent-color);
    background: var(--surface-color);
}

.btn-contact {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.6rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease;
}

.btn-contact--call {
    border: 0;
    background: var(--primary-color);
    color: var(--background-color);
    box-shadow: var(--shadow-button);
}

.btn-contact--call:hover {
    background: var(--accent-color);
}

.btn-contact--whatsapp {
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-color);
}

.btn-contact--whatsapp:hover {
    border-color: var(--accent-color);
    background: var(--surface-color);
}

.btn-contact--whatsapp i {
    color: var(--accent-color);
}

.field-input {
    width: 100%;
    min-height: 3rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--field-bg);
    padding: 0.7rem 1.2rem;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.field-input::placeholder {
    color: var(--text-muted);
    opacity: 0.85;
}

.field-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--sage-soft);
}

textarea.field-input {
    min-height: 8rem;
    border-radius: 1.5rem;
    padding: 1rem 1.2rem;
    resize: vertical;
}

.field-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234B6353'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    background-size: 0.7rem;
    padding-right: 2.6rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.booking-form {
    border-radius: 2.4rem;
    padding: clamp(1.4rem, 3.5vw, 2.2rem);
}

.form-status.success {
    color: var(--primary-color);
}

.form-status.error {
    color: #9B4A3D;
}

.price-panel {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: linear-gradient(150deg, rgba(233, 237, 223, 0.92), rgba(255, 255, 255, 0.72));
    padding: 1.25rem 1.4rem;
}

.quiet-detail,
.service-card,
.review-card,
.route-card {
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    background: rgba(250, 249, 246, 0.62);
}

.quiet-detail {
    padding: 1.4rem;
}

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.7rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
}

.quiet-detail p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.service-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 1.8rem;
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(88, 129, 87, 0.5);
    box-shadow: var(--shadow-soft);
}

.service-icon {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--accent-color);
    font-size: 1.1rem;
}

.spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    background: var(--surface-color);
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.seat-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.4rem;
    background: var(--field-bg);
    padding: 0.95rem 1.1rem;
    cursor: pointer;
    transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.seat-option:hover {
    border-color: var(--accent-color);
}

.seat-option:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--sage-soft);
}

.seat-option:has(.seat-checkbox:checked) {
    border-color: var(--accent-color);
    background: var(--sage-soft);
}

.seat-checkbox {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    accent-color: var(--primary-color);
}

.seat-title {
    display: block;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.seat-note {
    display: block;
    margin-top: 0.2rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.stat-card {
    border: 1px solid var(--glass-border);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.55);
    padding: 1.15rem;
    text-align: center;
}

.fleet-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 2.2rem;
    background: var(--background-color);
    box-shadow: var(--shadow-soft);
}

.fleet-card-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-color);
}

.fleet-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.fleet-card:hover .fleet-card-media img {
    transform: scale(1.04);
}

.route-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.2rem;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.route-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.review-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 1.6rem;
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: 1.4rem;
    background: rgba(250, 249, 246, 0.62);
}

.faq-question {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    background: none;
    padding: 1.15rem 1.4rem;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
}

.faq-answer {
    padding: 0 1.4rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.8;
}

.faq-answer[hidden] {
    display: none;
}

.faq-chevron {
    color: var(--accent-color);
    transition: transform 250ms ease;
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
}

.chat-widget {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 55;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.chat-toggle {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    gap: 0.6rem;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    padding: 0.85rem 1.35rem;
    color: var(--background-color);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-button);
    transition: background-color 300ms ease;
}

.chat-toggle:hover {
    background: var(--accent-color);
}

.chat-panel {
    display: none;
    width: min(23rem, calc(100vw - 2rem));
    max-height: min(34rem, calc(100dvh - 7rem));
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: var(--background-color);
    box-shadow: 0 30px 80px rgba(31, 46, 35, 0.22);
}

.chat-panel.is-open {
    display: flex;
}

.chat-avatar {
    display: inline-flex;
    width: 2.4rem;
    height: 2.4rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--accent-color);
}

.chat-close {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
}

.chat-close:hover {
    color: var(--text-color);
}

.chat-messages {
    display: flex;
    max-height: 15rem;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.6rem;
    overflow-y: auto;
    background: var(--surface-color);
    padding: 1rem;
}

.chat-bubble {
    max-width: 88%;
    border-radius: 1.1rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.86rem;
    line-height: 1.6;
}

.chat-bubble--agent {
    align-self: flex-start;
    border: 1px solid var(--glass-border);
    background: #ffffff;
    color: var(--text-color);
}

.chat-bubble--visitor {
    align-self: flex-end;
    background: var(--primary-color);
    color: var(--background-color);
}

.chat-bubble--note {
    align-self: center;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-align: center;
}

.chat-quick {
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--surface-color);
    padding: 0.35rem 0.7rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
}

.chat-quick:hover {
    border-color: var(--accent-color);
    color: var(--text-color);
}

.chat-send {
    display: inline-flex;
    min-height: 3rem;
    min-width: 3rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--background-color);
}

.chat-send:hover {
    background: var(--accent-color);
}

@media (min-width: 768px) {
    .chat-widget {
        right: 1.75rem;
        bottom: 1.75rem;
    }
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .arch-frame-large,
    .arch-frame-medium {
        height: 460px;
        min-height: 0;
    }

    .arch-frame-large {
        margin-right: auto;
        margin-left: auto;
        width: min(100%, 450px);
    }

    .floating-note {
        position: relative;
        right: auto;
        bottom: auto;
        margin: -2.5rem auto 0;
    }
}

.hero-lux-scrim {
    background:
        linear-gradient(90deg, rgba(11, 22, 17, 0.94) 0%, rgba(11, 22, 17, 0.78) 40%, rgba(11, 22, 17, 0.3) 100%),
        linear-gradient(180deg, rgba(11, 22, 17, 0.5) 0%, rgba(11, 22, 17, 0.1) 38%, rgba(11, 22, 17, 0.78) 100%);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.hero-eyebrow::before {
    display: inline-block;
    width: 2.6rem;
    height: 1px;
    background: #D9B26A;
    content: "";
}

.hero-contact {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.8rem 1.05rem;
    backdrop-filter: blur(14px);
    transition: background-color 300ms ease, border-color 300ms ease, transform 300ms ease;
}

.hero-contact:hover {
    border-color: rgba(217, 178, 106, 0.7);
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.hero-contact-icon {
    display: inline-flex;
    width: 2.6rem;
    height: 2.6rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #C79A52, #9A6B22);
    color: #ffffff;
    font-size: 1.05rem;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.1rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #CB9F57, #9C6E26);
    padding: 0.9rem 2.1rem;
    color: #201703;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 18px 40px rgba(156, 110, 38, 0.34);
    transition: transform 300ms ease, box-shadow 300ms ease, filter 300ms ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 22px 50px rgba(156, 110, 38, 0.44);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.1rem;
    border: 1px solid rgba(37, 211, 102, 0.55);
    border-radius: 999px;
    background: rgba(37, 211, 102, 0.16);
    padding: 0.9rem 2rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(14px);
    transition: background-color 300ms ease, border-color 300ms ease, transform 300ms ease;
}

.btn-whatsapp i {
    color: #57E28C;
    font-size: 1.15rem;
}

.btn-whatsapp:hover {
    border-color: #25D366;
    background: rgba(37, 211, 102, 0.32);
    transform: translateY(-2px);
}

.site-contact-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--glass-border);
    background: rgba(251, 250, 245, 0.95);
    box-shadow: 0 -14px 34px rgba(24, 36, 32, 0.14);
    backdrop-filter: blur(18px);
}

.site-contact-bar-btn {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    transition: filter 300ms ease, transform 300ms ease;
}

.site-contact-bar-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.site-contact-bar-btn--call {
    background: var(--primary-color);
}

.site-contact-bar-btn--wa {
    background: #25D366;
    color: #07331B;
}
