/* ==========================================================================
   Home 2 — Guide, stats, stories carousel, guest CTA
   ========================================================================== */

.home2-guide {
    margin: 0 0 32px;
    padding: 8px 0 0;
}

.home2-stats-section {
    margin: 0 0 56px;
}

.home2-guide-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary, #81cdc7);
    margin: 0 0 12px;
}

.home2-guide-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    color: #2d3748;
    margin: 0 0 36px;
    line-height: 1.2;
}

/* Carousel condiviso — step + stories / Shared carousel */
.home2-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.home2-carousel-track-wrap {
    overflow: hidden;
    flex: 1;
    border-radius: 16px;
    -webkit-overflow-scrolling: touch;
}

.home2-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    will-change: transform;
}

.home2-carousel--static .home2-carousel-btn {
    opacity: 0.25;
    pointer-events: none;
}

.home2-steps-carousel .home2-step-card,
.home2-stories-carousel .home2-story-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
}

.home2-step-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 32px;
    box-shadow: 0 4px 24px rgba(45, 55, 72, 0.06);
    border: 1px solid rgba(129, 205, 199, 0.15);
}

.home2-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 32px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(129, 205, 199, 0.2);
    color: #2d6a66;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.home2-step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 12px;
}

.home2-step-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

.home2-stats {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    background: #1e293b;
    border-radius: 16px;
    padding: 28px 24px;
}

.home2-stat {
    flex: 1;
    text-align: center;
    padding: 0 16px;
}

.home2-stat-value {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-primary, #81cdc7);
    margin-bottom: 6px;
}

.home2-stat-label {
    display: block;
    font-size: 0.875rem;
    color: #94a3b8;
}

.home2-stat-divider {
    width: 1px;
    background: rgba(148, 163, 184, 0.35);
    align-self: stretch;
    flex-shrink: 0;
}

/* Stories carousel */
.home2-stories {
    margin: 64px 0;
}

.home2-stories-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 auto 32px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--color-primary, #81cdc7);
    display: block;
    max-width: max-content;
}

.home2-story-card {
    background: #f8fafb;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8eef2;
}

.home2-story-image-wrap {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.home2-story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home2-story-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.home2-story-placeholder--1 { background: linear-gradient(145deg, #b8c4a8 0%, #9aab88 100%); }
.home2-story-placeholder--2 { background: linear-gradient(145deg, #a8c8dc 0%, #7eb0cc 100%); }
.home2-story-placeholder--3 { background: linear-gradient(145deg, #d4b8c0 0%, #c49aa8 100%); }

.home2-story-body {
    padding: 20px 18px 24px;
}

.home2-story-quote--empty {
    color: #94a3b8;
}

.home2-story-meta {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #64748b;
}

.home2-story-meta p {
    margin: 0 0 4px;
}

.home2-story-impact-title {
    margin-top: 10px !important;
}

.home2-story-quote {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #475569;
    margin: 0 0 16px;
    font-style: italic;
}

.home2-carousel-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #d4ece9;
    background: #fff;
    color: var(--color-primary, #81cdc7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.home2-carousel-btn:hover:not(:disabled) {
    background: var(--color-primary, #81cdc7);
    color: #fff;
    border-color: var(--color-primary, #81cdc7);
}

.home2-carousel-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Guest CTA */
.home2-cta {
    margin: 0 0 48px;
}

.home2-cta-inner {
    text-align: center;
    background: linear-gradient(135deg, #f0faf8 0%, #e8f5f3 100%);
    border: 1px solid #d4ece9;
    border-radius: 20px;
    padding: 48px 32px 40px;
}

.home2-cta-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    border-radius: 12px;
    background: var(--color-primary, #81cdc7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.home2-cta-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    color: #2d3748;
    margin: 0 0 12px;
}

.home2-cta-desc {
    max-width: 480px;
    margin: 0 auto 28px;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #64748b;
}

.home2-cta-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #fff;
    border: 1px solid #c5e8e4;
    border-radius: 30px;
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.home2-cta-btn:hover {
    border-color: var(--color-primary, #81cdc7);
    box-shadow: 0 6px 20px rgba(129, 205, 199, 0.25);
    transform: translateY(-2px);
}

.home2-cta-signin {
    margin: 20px 0 0;
    font-size: 0.9rem;
    color: #7d8da1;
}

.home2-cta-signin a {
    color: var(--color-primary, #81cdc7);
    font-weight: 600;
    text-decoration: none;
}

.home2-cta-signin a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .home2-steps-carousel .home2-step-card,
    .home2-stories-carousel .home2-story-card {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .home2-stats {
        flex-direction: column;
        gap: 20px;
        padding: 24px 20px;
    }

    .home2-stat-divider {
        width: 100%;
        height: 1px;
    }

    .home2-steps-carousel .home2-step-card,
    .home2-stories-carousel .home2-story-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .home2-carousel-btn--prev,
    .home2-carousel-btn--next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }

    .home2-carousel-btn--prev { left: 4px; }
    .home2-carousel-btn--next { right: 4px; }

    .home2-carousel {
        padding: 0 8px;
    }
}

@media (max-width: 480px) {
    .home2-cta-inner {
        padding: 36px 20px 32px;
    }
}
