/* ============================================
   HERO SECTION - Sección Principal
   ============================================ */

.hero {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #faedda;
    overflow: hidden;
    padding: clamp(120px, 15vh, 200px) 0 clamp(100px, 12vh, 140px);
    box-sizing: border-box;
}

.hero>.container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    padding: 0 clamp(20px, 5vw, 80px);
}

.hero>.container .hero-content {
    flex: 0 0 60%;
    max-width: 60%;
    text-align: left;
    position: relative;
    z-index: 10;
    animation: fadeInUp 0.8s ease-out;
    margin-top: 60px;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: url('../pix/pasto.webp') repeat-x bottom;
    background-size: auto 100%;
    pointer-events: none;
    z-index: 5;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Fondo Decorativo Superior */
.hero-top-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(180px, 20vh, 250px);
    background-image: url('../pix/patron-follage.webp');
    background-repeat: repeat-x;
    background-position: top center;
    background-size: auto 100%;
    pointer-events: none;
    z-index: 3;
}

.logo-background-decoration {
    position: absolute;
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
    width: 900px;
    height: 900px;
    z-index: 1;
    opacity: 0.04;
}

.logo-bg-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.leaf-float {
    position: absolute;
    width: 60px;
    height: auto;
    opacity: 0.5;
    filter: drop-shadow(0 2px 4px rgba(122, 152, 114, 0.3));
    z-index: 2;
    pointer-events: none;
}

.leaf-1 {
    top: -10%;
    left: 10%;
    animation: leafFall 20s linear infinite;
    animation-delay: 0s;
}

.leaf-2 {
    top: -10%;
    left: 50%;
    width: 50px;
    animation: leafFall 25s linear infinite;
    animation-delay: -8s;
}

.leaf-3 {
    top: -10%;
    left: 80%;
    width: 55px;
    animation: leafFall 22s linear infinite;
    animation-delay: -15s;
}

.leaf-4 {
    top: -10%;
    left: 25%;
    width: 45px;
    animation: leafFall 28s linear infinite;
    animation-delay: -5s;
}

.leaf-5 {
    top: -10%;
    left: 65%;
    width: 58px;
    animation: leafFall 24s linear infinite;
    animation-delay: -12s;
}

.leaf-6 {
    top: -10%;
    left: 40%;
    width: 52px;
    animation: leafFall 26s linear infinite;
    animation-delay: -18s;
}



.logo-container-hero {
    width: 180px;
    height: 180px;
    margin: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px var(--shadow);
}

.logo-container-hero:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 50px var(--shadow-hover);
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(122, 152, 114, 0.2));
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(44px, 4.5vw, 72px);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 18px;
    line-height: 1.08;
    letter-spacing: -0.5px;
}

.hero-highlight {
    background: linear-gradient(90deg, #3a7d44, #6aab5e, #3a7d44);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    padding-right: 0.12em;
    animation: gradientFlow 5s ease-in-out infinite;
}

.hero-subtitle {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 500;
    color: var(--accent-green);
    margin-bottom: 15px;
    display: block;
}

.hero-subtitle::after {
    content: none;
}

.hero-description {
    font-size: 18px;
    color: var(--dark-green);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: row;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-actions .btn {
    width: auto;
}

.hero-duo {
    position: absolute;
    bottom: 0;
    right: 0;
    height: clamp(460px, 80vh, 1100px);
    width: auto;
    z-index: 4;
    pointer-events: none;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.contact-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 197, 160, 0.3);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-height: 110px;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-hover);
    border-color: var(--primary-green);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px var(--shadow);
}

.contact-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.contact-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

@media (min-width: 1400px) {
    .hero>.container .hero-content {
        flex: 0 0 44%;
        max-width: 44%;
    }

    .hero-duo {
        height: clamp(780px, 88vh, 1300px);
    }

    .hero>.container {
        max-width: 1800px;
    }

    .hero-top-decoration {
        height: clamp(200px, 18vh, 280px);
    }
}

@media (min-width: 2000px) {
    .hero>.container {
        max-width: 2200px;
    }

    .hero-duo {
        height: clamp(900px, 90vh, 1600px);
    }

    .hero-top-decoration {
        height: clamp(200px, 16vh, 280px);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 140px;
        align-items: flex-start;
    }

    .hero-duo {
        display: block;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        height: clamp(260px, 40vh, 360px);
        width: auto;
        z-index: 4;
    }

    .hero>.container .hero-content {
        flex: none;
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding-right: 0;
        margin-top: 0;
    }

    .hero-divider {
        margin-left: auto;
        margin-right: auto;
    }

    /* Ocultar botón dentro del contenido — se muestra abajo via hero-mobile-cta */
    .hero-actions {
        display: none;
    }

    .hero-title {
        font-size: 50px;
    }

    .hero-subtitle {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(28px, 18vw, 42px);
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: clamp(16px, 20vw, 22px);
        margin-bottom: 10px;
    }
}

/* Botón Agendar Cita solo móvil — oculto en desktop por defecto */
.scroll-indicator {
    align-items: center;
    animation: bounce 2s infinite;
    backdrop-filter: blur(5px);
    background: hsla(0, 0%, 100%, 0.6);
    border-radius: 30px;
    bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    left: 50%;
    padding: 10px 20px;
    position: absolute;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator span {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
}

.scroll-indicator svg {
    color: var(--dark-green);
    height: 22px;
    width: 22px;
}

.hero-mobile-cta {
    display: none;
}

@media (max-width: 768px) {
    /* Ocultar scroll indicator en móvil */
    .scroll-indicator {
        display: none !important;
    }
}