/* ===================================
   evtec - EV Charger Company Website
   Modern, Premium, Responsive Design
   =================================== */

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Orbitron:wght@700;900&display=swap');

/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #111111;
    --near-black: #222222;
    --dark-gray: #444444;
    --medium-gray: #666666;
    --light-gray: #f0f0f0;
    --white: #ffffff;
    --accent-blue: #0077cc;
    --accent-blue-strong: #0055aa;
    --accent-green: #00aa55;
    --accent-green-hover: #008844;

    --text-primary: #111111;
    --text-secondary: #444444;
    --border-color: rgba(0, 0, 0, 0.12);
    --bg-light: #f5f5f5;

    --gradient-primary: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-green) 100%);
    --gradient-dark: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
    --gradient-hero: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(245,245,245,0.80) 70%);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-heading: 'Orbitron', 'Inter', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 16px 50px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 28px rgba(0, 170, 85, 0.18);

    --nav-bg: rgba(255, 255, 255, 0.88);
    --nav-bg-scrolled: rgba(255, 255, 255, 0.98);
    --nav-border: rgba(0, 0, 0, 0.08);
    --nav-border-scrolled: rgba(0, 0, 0, 0.14);
    --nav-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);

    --transition-fast: 0.18s ease-out;
    --transition-normal: 0.32s ease;
    --transition-slow: 0.55s ease;

    --radius-sm: 10px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-full: 999px;

    --z-preloader: 10000;
    --z-header: 1000;
    --z-modal: 9000;
    --z-floating: 900;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: #111111;
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.homepage {
    color: #111111;
    background-color: #ffffff;
}

body.homepage a {
    color: inherit;
}

body.homepage h1,
body.homepage h2,
body.homepage h3,
body.homepage h4,
body.homepage h5,
body.homepage h6 {
    color: #111111;
}

body.homepage p,
body.homepage li,
body.homepage .section-title p,
body.homepage .hero p,
body.homepage .advisor-card p,
body.homepage .card p,
body.homepage .testimonial-text {
    color: #7c7b7b;
}

body.homepage .header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e5e5e5;
}

body.homepage .nav-link {
    color: #333333;
}

body.homepage .nav-link:hover,
body.homepage .nav-link.active {
    color: #111111;
    background: rgba(0, 0, 0, 0.05);
}

body.homepage .hero {
    background: #ffffff;
    color: #111111;
}

body.homepage .hero::before {
    display: none;
}

body.homepage .hero .eyebrow {
    color: #111111;
}

body.homepage .hero-stat {
    background: #f7f7f7;
    border-color: #e8e8e8;
}

