/* =========================================
HERO SECTION: texto | botones | imagen
========================================= */
.hero {
    margin-top: 70px;
    background: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul-medio) 50%, var(--azul-principal) 100%);
    color: var(--blanco);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: center;
    gap: 2rem;
}

/* Columna izquierda: texto */
.hero-text { text-align: left; }

.hero-text h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-text h1 span { color: var(--naranja-principal); }

.hero-text p {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 320px;
}

/* Columna central: botones */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Columna derecha: imagen */
.hero-image {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* Pin naranja decorativo */
.hero-pin {
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 90px;
    height: 90px;
    z-index: 2;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.35));
}
.contact-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--azul-muy-claro) 0%, var(--blanco) 100%);
}

.contact-subtitle {
    text-align: center;
    color: var(--gris);
    font-size: 1.15rem;
    max-width: 600px;
    margin: -2rem auto 3rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.social-card {
    background: var(--blanco);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    animation: fadeIn 0.6s ease-out;
}

.social-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.social-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.social-card:hover .social-icon {
    transform: scale(1.15) rotate(5deg);
}

.social-card h3 {
    color: var(--azul-oscuro);
    font-size: 1.3rem;
}

.social-card p {
    color: var(--gris);
    font-size: 0.95rem;
}

.social-btn {
    margin-top: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--blanco);
    transition: all 0.3s ease;
}

/* --- Instagram --- */
.social-card.instagram .social-icon {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.social-card.instagram:hover { border-color: #dc2743; }
.social-card.instagram .social-btn {
    background: linear-gradient(45deg, #dc2743, #bc1888);
}

/* --- Facebook --- */
.social-card.facebook .social-icon { background: #1877f2; }
.social-card.facebook:hover { border-color: #1877f2; }
.social-card.facebook .social-btn { background: #1877f2; }

/* --- X (Twitter) --- */
.social-card.x .social-icon { background: #000000; }
.social-card.x:hover { border-color: var(--negro); }
.social-card.x .social-btn { background: #000000; }

/* --- Info de contacto --- */
.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    background: var(--blanco);
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    color: var(--azul-medio);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
    border-bottom: 3px solid var(--naranja-principal);
}



/* ---------- RESPONSIVE ---------- */

/* Tablet: texto arriba centrado, botones e imagen abajo */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .hero-text {
        grid-column: 1 / -1;
        text-align: center;
    }
    .hero-text p { margin: 0 auto; }
    .hero-image { justify-content: center; }
}
/* Celular: todo apilado y centrado */
@media (max-width: 768px) {

    /* --- Hero --- */
    .hero {
        padding: 3rem 1.5rem;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-text {
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 1rem;
        margin: 0 auto;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        white-space: normal;
    }
    .hero-image {
        justify-content: center;
    }
    .hero-image img {
        max-width: 260px;
    }
    .hero-pin {
        width: 60px;
        height: 60px;
        left: 0;
    }
}