/* ============================================
   3D Studio — Futurist Theme
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0d0d1a;
    --bg-card: rgba(15, 15, 30, 0.7);
    --bg-glass: rgba(0, 240, 255, 0.03);
    --accent: #00f0ff;
    --accent-dim: #00b8cc;
    --accent-glow: rgba(0, 240, 255, 0.15);
    --accent-blue: #4a90ff;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-muted: #606078;
    --border: rgba(0, 240, 255, 0.12);
    --border-strong: rgba(0, 240, 255, 0.25);
    --success: #00e676;
    --danger: #ff4757;
    --font-main: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 1px rgba(0, 240, 255, 0.1);
    --shadow-glow: 0 0 40px rgba(0, 240, 255, 0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 70px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    -webkit-text-size-adjust: 100%;
}

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

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--text-primary); }

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

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

/* --- Animated Background --- */
.mesh-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
    background-color: var(--bg-primary);
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        repeating-linear-gradient(45deg, rgba(0, 180, 255, 0.02) 0px, rgba(0, 180, 255, 0.02) 2px, transparent 2px, transparent 8px),
        repeating-linear-gradient(135deg, rgba(0, 220, 200, 0.02) 0px, rgba(0, 220, 200, 0.02) 2px, transparent 2px, transparent 12px);
    background-size: 60px 60px, 60px 60px, 80px 80px, 100px 100px;
    animation: driftMesh 30s linear infinite;
}

@keyframes driftMesh {
    0% { background-position: 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 120px 120px, 120px 120px, 160px 160px, 200px 200px; }
}

.mesh-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at 50% 30%, rgba(0, 240, 255, 0.03) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 80%, rgba(74, 144, 255, 0.02) 0%, transparent 40%),
                linear-gradient(180deg, transparent 0%, var(--bg-primary) 100%);
    pointer-events: none; z-index: 1;
}

/* --- 3D Wireframe Cube --- */
.scene-cube {
    perspective: 800px; width: 220px; height: 220px;
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    pointer-events: none; z-index: 2; opacity: 0.12; will-change: transform;
}

.cube {
    width: 100%; height: 100%; position: relative;
    transform-style: preserve-3d;
    animation: rotateWireframe 25s linear infinite;
}

.cube__face {
    position: absolute; width: 220px; height: 220px;
    border: 1.5px solid rgba(0, 240, 255, 0.6);
    background: rgba(0, 20, 40, 0.05);
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.cube__face::before {
    content: ""; position: absolute; top: 10%; left: 10%; width: 80%; height: 80%;
    border: 0.5px dashed rgba(0, 240, 255, 0.25);
}

.face-front  { transform: translateZ(110px); }
.face-back   { transform: rotateY(180deg) translateZ(110px); }
.face-right  { transform: rotateY(90deg) translateZ(110px); }
.face-left   { transform: rotateY(-90deg) translateZ(110px); }
.face-top    { transform: rotateX(90deg) translateZ(110px); }
.face-bottom { transform: rotateX(-90deg) translateZ(110px); }

@keyframes rotateWireframe {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

/* --- Animations --- */
@keyframes fadeSlideUp {
    0% { opacity: 0; transform: translateY(24px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-fade-in { animation: fadeSlideUp 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards; }
.delay-100 { animation-delay: 0.1s; opacity: 0; animation-fill-mode: forwards; }
.delay-200 { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; }
.delay-300 { animation-delay: 0.3s; opacity: 0; animation-fill-mode: forwards; }

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.15); }
    50% { box-shadow: 0 0 40px rgba(0, 240, 255, 0.25); }
}

/* --- Navigation --- */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000; padding: 0 24px;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: var(--nav-height);
}

.nav-logo {
    display: flex; align-items: center; gap: 12px;
    color: var(--text-primary); font-weight: 700; font-size: 1.2rem;
    text-decoration: none;
}

.nav-logo-img {
    width: 36px; height: 36px; object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.4));
}

.nav-logo-text {
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
    padding: 8px 16px; border-radius: var(--radius-sm);
    transition: all var(--transition); position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent); background: var(--accent-glow);
}

