﻿:root {
    --polisan-red: #E51A24;
    --polisan-red-dark: #B8121B;
    --polisan-ink: #14151A;
    --polisan-ink-soft: #3A3D46;
    --polisan-gray: #6B7280;
    --polisan-light: #F6F7F9;
    --polisan-gold: #F4B41A;
    --polisan-teal: #0E9F9F;
    --radius-lg: 1.5rem;
    --radius-md: 1rem;
    --shadow-soft: 0 18px 45px -18px rgba(20,21,26,.18);
    --shadow-card: 0 10px 30px -12px rgba(20,21,26,.14);
    --font-head: 'Sora',sans-serif;
    --font-body: 'Inter',sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--polisan-ink-soft);
    background: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-head);
    color: var(--polisan-ink);
}

img {
    max-width: 100%;
}

::selection {
    background: var(--polisan-red);
    color: #fff;
}

/* ---------- Utility ---------- */
.text-polisan {
    color: var(--polisan-red) !important;
}

.bg-polisan {
    background: var(--polisan-red) !important;
}

.section-pad {
    padding: 6.5rem 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--polisan-red);
    background: rgba(229,26,36,.08);
    border: 1px solid rgba(229,26,36,.18);
    padding: .45rem 1rem;
    border-radius: 999px;
}

.section-title {
    font-size: clamp(1.8rem,3.4vw,2.7rem);
    font-weight: 800;
    line-height: 1.15;
}

.section-sub {
    max-width: 640px;
    color: var(--polisan-gray);
    font-size: 1.05rem;
}

.btn-polisan {
    --bs-btn-font-weight: 600;
    background: var(--polisan-red);
    border-color: var(--polisan-red);
    color: #fff;
    border-radius: 999px;
    padding: .85rem 1.9rem;
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
    box-shadow: 0 12px 28px -10px rgba(229,26,36,.55);
}

    .btn-polisan:hover {
        background: var(--polisan-red-dark);
        border-color: var(--polisan-red-dark);
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 18px 34px -10px rgba(229,26,36,.6);
    }

.btn-ghost {
    border: 2px solid rgba(20,21,26,.15);
    color: var(--polisan-ink);
    border-radius: 999px;
    padding: .8rem 1.9rem;
    font-weight: 600;
    transition: all .35s ease;
    background: rgba(255,255,255,.6);
    backdrop-filter: blur(8px);
}

    .btn-ghost:hover {
        border-color: var(--polisan-red);
        color: var(--polisan-red);
        transform: translateY(-3px);
    }

/* ---------- Reveal animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(38px);
    transition: opacity .8s cubic-bezier(.22,.61,.36,1),transform .8s cubic-bezier(.22,.61,.36,1);
}

    .reveal.reveal-left {
        transform: translateX(-46px);
    }

    .reveal.reveal-right {
        transform: translateX(46px);
    }

    .reveal.reveal-zoom {
        transform: scale(.92);
    }

    .reveal.in {
        opacity: 1;
        transform: none;
    }

    .reveal[data-delay="1"] {
        transition-delay: .12s;
    }

    .reveal[data-delay="2"] {
        transition-delay: .24s;
    }

    .reveal[data-delay="3"] {
        transition-delay: .36s;
    }

    .reveal[data-delay="4"] {
        transition-delay: .48s;
    }

/* ---------- Navbar ---------- */
.navbar-polisan {
    transition: all .4s ease;
    padding: 1.1rem 0;
    background: transparent;
}

    .navbar-polisan.scrolled {
        background: rgba(255,255,255,.85);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 8px 30px -12px rgba(20,21,26,.12);
        padding: .6rem 0;
    }

