/*
 |--------------------------------------------------------------------------
 | GoBiz vCard SaaS
 |--------------------------------------------------------------------------
 | Developed by NativeCode © 2021 - https://nativecode.in
 | All rights reserved
 | Unauthorized distribution is prohibited
 |--------------------------------------------------------------------------
*/

/* ====================================================================
PREMIUM CONSTRUCTION VCARD
==================================================================== */
:root {
    --gold: #c9a84c;
    --gold-light: #e8c97a;
    --gold-dim: rgba(201, 168, 76, 0.15);
    --gold-border: rgba(201, 168, 76, 0.3);

    --ink: #0d1117;
    --ink-2: #161b24;
    --ink-3: #1e2530;
    --ink-4: #262e3a;

    --slate: #8b95a6;
    --slate-light: #a8b4c4;
    --fog: #d6dce8;
    --white: #ffffff;

    --text-body: #c8d0dc;
    --text-muted: #6b7585;

    --radius: 2px;
    --radius-md: 6px;

    --accent-rgb: 201, 168, 76;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #060a0f;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text-body);
    font-family: "DM Sans", sans-serif;
}

/* Desktop Background — Architectural grid */
.desktop-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(
            ellipse at 30% 20%,
            rgba(201, 168, 76, 0.04) 0%,
            transparent 60%
        ),
        radial-gradient(
            ellipse at 70% 80%,
            rgba(201, 168, 76, 0.03) 0%,
            transparent 60%
        ),
        #060a0f;
    display: none;
}

.desktop-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

@media (min-width: 769px) {
    .desktop-bg {
        display: block;
    }
}

/* ── Card Container ── */
.vcard-container {
    width: 100%;
    max-width: 500px;
    background: var(--ink);
    position: relative;
    padding-bottom: 90px;
    overflow: hidden;
    z-index: 50;
}

@media (min-width: 769px) {
    .vcard-container {
        margin: 40px auto;
        border: 1px solid var(--gold-border);
        border-radius: 12px;
        box-shadow:
            0 0 0 1px rgba(201, 168, 76, 0.08),
            0 40px 80px rgba(0, 0, 0, 0.7),
            0 0 120px rgba(201, 168, 76, 0.05);
    }
}

#smooth-wrapper {
    max-width: 100%;
}

/* ── Gold Rule Divider ── */
.gold-rule {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--gold) 30%,
        var(--gold) 70%,
        transparent 100%
    );
    opacity: 0.4;
    margin: 0;
}

.gold-rule-bold {
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--gold) 40%,
        var(--gold) 60%,
        transparent 100%
    );
    opacity: 0.6;
}

/* ── Cover Header ── */
.cover-wrap {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--ink-2);
}

.cover-media-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: none;
    object-fit: cover;
}

.cover-media-item.active {
    display: block;
}

/* Layered overlays for drama */
.cover-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            var(--ink) 0%,
            rgba(13, 17, 23, 0.6) 40%,
            rgba(13, 17, 23, 0.2) 100%
        ),
        linear-gradient(160deg, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 5;
}

/* Cover corner tag */
.cover-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cover-tag-line {
    width: 32px;
    height: 1px;
    background: var(--gold);
    opacity: 0.7;
}

.cover-tag-text {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.8;
}

.media-switcher {
    position: absolute;
    top: 60px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 20;
}

.media-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(13, 17, 23, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gold-border);
    color: var(--slate);
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.media-btn.active,
.media-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink);
}

/* ── Profile Block ── */
.profile-block {
    text-align: center;
    padding: 0 24px 32px;
    position: relative;
    margin-top: -56px;
    z-index: 10;
}

.profile-img-wrap {
    display: inline-block;
    position: relative;
    margin-bottom: 20px;
}

.profile-img-wrap::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(
        var(--gold) 0deg,
        var(--gold-light) 90deg,
        var(--gold) 180deg,
        rgba(201, 168, 76, 0.2) 270deg,
        var(--gold) 360deg
    );
    animation: spinRing 8s linear infinite;
}

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

.profile-img-wrap::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: var(--ink);
}

.profile-img {
    width: 108px;
    height: 108px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    display: block;
}

.company-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    line-height: 1.1;
    margin-bottom: 6px;
}

.company-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.company-subtitle::before,
.company-subtitle::after {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--gold);
    opacity: 0.6;
}

.company-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--slate-light);
    font-weight: 300;
    letter-spacing: 0.2px;
}

/* ── Quick Actions ── */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0 20px 24px;
}

