:root {
    --glass-bg: rgba(255, 255, 255, 0.35);
    --glass-border: rgba(255, 255, 255, 0.5);
    --text-main: #1d1d1f;
    --text-secondary: #424245;
    --accent: #2c2c2e;
}

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

body {
    background-color: #f5f5f7;
    background-image: 
        radial-gradient(at 10% 20%, hsla(253,16%,7%,0.05) 0, transparent 50%), 
        radial-gradient(at 80% 0%, hsla(225,39%,30%,0.08) 0, transparent 50%), 
        radial-gradient(at 90% 80%, hsla(339,49%,30%,0.08) 0, transparent 50%),
        radial-gradient(at 0% 100%, hsla(22,100%,77%, 0.15) 0, transparent 50%),
        radial-gradient(at 100% 100%, hsla(242,100%,70%, 0.12) 0, transparent 50%);
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Montserrat", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    position: relative;
    padding: 2rem 1rem;
}

/* Ambient animated blobs for Apple Liquid Glass Background */
.ambient-blob {
    position: fixed;
    filter: blur(90px);
    z-index: -1;
    opacity: 0.7;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    width: 45vw;
    height: 45vw;
    background: #ffb8b8;
    top: -10%;
    left: -10%;
    border-radius: 50%;
}

.blob-2 {
    width: 50vw;
    height: 50vw;
    background: #b8c6ff;
    bottom: -20%;
    right: -10%;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation-delay: -5s;
}

.blob-3 {
    width: 40vw;
    height: 40vw;
    background: #e6b8ff;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 60% 40% 30% 70% / 50% 30% 70% 50%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5vw, 5vh) scale(1.1); }
    100% { transform: translate(-3vw, 8vh) scale(0.95); }
}

.container {
    background: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: 36px;
    box-shadow: 
        0 24px 48px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 460px;
    width: 100%;
    z-index: 10;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.container:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    border: 3px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
    transform: scale(1.08) rotate(-2deg);
}

h1 {
    font-size: 2.2rem;
    margin: 0 0 0.4rem 0;
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.8px;
    text-align: center;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 1.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

.direct {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.5;
    font-weight: 400;
}

.expertise {
    margin-bottom: 2rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.expertise-title {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
}

.expertise-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.expertise-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 500;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.4);
    cursor: pointer; /* Indicar interatividade */
}

.expertise-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.expertise-item i {
    color: #1d1d1f;
    font-size: 1.2rem;
    width: 28px;
    text-align: center;
}

/* Tooltip estilisada Apple Glass */
.expertise-tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(30, 30, 32, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: #fff;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
    width: max-content;
    max-width: 260px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 24px rgba(0,0,0,0.15), inset 0 1px 1px rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 100;
    pointer-events: none;
    text-align: center;
}

.expertise-item:hover .expertise-tooltip,
.expertise-item.active .expertise-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.expertise-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(30, 30, 32, 0.7) transparent transparent transparent;
}

.contact {
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 0.8rem 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.contact-item i {
    color: var(--text-main);
    font-size: 1.1rem;
    opacity: 0.8;
}

.contact-item a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.contact-item a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1.5px;
    background: var(--text-main);
    bottom: -2px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.contact-item a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: rgba(24, 24, 27, 0.85); /* Premium dark look */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 1.1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px; /* Pillow shape common in Apple UI */
    font-size: 1.15rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
}

.whatsapp-btn i {
    font-size: 1.4rem;
    color: #34d399; /* Subtle neon green for Apple vibe */
}

.whatsapp-btn:hover {
    background: rgba(24, 24, 27, 1);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

@media (max-width: 500px) {
    .container {
        padding: 2.5rem 1.5rem;
        border-radius: 28px;
    }
    .ambient-blob {
        opacity: 0.5;
    }
    .expertise-item:hover {
        transform: translateX(3px);
    }
    .expertise-tooltip {
        width: 220px;
        bottom: 110%;
        font-size: 0.85rem;
    }
}
