:root {
    --bg-start: #0f0c29;
    --bg-mid: #302b63;
    --bg-end: #24243e;
    --coral-orbion: #ff7e67;
    --celeste-tech: #00d4ff;
    --wsp-grad: linear-gradient(45deg, #25D366 0%, #128C7E 50%, #00d4ff 100%);
    --insta-grad: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* --- ANIMACIONES --- */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes modalIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --- BASE --- */
body {
    background: linear-gradient(-45deg, var(--bg-start), var(--bg-mid), var(--bg-end), #1a1a2e);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--white);
    overflow-x: hidden;
}

/* --- NAVEGACIÓN --- */
nav {
    height: 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6%;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(15px);
    z-index: 100;
}

.logo-container { display: flex; align-items: center; gap: 12px; }
.nav-logo-img { width: 45px; height: 45px; border-radius: 50%; border: 1px solid var(--coral-orbion); }
.logo-text { font-size: 1.8rem; font-weight: 900; color: var(--coral-orbion); letter-spacing: 1px; }

.user-profile {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}
.user-profile:hover { transform: scale(1.05); }

/* --- CUERPO PRINCIPAL --- */
.services-container {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding: 30px 6% 120px 6%;
    align-content: center;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 35px;
    text-align: center;
    position: relative;
    transition: 0.4s ease;
    cursor: pointer;
}

.card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.icon-main { font-size: 3.5rem; color: var(--coral-orbion); margin-bottom: 15px; }
.active-celeste .icon-main { color: var(--celeste-tech); }

.badge {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-10deg);
    background: var(--coral-orbion); color: white; padding: 8px 20px;
    font-weight: 900; border-radius: 8px; border: 2px solid white; z-index: 10;
}
.soon-card { opacity: 0.4; cursor: default; }

/* --- FOOTER Y BOTONES --- */
.fixed-footer {
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(10, 10, 30, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 900;
}

.footer-content { display: flex; align-items: center; gap: 20px; }

.btn-insta, .btn-wsp {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    transition: 0.3s;
}
.btn-insta { background: var(--insta-grad); }
.btn-wsp { background: var(--wsp-grad); }
.btn-insta:hover, .btn-wsp:hover { transform: translateY(-3px); filter: brightness(1.1); }

/* --- MODALES --- */
.modal {
    display: none; position: fixed; z-index: 2000;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px);
    justify-content: center; align-items: center; padding: 20px;
}

.modal-content {
    background: linear-gradient(145deg, #1e1e3f, #16162d);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px; border-radius: 35px; width: 100%; max-width: 500px;
    text-align: center; position: relative;
    animation: modalIn 0.4s ease;
}

.close { position: absolute; right: 25px; top: 20px; font-size: 28px; color: white; cursor: pointer; opacity: 0.5; }

.modal-avatar-img {
    width: 100px; height: 100px; border-radius: 50%;
    border: 3px solid var(--coral-orbion); margin-bottom: 15px; object-fit: cover;
}

.modal-list { text-align: left; list-style: none; margin: 25px 0; display: flex; flex-direction: column; gap: 12px; }
.modal-list li { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.modal-list i { color: var(--coral-orbion); }

.btn-modal-wsp {
    display: inline-block; width: 100%; padding: 18px;
    background: var(--coral-orbion); color: white; text-decoration: none;
    border-radius: 18px; font-weight: bold; transition: 0.3s;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .services-container { grid-template-columns: 1fr; padding-bottom: 180px; }
    .footer-content { flex-direction: column; gap: 10px; padding: 10px 0; }
    .fixed-footer { height: auto; padding: 15px 0; }
    .logo-text { font-size: 1.4rem; }
}