/* ==========================================================================
   proxiva.in home page (resources/views/home.blade.php). Mobile first.
   Proxiva brand (css/proxiva-tokens.css): navy #1F2A44, action blue #2F58D4, brand blue #3B6EF5,
   orange #FF6B35 (accents only), page #F4F6FB, tint #E8EEFF. WhatsApp green #1FA855 (dark #168A45).
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.home {
    margin: 0;
    background: #FFFFFF;
    color: var(--px-text, #1F2A44);
    font-family: var(--px-font);
    font-size: 16px;
    line-height: 1.55;
    -webkit-text-size-adjust: 100%;
}

.home img {
    max-width: 100%;
    display: block;
}

.home a {
    color: inherit;
}

.home-wrap {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

.home-wrap--narrow {
    max-width: 760px;
}

/* ---------- Buttons ---------- */

.home-button {
    min-height: 52px;
    padding: 0 22px;
    border: 2px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.home-button:hover {
    transform: translateY(-1px);
}

.home-button:focus-visible,
.home-float:focus-visible,
.home-try__card:focus-visible,
.home-faq__item summary:focus-visible {
    outline: 3px solid #3B6EF5;
    outline-offset: 3px;
}

.home a.home-button--whatsapp {
    background: #1FA855;
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(31, 168, 85, 0.28);
}

.home a.home-button--whatsapp:hover {
    background: #168A45;
}

.home a.home-button--light {
    border-color: #1F2A44;
    background: #FFFFFF;
    color: #1F2A44;
}

.home-button--small {
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
}

.home-button--full {
    width: 100%;
}

.home-button--big {
    min-height: 60px;
    padding: 0 32px;
    font-size: 18px;
}

.home-wa {
    flex: none;
}

/* ---------- Top bar ---------- */

.home-bar {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #D6DEEC;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
}

.home-bar__inner {
    height: 64px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.home-bar__logo {
    margin-right: auto;
}

.home-bar__links {
    display: none;
    gap: 24px;
    font-size: 15px;
    font-weight: 600;
}

.home-bar__links a {
    text-decoration: none;
    color: #3A4864;
}

.home-bar__links a:hover {
    color: #2F58D4;
}

/* ---------- Top ---------- */

.home-hero {
    overflow: hidden;
    padding: 36px 0 48px;
    background:
        radial-gradient(520px 320px at 92% 8%, #D3DFFF 0%, rgba(211, 223, 255, 0) 70%),
        radial-gradient(420px 300px at 0% 100%, #FFE5D8 0%, rgba(255, 229, 216, 0) 70%),
        #F4F6FB;
}

.home-hero__inner {
    display: grid;
    gap: 40px;
}

.home-kicker {
    margin: 0 0 12px;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #FFF0E8;
    color: #A83A0E;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.home-hero__title {
    margin: 0;
    font-size: 36px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1F2A44;
}

.home-hero__title span {
    display: block;
    color: #2F58D4;
}

.home-hero__lead {
    margin: 16px 0 0;
    max-width: 540px;
    font-size: 17px;
    color: #3A4864;
}

.home-hero__buttons {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-hero__points {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #3A4864;
}

.home-hero__points li::before {
    content: "✓";
    margin-right: 6px;
    color: #166B45;
    font-weight: 800;
}

/* The phone drawn in CSS */
.home-phone {
    position: relative;
    justify-self: center;
    width: 280px;
    padding: 12px;
    border-radius: 40px;
    background: #1F2A44;
    box-shadow: 0 30px 60px rgba(31, 42, 68, 0.28);
}

.home-phone__screen {
    min-height: 520px;
    padding: 18px 14px;
    border-radius: 30px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-phone__shop {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.home-phone__shop strong,
.home-phone__shop small {
    display: block;
}

.home-phone__shop small {
    font-size: 11px;
    color: #166B45;
    font-weight: 600;
}

.home-phone__mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3B6EF5, #1F2A44);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

.home-phone__search {
    padding: 10px 12px;
    border: 1.5px solid #B4BFD3;
    border-radius: 12px;
    font-size: 12px;
    color: #5B6B85;
}

.home-phone__cats {
    display: flex;
    gap: 6px;
}

.home-phone__cat {
    flex: 1;
    padding: 6px 0;
    border-radius: 10px;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
}

.home-phone__cat--a, .home-phone__photo--a { background: #FFF4DC; color: #8A5A00; }
.home-phone__cat--b, .home-phone__photo--b { background: #FFF0E8; color: #A83A0E; }
.home-phone__cat--c, .home-phone__photo--c { background: #E8EEFF; color: #2F58D4; }
.home-phone__cat--d, .home-phone__photo--d { background: #E8F7F0; color: #166B45; }

.home-phone__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.home-phone__card {
    padding: 8px;
    border: 1px solid #D6DEEC;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-phone__photo {
    height: 74px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-phone__card small {
    font-size: 11px;
    line-height: 1.3;
    font-weight: 600;
}

.home-phone__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

.home-phone__row em {
    padding: 2px 8px;
    border: 1.5px solid #2F58D4;
    border-radius: 8px;
    color: #2F58D4;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.home-phone__toast {
    position: absolute;
    left: -24px;
    bottom: 22px;
    padding: 10px 14px;
    border: 1px solid #D6DEEC;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 14px 30px rgba(31, 42, 68, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.home-phone__toast strong,
.home-phone__toast small {
    display: block;
}

.home-phone__toast small {
    color: #5B6B85;
}

.home-phone__bell {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #FFF0E8;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Sections ---------- */

.home-section {
    padding: 56px 0;
}

.home-section--tint {
    background: #F4F6FB;
}

.home-section--navy {
    background: #1F2A44;
    color: #FFFFFF;
}

.home-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #1F2A44;
}

.home-title--light {
    color: #FFFFFF;
}

.home-sub {
    margin: 10px 0 0;
    max-width: 620px;
    font-size: 16px;
    color: #5B6B85;
}

.home-sub--light {
    color: #B7C2DA;
}

/* For whom */
.home-two {
    margin-top: 28px;
    display: grid;
    gap: 18px;
}

.home-who {
    padding: 24px 20px;
    border: 1.5px solid #B4BFD3;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.home-who--wholesale {
    background: linear-gradient(180deg, #E8EEFF 0%, #FFFFFF 60%);
}

.home-who--retail {
    background: linear-gradient(180deg, #FFF0E8 0%, #FFFFFF 60%);
}

.home-who__tag {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2F58D4;
}

.home-who--retail .home-who__tag {
    color: #A83A0E;
}

.home-who h3 {
    margin: 0;
    font-size: 21px;
    line-height: 1.3;
}

.home-list {
    margin: 0 0 6px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 15px;
}

.home-list li {
    padding-left: 28px;
    position: relative;
}

.home-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #E8F7F0;
    color: #166B45;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Features */
.home-features {
    margin-top: 28px;
    display: grid;
    gap: 14px;
}

.home-feature {
    padding: 20px;
    border: 1.5px solid #B4BFD3;
    border-radius: 18px;
    background: #FFFFFF;
}

.home-feature__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #E8EEFF;
    color: #2F58D4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-feature:nth-child(4n + 2) .home-feature__icon { background: #FFF0E8; color: #A83A0E; }
.home-feature:nth-child(4n + 3) .home-feature__icon { background: #E8F7F0; color: #166B45; }
.home-feature:nth-child(4n + 4) .home-feature__icon { background: #FFF4DC; color: #8A5A00; }

.home-feature h3 {
    margin: 14px 0 6px;
    font-size: 17px;
    line-height: 1.3;
}

.home-feature p {
    margin: 0;
    font-size: 14px;
    color: #5B6B85;
}

/* Steps */
.home-steps {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.home-step {
    padding: 22px 20px;
    border: 1.5px solid #B4BFD3;
    border-radius: 18px;
}

.home-step__number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2F58D4;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-step h3 {
    margin: 14px 0 6px;
    font-size: 18px;
}

.home-step p {
    margin: 0;
    font-size: 15px;
    color: #5B6B85;
}

/* Try it */
.home-try {
    display: grid;
    gap: 24px;
}

.home-try__links {
    display: grid;
    gap: 12px;
}

.home-try__card {
    padding: 18px 20px;
    border: 1.5px solid #B4BFD3;
    border-radius: 18px;
    background: #FFFFFF;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-try__card:hover {
    border-color: #2F58D4;
}

.home-try__card strong {
    font-size: 18px;
    color: #1F2A44;
}

.home-try__card span {
    font-size: 14px;
    color: #2F58D4;
    font-weight: 600;
}

/* Questions */
.home-faq {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-faq__item {
    border: 1.5px solid #B4BFD3;
    border-radius: 14px;
    background: #FFFFFF;
}

.home-faq__item summary {
    padding: 16px 48px 16px 18px;
    position: relative;
    list-style: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.home-faq__item summary::-webkit-details-marker {
    display: none;
}

.home-faq__item summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 600;
    color: #2F58D4;
}

.home-faq__item[open] summary::after {
    content: "−";
}

.home-faq__item p {
    margin: 0;
    padding: 0 18px 16px;
    font-size: 15px;
    color: #3A4864;
}

/* Bottom */
.home-cta {
    text-align: center;
    background:
        radial-gradient(480px 260px at 50% 0%, #D3DFFF 0%, rgba(211, 223, 255, 0) 75%),
        #FFFFFF;
}

.home-cta .home-sub {
    margin: 10px auto 24px;
}

.home-cta__phone {
    margin: 14px 0 0;
    font-size: 15px;
    color: #5B6B85;
}

.home-cta__phone a {
    font-weight: 700;
    color: #2F58D4;
}

.home-foot {
    padding: 28px 0 96px;
    background: #1F2A44;
    color: #B7C2DA;
    font-size: 14px;
}

.home-foot__inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-foot a {
    color: #6F96FF;
    font-weight: 600;
}

/* WhatsApp button that stays on screen */
.home .home-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 20;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #1FA855;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(31, 168, 85, 0.4);
}

.home-float .home-wa {
    width: 30px;
    height: 30px;
}

/* The phone's alert bell: orange #A83A0E on #FFF0E8 */
.home-phone__bell {
    color: #A83A0E;
}

.home-phone__bell svg {
    width: 18px;
    height: 18px;
}

/* Four quick facts under the top */
.home-facts {
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.home-facts li {
    padding: 14px 16px;
    border: 1.5px solid #B4BFD3;
    border-radius: 16px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.home-facts strong {
    font-size: 20px;
    font-weight: 800;
    color: #2F58D4;
}

.home-facts span {
    font-size: 13px;
    color: #5B6B85;
    line-height: 1.35;
}

/* A blue kicker (#2F58D4 on #E8EEFF) */
.home-kicker--blue {
    background: #E8EEFF;
    color: #2F58D4;
}

.home-section__button {
    margin-top: 24px;
}

/* Save time · cut costs · grow profit */
.home-results {
    margin-top: 28px;
    display: grid;
    gap: 14px;
}

.home-result {
    padding: 22px 20px;
    border: 1.5px solid #B4BFD3;
    border-radius: 18px;
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 14px;
    align-items: center;
}

.home-result__icon {
    grid-row: span 2;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #2F58D4;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-result h3 {
    margin: 0;
    font-size: 19px;
}

.home-result p {
    margin: 2px 0 0;
    font-size: 15px;
    color: #5B6B85;
}

/* Why Proxiva, on navy: cards #243049, border #3A4864, text #B7C2DA, icons #6F96FF */
.home-why {
    margin-top: 28px;
    display: grid;
    gap: 14px;
}

.home-why__item {
    padding: 22px 20px;
    border: 1.5px solid #3A4864;
    border-radius: 18px;
    background: #243049;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-why__icon {
    margin-bottom: 8px;
    color: #6F96FF;
}

.home-why__item strong {
    font-size: 17px;
    color: #FFFFFF;
}

.home-why__item > span:last-child {
    font-size: 15px;
    color: #B7C2DA;
}

/* Suitable for all types of shops: chips #1F2A44 on #FFFFFF, border #B4BFD3 */
.home-shops {
    padding: 28px 0;
    border-bottom: 1px solid #D6DEEC;
}

.home-shops__title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5B6B85;
}

.home-shops__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-shops__list li {
    padding: 8px 14px;
    border: 1.5px solid #B4BFD3;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #1F2A44;
}

/* We connect retailers and wholesalers */
.home-network {
    display: grid;
    gap: 24px;
}

.home-network__cards {
    display: grid;
    gap: 14px;
}

.home-network__card {
    padding: 22px 20px;
    border: 1.5px solid #B4BFD3;
    border-radius: 18px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-network__card .home-why__icon {
    color: #2F58D4;
}

.home-network__card strong {
    font-size: 17px;
}

.home-network__card > span:last-child {
    font-size: 15px;
    color: #5B6B85;
}

.home-foot__text strong {
    color: #FFFFFF;
}

/* ---------- Bigger screens ---------- */

@media (min-width: 640px) {
    .home-why {
        grid-template-columns: 1fr 1fr;
    }

    .home-features {
        grid-template-columns: 1fr 1fr;
    }


    .home-try__links {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .home-bar__links {
        display: flex;
    }

    .home-hero {
        padding: 72px 0 88px;
    }

    .home-hero__inner {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: center;
    }

    .home-hero__title {
        font-size: 54px;
    }

    .home-hero__lead {
        font-size: 19px;
    }

    .home-section {
        padding: 84px 0;
    }

    .home-title {
        font-size: 36px;
    }

    .home-facts {
        grid-template-columns: repeat(4, 1fr);
    }

    .home-results {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-network {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .home-network__cards {
        grid-template-columns: 1fr 1fr;
    }

    .home-why {
        grid-template-columns: repeat(4, 1fr);
    }



    .home-two,
    .home-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-features {
        grid-template-columns: repeat(4, 1fr);
    }


    .home-try {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .home-try__links {
        grid-template-columns: 1fr;
    }

    .home-foot {
        padding-bottom: 28px;
    }

    .home-foot__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .home-button {
        transition: none;
    }
}
