/*
Theme Name: OMARDWIP TRACTORS
Theme URI: https://omardwiptractors.com
Author: Custom Theme
Author URI: https://omardwiptractors.com
Description: Production-ready custom WordPress theme for OMARDWIP TRACTORS - Tractor Sales & Repair Center, Kuli Chowrasta, Murshidabad, West Bengal, India. Mobile-first, lightweight, SEO optimized.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: omardwip-tractors
Tags: agriculture, tractor, local-business, mobile-first, seo-optimized
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Brand Colors */
    --color-primary:      #F5A800;   /* Agricultural Gold */
    --color-primary-dark: #D4900A;
    --color-primary-light:#FFD059;
    --color-secondary:    #1A4D2E;   /* Deep Agricultural Green */
    --color-secondary-dark:#0F3020;
    --color-secondary-light:#2D6B42;
    --color-accent:       #C0392B;   /* CTA Red */
    --color-accent-dark:  #A93226;
    --color-dark:         #1C1C1C;   /* Charcoal */
    --color-dark-2:       #2C2C2C;
    --color-dark-3:       #3C3C3C;
    --color-light:        #F8F6F0;   /* Warm White */
    --color-white:        #FFFFFF;
    --color-gray-1:       #E8E4DC;
    --color-gray-2:       #C8C4BC;
    --color-gray-3:       #8C887F;
    --color-text:         #1C1C1C;
    --color-text-muted:   #5C5850;

    /* Dark Mode Colors */
    --dm-bg:              #0F1A12;
    --dm-surface:         #1A2E1F;
    --dm-surface-2:       #243529;
    --dm-text:            #E8EDE9;
    --dm-text-muted:      #9AB09F;
    --dm-border:          #2D4532;

    /* Typography */
    --font-heading:       'Barlow Condensed', 'Impact', sans-serif;
    --font-body:          'Noto Sans Bengali', 'Noto Sans', sans-serif;
    --font-mono:          'Courier New', monospace;

    /* Sizing */
    --container-max:      1200px;
    --container-pad:      1.25rem;
    --border-radius:      8px;
    --border-radius-lg:   14px;
    --border-radius-xl:   22px;

    /* Shadows */
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.10);
    --shadow-md:  0 4px 20px rgba(0,0,0,0.14);
    --shadow-lg:  0 8px 40px rgba(0,0,0,0.18);
    --shadow-xl:  0 16px 60px rgba(0,0,0,0.24);

    /* Transitions */
    --transition-fast:   0.18s ease;
    --transition-normal: 0.28s ease;
    --transition-slow:   0.45s ease;

    /* Z-index */
    --z-sticky:    100;
    --z-header:    200;
    --z-modal:     300;
    --z-toast:     400;
    --z-mobile-bar:500;
}

/* Dark Mode Override */
[data-theme="dark"] {
    --color-light:      var(--dm-bg);
    --color-white:      var(--dm-surface);
    --color-gray-1:     var(--dm-surface-2);
    --color-gray-2:     var(--dm-border);
    --color-gray-3:     var(--dm-text-muted);
    --color-text:       var(--dm-text);
    --color-text-muted: var(--dm-text-muted);
    /* NOTE: --color-dark is intentionally NOT flipped for dark mode
       because hero h1/h2 use color-dark explicitly for light readability.
       Section headings that need to adapt use explicit selectors below. */
    --color-dark:       #1C1C1C;   /* Keep dark for page sections that use bg-white */
    --color-dark-2:     #2C2C2C;
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.35);
    --shadow-md:  0 4px 20px rgba(0,0,0,0.45);
    --shadow-lg:  0 8px 40px rgba(0,0,0,0.55);
}

/* Dark mode section heading overrides — only for light-bg sections */
[data-theme="dark"] .section-title,
[data-theme="dark"] .about-feature-text h4,
[data-theme="dark"] .service-card h3,
[data-theme="dark"] .testimonial-info h5,
[data-theme="dark"] h1:not(.hero-title),
[data-theme="dark"] h2:not(.hero-title),
[data-theme="dark"] h3:not(.location-info h3),
[data-theme="dark"] h4:not(.location-info h4),
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: #E8EDE9;
}