.lang-toggle {
    background: transparent; border: 1px solid var(--border-strong);
    color: var(--accent); padding: 6px 14px; border-radius: var(--radius-sm);
    font-family: var(--font-main); font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: all var(--transition);
}

.lang-toggle:hover { background: var(--accent-glow); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}

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

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
    position: relative; z-index: 10;
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: calc(var(--nav-height) + 40px) 24px 80px;
}

.hero-content {
    max-width: 800px; text-align: center;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; border-radius: 100px;
    background: var(--accent-glow); border: 1px solid var(--border-strong);
    color: var(--accent); font-size: 0.85rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 28px;
}

.hero-badge i { font-size: 0.9rem; animation: pulse-glow 3s ease-in-out infinite; }

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 700;
    line-height: 1.05; margin-bottom: 24px;
}

.text-glow {
    background: linear-gradient(135deg, var(--accent), var(--accent-blue), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.3));
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem); color: var(--text-secondary);
    line-height: 1.7; margin-bottom: 36px; max-width: 600px; margin-inline: auto;
}

.hero-ctas {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
    padding-top: 40px; border-top: 1px solid var(--border);
}

.stat { text-align: center; }

.stat-number {
    display: block; font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 700;
    color: var(--accent);
}

.stat-number span {
    font-size: 0.5em; color: var(--accent-dim);
}

.stat-label {
    font-size: 0.85rem; color: var(--text-muted); font-weight: 500;
}

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; border-radius: var(--radius-md);
    font-family: var(--font-main); font-size: 0.95rem; font-weight: 600;
    cursor: pointer; transition: all var(--transition);
    border: none; text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-blue));
    color: var(--bg-primary); box-shadow: 0 4px 20px rgba(0, 240, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.35);
    color: var(--bg-primary);
}

.btn-outline {
    background: transparent; color: var(--accent);
    border: 1.5px solid var(--border-strong);
}

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

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

/* --- Section Base --- */
.section {
    position: relative; z-index: 10;
    padding: 100px 0;
}

.section-dark {
    background: rgba(0, 0, 0, 0.3);
}

.section-header {
    text-align: center; margin-bottom: 60px;
}

.section-tag {
    display: inline-block; padding: 6px 18px; border-radius: 100px;
    background: var(--accent-glow); border: 1px solid var(--border);
    color: var(--accent); font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem); font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto;
}

/* --- Glass Cards --- */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
}

.glass-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-glow), var(--shadow-card);
    transform: translateY(-4px);
}

/* --- Services Grid --- */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px; margin-bottom: 60px;
}

.service-card {
    padding: 32px 28px; text-align: left;
}

.service-icon {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(74, 144, 255, 0.1));
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem; font-weight: 600; margin-bottom: 12px;
}

.service-card p {
    font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6;
    margin-bottom: 16px;
}

.service-features {
    list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
}

.service-features li {
    font-size: 0.8rem; padding: 4px 12px; border-radius: 100px;
    background: var(--accent-glow); border: 1px solid var(--border);
    color: var(--accent); font-weight: 500;
}

/* --- Materials --- */
.materials-section { text-align: center; }

.materials-title {
    font-size: 1.3rem; font-weight: 600; margin-bottom: 24px;
}

.materials-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}

.material-chip {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 100px;
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
    transition: all var(--transition);
}

.material-chip:hover {
    border-color: var(--border-strong); color: var(--text-primary);
    transform: translateY(-2px);
}

.material-dot {
    width: 10px; height: 10px; border-radius: 50%;
    display: inline-block;
}

/* --- Calculator --- */
.calculator-wrapper {
    padding: 0; overflow: hidden;
}

/* Calculator Inner Styles (injected from existing code, restyled) */
.calc-header {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(74, 144, 255, 0.08));
    padding: 24px; text-align: center;
    border-bottom: 1px solid var(--border);
}

.calc-header h3 {
    font-size: 1.3rem; font-weight: 600; margin-bottom: 4px;
}

.calc-header p {
    font-size: 0.85rem; color: var(--text-secondary);
}

.calc-controls {
    display: flex; justify-content: center; align-items: center; gap: 12px;
    flex-wrap: wrap; padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.15);
}

