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

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    padding: 4.5rem 0 1rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    min-height: calc(100vh - var(--header-height) - 9rem);
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 620px;
    padding-left: 2.5rem;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 2rem;
    color: var(--color-text-muted);
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-eyebrow .accent-line {
    width: 36px;
    height: 2px;
    flex-shrink: 0;
}

.hero-eyebrow-dot {
    color: var(--color-accent);
}

.hero-title {
    max-width: 620px;
    margin: 0 0 1.75rem;
    font-size: clamp(3.8rem, 6vw, 6.2rem);
    line-height: .92;
    letter-spacing: -.045em;
}

.hero-title-accent {
    color: var(--color-primary);
}

.hero-description {
    max-width: 590px;
    margin: 0 0 2.75rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
}

.btn-arrow {
    font-size: 1.25rem;
    line-height: 1;
}

.hero-visual {
    position: relative;
    align-self: stretch;
    min-height: 760px;
}

.hero-dog {
    position: absolute;
    right: auto;
    bottom: 2%;
    width: 86%;
    max-width: 720px;
    z-index: 1;
}

.hero-dog::before {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    background: rgba(70, 135, 255, .22);
    filter: blur(90px);
    border-radius: 50%;
    z-index: -1;
}

.hero-dog img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-stat-card,
.hero-calendly-card,
.hero-email-card {
    position: absolute;
    z-index: 4;
    background: rgba(5, 13, 25, .78);
    border: 1px solid rgba(120, 170, 255, .15);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.hero-stat-card {
    top: 17%;
    right: -4%;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 2rem;
    min-width: 210px;
    border-radius: 18px;
}

.hero-stat-card strong {
    color: var(--color-primary);
    font-size: 2.6rem;
    line-height: 1;
}

.hero-stat-card span {
    margin-top: .5rem;
    color: var(--color-text-muted);
    font-size: .8rem;
}

.hero-calendly-card {
    right: -4%;
    bottom: 28%;
    width: 290px;
    padding: 1.25rem;
    border-radius: 18px;
}

.hero-calendly-card p {
    margin: 0 0 1rem;
    color: var(--color-text-muted);
    font-size: .8rem;
    line-height: 1.5;
}

.hero-calendly-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1rem;
    border: 1px solid rgba(77, 124, 255, .7);
    border-radius: 999px;
    color: var(--color-text);
    font-size: .8rem;
    text-decoration: none;
    box-shadow: 0 0 25px rgba(77, 124, 255, .12);
}

.hero-calendly-button span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    background: var(--color-accent);
    box-shadow: 0 0 18px rgba(242, 140, 40, .3);
}

.hero-email-card {
    right: -4%;
    bottom: 2%;
    width: 290px;
    padding: 1.25rem;
    border-radius: 18px;
}

.hero-email-card h3 {
    margin: 0 0 .4rem;
    font-size: 1rem;
}

.hero-email-card p {
    margin: 0 0 1rem;
    color: var(--color-text-muted);
    font-size: .75rem;
}

.hero-contact-icons {
    display: flex;
    gap: .6rem;
    margin-bottom: .9rem;
}

.hero-contact-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    background: rgba(255, 255, 255, .02);
}

.hero-contact-icons img {
    width: 16px;
    height: 16px;
}

.hero-email-form {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.hero-email-form input {
    min-width: 0;
    flex: 1;
    height: 40px;
    padding: 0 .85rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    outline: none;
    background: rgba(255, 255, 255, .02);
    color: var(--color-text);
    font: inherit;
    font-size: .75rem;
}

.hero-email-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(242, 140, 40, .25);
}

/* ==========================================
   Hero — Tablet
========================================== */

@media (max-width: 991px) {

    .hero {
        min-height: auto;
        padding: 8rem 0 5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        min-height: auto;
    }

    .hero-content {
        width: 100%;
        max-width: 760px;
        margin: 0 auto;
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: clamp(3rem, 10vw, 5rem);
    }

    .hero-visual {
        position: relative;
        width: 100%;
        min-height: 650px;
    }

    .hero-dog {
        position: absolute;
        left: 50%;
        right: auto;
        width: min(90%, 600px);
        transform: translateX(-50%);
    }

}