/* Footer in dark mode — keep footer dark/consistent */
[data-theme="dark"] #site-footer {
    background: #080F0A;
}
[data-theme="dark"] .footer-brand .logo-name {
    color: #E8EDE9;
}
[data-theme="dark"] .footer-col h4 {
    color: #E8EDE9;
}
[data-theme="dark"] .footer-bottom p {
    color: rgba(255,255,255,0.45);
}
[data-theme="dark"] .footer-brand p {
    color: rgba(255,255,255,0.55);
}
[data-theme="dark"] .footer-links a {
    color: rgba(255,255,255,0.55);
}
[data-theme="dark"] .footer-contact-item {
    color: rgba(255,255,255,0.55);
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-light);
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

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

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(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-dark);
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3.5vw, 2.2rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.6rem); }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

p:last-child { margin-bottom: 0; }

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

.section-pad {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.section-pad-sm {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

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

.d-flex { display: flex; }
.d-grid  { display: grid; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 2px;
    margin-bottom: 0.75rem;
}

.section-title {
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.2s ease,
                background 0.18s ease,
                border-color 0.18s ease,
                color 0.18s ease;
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
}

/* Ripple shimmer on all buttons */
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    opacity: 0;
    transition: opacity 0.18s ease;
    border-radius: inherit;
}
.btn:hover::after { opacity: 1; }
.btn:active::after { opacity: 0.22; }
.btn:active { transform: translateY(1px) scale(0.98) !important; }

/* --- Primary: Gold — works in BOTH modes --- */
.btn-primary {
    background: #F5A800;
    color: #1C1C1C;
    border-color: #F5A800;
    box-shadow: 0 2px 0 #C88B00, 0 4px 12px rgba(245,168,0,0.25);
}
.btn-primary:hover {
    background: #FFB820;
    border-color: #FFB820;
    color: #1C1C1C;
    transform: translateY(-3px);
    box-shadow: 0 6px 0 #C88B00, 0 8px 24px rgba(245,168,0,0.35);
}
/* Dark mode same — gold is readable in both */
[data-theme="dark"] .btn-primary {
    background: #F5A800;
    color: #1C1C1C;
    border-color: #F5A800;
}
[data-theme="dark"] .btn-primary:hover {
    background: #FFB820;
    border-color: #FFB820;
    color: #1C1C1C;
}

/* --- Secondary: Green --- */
.btn-secondary {
    background: #1A4D2E;
    color: #FFFFFF;
    border-color: #1A4D2E;
    box-shadow: 0 2px 0 #0F3020, 0 4px 12px rgba(26,77,46,0.3);
}
.btn-secondary:hover {
    background: #25693D;
    border-color: #25693D;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 6px 0 #0F3020, 0 8px 24px rgba(26,77,46,0.4);
}
[data-theme="dark"] .btn-secondary {
    background: #2D6B42;
    color: #FFFFFF;
    border-color: #2D6B42;
}
[data-theme="dark"] .btn-secondary:hover {
    background: #38855A;
    border-color: #38855A;
    color: #FFFFFF;
}

/* --- Accent: Red CTA --- */
.btn-accent {
    background: #C0392B;
    color: #FFFFFF;
    border-color: #C0392B;
    box-shadow: 0 2px 0 #922B21, 0 4px 12px rgba(192,57,43,0.3);
}
.btn-accent:hover {
    background: #E74C3C;
    border-color: #E74C3C;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 6px 0 #922B21, 0 8px 24px rgba(192,57,43,0.4);
}
[data-theme="dark"] .btn-accent {
    background: #C0392B;
    color: #FFFFFF;
    border-color: #C0392B;
}
[data-theme="dark"] .btn-accent:hover {
    background: #E74C3C;
    border-color: #E74C3C;
    color: #FFFFFF;
}

/* --- Outline: Transparent with border (used on hero / dark backgrounds only) --- */
.btn-outline {
    background: transparent;
    color: #FFFFFF;
    border-color: rgba(255,255,255,0.5);
    box-shadow: none;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #FFFFFF;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.15);
}

/* --- WhatsApp button (used in multiple places) --- */
.btn-whatsapp {
    background: #25D366;
    color: #FFFFFF;
    border-color: #25D366;
    box-shadow: 0 2px 0 #1aad52, 0 4px 12px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
    background: #2EE675;
    border-color: #2EE675;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 6px 0 #1aad52, 0 8px 24px rgba(37,211,102,0.4);
}

.btn-lg {
    padding: 1.05rem 2.25rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.55rem 1.2rem;
    font-size: 0.88rem;
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 50%;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   HEADER
   ============================================ */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    transition: background var(--transition-normal), box-shadow var(--transition-normal), padding var(--transition-normal);
}

.header-inner {
    background: transparent;
    transition: background var(--transition-normal), backdrop-filter var(--transition-normal);
}

#site-header.scrolled .header-inner {
    background: rgba(15, 30, 20, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
    gap: 1rem;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

/* Logo Image */
.logo-img-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    width: auto;
    height: 58px;      /* increased from 44px */
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    transition: filter var(--transition-fast);
}

/* On light backgrounds (if ever used) show light logo */
.logo-img.logo-on-light {
    filter: none;
}

.logo-text .logo-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.3rem;   /* increased from 1.15rem */
    color: #FFFFFF;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.1;
    transition: color var(--transition-fast);
}