.navbar-brand img {
    height: 44px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

.nav-link {
    font-weight: 500;
    color: var(--polisan-ink-soft) !important;
    margin: 0 .35rem;
    position: relative;
    padding: .5rem .8rem !important;
}

    .nav-link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 2px;
        width: 0;
        height: 3px;
        border-radius: 3px;
        background: var(--polisan-red);
        transition: all .3s ease;
        transform: translateX(-50%);
    }

    .nav-link:hover::after, .nav-link.active::after {
        width: 60%;
    }

    .nav-link.active {
        color: var(--polisan-red) !important;
    }

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 2px solid rgba(20,21,26,.12);
    border-radius: 999px;
    padding: .42rem 1rem;
    font-weight: 600;
    font-size: .88rem;
    color: var(--polisan-ink);
    text-decoration: none;
    transition: all .3s ease;
    background: #fff;
}

    .lang-switch:hover {
        border-color: var(--polisan-red);
        color: var(--polisan-red);
        transform: translateY(-2px);
    }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8.5rem 0 5rem;
    background: radial-gradient(900px 500px at 85% -5%,rgba(229,26,36,.10),transparent 60%), radial-gradient(700px 480px at -10% 90%,rgba(14,159,159,.10),transparent 60%), radial-gradient(600px 400px at 60% 110%,rgba(244,180,26,.10),transparent 60%),#fff;
    overflow: hidden;
}

.hero-title {
    font-size: clamp(2.4rem,5.2vw,4.1rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.02em;
}

    .hero-title .grad {
        background: linear-gradient(100deg,var(--polisan-red) 10%,#ff7a1a 55%,var(--polisan-gold) 90%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.hero-lead {
    font-size: 1.13rem;
    color: var(--polisan-gray);
    max-width: 520px;
}

.hero-img-wrap {
    position: relative;
}

.hero-img {
    border-radius: 2rem;
    box-shadow: 0 40px 80px -30px rgba(20,21,26,.35);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/4.6;
    animation: heroZoom 14s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.06);
    }
}

.hero-ring {
    position: absolute;
    inset: -14px;
    border: 2px dashed rgba(229,26,36,.35);
    border-radius: 2.4rem;
    animation: spinSlow 26s linear infinite;
    pointer-events: none;
}

@keyframes spinSlow {
    to {
        transform: rotate(360deg);
    }
}

.float-badge {
    position: absolute;
    background: rgba(255,255,255,.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 1.1rem;
    box-shadow: var(--shadow-soft);
    padding: .85rem 1.1rem;
    display: flex;
    align-items: center;
    gap: .7rem;
    animation: floatY 5.5s ease-in-out infinite;
    z-index: 3;
}

    .float-badge .ic {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        display: grid;
        place-items: center;
        color: #fff;
        font-size: 1.2rem;
        flex: 0 0 auto;
    }

    .float-badge small {
        display: block;
        color: var(--polisan-gray);
        font-size: .72rem;
    }

    .float-badge strong {
        font-family: var(--font-head);
        font-size: .92rem;
        color: var(--polisan-ink);
    }

.fb-1 {
    top: 6%;
    left: -8%;
}

.fb-2 {
    bottom: 12%;
    right: -6%;
    animation-delay: 1.4s;
}

.fb-3 {
    top: 52%;
    left: -12%;
    animation-delay: 2.6s;
}

@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.paint-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .5;
    z-index: 0;
    animation: blobFloat 12s ease-in-out infinite alternate;
}

@keyframes blobFloat {
    from {
        transform: translate(0,0) scale(1);
    }

    to {
        transform: translate(30px,-40px) scale(1.15);
    }
}

.scroll-hint {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--polisan-gray);
    font-size: 1.4rem;
    animation: floatY 2.2s ease-in-out infinite;
}