body.homepage .btn-primary,
body.homepage .btn-accent {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

body.homepage .btn-outline {
    background: transparent;
    color: #6d6c6c;
    border: 1px solid #111111;
}

body.homepage .btn-primary:hover,
body.homepage .btn-accent:hover {
    background: #000000;
    color: #ffffff;
}

body.homepage .btn-outline:hover {
    background: #111111;
    color: #ffffff;
}

body.homepage .hero-promo {
    margin: 2rem 0 1.5rem;
    padding: 1.6rem 1.75rem;
    background: #f6f6f6;
    border: 1px solid #e3e3e3;
    border-radius: 24px;
}

body.homepage .hero-promo .promo-label {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: #555555;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
}

body.homepage .hero-promo h3 {
    margin-bottom: 0.85rem;
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    line-height: 1.24;
    color: #111111;
}

body.homepage .hero-promo p {
    margin-bottom: 0;
    color: #4c4c4c;
    line-height: 1.7;
}

body.homepage .feature-card,
body.homepage .advisor-card,
body.homepage .calculator-card,
body.homepage .card,
body.homepage .product-card,
body.homepage .testimonial-card,
body.homepage .stats-section,
body.homepage .advisor-section {
    background: #ffffff;
    border-color: #e8e8e8;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.06);
}

body.homepage .product-info {
    color: #111111;
}

body.homepage .product-description {
    color: #4f4f4f;
}

body.homepage .product-power {
    background: #111111;
    color: #ffffff;
}

body.homepage .product-type {
    background: #f1f1f1;
    color: #111111;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 400;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.6;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--accent-green);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    z-index: calc(var(--z-header) + 1);
    transition: width 0.1s linear;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    backdrop-filter: saturate(180%) blur(22px);
    border-bottom: 1px solid var(--nav-border);
    z-index: var(--z-header);
    transition: background var(--transition-normal), border var(--transition-normal), box-shadow var(--transition-normal), padding var(--transition-normal);
    padding: 0.7rem 0;
}

.header.scrolled {
    background: var(--nav-bg-scrolled);
    border-bottom: 1px solid var(--nav-border-scrolled);
    padding: 0.45rem 0;
    box-shadow: var(--nav-shadow);
} 

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.logo img,
.site-logo {
    height: 21px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: height var(--transition-normal);
}

/* Logo shrinks when header is scrolled */
.header.scrolled .site-logo {
    height: 28px;
}

/* Responsive logo sizing */
@media (max-width: 1140px) {
    .logo img,
    .site-logo {
        height: 28px;
    }
    .header.scrolled .site-logo {
        height: 32px;
    }
}

@media (max-width: 768px) {
    .logo img,
    .site-logo {
        height: 34px;
    }
    .header.scrolled .site-logo {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .logo img,
    .site-logo {
        height: 30px;
    }
}

.logo span {
    color: var(--accent-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-link {
    position: relative;
    color: #111111;
    font-weight: 600;
    font-size: clamp(0.78rem, 1.1vw, 0.97rem);
    padding: 0.45rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0.15rem;
    width: 80%;
    height: 2px;
    background: var(--accent-green);
    border-radius: 999px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition: transform var(--transition-fast) ease, opacity var(--transition-fast) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

.nav-link:hover,
.nav-link.active {
    color: #111111;
    background: rgba(0, 0, 0, 0.07);
}

/* ===== MOBILE NAV ===== */
@media (max-width: 1140px) {
    .header-container {
        padding: 0 1rem;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.97);
        -webkit-backdrop-filter: blur(24px);
        backdrop-filter: blur(24px);
        flex-direction: column;
        gap: 0;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.38s ease, opacity 0.35s ease, visibility 0.35s ease;
        z-index: calc(var(--z-header) + 1);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    }

    .nav-menu.active {
        max-height: 420px;
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        font-size: 1rem;
        width: 100%;
        padding: 0.9rem 1.5rem;
        border-radius: 0;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(0, 0, 0, 0.06);
    }

    .mobile-toggle {
        display: flex;
    }
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(64, 196, 255, 0.95) 0%, rgba(0, 255, 136, 0.95) 100%);
    color: var(--black);
    border-color: transparent;
}

.btn-accent {
    background: var(--accent-blue);
    color: var(--black);
    border: 1px solid var(--accent-blue);
}

.btn-accent:hover {
    background: var(--accent-blue-strong);
    border-color: var(--accent-blue-strong);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn-outline:hover {
    background: rgba(112, 112, 112, 0.08);
    color: var(--white);
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--spacing-xl) 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow-x: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title h2 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 1.1fr) minmax(360px, 0.9fr);
    align-items: center;
    gap: 2rem;
    padding: calc(var(--spacing-xl) + 2rem) var(--spacing-md) var(--spacing-lg);
    background: var(--gradient-hero), url('../images/hero/hero-bg.png') center / cover no-repeat;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(0, 119, 204, 0.07), transparent 25%),
                radial-gradient(circle at 85% 10%, rgba(0, 170, 85, 0.06), transparent 22%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    color: var(--accent-green);
    font-weight: 700;
}

.hero h1 {
    color: #111111;
    margin-bottom: 1.2rem;
    font-size: clamp(2.8rem, 5vw, 4.6rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.hero p {
    font-size: 1.05rem;
    color: #444444;
    margin-bottom: 2.2rem;
    max-width: 540px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.hero-stat {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: var(--radius-lg);
    padding: 1rem 1.2rem;
    display: grid;
    gap: 0.35rem;
}

.hero-stat strong {
    display: block;
    font-size: 1.35rem;
    color: #111111;
}

.hero-stat span {
    color: #555555;
    font-size: 0.9rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
}

.hero-device-card {
    position: relative;
    width: min(100%, 500px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-sm);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    overflow: hidden;
}

.hero-device-card img {
    width: 100%;
    border-radius: 24px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.25));
}

.hero-chip {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(0, 255, 136, 0.12);
    color: var(--accent-green);
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid rgba(0, 255, 136, 0.18);
}

.hero-chip::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
}

@media (max-width: 1000px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: calc(var(--spacing-xl) + 3rem);
    }

    .hero-visual {
        min-height: 420px;
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
}

.feature-grid {
    gap: 1.25rem;
}

.feature-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 119, 204, 0.25);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: 1.5rem;
    border-radius: 18px;
    background: rgba(64, 196, 255, 0.16);
    color: var(--accent-blue);
    font-size: 1.35rem;
}

.advisor-section {
    background: #f8f8f8;
    padding: var(--spacing-xl) 0;
}

