/* components.css - Nav, Footer, Cookies, FAB, Chatbot, Booking Modal */

/* NAV */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 70px;
}

.nav-cta-wrapper {
    display: flex;
    justify-content: flex-end;
}

.nav-logo {
    font-family: var(--sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.01em
}

.nav-logo span {
    color: var(--gold)
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 0.5rem;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none
}

.nav-links a {
    font-size: 0.82rem;
    color: var(--text2);
    text-decoration: none;
    letter-spacing: 0.02em;
    display: inline-block;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: var(--gold);
    transform: scale(1.1);
}

.nav-cta {
    background: var(--gold);
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    border-radius: var(--r-sm);
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 700 !important;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.nav-cta:hover {
    background: var(--gold2);
}

/* DROPDOWN NAVIGATION & CONTACT */
.contact-dropdown,
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.has-dropdown {
    display: flex;
    align-items: center;
}

.dropdown-content {
    display: none;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-radius: var(--r-md);
    padding: 0.5rem 0;
    z-index: 1001;
    margin-top: 0;
    border: 1px solid var(--border);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown-content.is-visible {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

.dropdown-item {
    color: var(--text);
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: var(--bg2);
    color: var(--gold);
}

.dropdown-item svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
}

/* FOOTER */
.footer {
    background: #ffffff;
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 5rem;
}

.footer-col-left {
    text-align: left;
}

.footer-col-left p {
    margin-top: 1rem;
    color: var(--text3);
    font-size: 0.85rem;
}

.footer-col-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-cta-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text2);
    margin: 0;
    letter-spacing: -0.01em;
}

.footer .contact-dropdown {
    position: relative;
}

.footer .dropdown-content {
    bottom: calc(100% + 0.5rem);
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.footer .dropdown-content::before {
    top: auto;
    bottom: -20px;
    height: 20px;
}

.footer-col-right {
    text-align: right;
}

.footer-col-right p {
    font-size: 0.85rem;
    color: var(--text3);
    margin-bottom: 0.75rem;
}

.footer-legal {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    position: relative;
    z-index: 1002;
}

.footer-legal a {
    color: var(--text3);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--gold);
}

footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo span {
    color: var(--gold)
}

footer p {
    color: var(--text3);
    font-size: 0.78rem
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    z-index: 9999;
    background: #ffffff;
    border: 1px solid var(--border, #e0e0e0);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: none;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 90%;
    max-width: 850px;
    padding: 1.5rem 2rem;
}

.cookie-banner.show {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text-container {
    flex: 1;
}

.cookie-text-container h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text, #1a1a1a);
    margin: 0 0 0.5rem 0;
}

.cookie-text-container p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-light, #555);
    margin: 0;
}

.cookie-text-container a {
    color: var(--gold, #c5a059);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-cookie {
    padding: 0.7rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

/* CHATBOT */
/* CHATBOT */
.chatbot-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 700px;
    margin-bottom: 4rem;
    min-height: auto;
}

.chatbot-header h2 {
    font-family: var(--serif);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 1rem;
}

.chatbot-header p {
    font-size: 1.1rem;
    color: var(--text2);
    line-height: 1.7;
    max-width: 600px;
}

/* ── MÁS ANCHO ── */
.chat-wrap {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1.5rem;
    align-items: start;
    max-width: min(1100px, 92%);
    /* antes 80% — ahora más generoso */
    margin: 0 auto;
}

.chat-suggestions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chat-sugg-label {
    color: #2563eb !important;
    /* azul corporativo */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.chat-suggestion-btn {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: var(--r-md);
    padding: 0.875rem 1.1rem;
    text-align: left;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 0.82rem;
    color: var(--text2);
    transition: all 0.2s;
    line-height: 1.5;
}

.chat-suggestion-btn:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(37, 99, 235, 0.38);
    color: var(--text);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.chat-suggestion-btn.active {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(37, 99, 235, 0.45);
    color: var(--text);
}

/* ── MÁS GLASS ── */
.chat-window {
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(48px) saturate(200%);
    -webkit-backdrop-filter: blur(48px) saturate(200%);
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: var(--r-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.65) inset,
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 24px 64px rgba(37, 99, 235, 0.09),
        0 4px 16px rgba(0, 0, 0, 0.04);
}

.chat-header-bar {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.12);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-avatar svg {
    width: 14px;
    height: 14px;
    stroke: #2563eb;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chat-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.chat-status {
    font-size: 0.72rem;
    color: var(--text3);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1px;
}

.status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2563eb;
    flex-shrink: 0;
}

.chat-lang-switcher {
    margin-left: auto;
    display: flex;
    gap: 0.4rem;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.55);
    color: var(--text2);
    border: 1px solid rgba(37, 99, 235, 0.18);
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.15s;
}

.lang-btn:hover {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    border-color: rgba(37, 99, 235, 0.35);
}

.lang-btn.active {
    background: #2563eb;
    color: #ffffff !important;
    border-color: #2563eb;
    font-weight: 700;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
    width: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.2);
    border-radius: 4px;
}