/* Marquee color strip */
.color-strip {
    display: flex;
    gap: 0;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

    .color-strip span {
        flex: 1;
    }

/* ---------- Stats ---------- */
.stats-band {
    background: linear-gradient(120deg,#14151A 0%,#23252E 100%);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

    .stats-band::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: radial-gradient(circle,rgba(229,26,36,.35),transparent 70%);
        top: -180px;
        right: -120px;
    }

.stat-num {
    font-family: var(--font-head);
    font-size: clamp(2.2rem,4vw,3.2rem);
    font-weight: 800;
    color: #fff;
}

    .stat-num .plus {
        color: var(--polisan-gold);
    }

.stat-lbl {
    color: rgba(255,255,255,.62);
    font-size: .92rem;
}

/* ---------- About ---------- */
.about-img-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    width: 100%;
    height: 480px;
}

.about-img-sub {
    position: absolute;
    bottom: -42px;
    right: -30px;
    width: 52%;
    border-radius: var(--radius-md);
    border: 8px solid #fff;
    box-shadow: var(--shadow-soft);
    height: auto;
}

.exp-chip {
    position: absolute;
    top: -26px;
    left: -26px;
    background: var(--polisan-red);
    color: #fff;
    border-radius: 1.2rem;
    padding: 1rem 1.4rem;
    box-shadow: 0 16px 34px -10px rgba(229,26,36,.6);
    text-align: center;
    animation: floatY 6s ease-in-out infinite;
}

    .exp-chip .big {
        font-family: var(--font-head);
        font-weight: 800;
        font-size: 1.9rem;
        line-height: 1;
    }

.check-item {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

    .check-item i {
        color: var(--polisan-red);
        font-size: 1.25rem;
        margin-top: .1rem;
    }

/* ---------- Products ---------- */
#products {
    background: var(--polisan-light);
}

.product-card {
    background: #fff;
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: all .45s cubic-bezier(.22,.61,.36,1);
    height: 100%;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 28px 55px -20px rgba(20,21,26,.25);
    }

.product-media {
    position: relative;
    padding: 2rem 2rem 1rem;
    background: radial-gradient(240px 160px at 50% 20%,rgba(229,26,36,.07),transparent 70%),#fff;
    display: grid;
    place-items: center;
    min-height: 230px;
}

    .product-media img {
        max-height: 200px;
        width: auto;
        transition: transform .5s ease;
        filter: drop-shadow(0 18px 20px rgba(20,21,26,.18));
    }

.product-card:hover .product-media img {
    transform: scale(1.08) rotate(-2deg);
}

.cat-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .35rem .8rem;
    border-radius: 999px;
    color: #fff;
}

.cat-interior {
    background: var(--polisan-teal);
}

.cat-exterior {
    background: var(--polisan-red);
}

.cat-wood {
    background: #8B5CF6;
}

.cat-primer {
    background: var(--polisan-gold);
    color: #14151A;
}

.product-body {
    padding: 1.4rem 1.6rem 1.7rem;
}

    .product-body h5 {
        font-weight: 700;
        font-size: 1.05rem;
    }

    .product-body p {
        font-size: .88rem;
        color: var(--polisan-gray);
        margin-bottom: 0;
    }

/* ---------- Why ---------- */
.why-card {
    background: #fff;
    border: 1px solid rgba(20,21,26,.06);
    border-radius: var(--radius-lg);
    padding: 2.1rem 1.8rem;
    height: 100%;
    transition: all .4s ease;
    position: relative;
    overflow: hidden;
}

    .why-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg,var(--polisan-red),var(--polisan-gold));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .45s ease;
    }

    .why-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-soft);
        border-color: transparent;
    }

        .why-card:hover::before {
            transform: scaleX(1);
        }

.why-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 1.3rem;
    box-shadow: 0 12px 24px -8px rgba(20,21,26,.3);
    transition: transform .4s ease;
}

.why-card:hover .why-icon {
    transform: rotate(-8deg) scale(1.08);
}

.why-card h5 {
    font-weight: 700;
}

.why-card p {
    font-size: .9rem;
    color: var(--polisan-gray);
    margin-bottom: 0;
}

/* ---------- Gallery ---------- */
#gallery {
    background: linear-gradient(180deg,#fff 0%,var(--polisan-light) 100%);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-card);
}

    .gallery-item img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        transition: transform .7s cubic-bezier(.22,.61,.36,1);
    }

    .gallery-item::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,transparent 40%,rgba(20,21,26,.72));
        opacity: 0;
        transition: opacity .45s ease;
    }

    .gallery-item .g-cap {
        position: absolute;
        bottom: 16px;
        left: 16px;
        right: 16px;
        color: #fff;
        z-index: 2;
        opacity: 0;
        transform: translateY(14px);
        transition: all .45s ease;
    }

        .gallery-item .g-cap i {
            position: absolute;
            right: 0;
            bottom: 2px;
            font-size: 1.3rem;
        }

    .gallery-item:hover img {
        transform: scale(1.12);
    }

    .gallery-item:hover::after, .gallery-item:hover .g-cap {
        opacity: 1;
    }

    .gallery-item:hover .g-cap {
        transform: translateY(0);
    }

.gallery-modal-img {
    width: 100%;
    border-radius: 1rem;
    max-height: 72vh;
    object-fit: contain;
    background: #0d0e12;
}

