/* ============================================================
   ROYAL GLASS HOUSE - Main Stylesheet
   Design: Premium Luxury Interior Materials | Siliguri
   Fonts: Playfair Display (headings) + Outfit (body)
   Palette: Cream #F5F0E8 | Olive #4A5240 | Beige #C8B89A
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --bg:           #F5F0E8;
    --white:        #FFFFFF;
    --primary:      #4A5240;
    --primary-h:    #5B6450;
    --primary-lt:   rgba(74, 82, 64, 0.08);
    --secondary:    #C8B89A;
    --sec-lt:       rgba(200, 184, 154, 0.18);
    --text:         #1A1A1A;
    --muted:        #8A8070;
    --border:       #E5E0D8;
    --footer-bg:    #1C1C1A;
    --heading-font: 'Playfair Display', serif;
    --body-font:    'Outfit', sans-serif;
    --r:            16px;
    --r-sm:         8px;
    --r-lg:         24px;
    --r-xl:         32px;
    --r-full:       9999px;
    --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
    --shadow:       0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg:    0 12px 40px rgba(0,0,0,0.12);
    --shadow-h:     0 20px 60px rgba(0,0,0,0.16);
    --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-w:        1280px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--body-font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    line-height: 1.15;
    color: var(--text);
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem);     font-weight: 600; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 600; }
p  { font-size: 1rem; color: var(--muted); line-height: 1.75; }

/* ===== UTILITIES ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 5rem 0; }
.section-pad-lg { padding: 7rem 0; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-white { background: var(--white); }
.bg-cream { background: var(--bg); }

.section-header { margin-bottom: 3.5rem; }
.section-header.text-center { max-width: 680px; margin-left: auto; margin-right: auto; margin-bottom: 3.5rem; }
.section-tag {
    display: inline-block;
    font-family: var(--body-font);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-lt);
    padding: 0.4rem 1rem;
    border-radius: var(--r-full);
    margin-bottom: 1rem;
}
.section-title {
    font-family: var(--heading-font);
    color: var(--text);
    margin-bottom: 1rem;
}
.section-sub {
    font-size: 1rem;
    color: var(--muted);
    max-width: 560px;
}
.section-header.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--r-full);
    font-family: var(--body-font);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
}
.btn-primary {
    background: var(--primary);
    color: var(--bg);
    box-shadow: 0 4px 14px rgba(74,82,64,0.3);
}
.btn-primary:hover {
    background: var(--primary-h);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74,82,64,0.4);
    color: var(--bg);
}
.btn-outline {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--bg);
    transform: translateY(-2px);
}
.btn-secondary {
    background: var(--secondary);
    color: var(--text);
}
.btn-secondary:hover {
    background: #b8a786;
    transform: translateY(-2px);
}
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.82rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover { background: var(--bg); color: var(--primary); }

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(245, 240, 232, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }

.header-top {
    background: var(--primary);
    padding: 0.5rem 0;
    font-size: 0.78rem;
}
.header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.header-top a, .header-top span { color: rgba(245,240,232,0.85); font-family: var(--body-font); }
.header-top a:hover { color: var(--bg); }
.header-top .top-left, .header-top .top-right { display: flex; align-items: center; gap: 1.5rem; }
.header-top i { margin-right: 0.3rem; font-size: 0.7rem; }

.header-main { padding: 0.9rem 0; }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.site-logo img { height: 48px; width: auto; }
.logo-text { line-height: 1.2; }
.logo-name {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}
.logo-sub {
    font-family: var(--body-font);
    font-size: 0.65rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.85rem;
    font-family: var(--body-font);
    font-size: 0.87rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--r-sm);
    transition: var(--transition);
    position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-lt); }
.nav-link i { font-size: 0.65rem; transition: transform 0.2s ease; }

/* Products Dropdown */
.nav-item { position: relative; }
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item:hover .nav-link i { transform: rotate(180deg); }

.nav-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.25rem;
    width: 640px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    pointer-events: none;
}
.nav-item:hover .nav-dropdown { pointer-events: auto; }

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--border);
}
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--white);
}

.dropdown-title {
    font-family: var(--body-font);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}
.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--r-sm);
    font-size: 0.83rem;
    color: var(--text);
    transition: var(--transition);
}
.dropdown-item:hover { background: var(--primary-lt); color: var(--primary); }
.dropdown-item i { font-size: 0.85rem; color: var(--primary); width: 16px; }