.logo-text .logo-tagline {
    display: block;
    font-size: 0.72rem;
    color: #F5A800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.2;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    color: rgba(255,255,255,0.9);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.5rem 0.85rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.current {
    color: var(--color-primary);
    background: rgba(245, 168, 0, 0.12);
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.header-call-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--color-accent);
    color: #fff;
    padding: 0.55rem 1.1rem;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background var(--transition-fast);
}

.header-call-btn:hover {
    background: var(--color-accent-dark);
}

/* Theme Toggle */
.theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 1rem;
}

.theme-toggle:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-dark);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    gap: 5px;
    cursor: pointer;
    background: rgba(255,255,255,0.08);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.15);
    transition: background var(--transition-fast);
    flex-shrink: 0;
}

.hamburger:hover { background: rgba(255,255,255,0.15); }

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition-normal);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0C1F12;  /* hardcoded — immune to dark mode */
    z-index: calc(var(--z-header) - 1);
    padding-top: 5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav a {
    display: block;
    color: #FFFFFF;          /* hardcoded white — always visible */
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    transition: color var(--transition-fast), padding var(--transition-fast);
    text-decoration: none;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
    color: #F5A800;          /* gold on hover */
    padding-left: 0.5rem;
}

/* Ensure dark mode doesn't override mobile nav text */
[data-theme="dark"] .mobile-nav a {
    color: #FFFFFF !important;
}

[data-theme="dark"] .mobile-nav a:hover {
    color: #F5A800 !important;
}

.mobile-nav-ctas {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ============================================
   SCROLL PROGRESS
   ============================================ */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    z-index: calc(var(--z-header) + 10);
    transition: width 0.1s linear;
}

/* ============================================
   HERO VIDEO BACKGROUND  (v1.5 — MP4, full opacity)
   ============================================ */
.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #0F1F15;  /* fallback while video loads */
}

/* The <video> fills the section and plays at FULL opacity.
   The .hero-overlay on top darkens it for text contrast.     */
.hero-video-bg video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;            /* full — overlay handles contrast */
    display: block;
}

/* Semi-transparent dark gradient overlay sits ABOVE the video
   and BELOW the content, making text always readable.         */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            to bottom,
            rgba(10, 25, 15, 0.68) 0%,
            rgba(10, 25, 15, 0.55) 40%,
            rgba(10, 25, 15, 0.72) 100%
        );
    /* Extra left-side darkening so left-column text pops on desktop */
    /* On mobile the gradient covers full width */
}

@media (min-width: 769px) {
    .hero-overlay {
        background:
            linear-gradient(
                to right,
                rgba(8, 20, 12, 0.82) 0%,
                rgba(8, 20, 12, 0.65) 55%,
                rgba(8, 20, 12, 0.30) 100%
            ),
            linear-gradient(
                to bottom,
                rgba(8, 20, 12, 0.45) 0%,
                rgba(8, 20, 12, 0.20) 50%,
                rgba(8, 20, 12, 0.55) 100%
            );
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
    position: relative;
    min-height: 100svh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0F3020;  /* shown while video loads */
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 7rem;
    padding-bottom: 5rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245,168,0,0.15);
    border: 1px solid rgba(245,168,0,0.45);
    color: var(--color-primary);
    padding: 0.4rem 1.1rem;
    border-radius: 2rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.65s cubic-bezier(0.16,1,0.3,1) 0.1s both;
    width: fit-content;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
    animation: pulse 2s infinite;
}

