/*
Theme Name: Bhavana Spice
Theme URI: https://bhavanaspice.com
Author: Bhavana Spice
Author URI: https://bhavanaspice.com
Description: Premium WordPress theme for Bhavana Spice - Indonesian Nutmeg Exporter. Features elegant design with scroll animations, dark mode, and responsive layout.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bhavana-spice
Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
*/

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    --primary: #c2570a;
    --gold-accent: #d4af37;
    --bg-light: #f8f7f5;
    --bg-dark: #221810;
    --neutral-soft: #e8d9ce;
    --deep-earth: #3d2b1f;
    --font-display: 'Manrope', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --shadow-premium: 0 10px 30px -10px rgba(194, 87, 10, 0.1);
    --gold-border: 1px solid rgba(212, 175, 55, 0.3);
    --radius: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-3xl: 2.5rem;
    --radius-full: 9999px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-display);
    background-color: var(--bg-light);
    color: #0f172a;
    overflow-x: hidden;
    line-height: 1.6;
}
.dark body { background-color: var(--bg-dark); color: #f1f5f9; }
img, video { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input { font-family: inherit; }
input:focus { outline: none; }

/* ===== TYPOGRAPHY ===== */
.serif-font, .font-serif { font-family: var(--font-serif); }
.font-display { font-family: var(--font-display); }

/* ===== LAYOUT UTILITIES ===== */
.container-main { max-width: 80rem; margin: 0 auto; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-20 { gap: 5rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: 1fr; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }
.z-51 { z-index: 51; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.text-center { text-align: center; }
.text-justify { text-align: justify; }
.mx-auto { margin-left: auto; margin-right: auto; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* ===== COMPONENT STYLES ===== */
.gold-border { border: var(--gold-border); }
.premium-shadow { box-shadow: var(--shadow-premium); }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50; width: 100%;
    background: rgba(248, 247, 245, 0.9);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--neutral-soft);
    padding: 1rem 1.5rem;
}
.dark .site-header { background: rgba(34, 24, 16, 0.9); border-color: rgba(194, 87, 10, 0.2); }
.header-inner { max-width: 80rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-logo { display: flex; align-items: flex-start; gap: 0.5rem; }
.logo-text { display: flex; flex-direction: column; margin-top: 0.1rem; }
.site-logo .logo-icon { color: var(--primary); font-size: 3rem; line-height: 1; }
.site-logo h1 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 2.1rem;
    font-weight: 500 !important; /* Dibuat sedikit lebih ringan sesuai contoh */
    letter-spacing: -0.02em;
    text-transform: lowercase !important;
    color: #000000 !important;
    line-height: 0.9; /* Merapatkan line height */
    margin: 0;
}
.site-logo .tagline {
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.95rem;
    letter-spacing: 0.212em !important;
    text-transform: lowercase !important;
    color: #000000 !important;
    font-weight: 400 !important; /* Ditingkatkan dari 300 ke 400 agar lebih tebal */
    margin-top: -0.1rem !important;
    line-height: 1;
    display: block;
}

/* Navigation */
.primary-nav { display: none; align-items: center; gap: 2.5rem; }
.primary-nav a {
    font-size: 0.875rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.1em; transition: color 0.3s;
}
.primary-nav a:hover, 
.primary-nav a.current-menu-item, 
.primary-nav a.current_page_item, 
.primary-nav a.current-menu-ancestor { color: var(--primary); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 1rem; }
.search-bar {
    display: none; align-items: center;
    background: rgba(232, 217, 206, 0.3); border-radius: var(--radius-full);
    padding: 0.375rem 1rem; border: 1px solid var(--neutral-soft);
}
.dark .search-bar { background: rgba(194, 87, 10, 0.1); border-color: rgba(194, 87, 10, 0.2); }
.search-bar input { background: transparent; border: none; font-size: 0.875rem; width: 8rem; }
.search-bar input::placeholder { color: #94a3b8; }

.btn-primary {
    background: var(--primary); color: #fff; padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full); font-size: 0.875rem; font-weight: 700;
    transition: all 0.3s; text-transform: uppercase; letter-spacing: 0.1em;
    box-shadow: var(--shadow-premium); display: none;
}
.btn-primary:hover { background: rgba(194, 87, 10, 0.9); }

.btn-primary-lg {
    background: var(--primary); color: #fff; padding: 0.75rem 2rem;
    border-radius: var(--radius-lg); font-size: 0.875rem; font-weight: 700;
    transition: transform 0.3s; text-transform: uppercase; letter-spacing: 0.1em;
    display: inline-block;
}
.btn-primary-lg:hover { transform: scale(1.05); }

.btn-outline {
    border: 1px solid var(--primary); color: var(--primary); padding: 0.75rem 2rem;
    border-radius: var(--radius-lg); font-size: 0.875rem; font-weight: 700;
    transition: background 0.3s; text-transform: uppercase; letter-spacing: 0.1em;
    background: transparent; display: inline-block;
}
.btn-outline:hover { background: rgba(194, 87, 10, 0.05); }

.btn-outline-full {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem; border: 1px solid var(--primary); color: var(--primary);
    font-weight: 700; border-radius: var(--radius-xl); transition: all 0.3s;
    text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.875rem;
    background: transparent;
}
.btn-outline-full:hover { background: var(--primary); color: #fff; }

/* Mobile Menu */
.mobile-menu-btn {
    display: flex; align-items: center; justify-content: center;
    padding: 0.5rem; border-radius: var(--radius-full); transition: background 0.3s;
}
.mobile-menu-btn:hover { background: rgba(232, 217, 206, 0.3); }
.dark .mobile-menu-btn:hover { background: rgba(194, 87, 10, 0.1); }

.mobile-menu {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--bg-light); border-bottom: 1px solid var(--neutral-soft);
    border-top: 1px solid var(--neutral-soft); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    overflow: hidden; transition: all 0.3s;
}
.dark .mobile-menu { background: var(--bg-dark); border-color: rgba(194, 87, 10, 0.2); }
.mobile-menu.active { display: block; }
.mobile-menu-inner { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-nav { display: flex; flex-direction: column; gap: 1rem; }
.mobile-nav a { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; transition: color 0.3s; }
.mobile-nav a:hover,
.mobile-nav a.current-menu-item,
.mobile-nav a.current_page_item,
.mobile-nav a.current-menu-ancestor { color: var(--primary); opacity: 1; }

/* ===== HERO SECTION ===== */
.hero-section { padding: 1.5rem; max-width: 80rem; margin: 0 auto; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-content { order: 2; display: flex; flex-direction: column; gap: 1.5rem; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.375rem;
    padding: 0.25rem 0.75rem; border-radius: var(--radius-full);
    background: rgba(194, 87, 10, 0.1); border: 1px solid rgba(194, 87, 10, 0.2);
    color: var(--primary); font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
}
.hero-title {
    font-family: var(--font-serif); font-weight: 700;
    font-size: 3rem; line-height: 1.1;
}
.hero-title .highlight { color: var(--primary); font-style: italic; font-weight: 700; }
.hero-desc { font-size: 1rem; color: #475569; max-width: 32rem; line-height: 1.75; }
.dark .hero-desc { color: #94a3b8; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-image-wrap { order: 1; position: relative; width: 100%; max-width: 28rem; margin: 0 auto 1.5rem; }
.hero-image-container { aspect-ratio: 4/5; border-radius: var(--radius-2xl); overflow: hidden; border: var(--gold-border); box-shadow: var(--shadow-premium); }
.hero-image-container img { width: 100%; height: 100%; object-fit: cover; }
.hero-floating-badge {
    display: none; position: absolute; bottom: -1.5rem; left: -1.5rem;
    background: #fff; padding: 1rem; border-radius: var(--radius-xl);
    border: var(--gold-border); box-shadow: var(--shadow-premium);
}
.dark .hero-floating-badge { background: var(--bg-dark); }
.hero-floating-badge .badge-icon { background: rgba(194, 87, 10, 0.1); padding: 0.75rem; border-radius: var(--radius-full); }

/* ===== SECTIONS ===== */
.section-light-bg { background: rgba(194, 87, 10, 0.05); }
.section-dark-bg { background: var(--deep-earth); color: #fff; }
.section-padding { padding: 2.5rem 1.5rem; }
.section-padding-lg { padding: 3.5rem 1.5rem; }
.section-inner { max-width: 80rem; margin: 0 auto; }
.section-inner-narrow { max-width: 64rem; margin: 0 auto; }
.section-inner-wide { max-width: 88rem; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title {
    font-family: var(--font-serif); font-weight: 700;
    font-size: 1.875rem; color: #0f172a;
}
.dark .section-title { color: #f1f5f9; }
.section-subtitle { margin-top: 1rem; color: #475569; }
.dark .section-subtitle { color: #94a3b8; }
.section-label {
    color: var(--primary); font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.4em; text-transform: uppercase; margin-bottom: 1rem;
}

/* Heritage */
.heritage-section .text-grid { display: grid; gap: 1.5rem; margin-top: 2rem; text-align: justify; }
.heritage-section .text-grid p { font-size: 1rem; line-height: 1.75; color: #334155; }
.dark .heritage-section .text-grid p { color: #cbd5e1; }

/* Product Cards */
.product-grid { display: grid; gap: 2rem; max-width: 64rem; margin: 0 auto; }
.product-card {
    overflow: hidden; border-radius: var(--radius-3xl);
    background: #fff; border: 1px solid var(--neutral-soft);
    box-shadow: var(--shadow-premium);
}
.dark .product-card { background: var(--bg-dark); border-color: rgba(194, 87, 10, 0.1); }
.product-card .card-image { aspect-ratio: 16/9; overflow: hidden; }
.product-card .card-image > div, .product-card .card-image img {
    width: 100%; height: 100%; object-fit: cover;
    background-size: cover; background-position: center;
    transition: transform 0.5s;
}
.product-card:hover .card-image > div, .product-card:hover .card-image img { transform: scale(1.1); }
.product-card .card-body { padding: 2rem; }
.product-card h3 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.product-card .card-desc { color: #475569; font-size: 0.875rem; margin-bottom: 1.5rem; line-height: 1.75; }
.dark .product-card .card-desc { color: #94a3b8; }
.product-card .card-specs { margin-bottom: 2rem; }
.product-card .spec-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; }
.product-card .spec-item + .spec-item { margin-top: 0.5rem; }

/* Certification Cards */
.cert-grid { display: grid; gap: 1.5rem; }
.cert-card {
    border-radius: var(--radius-2xl); border: 1px solid var(--neutral-soft);
    background: #fff; padding: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.3s; box-shadow: var(--shadow-premium);
}
.dark .cert-card { background: var(--bg-dark); border-color: rgba(194, 87, 10, 0.1); }
.cert-card:hover { transform: translateY(-4px); }
.cert-card .cert-logo { height: 7rem; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 1.5rem; }
.cert-card .cert-logo img { height: 100%; object-fit: contain; }
.cert-card h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.cert-card p { color: #475569; font-size: 0.875rem; line-height: 1.75; }
.dark .cert-card p { color: #94a3b8; }

/* Feature Cards */
.feature-grid { display: grid; gap: 2rem; max-width: 72rem; margin: 0 auto; }
.feature-card {
    overflow: hidden; border-radius: var(--radius-3xl);
    background: #fff; border: 1px solid var(--neutral-soft);
    box-shadow: var(--shadow-premium); display: flex; flex-direction: column;
    transition: transform 0.3s;
}
.dark .feature-card { background: var(--bg-dark); border-color: rgba(194, 87, 10, 0.1); }
.feature-card:hover { transform: translateY(-4px); }
.feature-card .card-image { aspect-ratio: 16/9; overflow: hidden; }
.feature-card .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.feature-card:hover .card-image img { transform: scale(1.1); }
.feature-card .card-body { padding: 1.5rem; flex: 1; }
.feature-card .icon-box {
    width: 3.5rem; height: 3.5rem; background: rgba(194, 87, 10, 0.1);
    border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center;
    color: var(--primary); margin-bottom: 1.5rem;
}
.feature-card h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.feature-card p { color: #475569; font-size: 0.875rem; line-height: 1.75; }
.dark .feature-card p { color: #94a3b8; }

/* Dark Section (Capabilities & Process) */
.dark-section { background: var(--deep-earth); color: #fff; padding: 3.5rem 1.5rem; }
.dark-section .two-col { display: grid; gap: 5rem; align-items: center; }
.dark-section .section-label { color: var(--primary); }
.dark-section .section-title { color: #fff; margin-bottom: 2rem; }
.dark-section .capability-list { display: flex; flex-direction: column; gap: 2rem; }
.dark-section .capability-item { display: flex; gap: 1.5rem; }
.dark-section .capability-item h5 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.dark-section .capability-item p { color: #94a3b8; font-size: 0.875rem; }
.dark-section .media-container {
    border-radius: var(--radius-2xl); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    overflow: hidden; position: relative;
}
.dark-section .media-container img, .dark-section .media-container video { width: 100%; height: 100%; object-fit: cover; }
.dark-section .stat-badge {
    display: none; position: absolute; bottom: -1.5rem; right: -1.5rem;
    background: var(--primary); padding: 2rem; border-radius: var(--radius-lg);
}
.dark-section .stat-badge .number { font-size: 2.25rem; font-weight: 700; }
.dark-section .stat-badge .label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.25rem; }

.btn-capability {
    background: var(--primary); color: #fff; border: 1px solid var(--primary);
    padding: 0.75rem 2rem; border-radius: var(--radius-xl); font-weight: 700;
    letter-spacing: 0.1em; transition: all 0.3s; display: inline-flex;
    align-items: center; justify-content: center; gap: 0.5rem;
    font-size: 0.875rem; margin-top: 2.5rem;
}
.btn-capability:hover { background: #fff; color: var(--primary); }

/* Map Section */
.map-section { padding: 3rem 1.5rem; }
.map-section img { width: 100%; max-width: 64rem; margin: 0 auto; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1)); }

/* CTA Section */
.cta-section { padding: 6rem 1.5rem; }
.cta-box {
    max-width: 64rem; margin: 0 auto; border-radius: var(--radius-3xl);
    background: linear-gradient(to bottom right, var(--primary), #9a3412);
    padding: 3rem; color: #fff; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    position: relative; overflow: hidden; text-align: center;
}
.cta-box .bg-icon { position: absolute; top: 0; right: 0; padding: 2rem; opacity: 0.1; }
.cta-box h2 { font-family: var(--font-serif); font-weight: 700; font-size: 1.875rem; margin-bottom: 1.5rem; }
.cta-box p { font-size: 1rem; color: #fed7aa; margin-bottom: 2.5rem; max-width: 42rem; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; }
.btn-cta-primary {
    background: #fff; color: var(--primary); padding: 0.75rem 2rem;
    border-radius: var(--radius-lg); font-weight: 700; letter-spacing: 0.1em;
    transition: all 0.3s; display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.875rem;
}
.btn-cta-primary:hover { background: #fff7ed; }
.btn-cta-secondary {
    display: inline-flex; align-items: center; font-weight: 700;
    transition: color 0.3s; border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.5); padding-right: 1rem;
    font-size: 0.875rem;
}
.btn-cta-secondary:hover { background: #fff; color: var(--primary); }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg-light); border-top: 1px solid var(--neutral-soft);
    padding: 3rem 1.5rem;
}
.dark .site-footer { background: var(--bg-dark); border-color: rgba(194, 87, 10, 0.1); }
.footer-grid { max-width: 80rem; margin: 0 auto; display: grid; gap: 3rem; }
.footer-brand p { font-size: 0.875rem; color: #64748b; line-height: 1.75; }
.footer-col h5 { font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.1em; margin-bottom: 0.5rem; color: var(--primary); }
.footer-col p { font-size: 0.875rem; color: #334155; line-height: 1.6; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { font-size: 0.875rem; color: #64748b; transition: color 0.3s; }
.footer-col a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: var(--primary); transition: transform 0.3s; }
.footer-social a:hover { transform: scale(1.1); }
.footer-bottom {
    max-width: 80rem; margin: 5rem auto 0; padding-top: 2rem;
    border-top: 1px solid var(--neutral-soft); display: flex;
    flex-direction: column; align-items: center; gap: 1rem;
    font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.1em;
    font-weight: 700; opacity: 0.6;
}
.dark .footer-bottom { border-color: rgba(194, 87, 10, 0.1); }
.footer-bottom-links { display: flex; gap: 2rem; }

/* Floating Buttons */
.wa-button {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 51;
    transition: all 0.3s; display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(0); pointer-events: none;
}
.wa-button.visible { opacity: 1; transform: scale(1); pointer-events: auto; }
.wa-button:hover { transform: scale(1.1); }
.wa-button.shifted { bottom: 6rem; }
.wa-button img { width: 3.5rem; height: 3.5rem; object-fit: contain; }
.wa-tooltip {
    display: none; position: absolute; right: 100%; margin-right: 1rem;
    top: 50%; transform: translateY(-50%); background: #fff; color: #1e293b;
    padding: 0.5rem 1rem; border-radius: var(--radius-2xl); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    font-size: 0.875rem; font-weight: 700; white-space: nowrap;
    border: 1px solid var(--neutral-soft); opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.wa-button:hover .wa-tooltip { opacity: 1; }

.scroll-top-btn {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
    background: var(--primary); color: #fff; width: 3.5rem; height: 3.5rem;
    border-radius: var(--radius-full); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    transition: all 0.3s; opacity: 0; transform: translateY(2.5rem);
    pointer-events: none; display: flex; align-items: center; justify-content: center;
}
.scroll-top-btn.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top-btn:hover { background: rgba(194, 87, 10, 0.9); transform: scale(1.1); }

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal, .reveal-right, .reveal-fade { opacity: 0; }
.reveal { transform: translateY(30px); transition: all 1s cubic-bezier(0.5, 0, 0, 1); }
.reveal-right { transform: translateX(-30px); transition: all 1s cubic-bezier(0.5, 0, 0, 1); }
.reveal-fade { transition: all 1.5s ease-out; }
.reveal.active, .reveal-right.active, .reveal-fade.active { opacity: 1; transform: translate(0, 0); }
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Hero animations */
@keyframes fadeInImage { 0% { opacity: 0; transform: scale(1.05); } 100% { opacity: 1; transform: scale(1); } }
@keyframes fadeInText { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes slideUpText { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }
.animate-fade-in-image { animation: fadeInImage 2.5s ease-out forwards; }

/* ===== BLOG TEMPLATES ===== */
.page-content, .post-content { max-width: 64rem; margin: 0 auto; padding: 4rem 1.5rem; }
.post-content h1 { font-family: var(--font-serif); font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.post-content .post-meta { color: #64748b; font-size: 0.875rem; margin-bottom: 2rem; }
.post-content .entry-content { line-height: 1.875; color: #334155; }
.dark .post-content .entry-content { color: #cbd5e1; }
.post-content .entry-content p { margin-bottom: 1.5rem; }
.post-content .entry-content h2 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; }
.post-content .entry-content img { border-radius: var(--radius-lg); margin: 2rem 0; }

.blog-card {
    background: #fff; border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: 0 4px 20px rgba(54, 31, 26, 0.04); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column; border: 1px solid rgba(54, 31, 26, 0.04);
}
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(54, 31, 26, 0.08); border-color: rgba(194, 87, 10, 0.2); }
.blog-card .thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.blog-card:hover .thumb img { transform: scale(1.05); }
.blog-card .content { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; }
.blog-card h2 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 1rem; line-height: 1.4; color: var(--primary); transition: color 0.3s; }
.blog-card:hover h2 { color: var(--secondary); }
.blog-card .excerpt { color: #64748b; font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1.5rem; }
.blog-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.1em; color: #94a3b8; margin-bottom: 0.75rem; }
.blog-category-tag { background: var(--primary); color: #fff; padding: 0.25rem 0.75rem; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; border-radius: 0 0 0.5rem 0; position: absolute; top: 0; left: 0; z-index: 10; }

/* Blog Index Layouts */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem 1.5rem 6rem;
}
.dark .blog-card {
    background: var(--bg-dark);
    border-color: rgba(194, 87, 10, 0.1);
}
.dark .blog-card .excerpt {
    color: #94a3b8;
}

.featured-blog {
    max-width: 80rem;
    margin: 2rem 1.5rem 3rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(54, 31, 26, 0.05);
    box-shadow: 0 10px 30px -10px rgba(54, 31, 26, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.dark .featured-blog {
    background: var(--bg-dark);
    border-color: rgba(194, 87, 10, 0.1);
}
.featured-blog:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(54, 31, 26, 0.08);
    border-color: rgba(194, 87, 10, 0.2);
}
.featured-blog .img-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.featured-blog .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.featured-blog:hover .img-wrap img {
    transform: scale(1.03);
}
.featured-blog .content-wrap {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured-blog .featured-label {
    display: inline-block;
    align-self: flex-start;
    background: rgba(194, 87, 10, 0.1);
    color: var(--primary);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.featured-blog h1 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary);
    line-height: 1.3;
}
.featured-blog h1 a {
    transition: color 0.3s;
}
.featured-blog h1 a:hover {
    color: var(--secondary);
}
.featured-blog p {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.dark .featured-blog p {
    color: #cbd5e1;
}

.category-bar { max-width: 80rem; margin: 0 auto 3rem; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0 1.5rem 1.5rem; border-bottom: 1px solid var(--neutral-soft); align-items: center; justify-content: space-between; }
.cat-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.cat-link { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #64748b; transition: all 0.3s; padding-bottom: 0.75rem; border-bottom: 2px solid transparent; }
.cat-link:hover, .cat-link.active { color: var(--primary); border-color: var(--primary); }

.newsletter-section { background: var(--neutral-soft); padding: 5rem 1.5rem; text-align: center; border-radius: var(--radius-2xl); margin: 4rem 1.5rem 0; }
.newsletter-section h2 { font-family: var(--font-serif); font-size: 2.5rem; margin-bottom: 1rem; font-style: italic; color: var(--primary); }
.newsletter-section p { color: #475569; margin-bottom: 2.5rem; font-size: 1.125rem; }
.newsletter-form { max-width: 32rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.newsletter-form input { padding: 1.125rem 1.5rem; border-radius: var(--radius-lg); border: 1px solid #d1d5db; width: 100%; font-size: 0.9375rem; }
.newsletter-form button { background: var(--primary); color: #fff; padding: 1.125rem 2.5rem; border-radius: var(--radius-lg); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; transition: all 0.3s; cursor: pointer; border: none; }
.newsletter-form button:hover { background: #9a3412; }

/* 404 Page */
.error-404 { text-align: center; padding: 6rem 1.5rem; max-width: 40rem; margin: 0 auto; }
.error-404 h1 { font-family: var(--font-serif); font-size: 6rem; font-weight: 700; color: var(--primary); }
.error-404 h2 { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; margin: 1rem 0; }
.error-404 p { color: #64748b; margin-bottom: 2rem; }

/* Search Results */
.search-header { text-align: center; padding: 3rem 1.5rem 1rem; }
.search-header h1 { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; }

/* WordPress specific */
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: #64748b; text-align: center; padding: 0.5rem 0; }
.sticky .blog-card { border-color: var(--primary); }
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px); position: absolute !important;
    height: 1px; width: 1px; overflow: hidden;
}

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 0.5rem; padding: 2rem 0; }
.pagination a, .pagination span {
    padding: 0.5rem 1rem; border-radius: var(--radius);
    border: 1px solid var(--neutral-soft); font-size: 0.875rem;
    transition: all 0.3s;
}
.pagination a:hover, .pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Page Hero */
.page-hero { min-height: 22rem; display: flex; align-items: center; justify-content: center; }
.breadcrumb a:hover { color: #fff !important; }

/* Contact Page */
.contact-info-card {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.25rem 1.5rem; border-radius: var(--radius-xl);
    background: #fff; border: 1px solid var(--neutral-soft);
    box-shadow: var(--shadow-premium); transition: all 0.3s;
}
.contact-info-card:hover { transform: translateY(-2px); border-color: var(--primary); }
.contact-icon-box {
    width: 3rem; height: 3rem; flex-shrink: 0;
    background: rgba(194, 87, 10, 0.1); border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
}
.contact-info-card h5 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 0.25rem; }
.contact-info-card p { font-size: 0.875rem; color: #334155; line-height: 1.5; }
.contact-arrow { margin-left: auto; color: #cbd5e1; font-size: 1.25rem; transition: color 0.3s; }
.contact-info-card:hover .contact-arrow { color: var(--primary); }
.contact-cards-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-group label {
    font-size: 0.8125rem; font-weight: 600; color: #334155;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 0.75rem 1rem;
    border: 1px solid var(--neutral-soft); border-radius: var(--radius-lg);
    font-family: var(--font-display); font-size: 0.9375rem;
    color: #0f172a; background: #fff;
    transition: all 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(194, 87, 10, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #94a3b8; }
.form-group select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23475569' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-group textarea { resize: vertical; min-height: 7rem; }
.btn-form-submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    background: var(--primary); color: #fff; padding: 0.875rem 2rem;
    border-radius: var(--radius-lg); font-size: 0.9375rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    transition: all 0.3s; cursor: pointer; border: none;
    box-shadow: var(--shadow-premium); align-self: flex-start;
}
.btn-form-submit:hover { background: #9a3412; transform: translateY(-1px); }

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: #fff; border-radius: var(--radius-2xl);
    padding: 2.5rem; box-shadow: var(--shadow-premium);
    border: 1px solid var(--neutral-soft);
}

/* Contact Form 7 Overrides */
.contact-form-wrapper .wpcf7 { max-width: 100%; }
.contact-form-wrapper .wpcf7 p { margin-bottom: 1.25rem; }
.contact-form-wrapper .wpcf7 label {
    display: block; font-size: 0.8125rem; font-weight: 600;
    color: #334155; text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}
.contact-form-wrapper .wpcf7 input[type="text"],
.contact-form-wrapper .wpcf7 input[type="email"],
.contact-form-wrapper .wpcf7 input[type="tel"],
.contact-form-wrapper .wpcf7 input[type="url"],
.contact-form-wrapper .wpcf7 select,
.contact-form-wrapper .wpcf7 textarea {
    width: 100%; padding: 0.75rem 1rem;
    border: 1px solid var(--neutral-soft); border-radius: var(--radius-lg);
    font-family: var(--font-display); font-size: 0.9375rem;
    color: #0f172a; background: #fafaf9;
    transition: all 0.3s; box-sizing: border-box;
}
.contact-form-wrapper .wpcf7 input:focus,
.contact-form-wrapper .wpcf7 select:focus,
.contact-form-wrapper .wpcf7 textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(194, 87, 10, 0.1); background: #fff;
}
.contact-form-wrapper .wpcf7 textarea { resize: vertical; min-height: 7rem; }
.contact-form-wrapper .wpcf7 input[type="submit"] {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    background: var(--primary); color: #fff; padding: 0.875rem 2rem;
    border-radius: var(--radius-lg); font-size: 0.9375rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    transition: all 0.3s; cursor: pointer; border: none;
    box-shadow: var(--shadow-premium); width: 100%;
}
.contact-form-wrapper .wpcf7 input[type="submit"]:hover { background: #9a3412; transform: translateY(-1px); }
.contact-form-wrapper .wpcf7-response-output {
    border-radius: var(--radius-lg) !important; margin: 1rem 0 0 !important;
    padding: 0.75rem 1rem !important; font-size: 0.875rem;
}
.contact-form-wrapper .wpcf7-not-valid-tip { color: #dc2626; font-size: 0.75rem; }

/* Products Page */
.product-detail-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; width: 100%; }
.product-badge {
    display: inline-block; padding: 0.375rem 1rem; border-radius: var(--radius-full);
    background: rgba(194, 87, 10, 0.1); color: var(--primary);
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; margin-bottom: 0.75rem;
}
.product-badge-alt { background: rgba(22, 163, 74, 0.1); color: #16a34a; }
.product-specs { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--neutral-soft); }
.specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.spec-item-card {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem 1rem;
    background: rgba(194, 87, 10, 0.04); border-radius: var(--radius-lg);
    border: 1px solid rgba(194, 87, 10, 0.08);
}
.spec-item-card .material-symbols-outlined { font-size: 1.5rem !important; }
.spec-label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.1em; color: #64748b; }
.spec-value { font-size: 0.875rem; font-weight: 700; color: #0f172a; }
.btn-product-quote {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--primary); color: #fff; padding: 0.875rem 2rem;
    border-radius: var(--radius-lg); font-size: 0.875rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    transition: all 0.3s; margin-top: 2rem;
    box-shadow: var(--shadow-premium);
}
.btn-product-quote:hover { background: #9a3412; transform: translateY(-1px); }

/* ===== PROCESS INFOGRAPHIC ===== */
.process-section { padding: 2.5rem 1.5rem; }
.process-steps {
    display: grid; gap: 1.5rem;
    max-width: 72rem; margin: 2rem auto 0;
    counter-reset: step;
}
.process-step {
    text-align: center; padding: 2rem 1.5rem;
    background: #fff; border-radius: var(--radius-2xl);
    border: 1px solid var(--neutral-soft);
    box-shadow: var(--shadow-premium); position: relative;
}
.dark .process-step { background: var(--bg-dark); border-color: rgba(194,87,10,0.1); }
.step-number {
    width: 3rem; height: 3rem; margin: 0 auto 1rem;
    background: var(--primary); color: #fff;
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.125rem;
}
.process-step h4 { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.process-step p { color: #64748b; font-size: 0.875rem; line-height: 1.6; }

/* ===== PRODUCT SPEC TABLE (HOME) ===== */
.home-specs-wrap { margin-top: 2.5rem; }
.specs-home-table {
    width: 100%; border-collapse: collapse;
    margin: 1.5rem 0; font-size: 0.875rem;
}
.specs-home-table thead { background: var(--primary); color: #fff; }
.specs-home-table th {
    padding: 0.875rem 1rem; text-align: left;
    font-weight: 700; border: 1px solid rgba(194,87,10,0.3);
}
.specs-home-table td {
    padding: 0.75rem 1rem; border: 1px solid var(--neutral-soft);
    line-height: 1.6;
}
.specs-home-table tbody tr:nth-child(even) { background: rgba(194,87,10,0.03); }
.specs-home-table tbody tr:hover { background: rgba(194,87,10,0.06); }
.dark .specs-home-table td { border-color: rgba(194,87,10,0.1); }

/* ===== TESTIMONIALS ===== */
.testimonials-section { padding: 3.5rem 1.5rem; }
.testimonials-grid {
    display: grid; gap: 1.5rem;
    max-width: 72rem; margin: 2rem auto 0;
}
.testimonial-card {
    background: #fff; border-radius: var(--radius-2xl);
    padding: 2rem; border: 1px solid var(--neutral-soft);
    box-shadow: var(--shadow-premium); position: relative;
}
.dark .testimonial-card { background: var(--bg-dark); border-color: rgba(194,87,10,0.1); }
.testimonial-card::before {
    content: '"'; font-size: 4rem; line-height: 1;
    color: var(--primary); opacity: 0.15;
    font-family: var(--font-serif); position: absolute;
    top: 1rem; left: 1.5rem;
}
.testimonial-text {
    font-style: italic; font-size: 0.9375rem;
    line-height: 1.7; color: #334155; margin-bottom: 1.5rem;
    padding-top: 1rem;
}
.dark .testimonial-text { color: #cbd5e1; }
.testimonial-author {
    display: flex; align-items: center; gap: 0.75rem;
    border-top: 1px solid var(--neutral-soft); padding-top: 1rem;
}
.testimonial-avatar {
    width: 2.75rem; height: 2.75rem;
    border-radius: var(--radius-full); object-fit: cover;
    background: var(--neutral-soft);
}
.testimonial-info .name { font-weight: 700; font-size: 0.875rem; }
.testimonial-info .role { font-size: 0.75rem; color: #64748b; }

/* ===== HOMEPAGE BLOG FEATURED ===== */
.home-blog-section { padding: 3.5rem 1.5rem; }
.home-blog-grid {
    display: grid; gap: 1.5rem;
    max-width: 72rem; margin: 2rem auto 0;
}
.home-blog-card {
    background: #fff; border-radius: var(--radius-2xl);
    overflow: hidden; border: 1px solid var(--neutral-soft);
    box-shadow: var(--shadow-premium);
    transition: transform 0.3s; display: flex; flex-direction: column;
}
.dark .home-blog-card { background: var(--bg-dark); border-color: rgba(194,87,10,0.1); }
.home-blog-card:hover { transform: translateY(-4px); }
.home-blog-card .blog-thumb {
    aspect-ratio: 16/10; overflow: hidden;
}
.home-blog-card .blog-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.home-blog-card:hover .blog-thumb img { transform: scale(1.05); }
.home-blog-card .blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.home-blog-card .blog-body h3 {
    font-family: var(--font-serif); font-size: 1.125rem;
    font-weight: 700; margin-bottom: 0.75rem; line-height: 1.4;
}
.home-blog-card .blog-body h3 a { color: var(--primary); transition: color 0.3s; }
.home-blog-card .blog-body h3 a:hover { color: #9a3412; }
.home-blog-card .blog-excerpt {
    font-size: 0.8125rem; color: #64748b;
    line-height: 1.6; flex: 1; margin-bottom: 1rem;
}
.home-blog-card .blog-read-more {
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--primary);
    display: inline-flex; align-items: center; gap: 0.375rem;
}
.home-blog-card .blog-read-more:hover { color: #9a3412; }

/* ===== STAT COUNTERS ===== */
.stats-bar-section {
    background: var(--primary); color: #fff;
    padding: 3rem 1.5rem;
}
.stats-grid {
    display: grid; gap: 2rem;
    max-width: 64rem; margin: 0 auto; text-align: center;
}
.stat-item .stat-number {
    font-family: var(--font-serif);
    font-size: 2.75rem; font-weight: 700; line-height: 1;
}
.stat-item .stat-label {
    font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 0.1em; margin-top: 0.5rem; opacity: 0.85;
}

/* ===== FAQ ACCORDION ===== */
.faq-section { padding: 3.5rem 1.5rem; }
.faq-accordion {
    max-width: 48rem; margin: 2rem auto 0;
    display: flex; flex-direction: column; gap: 0.75rem;
}
.faq-item {
    background: #fff; border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-soft);
    overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.dark .faq-item { background: var(--bg-dark); border-color: rgba(194,87,10,0.1); }
.faq-question {
    width: 100%; padding: 1.25rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; background: transparent;
    font-size: 1rem; font-weight: 600; text-align: left;
    color: #0f172a; font-family: var(--font-display);
}
.dark .faq-question { color: #f1f5f9; }
.faq-question .faq-icon {
    font-size: 1.25rem; transition: transform 0.3s;
    color: var(--primary); flex-shrink: 0;
}
.faq-item.active .faq-question .faq-icon { transform: rotate(180deg); }
.faq-answer {
    display: none; padding: 0 1.5rem 1.25rem;
}
.faq-item.active .faq-answer {
    display: block;
}
.faq-answer p {
    font-size: 0.875rem; color: #475569; line-height: 1.7;
    padding-top: 0.5rem; border-top: 1px solid var(--neutral-soft);
}
.dark .faq-answer p { color: #94a3b8; border-color: rgba(194,87,10,0.1); }

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
    .hero-badge { font-size: 0.875rem; gap: 0.5rem; }
    .hero-floating-badge { display: flex; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-buttons { flex-direction: row; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .section-title { font-size: 2.25rem; }
    .dark-section .stat-badge { display: block; }
    .about-mv-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .home-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .form-row { grid-template-columns: repeat(2, 1fr); }
    .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
    .site-header { padding: 1rem 3rem; }
    .hero-section { padding: 2.5rem 3rem; }
    .hero-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .hero-content { order: 1; gap: 2rem; }
    .hero-image-wrap { order: 2; max-width: none; margin-bottom: 0; }
    .hero-title { font-size: 3.75rem; }
    .hero-desc { font-size: 1.125rem; }
    .btn-primary-lg, .btn-outline { padding: 1rem 2rem; font-size: 1rem; }
    .section-padding { padding: 3.5rem 3rem; }
    .section-padding-lg { padding: 3.5rem 3rem; }
    .heritage-section .text-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; margin-top: 3rem; }
    .heritage-section .text-grid p { font-size: 1.125rem; }
    .cert-grid { gap: 2rem; }
    .cert-card { padding: 1.5rem; }
    .feature-grid { gap: 3rem; }
    .dark-section { padding: 3.5rem 1.5rem; }
    .two-col { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr 1.2fr; }
    .product-detail-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; overflow: hidden; }
    .product-detail-reverse .media-container { order: 2; }
    .product-detail-reverse div:nth-child(2) { order: 1; }
    .specs-grid { grid-template-columns: repeat(3, 1fr); }
    .page-hero { padding: 7rem 3rem 5rem; }
    .featured-blog {
        flex-direction: row;
        margin: 3.5rem auto;
        height: auto;
        min-height: auto;
        max-height: none;
        width: calc(100% - 6rem);
        overflow: hidden !important;
        align-items: stretch;
    }
    .featured-blog .img-wrap {
        width: 55%;
        height: auto;
        min-height: auto;
        aspect-ratio: 1575/1024;
        flex-shrink: 0;
    }
    .featured-blog .img-wrap img {
        object-fit: fill !important;
    }
    .featured-blog .content-wrap {
        width: 45%;
        padding: 2.25rem 2.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: auto;
        overflow: visible;
    }
    .featured-blog .featured-label {
        flex-shrink: 0;
        margin-bottom: 0.5rem;
        display: inline-block;
    }
    .featured-blog h1 {
        font-size: 1.875rem;
        margin-bottom: 0.5rem;
        flex-shrink: 0;
        display: block;
    }
    .featured-blog p {
        font-size: 0.875rem;
        margin-bottom: 1rem;
        line-height: 1.5;
        flex-shrink: 0;
        display: block;
    }
    .featured-blog .btn-product-quote {
        margin-top: 0.5rem;
        flex-shrink: 0;
        align-self: flex-start;
        width: fit-content;
        display: inline-flex;
    }
    .newsletter-form { flex-direction: row; }
    .newsletter-form button { white-space: nowrap; }
    .wa-button { bottom: 2rem; right: 2rem; }
    .wa-button img { width: 3.75rem; height: 3.75rem; }
    .wa-button.shifted { bottom: 6.75rem; }
    .scroll-top-btn { bottom: 2rem; right: 2rem; width: 3.75rem; height: 3.75rem; }
    .wa-tooltip { display: block; }
    .search-bar input { width: 16rem; }
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 1024px) {
    .site-header { padding: 1rem 5rem; }
    .primary-nav { display: flex; }
    .mobile-menu-btn { display: none; }
    .btn-primary { display: block; }
    .search-bar { display: flex; }
    .search-bar input { width: 10rem; }
    .hero-section { padding: 2.5rem 5rem; }
    .hero-grid { gap: 3rem; }
    .page-hero { padding: 8rem 5rem 5rem; }
    .hero-title { font-size: 4.5rem; }
    .hero-badge { font-size: 1.125rem; }
    .section-padding { padding: 3.5rem 5rem; }
    .section-padding-lg { padding: 3.5rem 5rem; }
    .cert-grid { grid-template-columns: repeat(3, 1fr); }
    .specs-grid { gap: 1rem; }
    .feature-grid { grid-template-columns: repeat(3, 1fr); }
    .process-steps { grid-template-columns: repeat(4, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
    .home-blog-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .dark-section .two-col { grid-template-columns: repeat(2, 1fr); }
    .map-section { padding: 5rem; }
    .cta-box { padding: 3rem 5rem; }
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
    .featured-blog { width: calc(100% - 10rem); margin: 4rem auto; }
}
@media (min-width: 1280px) {
    .cert-card { padding: 2rem; }
    .feature-card .card-body { padding: 2rem; }
}