.qa-btn {
    flex: 1 1 calc(25% - 10px);
    /* Aims for 4 buttons per row */
    min-width: 70px;
    /* Prevents buttons from getting too narrow */
    max-width: 90px;
    /* Prevents buttons from becoming massive if there's only 1 or 2 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 16px 8px;
    background: var(--ink-3);
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.qa-btn::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.qa-btn:hover {
    background: var(--ink-4);
    border-color: var(--gold-border);
}

.qa-btn:hover::before {
    transform: scaleX(1);
}

.qa-btn i {
    font-size: 18px;
    color: var(--gold);
    filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.4));
}

.qa-btn span {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--slate-light);
}

/* ── Vault Panel ── */
.vault-panel {
    margin: 0 16px 16px;
    padding: 24px 20px;
    background: var(--ink-2);
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.swiper-slide {
  width: 100% !important;
  box-sizing: border-box;
}

.vault-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}

.panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.panel-icon {
    width: 34px;
    height: 34px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-icon i {
    font-size: 14px;
    color: var(--gold);
}

.panel-title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--fog);
}

.panel-title-serif {
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0;
}

/* Grid helpers */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* ── Feature Row Links ── */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Columns */
    gap: 10px;
    margin-top: 15px;
}

.feat-link {
    display: flex;
    align-items: center;
    /* Change this to flex-start if you want the icon aligned to the top for long addresses */
    gap: 10px;
    padding: 12px;
    background: var(--ink-3);
    border: 1px solid rgba(201, 168, 76, 0.08);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-body);
    transition: all 0.2s ease;
    overflow: hidden;
}

/* --- NEW: Force Address to span 100% width --- */
.feat-link-full {
    grid-column: 1 / -1;
    /* Spans across all available columns */
    align-items: flex-start;
    /* Aligns icon to top if address spans multiple lines */
}

/* --------------------------------------------- */

.feat-link:hover {
    background: var(--ink-4);
    border-color: var(--gold-border);
}

.feat-link-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-link-icon i {
    font-size: 14px;
    color: var(--gold);
}

.feat-link-text {
    flex: 1;
    min-width: 0;
    /* Allows text to truncate with ellipsis */
}

.feat-link-text h4 {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--fog);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feat-link-text p {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

/* --- NEW: Let Address text wrap to the next line naturally --- */
.feat-link-full .feat-link-text p {
    white-space: pre-wrap;
    /* Allows line breaks and natural text wrapping */
    overflow: visible;
    line-height: 1.4;
}

/* ── Buttons ── */
.btn-gold {
    width: 100%;
    display: block;
    padding: 14px 20px;
    background: linear-gradient(135deg, #b8922c 0%, #e8c97a 50%, #b8922c 100%);
    background-size: 200% 100%;
    color: var(--ink);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.2);
}

.btn-gold:hover {
    background-position: 100% 0;
    box-shadow: 0 4px 28px rgba(201, 168, 76, 0.4);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold-border);
    color: var(--gold);
    padding: 13px 20px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

/* ── Structural Card (Services / Products) ── */
.struct-card {
    background: var(--ink-3);
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: border-color 0.2s;
}

.struct-card:hover {
    border-color: var(--gold-border);
}

.struct-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.struct-card-no-img {
    height: 150px;
    background: var(--ink-4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.struct-card-no-img i {
    font-size: 40px;
    color: var(--gold);
    opacity: 0.4;
}

.struct-card-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.struct-card-body h4 {
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
    line-height: 1.2;
}

.struct-card-body p {
    font-size: 13px;
    color: var(--slate);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 12px;
}

.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.price-badge strike {
    font-size: 13px;
    color: var(--text-muted);
}

.stock-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gold);
    color: var(--ink);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
}

/* ── Gallery ── */
.gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.1);
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 8px;
    background: linear-gradient(to top, rgba(13, 17, 23, 0.9), transparent);
    font-size: 11px;
    font-weight: 500;
    color: var(--fog);
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Swiper Tweaks ── */
.swiper {
    padding-bottom: 38px !important;
}

.swiper-pagination-bullet {
    background: var(--ink-4);
    width: 20px;
    height: 3px;
    border-radius: 2px;
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    background: var(--gold) !important;
    width: 32px;
    opacity: 1;
}

/* ── Forms ── */
.f-label {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--slate-light);
    margin-bottom: 6px;
    display: block;
}

.f-input {
    width: 100%;
    padding: 12px 14px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    background: var(--ink-3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--fog);
    outline: none;
    transition: border-color 0.2s;
    margin-bottom: 14px;
    appearance: none;
}

.f-input::placeholder {
    color: var(--text-muted);
}

.f-input:focus {
    border-color: var(--gold-border);
    background: var(--ink-4);
}

textarea.f-input {
    resize: vertical;
    min-height: 90px;
}

select.f-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B95A6' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px;
    padding-right: 36px;
}