.hero-title {
    color: #FFFFFF !important;
    margin-bottom: 0.75rem;
    animation: fadeInUp 0.75s cubic-bezier(0.16,1,0.3,1) 0.2s both;
    font-size: clamp(2.6rem, 6.5vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    max-width: 720px;
}

/* Always white in hero regardless of theme */
[data-theme="dark"] .hero-title {
    color: #FFFFFF !important;
}

.hero-title .highlight {
    color: var(--color-primary);
    display: block;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255,255,255,0.78);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.7;
    animation: fadeInUp 0.75s cubic-bezier(0.16,1,0.3,1) 0.35s both;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.25rem;
    animation: fadeInUp 0.75s cubic-bezier(0.16,1,0.3,1) 0.45s both;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 2rem;
    padding: 0.3rem 0.85rem;
    backdrop-filter: blur(4px);
}

.trust-badge .icon {
    color: var(--color-primary);
    font-size: 1rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    animation: fadeInUp 0.75s cubic-bezier(0.16,1,0.3,1) 0.55s both;
}


.hero-cta-call {
    background: #C0392B;
    color: #fff;
    padding: 1rem 1.75rem;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #C0392B;
    box-shadow: 0 2px 0 #922B21, 0 4px 20px rgba(192,57,43,0.4);
    transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.2s ease, background 0.18s ease;
    position: relative;
    overflow: hidden;
}
.hero-cta-call::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    opacity: 0;
    transition: opacity 0.18s ease;
}
.hero-cta-call:hover::after { opacity: 1; }
.hero-cta-call:hover {
    background: #E74C3C;
    border-color: #E74C3C;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 0 #922B21, 0 8px 28px rgba(192,57,43,0.5);
}
.hero-cta-call:active { transform: translateY(0) scale(0.98); }

.hero-cta-whatsapp {
    background: #25D366;
    color: #fff;
    padding: 1rem 1.75rem;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #25D366;
    box-shadow: 0 2px 0 #1aad52, 0 4px 20px rgba(37,211,102,0.35);
    transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.2s ease, background 0.18s ease;
    position: relative;
    overflow: hidden;
}
.hero-cta-whatsapp::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    opacity: 0;
    transition: opacity 0.18s ease;
}
.hero-cta-whatsapp:hover::after { opacity: 1; }
.hero-cta-whatsapp:hover {
    background: #2EE675;
    border-color: #2EE675;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 0 #1aad52, 0 8px 28px rgba(37,211,102,0.45);
}
.hero-cta-whatsapp:active { transform: translateY(0) scale(0.98); }

.hero-cta-direction {
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding: 1rem 1.75rem;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(255,255,255,0.35);
    box-shadow: none;
    transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.2s ease, background 0.18s ease, border-color 0.18s ease;
}
.hero-cta-direction:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.7);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.15);
}
.hero-cta-direction:active { transform: translateY(0) scale(0.98); }

.hero-image-side {
    position: relative;
    z-index: 3;
    animation: fadeInRight 0.9s ease 0.3s both;
}

.hero-tractor-visual {
    width: 100%;
    max-width: 520px;
    height: 360px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(245,168,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hero-tractor-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    filter: drop-shadow(0 8px 32px rgba(245,168,0,0.2));
}

.hero-stats {
    display: flex;
    gap: 1rem;
    z-index: 3;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease 0.5s both;
    flex-wrap: wrap;
}

.hero-stat {
    flex: 1;
    min-width: 110px;
    background: rgba(15,30,20,0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(245,168,0,0.25);
    border-radius: var(--border-radius);
    padding: 0.85rem 1rem;
    text-align: center;
}

.hero-stat .number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--color-primary);
    line-height: 1;
}

.hero-stat .label {
    display: block;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-top: 0.2rem;
}

/* Hero grid layout */
/* Hero grid — single centered column (image panel removed) */
.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 760px;
}

/* Hero image side — hidden, kept in markup for fallback safety */
.hero-image-side {
    display: none !important;
}

.hero-tractor-visual {
    width: 100%;
    max-width: 520px;
    border-radius: var(--border-radius-xl);
    border: 2px solid rgba(245,168,0,0.25);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.hero-tractor-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius-xl);
}

