/**
 * Home Hero Block Styles
 * Loaded automatically only when this block is present on the page.
 */

/* ==========================================================================
   SECTION
   ========================================================================== */

.home-hero {
    position: relative;
    min-height: 680px;
    background: linear-gradient(193deg, #0E2C5E 20.68%, #40C3F7 114.23%);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 60px 0 140px;
}

/* Right illustration layer (separate from gradient for clean responsive behavior) */
.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 110%;
    background-image: url('/wp-content/uploads/2026/05/Vector-7.svg');
    background-size: 56% 100%;
    background-position: right center;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}

/* ── Bottom wave ── */
.home-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0%2C0 C360%2C80 1080%2C80 1440%2C0 L1440%2C80 L0%2C80 Z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 3;
    pointer-events: none;
}

.home-hero .container {
    position: relative;
    z-index: 2;
}

/* Content lives in the left half */
.hero-inner {
    position: relative;
    max-width: 530px;
    width: 100%;
}

/* ==========================================================================
   TRUST BADGES
   ========================================================================== */

.hero-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(64, 195, 247, 0.2);
    color: var(--color-periwinkle);
    font-family: 'Inter', var(--font-body);
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 18px;
    padding: 4px 12px;
    border-radius: 8px;
    white-space: nowrap;
}

.hero-badge-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

/* ==========================================================================
   HEADING
   ========================================================================== */

.hero-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    line-height: 1.05;
    color: var(--color-light-grey);
    margin-bottom: 24px;
    font-variation-settings: 'CRSV' 0, 'SHRP' 0;
}

/* ==========================================================================
   BODY CONTENT (WYSIWYG)
   ========================================================================== */

.hero-body {
    color: var(--color-light-grey);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-body p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.hero-cta {
    margin-bottom: 48px;
}

/* ==========================================================================
   LOGOS BAR
   ========================================================================== */

.hero-logos-bar {
    display: flex;
    align-items: center;
    gap: 0;
    background-color: rgba(14, 44, 94, 0.3);
    border-radius: 10px;
    padding: 12px 20px;
    max-width: 488px;
}

.hero-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 0 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-logo-item:last-child {
    border-right: none;
}

.hero-logo-item img {
    max-height: 40px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1199.98px) {
    .home-hero::before {
        background-size: 58% 100%;
    }

    .hero-inner {
        max-width: 500px;
    }
}

@media (max-width: 991.98px) {
    .home-hero {
        min-height: auto;
        padding: 80px 0 60px;
    }

    .home-hero::before {
        background-size: 56% 100%;
        background-position: right top;
        opacity: 0.35;
    }

    .hero-inner {
        max-width: 62%;
    }
}

@media (max-width: 767.98px) {
    .home-hero {
        padding: 72px 0 60px;
    }

    .home-hero::before {
        background-size: cover;
        background-position: right top;
        opacity: 0.18;
    }

    .hero-inner {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .home-hero::before {
        background-size: cover;
        background-position: 82% top;
        opacity: 0.14;
    }

    .hero-badges {
        gap: 8px;
    }

    .hero-logos-bar {
        gap: 0;
        padding: 10px 12px;
    }

    .hero-logo-item {
        padding: 0 8px;
    }
}
