:root {
    --primary: #E8500A;
    --primary-d: #C23E06;
    --primary-l: #FF6B2B;
    --bg: #F5F4F1;
    --bg-2: #FFFFFF;
    --bg-dark: #1C1F26;
    --text: #1C1F26;
    --muted: #6B7280;
    --border: #E2E0DB;
    --white: #FFFFFF;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* TOP BAR */
.topbar {
    background: var(--bg-dark);
    padding: .45rem 0;
    font-size: .78rem;
    color: rgba(255, 255, 255, .6);
}

.topbar a {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    transition: color .2s;
}

.topbar a:hover {
    color: var(--primary-l);
}

.topbar .soc {
    display: flex;
    gap: 12px;
}

.topbar .soc a {
    font-size: .9rem;
}

/* NAVBAR */
.navbar {
    background: var(--white);
    border-bottom: 2px solid var(--border);
    padding: .7rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .07);
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.nav-link {
    color: var(--text) !important;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: .4rem .9rem !important;
    position: relative;
    transition: color .2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: .9rem;
    right: .9rem;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform .2s;
    transform-origin: center;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
    min-width: 240px;
}

.dropdown-item {
    font-size: .83rem;
    font-weight: 500;
    color: var(--text);
    padding: .55rem 1.2rem;
}

.dropdown-item:hover {
    background: #FFF3EE;
    color: var(--primary);
}

.btn-nav-cta {
    background: var(--primary);
    color: #fff !important;
    border-radius: 5px;
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .5rem 1.3rem !important;
    transition: background .2s;
}

.btn-nav-cta:hover {
    background: var(--primary-d) !important;
    color: #fff !important;
}

.btn-nav-cta::after {
    display: none !important;
}

/* HERO */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://www.astropolyplast.com/images/resource/astro-polyplast-1.jpg') center/cover no-repeat;
    opacity: .2;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
}

.hero-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(232, 80, 10, .28) 0%, transparent 55%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 80, 10, .15);
    border: 1px solid rgba(232, 80, 10, .4);
    color: #FF7A40;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: .38rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.4rem;
    animation: fadeUp .7s ease both;
}

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    line-height: 1.0;
    text-transform: uppercase;
    color: #fff;
    animation: fadeUp .8s .1s ease both;
}

.hero h1 .hl {
    color: var(--primary-l);
}

.hero-sub {
    color: rgba(255, 255, 255, .65);
    font-size: 1rem;
    max-width: 500px;
    line-height: 1.78;
    margin-top: 1.1rem;
    animation: fadeUp .9s .2s ease both;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: fadeUp 1s .3s ease both;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .85rem 2.2rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background .2s, transform .15s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--primary-d);
    transform: translateY(-2px);
    color: #fff;
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, .35);
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .82rem 2rem;
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    border-color: var(--primary-l);
    background: rgba(232, 80, 10, .15);
    color: #fff;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    animation: fadeUp 1s .4s ease both;
}

.stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary-l);
    line-height: 1;
}

.stat-lbl {
    font-size: .76rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-top: 3px;
}

/* SECTIONS */
section {
    padding: 90px 0;
}

.s-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: .5rem;
}

.s-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    line-height: 1.05;
    color: var(--text);
}

.s-title span {
    color: var(--primary);
}

.s-desc {
    color: var(--muted);
    font-size: .97rem;
    line-height: 1.78;
}

/* TICKER */
.ticker {
    background: var(--primary);
    padding: .7rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-inner {
    display: inline-flex;
    animation: ticker 30s linear infinite;
}

.ticker-inner span {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .92);
    padding: 0 2.4rem;
}

.ticker-inner span::after {
    content: '✦';
    margin-left: 2.4rem;
    opacity: .5;
}

/* ABOUT */
.about {
    background: var(--white);
}

.about-img-wrap {
    position: relative;
    margin-bottom: 30px;
}

.about-img-main {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .12);
    display: block;
}

.about-img-float {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 46%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 5px solid var(--white);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
}

.about-badge {
    position: absolute;
    top: -16px;
    left: -16px;
    background: var(--primary);
    color: #fff;
    padding: .9rem 1.2rem;
    border-radius: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    box-shadow: 0 8px 24px rgba(232, 80, 10, .35);
}

.about-badge small {
    display: block;
    font-size: .63rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFF3EE;
    border: 1px solid #FBCFB8;
    border-radius: 100px;
    padding: .4rem .9rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text);
    margin: 3px;
}

.pill i {
    color: var(--primary);
    font-size: .85rem;
}

.badge-iso {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #FFFBEC;
    border: 1px solid #F5C842;
    color: #9A7A00;
    font-size: .78rem;
    font-weight: 600;
    padding: .4rem 1rem;
    border-radius: 100px;
}

.link-read {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap .2s;
}

.link-read:hover {
    gap: 10px;
    color: var(--primary-d);
}

/* PRODUCTS */
.products {
    background: var(--bg);
}

.pcard {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .25s, transform .25s, box-shadow .25s;
    height: 100%;
}

.pcard:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(232, 80, 10, .13);
}

.pcard .img-w {
    overflow: hidden;
}

.pcard img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.pcard:hover img {
    transform: scale(1.06);
}

.pcard-body {
    padding: 1.2rem 1.4rem 1.5rem;
}

.pcard-body h5 {
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .4rem;
    color: var(--text);
}

