/* ============================================
   Etna Therm — Midnight & Fire Design System
   Dark Luxury Tech | Responsive | Animated
   ============================================ */

/* ── CSS Custom Properties ─────────────────── */
:root {
    --bg-primary: #09090B;
    --bg-secondary: #121214;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-glass: rgba(255, 255, 255, 0.08);
    
    --accent-primary: #FF6A3D;
    --accent-secondary: #E8941A;
    --accent-gradient: linear-gradient(135deg, #FF6A3D, #E8941A);
    
    --text-primary: #FFFFFF;
    --text-secondary: #B6BDC5;
    --text-muted: rgba(255, 255, 255, 0.5);
    
    --font-heading: 'Unbounded', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --shadow-glow: 0 0 40px rgba(255, 106, 61, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset & Base ─────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

/* ── Smoke Canvas Background ─────────────── */
#smoke-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

/* ── Container ───────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ──────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 16px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

/* ── Buttons ─────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 106, 61, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1rem;
}

/* ── Glassmorphism Card ─────────────────── */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

/* ── Navigation ─────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 48px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-base);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent-gradient);
    color: white !important;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
}

.nav-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1002;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.nav-overlay.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
    border-radius: 2px;
}

/* ── Hero Section ───────────────────────── */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 40%, rgba(255, 106, 61, 0.18) 0%, transparent 60%),
                radial-gradient(ellipse at 75% 70%, rgba(232, 148, 26, 0.12) 0%, transparent 50%);
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-copy {
    max-width: 580px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    margin-bottom: 24px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin-bottom: 40px;
    padding: 0;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
}

.hero-pill-value {
    font-weight: 700;
    color: var(--accent-primary);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stage {
    position: relative;
    aspect-ratio: 4 / 5;
    max-width: 480px;
    width: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glow {
    position: absolute;
    inset: 10% 5%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 60%, rgba(255, 106, 61, 0.35) 0%, transparent 55%),
        radial-gradient(circle at 40% 50%, rgba(232, 148, 26, 0.2) 0%, transparent 50%);
    animation: hero-glow-pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes hero-glow-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.08); opacity: 1; }
}

.hero-stove {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 24px 64px rgba(255, 106, 61, 0.35));
    animation: hero-float 3s ease-in-out infinite;
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-fallback {
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-fallback:not([hidden]) {
    display: flex;
}

.hero-fallback-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 24px 64px rgba(255, 106, 61, 0.35));
}

/* ── Product Showcase Images ─────────────── */
.product-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.product-showcase-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    cursor: pointer;
}

.product-showcase-img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(255, 106, 61, 0.3);
}

/* ── Reviews Images ─────────────────────── */
.reviews-images {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.review-img {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 106, 61, 0.3);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.review-img:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 32px rgba(255, 106, 61, 0.4);
}