.alert-box {
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 10px 14px;
    text-align: center;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    padding: 10px 14px;
    text-align: center;
}

.hidden {
    display: none !important;
}

/* ── Business Hours ── */
.hour-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.06);
}

.hour-row:last-child {
    border-bottom: none;
}

.hour-day {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--slate);
}

.hour-time {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--fog);
}

.hour-open-24 {
    text-align: center;
    padding: 20px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    border-radius: 6px;
}

.hour-open-24 h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--gold);
}

.hour-open-24 p {
    font-size: 13px;
    color: var(--slate-light);
    margin-top: 4px;
}

/* ── Social Blocks ── */
.social-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 10px;
    background: var(--ink-3);
    border: 1px solid rgba(201, 168, 76, 0.08);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
}

.social-tile:hover {
    background: var(--gold-dim);
    border-color: var(--gold-border);
}

.social-tile i {
    font-size: 20px;
    color: var(--gold);
}

.social-tile span {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--slate-light);
}

/* ── Payment Blocks ── */
.pay-block {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    background: var(--ink-3);
    border: 1px solid rgba(201, 168, 76, 0.08);
    border-radius: 6px;
    text-decoration: none;
    color: var(--fog);
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.pay-block:hover {
    background: var(--ink-4);
    border-color: var(--gold-border);
}

.pay-block i {
    font-size: 18px;
    color: var(--gold);
}

.pay-info-static {
    padding: 14px;
    background: var(--ink-3);
    border: 1px dashed rgba(201, 168, 76, 0.2);
    border-radius: 6px;
    margin-bottom: 10px;
}

.pay-info-static h4 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--fog);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pay-info-static p {
    font-size: 13px;
    color: var(--slate);
    word-break: break-all;
}

/* ── Testimonials ── */
.testi-card {
    background: var(--ink-3);
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 8px;
    padding: 20px;
    position: relative;
}

.testi-card::before {
    content: "\201C";
    position: absolute;
    top: 12px;
    left: 16px;
    font-family: "Cormorant Garamond", serif;
    font-size: 60px;
    line-height: 1;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.2;
}

.testi-review {
    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    font-style: italic;
    color: var(--fog);
    line-height: 1.6;
    margin-bottom: 16px;
    padding-top: 10px;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--gold-border);
}

.testi-avatar-fallback {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ink-4);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testi-avatar-fallback i {
    font-size: 16px;
    color: var(--gold);
}

.testi-user h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.testi-user p {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* --- Newsletter Modal Dark Overlay --- */
#newsletterModal.dark-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 14, 0.85);
    /* Deep dark fade */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* JS toggle class */
#newsletterModal.dark-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* --- The Box Itself --- */
.modal-vault-box {
    width: 90%;
    max-width: 420px;
    margin: 0 auto;
    position: relative;
    /* Animation start state */
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animation end state */
#newsletterModal.is-active .modal-vault-box {
    transform: translateY(0) scale(1);
}

/* --- Dark Outline Button (Used for Cancel) --- */
.btn-dark-outline {
    padding: 14px;
    background: var(--ink-4);
    border: 1px solid var(--gold-border);
    color: var(--slate-light);
    border-radius: 6px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-dark-outline:hover {
    background: var(--ink-3);
    color: var(--white);
    border-color: var(--gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- Ensure Hidden Utility Works --- */
.hidden {
    display: none !important;
}

/* --- Dark/Gold Close Button --- */
.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--ink-4);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
}

.modal-close-btn:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.3);
}

/* ── Bottom Nav ── */
.vault-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    display: flex;
    justify-content: space-around;
    padding: 10px 10px 24px;
    z-index: 50;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .vault-nav {
        display: none;
    }
}

.nav-item {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
    font-size: 20px;
    text-decoration: none;
    border-radius: 6px;
}