.pcard-body p {
    font-size: .84rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

.pcard-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .79rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary);
    text-decoration: none;
    margin-top: 1rem;
    transition: gap .2s;
}

.pcard-link:hover {
    gap: 10px;
    color: var(--primary-d);
}

/* SOLUTIONS */
.solutions {
    background: var(--white);
}

.scard {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 1.3rem;
    transition: border-color .2s, transform .2s, box-shadow .2s;
    height: 100%;
}

.scard:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(232, 80, 10, .1);
}

.scard-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    background: #FFF3EE;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
}

.scard h6 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .25rem;
    color: var(--text);
}

.scard p {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* WHY US */
.why {
    background: var(--bg-dark);
}

.wcard {
    text-align: center;
    padding: 2.2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    transition: border-color .2s, background .2s;
    height: 100%;
}

.wcard:hover {
    border-color: var(--primary);
    background: rgba(232, 80, 10, .07);
}

.wcard .ico {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(232, 80, 10, .12);
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--primary-l);
}

.wcard h5 {
    font-size: 1.15rem;
    text-transform: uppercase;
    margin-bottom: .6rem;
    color: #fff;
}

.wcard p {
    font-size: .86rem;
    color: rgba(255, 255, 255, .55);
    line-height: 1.7;
    margin: 0;
}

/* FAQ */
.faq {
    background: var(--bg);
}

.accordion-item {
    background: var(--white) !important;
    border: 1.5px solid var(--border) !important;
    border-radius: 8px !important;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-button {
    background: var(--white) !important;
    color: var(--text) !important;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: .93rem;
    box-shadow: none !important;
    padding: 1.1rem 1.3rem;
}

.accordion-button:not(.collapsed) {
    color: var(--primary) !important;
    background: #FFF3EE !important;
}

.accordion-body {
    background: var(--white);
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.75;
    padding: 0 1.3rem 1.2rem;
}

/* CONTACT */
.contact {
    background: var(--white);
}

.ccard {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
}

.form-control,
.form-select {
    background: var(--white) !important;
    border: 1.5px solid var(--border) !important;
    color: var(--text) !important;
    border-radius: 6px;
    font-size: .9rem;
    padding: .75rem 1rem;
}

.form-control::placeholder {
    color: #B0B7C3;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 3px rgba(232, 80, 10, .15) !important;
    border-color: var(--primary) !important;
}

.form-label {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .4rem;
}

.ci {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.ci-ico {
    width: 44px;
    height: 44px;
    background: #FFF3EE;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
}

.ci-txt {
    font-size: .9rem;
    line-height: 1.65;
    color: var(--muted);
}

.ci-txt strong {
    display: block;
    font-weight: 700;
    color: var(--text);
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.ci-txt a {
    color: var(--muted);
    text-decoration: none;
}

.ci-txt a:hover {
    color: var(--primary);
}

.soc-btn {
    width: 38px;
    height: 38px;
    background: #FFF3EE;
    border: 1px solid #FBCFB8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.soc-btn:hover {
    background: var(--primary);
    color: #fff;
}

#form-success {
    display: none;
    background: #ECFDF5;
    border: 1.5px solid #A7F3D0;
    color: #065F46;
    border-radius: 8px;
    padding: .9rem 1.2rem;
    font-size: .9rem;
    margin-top: 1rem;
}

#form-error {
    display: none;
    background: #FEF2F2;
    border: 1.5px solid #FECACA;
    color: #991B1B;
    border-radius: 8px;
    padding: .9rem 1.2rem;
    font-size: .9rem;
    margin-top: 1rem;
}

.btn-submit {
    background: var(--primary);
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .85rem 2rem;
    border-radius: 5px;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: background .2s, transform .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover:not(:disabled) {
    background: var(--primary-d);
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: .7;
    cursor: not-allowed;
}

/* FOOTER */
footer {
    background: var(--bg-dark);
    padding: 70px 0 0;
}

.f-logo img {
    height: 46px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .88;
}

.f-desc {
    font-size: .87rem;
    color: rgba(255, 255, 255, .48);
    line-height: 1.75;
    max-width: 290px;
    margin-top: .9rem;
}

.f-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1.1rem;
    color: #fff;
}

.f-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.f-links li {
    margin-bottom: .55rem;
}

.f-links a {
    font-size: .87rem;
    color: rgba(255, 255, 255, .48);
    text-decoration: none;
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: 7px;
}

.f-links a:hover {
    color: var(--primary-l);
}

.f-links a::before {
    content: '›';
    color: var(--primary);
}

.f-soc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.2rem;
}

.f-soc a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .55);
    font-size: 1rem;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}

.f-soc a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.f-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 1.2rem 0;
    margin-top: 55px;
    font-size: .82rem;
    color: rgba(255, 255, 255, .35);
}

.f-bottom a {
    color: var(--primary-l);
    text-decoration: none;
}

/* WHATSAPP FLOAT */
.wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    box-shadow: 0 6px 24px rgba(37, 211, 102, .45);
    z-index: 999;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

.wa:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 32px rgba(37, 211, 102, .55);
    color: #fff;
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* RESPONSIVE */
@media(max-width:991px) {
    .about-img-float {
        display: none;
    }

    .about-img-main {
        height: 320px;
    }
}

@media(max-width:767px) {
    section {
        padding: 60px 0;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-num {
        font-size: 2.1rem;
    }

    .ccard {
        padding: 1.5rem;
    }
}