/* ── Stats Section ─────────────────────── */
.stats {
    padding: 80px 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 48px 24px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(255, 106, 61, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ── Features Section ───────────────────── */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.feature-card {
    padding: 40px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(255, 106, 61, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Coal Timer ─────────────────────────── */
.coal-timer {
    padding: 48px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.coal-timer h3 {
    text-align: center;
    margin-bottom: 32px;
    font-size: 1.5rem;
}

.timer-track {
    padding: 0 24px;
    margin-bottom: 32px;
}

#coalSlider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(90deg, #1a1a1a, var(--accent-primary));
    border-radius: 4px;
    outline: none;
}

#coalSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.timer-labels {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 12px;
}

.coal-visual {
    display: flex;
    justify-content: center;
    padding: 32px;
}

.coal-piece {
    width: 120px;
    height: 80px;
    background: #1a1a1a;
    border-radius: 50% 50% 40% 40%;
    transition: all 0.3s ease;
    box-shadow: inset 0 -20px 40px rgba(0,0,0,0.5);
}

/* ── Engineering Section ─────────────────── */
.engineering {
    padding: 100px 0;
}

.engineering-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.eng-card {
    padding: 48px 32px;
    text-align: center;
    transition: all var(--transition-base);
}

.eng-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.eng-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.eng-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.eng-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ── Calculator Section ─────────────────── */
.calculator {
    padding: 100px 0;
}

.calc-wrapper {
    padding: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.calc-form {
    display: grid;
    gap: 32px;
    margin-bottom: 48px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.form-group input[type="range"] {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
}

.form-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent-primary);
    border-radius: 50%;
    cursor: pointer;
}

.range-value {
    display: block;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-top: 8px;
}

.calc-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.result-card {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

.result-card.highlight {
    background: linear-gradient(135deg, rgba(255, 106, 61, 0.2), rgba(232, 148, 26, 0.1));
    border: 1px solid rgba(255, 106, 61, 0.3);
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.result-value {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Reviews Section ───────────────────── */
.reviews {
    padding: 100px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    padding: 40px;
    transition: all var(--transition-base);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.review-stars {
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.review-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.review-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author strong {
    display: block;
    font-size: 0.95rem;
}

.review-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ── FAQ Section ───────────────────────── */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-align: left;
    cursor: pointer;
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-arrow {
    font-size: 1.5rem;
    transition: transform var(--transition-base);
}

.faq-item.active .faq-arrow {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Contact Form ─────────────────────── */
.contact {
    padding: 100px 0;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.contact-form .form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.contact-form input[type="text"],
.contact-form input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    transition: all var(--transition-fast);
}

.contact-form input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 106, 61, 0.2);
}

.contact-form input::placeholder {
    color: var(--text-muted);
}

.checkboxes {
    margin-bottom: 32px;
    border: none;
    padding: 0;
}

.checkboxes legend {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-primary);
}

/* ── Footer ───────────────────────────── */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-copy {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links-centered {
    justify-content: center;
    margin-bottom: 16px;
}

/* ── Telegram Button ───────────────────── */
.telegram-btn {
    position: fixed;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    right: calc(24px + env(safe-area-inset-right, 0px));
    width: 60px;
    height: 60px;
    background: #229ED9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(34, 158, 217, 0.4);
    transition: all var(--transition-base);
    z-index: 999;
}

.telegram-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(34, 158, 217, 0.5);
}

/* ── WhatsApp Button ───────────────────── */
.whatsapp-btn {
    position: fixed;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    right: calc(24px + env(safe-area-inset-right, 0px));
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-base);
    z-index: 999;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ── Animations ───────────────────────── */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ── Responsive Design ─────────────────── */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 88vw);
        height: 100vh;
        height: 100dvh;
        background: rgba(9, 9, 11, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: calc(88px + env(safe-area-inset-top, 0px)) 24px calc(32px + env(safe-area-inset-bottom, 0px));
        gap: 8px;
        transition: right var(--transition-base);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-link,
    .nav-dropdown-link {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 8px 0;
    }

    .nav-cta {
        justify-content: center;
        min-height: 48px;
        margin-top: 8px;
    }

    .footer-links {
        justify-content: center;
        gap: 16px;
    }

    .page-hero {
        padding-top: calc(120px + env(safe-area-inset-top, 0px));
    }

    .product-page {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-copy {
        max-width: 640px;
        margin-inline: auto;
    }

    .hero-subtitle {
        margin-inline: auto;
    }

    .hero-pills {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stage {
        max-width: 400px;
    }

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

    .product-catalog-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-item-dropdown .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        margin-top: 8px;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.04);
    }

    .nav-item-dropdown.open .nav-dropdown {
        display: block;
    }
}

@media (max-width: 768px) {
    .stats-grid,
    .engineering-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .calc-results {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-stage {
        max-width: 320px;
    }
    
    .product-showcase {
        grid-template-columns: 1fr;
    }
    
    .reviews-images {
        gap: 8px;
    }
    
    .review-img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .stat-card,
    .feature-card,
    .eng-card,
    .review-card,
    .calc-wrapper,
    .contact-form {
        padding: 32px 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
    }

    .hero-stage {
        max-width: 280px;
    }
    
    .product-showcase-img {
        height: 200px;
    }
}

/* ── Nav Dropdown ───────────────────────── */
.nav-item-dropdown {
    position: relative;
}

.nav-link-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.7;
    transition: transform var(--transition-fast);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 240px;
    list-style: none;
    padding: 8px;
    margin: 0;
    background: rgba(18, 18, 20, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
    z-index: 1001;
}

/* Desktop: bridge gap + delayed close via .dropdown-active (JS) */
@media (min-width: 1025px) {
    .nav-item-dropdown::before {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 100%;
        width: max(100%, 260px);
        height: 18px;
        z-index: 1000;
    }

    .nav-dropdown {
        top: calc(100% + 6px);
    }

    .nav-item-dropdown:not(.dropdown-active):not(:hover) .nav-dropdown {
        transition-delay: 0.2s, 0.2s, 0.2s;
    }

    .nav-item-dropdown:hover .nav-dropdown,
    .nav-item-dropdown.dropdown-active .nav-dropdown,
    .nav-item-dropdown:focus-within .nav-dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
        transition-delay: 0s;
    }

    .nav-item-dropdown.dropdown-active .nav-caret,
    .nav-item-dropdown:hover .nav-caret {
        transform: rotate(180deg);
    }
}

.nav-dropdown-link {
    display: block;
    padding: 10px 14px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast), color var(--transition-fast);
}

@media (min-width: 1025px) {
    .nav-dropdown-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

.nav-dropdown-link:hover,
.nav-dropdown-link.active {
    color: var(--text-primary);
    background: rgba(255, 106, 61, 0.12);
}

/* ── Product Catalog & Pages ────────────── */
.product-catalog {
    padding: 80px 0;
}

.product-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.product-catalog-grid-home {
    grid-template-columns: repeat(3, 1fr);
}

.product-catalog-more,
.product-catalog-cta {
    text-align: center;
    margin-top: 40px;
}

.product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-primary);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.product-card:link,
.product-card:visited,
.product-card:hover,
.product-card:active {
    color: var(--text-primary);
    text-decoration: none;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(255, 106, 61, 0.25);
}

.product-card-image {
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card-image-icon {
    font-size: 4rem;
}

.product-card-body {
    padding: 24px;
}

.product-card-body h2,
.product-card-body h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.product-card-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.product-card-link {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.875rem;
}

.page-hero {
    padding: 140px 0 60px;
    text-align: center;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.15;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 640px;
    margin: 0 auto;
}

.product-page {
    padding-top: 80px;
}

.product-detail {
    padding: 60px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.product-detail-image {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 24px 64px rgba(255, 106, 61, 0.25));
}

.product-detail-icon {
    font-size: clamp(5rem, 12vw, 8rem);
    text-align: center;
    padding: 48px;
}

.product-lead {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.product-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.product-highlights li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.product-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-gradient);
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.product-specs,
.product-install,
.product-related {
    padding: 60px 0;
}

.spec-table-wrap {
    padding: 24px;
    overflow-x: auto;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th,
.spec-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-table th {
    width: 40%;
    color: var(--text-secondary);
    font-weight: 500;
}

.product-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.product-related-links a {
    padding: 10px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    transition: all var(--transition-fast);
}

.product-related-links a:hover {
    color: var(--accent-primary);
    border-color: rgba(255, 106, 61, 0.4);
}

.product-showcase a {
    display: block;
}

/* ── Performance & A11y ─────────────────── */
@media (max-width: 768px) {
    .glass,
    .hero-eyebrow,
    .hero-pill,
    .navbar.scrolled,
    .stat-card,
    .feature-card,
    .eng-card,
    .review-card,
    .calc-wrapper,
    .contact-form,
    .product-card,
    .info-resource-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .glass,
    .stat-card,
    .feature-card,
    .eng-card,
    .review-card,
    .calc-wrapper,
    .contact-form,
    .product-card,
    .info-resource-card {
        background: rgba(24, 24, 28, 0.95);
    }

    .product-catalog-grid-home {
        grid-template-columns: 1fr;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Product sticky CTA (mobile) ────────── */
.product-sticky-cta {
    display: none;
}

@media (max-width: 768px) {
    .product-sticky-cta {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 998;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        background: rgba(9, 9, 11, 0.96);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
    }

    .product-sticky-cta .btn {
        width: 100%;
        min-height: 48px;
    }

    body.has-sticky-cta .whatsapp-btn {
        bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    }

    body.has-sticky-cta .telegram-btn {
        bottom: calc(160px + env(safe-area-inset-bottom, 0px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-stove,
    .hero-glow,
    #smoke-canvas {
        animation: none !important;
    }

    .nav-menu,
    .nav-overlay {
        transition: none !important;
    }

    .fade-in-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 106, 61, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 106, 61, 0.5);
}

/* ── Selection ─────────────────────────── */
::selection {
    background: rgba(255, 106, 61, 0.3);
    color: white;
}

/* ── Content pages (documents, videos, references) ── */
.content-page {
    padding-bottom: 80px;
}

.content-section {
    padding: 0 0 80px;
}

.content-note,
.content-cta {
    text-align: center;
    margin-top: 40px;
    color: var(--text-secondary);
}

.content-note a,
.content-cta a {
    color: var(--accent-primary);
}

.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.doc-card {
    display: flex;
    flex-direction: column;
    padding: 32px;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.doc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 106, 61, 0.3);
}

.doc-card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.doc-card h2 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.doc-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex: 1;
    margin-bottom: 16px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.video-card {
    padding: 16px;
    overflow: hidden;
}

.video-card h2 {
    font-size: 1rem;
    margin-top: 16px;
    padding: 0 8px 8px;
}

.video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #000;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.references-intro {
    padding: 32px;
    margin-bottom: 32px;
    text-align: center;
}

.references-intro h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.references-intro p {
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.reference-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reference-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.reference-card footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reference-card footer span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ── Info resources (home) ──────────────── */
.info-resources {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(255, 106, 61, 0.04) 0%, transparent 100%);
}

.info-resources-grid {
    width: 100%;
}

.info-resource-card-media {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 106, 61, 0.14), rgba(232, 148, 26, 0.06));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-resource-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    font-size: 2rem;
    line-height: 1;
    border-radius: var(--radius-md);
    background: rgba(9, 9, 11, 0.55);
    border: 1px solid rgba(255, 106, 61, 0.35);
    color: var(--accent-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.info-resource-card .product-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.info-resource-card .product-card-body p {
    flex: 1;
}

.info-resource-card .product-card-link {
    margin-top: auto;
    padding-top: 8px;
}

/* ── Hurricane teaser (home) ────────────── */
.hurricane-teaser {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hurricane-teaser-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hurricane-teaser-media {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.hurricane-teaser-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-base);
}

.hurricane-teaser-media:hover img {
    transform: scale(1.03);
}

.catalog-category-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin: 48px 0 8px;
}

.catalog-category-title:first-of-type {
    margin-top: 0;
}

.catalog-category-desc {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.reviews-more {
    text-align: center;
    margin-top: 40px;
}

/* ── Nav dropdown groups ────────────────── */
.nav-dropdown-wide {
    min-width: 280px;
    max-height: min(70vh, 520px);
    overflow-y: auto;
}

.nav-dropdown-group {
    list-style: none;
    pointer-events: none;
}

.nav-dropdown-label {
    display: block;
    padding: 8px 14px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-primary);
}

.accessories-table-wrap {
    padding: 24px;
    overflow-x: auto;
}

@media (max-width: 1024px) {
    .hurricane-teaser-grid {
        grid-template-columns: 1fr;
    }

    .hurricane-teaser-copy {
        text-align: center;
    }

    .hurricane-teaser-copy .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
