/* ==========================================================================
   CRAFTSSOFT — TARJETA VIRTUAL OFICIAL
   Identidad Cromática Oficial:
   70% Azul Profundo (#081A30) · 20% Blanco (#FFFFFF) · 10% Naranja (#FF781F)
   Complementarios: Azul Secundario (#163B60) · Dorado Elegante (#B99A52)
   ========================================================================== */

:root {
    --bg-primary: #081A30;
    --bg-deep: #051120;
    --bg-card: #102A47;
    --bg-surface: #163B60;
    --bg-glass: rgba(22, 59, 96, 0.55);
    --bg-glass-strong: rgba(16, 42, 71, 0.88);

    --text-white: #FFFFFF;
    --text-muted: #CBD5E1;
    --text-soft: #94A3B8;

    --accent-orange: #FF781F;
    --accent-hover: #FF8C3A;
    --accent-glow: rgba(255, 120, 31, 0.32);

    --whatsapp: #25D366;
    --whatsapp-dark: #1DA851;
    --whatsapp-glow: rgba(37, 211, 102, 0.28);

    --gold: #B99A52;
    --gold-light: #DFC27C;
    --gold-border: rgba(185, 154, 82, 0.42);
    --gold-border-soft: rgba(185, 154, 82, 0.24);
    --gold-hover: rgba(185, 154, 82, 0.92);
    --gold-glow: rgba(185, 154, 82, 0.22);

    --radius-shell: 26px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-white);
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

button, input, textarea {
    font-family: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   AMBIENT BACKGROUND
   ========================================================================== */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, #0D2746 0%, var(--bg-deep) 70%);
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
}

.orb-orange {
    width: 380px;
    height: 380px;
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(255, 120, 31, 0.25), transparent 70%);
}

.orb-gold {
    width: 340px;
    height: 340px;
    bottom: -100px;
    left: -90px;
    background: radial-gradient(circle, rgba(185, 154, 82, 0.18), transparent 70%);
}

.orb-blue {
    width: 460px;
    height: 460px;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(22, 59, 96, 0.45), transparent 70%);
}

/* ==========================================================================
   SHELL CONTAINER (Mobile-First Native App Feel, Luxury Card on Desktop)
   ========================================================================== */
.vcard-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 28px 16px 48px;
}

.vcard-shell {
    width: 100%;
    max-width: 460px;
    background: linear-gradient(180deg, rgba(12, 33, 59, 0.96) 0%, rgba(8, 26, 48, 0.98) 100%);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-shell);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 0 40px rgba(185, 154, 82, 0.08);
    overflow: hidden;
    animation: cardEntrance 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==========================================================================
   TOP BANNER
   ========================================================================== */
.vcard-banner {
    position: relative;
    height: 158px;
    overflow: hidden;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--gold-border-soft);
}

.banner-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    display: block;
    filter: brightness(0.92) saturate(1.1);
    transform: scale(1.04);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 26, 48, 0.45) 0%, rgba(8, 26, 48, 0.22) 45%, rgba(12, 33, 59, 0.98) 100%),
        radial-gradient(circle at 85% 20%, rgba(255, 120, 31, 0.25), transparent 55%);
}

.banner-topbar {
    position: absolute;
    top: 14px;
    left: 16px;
    right: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.boutique-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(8, 26, 48, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--gold-border);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-orange);
    box-shadow: 0 0 0 0 rgba(255, 120, 31, 0.7);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(255, 120, 31, 0.75); }
    70% { box-shadow: 0 0 0 8px rgba(255, 120, 31, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 120, 31, 0); }
}

.topbar-actions {
    display: flex;
    gap: 8px;
}

.icon-pill-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--gold-border);
    background: rgba(8, 26, 48, 0.74);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all var(--transition);
}

.icon-pill-btn:hover {
    border-color: var(--gold-hover);
    color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35), 0 0 12px var(--gold-glow);
}

/* ==========================================================================
   IDENTITY & HERO SECTION
   ========================================================================== */