/* ==========================================
   Hero — Mobile
========================================== */

@media (max-width: 640px) {

    .hero {
        padding: 3.5rem 0 2rem;
    }

    .hero-grid {
        gap: 1.5rem;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 .9rem;
    }

    .hero-title {
        font-size: clamp(2.7rem, 13vw, 4rem);
        line-height: .96;
    }

    .hero-description {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-visual {
        min-height: 570px;
        margin-top: .5rem;
    }

    .hero-buttons {
        justify-content: space-around;
    }


    /* ==========================================
       Dog
    ========================================== */

    .hero-dog {
        left: 40%;
        right: auto;
        top: 240px;
        width: 100%;
        max-width: 500px;
        transform: translateX(-50%);
    }


    /* ==========================================
       Stat card — na dole psa
    ========================================== */

    .hero-stat-card {
        top: auto;
        right: auto;
        left: 50%;

        bottom: 8%;

        width: 170px;

        transform: translateX(-50%);
        z-index: 4;
    }


    /* ==========================================
       Contact cards — 2 kolumny
    ========================================== */

    .hero-calendly-card,
    .hero-email-card {
        top: auto;

        bottom: 0;

        width: calc(50% - .4rem);
        max-width: 190px;

        padding: .8rem;

        z-index: 5;
    }

    .hero-calendly-card {
        left: 0;
        right: auto;
    }

    .hero-email-card {
        right: 0;
        left: auto;
    }

}


/* ==========================================
   Hero — Small Mobile
========================================== */

@media (max-width: 400px) {

    .hero {
        padding-top: 6rem;
    }

    .hero-content {
        padding: 0 .75rem;
    }

    .hero-title {
        font-size: 2.65rem;
    }

    .hero-description {
        font-size: .95rem;
    }

    .hero-buttons {
        justify-content: space-around;
    }

    .hero-visual {
        min-height: 520px;
    }

    .hero-dog {
        width: 105%;
    }

    .hero-stat-card {
        width: 155px;
        bottom: 10%;
    }

    .hero-calendly-card,
    .hero-email-card {
        width: calc(50% - .3rem);
        padding: .65rem;
    }
}/* ==========================================
   Hero — Tablet
========================================== */

@media (max-width: 991px) {

    .hero {
        min-height: auto;
        padding: 8rem 0 5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        min-height: auto;
    }

    .hero-content {
        width: 100%;
        max-width: 760px;
        margin: 0 auto;
        padding: 0 1.5rem;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(3rem, 10vw, 5rem);
    }

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

    .hero-visual {
        position: relative;
        width: 100%;
        min-height: 760px;
        margin-top: 0;
    }

    .hero-dog {
        position: absolute;
        left: 50%;
        right: auto;

        bottom: 0;

        width: min(90%, 600px);

        transform: translateX(-50%);
        z-index: 2;
    }

}


/* ==========================================
   Hero — Mobile
========================================== */

@media (max-width: 640px) {

    .hero {
        padding: 6.5rem 0 4rem;
    }

    .hero-grid {
        gap: 1rem;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0 .9rem;

        text-align: center;
    }

    .hero-title {
        font-size: clamp(2.7rem, 13vw, 4rem);
        line-height: .96;
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;

        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-eyebrow .accent-line {
        display: none;
    }


    /* ==========================================
       Visual
    ========================================== */

    .hero-visual {
        position: relative;

        width: 100%;
        min-height: 700px;

        margin-top: 1rem;
    }


    /* ==========================================
       Contact cards
       Nad psem — 2 kolumny
    ========================================== */

    .hero-calendly-card,
    .hero-email-card {

        position: absolute;

        top: 0;
        bottom: auto;

        width: calc(50% - .45rem);
        max-width: none;

        min-height: 145px;

        padding: .8rem;

        z-index: 5;
    }

    .hero-calendly-card {
        left: 0;
        right: auto;
    }

    .hero-email-card {
        left: auto;
        right: 0;
    }


    /* ==========================================
       Contact cards — smaller content
    ========================================== */

    .hero-calendly-card h3,
    .hero-email-card h3 {
        font-size: .95rem;
        line-height: 1.2;
    }

    .hero-calendly-card p,
    .hero-email-card p {
        font-size: .72rem;
        line-height: 1.35;
    }

    .hero-calendly-card a,
    .hero-email-card a,
    .hero-calendly-card button,
    .hero-email-card button {

        min-height: 42px;

        padding: .55rem .7rem;

        font-size: .75rem;
    }

    .hero-calendly-card input,
    .hero-email-card input {

        height: 40px;

        padding: .5rem .7rem;

        font-size: .72rem;
    }


    /* ==========================================
       Contact icons
    ========================================== */

    .hero-calendly-card img,
    .hero-email-card img {
        max-width: 28px;
        max-height: 28px;
    }


    /* ==========================================
       Dog
       Pod kafelkami
    ========================================== */

    .hero-dog {
        position: absolute;

        left: 40%;
        right: auto;
        bottom: 0;

        width: 110%;
        max-width: 500px;

        object-fit: contain;
        object-position: bottom center;

        transform: translateX(-50%);

        z-index: 2;
    }


    /* ==========================================
       200+ — na psie
    ========================================== */

    .hero-stat-card {

        position: absolute;

        top: auto;
        right: auto;

        left: 50%;
        bottom: 4%;

        width: 165px;

        transform: translateX(-50%);

        z-index: 4;
    }

}


/* ==========================================
   Hero — Small Mobile
========================================== */

@media (max-width: 400px) {

    .hero {
        padding-top: 6rem;
    }

    .hero-content {
        padding: 0 .75rem;
    }

    .hero-title {
        font-size: 2.65rem;
    }

    .hero-description {
        font-size: .95rem;
    }

    .hero-eyebrow .accent-line {
        display: none;
    }


    /* ==========================================
       Visual
    ========================================== */

    .hero-visual {
        min-height: 650px;
        margin-top: .75rem;
    }


    /* ==========================================
       Contact cards
    ========================================== */

    .hero-calendly-card,
    .hero-email-card {
        width: calc(50% - .3rem);

        min-height: 135px;

        padding: .65rem;
    }

    .hero-calendly-card h3,
    .hero-email-card h3 {
        font-size: .85rem;
    }

    .hero-calendly-card p,
    .hero-email-card p {
        font-size: .68rem;
    }

    .hero-calendly-card a,
    .hero-email-card a,
    .hero-calendly-card button,
    .hero-email-card button {
        min-height: 38px;
        padding: .45rem .6rem;
        font-size: .7rem;
    }


    /* ==========================================
       Dog
    ========================================== */

    .hero-dog {
        top: 135px;
        width: 115%;
    }


    /* ==========================================
       Stat
    ========================================== */

    .hero-stat-card {
        width: 150px;
        bottom: 4%;
    }
}

/* ==========================================
   Hero — Calendly button mobile
========================================== */

@media (max-width: 640px) {

    .hero-calendly-button {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        min-height: 48px;

        padding: .65rem .75rem;

        border: 1px solid rgba(77, 124, 255, .75);
        border-radius: 8px;

        background: rgba(255, 255, 255, .025);

        color: #fff;
        font-size: .75rem;
        line-height: 1.2;
        text-decoration: none;

        box-sizing: border-box;
    }

    .hero-calendly-button span {
        display: flex;
        align-items: center;
        justify-content: center;

        flex-shrink: 0;

        margin-left: .5rem;

        color: var(--color-accent);
        font-size: 1.2rem;
        line-height: 1;

        transform: none;
    }

}


@media (max-width: 400px) {

    .hero-calendly-button {
        min-height: 44px;

        padding: .55rem .65rem;

        border-radius: 8px;

        font-size: .7rem;
    }

    .hero-calendly-button span {
        font-size: 1.1rem;
    }

}