/* ===============================
   Home – Estilos específicos
   =============================== */

/* HERO SECTION */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-image {
    filter: brightness(0.6) contrast(1.1);
    object-position: center 30%;
}

/* Contenido del hero con sombras de texto mejoradas */
.hero-title {
    color: white !important;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 12px rgba(0, 0, 0, 0.6),
        0 8px 24px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
    line-height: 1.1;
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    /* Añadido: tamaño base */
    font-weight: 700;
    /* Añadido: más peso */
    margin-bottom: 1rem;
    /* Añadido: espacio inferior */
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.7),
        0 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    letter-spacing: 0.5px;
    font-size: 2rem;
    /* Añadido: tamaño base */
    line-height: 1.3;
    /* Añadido: mejor interlineado */
    margin-bottom: 1.5rem;
    /* Añadido: espacio inferior */
}

.hero-quote {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.6),
        0 2px 6px rgba(0, 0, 0, 0.4);
    position: relative;
    font-style: italic;
    font-size: 1.75rem;
    /* Añadido: tamaño base */
    line-height: 1.4;
    /* Añadido: mejor interlineado */
    max-width: 48rem;
    /* Añadido: ancho máximo */
    margin: 0 auto 2rem;
    /* Añadido: márgenes */
}

.hero-quote::before,
.hero-quote::after {
    content: '"';
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5em;
    position: relative;
    top: 0.2em;
}

/* Botones específicos para hero (sobreescriben globales) */
.hero-btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.3),
        0 8px 25px rgba(68, 84, 31, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    display: inline-block;
    cursor: pointer;
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #3a4a1c 100%);
    transform: translateY(-3px);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 12px 30px rgba(68, 84, 31, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    display: inline-block;
    cursor: pointer;
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-3px);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Tarjeta de contenido para hero */
.hero-content-card {
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.3) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem 2rem;
}

/* Cards específicas para Home */
.home-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.home-card:hover {
    box-shadow: 0 10px 25px rgba(68, 84, 31, 0.15);
    transform: translateY(-2px);
}

.home-card i {
    color: var(--primary);
    margin-bottom: 1rem;
}

.home-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.home-card p {
    color: var(--text-main);
    line-height: 1.6;
}

/* Testimonial específico para Home */
.home-testimonial {
    background-color: var(--bg-soft);
    padding: 5rem 1rem;
}

.testimonial-text {
    color: var(--primary-dark);
    font-style: italic;
    font-family: 'Playfair Display', serif;
    font-size: 1.875rem;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.testimonial-author {
    color: var(--primary);
    font-weight: 500;
    font-size: 1.125rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-subtitle {
        font-size: 1.25rem !important;
    }

    .hero-quote {
        font-size: 1.125rem !important;
    }

    .home-card {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 1.5rem;
    }
}

/* Sección About específica */
.home-about-section {
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.home-about-section h2 {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.home-about-divider {
    width: 6rem;
    height: 2px;
    background-color: var(--primary);
    margin: 0 auto 3rem;
}