.header-cta { display: flex; align-items: center; gap: 0.75rem; }
.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--body-font);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}
.header-phone i { color: var(--primary); }

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: var(--r-sm);
    transition: var(--transition);
}
.menu-toggle:hover { background: var(--primary-lt); }
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
}
.mobile-nav.open { display: block; }
.mobile-nav-inner {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(360px, 90vw);
    background: var(--white);
    padding: 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.mobile-nav.open .mobile-nav-inner { transform: translateX(0); }
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.mobile-nav-close {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--bg);
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text);
}
.mobile-nav-links a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.mobile-nav-links a:hover { color: var(--primary); padding-left: 0.5rem; }
.mobile-sub-menu { padding-left: 1rem; }
.mobile-sub-menu a { font-size: 0.88rem; color: var(--muted); }
.mobile-sub-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.mobile-sub-toggle i { font-size: 0.7rem; transition: transform 0.2s; }
.mobile-sub-toggle.open i { transform: rotate(180deg); }
.mobile-sub-menu { display: none; }
.mobile-sub-menu.open { display: block; }

/* ===== HERO SECTION ===== */
.hero {
    background: var(--bg);
    overflow: hidden;
    position: relative;
    padding: 5rem 0 7rem;
}
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200,184,154,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--body-font);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-lt);
    padding: 0.4rem 1rem;
    border-radius: var(--r-full);
    margin-bottom: 1.5rem;
}
.hero-heading {
    font-family: var(--heading-font);
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--primary);
    margin-bottom: 1.25rem;
}
.hero-sub {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 2.5rem;
    max-width: 440px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-img-wrap { position: relative; }
.hero-img-wrap img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    position: absolute;
    bottom: -2.5rem;
    left: -2rem;
    display: flex;
    gap: 0.75rem;
    z-index: 2;
}
.stat-bubble {
    background: var(--sec-lt);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(200,184,154,0.35);
    border-radius: 50%;
    width: 88px;
    height: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition);
}
.stat-bubble:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stat-bubble:first-child {
    background: var(--text);
    border-color: var(--text);
    width: 100px;
    height: 100px;
}
.stat-bubble:first-child .stat-num,
.stat-bubble:first-child .stat-lbl { color: var(--bg); }
.stat-num {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.stat-lbl {
    font-family: var(--body-font);
    font-size: 0.58rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2px;
    text-align: center;
    padding: 0 4px;
}

/* ===== FEATURES / WHY CHOOSE US ===== */
.features { background: var(--white); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.feature-card {
    padding: 2rem;
    border-radius: var(--r);
    background: var(--bg);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleY(1); }
.feature-icon {
    width: 52px; height: 52px;
    background: var(--primary-lt);
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
    color: var(--primary);
    transition: var(--transition);
}
.feature-card:hover .feature-icon { background: var(--primary); color: var(--bg); }
.feature-card h4 {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--text);
}
.feature-card p { font-size: 0.9rem; margin: 0; }

/* ===== PRODUCTS SECTION ===== */
.products-section { background: var(--bg); }
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.product-card {
    background: var(--white);
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    display: block;
    color: var(--text);
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-h);
    border-color: transparent;
    color: var(--text);
}
.product-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--sec-lt);
}
.product-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-img .no-img {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: var(--secondary);
}
.product-card-body { padding: 1.25rem; }
.product-category {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.4rem;
}
.product-card h3 {
    font-family: var(--heading-font);
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.product-card p { font-size: 0.85rem; color: var(--muted); margin: 0 0 1rem; }
.product-card-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s ease;
}
.product-card:hover .product-card-link { gap: 0.6rem; }