/* Floating "Open Today" badge on showroom photo */
.hero-img-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(245,168,0,0.97);
    border-radius: 10px;
    padding: 0.65rem 1rem;
    box-shadow: 0 6px 24px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.hero-img-badge span {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1C1C1C;
}

.hero-img-badge strong {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 900;
    color: #1C1C1C;
}

/* ============================================
   ABOUT SECTION  (v1.5 — real photos, owner cards)
   ============================================ */
#about {
    background: var(--color-white);
    position: relative;
}

/* Showroom banner photo */
.about-showroom {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.about-showroom-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center 55%;
    display: block;
}

.about-showroom-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
    background: linear-gradient(to top, rgba(8,20,12,0.85) 0%, transparent 100%);
}

.about-showroom-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Two-column layout: owners | features */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

/* Owner profiles column */
.about-owners {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-owners-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(245,168,0,0.3);
}

[data-theme="dark"] .about-owners-heading {
    color: var(--color-primary);
}

.owner-cards {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.owner-card {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 1.25rem 0;
}

.owner-divider {
    height: 1px;
    background: var(--color-gray-1);
    margin: 0;
}

.owner-photo-wrap {
    flex-shrink: 0;
}

.owner-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid var(--color-primary);
    box-shadow: var(--shadow-md);
    display: block;
}

.owner-info {
    flex: 1;
    min-width: 0;
}

.owner-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-dark);
    text-transform: none;
    letter-spacing: 0.02em;
    margin-bottom: 0.15rem;
    line-height: 1.2;
}

[data-theme="dark"] .owner-name {
    color: #E8EDE9;
}

.owner-role {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    background: var(--color-secondary);
    border-radius: 2px;
    padding: 0.15rem 0.6rem;
    margin-bottom: 0.6rem;
}

.owner-bio {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Feature list */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(245,168,0,0.12);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.about-feature-text h4 {
    font-size: 1rem;
    color: var(--color-dark);
    margin-bottom: 0.2rem;
    text-transform: none;
    letter-spacing: 0;
}

.about-feature-text p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--color-text-muted);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
#services {
    background: var(--color-light);
    position: relative;
    overflow: hidden;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-secondary));
}

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

/* Tablet: 3 across */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile: 1 column (overridden in breakpoints below) */

.service-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-1);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(245,168,0,0.1);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    transition: background var(--transition-normal), transform var(--transition-normal);
}

.service-card:hover .service-icon-wrap {
    background: var(--color-primary);
    transform: scale(1.08);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
    text-transform: none;
    letter-spacing: 0.01em;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 1rem;
    transition: gap var(--transition-fast), color var(--transition-fast);
}

.service-card-link:hover {
    gap: 0.6rem;
    color: var(--color-accent);
}

.service-tagline {
    font-size: 0.75rem;
    color: var(--color-primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem !important;
}

/* Services CTA strip */
.services-cta-strip {
    margin-top: 3rem;
    background: var(--color-secondary);
    border-radius: var(--border-radius-xl);
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.services-cta-strip h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
}

.services-cta-strip p {
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-size: 0.95rem;
}

.services-cta-btns {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

/* Hero CTA number label */
.cta-number {
    font-weight: 400;
    font-size: 0.88em;
    opacity: 0.88;
}

/* Map placeholder fallback */
.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: var(--color-gray-1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius-xl);
}

.map-placeholder h4 {
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

/* ============================================
   FACEBOOK FEED SECTION
   ============================================ */
#facebook-feed {
    background: var(--color-secondary-dark);
    position: relative;
    overflow: hidden;
}

#facebook-feed::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 50%, rgba(245,168,0,0.06) 0%, transparent 50%),
        radial-gradient(circle at 90% 50%, rgba(245,168,0,0.04) 0%, transparent 50%);
    pointer-events: none;
}

#facebook-feed .section-title,
#facebook-feed .section-tag {
    color: var(--color-white);
}

#facebook-feed .section-subtitle {
    color: rgba(255,255,255,0.65);
}

.fb-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.fb-section-left { flex: 1; }

.fb-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37,99,235,0.2);
    border: 1px solid rgba(37,99,235,0.4);
    color: #93C5FD;
    padding: 0.4rem 0.9rem;
    border-radius: 2rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fb-live-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3B82F6;
    animation: pulse 1.5s infinite;
}