.nav-item span {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-item.active,
.nav-item:hover {
    color: var(--gold);
}

.nav-item-center {
    background: linear-gradient(135deg, #b8922c, #e8c97a);
    color: var(--ink) !important;
    border-radius: 12px;
    padding: 8px 18px;
    margin-top: -6px;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

/* ── Modals ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 10, 15, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: var(--ink-2);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 24px;
    position: relative;
    box-shadow:
        0 0 80px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(201, 168, 76, 0.08);
}

.modal-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--ink-3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--slate);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--ink-4);
    color: var(--white);
}

.modal-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    text-align: center;
}

.modal-highlight {
    border-color: rgba(201, 168, 76, 0.4);
}

.modal-highlight i {
    color: var(--gold);
}

/* ── Map ── */
.map-container {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.1);
    margin-bottom: 12px;
}

.map-container iframe {
    display: block;
}

/* ── Footer ── */
.vault-footer {
    padding: 20px;
    text-align: center;
    background: var(--ink);
    border-top: 1px solid rgba(201, 168, 76, 0.06);
}

.vault-footer p {
    font-size: 12px;
    color: var(--text-muted);
    font-family: "DM Sans", sans-serif;
}

.vault-footer a {
    color: var(--gold);
    text-decoration: none;
}

/* ── Animations ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.anim-fade-up {
    animation: fadeUp 0.6s ease forwards;
}

.anim-delay-1 {
    animation-delay: 0.1s;
}

.anim-delay-2 {
    animation-delay: 0.2s;
}

.anim-delay-3 {
    animation-delay: 0.3s;
}

.anim-delay-4 {
    animation-delay: 0.4s;
}

.gsap-reveal {
    opacity: 0;
}

/* ══════════════════════════════════════════════════════════════
   MODAL STYLE FIXES FOR CONSTRUCTION VCARD
   Add this CSS to your existing stylesheet
   ══════════════════════════════════════════════════════════════ */

/* ── Share Modal ── */
#shareModal {
    position: fixed;
    inset: 0;
    background: rgba(6, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#shareModal.hidden {
    opacity: 0;
    pointer-events: none;
}

.share-modal-box {
    background: var(--ink-2);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    padding: 32px 24px;
    position: relative;
    box-shadow:
        0 0 80px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(201, 168, 76, 0.08);
}

.share-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 16px;
}

.share-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.share-divider__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.share-divider__diamond {
    color: var(--gold);
    font-size: 12px;
}

.share-qr {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.share-qr-wrap {
    padding: 16px;
    background: white;
    border-radius: 8px;
    border: 2px solid var(--gold-border);
}

.share-section-label {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--slate-light);
    text-align: center;
    margin-bottom: 16px;
}

.share-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.share-icons a {
    width: 44px;
    height: 44px;
    background: var(--ink-3);
    border: 1px solid var(--gold-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 18px;
    transition: all 0.2s;
    text-decoration: none;
}

.share-icons a:hover {
    background: var(--gold);
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
}

.share-copy-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #b8922c 0%, #e8c97a 50%, #b8922c 100%);
    background-size: 200% 100%;
    color: var(--ink);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.share-copy-btn:hover {
    background-position: 100% 0;
    box-shadow: 0 4px 28px rgba(201, 168, 76, 0.4);
    transform: translateY(-1px);
}

/* ── WhatsApp Modal ── */
#whatsappModal {
    position: fixed;
    inset: 0;
    background: rgba(6, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#whatsappModal.hidden {
    opacity: 0;
    pointer-events: none;
}

.whatsapp-modal-box {
    background: var(--ink-2);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    padding: 32px 24px;
    position: relative;
    box-shadow:
        0 0 80px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(201, 168, 76, 0.08);
}

.whatsapp-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: var(--ink-4);
    border: 1px solid var(--gold-border);
    border-radius: 50%;
    color: var(--gold);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.whatsapp-modal-close:hover {
    background: var(--gold);
    color: var(--ink);
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.3);
}

.whatsapp-icon-wrap {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon-wrap i {
    font-size: 30px;
    color: white;
}

.whatsapp-modal-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 16px;
}

.whatsapp-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.whatsapp-divider__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.whatsapp-divider__diamond {
    color: var(--gold);
    font-size: 12px;
}

.whatsapp-modal-label {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--slate-light);
    display: block;
    margin-bottom: 8px;
}

.whatsapp-input-wrap {
    position: relative;
    margin-bottom: 20px;
}

.whatsapp-input-prefix {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #25d366;
    font-size: 18px;
}

.whatsapp-input-wrap input {
    width: 100%;
    padding: 12px 14px 12px 44px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    background: var(--ink-3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--fog);
    outline: none;
    transition: border-color 0.2s;
}

.whatsapp-input-wrap input:focus {
    border-color: #25d366;
    background: var(--ink-4);
}

.whatsapp-send-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.whatsapp-send-btn:hover {
    box-shadow: 0 4px 28px rgba(37, 211, 102, 0.4);
    transform: translateY(-1px);
}

.whatsapp-helper {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ── QR Code Modal ── */
#scanModal {
    position: fixed;
    inset: 0;
    background: rgba(6, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#scanModal.hidden {
    opacity: 0;
    pointer-events: none;
}

.qr-modal-box {
    background: var(--ink-2);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    padding: 32px 24px;
    position: relative;
    box-shadow:
        0 0 80px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(201, 168, 76, 0.08);
}

.qr-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: var(--ink-4);
    border: 1px solid var(--gold-border);
    border-radius: 50%;
    color: var(--gold);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qr-modal-close:hover {
    background: var(--gold);
    color: var(--ink);
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.3);
}

.qr-modal-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 16px;
}

