:root {
    --primary-color: #0077b6;
    --secondary-color: #00b4d4;
    --accent-color: #f12711;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.9);
    --text-color: #023e8a;
    --text-muted: #62b6cb;
    --font-outfit: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-outfit);
    background: #caf0f8;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(202, 240, 248, 0.15) 100%);
    backdrop-filter: saturate(1.2);
    -webkit-backdrop-filter: saturate(1.2);
    z-index: 0;
}

header {
    position: relative;
    z-index: 10;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: flex-end;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 15px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.language-toggle button {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-weight: 600;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.language-toggle button.active {
    opacity: 1;
    color: var(--primary-color);
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 5;
}

.container {
    width: 100%;
    max-width: 600px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: 0 40px 100px -20px rgba(2, 62, 138, 0.15);
}

.logo-container {
    margin-bottom: 0.5rem;
}

.logo {
    max-width: 260px;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.05));
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #03045e, #0077b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

p {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 2.5rem;
}

.contact-row-refined {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.45);
    padding: 12px 18px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    gap: 10px;
}

.contact-row-refined:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateX(5px);
}

.phone-number {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-color);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.action-icons {
    display: flex;
    gap: 10px;
}

.icon-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.2rem;
    color: white;
}

.call-icon {
    background: linear-gradient(135deg, #0077b6 0%, #00b4d4 100%);
}

.wa-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.icon-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.social-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

.btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.95rem;
    justify-content: center;
    color: white;
}

.btn-email {
    background: linear-gradient(135deg, #03045e 0%, #023e8a 100%);
}

.btn-call {
    background: linear-gradient(135deg, #0077b6 0%, #00b4d4 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 119, 182, 0.3);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(220, 39, 67, 0.3);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    filter: brightness(1.05);
}

.secondary-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    position: relative;
    z-index: 5;
    opacity: 0.6;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .glass-card {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    .phone-number {
        font-size: 1.05rem;
    }
    
    .icon-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .contact-row-refined {
        padding: 10px 15px;
    }
}

@media (max-width: 375px) {
    .phone-number {
        font-size: 0.95rem;
    }

    .icon-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .glass-card {
        padding: 2.5rem 1rem;
    }

    .social-actions {
        grid-template-columns: 1fr;
    }
}