.fb-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #1877F2;
    color: #fff;
    padding: 0.7rem 1.4rem;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background var(--transition-fast), transform var(--transition-fast);
    flex-shrink: 0;
}

.fb-follow-btn:hover {
    background: #1565c0;
    transform: translateY(-2px);
}

.fb-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.fb-post-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.fb-post-card:hover {
    border-color: rgba(245,168,0,0.4);
    background: rgba(255,255,255,0.08);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.fb-post-media {
    position: relative;
    aspect-ratio: 16/9;
    background: rgba(0,0,0,0.3);
    overflow: hidden;
}

.fb-post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    loading: lazy;
}

.fb-post-card:hover .fb-post-media img {
    transform: scale(1.05);
}

.fb-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
}

.fb-play-btn {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--color-secondary-dark);
    transition: transform var(--transition-fast), background var(--transition-fast);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.fb-post-card:hover .fb-play-btn {
    transform: scale(1.12);
    background: var(--color-primary);
    color: var(--color-dark);
}

.fb-post-type-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    backdrop-filter: blur(4px);
}

.fb-post-body {
    padding: 1.1rem 1.25rem;
}

.fb-post-message {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fb-post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
}

.fb-post-date {
    font-weight: 600;
    letter-spacing: 0.03em;
}

.fb-post-stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fb-post-stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Loading / Error / Fallback States */
.fb-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: rgba(255,255,255,0.5);
}

.fb-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(245,168,0,0.2);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
}

.fb-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    background: rgba(192,57,43,0.1);
    border: 1px solid rgba(192,57,43,0.2);
    border-radius: var(--border-radius-lg);
    color: rgba(255,255,255,0.7);
}

.fb-error .fb-page-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    background: #1877F2;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    transition: background var(--transition-fast);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
#testimonials {
    background: var(--color-white);
}

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

/* Tablet: 2 columns */
@media (max-width: 1100px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.testimonial-card {
    background: var(--color-light);
    border-radius: var(--border-radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--color-gray-1);
    transition: all var(--transition-normal);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(245,168,0,0.3);
}

.testimonial-quote-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.75rem;
    opacity: 0.7;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-dark);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0.1rem;
}

.testimonial-info span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.testimonial-stars {
    color: var(--color-primary);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.6rem;
}

/* Trust Statistics */
.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--color-secondary);
    border-radius: var(--border-radius-xl);
}

.trust-stat {
    text-align: center;
    color: #fff;
}

.trust-stat .number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.2rem;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.trust-stat .label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* ============================================
   MAPS SECTION
   ============================================ */
#location {
    background: var(--color-light);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 2.5rem;
    align-items: start;
}

.location-info {
    background: var(--color-secondary);
    border-radius: var(--border-radius-xl);
    padding: 2.5rem;
    color: #fff;
    height: 100%;
}

.location-info h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.location-detail-icon {
    width: 42px;
    height: 42px;
    background: rgba(245,168,0,0.15);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.location-detail-text strong {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
}

.location-detail-text span {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.5;
}

.location-detail-text a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.location-detail-text a:hover {
    color: var(--color-primary);
}

.location-ctas {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.map-wrap {
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 420px;
    background: var(--color-gray-1);
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ============================================
   MOBILE BOTTOM BAR
   ============================================ */
#mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-mobile-bar);
    background: var(--color-secondary-dark);
    border-top: 2px solid rgba(245,168,0,0.3);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.35);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-bar-inner {
    display: flex;
    align-items: stretch;
}

.mobile-bar-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.5rem;
    gap: 0.3rem;
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    transition: all var(--transition-fast);
    border-right: 1px solid rgba(255,255,255,0.08);
    -webkit-tap-highlight-color: transparent;
}

.mobile-bar-btn:last-child {
    border-right: none;
}

.mobile-bar-btn .bar-icon {
    font-size: 1.35rem;
    line-height: 1;
}

.mobile-bar-btn.call-btn {
    background: var(--color-accent);
    color: #fff;
}

.mobile-bar-btn.call-btn:active {
    background: var(--color-accent-dark);
}

.mobile-bar-btn.whatsapp-btn {
    background: #1A3A27;
    color: #4ADE80;
}

.mobile-bar-btn.whatsapp-btn:active {
    background: #0F2418;
}

.mobile-bar-btn.direction-btn:active {
    background: rgba(245,168,0,0.1);
    color: var(--color-primary);
}

/* ============================================
   FOOTER
   ============================================ */
#site-footer {
    background: #111915;   /* Hardcoded deep dark green — immune to dark mode */
    color: rgba(255,255,255,0.75);
    padding-top: 3.5rem;
    padding-bottom: 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand .logo-name {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.3rem;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
}

.footer-brand .logo-tagline {
    font-size: 0.78rem;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--border-radius);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid rgba(245,168,0,0.35);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 0.3rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.75rem;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
}