.advisor-card,
.calculator-card,
.step-card,
.quote-copy,
.contact-form {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.advisor-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.4rem;
}

.advisor-card h2,
.quote-copy h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: #111111;
    margin-bottom: 1rem;
}

.advisor-card p,
.quote-copy p {
    color: #444444;
    line-height: 1.8;
}

.advisor-list,
.quote-benefits {
    list-style: none;
    display: grid;
    gap: 0.85rem;
    padding: 0;
    margin: 0;
}

.advisor-list li,
.quote-benefits li {
    position: relative;
    padding-left: 1.75rem;
    color: #333333;
    line-height: 1.7;
}

.advisor-list li::before,
.quote-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-green);
}

.calculator-card {
    display: grid;
    gap: 1.5rem;
}

.calculator-header h3 {
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
    color: #111111;
}

.calculator-header p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.calculator-result {
    background: rgba(0, 170, 85, 0.07);
    border: 1px solid rgba(0, 170, 85, 0.18);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    color: #111111;
    min-height: 96px;
}

.how-it-works .steps-grid {
    gap: 1.5rem;
}

.step-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.09);
    background: #ffffff;
    transition: transform var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-6px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
    color: var(--black);
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.step-card h4 {
    margin-bottom: 1rem;
    color: #111111;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.75;
}

.quote-section {
    padding: var(--spacing-xl) 0;
}

.form-card {
    align-items: stretch;
    gap: 2rem;
}

.quote-copy {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quote-copy .eyebrow {
    color: var(--accent-blue);
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
    background: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #111111;
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.40);
}

.contact-form label {
    color: #111111;
}

.floating-btn.chat {
    background: var(--accent-blue);
    color: var(--black);
}

@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .quote-copy,
    .contact-form {
        padding: 1.75rem;
    }
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #111111;
    text-align: center;
    padding: 7rem var(--spacing-md) 3.5rem;
    margin-top: 0;
    border-bottom: 1px solid #eeeeee;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(0,170,85,0.05), transparent 65%);
    pointer-events: none;
}

.page-hero h1 {
    color: #111111;
    font-weight: 700;
    letter-spacing: -0.025em;
    position: relative;
    z-index: 1;
}

.page-hero p {
    margin: 1rem auto 0;
}

/* ===== CARDS ===== */
.card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.09);
    transition: var(--transition-normal);
    height: 100%;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 119, 204, 0.18);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-green);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
}

.card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ===== GRID LAYOUTS ===== */
.grid {
    display: grid;
    gap: 2rem;
}

/* Prevent grid children from overflowing on small screens */
.grid > * {
    min-width: 0;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ===== TABLET RESPONSIVE (max-width: 1024px) ===== */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== STATS COUNTER ===== */
.stats-section {
    background: var(--light-gray);
    padding: var(--spacing-lg) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 1px solid #e8e8e8;
}

.product-actions {
    text-align: center;
    margin-top: 3rem;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.08);
}

.product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: zoom-in;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.06);
}

/* Zoom icon overlay on hover */
.product-image::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 0.6rem;
    right: 0.6rem;
    font-size: 0.85rem;
    color: #fff;
    background: rgba(0,0,0,0.45);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
    line-height: 28px;
    text-align: center;
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
    font-weight: 500;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.product-power {
    display: inline-block;
    background: var(--accent-green);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 400;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-type {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--black);
    background: transparent;
    color: var(--black);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-normal);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--black);
    color: var(--white);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: #f5f5f5;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-role {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: #111111;
    color: #ffffff;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
}

.cta-section h2 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* ===== FOOTER ===== */
.footer {
    background: #111111;
    color: rgba(255, 255, 255, 0.85);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.footer a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.contact-info i {
    color: var(--accent-green);
    font-size: 1.2rem;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    display: inline;
    margin-bottom: 0;
}

.contact-info a:hover {
    color: var(--accent-green);
}

/* ===== FOOTER SOCIAL ===== */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    margin-bottom: 0;
    transition: var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-social a:hover {
    background: var(--accent-green);
    color: #ffffff;
    border-color: var(--accent-green);
    transform: translateY(-2px);
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: var(--z-floating);
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-fast);
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn.call {
    background: var(--black);
    color: var(--white);
}

.floating-btn.whatsapp {
    background: var(--accent-green);
    color: var(--white);
}

.floating-btn.back-to-top {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
}

.floating-btn.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: var(--z-modal);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: zoomIn 0.3s ease;
    padding: 3rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--near-black);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition-normal);
    z-index: 10;
    border: none;
}

.modal-close:hover {
    background: var(--accent-green);
    transform: rotate(90deg);
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--white);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
    aspect-ratio: 16/9;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Vertical connecting line */