.qr-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.qr-divider__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.qr-divider__diamond {
    color: var(--gold);
    font-size: 12px;
}

.qr-card {
    background: var(--ink-3);
    border: 1px solid var(--gold-border);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
}

.qr-card::before,
.qr-card::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gold);
}

.qr-card::before {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.qr-card::after {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

.qr-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.qr-hint {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--slate-light);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.qr-hint i {
    color: var(--gold);
}

.qr-download-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #b8922c 0%, #e8c97a 50%, #b8922c 100%);
    background-size: 200% 100%;
    color: var(--ink);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.qr-download-btn:hover {
    background-position: 100% 0;
    box-shadow: 0 4px 28px rgba(201, 168, 76, 0.4);
    transform: translateY(-1px);
}

.qr-helper {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ── Password Modal ── */
.pw-modal {
    position: fixed;
    inset: 0;
    background: rgba(6, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pw-modal-box {
    background: var(--ink-2);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    padding: 32px 24px;
    box-shadow:
        0 0 80px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(201, 168, 76, 0.08);
}

.pw-modal .form-control {
    width: 100%;
    padding: 12px 14px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    background: var(--ink-3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--fog);
    outline: none;
    transition: border-color 0.2s;
    margin-bottom: 14px;
}

.pw-modal .form-control:focus {
    border-color: var(--gold-border);
    background: var(--ink-4);
}

.pw-modal .btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #b8922c 0%, #e8c97a 50%, #b8922c 100%);
    background-size: 200% 100%;
    color: var(--ink);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.pw-modal .btn-primary:hover {
    background-position: 100% 0;
    box-shadow: 0 4px 28px rgba(201, 168, 76, 0.4);
}

/* ─────────────────────────────────────────────
   MODALS
───────────────────────────────────────────── */
.std-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 25, 38, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.std-modal-box {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    padding: 28px 24px;
    margin: 0 16px;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--gold);
}

.std-modal-box h2 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 20px;
}

.std-modal-footer {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.std-modal-footer button {
    flex: 1;
    padding: 13px;
    border-radius: var(--radius-sm);
    font-family: "Jost", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s;
}
.btn-cancel {
    background: var(--ivory);
    color: var(--text-body);
    border: 1px solid var(--border) !important;
}
.btn-cancel:hover {
    background: var(--ivory-deep);
}
.btn-confirm {
    background: var(--slate);
    color: #fff;
}
.btn-confirm:hover {
    background: var(--gold);
}

/* ── PWA Install Prompt Modal ── */
#pwaModal {
    position: fixed; /* back to fixed — reliable across all browsers */
    inset: 0;
    z-index: 50;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#pwaModal.show {
    pointer-events: all;
    opacity: 1;
}

#pwaModal.hidden {
    display: none;
}

#pwaModal.fadeOut {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* Backdrop */
.pwa-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(13, 17, 23, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
}

/* Box — pinned directly to the bottom */
.pwa-box {
    position: fixed; /* ← key fix: position the box itself */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%); /* off-screen by default */
    z-index: 1;
    width: 100%;
    max-width: 480px; /* matches your vcard width */
    background: var(--ink-2);
    border-top: 1px solid var(--gold-border);
    border-left: 1px solid rgba(201, 168, 76, 0.12);
    border-right: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: 14px 14px 0 0;
    padding: 20px 24px 32px;
    box-shadow:
        0 -8px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(201, 168, 76, 0.08);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

#pwaModal.show .pwa-box {
    transform: translateX(-50%) translateY(0); /* slides up into view */
}

#pwaModal.fadeOut .pwa-box {
    transform: translateX(-50%) translateY(100%); /* slides back down */
    transition: transform 0.25s ease-in;
}

/* Drag handle */
.pwa-handle {
    width: 36px;
    height: 4px;
    background: var(--ink-4);
    border-radius: 2px;
    margin: 0 auto 20px;
}

/* Close button */
.pwa-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    background: var(--ink-3);
    border: 1px solid var(--ink-4);
    border-radius: var(--radius-md);
    color: var(--slate);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
}

.pwa-close:hover {
    background: var(--ink-4);
    color: var(--gold-light);
    border-color: var(--gold-border);
}

/* Icon */
.pwa-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 20px rgba(var(--accent-rgb), 0.12),
        inset 0 1px 0 rgba(var(--accent-rgb), 0.2);
}

.pwa-icon-wrap i {
    font-size: 22px;
    color: var(--gold);
}

/* Title */
.pwa-box h3 {
    font-family: "Cormorant Display", Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--white);
    margin: 0 0 8px;
}

/* Description */
.pwa-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 22px;
    padding: 0 4px;
}

/* Buttons */
.pwa-btn-row {
    display: flex;
    gap: 10px;
}