.footer-contact-item .icon {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.footer-contact-item a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-fast);
}

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

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

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.footer-bottom a {
    color: var(--color-primary);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    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; }

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(0.9); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg,
        rgba(255,255,255,0.06) 25%,
        rgba(255,255,255,0.12) 50%,
        rgba(255,255,255,0.06) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--border-radius);
}

/* ============================================
   ELEMENTOR COMPATIBILITY
   ============================================ */
.elementor-section {
    position: relative;
}

/* Avoid double header/footer when using Elementor templates */
body.elementor-template-canvas #site-header,
body.elementor-template-canvas #site-footer {
    display: block;
}

/* ============================================
   WORDPRESS CORE CLASSES
   ============================================ */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--color-text-muted); text-align: center; }
.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; }
.alignwide { max-width: 100%; }
.alignfull { margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); max-width: 100vw; }

/* ============================================
   ACCESSIBILITY
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -999px;
    left: 1rem;
    background: var(--color-primary);
    color: var(--color-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    z-index: 9999;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    :root { --container-pad: 1.5rem; }

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

    .hero-image-side {
        display: none;
    }

    .hero-stats {
        margin-top: 1.75rem;
    }

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

    .about-showroom-img {
        height: 280px;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .map-wrap { height: 360px; }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .services-cta-strip {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.75rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root { --container-pad: 1rem; }

    .section-pad { padding-top: 2.75rem; padding-bottom: 2.75rem; }

    /* Header */
    .main-nav { display: none; }
    .header-cta .header-call-btn { display: none; }
    .hamburger { display: flex; }
    .mobile-nav { display: block; }
    #mobile-bottom-bar { display: flex; }

    body {
        padding-bottom: 70px; /* Space for mobile bottom bar */
    }

    /* Bigger logo on mobile */
    .logo-img { height: 46px; }
    .logo-text .logo-name { font-size: 1.1rem; }

    /* Hero */
    .hero-content { padding-top: 5rem; padding-bottom: 2.5rem; }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-cta-call,
    .hero-cta-whatsapp,
    .hero-cta-direction {
        justify-content: center;
        width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        margin-top: 1.5rem;
        gap: 0.6rem;
    }

    .hero-stat {
        flex: 1 1 calc(33% - 0.6rem);
        min-width: 85px;
        padding: 0.7rem 0.4rem;
        text-align: center;
    }

    .hero-stat .number { font-size: 1.35rem; }

    .hero-trust-badges {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .trust-badge {
        font-size: 0.82rem;
        background: rgba(255,255,255,0.07);
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 2rem;
        padding: 0.3rem 0.75rem;
    }

    /* About */
    .about-showroom-img { height: 220px; }

    .owner-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .owner-photo {
        width: 80px;
        height: 80px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-cta-strip {
        padding: 1.5rem 1rem;
    }

    .services-cta-btns {
        width: 100%;
        flex-direction: column;
    }

    .services-cta-btns .btn {
        width: 100%;
        justify-content: center;
    }

    /* Facebook */
    .fb-feed-grid {
        grid-template-columns: 1fr;
    }

    .fb-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.25rem 1rem;
        gap: 1rem;
    }

    .trust-stat .number { font-size: 1.7rem; }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Location */
    .location-ctas {
        flex-direction: column;
    }

    .location-ctas .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Small mobile */
@media (max-width: 420px) {
    h1 { font-size: 1.9rem; }
    .trust-stats { grid-template-columns: 1fr 1fr; }
    .hero-badge { font-size: 0.7rem; }
    .hero-stat { min-width: 75px; }
    .hero-stat .number { font-size: 1.2rem; }
    .logo-img { height: 38px; }
    .logo-text .logo-name { font-size: 0.95rem; }
}
/* ============================================
   PHONE MODAL  (industry-standard smooth open)
   ============================================ */

/* Backdrop */
.phone-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;

    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.phone-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

/* Modal card */
.phone-modal {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.28), 0 4px 16px rgba(0,0,0,0.12);
    width: 100%;
    max-width: 360px;
    overflow: hidden;
    position: relative;

    /* Hidden state — slide up from below */
    transform: translateY(28px) scale(0.97);
    transition: transform 0.38s cubic-bezier(0.16,1,0.3,1),
                opacity 0.3s ease;
    opacity: 0;
}

