:root {
    --coral: #FF7E67;
    --cyan: #00E5FF;
    --dark: #1A1A1A;
    --bg: #F8FAFC;
    --white: #FFFFFF;
    --text-gray: #64748B;
    --border: #E2E8F0;
    --gold: #FFB100;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    /* iOS Variables Originales */
    --ios-blue: #007aff;
    --ios-text-dark: #1d1d1f;
    --ios-text-gray: #86868b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: var(--bg);
    color: var(--dark);
}

/* --- Layout Principal --- */
.container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 40px;
}

.main-layout {
    display: flex;
    gap: 80px;
    /* Espacio amplio para separar el anuncio */
    align-items: flex-start;
}

.content-area {
    flex: 1;
}

/* --- Buscador --- */
.search-container {
    background: white;
    padding: 8px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    border: 1px solid var(--border);
}

.search-container input {
    flex: 1;
    border: none;
    padding: 12px 10px;
    outline: none;
    font-size: 1rem;
    background: transparent;
}

.btn-filter {
    background: var(--dark);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-filter:hover {
    background: var(--coral);
}

/* --- Grid de Servicios --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--white);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border-color: var(--coral);
}

.rating-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #FFF8E1;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.provider-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.avatar-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--bg);
}

.avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 800;
}

.provider-name {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.tag-category {
    display: inline-block;
    background: #E0F2FE;
    color: #0284C7;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 5px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.skill-tag {
    font-size: 0.75rem;
    background: var(--bg);
    padding: 5px 10px;
    border-radius: 20px;
    color: var(--text-gray);
    border: 1px solid var(--border);
}

.experience-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 20px;
    height: 3.2em;
    overflow: hidden;
}

.footer-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--bg);
}

.btn-contact {
    background: var(--cyan);
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* --- SIDEBAR DERECHO (ESTILO ORIGINAL RESTAURADO) --- */
.right-sidebar {
    width: 320px;
    position: sticky;
    top: 40px;
    flex-shrink: 0;
}

.glass-card-vertical {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 32px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.visual-element-mini {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.circle-gradient-small {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #007aff, #5856d6);
    filter: blur(25px);
    opacity: 0.2;
}

.icon-float {
    font-size: 3rem;
    color: var(--ios-blue);
    position: relative;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.glass-card-vertical h2 {
    font-size: 1.6rem;
    color: var(--ios-text-dark);
    margin: 15px 0;
    line-height: 1.2;
    font-weight: 800;
}

.glass-card-vertical p {
    font-size: 1rem;
    color: var(--ios-text-gray);
    margin-bottom: 30px;
    line-height: 1.4;
}

.badge {
    font-size: 11px;
    font-weight: 800;
    color: var(--ios-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn-primary-full {
    display: block;
    background: var(--ios-blue);
    color: white;
    text-decoration: none;
    padding: 16px;
    border-radius: 18px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-primary-full:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.3);
}

.btn-secondary-simple {
    display: block;
    margin-top: 15px;
    color: var(--ios-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .main-layout {
        flex-direction: column;
    }

    .right-sidebar {
        width: 100%;
        position: static;
    }
}