.vcard-identity {
    position: relative;
    padding: 0 22px 24px;
    text-align: center;
}

.avatar-ring {
    width: 118px;
    height: 118px;
    margin: -62px auto 14px;
    padding: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--accent-orange) 100%);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.55),
        0 0 24px rgba(185, 154, 82, 0.25);
    position: relative;
    z-index: 3;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.avatar-ring:hover {
    transform: scale(1.04);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 120, 31, 0.35);
}

.avatar-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #FFFFFF;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-lockup {
    margin-bottom: 10px;
}

.brand-name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 1.78rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.brand-name .craft {
    color: var(--text-white);
}

.brand-name .soft {
    color: var(--accent-orange);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    font-size: 1rem;
    color: var(--gold-light);
}

.brand-pillars {
    margin-top: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.brand-pillars .star {
    color: var(--accent-orange);
    margin: 0 4px;
}

.person-meta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 6px 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(22, 59, 96, 0.55);
    border: 1px solid var(--gold-border-soft);
    font-size: 0.82rem;
}

.person-name {
    font-weight: 700;
    color: var(--text-white);
}

.meta-divider {
    color: var(--gold);
}

.person-role {
    color: var(--text-muted);
    font-weight: 500;
}

.value-proposition {
    background: linear-gradient(145deg, rgba(22, 59, 96, 0.62) 0%, rgba(12, 33, 59, 0.72) 100%);
    border: 1px solid var(--gold-border-soft);
    border-radius: var(--radius-lg);
    padding: 16px 16px 15px;
    margin-bottom: 18px;
}

.headline {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.32;
    color: var(--text-white);
    margin-bottom: 6px;
}

.text-gradient {
    background: linear-gradient(90deg, #FF781F 0%, #FFA35C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-highlight {
    color: var(--accent-orange);
}

.subheadline {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   PRIMARY CTAS & QUICK ACTION GRID
   ========================================================================== */
.primary-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 14px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-cta.full-width {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.94rem;
}

.btn-orange {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #E8620B 100%);
    color: var(--text-white);
    box-shadow: 0 8px 20px var(--accent-glow);
}

.btn-orange:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-orange) 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(255, 120, 31, 0.42);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-dark) 100%);
    color: #041C0E;
    box-shadow: 0 8px 20px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 12px 26px rgba(37, 211, 102, 0.38);
}

.btn-cta:active {
    transform: translateY(0);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: transparent;
    border: 1px solid var(--gold-border);
    color: var(--text-white);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-outline:hover {
    border-color: var(--gold-hover);
    background: rgba(22, 59, 96, 0.55);
    box-shadow: 0 0 16px var(--gold-glow);
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
}

.quick-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    border: 1px solid var(--gold-border-soft);
    color: var(--text-white);
    cursor: pointer;
    transition: all var(--transition);
}

.quick-tile:hover {
    background: rgba(22, 59, 96, 0.9);
    border-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28), 0 0 12px var(--gold-glow);
}

.tile-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(8, 26, 48, 0.65);
    border: 1px solid var(--gold-border-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--accent-orange);
    transition: all var(--transition);
}

.quick-tile:hover .tile-icon {
    background: var(--accent-orange);
    color: var(--text-white);
    border-color: transparent;
}

.tile-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ==========================================================================
   TABS NAVIGATION
   ========================================================================== */
.vcard-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin: 0 22px 20px;
    padding: 5px;
    border-radius: 14px;
    background: rgba(5, 17, 32, 0.75);
    border: 1px solid var(--gold-border-soft);
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-soft);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.tab-btn:hover {
    color: var(--text-white);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(22, 59, 96, 0.95) 0%, rgba(16, 42, 71, 0.95) 100%);
    color: var(--text-white);
    border-color: var(--gold-border);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.tab-btn.active i {
    color: var(--accent-orange);
}

/* ==========================================================================
   TAB PANELS
   ========================================================================== */
.vcard-panels {
    padding: 0 22px 24px;
}

