/* --- CSS Variables & Reset --- */
:root {
    --primary: #0f172a;      /* Deep Slate */
    --accent: #06b6d4;       /* Cyan/Glass Blue */
    --accent-hover: #0891b2; 
    --light: #f8fafc;        /* Off-white background */
    --gray: #64748b;         /* Text gray */
    --white: #ffffff;
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --border-color: #e2e8f0;
    --input-bg: #ffffff;
    --hero-overlay-1: rgba(15,23,42,0.75);
    --hero-overlay-2: rgba(6,182,212,0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* --- Dark Theme --- */
body.dark-theme {
    --primary: #e2e8f0;      /* Light text */
    --accent: #ef4444;       /* Red accent */
    --accent-hover: #dc2626;
    --light: #0a0e1a;        /* Very dark blue background */
    --gray: #94a3b8;         /* Lighter gray for readability */
    --white: #0d1520;        /* Dark card/section bg */
    --card-bg: #111928;      /* Card background */
    --nav-bg: rgba(10, 14, 26, 0.95);
    --border-color: #1e293b;
    --input-bg: #1a2332;
    --hero-overlay-1: rgba(0, 0, 0, 0.8);
    --hero-overlay-2: rgba(220, 38, 38, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--primary); line-height: 1.6; background: var(--white); overflow-x: hidden; transition: background 0.4s ease, color 0.4s ease; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* --- Header & Navigation --- */
header {
    position: fixed; top: 0; width: 100%; background: var(--nav-bg);
    backdrop-filter: blur(12px); z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 1rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
}
.logo img { height: 50px; width: auto; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-weight: 500; font-size: 0.95rem; position: relative; transition: var(--transition); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--accent); transition: var(--transition);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

/* Social icons inside nav — hidden on desktop */
.nav-social-mobile { display: none; }

.lang-toggle { display: flex; gap: 0.5rem; font-weight: 600; font-size: 0.9rem; }
.lang-toggle span {
    cursor: pointer; padding: 0.3rem 0.7rem; border-radius: 6px;
    border: 1px solid var(--border-color); transition: var(--transition);
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}
.lang-toggle span.active { background: var(--accent); color: white; border-color: var(--accent); }
.lang-toggle span:hover:not(.active) { background: var(--light); }
.lang-toggle span:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }

/* --- Theme Toggle Button --- */
.theme-toggle {
    background: none; border: 1px solid var(--border-color);
    border-radius: 50%; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1.1rem; transition: var(--transition);
    color: var(--primary); flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}
.theme-toggle:hover {
    border-color: var(--accent); color: var(--accent);
    transform: rotate(15deg);
}
.theme-toggle:active {
    transform: scale(0.92);
}
.theme-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.hamburger span { width: 25px; height: 3px; background: var(--primary); transition: background 0.4s ease, transform 0.3s ease; border-radius: 2px; }

/* --- Social Header Icons --- */
.social-header {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    margin-right: 0.25rem;
}
.social-header a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--gray);
    transition: var(--transition);
    text-decoration: none;
}
.social-header a:hover {
    color: white;
    border-color: var(--accent);
    background: var(--accent);
}
body.dark-theme .social-header a:hover {
    background: #ef4444;
    border-color: #ef4444;
}

/* --- Hero Section --- */
.hero {
    height: 100vh; min-height: 600px;
    background: linear-gradient(135deg, var(--hero-overlay-1) 0%, var(--hero-overlay-2) 100%), 
                url('images/cover_installation.webp') center/cover no-repeat;
    display: flex; align-items: center; justify-content: center; text-align: center;
    color: white; padding: 0 2rem; position: relative;
    transition: background 0.6s ease;
}
.hero-content { max-width: 800px; animation: fadeInUp 1s ease-out; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 1.5rem; font-weight: 700; line-height: 1.2; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hero-content p { font-size: 1.25rem; margin-bottom: 2.5rem; opacity: 0.95; font-weight: 300; }

.btn {
    display: inline-block; padding: 0.9rem 2.5rem; background: var(--accent); color: white;
    border-radius: 50px; font-weight: 600; transition: var(--transition); border: none;
    cursor: pointer; font-size: 1rem; box-shadow: 0 4px 14px 0 color-mix(in srgb, var(--accent) 40%, transparent);
}
.btn:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 6px 20px 0 color-mix(in srgb, var(--accent) 60%, transparent); }

