/* TripInStays — shared StayVista-inspired theme (all public pages) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

.sv-theme {
    --sv-dark: #141414;
    --sv-gold: #c9a96e;
    --sv-gold-dark: #a8864d;
    --sv-cream: #faf8f5;
    --sv-muted: #6b6560;
    --sv-border: #e8e4df;
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--sv-dark);
    background: var(--sv-cream);
}

.sv-theme .sv-serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.sv-theme .sv-navbar {
    background: #fff;
    border-bottom: 1px solid var(--sv-border);
    padding: 0.75rem 0;
    box-shadow: none;
}

.sv-theme .sv-navbar .navbar-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--sv-dark) !important;
    letter-spacing: 0.02em;
}

.sv-theme .sv-navbar .navbar-brand i {
    display: none;
}

.sv-theme .sv-navbar .nav-link {
    color: var(--sv-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.sv-theme .nav-mega .nav-mega-menu {
    --mega-bg: #fff;
    --mega-accent: var(--sv-gold-dark);
    --mega-text: var(--sv-dark);
    --mega-muted: var(--sv-muted);
    --mega-border: var(--sv-border);
    border-top-color: var(--sv-border);
}

.sv-theme .nav-mega-popular {
    background: var(--sv-cream);
}

.sv-theme .nav-mega.is-open > .nav-link,
.sv-theme .nav-mega:hover > .nav-link {
    color: var(--sv-gold-dark);
}

.sv-theme .sv-btn-gold {
    background: var(--sv-dark);
    color: #fff;
    border: none;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 0.65rem 1.5rem;
    border-radius: 2px;
}

.sv-theme .sv-btn-gold:hover {
    background: #2a2a2a;
    color: #fff;
}

.sv-theme .sv-btn-outline {
    border: 1px solid var(--sv-dark);
    color: var(--sv-dark);
    background: transparent;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.6rem 1.25rem;
    border-radius: 2px;
}

.sv-theme .sv-btn-outline:hover {
    background: var(--sv-dark);
    color: #fff;
}

.sv-theme .sv-footer {
    background: var(--sv-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 3rem 0 1.5rem;
}

.sv-theme .sv-footer h5,
.sv-theme .sv-footer h6 {
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
}

.sv-theme .sv-footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

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

.sv-theme .btn-primary {
    background: var(--sv-dark);
    border-color: var(--sv-dark);
}

.sv-theme .btn-primary:hover {
    background: #2a2a2a;
    border-color: #2a2a2a;
}

.sv-theme .btn-outline-primary {
    color: var(--sv-dark);
    border-color: var(--sv-dark);
}

.sv-theme .btn-outline-primary:hover {
    background: var(--sv-dark);
    border-color: var(--sv-dark);
    color: #fff;
}

.sv-theme .text-primary {
    color: var(--sv-dark) !important;
}

.sv-theme.page-inner main {
    padding: 0;
}

.sv-theme.page-inner .sv-page-wrap {
    padding: 2rem 0 3rem;
}

/* Contact unlock modal */
.cu-modal .modal-dialog {
    max-width: 480px;
}

.cu-modal-content {
    border: 1px solid var(--sv-border, #e8e4df);
    border-radius: 2px;
    box-shadow: 0 24px 64px rgba(20, 20, 20, 0.12);
    overflow: hidden;
}

.cu-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.5rem 1rem;
    border-bottom: 1px solid var(--sv-border, #e8e4df);
    background: #fff;
}

.cu-modal-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    min-width: 0;
}