.msg {
    max-width: 85%;
    font-size: 0.88rem;
    padding: 1rem 1.25rem;
    border-radius: var(--r-md);
    line-height: 1.7;
    position: relative;
    animation: msg-appear 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@keyframes msg-appear {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.msg-bot {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text);
    border: 1px solid rgba(37, 99, 235, 0.14);
    align-self: flex-start;
    border-radius: 4px 18px 18px 18px;
    box-shadow:
        0 2px 12px rgba(37, 99, 235, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.7) inset;
}

.msg-user {
    background: #2563eb;
    color: #ffffff;
    border: 1px solid #2563eb;
    align-self: flex-end;
    border-radius: 18px 4px 18px 18px;
    box-shadow:
        0 8px 24px rgba(37, 99, 235, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.msg-user p,
.msg-user .msg-content {
    color: #ffffff;
}

.msg-meta {
    font-size: 0.65rem;
    opacity: 0.6;
    align-self: flex-end;
}

.msg-bot .msg-meta {
    color: var(--text3);
}

.msg-user .msg-meta {
    color: rgba(255, 255, 255, 0.8);
}

.msg-content strong {
    font-weight: 600;
    color: inherit;
}

.msg-content a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.chat-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.chat-action-btn {
    background: rgba(37, 99, 235, 0.07);
    border: 1px solid rgba(37, 99, 235, 0.22);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2563eb;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.chat-action-btn:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateY(-2px);
}

.chat-action-btn svg {
    width: 12px;
    height: 12px;
}

.msg-typing {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 4px var(--r-md) var(--r-md) var(--r-md);
}

.typing-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2563eb;
    opacity: 0.4;
    animation: typing 1.2s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

.chat-input-area {
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(37, 99, 235, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.chat-input-row {
    display: flex;
    gap: 0.5rem;
}

.chat-disclaimer {
    font-size: 0.7rem;
    color: var(--text3);
    line-height: 1.3;
    padding: 0 0.25rem;
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: var(--r-sm);
    padding: 0.6rem 0.875rem;
    font-family: var(--sans);
    font-size: 0.83rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.chat-input::placeholder {
    color: var(--text3);
}

.chat-input:focus {
    border-color: rgba(37, 99, 235, 0.42);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.chat-send {
    background: #2563eb;
    border: none;
    border-radius: var(--r-sm);
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.chat-send:hover {
    background: #1d4ed8;
    transform: scale(1.05);
}

.chat-send svg {
    width: 14px;
    height: 14px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* FAB */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 1rem;
    pointer-events: none;
}

.fab-trigger,
.fab-item {
    pointer-events: auto;
}

.fab-trigger {
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(55, 97, 212, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.fab-trigger svg {
    width: 28px;
    height: 28px;
    transition: transform 0.4s;
}

.fab-container.active .fab-trigger {
    background: var(--bg);
    color: var(--text);
    transform: rotate(135deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.fab-menu {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.fab-container.active .fab-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    pointer-events: none;
}

.fab-container.active .fab-item {
    pointer-events: auto;
}

.fab-label {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.fab-container.active .fab-item:nth-child(1) .fab-label {
    transition-delay: 0.05s;
}

.fab-container.active .fab-item:nth-child(2) .fab-label {
    transition-delay: 0.1s;
}

.fab-container.active .fab-item:nth-child(3) .fab-label {
    transition-delay: 0.15s;
}

.fab-container.active .fab-label {
    opacity: 1;
    transform: translateX(0);
}

.fab-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.fab-item:hover .fab-icon {
    transform: scale(1.1);
}

.fab-icon.wa {
    background: #25d366;
}

.fab-icon.bot {
    background: var(--gold);
}

.fab-icon.mail {
    background: #0052FF;
}

.fab-icon svg {
    width: 22px;
    height: 22px;
}

/* BOOKING MODAL */
.booking-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.booking-modal-overlay.is-open .booking-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.booking-modal {
    background: #ffffff;
    border-radius: var(--r-xl);
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: translateY(30px) scale(0.97);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-modal::-webkit-scrollbar {
    width: 4px;
}

.booking-modal::-webkit-scrollbar-track {
    background: transparent;
}

.booking-modal::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.booking-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg2);
    color: var(--text3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.booking-close:hover {
    background: var(--bg3);
    color: var(--text);
    transform: rotate(90deg);
}

.booking-close svg {
    width: 16px;
    height: 16px;
}

.booking-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-right: 2rem;
}

.booking-header-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-md);
    background: var(--gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.booking-header-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--gold);
}

.booking-title {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    margin: 0;
}

.booking-subtitle {
    font-size: 0.85rem;
    color: var(--text3);
    margin: 0.2rem 0 0 0;
    line-height: 1.4;
}

.booking-step {
    margin-bottom: 1.5rem;
}

.booking-step#booking-step-2,
.booking-step#booking-step-3 {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin-bottom: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-step#booking-step-2.visible,
.booking-step#booking-step-3.visible {
    opacity: 1;
    max-height: 800px;
    margin-bottom: 1.5rem;
    overflow: visible;
}

.step-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text2);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-date {
    color: var(--gold);
    font-weight: 700;
}

.booking-calendar {
    background: var(--bg2);
    border-radius: var(--r-lg);
    padding: 1.25rem;
    border: 1px solid var(--border);
}

.cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cal-month {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}

.cal-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--text2);
}

.cal-nav-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-dim);
}

.cal-nav-btn svg {
    width: 14px;
    height: 14px;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.cal-day {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.25rem;
    border-radius: var(--r-sm);
    border: 1px solid transparent;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 56px;
}

.cal-day:hover:not(:disabled) {
    border-color: var(--gold);
    background: var(--gold-dim);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 82, 255, 0.1);
}

.cal-day.available {
    border-color: rgba(0, 82, 255, 0.15);
}

.cal-day.past,
.cal-day.no-slots {
    opacity: 0.3;
    cursor: not-allowed;
    background: var(--bg2);
}

.cal-day.past:hover,
.cal-day.no-slots:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.cal-day.selected {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(0, 82, 255, 0.3);
}

.cal-day.selected .cal-day-num {
    color: #ffffff;
}

.cal-day.selected .cal-day-name {
    color: rgba(255, 255, 255, 0.8);
}

.cal-day.selected .cal-day-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.cal-day.today {
    box-shadow: inset 0 0 0 2px var(--gold);
}

.cal-day-num {
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
}

.cal-day-name {
    font-size: 0.6rem;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
    font-weight: 500;
}

.cal-day-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gold-dim);
    color: var(--gold);
    font-size: 0.55rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cal-day.skeleton {
    background: var(--bg3);
    cursor: default;
    overflow: hidden;
    animation: skeletonPulse 1.5s infinite ease-in-out;
}

.skeleton-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: skeletonShine 1.5s infinite;
}

@keyframes skeletonPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes skeletonShine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.time-slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.time-slot {
    padding: 0.65rem 1.25rem;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    background: #ffffff;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.02em;
}

.time-slot:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-dim);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 82, 255, 0.1);
}