.tab-panel {
    animation: fadeSlide 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.tab-panel[hidden] {
    display: none;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-intro {
    margin-bottom: 16px;
}

.micro-badge {
    display: inline-block;
    padding: 4px 10px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: rgba(255, 120, 31, 0.13);
    border: 1px solid rgba(255, 120, 31, 0.34);
    color: var(--accent-orange);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.panel-intro h2 {
    font-size: 1.24rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 5px;
}

.panel-intro p {
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */
.service-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-card {
    background: linear-gradient(155deg, rgba(22, 59, 96, 0.72) 0%, rgba(13, 35, 61, 0.9) 100%);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 16px;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 14px var(--gold-glow);
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.service-index {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--gold-light);
}

.service-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(255, 120, 31, 0.14);
    border: 1px solid rgba(255, 120, 31, 0.3);
    color: var(--accent-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.service-card p {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 13px;
}

.tag-row span {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 6px;
    background: rgba(8, 26, 48, 0.7);
    border: 1px solid var(--gold-border-soft);
    color: var(--text-muted);
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-orange);
    transition: all var(--transition);
}

.service-cta:hover {
    color: var(--accent-hover);
    gap: 10px;
}

/* ==========================================================================
   ADN & METHOD PANEL
   ========================================================================== */
.method-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.method-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: rgba(22, 59, 96, 0.52);
    border: 1px solid var(--gold-border-soft);
}

.method-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(8, 26, 48, 0.8);
    border: 1px solid var(--gold-border);
    color: var(--accent-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.method-item h3 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.method-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.48;
}

.values-block {
    margin-bottom: 18px;
}

.values-chips {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.value-chip {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: rgba(8, 26, 48, 0.72);
    border: 1px solid var(--gold-border-soft);
}

.value-chip i {
    margin-top: 2px;
    color: var(--gold-light);
    font-size: 0.95rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.value-chip strong {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 2px;
}

.value-chip span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.brand-quote {
    padding: 14px 16px;
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: linear-gradient(90deg, rgba(185, 154, 82, 0.12) 0%, rgba(22, 59, 96, 0.35) 100%);
    font-size: 0.88rem;
    font-style: italic;
    font-weight: 500;
    color: var(--text-white);
    line-height: 1.5;
}

/* ==========================================================================
   EXPRESS QUOTE FORM
   ========================================================================== */
.express-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-field label,
.field-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-field input[type="text"],
.form-field textarea {
    width: 100%;
    padding: 11px 13px;
    border-radius: var(--radius-sm);
    background: rgba(5, 17, 32, 0.78);
    border: 1px solid var(--gold-border-soft);
    color: var(--text-white);
    font-size: 0.88rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input[type="text"]::placeholder,
.form-field textarea::placeholder {
    color: #64748B;
}

.form-field input[type="text"]:focus,
.form-field textarea:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 120, 31, 0.18);
}

.form-field textarea {
    resize: vertical;
    min-height: 82px;
}

.pill-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.select-pill {
    position: relative;
    cursor: pointer;
    margin: 0 !important;
}

.select-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.select-pill span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    border-radius: var(--radius-sm);
    background: rgba(22, 59, 96, 0.45);
    border: 1px solid var(--gold-border-soft);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    transition: all var(--transition);
}

.select-pill input:checked + span {
    background: rgba(255, 120, 31, 0.16);
    border-color: var(--accent-orange);
    color: var(--text-white);
    box-shadow: 0 0 12px rgba(255, 120, 31, 0.22);
}

.select-pill input:checked + span i {
    color: var(--accent-orange);
}

.form-error {
    min-height: 18px;
    font-size: 0.78rem;
    color: #FCA5A5;
    font-weight: 500;
}

/* ==========================================================================
   CONTACT DIRECTORY
   ========================================================================== */
.contact-directory {
    padding: 20px 22px;
    border-top: 1px solid var(--gold-border-soft);
    background: rgba(5, 17, 32, 0.45);
}

.directory-title {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background: rgba(22, 59, 96, 0.48);
    border: 1px solid var(--gold-border-soft);
    margin-bottom: 9px;
    transition: border-color var(--transition), background var(--transition);
}

.contact-row:last-child {
    margin-bottom: 0;
}

.contact-row:hover {
    border-color: var(--gold-hover);
    background: rgba(22, 59, 96, 0.72);
}

.contact-main {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    flex: 1;
}

.contact-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-badge.wa {
    background: rgba(37, 211, 102, 0.16);
    color: var(--whatsapp);
    border: 1px solid rgba(37, 211, 102, 0.35);
}

.contact-badge.mail {
    background: rgba(255, 120, 31, 0.15);
    color: var(--accent-orange);
    border: 1px solid rgba(255, 120, 31, 0.35);
}

.contact-badge.web {
    background: rgba(185, 154, 82, 0.16);
    color: var(--gold-light);
    border: 1px solid rgba(185, 154, 82, 0.35);
}

.contact-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.contact-label {
    font-size: 0.7rem;
    color: var(--text-soft);
}

.contact-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-white);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--gold-border-soft);
    background: rgba(8, 26, 48, 0.75);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition);
}