.pwa-btn-cancel {
    flex: 1;
    padding: 12px 14px;
    background: transparent;
    border: 1px solid var(--ink-4);
    border-radius: var(--radius-md);
    color: var(--slate);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition:
        background 0.2s,
        border-color 0.2s,
        color 0.2s;
}

.pwa-btn-cancel:hover {
    background: var(--ink-3);
    border-color: var(--slate);
    color: var(--fog);
}

.pwa-btn-install {
    flex: 2;
    padding: 12px 18px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border: none;
    border-radius: var(--radius-md);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.3);
    transition:
        filter 0.2s,
        box-shadow 0.2s,
        transform 0.15s;
}

.pwa-btn-install:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 22px rgba(var(--accent-rgb), 0.45);
    transform: translateY(-1px);
}

.pwa-btn-install:active {
    transform: translateY(0);
    filter: brightness(0.96);
}

.pwa-btn-install i {
    font-size: 12px;
}

/* ====================================================================
   LANGUAGE SWITCHER
   ==================================================================== */

/* ====================================================================
   LANGUAGE SWITCHER — VAULT
   ==================================================================== */

.custom-lang-switcher {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 50;
}

/* ── Button ───────────────────────────────────────────────────────── */
.lang-switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    height: 34px;
    background: var(--ink-3);
    border: 1px solid var(--gold-border);
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
    overflow: hidden;
    transition:
        background 0.2s,
        border-color 0.2s;
}

.lang-switcher-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(201, 168, 76, 0.07) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.lang-switcher-btn:hover {
    background: var(--ink-4);
    border-color: var(--gold);
}

.lang-switcher-btn.open {
    background: var(--ink-4);
    border-color: var(--gold);
    border-bottom-color: transparent;
    border-radius: 6px 6px 0 0;
}

/* Globe */
.lang-globe {
    width: 14px;
    height: 14px;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.lang-globe::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -1.5px;
    bottom: -1.5px;
    width: 0;
    border-left: 1.5px solid var(--gold);
}

.lang-globe::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -1.5px;
    right: -1.5px;
    height: 0;
    border-top: 1px solid rgba(201, 168, 76, 0.35);
}

/* Code */
.lang-code {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--gold-light);
    text-transform: uppercase;
}

/* Chevron */
.lang-switcher-btn .fa-chevron-down {
    font-size: 9px;
    color: var(--gold);
    opacity: 0.7;
    transition:
        transform 0.25s cubic-bezier(0.32, 0.72, 0, 1),
        opacity 0.2s;
}

.lang-switcher-btn.open .fa-chevron-down {
    transform: rotate(180deg);
    opacity: 1;
}

/* ── Dropdown ─────────────────────────────────────────────────────── */
.lang-dropdown-menu {
    position: fixed;
    z-index: 999999;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 210px;
    height: 10.5rem; /* 6 items + search */
    background: var(--ink-2);
    border: 1px solid var(--gold-border);
    border-top: 2px solid var(--gold);
    border-radius: 0 0 8px 8px;
    box-shadow:
        0 20px 56px rgba(0, 0, 0, 0.72),
        0 4px 16px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(201, 168, 76, 0.04);
    display: none;
    overflow: hidden;
    animation: langMenuIn 0.22s cubic-bezier(0.32, 0.72, 0, 1) forwards;
    right: 16px;
    top: 53px;
}

.lang-dropdown-menu.open {
    display: block;
}

@keyframes langMenuIn {
    from {
        opacity: 0;
        transform: translateY(-6px) scaleY(0.96);
        transform-origin: top;
    }
    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

/* ── Search ───────────────────────────────────────────────────────── */
.lang-search-li {
    padding: 0 !important;
    border: none !important;
    background: none !important;
    cursor: default !important;
    display: block !important;
    border-radius: 0 !important;
}

.lang-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    height: 38px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--ink-3);
}

.lang-search-icon {
    width: 13px;
    height: 13px;
    border: 1.5px solid var(--text-muted);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.lang-search-icon::after {
    content: "";
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 5px;
    height: 1.5px;
    background: var(--text-muted);
    transform: rotate(45deg);
    transform-origin: right center;
}

.lang-search-input {
    background: none;
    border: none;
    outline: none;
    color: var(--text-body);
    font-size: 12px;
    font-family: inherit;
    width: 100%;
    caret-color: var(--gold);
}

.lang-search-input::placeholder {
    color: var(--text-muted);
}

/* ── List ─────────────────────────────────────────────────────────── */
.lang-list-inner {
    padding: 4px;
    max-height: 224px;
    overflow-y: auto;
    display: block;
}

.lang-list-inner::-webkit-scrollbar {
    width: 3px;
}
.lang-list-inner::-webkit-scrollbar-track {
    background: transparent;
}
.lang-list-inner::-webkit-scrollbar-thumb {
    background: var(--ink-4);
    border-radius: 2px;
}

/* ── Items ────────────────────────────────────────────────────────── */
.lang-list-inner li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    list-style: none;
    transition: background 0.15s;
}

