:root {
    --text-main: #333333;
    --text-muted: #555555;
    --accent: #000000;
    --font-header: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* Prevent scrolling */
    font-family: var(--font-body);
}

body {
    background: url('FondoLimpio.png') center center / cover no-repeat fixed;
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 60px 10%;
    position: relative;
}

header {
    margin-bottom: 40px;
    text-align: center;
}

.logo {
    font-family: var(--font-header);
    font-size: 3.5rem;
    /* Swapped from 2rem */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    /* Increased for prominence */
    color: var(--accent);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.content-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    overflow: hidden;
}

.profile-section {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.image-container {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 8px solid white;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-section {
    flex: 1.2;
    text-align: left;
}

h1 {
    font-family: var(--font-header);
    font-size: 2rem;
    /* Swapped from 3.5rem */
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--accent);
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.8);
}

p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 450px;
    font-weight: 500;
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.8);
}

.services-mini {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--accent);
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background-color: #333;
}

footer {
    margin-top: auto;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-bottom: 20px;
}

/* Tablet */
@media (max-width: 1024px) {
    .main-container {
        padding: 30px;
    }

    .logo {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    h1 {
        font-size: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .main-container {
        width: 95vw;
        height: 95vh;
        padding: 20px;
    }

    .logo {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .content-wrapper {
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    .profile-section {
        flex: 0.8;
    }

    .image-container {
        max-width: 250px;
    }

    .info-section {
        flex: 1;
        text-align: center;
        padding-right: 0;
    }

    h1 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.9rem;
    }

    .services-mini {
        justify-content: center;
    }
}

@media (max-height: 600px) {
    .image-container {
        max-width: 150px;
    }

    h1 {
        font-size: 1.2rem;
    }

    p {
        display: none;
    }
}