/* ==========================================================================
   THE SKIN CONCEPT - AVANT-GARDE AESTHETICS & BODY CONTOURING
   Official Luxury Linktree / Bio-Link Stylesheet
   Paleta: Dusty Grey-Blue, Mist Grey, Platinum Nacre
   ========================================================================== */

:root {
    /* Paleta Oficial extraída del Brand Manual */
    --dusty-blue-950: #131b20;
    --dusty-blue-900: #1b252c;
    --dusty-blue-850: #222e37;
    --dusty-blue-800: #293842;
    --dusty-blue-700: #354754;
    --dusty-blue-600: #4a5e6b;
    --dusty-blue-500: #5c7280;
    --dusty-blue-400: #768d9c;

    --mist-grey-100: #f8fafb;
    --mist-grey-200: #edf1f3;
    --mist-grey-300: #d6dfe4;
    --mist-grey-400: #abbac4;

    /* Platinum Nacre / Rose Gold Metallic Gradients */
    --nacre-light: #f7ede7;
    --nacre-primary: #d4b9ac;
    --nacre-deep: #b89b8d;
    --nacre-dark: #8c7366;
    
    --grad-nacre: linear-gradient(135deg, #fbf2ec 0%, #d4b9ac 45%, #b89b8d 100%);
    --grad-nacre-hover: linear-gradient(135deg, #ffffff 0%, #e8d5cc 45%, #c8ab9c 100%);
    --grad-dark-card: linear-gradient(145deg, rgba(34, 46, 55, 0.8) 0%, rgba(24, 33, 39, 0.9) 100%);
    --grad-border-nacre: linear-gradient(135deg, rgba(212, 185, 172, 0.45), rgba(212, 185, 172, 0.08));

    /* UI Tokens */
    --text-primary: #ffffff;
    --text-secondary: #d6dfe4;
    --text-muted: #96a7b3;
    --text-accent: #e5cfc3;

    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 10px 30px rgba(212, 185, 172, 0.25);
    --shadow-card: 0 8px 24px rgba(10, 16, 20, 0.4);

    --radius-full: 9999px;
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;

    --font-heading: 'Cinzel', 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--dusty-blue-950);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Ambient Luxury Background */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.25;
}

.glow-orb-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--nacre-primary) 0%, transparent 70%);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
}

.glow-orb-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--dusty-blue-600) 0%, transparent 70%);
    bottom: 5%;
    right: -100px;
}

.glow-orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #3a4d59 0%, transparent 70%);
    top: 40%;
    left: -100px;
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.5;
}

/* Central Mobile Application Frame */
.app-frame {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    min-height: 100vh;
    background: var(--dusty-blue-900);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(212, 185, 172, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (min-width: 520px) {
    body {
        padding: 30px 16px;
    }
    .app-frame {
        border-radius: 32px;
        min-height: auto;
    }
}

/* ==========================================================================
   HERO / PORTADA DE LUJO
   ========================================================================== */
.hero-cover {
    position: relative;
    width: 100%;
    height: 185px;
    overflow: hidden;
}

.hero-cover-media {
    position: absolute;
    inset: 0;
}

.hero-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    transform: scale(1.05);
    filter: brightness(0.85) contrast(1.05);
}

.hero-cover-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(19, 27, 32, 0.25) 0%,
        rgba(27, 37, 44, 0.65) 60%,
        var(--dusty-blue-900) 100%
    );
}

.hero-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
}