.calc-control-group {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 100px;
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
}

.calc-control-group label {
    font-size: 0.85rem; color: var(--text-secondary);
}

.calc-toggle-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-blue));
    color: var(--bg-primary); border: none;
    padding: 6px 16px; border-radius: 100px;
    font-family: var(--font-main); font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: all var(--transition);
}

.calc-toggle-btn:hover { opacity: 0.9; }

.calc-select, .calc-input-sm {
    background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border);
    color: var(--text-primary); padding: 6px 12px; border-radius: var(--radius-sm);
    font-family: var(--font-main); font-size: 0.85rem;
}

.calc-select:focus, .calc-input-sm:focus {
    outline: none; border-color: var(--accent);
}

.calc-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px;
}

.calc-section {
    background: rgba(255, 255, 255, 0.02); border-radius: var(--radius-md);
    padding: 24px; border: 1px solid var(--border);
}

.calc-section-title {
    font-size: 1.05rem; font-weight: 600; color: var(--accent);
    margin-bottom: 20px; padding-left: 12px;
    border-left: 3px solid var(--accent);
}

.calc-input-group {
    margin-bottom: 14px;
}

.calc-input-group label {
    display: block; font-size: 0.85rem; color: var(--text-secondary);
    font-weight: 500; margin-bottom: 6px;
}

.calc-input-group input,
.calc-input-group select {
    width: 100%; padding: 10px 14px; border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border);
    color: var(--text-primary); font-family: var(--font-main); font-size: 0.95rem;
    transition: border-color var(--transition);
}

.calc-input-group input:focus,
.calc-input-group select:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.calc-time-inputs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}

.calc-btn-reset {
    width: 100%; padding: 10px; border-radius: var(--radius-sm);
    background: transparent; border: 1px solid var(--border-strong);
    color: var(--accent); font-family: var(--font-main); font-size: 0.9rem;
    font-weight: 600; cursor: pointer; transition: all var(--transition);
    margin-top: 8px;
}

.calc-btn-reset:hover {
    background: var(--accent-glow);
}

/* Pricing Cards */
.calc-pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px; margin-top: 16px;
}

.calc-price-card {
    background: rgba(255, 255, 255, 0.04); border: 2px solid transparent;
    border-radius: var(--radius-md); padding: 14px 10px; text-align: center;
    cursor: pointer; transition: all var(--transition);
}

.calc-price-card:hover {
    border-color: var(--border-strong); transform: translateY(-2px);
}

.calc-price-card.selected {
    border-color: var(--accent); background: var(--accent-glow);
}

.calc-price-card.highlight {
    border-color: var(--danger); background: rgba(255, 71, 87, 0.05);
}

.calc-price-name { font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; }
.calc-price-value { font-size: 1.2rem; font-weight: 700; color: var(--accent); }
.calc-price-margin { font-size: 0.7rem; color: var(--text-muted); }
.calc-suggested-badge {
    background: var(--danger); color: white; font-size: 0.65rem;
    padding: 2px 8px; border-radius: 100px; display: inline-block; margin-top: 4px;
}

/* Breakdown */
.calc-breakdown-item {
    display: flex; justify-content: space-between; padding: 10px 0;
    border-bottom: 1px solid var(--border); font-size: 0.9rem;
}

.calc-breakdown-item span:last-child { font-weight: 600; }

.calc-breakdown-total {
    font-weight: 700 !important; font-size: 1.05rem;
    border-top: 2px solid var(--accent); margin-top: 8px; padding-top: 12px;
}

.calc-iva-note {
    font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 12px;
}

/* --- About Grid --- */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start;
}

.about-text {
    padding: 36px; line-height: 1.8;
}

.about-text p {
    color: var(--text-secondary); margin-bottom: 16px; font-size: 1.02rem;
}

.about-text p:last-child { margin-bottom: 0; }

.about-values {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}

.value-card {
    padding: 24px; text-align: center;
}

.value-icon {
    font-size: 1.5rem; color: var(--accent); margin-bottom: 12px;
    width: 48px; height: 48px; border-radius: var(--radius-md);
    background: var(--accent-glow); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
}