.copy-btn:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.vcard-footer {
    padding: 18px 22px 22px;
    border-top: 1px solid var(--gold-border-soft);
    text-align: center;
    background: var(--bg-deep);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.footer-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: contain;
}

.footer-wordmark {
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.footer-wordmark .craft {
    color: var(--text-white);
}

.footer-wordmark .soft {
    color: var(--accent-orange);
}

.footer-copy {
    font-size: 0.72rem;
    color: var(--text-soft);
}

/* ==========================================================================
   QR MODAL
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(4, 13, 25, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    animation: fadeIn 0.2s ease;
}

.modal-backdrop[hidden] {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    background: linear-gradient(180deg, #102B4A 0%, #081A30 100%);
    border: 1px solid var(--gold-border);
    border-radius: 22px;
    padding: 24px 22px 22px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(185, 154, 82, 0.12);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--gold-border-soft);
    background: rgba(8, 26, 48, 0.75);
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
}

.modal-close:hover {
    color: var(--text-white);
    border-color: var(--accent-orange);
}

.modal-header {
    margin-bottom: 14px;
}

.modal-logo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: block;
    border: 1px solid var(--gold-border);
}

.modal-header h2 {
    font-size: 1.18rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.modal-header p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.qr-mode-switch {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 4px;
    margin-bottom: 16px;
    border-radius: 11px;
    background: rgba(5, 17, 32, 0.75);
    border: 1px solid var(--gold-border-soft);
}

.qr-mode-btn {
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-soft);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 8px 4px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all var(--transition);
}

.qr-mode-btn.active {
    background: var(--bg-surface);
    color: var(--text-white);
    border-color: var(--gold-border);
}

.qr-mode-btn.active i {
    color: var(--accent-orange);
}

.qr-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    margin-bottom: 16px;
    background: #FFFFFF;
    border-radius: 16px;
    border: 2px solid var(--gold);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

#qr-canvas {
    display: block;
    width: 210px;
    height: 210px;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translate(-50%, 16px);
    z-index: 2000;
    padding: 11px 18px;
    border-radius: 999px;
    background: rgba(16, 42, 71, 0.96);
    border: 1px solid var(--gold);
    color: var(--text-white);
    font-size: 0.84rem;
    font-weight: 600;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    max-width: calc(100vw - 32px);
    text-align: center;
}

.toast.visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ==========================================================================
   MOBILE & SMALL SCREENS
   ========================================================================== */
@media (max-width: 480px) {
    .vcard-wrapper {
        padding: 0;
    }

    .vcard-shell {
        max-width: 100%;
        min-height: 100vh;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    .vcard-identity,
    .vcard-panels,
    .contact-directory {
        padding-left: 18px;
        padding-right: 18px;
    }

    .vcard-tabs {
        margin-left: 18px;
        margin-right: 18px;
    }

    .primary-ctas {
        grid-template-columns: 1fr;
    }
}
