/* ============================================
   MIRA Sustainable Energy - Global Stylesheet
   Design System: Minimalist Industrial / Clean Energy
   Primary: #1a2430 (Deep Space Gray)
   Accent: #3483eb (Tech Blue)
   ============================================ */

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

:root {
    /* Colors */
    --color-dark: #1a2430;
    --color-dark-light: #2a3848;
    --color-accent: #3483eb;
    --color-accent-dark: #2870cc;
    --color-accent-light: #e8f2fe;
    --color-white: #ffffff;
    --color-bg: #f5f7fa;
    --color-bg-alt: #eef2f7;
    --color-text: #3a4a5c;
    --color-text-light: #6b7d8f;
    --color-border: #e0e6ed;
    --color-success: #22c55e;
    --color-warning: #f59e0b;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    /* Layout */
    --container-max: 1200px;
    --header-height: 72px;
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(26, 36, 48, 0.06);
    --shadow-md: 0 8px 24px rgba(26, 36, 48, 0.1);
    --shadow-lg: 0 16px 48px rgba(26, 36, 48, 0.15);
}

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

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

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

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

a:hover { color: var(--color-accent-dark); }

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

ul { list-style: none; }

/* ---- Container ---- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Section ---- */
.section {
    padding: var(--space-xl) 0;
}

.section--alt {
    background: var(--color-bg);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-lg);
}

.section-header .eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.0625rem;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--font-sans);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn--primary:hover {
    background: var(--color-accent-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(52, 131, 235, 0.3);
}

.btn--dark {
    background: var(--color-dark);
    color: var(--color-white);
}

.btn--dark:hover {
    background: var(--color-dark-light);
    color: var(--color-white);
    transform: translateY(-2px);
}

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

.btn--outline:hover {
    background: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-white);
}

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

.btn--outline-dark:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn--sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
}

.btn--lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* ---- Header / Navigation ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    transition: all var(--transition);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--color-border);
}

.header-inner {
    max-width: var(--container-max);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-dark);
    letter-spacing: -0.03em;
}

.logo:hover { color: var(--color-dark); }

.logo-mark {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent), var(--color-dark));
    border-radius: 8px;
    flex-shrink: 0;
}

.logo-mark svg {
    width: 22px;
    height: 22px;
}

.logo-text { line-height: 1; }
.logo-text span { color: var(--color-accent); }

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

.main-nav a {
    color: var(--color-text);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
}

.main-nav a:hover {
    color: var(--color-accent);
    background: var(--color-accent-light);
}

.main-nav a.active {
    color: var(--color-accent);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
}

.nav-cta {
    margin-left: 0.5rem;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

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

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- Hero Section ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-dark);
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(52, 131, 235, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(52, 131, 235, 0.08) 0%, transparent 50%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 2rem 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(52, 131, 235, 0.15);
    border: 1px solid rgba(52, 131, 235, 0.3);
    color: var(--color-accent);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero h1 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    color: var(--color-accent);
}

.hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat .num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
}

.hero-stat .label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.375rem;
}

/* ---- Page Header (sub pages) ---- */
.page-header {
    background: var(--color-dark);
    color: var(--color-white);
    padding: calc(var(--header-height) + 3rem) 0 4rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(52, 131, 235, 0.12) 0%, transparent 60%);
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
    max-width: 600px;
}

