:root {
    --primario: #4fda99;   
    --secundario: #f4f4f4;  
    --terciario: #00cde8;  
    --rosaoscuro: #db0ac6;     
    --rosaclaro: #f35ce6;      
    --acento: #ed8a48;    
    --max-ancho: 1200px;   
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ececec;
    color: #333333;
    font-family: 'Raleway', sans-serif;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

p{
    font-weight: 600;
}

img{
    height: 100px;
    width: 100px;
}

/* --- HEADER Y NAVEGACIÓN --- */
header {
    background-color: var(--secundario);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    width: 60px;
    height: auto;
}

.logo-container h1 {
    color: var(--rosaoscuro);
    font-size: 1.8rem;
    font-weight: 800;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    /* Animación más suave en los enlaces */
    transition: color 0.4s ease-in-out;
}

nav ul li a:hover {
    color: var(--rosaoscuro);
}

/* --- SECCIONES GENERALES --- */
section {
    padding: 70px 5%;
    max-width: var(--max-ancho);
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

section h2 {
    color: var(--terciario);
    margin-bottom: 25px;
    font-size: 2.2rem;
}

/* --- HERO (INICIO) --- */
.hero {
    background: linear-gradient(135deg, var(--rosaclaro), var(--rosaoscuro));
    color: white;
    border-radius: 20px;
    margin-top: 40px;
    padding: 100px 20px;
    box-shadow: 0 8px 20px rgba(219, 10, 198, 0.2);
}

.hero h2 {
    color: white;
    font-size: 2.8rem;
}

/* --- GRID DE SERVICIOS --- */
.grid-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.servicio-item {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--terciario);
    /* Animación suave al hacer hover en servicios */
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.servicio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.servicio-item h3 {
    color: var(--rosaoscuro);
    margin-bottom: 15px;
}

/* --- CARDS DE TRABAJOS --- */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    /* Animación más suave y prolongada */
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 25px 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    color: var(--terciario);
    margin-bottom: 10px;
}

.card-content p {
    margin-bottom: 20px;
    flex-grow: 1;
}

/* --- ENLACE A PDF --- */
.enlace-pdf {
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--secundario);
    color: var(--rosaoscuro);
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--rosaoscuro);
    transition: all 0.4s ease-in-out;
}

.enlace-pdf:hover {
    background-color: var(--rosaoscuro);
    color: white;
}

/* --- BOTONES DE CONTACTO --- */
.botones-contacto {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 35px;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    color: white;
    cursor: pointer;
    /* Animaciones suaves para los botones */
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.btn-whatsapp { background-color: var(--primario); }
.btn-instagram { background: linear-gradient(45deg, var(--acento), var(--rosaoscuro)); }
.btn-gmail { background-color: #ea4335; }


/* --- MEDIA QUERIES (DISEÑO RESPONSIVO) --- */

@media (max-width: 768px) {
    /* Ajustes para el Header en móviles */
    header {
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        margin-top: 20px;
        padding: 60px 15px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    section {
        padding: 50px 20px;
    }

    section h2 {
        font-size: 1.8rem;
    }

    /* Los botones ocuparán todo el ancho disponible en pantallas pequeñas */
    .btn {
        width: 100%;
        text-align: center;
    }
}


/* --- FOOTER --- */
footer {
    background-color: #222222; 
    color: var(--secundario);
    padding: 50px 5% 20px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo .logo {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--secundario);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-logo .logo span {
    color: var(--rosaoscuro); 
}

.footer-logo p {
    max-width: 450px;
    margin: 0 auto 25px;
    color: #bbbbbb;
    font-weight: 500;
}



/* Sección inferior del Footer */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.95rem;
    color: #999999;
}

.footer-bottom p {
    font-weight: 500;
    margin: 0;
}

.footer-bottom span {
    color: var(--primario); 
    font-weight: 800;
}