/* --- General Sections --- */
section { padding: 6rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 1rem; font-weight: 700; }
.section-subtitle { text-align: center; color: var(--gray); margin-bottom: 4rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.title-accent { display: block; width: 60px; height: 4px; background: var(--accent); margin: 1rem auto 0; border-radius: 2px; }

/* --- About Section --- */
#about { background: var(--white); transition: background 0.4s ease; }
.about-content { max-width: 850px; margin: 0 auto; text-align: center; font-size: 1.15rem; color: var(--gray); line-height: 1.8; }

/* --- Services Section --- */
#services { background: var(--light); transition: background 0.4s ease; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.service-card {
    background: var(--card-bg); border-radius: 16px; overflow: hidden;
    transition: var(--transition); box-shadow: var(--shadow);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-card .img-wrapper { height: 240px; overflow: hidden; position: relative; }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover img { transform: scale(1.08); }
.service-card-body { padding: 1.5rem 2rem 2rem; }
.service-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.service-card p { color: var(--gray); font-size: 0.95rem; }

/* --- Service Card Links --- */
a.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 16px;
    transition: var(--transition);
}
a.service-card-link:hover .service-card {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
a.service-card-link .service-card {
    transition: var(--transition);
}
a.service-card-link:hover .service-card img {
    transform: scale(1.08);
}

/* --- Products Subsection --- */
.products-subsection {
    margin-top: 5rem;
    padding-top: 2rem;
}
.subsection-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.subsection-intro {
    text-align: center;
    color: var(--gray);
    max-width: 850px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
    line-height: 1.8;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}
.product-category {
    background: var(--light);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.product-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.product-category h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}
.product-category ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.product-category li {
    font-size: 0.95rem;
    color: var(--gray);
    padding: 0.35rem 0 0.35rem 1.25rem;
    position: relative;
    line-height: 1.5;
}
.product-category li::before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}
body.dark-theme .product-category li::before {
    color: #ef4444;
}
body.dark-theme .product-category h4 {
    color: #ef4444;
}

/* --- Energy Glass Subsection --- */
.energy-subsection {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}
.energy-header {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}
.energy-img-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 300px;
}
.energy-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.energy-img-wrapper:hover img {
    transform: scale(1.05);
}
.energy-intro .subsection-title {
    text-align: left;
    margin-bottom: 1rem;
}
.energy-intro .title-accent {
    margin: 1rem 0 0 0;
}
.energy-intro p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 1.5rem;
}

.energy-specs {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
}
.specs-card {
    background: var(--light);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.specs-card:hover {
    box-shadow: var(--shadow-lg);
}
.specs-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--accent);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}
body.dark-theme .specs-card h4 {
    color: #ef4444;
}
.specs-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.specs-card li {
    font-size: 0.95rem;
    color: var(--gray);
    padding: 0.5rem 0 0.5rem 1.25rem;
    position: relative;
    line-height: 1.5;
}
.specs-card li::before {
    content: '→';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}
body.dark-theme .specs-card li::before {
    color: #ef4444;
}
.specs-card li strong {
    color: var(--primary);
}
.specs-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* Scroll hint gradient for better UX */
.specs-table-wrapper::before,
.specs-table-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.specs-table-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--card-bg), transparent);
}
.specs-table-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--card-bg), transparent);
}
.specs-table-wrapper.has-scroll-left::before { opacity: 1; }
.specs-table-wrapper.has-scroll-right::after { opacity: 1; }

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 100%; /* Start from full width */
}