.icon-btn-glass {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(19, 27, 32, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 185, 172, 0.3);
    color: var(--mist-grey-200);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.icon-btn-glass svg {
    width: 18px;
    height: 18px;
}

.icon-btn-glass:hover, .icon-btn-glass:active {
    background: rgba(34, 46, 55, 0.85);
    color: var(--nacre-light);
    border-color: var(--nacre-primary);
    transform: scale(1.06);
}

/* Content Area */
.content-wrapper {
    padding: 0 20px 48px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   PROFILE / BRAND IDENTITY
   ========================================================================== */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -65px; /* Overlap Avatar with Hero */
    margin-bottom: 24px;
    width: 100%;
}

.avatar-wrapper {
    position: relative;
    width: 122px;
    height: 122px;
    margin-bottom: 16px;
}

.avatar-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--grad-nacre);
    padding: 2px;
    box-shadow: 0 8px 24px rgba(212, 185, 172, 0.35);
    animation: rotateSheen 14s linear infinite;
}

@keyframes rotateSheen {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.avatar-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, #2a3843 0%, #172127 100%);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s ease;
}

.avatar-container:hover .avatar-img {
    transform: scale(1.06);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(36, 48, 57, 0.75);
    border: 1px solid rgba(212, 185, 172, 0.28);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--mist-grey-200);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-subtle);
}

.status-dot {
    width: 7px;
    height: 7px;
    background-color: #34d399;
    border-radius: 50%;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background-color: #34d399;
    opacity: 0.5;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(2.2); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    background: var(--grad-nacre);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
    text-shadow: 0 2px 14px rgba(212, 185, 172, 0.2);
}

.brand-subtitle {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--mist-grey-400);
    margin-bottom: 12px;
}

.brand-bio {
    font-size: 0.86rem;
    color: var(--mist-grey-300);
    max-width: 390px;
    margin: 0 auto;
    line-height: 1.55;
}

/* ==========================================================================
   LINKS SECTION
   ========================================================================== */
.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 30px;
}

/* Base Link Card */
.link-card {
    display: block;
    width: 100%;
    text-decoration: none;
    background: var(--grad-dark-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 185, 172, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-card);
    transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 185, 172, 0.42);
    box-shadow: 0 10px 28px rgba(10, 16, 20, 0.5), 0 0 16px rgba(212, 185, 172, 0.12);
}

.link-card:active {
    transform: translateY(0) scale(0.99);
}

.card-inner {
    display: flex;
    align-items: center;
    padding: 15px 16px;
    gap: 14px;
}

.card-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(48, 64, 75, 0.55);
    border: 1px solid rgba(212, 185, 172, 0.16);
    color: var(--nacre-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.card-icon-wrap svg {
    width: 21px;
    height: 21px;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    letter-spacing: 0.2px;
}

.card-desc {
    font-size: 0.77rem;
    color: var(--mist-grey-400);
}

.card-arrow {
    color: var(--mist-grey-400);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
}

.card-arrow svg {
    width: 18px;
    height: 18px;
}

.link-card:hover .card-arrow {
    transform: translateX(3px);
    color: var(--nacre-light);
}

.link-card:hover .card-icon-wrap {
    background: rgba(212, 185, 172, 0.18);
    border-color: var(--nacre-primary);
    color: #ffffff;
}

/* ==========================================================================
   PRIMARY HIGHLIGHT: WHATSAPP VIP BUTTON
   ========================================================================== */
.link-card-featured {
    background: linear-gradient(135deg, #2c3e48 0%, #1f2c34 100%);
    border: 1.5px solid var(--nacre-primary);
    box-shadow: 0 8px 25px rgba(212, 185, 172, 0.22);
}

.link-card-featured .card-icon-wrap.icon-whatsapp {
    background: var(--grad-nacre);
    color: #172127;
    border: none;
    box-shadow: 0 4px 14px rgba(212, 185, 172, 0.35);
}

.link-card-featured .card-title {
    color: #ffffff;
    font-weight: 700;
}

.link-card-featured .card-desc {
    color: var(--nacre-light);
    font-weight: 500;
}

/* Metallic Shimmer animation */
.link-card-featured::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 45%;
    height: 220%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.16),
        transparent
    );
    transform: rotate(30deg);
    animation: shimmerPass 4.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmerPass {
    0% { left: -60%; }
    40%, 100% { left: 140%; }
}