.lang-list-inner li:first-child {
    border-top: none;
}

.lang-list-inner li:hover {
    background: var(--ink-3);
}

.lang-list-inner li.active {
    background: var(--gold-dim);
}

/* Code badge */
.lang-item-code {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    min-width: 30px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.lang-list-inner li.active .lang-item-code {
    color: var(--gold);
}

/* Name */
.lang-item-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-body);
    flex: 1;
}

.lang-list-inner li.active .lang-item-name {
    color: var(--white);
}

/* Checkmark */
.lang-item-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 9px;
    color: var(--gold);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.lang-list-inner li.active .lang-item-check {
    display: flex;
}

/* ── Empty state ──────────────────────────────────────────────────── */
.lang-empty {
    display: flex;
    justify-content: center;
    padding: 14px 12px !important;
    font-size: 12px !important;
    color: var(--text-muted) !important;
    cursor: default !important;
    border-top: none !important;
    list-style: none;
}

/* ====================================================================
   INFO POP MODAL
   ==================================================================== */

/* Overlay */
.info-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(13, 17, 23, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: all;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.info-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

.info-overlay.hidden {
    display: none;
}

/* Box */
.info-box {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: var(--ink-2);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    overflow: hidden;
    cursor: default;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.72),
        0 0 0 1px rgba(201, 168, 76, 0.06),
        inset 0 1px 0 rgba(201, 168, 76, 0.08);
    transform: translateY(16px) scale(0.97);
    transition:
        transform 0.35s cubic-bezier(0.32, 0.72, 0, 1),
        opacity 0.3s ease;
    opacity: 0;
}

.info-overlay.show .info-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Gold corner accents */
.info-corner {
    position: absolute;
    width: 18px;
    height: 18px;
    z-index: 3;
    pointer-events: none;
}

.info-corner--tl {
    top: 0;
    left: 0;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
    border-radius: 12px 0 0 0;
}

.info-corner--tr {
    top: 0;
    right: 0;
    border-top: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    border-radius: 0 12px 0 0;
}

.info-corner--bl {
    bottom: 0;
    left: 0;
    border-bottom: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
    border-radius: 0 0 0 12px;
}

.info-corner--br {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    border-radius: 0 0 12px 0;
}

/* Close button */
.info-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    width: 30px;
    height: 30px;
    background: var(--ink-3);
    border: 1px solid var(--ink-4);
    border-radius: 6px;
    color: var(--slate);
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
}

.info-close:hover {
    background: var(--ink-4);
    color: var(--gold-light);
    border-color: var(--gold-border);
}

/* Cover image */
.info-img-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.info-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.info-img-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(to bottom, transparent, var(--ink-2));
}

/* Body */
.info-body {
    padding: 32px 28px 36px;
    text-align: center;
}

.info-body--with-img {
    padding-top: 16px;
}

/* Icon badge */
.info-icon-wrap {
    width: 60px;
    height: 60px;
    margin: 0 auto 22px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 28px rgba(var(--accent-rgb), 0.1),
        inset 0 1px 0 rgba(var(--accent-rgb), 0.2);
}

.info-icon {
    font-size: 24px;
    color: var(--gold);
}

/* Title */
.info-title {
    font-family: "Cormorant Display", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--white);
    margin: 0 0 16px;
    line-height: 1.3;
}

/* Divider */
.info-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 140px;
    margin: 0 auto 20px;
}

.info-divider__line {
    flex: 1;
    height: 1px;
    background: var(--gold-border);
}

.info-divider__diamond {
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.5);
}

/* Description */
.info-desc-wrapper {
    max-height: 130px;
    overflow-y: auto;
    margin-bottom: 26px;
    padding: 0 4px;
}

.info-desc-wrapper::-webkit-scrollbar {
    width: 3px;
}
.info-desc-wrapper::-webkit-scrollbar-track {
    background: transparent;
}
.info-desc-wrapper::-webkit-scrollbar-thumb {
    background: var(--ink-4);
    border-radius: 2px;
}

.info-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-muted);
}

.info-desc p {
    margin: 0 0 10px;
}
.info-desc p:last-child {
    margin: 0;
}

/* CTA button */
.info-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 28px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 6px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow:
        0 4px 20px rgba(var(--accent-rgb), 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition:
        filter 0.2s,
        box-shadow 0.2s,
        transform 0.15s;
}