.breadcrumb {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

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

.breadcrumb span { color: rgba(255, 255, 255, 0.3); }

/* ---- Advantages Grid ---- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.advantage-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
}

.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-light);
    border-radius: 14px;
    color: var(--color-accent);
    transition: all var(--transition);
}

.advantage-card:hover .advantage-icon {
    background: var(--color-accent);
    color: var(--color-white);
}

.advantage-icon svg {
    width: 28px;
    height: 28px;
}

.advantage-card h4 {
    margin-bottom: 0.5rem;
}

.advantage-card p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ---- Product Cards ---- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

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

.product-visual {
    height: 220px;
    background: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(52, 131, 235, 0.2) 0%, transparent 70%);
}

.product-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

.product-visual svg {
    width: 80px;
    height: 80px;
    color: var(--color-accent);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 20px rgba(52, 131, 235, 0.4));
    transition: transform var(--transition);
}

.product-card:hover .product-visual svg {
    transform: scale(1.1);
}

.product-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    background: var(--color-accent-light);
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.product-body h3 {
    margin-bottom: 0.625rem;
}

.product-body > p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.product-features {
    margin-bottom: 1.5rem;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.product-features li::before {
    content: '';
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233483eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
}

.product-actions {
    margin-top: auto;
    display: flex;
    gap: 0.75rem;
}

/* ---- About Section ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-dark);
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(52, 131, 235, 0.25) 0%, transparent 60%),
        radial-gradient(circle at 70% 30%, rgba(52, 131, 235, 0.15) 0%, transparent 50%);
}

.about-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.about-visual-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.about-visual-content .big-num {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
}

.about-visual-content .big-num span {
    color: var(--color-accent);
}

.about-visual-content .desc {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    font-size: 0.9375rem;
}

.about-content .eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.about-content h2 { margin-bottom: 1.25rem; }

.about-content > p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.about-list {
    margin-bottom: 2rem;
}

.about-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.about-list li strong {
    color: var(--color-dark);
}

.about-list .check {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    background: var(--color-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.about-list .check svg {
    width: 14px;
    height: 14px;
}

/* ---- Stats Bar ---- */
.stats-bar {
    background: var(--color-dark);
    color: var(--color-white);
    padding: var(--space-lg) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item .num {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.stat-item .label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin-top: 0.5rem;
}

/* ---- Values Cards ---- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: all var(--transition);
}

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

.value-number {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.value-card h4 {
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ---- Timeline ---- */
.timeline {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline-item {
    position: relative;
    padding-left: 3.5rem;
    padding-bottom: 2.5rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: 12px;
    top: 4px;
    width: 18px;
    height: 18px;
    background: var(--color-white);
    border: 3px solid var(--color-accent);
    border-radius: 50%;
}

.timeline-year {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.375rem;
}

.timeline-item h4 {
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ---- CTA Section ---- */
.cta-section {
    background: var(--color-dark);
    color: var(--color-white);
    text-align: center;
    padding: var(--space-lg) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(52, 131, 235, 0.15) 0%, transparent 60%);
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
    max-width: 520px;
    margin: 0 auto 2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- Contact Section ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info-card {
    background: var(--color-dark);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(52, 131, 235, 0.15) 0%, transparent 50%);
}

.contact-info-card > * { position: relative; z-index: 1; }

.contact-info-card h3 {
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.contact-info-card > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.contact-info-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-info-list .icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(52, 131, 235, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.contact-info-list .icon svg {
    width: 22px;
    height: 22px;
}

.contact-info-list .label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.contact-info-list .value {
    color: var(--color-white);
    font-size: 0.9375rem;
    font-weight: 500;
    word-break: break-word;
}

.contact-info-list .value a {
    color: var(--color-white);
}

.contact-info-list .value a:hover {
    color: var(--color-accent);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.contact-form-wrapper h3 {
    margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.form-group label .required {
    color: #ef4444;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-accent);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(52, 131, 235, 0.1);
}

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

.form-group .error-msg {
    display: none;
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.375rem;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #ef4444;
}

.form-group.has-error .error-msg {
    display: block;
}

.form-success {
    display: none;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    color: #15803d;
    font-size: 0.9375rem;
}

.form-success.show { display: flex; gap: 0.5rem; align-items: flex-start; }

.form-note {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 0.75rem;
}

/* ---- Footer ---- */
.site-footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-lg) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}

.footer-social svg { width: 18px; height: 18px; }

.footer-col h5 {
    color: var(--color-white);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--color-accent);
}

.footer-contact li {
    display: flex;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

/* ---- GDPR Cookie Banner ---- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 1.25rem 0;
    z-index: 9999;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-text {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.cookie-text svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-accent);
}

.cookie-text a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* ---- Scroll to top ---- */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 900;
    box-shadow: var(--shadow-md);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--color-accent-dark);
    transform: translateY(-3px);
}

.scroll-top svg { width: 22px; height: 22px; }

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

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

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .about-visual { min-height: 300px; }

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }

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

    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 4rem;
        --space-lg: 3rem;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        padding: calc(var(--header-height) + 1rem) 1.5rem 2rem;
        gap: 0.25rem;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

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

    .main-nav a {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: var(--radius);
    }

    .main-nav a.active::after {
        display: none;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 0.75rem;
    }

    .nav-cta .btn {
        width: 100%;
    }

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

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

    .hero {
        min-height: 90vh;
    }

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

    .hero-stat .num {
        font-size: 1.5rem;
    }

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

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

    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }

    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 42px;
        height: 42px;
    }
}

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

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

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

    .hero-actions .btn {
        width: 100%;
    }

    .contact-form-wrapper,
    .contact-info-card {
        padding: 1.5rem;
    }
}
