@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

/* --- Root & Design System --- */
:root {
    /* Color Palette - Simple, Natural Green Theme */
    --primary: #2e7d32;
    /* Classic Grass/Forest Green */
    --primary-light: #4caf50;
    /* Natural Leaf Green */
    --primary-dark: #1b5e20;
    /* Deep Premium Green */
    --primary-tint: #f1f8e9;
    /* Light Soft Green Tint */

    --secondary: #fbc02d;
    /* Warm Wheat Gold (Ratings & Accents) */
    --secondary-dark: #f57f17;
    /* Dark Wheat Amber */

    --bg-light: #ffffff;
    /* Clean White */
    --bg-neutral: #f4f7f5;
    /* Crisp Soft Gray-Green */
    --bg-dark: #1a251f;
    /* Dark Slate Green (for Footer/Hero only) */

    /* Text Colors */
    --text-dark: #263238;
    /* Deep Charcoal */
    --text-muted: #546e7a;
    /* Slate Muted */
    --text-light: #ffffff;
    /* White Text */
    --text-muted-light: #b0bec5;
    /* Light Slate Muted */

    /* Structural Elements */
    --border-color: #e0e6e2;
    /* Thin Clean Border */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 10px 30px rgba(46, 125, 50, 0.08);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Spacing */
    --section-padding: 7rem 0;
    --container-width: 1140px;
}

/* --- Base Setup --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* --- First Visit Logo Splash --- */
.site-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 38%, #ffffff 0%, #f1f8e9 48%, #e8f3ec 100%);
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.np-loader-seen .site-loader,
.site-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-loader-card {
    display: grid;
    justify-items: center;
    gap: 0.9rem;
    transform: translateY(0);
    animation: logoSplashPulse 1.4s ease-in-out infinite alternate;
}

.site-loader-card img {
    width: min(62vw, 250px);
    height: auto;
    display: block;
    filter: drop-shadow(0 16px 22px rgba(27, 94, 32, 0.16));
}

.site-loader-card p {
    max-width: min(82vw, 520px);
    color: var(--primary-dark);
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1rem, 4vw, 1.45rem);
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-wrap: balance;
}

@keyframes logoSplashPulse {
    to {
        transform: translateY(-6px) scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-loader-card {
        animation: none;
    }
}

body > section,
body > .why-choose-us-wrapper {
    position: relative;
    z-index: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.3;
}

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* --- Utilities --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.section-title-wrapper {
    margin-bottom: 4rem;
    text-align: center;
}

.section-subtitle {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, #4caf50 0%, #009688 100%);
    /* Mixed green-teal gradient line */
    border-radius: 2px;
}

/* Button UI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    /* Structured rectangular corners instead of blobby capsules */
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, #1b5e20 0%, #00796b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 121, 107, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2e7d32 0%, #00897b 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 121, 107, 0.25);
}