.timeline::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--medium-gray);
    opacity: 0.4;
}

.timeline-item {
    padding: 2rem 0;
    position: relative;
    padding-left: 4rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.8rem;
    width: 20px;
    height: 20px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
    z-index: 1;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 20px;
    width: 2px;
    height: calc(100% - 20px);
    background: var(--medium-gray);
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-year {
    display: inline-block;
    background: var(--accent-green);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
    letter-spacing: 0.04em;
}

.timeline-content {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.timeline-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.reveal {
    opacity: 1;
    transform: translateY(50px);
    transition: transform 0.8s ease;
}

.reveal.active {
    transform: translateY(0);
}

/* ===== MATRIX CHARGING SECTION ===== */
.matrix-section {
    background: var(--white);
    padding: 3rem 0 4rem;
}

.matrix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.mc-media {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mc-media img {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.mc-progress {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    width: 140px;
    height: 6px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    overflow: hidden;
}

.mc-progress span {
    display: block;
    height: 100%;
    width: 6%;
    background: linear-gradient(90deg, var(--accent-green), #6fbfef);
    transition: width 900ms cubic-bezier(.2, .9, .2, 1);
}

.matrix-grid.reveal.active .mc-progress span {
    width: 32%;
}

.mc-content h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    margin-bottom: 1rem;
}

.mc-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

.matrix-btn {
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all var(--transition-fast);
}

.matrix-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}


/* ===== RESPONSIVE: ≤768px ===== */
@media (max-width: 768px) {
    /* On small phones, use slide-in panel instead of dropdown */
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        left: auto !important;
        width: 72% !important;
        max-height: 100vh !important;
        height: 100vh !important;
        background: #ffffff !important;
        flex-direction: column !important;
        padding: 5rem 1.75rem 2rem !important;
        gap: 0.25rem !important;
        transition: right var(--transition-normal) !important;
        align-items: flex-start !important;
        border-left: 1px solid rgba(0,0,0,0.08) !important;
        box-shadow: -8px 0 32px rgba(0,0,0,0.12) !important;
        opacity: 1 !important;
        visibility: visible !important;
        border-bottom: none !important;
    }

    .nav-menu.active {
        right: 0 !important;
    }

    .nav-menu .nav-link {
        color: #111111;
        font-size: 1.05rem;
        padding: 0.75rem 0.5rem;
        width: 100%;
        border-radius: 8px;
        white-space: normal;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: var(--accent-green);
        background: rgba(0,170,85,0.07);
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .floating-buttons {
        bottom: 1rem;
        right: 1rem;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .timeline-item {
        padding-left: 3rem;
    }

    /* Matrix section responsive tweaks */
    .matrix-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .mc-media {
        order: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mc-content {
        order: 2;
        text-align: center;
    }

    .mc-media img {
        max-width: 100%;
        height: auto;
    }

    .mc-progress {
        left: 50%;
        transform: translateX(-50%);
        bottom: 10px;
        width: 120px;
    }

    .page-hero {
        padding: 6rem 1.5rem 2.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    /* Extra small screens - tighten Matrix section spacing */
    .matrix-section {
        padding: 1.5rem 0 2rem;
    }

    .mc-content h2 {
        font-size: 1.375rem;
    }
}

/* ===== CHARGER SELECTOR ===== */
.selector-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.selector-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.selector-step {
    display: none;
    text-align: center;
}

.selector-step.active {
    display: block;
}

.selector-step h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.selector-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.selector-option {
    padding: 1rem 2rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 1.1rem;
}

.selector-option:hover,
.selector-option.active {
    border-color: var(--accent-green);
    background: var(--accent-green);
    color: var(--black);
}

.selector-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.selector-result {
    display: none;
    text-align: center;
}

.selector-result.active {
    display: block;
}

.selector-result h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

#recommendation {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

/* ===== PLACEMENT GUIDE ===== */
.placement-guide {
    background: var(--gradient-primary);
    padding: 4rem 0;
}

.placement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.placement-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.placement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.placement-icon {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.placement-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.placement-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.placement-card ul {
    text-align: left;
    color: var(--text-secondary);
}

.placement-card li {
    margin-bottom: 0.5rem;
}

.placement-tips {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.placement-tips h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tip i {
    color: var(--accent-green);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.tip p {
    color: var(--text-secondary);
    margin: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content p {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h5 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background: var(--gradient-primary);
    padding: 4rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i {
    color: var(--accent-green);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-light);
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-secondary);
    margin: 0;
}

.faq-item.active .faq-question {
    background: var(--bg-light);
}

/* ===== RESPONSIVE FOR NEW SECTIONS ===== */
@media (max-width: 768px) {
    .selector-container {
        padding: 2rem;
        margin: 0 1rem;
    }

    .selector-options {
        gap: 0.75rem;
    }

    .selector-option {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .placement-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .placement-card {
        padding: 1.5rem;
    }

    .placement-tips {
        padding: 1.5rem;
    }

    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.25rem;
    }
}

/* ===== CHARGING CALCULATOR ===== */
.calculator-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.calculator-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.calculator-result {
    display: none;
}

.result-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.result-card h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.result-value {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===== RESPONSIVE FOR CALCULATOR ===== */
@media (max-width: 768px) {
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .calculator-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ======================================================
   ADDITIONS — Full Responsiveness & Missing Features
   ====================================================== */

/* ── Skip to content (accessibility) ── */
.skip-link {
    position: absolute;
    top: -999px;
    left: 1rem;
    background: #00c853;
    color: #fff;
    padding: .55rem 1.1rem;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    font-size: .92rem;
    z-index: 99999;
    text-decoration: none;
    transition: top .15s;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* ── Focus-visible ring (keyboard users) ── */
:focus-visible {
    outline: 3px solid #00c853;
    outline-offset: 3px;
}
button:focus-visible,
a:focus-visible {
    border-radius: 4px;
}

/* ── Tablet grid (1024px) ── */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

/* ── Hero single-column at 900px ── */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr !important;
        min-height: auto;
        padding: 7rem 1.5rem 4rem;
    }
    .hero > *:last-child {
        display: none; /* hide hero image on tablet */
    }
}

/* ── Intermediate: 600px ── */
@media (max-width: 600px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .filter-buttons {
        gap: .65rem;
    }
    .filter-btn {
        padding: .6rem 1.2rem;
        font-size: .9rem;
    }
    .cta-section {
        padding: 3rem 1.25rem;
    }
    .page-hero {
        padding: 5.5rem 1.25rem 2.5rem;
    }
    .page-hero h1 {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
    }
}

/* ── Very small: 380px ── */
@media (max-width: 380px) {
    :root { font-size: 13px; }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .modal-content {
        padding: 1.5rem 1rem;
    }
    .floating-buttons {
        bottom: .75rem;
        right: .75rem;
    }
    .floating-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

/* ── Images: always responsive ── */
img {
    max-width: 100%;
    height: auto;
}

/* ── Prevent horizontal scroll ── */
html, body {
    overflow-x: hidden;
}

/* ── Section images responsive ── */
.section img,
.card img,
.about-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

/* ── Contact info link colours ── */
.contact-info a {
    color: rgba(255,255,255,.8);
    display: inline;
    font-size: .9375rem;
}
.contact-info a:hover {
    color: var(--accent-green);
}

/* ── Footer social icons ── */
.footer-social {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.75);
    margin-bottom: 0 !important;
    font-size: .9rem;
    transition: background .2s, color .2s, transform .2s;
}
.footer-social a:hover {
    background: var(--accent-green);
    color: #fff;
    transform: translateY(-3px);
}

/* ── Gallery: smaller min-width on phones ── */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 601px) and (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Form: full-width on mobile ── */
@media (max-width: 600px) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* prevent iOS zoom */
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ── Testimonials: min-width fix ── */
@media (max-width: 600px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Timeline: mobile ── */
@media (max-width: 480px) {
    .timeline-item {
        padding-left: 2.5rem;
    }
    .timeline-item::before {
        width: 14px;
        height: 14px;
    }
    .timeline-year {
        font-size: 1rem;
    }
}

/* ── Map iframe responsive ── */
iframe {
    max-width: 100%;
}
@media (max-width: 600px) {
    .map-wrapper iframe {
        height: 340px;
    }
}

/* ── Selector container mobile ── */
@media (max-width: 480px) {
    .selector-container {
        padding: 1.5rem 1rem;
        margin: 0 .5rem;
    }
}

/* ── Print styles ── */
@media print {
    .header,
    .floating-buttons,
    .scroll-progress,
    .mobile-toggle,
    .skip-link,
    .footer-social,
    iframe {
        display: none !important;
    }
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    a {
        color: #000;
        text-decoration: underline;
    }
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: .8em;
        color: #555;
    }
    .container {
        max-width: 100%;
        padding: 0;
    }
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr !important;
    }
    .footer {
        background: #fff;
        color: #000;
        border-top: 1px solid #ccc;
        padding: 1rem 0;
    }
    .footer h3, .footer a, .footer p {
        color: #000 !important;
    }
    .page-hero {
        padding: 2rem 0 1rem;
    }
}
