:root {
    --primary: #1f8a70;
    --primary-dark: #156d57;
    --navy: #0f2f3d;
    --light: #f4f8f7;
    --text: #172026;
    --muted: #50626e;
    --card: #ffffff;
    --shadow: 0 20px 50px rgba(18, 46, 60, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text);
    background: #ffffff;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0f3443;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.success-banner {
    background: #e9f6f2;
    color: #156d57;
    text-align: center;
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 1px solid #cfeee3;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(15, 34, 48, 0.12);
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
}

.logo img {
    height: 52px;
    filter: brightness(1.2);
}

.main-nav {
    display: flex;
    gap: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.main-nav a {
    color: #ffffff;
}

.main-nav a:hover {
    color: #7fd0d4;
}

.main-nav a.active {
    color: #7fd0d4;
    position: relative;
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: #7fd0d4;
    border-radius: 999px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(31, 138, 112, 0.28);
}

.btn-ghost {
    border: 1px solid #d6dbe1;
    color: var(--text);
}

.hero {
    background: #f4f8f7;
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    background: rgba(31, 138, 112, 0.12);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-copy h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 16px;
}

.hero-copy p {
    color: var(--muted);
    font-size: 18px;
    margin-bottom: 24px;
}

.hero-micro {
    margin-top: 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hero-stats div {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
}

.hero-stats strong {
    display: block;
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
}

.hero-stats span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}


.hero-visual {
    position: relative;
}

.product-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-image {
    height: 520px;
    width: 100%;
    object-fit: cover;
}


.hotspot {
    position: absolute;
    cursor: pointer;
}

.hotspot span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    display: block;
    position: relative;
    box-shadow: 0 0 0 8px rgba(31, 138, 112, 0.2);
    animation: pulse 2s infinite;
}

.hotspot-card {
    position: absolute;
    top: -12px;
    left: 24px;
    background: #ffffff;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: var(--shadow);
    width: 180px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
}

.hotspot:hover .hotspot-card {
    opacity: 1;
    transform: translateY(-6px);
}

.hotspot.is-open .hotspot-card {
    opacity: 1;
    transform: translateY(-6px);
}

.hotspot-card h4 {
    margin: 0 0 6px;
    font-size: 14px;
}

.hotspot-card p {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
}

.hero-note {
    position: absolute;
    right: -40px;
    bottom: -24px;
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-note img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.hero-note strong {
    display: block;
}

.hero-note span {
    font-size: 12px;
    color: var(--muted);
}

.section {
    padding: 64px 0;
}

.section-tint {
    background: #f2f7f8;
}

.section-soft {
    background: #ffffff;
}

.section-dark {
    background: #0f3443;
    color: #ffffff;
}

.section-head {
    max-width: 700px;
    margin-bottom: 40px;
}

.section-head h5 {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    font-size: 12px;
}

.section-head h2 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 8px;
}

.section-micro {
    margin-top: 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    font-weight: 600;
}

.section-title-lg {
    font-size: 40px;
}

@media (max-width: 600px) {
    .section-title-lg {
        font-size: 32px;
    }
}

.section-head.light h5 {
    color: #78c7c4;
}

.section-tag {
    display: inline-block;
    background: rgba(31, 138, 112, 0.12);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-tag-light {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}


.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.info-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 18px;
}

.info-card img {
    border-radius: 16px;
    height: 200px;
    width: 100%;
    object-fit: contain;
    background: #ffffff;
    padding: 10px;
    margin-bottom: 16px;
}

.card-image-center {
    object-fit: contain;
    background: #ffffff;
    padding: 10px;
}