.value-card h4 {
    font-size: 1rem; font-weight: 600; margin-bottom: 8px;
}

.value-card p {
    font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5;
}

/* --- Contact Grid --- */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px;
}

.contact-info { padding: 32px; }

.contact-item {
    display: flex; gap: 16px; margin-bottom: 28px;
}

.contact-item:last-child { margin-bottom: 0; }

.contact-icon {
    width: 48px; height: 48px; border-radius: var(--radius-md);
    background: var(--accent-glow); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--accent); flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem; font-weight: 600; margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 4px;
}

.contact-link {
    font-size: 0.9rem; font-weight: 600;
}

/* --- Form --- */
.contact-form { padding: 32px; }

.form-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
    display: block; font-size: 0.85rem; font-weight: 500;
    color: var(--text-secondary); margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border);
    color: var(--text-primary); font-family: var(--font-main); font-size: 0.95rem;
    transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-group select { cursor: pointer; }

.form-group select option { background: var(--bg-primary); color: var(--text-primary); }

/* --- Footer --- */
.footer {
    position: relative; z-index: 10;
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

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

.footer-logo {
    display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}

.footer-logo-img { width: 32px; height: 32px; object-fit: contain; }

.footer-logo span {
    font-size: 1.1rem; font-weight: 700;
}

.footer-brand p {
    font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6;
}

.footer-links h4 {
    font-size: 0.9rem; font-weight: 600; margin-bottom: 16px;
    color: var(--accent);
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    font-size: 0.88rem; color: var(--text-secondary);
    transition: color var(--transition);
}

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

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 24px; border-top: 1px solid var(--border);
    font-size: 0.82rem; color: var(--text-muted);
}

.footer-version { color: var(--text-muted); }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    :root { --nav-height: 60px; }

    .nav-toggle { display: flex; }

    .nav-links {
        display: none; position: absolute; top: var(--nav-height); left: 0; right: 0;
        flex-direction: column; background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px); padding: 16px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open { display: flex; }

    .nav-link { padding: 12px 16px; width: 100%; }

    .lang-toggle { margin-top: 8px; width: 100%; text-align: center; }

    .hero-title { font-size: clamp(2rem, 9vw, 3rem); }

    .hero-stats { gap: 24px; }

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

    .calc-pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .calc-controls { flex-direction: column; }

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

    .about-values { grid-template-columns: 1fr 1fr; }

    .form-row { grid-template-columns: 1fr; }

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

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

    .scene-cube { width: 140px; height: 140px; opacity: 0.08; }

    .cube__face { width: 140px; height: 140px; }
    .face-front  { transform: translateZ(70px); }
    .face-back   { transform: rotateY(180deg) translateZ(70px); }
    .face-right  { transform: rotateY(90deg) translateZ(70px); }
    .face-left   { transform: rotateY(-90deg) translateZ(70px); }
    .face-top    { transform: rotateX(90deg) translateZ(70px); }
    .face-bottom { transform: rotateX(-90deg) translateZ(70px); }

    .section { padding: 60px 0; }

    .hero { padding: calc(var(--nav-height) + 24px) 16px 60px; }
}

@media (max-width: 480px) {
    .hero-stats { flex-direction: column; gap: 20px; }
    .hero-ctas { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .about-values { grid-template-columns: 1fr; }
    .calc-pricing-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Calculator mobile menu toggle --- */
.calc-menu-toggle {
    display: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-blue));
    color: var(--bg-primary); border: none;
    padding: 8px 16px; border-radius: 100px;
    font-family: var(--font-main); font-size: 0.85rem; font-weight: 600;
    cursor: pointer;
}

@media (max-width: 768px) {
    .calc-menu-toggle { display: inline-flex; }
    .calc-controls.collapsed { max-height: 0; overflow: hidden; padding: 0 24px; }
    .calc-controls { transition: max-height 0.3s ease; }
}

/* --- Scroll reveal --- */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1; transform: translateY(0);
}

/* --- Selection --- */
::selection {
    background: rgba(0, 240, 255, 0.3); color: white;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }