/* =============================================================================
   GrenBee Home — home.css
   Estilos específicos del home renderizado por template-parts/home-brand.php.
   Mantiene la altura actual del hero y evita arrastrar el hero alto de areas.
   ============================================================================= */

.site-main.home1-page {
    background: #f8fafc;
}

.home1-hero {
    position: relative;
    overflow: hidden;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 100svh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: clamp(5.5rem, 9vh, 7rem) 0 clamp(2.25rem, 5vh, 3.5rem);
}

.home1-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.11) 24%, rgba(255, 255, 255, 0.03) 46%, transparent 66%),
        radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 28px 28px;
    pointer-events: none;
}

.home1-hero--no-image {
    background-image: linear-gradient(135deg, rgba(8, 15, 31, 0.94), rgba(14, 92, 73, 0.82));
}

.home1-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    justify-items: center;
    position: relative;
    z-index: 1;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.home1-hero-grid.container {
    width: min(1480px, calc(100vw - 48px));
    max-width: min(1480px, calc(100vw - 48px));
}

.home1-hero-copy-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 820px;
    min-width: 0;
    filter: drop-shadow(0 14px 28px rgba(8, 14, 28, 0.26));
}

.home1-hero-copy-shell::before {
    content: "";
    position: absolute;
    inset: -56px -72px;
    border-radius: 999px;
    background: transparent;
    filter: none;
    pointer-events: none;
}

.home1-hero-card {
    position: relative;
    width: 100%;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.home1-hero-card--content {
    max-width: 820px;
    justify-self: center;
    text-align: center;
}

.home1-hero-card-copy {
    display: flex;
    flex-direction: column;
    gap: 0.62rem;
    align-items: center;
}

.home1-hero-card h1 {
    max-width: 15em;
    font-size: clamp(2.15rem, 4vw, 3.85rem);
    line-height: 1.07;
    margin: 0 0 0.75rem;
    color: #09111f;
    letter-spacing: -0.02em;
    text-wrap: balance;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18),
        0 10px 24px rgba(255, 255, 255, 0.1);
    font-weight: 460;
}

.home1-hero-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: #0f172a;
    padding: 0;
    border: 0;
    border-radius: 0;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

.home1-hero-badge::before {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4);
    flex-shrink: 0;
    animation: home1-badge-pulse 1.9s ease-out infinite;
}

@keyframes home1-badge-pulse {
    0% {
        transform: scale(0.92);
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.42);
    }

    55% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(52, 211, 153, 0);
    }

    100% {
        transform: scale(0.92);
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
    }
}

.home1-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: rgba(9, 17, 31, 0.82);
    margin-bottom: 1rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.16);
}

.home1-eyebrow--dark {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-dark, #059669);
}

.home1-eyebrow--dark::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--green);
    border-radius: 99px;
    flex-shrink: 0;
}

.home1-lead {
    display: block;
    font-size: clamp(1.06rem, 1.35vw, 1.2rem);
    max-width: 42em;
    margin-bottom: 0;
    color: rgba(9, 17, 31, 0.92);
    line-height: 1.62;
    text-wrap: balance;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.16),
        0 8px 18px rgba(255, 255, 255, 0.08);
}

.home1-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.1rem;
    margin-bottom: 1.2rem;
    justify-content: center;
}

.home1-hero-actions--outside {
    margin-bottom: 0;
}

.home1-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 0.9rem;
    font-size: 0.8rem;
    color: rgba(9, 17, 31, 0.86);
    justify-content: center;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.16);
}

.home1-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
}

.home1-trust span::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--green, #10b981);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
    flex-shrink: 0;
}

.home1-hero-card .btn-secondary {
    background: rgba(255, 255, 255, 0.96);
    color: var(--primary-color);
}

.home1-hero-card .btn-secondary:hover,
.home1-hero-card .btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary-color);
}

.home1-hero-meta {
    display: flex;
    justify-content: center;
    gap: 0.85rem 1.25rem;
    margin-top: 0.7rem;
    color: rgba(9, 17, 31, 0.82);
    font-size: 0.88rem;
    flex-wrap: wrap;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.16);
}

.home1-hero-rating {
    display: flex;
    width: 100%;
    margin-top: 0.7rem;
    justify-content: center;
}

.home1-hero-card .home1-hero-rating .gbx-rating {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.home1-section-head {
    display: grid;
    gap: 0.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.home1-section-head h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.home1-section-head p {
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.home1-process {
    background: var(--white);
}

.home1-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.home1-process-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.6rem 1.75rem 1.75rem;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
    border: 1px solid var(--ink-10, #e2e8f0);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--duration-md) var(--ease-default),
        box-shadow var(--duration-md) var(--ease-default);
}

.home1-process-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.home1-process-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0;
    margin-bottom: 1rem;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.home1-process-visual img {
    width: 94%;
    max-width: 196px;
    height: auto;
    margin: 0 auto;
}

.home1-step {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--green);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.02em;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
    flex-shrink: 0;
}

.home1-highlight {
    background: linear-gradient(180deg, #f6f7fb, #ffffff);
}

.home1-highlight-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    align-items: center;
}

.home1-checklist {
    margin-top: 1.5rem;
}

.home1-checklist li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.home1-checklist li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.home1-highlight-card {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.2);
}

.home1-highlight-card h3 {
    margin-bottom: 0.5rem;
}

.home1-proof-grid {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.2rem;
}

.home1-proof-item {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.home1-proof-item strong {
    color: #ffffff;
}

.home1-proof-item span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

.home1-faq {
    background: var(--bg-light);
}

.home1-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.home1-faq-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #dbe6f3;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.home1-faq-card h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.home1-final-cta {
    background: var(--white);
}

.home1-final-cta-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2rem;
    align-items: center;
    padding: 2.25rem;
    border-radius: 28px;
    background: linear-gradient(135deg, #0f172a 0%, #0c2a1f 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-xl);
}

.home1-final-cta-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.home1-final-cta-card h2 {
    margin-bottom: 0.6rem;
    color: #ffffff;
}

.home1-final-cta-card p {
    color: rgba(255, 255, 255, 0.68);
}

.home1-final-cta-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (min-width: 1440px) {
    .home1-hero-card .home1-trust,
    .home1-trust {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
}

@media (max-width: 980px) {
    .home1-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home1-process-visual img {
        max-width: 186px;
    }
}

@media (max-width: 900px) {
    .home1-hero-grid,
    .home1-highlight-grid,
    .home1-final-cta-card {
        grid-template-columns: 1fr;
    }

    .home1-hero-card h1 {
        font-size: clamp(2.25rem, 7vw, 3.4rem);
    }

    .home1-hero-card--content {
        max-width: none;
        justify-self: stretch;
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    .home1-hero-card-copy {
        align-items: flex-start;
    }

    .home1-hero-copy-shell {
        max-width: none;
        filter: drop-shadow(0 10px 20px rgba(8, 14, 28, 0.22));
    }

    .home1-hero-copy-shell::before {
        inset: -40px -28px;
        border-radius: 36px;
        background: transparent;
        filter: none;
    }

    .home1-final-cta-actions {
        justify-content: flex-start;
    }

    .home1-hero-rating {
        justify-content: center;
        text-align: center;
    }

    .home1-hero-card .home1-hero-rating .gbx-rating {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .home1-trust,
    .home1-hero-actions,
    .home1-hero-meta {
        justify-content: flex-start;
    }

}

@media (max-width: 640px) {
    .home1-hero {
        min-height: 100svh;
        padding: 5rem 0 2.5rem;
        align-items: flex-start;
    }

    .home1-hero-card h1,
    .home1-lead {
        max-width: 100%;
    }

    .home1-hero-card h1 {
        line-height: 1.08;
    }

    .home1-process-grid {
        grid-template-columns: 1fr;
    }

    .home1-process-card {
        padding: 1.45rem;
    }

    .home1-process-visual img {
        max-width: 176px;
    }

    .home1-process-visual {
        margin-bottom: 0.9rem;
    }

    .home1-service-actions,
    .home1-final-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home1-hero-card .home1-hero-rating .gbx-rating {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0.35rem;
    }

    .home1-hero-card .home1-hero-actions {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch;
        justify-content: center;
        gap: 0.65rem;
    }

    .home1-hero-card .home1-hero-actions .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 0;
        width: auto !important;
        min-width: 0;
        margin-top: 0;
        text-align: center;
        white-space: nowrap;
        padding: 0.82rem 0.9rem;
        font-size: 0.92rem;
        line-height: 1.15;
    }

    .home1-hero-meta {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .home1-hero-grid,
    .home1-hero-copy-shell {
        width: 100%;
        min-width: 0;
    }

    .home1-hero-grid {
        max-width: none;
        padding-left: 16px;
        padding-right: 16px;
    }

    .home1-hero-card,
    .home1-hero-card--content {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .home1-hero-badge {
        position: static;
        margin-bottom: 0.85rem;
        align-self: flex-start;
    }

    .home1-hero-card h1 {
        font-size: clamp(1.95rem, 8vw, 2.45rem);
        line-height: 1.18;
        letter-spacing: -0.03em;
    }

    .home1-hero-meta {
        font-size: 0.85rem;
    }
}

@media (max-width: 420px) {
    .home1-hero-card .home1-hero-actions .btn {
        font-size: 0.86rem;
        letter-spacing: -0.01em;
        padding-left: 0.72rem;
        padding-right: 0.72rem;
    }
}

.home1-hero-card h1 {
    font-weight: 420 !important;
}

.home1-section-head h2,
.home1-final-cta-card h2 {
    font-weight: 600 !important;
}

.home1-highlight-card h3,
.home1-faq-card h3 {
    font-weight: 500 !important;
}