.info-btn:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 28px rgba(var(--accent-rgb), 0.45);
    transform: translateY(-1px);
}

.info-btn:active {
    transform: translateY(0);
    filter: brightness(0.96);
}

.info-btn i {
    font-size: 11px;
}

/* Mobile */
@media (max-width: 480px) {
    .info-box {
        max-width: 100%;
        border-radius: 14px 14px 0 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .info-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .info-overlay.show .info-box {
        transform: translateY(0) scale(1);
    }

    .info-box {
        transform: translateY(100%);
    }
}

/* ====================================================================
   APPOINTMENT MODAL — VAULT
   ==================================================================== */

.appt-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(13, 17, 23, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-sizing: border-box;
}

.appt-overlay.hidden {
    display: none;
}

.appt-overlay.show {
    opacity: 1;
    pointer-events: all;
}

/* Box */
.appt-box {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: var(--ink-2);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.72),
        0 0 0 1px rgba(201, 168, 76, 0.05),
        inset 0 1px 0 rgba(201, 168, 76, 0.08);
    transform: translateY(16px) scale(0.97);
    opacity: 0;
    transition:
        transform 0.35s cubic-bezier(0.32, 0.72, 0, 1),
        opacity 0.3s ease;
}

.appt-overlay.show .appt-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Corner accents */
.appt-corner {
    position: absolute;
    width: 18px;
    height: 18px;
    z-index: 3;
    pointer-events: none;
}

.appt-corner--tl {
    top: 0;
    left: 0;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
    border-radius: 12px 0 0 0;
}
.appt-corner--tr {
    top: 0;
    right: 0;
    border-top: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    border-radius: 0 12px 0 0;
}
.appt-corner--bl {
    bottom: 0;
    left: 0;
    border-bottom: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
    border-radius: 0 0 0 12px;
}
.appt-corner--br {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    border-radius: 0 0 12px 0;
}

/* Header */
.appt-header {
    padding: 24px 28px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.appt-header-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--gold);
    box-shadow:
        0 0 20px rgba(var(--accent-rgb), 0.1),
        inset 0 1px 0 rgba(var(--accent-rgb), 0.2);
}

.appt-title {
    font-family: "Cormorant Display", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--white);
    margin: 0 0 4px;
}

.appt-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    margin: 0;
}

/* Close button */
.appt-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    background: var(--ink-3);
    border: 1px solid var(--ink-4);
    border-radius: 6px;
    color: var(--slate);
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
}

.appt-close:hover {
    background: var(--ink-4);
    color: var(--gold-light);
    border-color: var(--gold-border);
}

/* Form area */
.appt-form {
    padding: 22px 28px 4px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Two column row */
.appt-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Field */
.appt-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.appt-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Inputs */
.appt-input,
.appt-textarea {
    background: var(--ink-3);
    border: 1px solid var(--ink-4);
    border-radius: 6px;
    padding: 10px 14px;
    color: var(--text-body);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition:
        border-color 0.2s,
        background 0.2s,
        box-shadow 0.2s;
}

.appt-input:focus,
.appt-textarea:focus {
    border-color: var(--gold-border);
    background: var(--ink-4);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.08);
}

.appt-input::placeholder,
.appt-textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.appt-textarea {
    resize: vertical;
    min-height: 84px;
    line-height: 1.6;
}

/* Footer */
.appt-footer {
    display: flex;
    gap: 10px;
    padding: 20px 28px 28px;
}

.appt-btn-cancel {
    flex: 1;
    padding: 11px 16px;
    background: transparent;
    border: 1px solid var(--ink-4);
    border-radius: 6px;
    color: var(--slate);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    font-family: inherit;
    cursor: pointer;
    transition:
        background 0.2s,
        border-color 0.2s,
        color 0.2s;
}

.appt-btn-cancel:hover {
    background: var(--ink-3);
    border-color: var(--slate);
    color: var(--text-body);
}

.appt-btn-submit {
    flex: 2;
    padding: 11px 20px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border: none;
    border-radius: 6px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow:
        0 4px 16px rgba(var(--accent-rgb), 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition:
        filter 0.2s,
        transform 0.15s,
        box-shadow 0.2s;
}

.appt-btn-submit:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.45);
}

.appt-btn-submit:active {
    transform: translateY(0);
    filter: brightness(0.96);
}

.appt-btn-submit i {
    font-size: 11px;
}

/* Mobile */
@media (max-width: 480px) {
    .appt-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .appt-box {
        max-width: 100%;
        border-radius: 14px 14px 0 0;
        transform: translateY(100%);
    }

    .appt-overlay.show .appt-box {
        transform: translateY(0);
    }

    .appt-row {
        grid-template-columns: 1fr;
    }
}
