/* =========================================
   Hero
   ========================================= */

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 8vw, 100px) 0 clamp(64px, 8vw, 108px);
    background:
        radial-gradient(56rem 30rem at 90% -10%, rgba(42, 125, 225, 0.13), transparent 62%),
        radial-gradient(40rem 24rem at -12% 110%, rgba(124, 194, 66, 0.13), transparent 60%),
        var(--color-white);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.hero__title {
    margin-bottom: 22px;
    font-size: clamp(2.6rem, 5.2vw, 4.4rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.hero__script {
    position: relative;
    display: inline-block;
    font-family: var(--font-script);
    font-size: 1.22em;
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 0;
    color: var(--color-primary);
}

.hero__script::after {
    content: "";
    position: absolute;
    left: 3%;
    right: 6%;
    bottom: -0.04em;
    height: 0.09em;
    border-radius: 999px;
    background: var(--color-lime);
    transform: rotate(-2deg);
    opacity: 0.9;
}

.hero__description {
    max-width: 560px;
    margin-bottom: 32px;
    color: var(--color-muted);
    font-size: 1.125rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* Direct contact */

.hero__contact {
    max-width: 560px;
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid var(--color-border);
}

.hero__contact-label {
    margin-bottom: 12px;
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero__contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px 8px 8px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-chip:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.contact-chip__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-primary-soft);
    color: var(--color-primary);
}

.contact-chip__icon .icon {
    width: 18px;
    height: 18px;
}

.contact-chip__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.contact-chip__name {
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.contact-chip strong {
    font-size: 1rem;
    letter-spacing: 0.01em;
}


/* =========================================
   Hero visual
   ========================================= */

.hero__visual {
    position: relative;
    padding: 28px 0 44px 36px;
}

.hero__panel {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1.02;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--gradient-brand);
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.hero__panel::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 40%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.16), transparent);
}

.hero__panel::after {
    content: "";
    position: absolute;
    top: -30%;
    right: -30%;
    width: 80%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%);
}

.hero__house {
    position: relative;
    z-index: 1;
    width: 68%;
    height: auto;
    filter: drop-shadow(0 14px 24px rgba(4, 20, 60, 0.35));
}

.hero__bubble {
    position: absolute;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.08) 45%, transparent 70%);
    animation: hero-float 7s ease-in-out infinite;
}

.hero__bubble--1 { top: 12%; left: 10%; width: 64px; height: 64px; }
.hero__bubble--2 { top: 24%; right: 14%; width: 26px; height: 26px; animation-delay: -2s; }
.hero__bubble--3 { bottom: 24%; right: 9%; width: 44px; height: 44px; animation-delay: -4s; }
.hero__bubble--4 { bottom: 36%; left: 16%; width: 18px; height: 18px; animation-delay: -1s; }

.hero__sparkle {
    position: absolute;
    z-index: 1;
    color: var(--color-white);
}

.hero__sparkle--1 { top: 9%; right: 30%; width: 30px; height: 30px; }
.hero__sparkle--2 { bottom: 28%; left: 9%; width: 22px; height: 22px; opacity: 0.8; }

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


/* Floating cards */

.hero__float {
    position: absolute;
    z-index: 2;
    border-radius: 18px;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.hero__float--checklist {
    left: 0;
    bottom: 0;
    width: min(230px, 58%);
    padding: 18px 20px;
}

.hero__float-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
}

.hero__float-title .icon {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

.hero__float--checklist ul {
    display: grid;
    gap: 8px;
    list-style: none;
}

.hero__float--checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero__float--badge {
    top: 0;
    right: -12px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 12px;
}

.hero__badge-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--color-green-soft);
    color: var(--color-green);
}

.hero__badge-icon .icon {
    width: 20px;
    height: 20px;
}

.hero__float--badge strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.2;
}

.hero__float--badge span span {
    color: var(--color-muted);
    font-size: 0.8rem;
}


/* =========================================
   Breakpoints
   ========================================= */

@media (max-width: 960px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        width: 100%;
        max-width: 500px;
        margin-inline: auto;
    }
}

@media (max-width: 600px) {
    .hero__actions .button {
        flex: 1 1 100%;
    }

    .hero__contact-list li,
    .contact-chip {
        width: 100%;
    }

    .hero__visual {
        padding: 22px 0 36px 18px;
    }

    .hero__float--badge {
        right: 0;
    }

    .hero__float--checklist {
        width: min(210px, 62%);
        padding: 14px 16px;
    }
}