/* ---------- CTA ---------- */
.cta-band {
    background: linear-gradient(115deg,var(--polisan-red) 0%,#c1121f 55%,#8f0d16 100%);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    color: #fff;
}

    .cta-band::before {
        content: "";
        position: absolute;
        width: 380px;
        height: 380px;
        border-radius: 50%;
        background: rgba(255,255,255,.09);
        top: -160px;
        right: -80px;
        animation: blobFloat 9s ease-in-out infinite alternate;
    }

    .cta-band::after {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(244,180,26,.18);
        bottom: -120px;
        left: -60px;
    }

.btn-light-pill {
    background: #fff;
    color: var(--polisan-red);
    border-radius: 999px;
    padding: .85rem 2rem;
    font-weight: 700;
    transition: all .35s ease;
    border: 0;
}

    .btn-light-pill:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 30px -10px rgba(0,0,0,.35);
        color: var(--polisan-red-dark);
    }

.btn-wa {
    background: #22c55e;
    color: #fff;
    border-radius: 999px;
    padding: .85rem 2rem;
    font-weight: 700;
    transition: all .35s ease;
    border: 0;
}

    .btn-wa:hover {
        background: #16a34a;
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 16px 30px -10px rgba(34,197,94,.5);
    }

/* ---------- Contact ---------- */
.contact-card {
    background: #fff;
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.05rem 1.15rem;
    border-radius: 1rem;
    transition: background .3s ease;
    text-decoration: none;
    color: inherit;
}

    .contact-item:hover {
        background: var(--polisan-light);
    }

    .contact-item .ic {
        width: 46px;
        height: 46px;
        border-radius: 13px;
        display: grid;
        place-items: center;
        font-size: 1.2rem;
        color: #fff;
        flex: 0 0 auto;
    }

    .contact-item small {
        color: var(--polisan-gray);
        display: block;
        font-size: .76rem;
        text-transform: uppercase;
        letter-spacing: .08em;
        font-weight: 600;
    }

    .contact-item strong {
        color: var(--polisan-ink);
        font-size: .98rem;
        direction: ltr;
        display: inline-block;
    }

.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    height: 100%;
    min-height: 420px;
}

    .map-wrap iframe {
        width: 100%;
        height: 100%;
        min-height: 420px;
        border: 0;
        filter: saturate(.9);
    }

/* ---------- Footer ---------- */
footer {
    background: #101116;
    color: rgba(255,255,255,.66);
}

    footer h6 {
        color: #fff;
        font-weight: 700;
        margin-bottom: 1.1rem;
    }

    footer a {
        color: rgba(255,255,255,.66);
        text-decoration: none;
        transition: color .3s ease;
    }

        footer a:hover {
            color: var(--polisan-gold);
        }

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 1.1rem;
    transition: all .35s ease;
}

    .social-btn:hover {
        background: var(--polisan-red);
        transform: translateY(-4px);
    }

.footer-logo {
    height: 48px;
    border-radius: 12px;
}

.footer-line {
    border-color: rgba(255,255,255,.1) !important;
}

/* Back to top */
.to-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--polisan-red);
    color: #fff;
    border: 0;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    box-shadow: 0 14px 30px -8px rgba(229,26,36,.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: all .4s ease;
    z-index: 1050;
}

    .to-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .to-top:hover {
        background: var(--polisan-red-dark);
        color: #fff;
    }

/* WhatsApp float */
.wa-float {
    position: fixed;
    bottom: 26px;
    left: 26px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    box-shadow: 0 14px 30px -8px rgba(34,197,94,.6);
    z-index: 1050;
    transition: all .35s ease;
    text-decoration: none;
}

    .wa-float:hover {
        transform: scale(1.1);
        color: #fff;
    }

    .wa-float::before {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        border: 2px solid rgba(34,197,94,.5);
        animation: pulse 2s ease-out infinite;
    }

@keyframes pulse {
    0% {
        transform: scale(.85);
        opacity: 1;
    }

    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

@media (max-width:991.98px) {
    .fb-1 {
        left: 0;
    }

    .fb-3 {
        left: -2%;
    }

    .fb-2 {
        right: 0;
    }

    .about-img-sub {
        right: 0;
    }

    .section-pad {
        padding: 4.5rem 0;
    }

    .hero {
        padding-top: 7rem;
    }

    .navbar-polisan {
        background: rgba(255,255,255,.92);
        backdrop-filter: blur(14px);
        box-shadow: 0 6px 24px -12px rgba(20,21,26,.12);
    }
}