.info-card h3 {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.info-card a {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    font-weight: 600;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: center;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.checklist li {
    margin-bottom: 14px;
    padding-left: 24px;
    position: relative;
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.highlight-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.steps {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.steps span {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    color: var(--primary);
}

.product-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    background: rgba(255, 255, 255, 0.12);
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card span {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.brand-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
}

.brand-card img {
    max-height: 56px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.brand-card .logo-qualichem {
    max-height: 70px;
}

.brand-card .logo-kts {
    max-height: 70px;
}

.brand-card-dark {
    background: #0f3443;
}

.brand-card-dark .logo-vivex {
    max-height: 48px;
}

.logo-invert {
    filter: brightness(0) invert(1);
}

.brand-card:hover img {
    filter: none;
    opacity: 1;
    transform: translateY(-2px);
}

.brand-card-dark img {
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.brand-card-dark:hover img {
    filter: brightness(0) invert(1);
    transform: translateY(-2px);
}

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.floating-cta {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background: var(--primary);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    box-shadow: 0 14px 30px rgba(31, 138, 112, 0.28);
    z-index: 999;
}

@media (max-width: 980px) {
    .floating-cta {
        display: none;
    }
}

.page-loader {
    position: fixed;
    inset: 0;
    background: #0f3443;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.3s ease;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-dots {
    display: flex;
    gap: 10px;
}

.loader-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #7fd0d4;
    animation: dotPulse 0.9s infinite;
}

.loader-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.loader-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes dotPulse {
    0% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }
}


.brand-text {
    font-family: 'Montserrat', sans-serif;
    color: var(--navy);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.testimonial {
    background: #ffffff;
    padding: 22px;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.testimonial strong {
    display: block;
    margin-top: 16px;
}

.contact {
    background: #eef4f5;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: start;
}

.contact-cards {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.contact-card-mini {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 12px;
    align-items: start;
    box-shadow: var(--shadow);
}

.contact-card-mini i {
    color: var(--primary);
    font-size: 18px;
    margin-top: 2px;
}

.contact-map {
    margin-top: 18px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #dfe3ea;
}

.contact-map iframe {
    width: 100%;
    height: 200px;
    border: 0;
    display: block;
}

.contact-card-map .contact-map {
    margin-top: 12px;
}

.contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow);
    margin-top: 56px;
}

.contact-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.contact-form label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #dfe3ea;
    font-family: inherit;
    font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(31, 138, 112, 0.22);
    background: #f7fcfb;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form button {
    width: 100%;
    margin-top: 6px;
}


.contact-success-inline {
    background: var(--primary);
    border: 1px solid var(--primary-dark);
    padding: 14px 16px;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 600;
    margin: 12px 0 16px;
    box-shadow: 0 12px 24px rgba(31, 138, 112, 0.25);
}
.contact-note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 16px;
}

.site-footer {
    background: #0f3443;
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    justify-items: start;
}

.footer-grid img {
    height: 64px;
    margin-bottom: 16px;
    filter: brightness(1.2);
}

.footer-grid h5 {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
}

.footer-grid a,
.footer-grid span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 16px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(241, 90, 36, 0.3);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 12px rgba(241, 90, 36, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(241, 90, 36, 0);
    }
}

@media (max-width: 980px) {
    .header-wrap {
        flex-wrap: wrap;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-grid,
    .split,
    .card-grid,
    .product-row,
    .testimonial-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-note {
        position: static;
        margin-top: 20px;
    }

    .hero-image {
        height: 380px;
    }

}

@media (max-width: 600px) {
    .hero-copy h1 {
        font-size: 30px;
        line-height: 1.15;
    }

    .site-header {
        padding: 4px 0;
    }

    .logo img {
        height: 44px;
    }

    .main-nav {
        gap: 12px;
        font-size: 12px;
        justify-content: center;
    }

    .hero {
        padding: 56px 0 40px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .section {
        padding: 48px 0;
    }

    .card-grid {
        gap: 18px;
    }

    .info-card img {
        height: 180px;
    }

    .contact-card {
        margin-top: 24px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
        padding: 14px 14px;
    }

    .btn {
        width: 100%;
    }
}