.btn-secondary {
    background: linear-gradient(135deg, #4caf50 0%, #009688 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 150, 136, 0.15);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #388e3c 0%, #00796b 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 121, 107, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-dark);
    border-color: white;
    transform: translateY(-1px);
}

/* --- Header / Clean Floating Navbar --- */
.header-wrapper {
    position: fixed;
    top: 1rem;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header-wrapper.scrolled {
    top: 0.5rem;
}

.navbar-container {
    width: 90%;
    max-width: 1060px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-normal);
    background-color: rgba(255, 255, 255, 0.15);
    /* Highly transparent white glass at top */
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-wrapper.scrolled .navbar-container {
    background-color: rgba(255, 255, 255, 0.95);
    /* Solid white glass past the banner */
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
    border-color: var(--border-color);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.brand-logo {
    width: 36px;
    height: 36px;
    background-color: var(--primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    /* White text on top of dark slide images */
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.brand-text span {
    color: var(--primary-light);
}

.navbar-logo-img {
    height: 36px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition-normal);
}

.footer-logo-img {
    height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
    margin-bottom: 1rem;
}

.header-wrapper.scrolled .brand-text {
    color: var(--text-dark);
    /* Revert to black on scroll past banner */
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2.2rem;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    /* White links on top */
    position: relative;
    padding: 0.25rem 0;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.header-wrapper.scrolled .nav-link {
    color: var(--text-dark);
    /* Revert to black links on scroll */
}

.header-wrapper.scrolled .nav-link:hover,
.header-wrapper.scrolled .nav-link.active {
    color: var(--primary);
    /* Hover is primary green */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    /* White line on top */
    transition: var(--transition-fast);
}

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

.header-wrapper.scrolled .nav-link::after {
    background-color: var(--primary);
    /* Green line on scroll */
}

.nav-cta .btn {
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 4px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: white;
    /* White bars by default */
    transition: var(--transition-fast);
}

.header-wrapper.scrolled .mobile-menu-btn span {
    background-color: var(--text-dark);
    /* Black bars on scroll */
}

/* --- Banner (Hero Slideshow & Stats Redesign) --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    margin-top: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 37, 31, 0.5) 0%, rgba(26, 37, 31, 0.75) 100%);
    z-index: 2;
}

.hero-container-centered {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 8rem 1.5rem 3.5rem;
    text-align: center;
}

.hero-content-centered {
    margin: auto auto;
    max-width: 800px;
}

.hero-title-centered {
    font-size: 3.2rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.hero-title-centered span,
#heroChangingText {
    background: linear-gradient(135deg, #a5d6a7 0%, #80deea 100%);
    /* Lighter soft mixed green-teal gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#heroChangingText.fade-out {
    opacity: 0;
    transform: translateY(-8px);
}

.hero-desc-centered {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.25rem;
    max-width: 780px; /* Increased to fit text in exactly 2 lines on desktop */
    margin-left: auto;
    margin-right: auto;
}

.hero-actions-centered {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2rem;
    width: 100%;
    margin-top: auto;
}

@media (max-width: 992px) {
    .hero-stats-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hero-stat-box {
    text-align: center;
}

.hero-stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    display: block;
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

/* Responsive adjustments for integrated stats */
@media (max-width: 768px) {
    .hero-title-centered {
        font-size: 2.2rem;
    }

    .hero-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding-top: 1.5rem;
    }

    .hero-stat-num {
        font-size: 1.8rem;
    }

    .hero-stat-label {
        font-size: 0.7rem;
    }
}

/* --- Bestsellers Section (Redesigned) --- */
/* Bestsellers Header Row Styles */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.section-title-left {
    text-align: left;
}

.section-title-left-text {
    font-size: 2.25rem;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 0.75rem;
    display: inline-block;
}

.section-title-left-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, #4caf50 0%, #009688 100%);
    border-radius: 2px;
}

.section-header-right {
    display: flex;
    align-items: center;
}

.bestsellers-section {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.grid-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

/* --- Bestsellers Carousel Styles --- */
.bestsellers-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 0;
    overflow: hidden;
}

.bestsellers-carousel-track {
    display: flex;
    gap: 1.5rem;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Override standard product-card styles when inside the carousel to control widths */
.bestsellers-carousel-track .product-card {
    flex: 0 0 calc((100% - 4.5rem) / 4);
    min-width: calc((100% - 4.5rem) / 4);
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .bestsellers-carousel-track .product-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
        min-width: calc((100% - 1.5rem) / 2);
    }
}

@media (max-width: 576px) {
    .bestsellers-carousel-track .product-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

.product-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    /* Clean rectangular shapes */
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.product-media {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1.5rem;
}

.product-shape {
    width: 90px;
    height: 90px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.product-card:hover .product-shape {
    transform: scale(1.05);
}

.product-icon-display {
    font-size: 2.25rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
}

.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.badge-tag {
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-bestseller {
    background-color: var(--primary);
    color: white;
}

.badge-category {
    background-color: var(--bg-neutral);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border-top: 1px solid var(--border-color);
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.5;
}

.product-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.product-btn:hover {
    color: var(--primary-dark);
}

.product-btn i {
    transition: var(--transition-fast);
}

.product-btn:hover i {
    transform: translateX(2px);
}

/* Scroll reveal animations for the home page */
.reveal-on-scroll {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition:
        opacity 0.65s ease,
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-on-scroll.reveal-from-left {
    transform: translate3d(-38px, 0, 0);
}

.reveal-on-scroll.reveal-from-right {
    transform: translate3d(38px, 0, 0);
}

.reveal-on-scroll.reveal-from-up {
    transform: translate3d(0, 34px, 0);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1;
        transform: none !important;
        transition: none !important;
    }
}

.why-choose-us-section {
    padding: 3.5rem 0;
    background-color: #ffffff; /* Solid opaque color to prevent other sections from bleeding through */
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    z-index: 10;
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.03); /* Soft inner shadow / vignette */
}

.why-choose-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/body back.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain; /* Prevents squashing of the world map image */
    opacity: 0.3; /* Sets watermark opacity */
    z-index: -1;
    pointer-events: none;
}

@media (min-width: 992px) {
    .why-choose-us-wrapper {
        height: 250vh; /* Taller parent wrapper for vertical scroll pinning duration */
        position: relative;
    }
    
    .why-choose-us-section {
        position: sticky;
        top: 0;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
    }
    
    /* Set starting hidden state for cards 2 to 5 */
    .why-choose-us-section .feature-card:not(:first-child) {
        opacity: 0;
        transform: translateY(30px);
    }
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1200px) {
    .grid-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .grid-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid-features {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    padding: 2.25rem 1.25rem;
    border-radius: 0px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-icon-box {
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.25rem;
    font-size: 2.15rem;
    color: #000000;
    box-shadow: none;
}

.feature-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
    font-family: 'Outfit', sans-serif;
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.825rem;
    line-height: 1.6;
}

/* --- What We Do Section (Redesigned) --- */
.what-we-do-section {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.service-card {
    border-radius: 4px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    transition: var(--transition-normal);
}

.service-card:hover {
    border-color: transparent;
    background: linear-gradient(135deg, #1b5e20 0%, #00796b 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(27, 94, 32, 0.15);
}

.service-card:hover h3 {
    color: white;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.85);
}

.service-card:hover .service-num {
    color: white;
    opacity: 0.8;
}

.service-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.service-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Stats Section (Simple Green Tint Strip) --- */
.stats-section {
    padding: 3.5rem 0;
    background-color: var(--primary-tint);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.stat-item {
    text-align: center;
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 600;
}

/* --- About Us Section --- */
.about-us-section {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4.5rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img-wrapper {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.about-experience-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #1b5e20 0%, #00796b 100%);
    border-radius: 4px;
    color: white;
    min-width: 160px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 121, 107, 0.25);
}

.about-experience-badge .badge-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 1;
}

.about-experience-badge .badge-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.about-bullets {
    margin-top: 1.75rem;
}

.about-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.about-bullet-icon {
    font-size: 1rem;
    color: var(--primary);
    margin-top: 0.2rem;
}

.about-bullet-text h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 0.15rem;
}

.about-bullet-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --- Customer Review Section --- */
.reviews-section {
    padding: 3.5rem 0 3rem;
    /* Slightly reduced padding to keep it compact */
    background-color: var(--bg-neutral);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.reviews-section .section-title-wrapper {
    text-align: left;
    margin-bottom: 2.5rem;
}

.reviews-section .section-title::after {
    left: 0;
    right: auto;
    transform: none;
}

.reviews-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow: hidden;
    /* Clips the sliding cards within the page grid */
}

.reviews-carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s ease-in-out;
}

.review-slide {
    min-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .review-slide {
        min-width: calc((100% - 1.5rem) / 2);
        /* 2 cards on tablet */
    }
}

@media (min-width: 992px) {
    .review-slide {
        min-width: calc((100% - 4.5rem) / 4);
        /* 4 cards on desktop */
    }
}

.review-card {
    padding: 1.25rem 1.25rem;
    /* Shorter vertical padding */
    border-radius: 8px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: var(--transition-normal);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.04);
    border-color: rgba(76, 175, 80, 0.2);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.google-review-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.review-stars {
    color: #ffb300;
    /* Rich gold stars */
    font-size: 0.9rem;
}

.review-text {
    font-size: 0.88rem;
    /* Compact text size */
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 1rem;
    /* Reduced spacing */
    flex-grow: 1;
    font-style: italic;
}

.review-user-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 0.85rem;
    margin-top: auto;
}

.review-avatar-wrapper {
    width: 40px;
    /* Compact avatar size */
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(76, 175, 80, 0.15);
    flex-shrink: 0;
}

.review-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-user-info h4 {
    font-size: 0.85rem;
    color: var(--primary-dark);
    margin-bottom: 0.1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.review-user-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.carousel-dots {
    display: flex;
    gap: 0.4rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cfd8dc;
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    background: linear-gradient(90deg, #4caf50 0%, #009688 100%);
    width: 18px;
    border-radius: 4px;
}

/* --- CTA Consultation Section (Redesigned Centered Call & WhatsApp) --- */
/* --- CTA Consultation Section (Simple, Professional & Premium) --- */
.cta-section {
    position: relative;
    z-index: 2;
    padding: var(--section-padding);
    background-color: var(--bg-light);
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.cta-simple-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    text-align: left;
}

.cta-left-content {
    flex: 1.4;
}

.cta-left-content .section-subtitle {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.cta-left-content h2 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

.cta-left-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.cta-right-actions {
    flex: 0.6;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 250px;
}

.cta-btn-call,
.cta-btn-whatsapp {
    padding: 0.9rem 1.75rem;
    font-size: 0.95rem;
    border-radius: 4px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    transition: var(--transition-fast);
    text-decoration: none;
    width: 100%;
    box-shadow: var(--shadow-soft);
}

.cta-btn-call {
    background: linear-gradient(135deg, #4caf50 0%, #009688 100%);
    color: white;
}

.cta-btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(76, 175, 80, 0.3);
}

.cta-btn-whatsapp {
    background-color: transparent;
    color: #2e7d32;
    border: 2px solid #2e7d32;
}

.cta-btn-whatsapp:hover {
    background-color: #2e7d32;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(46, 125, 50, 0.2);
}

.cta-btn-whatsapp i {
    color: #25d366;
    font-size: 1.15rem;
    transition: var(--transition-fast);
}

.cta-btn-whatsapp:hover i {
    color: white;
}

@media (max-width: 991px) {
    .cta-simple-wrapper {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .cta-left-content h2 {
        font-size: 2rem;
    }
    .cta-right-actions {
        max-width: 100%;
    }
}

.cta-form-container h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    outline: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-tint);
}

textarea.form-control {
    resize: none;
    height: 100px;
}

.submit-btn-wrapper {
    margin-top: 1.5rem;
}

.submit-btn-wrapper .btn {
    width: 100%;
    padding: 0.85rem;
}

/* Toast Notifications */
.toast-msg {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 0.85rem 1.5rem;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    z-index: 2000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(150%);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.toast-msg.show {
    transform: translateY(0);
}

.toast-success {
    background-color: var(--primary);
}

.toast-error {
    background-color: #c62828;
}

/* --- Footer --- */
.footer-section {
    position: relative;
    z-index: 1;
    padding: 2.5rem 0 1.5rem;
    /* Compact padding on mobile */
    background-image: linear-gradient(180deg, rgba(17, 24, 20, 0.6) 0%, rgba(17, 24, 20, 0.82) 100%), url('../images/optimized/footer_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 992px) {
    .footer-section {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 0;
        padding: 6.5rem 0 1.5rem;
    }
}

@media (max-width: 991px) {
    .footer-section.mobile-reveal-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 0;
        max-height: 92svh;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 2.35rem 0 1.15rem;
        scrollbar-width: none;
    }

    .footer-section.mobile-reveal-footer::-webkit-scrollbar {
        display: none;
    }

    .footer-section.mobile-reveal-footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .footer-section.mobile-reveal-footer .footer-logo-col,
    .footer-section.mobile-reveal-footer .footer-grid> :nth-child(4) {
        grid-column: 1 / -1;
    }

    .footer-section.mobile-reveal-footer .footer-logo-col p {
        margin-top: 0.55rem;
    }

    .footer-section.mobile-reveal-footer .footer-col h4 {
        margin-bottom: 0.65rem;
        font-size: 0.9rem;
    }

    .footer-section.mobile-reveal-footer .footer-links {
        gap: 0.45rem;
    }

    .footer-section.mobile-reveal-footer .footer-contact-info {
        gap: 0.55rem;
    }

    .footer-section.mobile-reveal-footer .footer-bottom {
        gap: 0.65rem;
        padding-top: 1rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1.3fr;
    gap: 2rem;
    /* Reduced gap */
    margin-bottom: 2rem;
    /* Reduced margin */
}

.footer-logo-col p {
    color: var(--text-muted-light);
    margin-top: 0.75rem;
    /* Reduced margin */
    font-size: 0.82rem;
    /* Smaller text */
    line-height: 1.5;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    /* Reduced margin */
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.social-icon:hover {
    background-color: var(--primary-light);
    color: white;
}

.footer-col h4 {
    font-size: 0.95rem;
    /* Smaller title */
    color: white;
    margin-bottom: 0.85rem;
    /* Reduced margin */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* Reduced gap */
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted-light);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-contact-info {
    list-style: none;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    /* Reduced margin */
    font-size: 0.82rem;
    /* Smaller text */
    color: var(--text-muted-light);
    line-height: 1.45;
}

.footer-contact-item i {
    color: var(--primary-light);
    margin-top: 0.2rem;
}

.footer-contact-item a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 1.25rem;
    /* Reduced padding */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted-light);
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    font-size: 0.8rem;
    color: var(--text-muted-light);
}

.footer-legal-links a:hover {
    color: white;
}

/* ────────────────────────────────────────────────────────────
   PRODUCTS PAGE – Sub Navbar, Cards, Pagination
   ──────────────────────────────────────────────────────────── */

/* Products page: force navbar solid immediately */
.products-page-header.header-wrapper {
    top: 0;
}
.products-page-header .navbar-container {
    background-color: rgba(255, 255, 255, 0.97) !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 4px 25px rgba(0,0,0,0.06) !important;
}
.products-page-header .nav-link {
    color: var(--text-dark) !important;
}
.products-page-header .nav-link:hover,
.products-page-header .nav-link.active {
    color: var(--primary) !important;
}
.products-page-header .nav-link::after {
    background-color: var(--primary) !important;
}
.products-page-header .mobile-menu-btn span {
    background-color: var(--text-dark) !important;
}

/* ── Products Sub-Navbar ────────────────────────────────────── */
.products-subnav-wrapper {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    z-index: 999;
    margin-top: 0;
    transition: box-shadow 0.25s ease;
}

.products-subnav-wrapper.stuck {
    box-shadow: 0 4px 20px rgba(46,125,50,0.10);
    border-bottom-color: rgba(76,175,80,0.3);
}

@media (max-width: 768px) {
    .products-subnav-wrapper {
        top: 64px;
    }
}

.products-subnav-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: stretch;
    overflow: hidden;   /* outer wrapper never scrolls */
    gap: 0;
}

/* Only the category nav scrolls horizontally */
.subnav-scroll-area {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    display: flex;
    align-items: stretch;
}
.subnav-scroll-area::-webkit-scrollbar { display: none; }

/* Toggles always pinned to the right — never scroll */
.subnav-controls {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0;
    border-left: 1px solid var(--border-color);
    padding-left: 0.75rem;
}

/* ── Lang Toggle Pill ─────────────────────────────────── */
.lang-toggle-pill {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 0;
    padding: 0.55rem 0.6rem 0.55rem 0;
    flex-shrink: 0;
}

.lang-btn {
    padding: 0.3rem 0.6rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 3px;
    transition: var(--transition-fast);
    line-height: 1;
    letter-spacing: 0.3px;
}

.lang-btn:first-child { border-radius: 3px 0 0 3px; }
.lang-btn:last-child  { border-radius: 0 3px 3px 0; margin-left: -1px; }

.lang-btn:hover {
    background: var(--primary-tint);
    color: var(--primary-dark);
    border-color: var(--primary-light);
}

.lang-btn.active {
    background: linear-gradient(135deg, #1b5e20 0%, #00796b 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 6px rgba(0,121,107,0.2);
}

/* ── View Toggle Pill ─────────────────────────────────── */
.view-toggle-pill {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 0.75rem;
    padding: 0;
    flex-shrink: 0;
    border-left: 1px solid var(--border-color);
    padding-left: 0.75rem;
}

.view-btn {
    padding: 0.35rem 0.5rem;
    font-size: 0.88rem;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 3px;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.view-btn:first-child { border-radius: 3px 0 0 3px; }
.view-btn:last-child  { border-radius: 0 3px 3px 0; margin-left: -1px; }

.view-btn:hover {
    background: var(--primary-tint);
    color: var(--primary-dark);
    border-color: var(--primary-light);
}

.view-btn.active {
    background: linear-gradient(135deg, #1b5e20 0%, #00796b 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 6px rgba(0,121,107,0.2);
}

/* ── Catalog List View Overrides ────────────────────────────── */
.catalog-grid.list-view {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
}

.catalog-grid.list-view .catalog-product-card {
    flex-direction: row !important;
    align-items: stretch;
    height: 210px;
    text-align: left;
    width: 100%;
}

.catalog-grid.list-view .catalog-product-card .product-media {
    width: 220px;
    min-width: 220px;
    height: 100% !important;
    padding: 0.75rem;
    flex-shrink: 0;
    border-right: 1px solid var(--border-color);
    border-bottom: none;
}

.catalog-grid.list-view .catalog-product-card .product-image-frame {
    width: 132px;
    height: 184px;
}

.catalog-grid.list-view .catalog-product-card .product-card-img {
    max-width: 100%;
    max-height: 100%;
}

.catalog-grid.list-view .catalog-product-card .product-info {
    flex-grow: 1;
    border-top: none !important;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.catalog-grid.list-view .catalog-product-card .product-desc {
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hide tags row in list view to keep layout compact */
.catalog-grid.list-view .catalog-product-card .product-tags-row {
    display: none;
}

@media (max-width: 768px) {
    .catalog-grid.list-view .catalog-product-card {
        flex-direction: column !important;
        height: auto;
    }
    .catalog-grid.list-view .catalog-product-card .product-media {
        width: 100%;
        height: 300px !important;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}


.products-subnav {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    min-width: max-content;
}

.subnav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 1.3rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    transition: var(--transition-fast);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    letter-spacing: 0.01em;
}

.subnav-link:hover {
    color: var(--primary);
    background: var(--primary-tint);
}

.subnav-link.active {
    color: var(--primary-dark);
    border-bottom-color: var(--primary);
    background: linear-gradient(180deg, transparent 0%, rgba(241,248,233,0.6) 100%);
}

/* ── Catalog Section ────────────────────────────────────────── */
.catalog-section {
    padding: 2.5rem 0 3rem;
    background-color: var(--bg-neutral);
    position: relative;
    z-index: 2;
    scroll-margin-top: 140px;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.07);
}

.products-subnav-wrapper + .catalog-section {
    margin-top: 116px;
}

@media (max-width: 768px) {
    .products-subnav-wrapper + .catalog-section {
        margin-top: 118px;
    }
}

/* ── Catalog Heading ────────────────────────────────────────── */
.catalog-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.catalog-title {
    font-size: 1.75rem;
    color: var(--primary-dark);
    line-height: 1.2;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.catalog-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.pagination-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.85rem;
    border-radius: 4px;
}
.pagination-info strong {
    color: var(--primary-dark);
}

/* ── Catalog Grid ───────────────────────────────────────────── */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .catalog-grid { grid-template-columns: 1fr; }
}

/* ── Product Card (Catalog) ─────────────────────────────────── */
.catalog-product-card {
    background: transparent;
    border: 0;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    opacity: 0;
    transform: translateY(12px);
    cursor: pointer;
}

.catalog-product-card.card-fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease,
                box-shadow 0.25s ease, border-color 0.25s ease;
}

.catalog-product-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.catalog-product-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* Card Media Area */
.product-media {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 1rem 1rem;
}

.product-media.has-product-image {
    background: transparent !important;
}

.product-image-frame {
    width: 100%;
    height: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: none;
}

.product-card-img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(92%, 250px);
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.product-card:hover .product-card-img {
    transform: translateY(-3px) scale(1.02);
}

@media (max-width: 576px) {
    .product-media {
        height: 310px;
        padding: 2rem 1rem 1rem;
    }

    .product-image-frame {
        width: 100%;
        height: 100%;
    }
}

.product-icon-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.product-icon-display {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}

.product-badge-top {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
}

.badge-bestseller {
    background: linear-gradient(135deg, #1b5e20, #00796b);
    color: #fff;
    padding: 0.25rem 0.65rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.product-cat-chip {
    position: absolute;
    bottom: 0.65rem;
    right: 0.75rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-dark);
    background: rgba(255,255,255,0.85);
    padding: 0.2rem 0.55rem;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.07);
    letter-spacing: 0.2px;
}

.product-media.has-product-image .product-cat-chip {
    top: 0.7rem;
    bottom: auto;
    max-width: calc(100% - 1.5rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 2;
}

/* Card Body */
.product-info {
    padding: 1.25rem 1.25rem 1.1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 20px rgba(25, 84, 34, 0.04);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.catalog-product-card:hover .product-info {
    border-color: var(--primary-light);
    box-shadow: 0 12px 28px rgba(46,125,50,0.10);
}

.product-title {
    font-size: 1.05rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.product-desc {
    font-size: 0.825rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    flex-grow: 1;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.9rem;
}

.product-tag {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.18rem 0.5rem;
    border-radius: 3px;
    background: var(--primary-tint);
    color: var(--primary-dark);
    border: 1px solid rgba(76,175,80,0.2);
    letter-spacing: 0.2px;
}

.product-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-color);
}

/* ── Empty State ───────────────────────────────────────────── */
.catalog-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 5rem 2rem;
    color: var(--text-muted);
}
.catalog-empty i {
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.5;
}
.catalog-empty p {
    font-size: 1rem;
}

/* ── Pagination ─────────────────────────────────── */
.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.page-btn {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.85rem;
}

.page-btn:hover:not(:disabled) {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.page-dot {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.page-dot:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-dot.active {
    background: linear-gradient(135deg, #1b5e20 0%, #00796b 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0,121,107,0.2);
}

/* Legacy filter-bar kept for index.php usage */
.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.55rem 1.25rem;
    border-radius: 4px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* --- Product Detail Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    width: 100%;
    max-width: 880px;
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-dark);
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background-color: var(--primary);
    color: white;
}

.modal-body {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    overflow: hidden;
    flex: 1;          /* grow to fill modal-card height */
    min-height: 0;    /* allow shrinking in flex parent */
}

.modal-media-col {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border-right: 1px solid var(--border-color);
}

.modal-media-col.has-product-image {
    background: linear-gradient(180deg, #f9fcf8 0%, #eef7ef 100%);
}

.modal-product-img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(82%, 250px);
    max-height: min(74vh, 430px);
    object-fit: contain;
    filter: drop-shadow(0 22px 28px rgba(25, 84, 34, 0.18));
}

.modal-shape {
    width: 140px;
    height: 140px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon {
    font-size: 3.5rem;
}

.modal-info-col {
    padding: 1.5rem 2rem;
    overflow-y: auto;          /* info column scrolls if content is long */
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.modal-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.25rem;
    display: block;
}

.modal-title {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.modal-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-specs-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.4rem;
}

.modal-specs-list {
    list-style: none;
}

.modal-spec-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.modal-spec-label {
    font-weight: 600;
    color: var(--text-dark);
}

.modal-spec-val {
    color: var(--text-muted);
    text-align: right;
}

/* --- Consultation Modal Form --- */
.consultation-modal-card {
    max-width: 980px;
}

.consultation-modal-body {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    min-height: 0;
    overflow: hidden;
}

.consultation-intro-panel {
    padding: 2.25rem;
    color: white;
    background:
        linear-gradient(180deg, rgba(27, 94, 32, 0.86), rgba(0, 121, 107, 0.84)),
        url('../images/optimized/footer_bg.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.consultation-kicker {
    color: #d7ef72;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

.consultation-intro-panel h2 {
    color: white;
    font-size: 2.1rem;
    margin-bottom: 0.8rem;
}

.consultation-intro-panel p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.94rem;
    line-height: 1.65;
}

.consultation-highlights {
    list-style: none;
    display: grid;
    gap: 0.7rem;
    margin-top: 1.6rem;
}

.consultation-highlights li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.consultation-highlights i {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d7ef72;
    flex: 0 0 auto;
}

.consultation-form {
    padding: 1.75rem;
    overflow-y: auto;
    max-height: 88vh;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.consultation-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1rem;
}

.form-field {
    display: grid;
    gap: 0.38rem;
}

.form-field span {
    color: var(--text-dark);
    font-size: 0.78rem;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #fbfdfb;
    color: var(--text-dark);
    font: inherit;
    font-size: 0.88rem;
    padding: 0.72rem 0.78rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 104px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.form-field-wide {
    grid-column: 1 / -1;
}

.consultation-submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 1.15rem;
}

@media (max-width: 840px) {
    .consultation-modal-card {
        max-height: 94vh;
    }

    .consultation-modal-body {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .consultation-intro-panel {
        padding: 1.5rem;
        min-height: auto;
    }

    .consultation-intro-panel h2 {
        font-size: 1.75rem;
    }

    .consultation-highlights {
        grid-template-columns: 1fr;
        margin-top: 1rem;
    }

    .consultation-form {
        max-height: none;
        overflow: visible;
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .consultation-modal-overlay {
        align-items: flex-start;
        padding: 0.75rem;
    }

    .consultation-form-grid {
        grid-template-columns: 1fr;
    }

    .consultation-intro-panel {
        padding: 1.25rem;
    }
}

/* --- Responsive Layout Breaks --- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 5.5rem 0;
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-badge,
    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .footer-grid> :nth-child(4) {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0.85rem 1rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 3.6rem;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background-color: white;
        padding: 1rem;
        gap: 0.35rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu .nav-link {
        display: flex;
        width: 100%;
        min-height: 44px;
        align-items: center;
        padding: 0.65rem 0.85rem;
        border-radius: 4px;
        color: var(--text-dark);
        font-size: 1rem;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active,
    .header-wrapper.scrolled .nav-menu .nav-link:hover,
    .header-wrapper.scrolled .nav-menu .nav-link.active {
        color: var(--primary);
        background-color: var(--primary-tint);
    }

    .nav-menu .nav-link::after {
        display: none;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
    }

    .nav-cta .btn {
        width: 100%;
    }

    /* Mobile Toggle Active State (Hamburger to X) */
    .mobile-menu-btn.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

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

    .section-title {
        font-size: 1.8rem;
    }

    .about-experience-badge {
        bottom: -1rem;
        right: -1rem;
        padding: 1rem;
        min-width: 130px;
    }

    .about-experience-badge .badge-num {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid> :nth-child(4) {
        grid-column: span 1;
    }

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cta-form-container {
        padding: 1.5rem;
    }

    .review-card {
        padding: 2rem 1.25rem;
    }

    .modal-overlay {
        align-items: flex-start;
        overflow-y: auto;
    }

    .modal-card {
        max-height: none;
        margin: 2rem auto;
    }

    .modal-body {
        grid-template-columns: 1fr;
        overflow-y: visible;
    }

    .modal-media-col {
        padding: 2rem 1rem;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .modal-product-img {
        max-width: min(76%, 220px);
        max-height: 330px;
    }

    .modal-info-col {
        padding: 1.75rem;
    }
}

/* Final mobile hardening */
@media (max-width: 576px) {
    html {
        font-size: 15px;
    }

    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 1rem;
    }

    .header-wrapper {
        top: 0;
    }

    .navbar-container {
        width: calc(100% - 1.5rem);
        padding: 0.75rem 1rem;
    }

    .navbar-logo-img {
        height: 32px;
    }

    .nav-menu {
        top: 4rem;
        padding: 1.5rem 1rem;
    }

    .hero-section {
        height: auto;
        min-height: 100svh;
    }

    .hero-container-centered {
        min-height: 100svh;
        padding: 6.75rem 1rem 2rem;
        gap: 2rem;
    }

    .hero-content-centered {
        max-width: 100%;
    }

    .hero-title-centered {
        font-size: clamp(2rem, 10vw, 2.55rem);
    }

    .hero-desc-centered {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .hero-actions-centered .btn,
    .section-header-right .btn {
        width: 100%;
    }

    .hero-stats-row {
        gap: 0.85rem;
        padding-top: 1.25rem;
    }

    .hero-stat-num {
        font-size: 1.55rem;
    }

    .hero-stat-label {
        line-height: 1.35;
    }

    .section-header-row {
        align-items: flex-start;
        margin-bottom: 2rem;
    }

    .section-header-right,
    .section-header-right .btn {
        width: 100%;
    }

    .section-title-left-text,
    .section-title {
        font-size: clamp(1.65rem, 8vw, 2rem);
    }

    .bestsellers-section,
    .reviews-section,
    .cta-section {
        padding: 4rem 0;
    }

    .bestsellers-carousel-container,
    .reviews-carousel-container {
        padding: 0;
    }

    .bestsellers-carousel-track,
    .reviews-carousel-track {
        gap: 1rem;
    }

    .bestsellers-carousel-track .product-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .product-action-row {
        gap: 0.75rem;
    }

    .product-action-row .btn {
        flex-shrink: 0;
    }

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

    .feature-card,
    .service-card,
    .review-card {
        padding: 1.25rem;
    }

    .reviews-section .section-title-wrapper {
        text-align: center;
    }

    .reviews-section .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .cta-simple-wrapper {
        gap: 1.5rem;
    }

    .cta-left-content h2 {
        font-size: 1.75rem;
    }

    .cta-right-actions {
        max-width: 100%;
    }

    .footer-section {
        padding: 2.25rem 0 1.25rem;
    }

    .footer-bottom,
    .footer-legal-links {
        justify-content: center;
        text-align: center;
    }

    .modal-overlay {
        padding: 0.75rem;
    }

    .modal-close-btn {
        top: 0.75rem;
        right: 0.75rem;
    }

    .back-to-top-btn {
        right: 1rem;
        bottom: 1rem;
    }
}

/* Floating WhatsApp Contact Button */
.whatsapp-float-btn {
    position: fixed;
    right: 2rem;
    bottom: 6rem;
    width: 54px;
    height: 54px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    z-index: 1000;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.whatsapp-float-btn i {
    font-size: 1.75rem;
    line-height: 1;
}

.whatsapp-float-btn:hover,
.whatsapp-float-btn:focus-visible {
    background: #1ebe5d;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 0.75rem);
    top: 50%;
    transform: translateY(-50%);
    background: #1b5e20;
    color: #ffffff;
    padding: 0.45rem 0.7rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp-float-btn:hover .whatsapp-tooltip,
.whatsapp-float-btn:focus-visible .whatsapp-tooltip {
    opacity: 1;
    transform: translate(-0.25rem, -50%);
}

@media (max-width: 575px) {
    .whatsapp-float-btn {
        right: 1rem;
        bottom: 5rem;
        width: 50px;
        height: 50px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* Floating Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #1b5e20 0%, #00796b 100%);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 121, 107, 0.25);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg, #2e7d32 0%, #00897b 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 121, 107, 0.35);
}