/* ==========================================================================
   EXPANDABLE CARDS (MAP, SERVICES, SCHEDULE)
   ========================================================================== */
.expandable-card .card-arrow {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.expandable-card.active .card-arrow {
    transform: rotate(180deg);
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
    background: rgba(20, 28, 34, 0.94);
    border-top: 1px solid rgba(212, 185, 172, 0.1);
}

.expandable-card.active .expandable-content {
    opacity: 1;
}

/* Map Panel */
.map-panel {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.map-info-text {
    font-size: 0.82rem;
    color: var(--mist-grey-200);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.map-info-text svg {
    width: 17px;
    height: 17px;
    color: var(--nacre-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.map-iframe-holder {
    width: 100%;
    height: 185px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(212, 185, 172, 0.2);
    background: #192329;
}

.map-iframe-holder iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-pill-primary {
    background: var(--grad-nacre);
    color: #172127;
    box-shadow: 0 4px 12px rgba(212, 185, 172, 0.2);
}

.btn-pill-primary:hover {
    background: var(--grad-nacre-hover);
    transform: translateY(-2px);
}

.btn-pill-secondary {
    background: rgba(45, 60, 71, 0.6);
    color: var(--mist-grey-200);
    border: 1px solid rgba(212, 185, 172, 0.22);
}

.btn-pill-secondary:hover {
    background: rgba(56, 74, 87, 0.85);
    border-color: var(--nacre-primary);
    transform: translateY(-2px);
}

/* Services Panel */
.services-panel {
    padding: 14px 16px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.service-item {
    background: rgba(33, 44, 52, 0.6);
    border: 1px solid rgba(212, 185, 172, 0.12);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    transition: all 0.25s ease;
}

.service-item:hover {
    border-color: rgba(212, 185, 172, 0.32);
    background: rgba(40, 54, 63, 0.7);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.service-title {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--nacre-light);
}

.service-tag {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    background: rgba(212, 185, 172, 0.14);
    color: var(--nacre-primary);
    border: 1px solid rgba(212, 185, 172, 0.22);
}

.service-desc {
    font-size: 0.77rem;
    color: var(--mist-grey-300);
    line-height: 1.45;
}

/* Schedule Panel */
.schedule-panel {
    padding: 15px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.81rem;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.schedule-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.schedule-days {
    color: var(--mist-grey-300);
    font-weight: 500;
}

.schedule-hours {
    color: var(--nacre-light);
    font-weight: 600;
}

/* ==========================================================================
   SOCIALS & FOOTER
   ========================================================================== */
.socials-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.socials-title {
    font-size: 0.74rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mist-grey-400);
}

.socials-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad-dark-card);
    border: 1px solid rgba(212, 185, 172, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mist-grey-300);
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-subtle);
}

.social-icon-btn svg {
    width: 19px;
    height: 19px;
}

.social-icon-btn:hover {
    color: #ffffff;
    border-color: var(--nacre-primary);
    background: rgba(48, 64, 75, 0.9);
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 6px 16px rgba(212, 185, 172, 0.25);
}

.footer-note {
    margin-top: 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-logo {
    width: 36px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-copy {
    font-size: 0.7rem;
    color: var(--mist-grey-400);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Toast Message */
.toast-msg {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(19, 27, 33, 0.95);
    border: 1px solid var(--nacre-primary);
    color: var(--mist-grey-100);
    padding: 11px 20px;
    border-radius: var(--radius-full);
    font-size: 0.83rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 100;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
    pointer-events: none;
}

.toast-msg.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 380px) {
    .content-wrapper {
        padding: 0 14px 36px 14px;
    }
    .brand-title {
        font-size: 1.38rem;
    }
    .avatar-wrapper {
        width: 108px;
        height: 108px;
    }
    .card-inner {
        padding: 13px 13px;
    }
    .card-icon-wrap {
        width: 40px;
        height: 40px;
    }
}
