* {
            box-sizing: border-box; 
        }
        
        :root {
            --bg-color: #FFC6D4; 
            --text-dark: #634b58; 
            --text-pink: #E1566E;
            --box-bg: #ffffff;
        }
        
        ::-webkit-scrollbar { width: 8px; height: 8px; }
        ::-webkit-scrollbar track { background: #11111100; }
        ::-webkit-scrollbar-thumb { background: var(--text-pink); border-radius: 0px; }
        ::-webkit-scrollbar-thumb:hover { background: #c94056; }
        
        body {
            font-family: 'Nunito', sans-serif;
            background-color: var(--bg-color); 
            background-image: url('../icons/about/fondo.png'); 
            background-size: cover; 
            background-position: center; 
            color: var(--text-dark);
            overflow-x: hidden; 
            width: 100%;
        }

        .principal-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 97%; 
            margin: 0 auto;
            width: 100%; 
        }

        .header-container {
            max-width: 97%; 
            width: 100%;
            background: rgba(255, 255, 255, 0);
            padding-top: 20px;
        }

        .container {
            max-width: 1400px; 
            width: 100%;
            padding: 20px;
            border-radius: 20px;
            min-height: 80vh;
        }

        .window-header {
            background-color: white;
            border-radius: 15px; 
            border: 2px solid var(--text-pink); 
            margin-bottom: 20px;
            position: relative; 
        }

        .tabs-container {
            display: flex;
            background-color: white; 
            border-bottom: 2px solid var(--text-pink);
            padding: 5px 10px 0 10px; 
            align-items: flex-end; 
            border-radius: 15px 15px 0 0;
        }

        .tab {
            color: var(--text-dark);
            border: 2px solid var(--text-pink);
            border-bottom: none; 
            border-radius: 10px 10px 0 0; 
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }

        .casa-tab {
            padding: 10px 20px;
            font-size: 0.95em;
            background-color: white; 
            z-index: 1;
        }
        
        .enlace-casa {
            text-decoration: none;
            color: var(--text-dark);
            
        }

        .about-tab {
            padding: 5px 15px; 
            font-size: 0.85em; 
            background-color: white; 
            color: var(--text-pink);
            margin-bottom: -2px; 
            padding-bottom: 7px; 
            margin-left: -5px; 
            z-index: 2;
        }

        .header-main {
            display: flex;
            justify-content: space-between; 
            align-items: center;
            padding: 10px 20px;
            background-color: white;
            position: relative; 
            min-height: 50px;
            border-radius: 0 0 15px 15px;
        }

        .logo-img {
            width: 45px;
            height: 45px;
            border-radius: 12px;
            object-fit: cover;
            z-index: 2;
        }

        .logo-text {
            position: absolute;
            left: 50%;
            transform: translateX(-50%); 
            font-size: 2em;
            font-weight: normal;
            color: var(--text-pink);
            letter-spacing: 2px;
            white-space: nowrap;
            z-index: 1; 
            font-family: 'Pacifico', cursive;
        }

        .heart-menu-btn {
            background: none;
            border: none;
            color: var(--text-pink);
            font-size: 2.2em;
            cursor: pointer;
            transition: transform 0.2s ease;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2; 
        }

        .heart-menu-btn:hover {
            transform: scale(1.1);
            color: #ff4785;
        }

        .dropdown-menu {
            display: none; 
            position: absolute;
            top: 100%; 
            right: 0;
            background-color: white;
            border: 2px solid var(--text-pink);
            border-radius: 15px;
            padding: 15px;
            box-shadow: 0 8px 20px rgba(216, 92, 138, 0.2);
            z-index: 1000;
            min-width: 150px;
            flex-direction: column;
            gap: 10px;
            margin-top: 5px; 
        }

        .dropdown-menu.show {
            display: flex;
        }

        .dropdown-menu a {
            font-family: 'Delius', cursive; 
            color: var(--text-pink); 
            text-decoration: none;
            font-size: 1.1em;
            padding: 5px 10px;
            border-radius: 8px;
            transition: background-color 0.2s, color 0.2s;
        }

        .dropdown-menu a:hover {
            background-color: var(--text-pink);
            color: white;
        }

.contacto-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh; 
    padding: 40px 20px;
    width: 100%;
}

.contact-box-wrapper {
    background-color: white;
    border-radius: 20px;
    padding: 30px 40px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    max-width: 1300px; 
    width: 100%;
    border: 2px solid var(--text-pink);
    display: flex; 
    flex-direction: row; 
    align-items: center; 
    gap: 50px; 
}

.contact-gif {
    width: 900px; 
    max-width: 50%; 
    height: auto;
    object-fit: contain;
}

.contact-text-block {
    flex: 1; 
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
}

.contact-text-block p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3em; 
    line-height: 1.6;
    color: #000000; 
    margin: 0;
    font-weight: 600; 
    text-align: center; 
}

.texto-despedida {
    margin-top: 15px !important;
}

.correo-enlace {
    color: var(--text-pink); 
    text-decoration: none;
    font-weight: 700; 
    font-size: 1.4em; 
    transition: color 0.3s ease;
    display: inline-block;
    margin: 15px 0; 
}

.correo-enlace:hover {
    color: #c94056;
    text-decoration: underline;
}

@media (max-width: 950px) { 
    .contact-box-wrapper {
        flex-direction: column; 
        padding: 30px 20px;
        text-align: center;
        align-items: center; 
        gap: 20px; 
    }
    
    .contact-gif {
        width: 300px; 
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .header-main { padding: 10px; }
    .logo-text { font-size: 1.5em; } 
    .heart-menu-btn { font-size: 1.8em; }

    .contact-gif {
        width: 200px; 
    }
    
    .contact-text-block p {
        font-size: 1em; 
    }
    
    .correo-enlace {
        font-size: 1em;
        word-break: break-all; 
    }
}