/* Allow table to expand horizontally when needed, but cap at viewport */
.specs-table-wrapper {
    max-width: 100%;
}
.specs-table th {
    background: var(--accent);
    color: white;
    padding: 0.65rem 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    position: sticky;
    top: 0;
    z-index: 2;
}
body.dark-theme .specs-table th {
    background: #ef4444;
}

/* Sticky first column for better mobile readability */
.specs-table th:first-child,
.specs-table td:first-child {
    position: sticky;
    left: 0;
    background: var(--card-bg);
    z-index: 3;
    box-shadow: 2px 0 4px rgba(0,0,0,0.05);
    border-right: 1px solid var(--border-color);
}
body.dark-theme .specs-table th:first-child,
body.dark-theme .specs-table td:first-child {
    background: var(--card-bg);
}

.specs-table td {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--gray);
    font-size: 0.85rem;
}
.specs-table tr:hover td {
    background: color-mix(in srgb, var(--accent) 5%, transparent);
}
.specs-table tr:hover td:first-child {
    background: var(--card-bg);
}
.specs-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--gray);
    font-style: italic;
}

/* --- Energy Saving (Truths, Myths & Lies) --- */
.energy-saving-subsection {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}
.subsection-sub {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.truths-grid, .myths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.truth-card {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border-left: 4px solid transparent;
}
.truth-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.truth-card.truth {
    border-left-color: #22c55e;
}
.truth-card.myth {
    border-left-color: #ef4444;
}
.truth-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.truth-card.truth .truth-icon { color: #22c55e; }
.truth-card.myth .truth-icon { color: #ef4444; }
.truth-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.truth-card.truth h4 { color: #22c55e; }
.truth-card.myth h4 { color: #ef4444; }
.truth-card p {
    font-size: 0.92rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Ideal Choices */
.ideal-choices {
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--light);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.ideal-choices > h4 {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary);
}
.choices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.choice-card {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.choice-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.choice-badge {
    display: inline-block;
    padding: 0.35rem 1.25rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}
.choice-badge.eco { background: #22c55e; }
.choice-badge.mid { background: #f59e0b; }
.choice-badge.best { background: #ef4444; }
.choice-card p {
    font-size: 0.92rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.choice-card p strong {
    color: var(--accent);
    font-weight: 700;
}
body.dark-theme .choice-card p strong {
    color: #ef4444;
}
.choice-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.choice-stats span {
    background: var(--light);
    padding: 0.3rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    border: 1px solid var(--border-color);
}
body.dark-theme .choice-stats span {
    color: #ef4444;
}

/* --- Contact Section --- */
#contact { background: var(--white); transition: background 0.4s ease; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 2.5rem; padding-top: 1rem; }
.contact-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.contact-item .icon-box {
    width: 50px; height: 50px; background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; flex-shrink: 0; transition: background 0.4s ease, color 0.4s ease;
}
.contact-item h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.contact-item p { color: var(--gray); }

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; background: var(--light); padding: 3rem; border-radius: 16px; box-shadow: var(--shadow); transition: background 0.4s ease, box-shadow 0.4s ease; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-form input, .contact-form textarea {
    padding: 1rem 1.25rem; border: 1px solid var(--border-color); border-radius: 10px;
    font-family: inherit; font-size: 1rem; background: var(--input-bg); color: var(--primary); transition: var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}
.contact-form textarea { min-height: 150px; resize: vertical; }

/* --- Service Modal Popup --- */
.service-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease, background 0.4s ease;
}
.service-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.75);
}

.service-modal-card {
    background: var(--card-bg);
    border-radius: 20px;
    max-width: 550px;
    width: calc(100% - 2rem); /* Full width minus margins on all screens */
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    transform: translateY(40px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s ease;
    opacity: 0;
    position: relative;
    margin: 1rem;
}
.service-modal-overlay.active .service-modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 10px; right: 10px;
    background: rgba(0,0,0,0.55);
    border: none;
    color: white;
    font-size: 1.6rem;
    width: 42px; height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    z-index: 1;
    line-height: 1;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.modal-close:hover {
    background: var(--accent);
    transform: rotate(90deg);
}
body.dark-theme .modal-close:hover {
    background: #ef4444;
}
.modal-close:active {
    transform: scale(0.92);
}

.modal-img-wrapper {
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}
.modal-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 1.75rem 2rem 2rem;
    text-align: center;
}
.modal-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}
.modal-body p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.75rem;
    text-align: left;
}
.modal-body .btn {
    display: inline-block;
}

/* --- Footer --- */
footer { background: var(--primary); color: rgba(255,255,255,0.7); text-align: center; padding: 2.5rem; font-size: 0.9rem; transition: background 0.4s ease; }
footer a { color: var(--accent); }
body.dark-theme footer {
    background: #05080f;
    color: rgba(255,255,255,0.55);
}

/* --- Footer Social Icons --- */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
    text-decoration: none;
}
.footer-social a:hover {
    color: white;
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}
body.dark-theme .footer-social a:hover {
    background: #ef4444;
    border-color: #ef4444;
}

/* --- Animations --- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
    .energy-header { grid-template-columns: 1fr; gap: 2rem; }
    .energy-specs { grid-template-columns: 1fr; gap: 1.5rem; }
    .energy-img-wrapper { height: 220px; }
    .nav-links { gap: 1.5rem; }
}
@media (max-width: 768px) {
    /* --- Header --- */
    .hamburger { display: flex; }
    .nav-container { padding: 0.6rem 0.75rem; gap: 0.4rem; }
    .logo img { height: 34px; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--nav-bg); flex-direction: column; padding: 1.5rem; gap: 1.25rem;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1); border-top: 1px solid var(--border-color);
        max-height: 80vh; overflow-y: auto;
    }
    .nav-links.active { display: flex; }
    .nav-social-mobile {
        display: flex; justify-content: center; gap: 1rem;
        padding-top: 0.75rem; border-top: 1px solid var(--border-color);
        margin-top: 0.5rem; list-style: none;
    }
    .nav-social-mobile a {
        width: 38px; height: 38px; border-radius: 50%;
        border: 1px solid var(--border-color);
        display: flex; align-items: center; justify-content: center;
        font-size: 1rem; color: var(--gray);
        transition: var(--transition); text-decoration: none;
    }
    .nav-social-mobile a:hover {
        color: white; background: var(--accent); border-color: var(--accent);
    }
    body.dark-theme .nav-social-mobile a:hover {
        background: #ef4444; border-color: #ef4444;
    }
    .social-header { display: none; }
    .theme-toggle { width: 32px; height: 32px; font-size: 0.85rem; }
    .lang-toggle { font-size: 0.75rem; gap: 0.3rem; }
    .lang-toggle span { padding: 0.15rem 0.45rem; }
    .hamburger span { width: 20px; height: 2.5px; }

    /* --- General --- */
    .hero { min-height: 500px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
    section { padding: 4rem 1rem; }
    .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 0.95rem; margin-bottom: 2.5rem; }
    .page-hero { margin-top: 58px; min-height: 250px; }
    .page-hero h1 { font-size: 1.8rem; }
    .page-hero p { font-size: 1rem; }

    /* --- Services --- */
    .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .products-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

    /* --- Energy specs --- */
    .energy-img-wrapper { height: 180px; }
    .energy-intro p { font-size: 0.9rem; }
    .specs-card { padding: 1rem; }
    .specs-card h4 { font-size: 0.95rem; }
    .specs-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .specs-table { font-size: 0.75rem; table-layout: auto; }
    .specs-table th, .specs-table td { padding: 0.45rem 0.5rem; white-space: nowrap; }
    .specs-note { font-size: 0.8rem; }

    /* --- Truths / Myths --- */
    .truths-grid, .myths-grid { grid-template-columns: 1fr; gap: 1rem; }
    .truth-card { padding: 1.25rem; }
    .ideal-choices { padding: 1.5rem; }
    .choices-grid { grid-template-columns: 1fr; gap: 1rem; }

    /* --- Contact --- */
    .contact-form { padding: 1.5rem; }
    .contact-info { gap: 1.5rem; }

    /* --- Modal --- */
    .service-modal-card { 
        width: calc(100% - 1.5rem); 
        max-width: calc(100% - 1.5rem);
        max-height: 90vh; 
        margin: 0.75rem;
        border-radius: 14px; 
    }
    .modal-img-wrapper { height: 160px; border-radius: 14px 14px 0 0; }
    .modal-body { padding: 1rem 1.1rem 1.25rem; }
    .modal-body h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
    .modal-body p { font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.6; }
    .modal-close { 
        top: 6px; right: 6px; 
        width: 38px; height: 38px; 
        font-size: 1.4rem;
    }

    /* --- Footer --- */
    footer { padding: 2rem 1rem; }
    .footer-social a { width: 38px; height: 38px; font-size: 1rem; }
}
@media (max-width: 576px) {
    .nav-container { padding: 0.5rem 0.6rem; }
    .logo img { height: 30px; }
    .hero { min-height: 420px; }
    .hero-content h1 { font-size: 1.6rem; }
    .hero-content p { font-size: 0.9rem; }
    section { padding: 3rem 0.75rem; }
    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.9rem; }
    .page-hero h1 { font-size: 1.5rem; }
    .page-hero { min-height: 200px; }
    .products-grid { grid-template-columns: 1fr; gap: 0.75rem; }
    .services-grid { gap: 1rem; }
    .service-card .img-wrapper { height: 200px; }
    .service-card-body { padding: 1rem 1.25rem 1.25rem; }
    .service-card h3 { font-size: 1.1rem; }
    .energy-intro p { font-size: 0.85rem; }
    .specs-card { padding: 0.85rem; }
    .specs-card h4 { font-size: 0.85rem; margin-bottom: 0.8rem; }
    .specs-table { font-size: 0.65rem; }
    .specs-table th, .specs-table td { padding: 0.3rem 0.35rem; }
    .specs-note { font-size: 0.75rem; }
    .truth-card { padding: 1rem; }
    .choice-card { padding: 1.25rem; }
    .subsection-title { font-size: 1.4rem; }
    .service-modal-card { 
        width: calc(100% - 1rem); 
        max-width: calc(100% - 1rem);
        max-height: 92vh; 
        margin: 0.5rem;
        border-radius: 12px; 
    }
    .modal-img-wrapper { height: 150px; border-radius: 12px 12px 0 0; }
    .modal-body { padding: 0.85rem 1rem 1rem; }
    .modal-body h3 { font-size: 1rem; }
    .modal-body p { font-size: 0.85rem; }
}
@media (max-width: 400px) {
    .nav-container { padding: 0.45rem 0.45rem; gap: 0.25rem; }
    .logo img { height: 26px; }
    .theme-toggle { width: 28px; height: 28px; font-size: 0.75rem; }
    .lang-toggle { font-size: 0.65rem; gap: 0.2rem; }
    .lang-toggle span { padding: 0.1rem 0.3rem; }
    .hamburger span { width: 18px; height: 2px; }
    .hero-content h1 { font-size: 1.3rem; }
    .hero-content p { font-size: 0.85rem; }
    section { padding: 2.5rem 0.5rem; }
    .specs-card { padding: 0.7rem; }
    .specs-table { font-size: 0.55rem; }
    .specs-table th, .specs-table td { padding: 0.2rem 0.25rem; }
    .service-modal-card { 
        width: calc(100% - 0.75rem); 
        max-width: calc(100% - 0.75rem);
        max-height: 94vh; 
        margin: 0.375rem;
        border-radius: 10px; 
    }
    .modal-img-wrapper { height: 130px; border-radius: 10px 10px 0 0; }
    .modal-body { padding: 0.75rem 0.85rem 0.85rem; }
    .modal-body h3 { font-size: 0.95rem; }
    .modal-body p { font-size: 0.82rem; line-height: 1.55; }
}