/* ===== CATEGORIES GRID ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}
.cat-card {
    background: var(--white);
    border-radius: var(--r);
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: block;
    color: var(--text);
    text-align: center;
}
.cat-card:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(74,82,64,0.25);
    color: var(--bg);
}
.cat-card-icon {
    width: 56px; height: 56px;
    background: var(--primary-lt);
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.4rem;
    color: var(--primary);
    transition: var(--transition);
}
.cat-card:hover .cat-card-icon { background: rgba(245,240,232,0.15); color: var(--bg); }
.cat-card h4 { font-family: var(--heading-font); font-size: 1rem; margin-bottom: 0.3rem; }
.cat-card p { font-size: 0.78rem; margin: 0; transition: color 0.3s; }
.cat-card:hover p { color: rgba(245,240,232,0.75); }
.cat-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.75rem;
    transition: var(--transition);
}
.cat-card:hover .cat-card-arrow { color: var(--bg); gap: 0.6rem; }

/* ===== SERVICES SECTION ===== */
.services-section { background: var(--white); }
.services-carousel {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    margin-top: 2.5rem;
    scrollbar-width: none;
}
.services-carousel::-webkit-scrollbar { display: none; }
.service-item {
    flex: 0 0 220px;
    scroll-snap-align: start;
    background: var(--bg);
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.service-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-item-img { height: 160px; overflow: hidden; }
.service-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-item:hover .service-item-img img { transform: scale(1.08); }
.service-item-body { padding: 1rem; }
.service-item-body h4 { font-family: var(--heading-font); font-size: 0.95rem; color: var(--text); }

/* ===== ABOUT PREVIEW ===== */
.about-section { background: var(--bg); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
}
.about-badge {
    position: absolute;
    bottom: 2rem;
    right: -1.5rem;
    background: var(--primary);
    color: var(--bg);
    padding: 1.25rem 1.75rem;
    border-radius: var(--r);
    box-shadow: var(--shadow);
    text-align: center;
}
.about-badge-num {
    display: block;
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.2rem;
}
.about-badge-txt { font-size: 0.75rem; opacity: 0.85; }
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}
.about-feat {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
}
.about-feat i { color: var(--primary); font-size: 1rem; margin-top: 0.1rem; flex-shrink: 0; }
.about-feat span { font-size: 0.88rem; font-weight: 500; }

/* ===== GALLERY SECTION ===== */
.gallery-section { background: var(--white); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--r);
    cursor: pointer;
    aspect-ratio: 4/3;
}
.gallery-item:nth-child(1) { grid-row: span 2; aspect-ratio: auto; }
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(74,82,64,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--r);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 2rem; color: var(--bg); }
.gallery-overlay span { color: var(--bg); font-size: 0.85rem; font-weight: 500; margin-left: 0.5rem; }
.gallery-more { text-align: center; margin-top: 2.5rem; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--bg); }
.testimonials-wrap { position: relative; margin-top: 3rem; overflow: hidden; }
.testimonials-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
}
.testimonial-card {
    flex: 0 0 calc(33.333% - 1rem);
    background: var(--white);
    border-radius: var(--r);
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: #D4A017; margin-bottom: 1rem; font-size: 0.9rem; }
.testimonial-text {
    font-size: 0.93rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial-text::before { content: '"'; font-family: var(--heading-font); font-size: 3rem; color: var(--secondary); line-height: 0; vertical-align: -1rem; margin-right: 0.25rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary-lt);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--heading-font);
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.author-role { font-size: 0.78rem; color: var(--muted); }

.testimonials-nav {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2.5rem;
}
.t-nav-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text);
}
.t-nav-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--bg); }
.t-dots {
    display: flex; gap: 0.5rem; align-items: center; margin-top: 1.5rem; justify-content: center;
}
.t-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: var(--transition);
    cursor: pointer;
}
.t-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ===== STATS / COUNTER SECTION ===== */
.stats-section { background: var(--primary); padding: 4rem 0; }
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-item { padding: 1rem; }
.stat-num-big {
    font-family: var(--heading-font);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--bg);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label-big {
    font-size: 0.85rem;
    color: rgba(245,240,232,0.75);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--body-font);
}
.stat-divider {
    width: 1px;
    background: rgba(245,240,232,0.2);
    margin: auto;
}

/* ===== CONTACT SECTION ===== */
.contact-section { background: var(--bg); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}
.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.75rem;
}
.contact-icon {
    width: 48px; height: 48px;
    background: var(--primary-lt);
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
}
.contact-info-text h5 { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.25rem; font-family: var(--body-font); }
.contact-info-text p, .contact-info-text a { font-size: 0.95rem; color: var(--text); margin: 0; line-height: 1.5; }
.contact-info-text a:hover { color: var(--primary); }

.map-wrap {
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}
.map-wrap iframe { display: block; width: 100%; height: 280px; }