.time-slot.selected {
    background: var(--gold);
    border-color: var(--gold);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 82, 255, 0.3);
}

.booking-confirm-badge {
    background: var(--gold-dim);
    color: var(--gold);
    padding: 0.65rem 1rem;
    border-radius: var(--r-sm);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

.booking-confirm-badge::before {
    content: '📅';
    font-size: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text2);
    letter-spacing: -0.01em;
}

.form-group .optional {
    font-weight: 400;
    color: var(--text3);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    background: #ffffff;
    font-family: var(--sans);
    font-size: 0.88rem;
    color: var(--text);
    transition: all 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-dim);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--border2);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.booking-submit {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 0.5rem;
    position: relative;
    gap: 0.5rem;
}

.booking-submit .submit-icon {
    width: 18px;
    height: 18px;
    transition: all 0.3s;
}

.booking-submit .submit-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.booking-submit.loading .submit-text {
    opacity: 0.6;
}

.booking-submit.loading .submit-icon {
    display: none;
}

.booking-submit.loading .submit-spinner {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.booking-error {
    background: #fef2f2;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: var(--r-sm);
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    border: 1px solid #fecaca;
}

.booking-success {
    text-align: center;
    padding: 2rem 1rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-success.visible {
    opacity: 1;
    max-height: 600px;
    overflow: visible;
}

.success-animation {
    margin-bottom: 1.5rem;
}

.checkmark {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: var(--gold);
    stroke-miterlimit: 10;
    margin: 0 auto;
    box-shadow: inset 0px 0px 0px var(--gold);
    animation: checkmarkFill 0.4s ease-in-out 0.4s forwards, checkmarkScale 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--gold);
    fill: none;
    animation: checkmarkStroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: checkmarkStroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes checkmarkStroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes checkmarkScale {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes checkmarkFill {
    100% {
        box-shadow: inset 0px 0px 0px 36px var(--gold-dim);
    }
}

.booking-success h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.success-name {
    font-size: 0.95rem;
    color: var(--text2);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.success-details {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: var(--bg2);
    border-radius: var(--r-md);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.success-detail {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
}

.success-detail svg {
    width: 18px;
    height: 18px;
    stroke: var(--gold);
    flex-shrink: 0;
}

.success-note {
    font-size: 0.82rem;
    color: var(--text3);
    line-height: 1.6;
}