.cu-modal-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sv-cream, #faf8f5);
    border: 1px solid var(--sv-border, #e8e4df);
    border-radius: 2px;
    color: var(--sv-gold-dark, #a8864d);
    font-size: 1.15rem;
}

.cu-modal-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    color: var(--sv-dark, #141414);
}

.cu-modal-property {
    font-size: 0.78rem;
    color: var(--sv-muted, #6b6560);
    margin: 0.2rem 0 0;
    line-height: 1.4;
}

.cu-modal-close {
    margin: 0;
    opacity: 0.45;
    padding: 0.25rem;
}

.cu-modal-close:hover {
    opacity: 0.85;
}

.cu-modal-body {
    padding: 1.25rem 1.5rem 1.5rem;
    background: #fff;
}

.cu-step-hint {
    font-size: 0.85rem;
    color: var(--sv-muted, #6b6560);
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.cu-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cu-field {
    margin-bottom: 1rem;
}

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

.cu-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--sv-muted, #6b6560);
    margin-bottom: 0.4rem;
}

.cu-required {
    color: var(--sv-gold-dark, #a8864d);
}

.cu-input {
    display: block;
    width: 100%;
    padding: 0.65rem 0.75rem;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--sv-dark, #141414);
    background: #fff;
    border: 1px solid var(--sv-border, #e8e4df);
    border-radius: 2px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cu-input::placeholder {
    color: #b0aaa4;
}

.cu-input:focus {
    outline: none;
    border-color: var(--sv-dark, #141414);
    box-shadow: 0 0 0 3px rgba(20, 20, 20, 0.06);
}

.cu-textarea {
    resize: vertical;
    min-height: 4.5rem;
}

.cu-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--sv-dark, #141414);
    border: 1px solid var(--sv-dark, #141414);
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
}

.cu-btn-primary:hover:not(:disabled) {
    background: #2a2a2a;
    border-color: #2a2a2a;
}

.cu-btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.cu-btn-link {
    background: none;
    border: none;
    padding: 0.5rem;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--sv-muted, #6b6560);
    text-decoration: underline;
    cursor: pointer;
}

.cu-btn-link:hover {
    color: var(--sv-dark, #141414);
}

.cu-trust-note {
    text-align: center;
    font-size: 0.72rem;
    color: var(--sv-muted, #6b6560);
    margin: 0.85rem 0 0;
}

.cu-trust-note i {
    color: var(--sv-gold-dark, #a8864d);
    margin-right: 0.15rem;
}

.cu-otp-debug {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.7rem 0.85rem;
    border-radius: 2px;
    background: #fff8e6;
    border: 1px dashed #e0c878;
    color: #7a5f14;
    font-size: 0.82rem;
}

.cu-otp-debug strong {
    font-family: 'DM Sans', monospace;
    font-size: 1rem;
    letter-spacing: 0.12em;
    color: var(--sv-dark, #141414);
}

.cu-dashboard-link-wrap {
    text-align: center;
    margin-top: 1rem;
}

.cu-otp-wrap {
    margin-bottom: 1.25rem;
}

.cu-otp-input {
    display: block;
    width: 100%;
    padding: 1rem;
    font-family: 'DM Sans', monospace;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.45em;
    text-align: center;
    color: var(--sv-dark, #141414);
    background: var(--sv-cream, #faf8f5);
    border: 1px solid var(--sv-border, #e8e4df);
    border-radius: 2px;
}

.cu-otp-input:focus {
    outline: none;
    border-color: var(--sv-dark, #141414);
    background: #fff;
}

.cu-otp-input::placeholder {
    letter-spacing: 0.35em;
    font-size: 1.25rem;
    color: #c8c2bc;
}

.cu-step-success {
    text-align: center;
}

.cu-success-icon {
    font-size: 2.75rem;
    color: #2d6a4f;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.cu-success-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--sv-dark, #141414);
}

.cu-contact-card {
    text-align: left;
    margin-top: 1.25rem;
    padding: 1rem 1.15rem;
    background: var(--sv-cream, #faf8f5);
    border: 1px solid var(--sv-border, #e8e4df);
    border-radius: 2px;
}

.cu-contact-card p {
    margin: 0 0 0.65rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cu-contact-card p:last-child {
    margin-bottom: 0;
}

.cu-contact-card strong {
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.75rem;
}

.cu-contact-card a {
    color: var(--sv-dark, #141414);
    font-weight: 500;
    text-decoration: none;
}

.cu-contact-card a:hover {
    text-decoration: underline;
}

.cu-contact-card .bi-whatsapp {
    color: #25d366;
}

@media (max-width: 575px) {
    .cu-modal-header,
    .cu-modal-body {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }

    .cu-field-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }

    .cu-field-row .cu-field {
        margin-bottom: 1rem;
    }
}