/* Contact Form */
.contact-form { background: var(--white); padding: 2.5rem; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-family: var(--body-font);
}
.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--bg);
    font-family: var(--body-font);
    font-size: 0.9rem;
    color: var(--text);
    transition: var(--transition);
    outline: none;
    appearance: none;
}
.form-control:focus { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 3px rgba(74,82,64,0.1); }
.form-control::placeholder { color: var(--muted); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; }

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--primary);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200,184,154,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.cta-section h2 { color: var(--bg); margin-bottom: 1rem; }
.cta-section p { color: rgba(245,240,232,0.8); max-width: 520px; margin: 0 auto 2.5rem; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--footer-bg);
    color: rgba(245,240,232,0.8);
    padding: 5rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 44px; margin-bottom: 1rem; filter: brightness(10); }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    color: rgba(245,240,232,0.7);
    transition: var(--transition);
}
.footer-social a:hover { background: var(--secondary); border-color: var(--secondary); color: var(--text); }
.footer-col h5 {
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg);
    margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
    font-size: 0.87rem;
    color: rgba(245,240,232,0.65);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.footer-links a:hover { color: var(--secondary); padding-left: 4px; }
.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
}
.footer-contact-item i { color: var(--secondary); font-size: 0.85rem; margin-top: 0.2rem; flex-shrink: 0; }
.footer-contact-item span { font-size: 0.85rem; color: rgba(245,240,232,0.65); line-height: 1.5; }
.footer-contact-item a { font-size: 0.85rem; color: rgba(245,240,232,0.65); }
.footer-contact-item a:hover { color: var(--secondary); }

.footer-bottom {
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(245,240,232,0.45); margin: 0; }
.footer-bottom a { color: var(--secondary); }

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: #fff;
    padding: 0.85rem 1.5rem;
    border-radius: var(--r-full);
    font-family: var(--body-font);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(37,211,102,0.4);
    transition: var(--transition);
    text-decoration: none;
    animation: fabPulse 3s ease-in-out infinite;
}
.whatsapp-fab:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(37,211,102,0.5);
    color: #fff;
}
.whatsapp-fab i { font-size: 1.25rem; }
.whatsapp-fab span { white-space: nowrap; }

@keyframes fabPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 8px 32px rgba(37,211,102,0.65); }
}

/* ===== BREADCRUMBS ===== */
.breadcrumb {
    padding: 0.75rem 0;
    font-size: 0.82rem;
    font-family: var(--body-font);
    color: var(--muted);
}
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 0.4rem; }

/* ===== PAGE HERO BANNER ===== */
.page-hero {
    background: var(--white);
    padding: 3rem 0 2rem;
    border-bottom: 1px solid var(--border);
}
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.page-hero p { font-size: 1rem; max-width: 600px; }

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail { padding: 4rem 0; }
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}
.product-main-img {
    border-radius: var(--r);
    overflow: hidden;
    margin-bottom: 1rem;
}
.product-main-img img { width: 100%; height: 400px; object-fit: cover; }
.product-thumbs { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.product-thumb {
    width: 80px; height: 80px;
    border-radius: var(--r-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}
.product-thumb.active, .product-thumb:hover { border-color: var(--primary); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ===== SIDEBAR ===== */
.product-sidebar { position: sticky; top: 100px; }
.sidebar-card {
    background: var(--white);
    border-radius: var(--r);
    padding: 1.5rem;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}
.sidebar-title {
    font-family: var(--heading-font);
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.sidebar-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.75rem;
    border-radius: var(--r-sm);
    font-size: 0.88rem;
    color: var(--text);
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}
.sidebar-nav a:last-child { border-bottom: none; }
.sidebar-nav a:hover, .sidebar-nav a.current { background: var(--primary-lt); color: var(--primary); font-weight: 500; }
.sidebar-nav a i { font-size: 0.7rem; opacity: 0.5; }
.sidebar-contact a {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.88rem; color: var(--text);
    margin-bottom: 0.6rem;
    transition: color 0.2s;
}
.sidebar-contact a:hover { color: var(--primary); }
.sidebar-contact i { color: var(--primary); width: 16px; }

/* Product types list */
.product-types { margin: 1.5rem 0; }
.product-types h4 { font-family: var(--heading-font); font-size: 1.1rem; margin-bottom: 1rem; }
.product-type-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.product-type-tag {
    padding: 0.4rem 1rem;
    background: var(--primary-lt);
    color: var(--primary);
    border-radius: var(--r-full);
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid rgba(74,82,64,0.15);
}
.product-uses { margin: 1.5rem 0; }
.product-uses h4 { font-family: var(--heading-font); font-size: 1.1rem; margin-bottom: 1rem; }
.use-item { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.use-item i { color: var(--primary); font-size: 0.9rem; margin-top: 0.15rem; flex-shrink: 0; }
.use-item strong { font-weight: 600; display: block; font-size: 0.88rem; color: var(--text); margin-bottom: 0.2rem; }
.use-item p { font-size: 0.85rem; margin: 0; }

/* ===== GALLERY PAGE ===== */
.gallery-page { padding: 4rem 0; }
.gallery-filter { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: var(--r-full);
    font-size: 0.83rem;
    font-weight: 500;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--body-font);
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--bg); }

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.gallery-masonry-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--r);
    cursor: pointer;
}
.gallery-masonry-item img { width: 100%; display: block; transition: transform 0.5s ease; }
.gallery-masonry-item:hover img { transform: scale(1.06); }
.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(26,26,26,0.85), transparent);
    color: #fff;
    padding: 1.5rem 1rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 500;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.gallery-masonry-item:hover .gallery-caption { transform: translateY(0); }

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-content { position: relative; max-width: 900px; width: 100%; }
.lightbox-img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--r); }
.lightbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.lightbox-prev { left: -3.5rem; }
.lightbox-next { right: -3.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }
.lightbox-caption { color: rgba(255,255,255,0.75); text-align: center; margin-top: 1rem; font-size: 0.88rem; }