.phone-modal-backdrop.is-open .phone-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

[data-theme="dark"] .phone-modal {
    background: #1A2E1F;
    color: #E8EDE9;
}

/* Modal header */
.phone-modal-header {
    background: #1A4D2E;
    padding: 1.25rem 1.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.phone-modal-title {
    color: #FFFFFF;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #FFFFFF;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease;
    line-height: 1;
}

.phone-modal-close:hover {
    background: rgba(255,255,255,0.28);
}

/* Modal body */
.phone-modal-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.phone-modal-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8C887F;
    margin-bottom: 0.85rem;
}

[data-theme="dark"] .phone-modal-label {
    color: #9AB09F;
}

/* Phone number buttons */
.phone-modal-number {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #F8F6F0;
    border: 2px solid transparent;
    margin-bottom: 0.65rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1);
}

[data-theme="dark"] .phone-modal-number {
    background: #243529;
}

.phone-modal-number:last-child {
    margin-bottom: 0;
}

.phone-modal-number:hover {
    border-color: #1A4D2E;
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,77,46,0.15);
}

[data-theme="dark"] .phone-modal-number:hover {
    background: #2D4532;
    border-color: #F5A800;
}

.phone-modal-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #C0392B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.phone-modal-num-text {
    flex: 1;
}

.phone-modal-num-label {
    display: block;
    font-size: 0.72rem;
    color: #8C887F;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.1rem;
}

[data-theme="dark"] .phone-modal-num-label {
    color: #9AB09F;
}

.phone-modal-num-value {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1C1C1C;
    letter-spacing: 0.03em;
}

[data-theme="dark"] .phone-modal-num-value {
    color: #E8EDE9;
}

.phone-modal-arrow {
    color: #1A4D2E;
    font-size: 1rem;
    opacity: 0.5;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.phone-modal-number:hover .phone-modal-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* WhatsApp row */
.phone-modal-whatsapp {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #E8E4DC;
}

[data-theme="dark"] .phone-modal-whatsapp {
    border-top-color: #2D4532;
}

.phone-modal-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem;
    background: #25D366;
    border: 2px solid #25D366;
    border-radius: 10px;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1);
}

.phone-modal-wa-btn:hover {
    background: #2EE675;
    border-color: #2EE675;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

/* Mobile bottom bar buttons trigger modal too */
.mobile-bar-btn.call-btn {
    cursor: pointer;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Services grid adjustments for service card compactness */
.service-card {
    padding: 1.5rem 1.25rem;
}

.service-card h3 {
    font-size: 1rem;
}

.service-icon-wrap {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Testimonial card compact for 4-column layout */
.testimonial-card {
    padding: 1.35rem 1.25rem;
}

.testimonial-text {
    font-size: 0.88rem;
}

/* Also fix the 1100px breakpoint for services & testimonials mobile */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr !important;
    }
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }
    .service-card {
        padding: 1.5rem;
    }
    .about-showroom-img {
        height: 260px !important;
    }
}

/* ============================================
   BUTTON ELEMENT CALL TRIGGERS
   (hero-cta-call / header-call-btn as <button>)
   ============================================ */
button.hero-cta-call,
button.header-call-btn,
button.js-open-phone-modal.btn,
button.js-open-phone-modal.hero-cta-call {
    cursor: pointer;
    font-family: var(--font-heading);
    border: none;
    background: none;
    appearance: none;
    -webkit-appearance: none;
}

/* Make sure hero stat numbers animate on full-width hero */
.hero-stats {
    animation: fadeInUp 0.75s cubic-bezier(0.16,1,0.3,1) 0.65s both;
}