/* ===== ABOUT PAGE ===== */
.about-story { background: var(--bg); padding: 5rem 0; }
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-story img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
}
.mission-vision { background: var(--white); padding: 5rem 0; }
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.mv-card {
    padding: 2.5rem;
    border-radius: var(--r);
    background: var(--bg);
    border: 1px solid var(--border);
}
.mv-card.primary-bg { background: var(--primary); border-color: var(--primary); }
.mv-card.primary-bg h3, .mv-card.primary-bg p { color: rgba(245,240,232,0.9); }
.mv-card.primary-bg h3 { color: var(--bg); }
.mv-card-icon { font-size: 2rem; color: var(--primary); margin-bottom: 1.25rem; }
.mv-card.primary-bg .mv-card-icon { color: var(--secondary); }

/* ===== FLASH MESSAGES ===== */
.flash-msg {
    padding: 1rem 1.5rem;
    border-radius: var(--r-sm);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-family: var(--body-font);
}
.flash-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.flash-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== DIVIDER ===== */
.divider { height: 1px; background: var(--border); margin: 3rem 0; }
.divider-primary { background: var(--primary); opacity: 0.2; }

/* ===== SEARCH BAR ===== */
.search-bar {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    max-width: 500px;
}
.search-bar input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border: 1.5px solid var(--border);
    border-right: none;
    border-radius: var(--r-sm) 0 0 var(--r-sm);
    background: var(--white);
    font-family: var(--body-font);
    font-size: 0.9rem;
    outline: none;
}
.search-bar input:focus { border-color: var(--primary); }
.search-bar button {
    padding: 0.85rem 1.5rem;
    background: var(--primary);
    color: var(--bg);
    border: none;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}
.search-bar button:hover { background: var(--primary-h); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 3rem; }
    .hero-img-wrap img { height: 420px; }
    .hero-stats { position: relative; bottom: auto; left: auto; margin-top: 1.5rem; justify-content: flex-start; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-badge { right: 1rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .product-sidebar { position: relative; top: auto; }
    .testimonial-card { flex: 0 0 calc(50% - 0.75rem); }
    .main-nav, .header-cta .btn-outline { display: none; }
    .menu-toggle { display: flex; }
    .header-phone .phone-text { display: none; }
    .nav-dropdown { width: 90vw; }
}
@media (max-width: 768px) {
    .section-pad { padding: 3.5rem 0; }
    .section-pad-lg { padding: 4rem 0; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .products-grid { grid-template-columns: 1fr 1fr; }
    .categories-grid { grid-template-columns: 1fr 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .about-story-grid { grid-template-columns: 1fr; }
    .mv-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-masonry { grid-template-columns: 1fr 1fr; }
    .gallery-item:nth-child(1) { grid-row: auto; }
    .form-row { grid-template-columns: 1fr; }
    .header-top { display: none; }
    .testimonial-card { flex: 0 0 calc(100% - 0rem); }
    .lightbox-prev { left: -0.5rem; }
    .lightbox-next { right: -0.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .about-features { grid-template-columns: 1fr; }
    .whatsapp-fab span { display: none; }
    .whatsapp-fab { padding: 0.85rem; border-radius: 50%; }
}
@media (max-width: 480px) {
    .hero-heading { font-size: 2.4rem; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-masonry { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 0.5rem; }
    .stat-bubble { width: 75px; height: 75px; }
    .stat-bubble:first-child { width: 88px; height: 88px; }
    .stat-num { font-size: 1.1rem; }
}
