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

:root {
    --color-bg: #ffffff;
    --color-bg-alt: #faf9f7;
    --color-bg-dark: #1a1a2e;
    --color-bg-dark-light: #232340;
    --color-primary: #e85d4a;
    --color-primary-light: #f07060;
    --color-primary-dark: #d14836;
    --color-accent: #e85d4a;
    --color-text: #374151;
    --color-text-muted: #6b7280;
    --color-text-heading: #1e1e2e;
    --color-border: #e5e7eb;
    --color-border-dark: #2d2d45;
    --color-surface: #f3f4f6;
    --color-white: #ffffff;
    --font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --max-width: 1200px;
    --header-height: 72px;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.08), 0 12px 40px rgba(0, 0, 0, 0.1);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

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

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

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

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

/* === Header === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-dark);
    z-index: 1000;
    transition: all var(--transition);
}

.header.scrolled {
    background: var(--color-white);
    border-bottom-color: var(--color-border);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.header.scrolled .logo {
    color: var(--color-text-heading);
}

.header.scrolled .logo-text-bottom {
    color: var(--color-primary);
}

.header.scrolled .logo-text-top {
    opacity: 0.5;
}

.header.scrolled .nav a {
    color: var(--color-text-muted);
}

.header.scrolled .nav a:hover,
.header.scrolled .nav a.active {
    color: var(--color-text-heading);
}

.header.scrolled .nav-toggle span {
    background: var(--color-text-heading);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
    font-family: 'Space Grotesk', var(--font-family);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.logo:hover {
    color: inherit;
}

.logo:hover .logo-icon {
    transform: scale(1.04);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text-top {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.6;
}

.logo-text-bottom {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-primary-light);
}

.logo-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.logo-icon-bg {
    fill: var(--color-primary);
}

.logo-icon-rack {
    fill: rgba(255, 255, 255, 0.95);
}

.logo-icon-led {
    fill: #fff;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--color-white);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.nav-cta {
    color: var(--color-primary) !important;
    font-weight: 700 !important;
}

.nav-cta::after {
    background: var(--color-primary);
    width: 100% !important;
    opacity: 0.4;
}

.header.scrolled .nav-cta {
    color: var(--color-primary) !important;
}

.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(--color-white);
    transition: all var(--transition);
}

/* === Hero (stays dark) === */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #1a1a2e 0%, #232340 50%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 800px 600px at 20% 50%, rgba(232, 93, 74, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 600px 400px at 80% 30%, rgba(232, 93, 74, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-content {
    position: relative;
    max-width: 720px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--color-primary-light);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

/* === Hero Pricing (dark context) === */
.hero-pricing {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.hero-pricing-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary-light);
    margin-bottom: 20px;
}

.hero-price-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-price-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition);
    position: relative;
}

.hero-price-card:hover {
    border-color: var(--color-primary);
    background: rgba(232, 93, 74, 0.1);
    transform: translateX(4px);
}

.hero-price-card-featured {
    border-color: var(--color-primary);
    background: rgba(232, 93, 74, 0.08);
}

.hero-price-badge {
    position: absolute;
    top: -8px;
    right: 12px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 4px;
}

.hero-price-name {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.hero-price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
}

.hero-price-value small {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

.hero-pricing-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-pricing-cta {
    width: 100%;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(232, 93, 74, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

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

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

/* Light context button overrides */
.section .btn-secondary {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.section .btn-secondary:hover {
    background: var(--color-border);
    color: var(--color-text-heading);
}

/* === Sections === */
.section {
    padding: 100px 0;
}

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

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

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-heading);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-dark .section-title {
    color: var(--color-white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 56px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

/* === Services === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.service-card.featured {
    border-color: var(--color-primary);
    box-shadow: var(--shadow);
}

.service-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-icon {
    color: var(--color-primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text-heading);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 6px 0;
    color: var(--color-text);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--color-border);
}

.service-features li:last-child {
    border-bottom: none;
}

/* === Features (Miksi me) === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

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

.feature-icon {
    color: var(--color-primary);
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.section-dark .feature-icon {
    color: var(--color-primary-light);
}

.feature h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-heading);
    margin-bottom: 10px;
}

.section-dark .feature h3 {
    color: var(--color-white);
}

.feature p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.section-dark .feature p {
    color: rgba(255, 255, 255, 0.6);
}

/* === Pricing === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    box-shadow: var(--shadow);
}

.section-alt .pricing-card {
    background: var(--color-white);
}

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

.pricing-featured {
    border-color: var(--color-primary);
    transform: scale(1.04);
    box-shadow: var(--shadow-lg);
}

.pricing-featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 18px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-heading);
    margin-bottom: 16px;
}

.price {
    margin-bottom: 28px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-text-heading);
    line-height: 1;
}

.price-period {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.pricing-note {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* === Contact === */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-heading);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--color-text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(232, 93, 74, 0.12);
}

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

.form-group select {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--color-text);
    transition: border-color 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(232, 93, 74, 0.1);
}

.form-section-title {
    grid-column: 1 / -1;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-heading);
    padding-top: 20px;
    margin-bottom: -4px;
    border-top: 1px solid var(--color-border);
}

.form-section-title:first-child {
    border-top: none;
    padding-top: 0;
}

.checkbox-group {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-text);
    cursor: pointer;
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color 0.2s, background 0.2s;
    user-select: none;
}

.checkbox-label:hover {
    border-color: var(--color-primary-light);
    background: rgba(232, 93, 74, 0.03);
}

.checkbox-label:has(input:checked) {
    border-color: var(--color-primary);
    background: rgba(232, 93, 74, 0.06);
}

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

.unit-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 100px;
    gap: 12px;
    align-items: end;
}

.unit-row .form-group {
    margin: 0;
}

.unit-row input[type="number"] {
    text-align: center;
    -moz-appearance: textfield;
}

.unit-row input[type="number"]::-webkit-inner-spin-button {
    opacity: 1;
}

.btn-submit {
    grid-column: 1 / -1;
    margin-top: 4px;
}

.form-status {
    grid-column: 1 / -1;
    font-size: 0.95rem;
    padding: 8px 0;
}

.form-status.success {
    color: #059669;
}

.form-status.error {
    color: var(--color-primary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    color: var(--color-text-heading);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* === Footer (dark) === */
.footer {
    background: var(--color-bg-dark);
    border-top: none;
    padding-top: 56px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer .logo {
    color: var(--color-white);
    margin-bottom: 12px;
}

.footer .logo-text-bottom {
    color: var(--color-primary-light);
}

.footer .logo-icon {
    width: 32px;
    height: 32px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

.footer-links h4 {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    padding: 4px 0;
}

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

.footer-bottom {
    border-top: 1px solid var(--color-border-dark);
    padding: 20px 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    text-align: center;
}

/* === Services CTA === */
.services-cta {
    text-align: center;
    margin-top: 32px;
    padding: 20px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1.05rem;
}

.services-cta a {
    font-weight: 600;
}

/* === Green Energy (simplified) === */
.section-green {
    background: linear-gradient(175deg, #ecfdf5 0%, #d1fae5 40%, #ecfdf5 100%);
    position: relative;
    overflow: hidden;
}

.section-green::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--color-bg-alt);
    clip-path: ellipse(55% 100% at 50% 0%);
    z-index: 1;
}

.section-green::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 30%, rgba(5, 150, 105, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(5, 150, 105, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.section-green > .container,
.section-green > .illustration-right {
    position: relative;
    z-index: 2;
}

.green-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.green-decoration svg {
    width: 100%;
    height: 100%;
}

.section-green > .green-decoration {
    z-index: 1;
}

.green-energy {
    max-width: 800px;
    margin: 0 auto;
}

.green-energy-content {
    text-align: center;
}

.green-badge {
    display: inline-block;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    border: 1px solid #a7f3d0;
}

.green-energy h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-heading);
    margin-bottom: 20px;
}

.green-energy p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.green-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 32px;
}

.green-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #059669;
    font-weight: 600;
    font-size: 0.95rem;
}

.green-stat svg {
    color: #059669;
}

/* === Tech Grid === */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tech-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
}

.tech-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-heading);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
}

.tech-card ul {
    list-style: none;
}

.tech-card li {
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    position: relative;
    padding-left: 16px;
}

.tech-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--color-primary-light);
    border-radius: 50%;
}

/* === Pricing 4-column === */
.pricing-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.pricing-custom {
    border-style: dashed;
    border-color: var(--color-primary);
}

.price-amount-custom {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    margin: 12px 0 8px;
}

@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .tech-grid,
    .pricing-grid-4 {
        grid-template-columns: 1fr;
    }

    .green-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .green-energy h2 {
        font-size: 1.75rem;
    }
}

/* === Konesali Page === */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-dark-light) 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.page-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
}

.specs-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.spec-highlight {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px 20px;
    box-shadow: var(--shadow);
}

.spec-highlight-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.spec-highlight-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.spec-section {
    max-width: 800px;
    margin: 0 auto;
}

.spec-section-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 32px;
}

.spec-section-icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.spec-section-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-text-heading);
    margin-bottom: 8px;
}

.section-dark .spec-section-header h2 {
    color: var(--color-white);
}

.spec-section-header p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

.section-dark .spec-section-header p {
    color: rgba(255, 255, 255, 0.65);
}

.section-dark .spec-section-icon {
    color: var(--color-primary-light);
}

.spec-intro {
    color: var(--color-text-body);
    line-height: 1.75;
    max-width: 800px;
    margin-bottom: 30px;
    font-size: 0.98rem;
}

.section-dark .spec-intro {
    color: rgba(255, 255, 255, 0.75);
}

.section-green .spec-intro {
    color: var(--color-text-body);
}

.spec-table {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.spec-table tr {
    border-bottom: 1px solid var(--color-border);
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table td {
    padding: 16px 20px;
    font-size: 0.95rem;
    color: var(--color-text);
    vertical-align: top;
}

.spec-label {
    font-weight: 600;
    color: var(--color-text-heading);
    width: 200px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .specs-overview {
        grid-template-columns: repeat(2, 1fr);
    }

    .spec-section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .spec-label {
        width: auto;
        white-space: normal;
        display: block;
        padding-bottom: 4px;
    }

    .spec-table td {
        display: block;
        padding: 8px 16px;
    }

    .spec-table tr {
        padding: 8px 0;
    }

    .spec-table td:first-child {
        padding-bottom: 0;
    }
}

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

/* === FAQ === */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--transition);
    box-shadow: var(--shadow);
}

.section-dark .faq-item {
    background: var(--color-bg-dark-light);
    border-color: var(--color-border-dark);
}

.faq-item:hover {
    border-color: var(--color-primary);
}

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

.section-dark .faq-question {
    color: var(--color-white);
}

.faq-question svg {
    flex-shrink: 0;
    color: var(--color-text-muted);
    transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer.open {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.section-dark .faq-answer p {
    color: rgba(255, 255, 255, 0.6);
}

/* === Hero Illustration === */
.hero-illustration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-illustration svg {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 650px;
    height: 550px;
    opacity: 1;
}

/* LED blink animations */
@keyframes ledBlink {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.2; }
}

@keyframes ledBlinkSlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.15; }
}

@keyframes dataFlow {
    0% { transform: translateX(0); opacity: 0.6; }
    50% { opacity: 0.9; }
    100% { transform: translateX(80px); opacity: 0; }
}

@keyframes dataFlowReverse {
    0% { transform: translateX(0); opacity: 0.4; }
    50% { opacity: 0.7; }
    100% { transform: translateX(-80px); opacity: 0; }
}

.led-blink {
    animation: ledBlink 2s ease-in-out infinite;
}

.led-blink-slow {
    animation: ledBlinkSlow 3.5s ease-in-out infinite;
}

.data-flow {
    animation: dataFlow 4s ease-in-out infinite;
}

.data-flow-reverse {
    animation: dataFlowReverse 5s ease-in-out infinite;
}

/* === Section Decorations === */
.section-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.section-decoration svg {
    width: 100%;
    height: 100%;
}

.section-dark {
    position: relative;
    overflow: hidden;
}

/* === Blueprint Decoration === */
.section-with-illustration {
    position: relative;
    overflow: hidden;
}

.blueprint-decoration {
    position: absolute;
    top: 0;
    right: -40px;
    width: 300px;
    height: 100%;
    pointer-events: none;
    opacity: 0.6;
}

.blueprint-decoration svg {
    width: 100%;
    height: 100%;
}

/* === Section Illustrations === */
.illustration-left,
.illustration-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 220px;
    pointer-events: none;
    z-index: 0;
}

.illustration-left {
    left: 0;
}

.illustration-right {
    right: 0;
}

.illustration-left svg,
.illustration-right svg {
    width: 100%;
    height: 100%;
}

/* === Calculator Layout === */

.calculator-form {
    min-width: 0;
}

.calculator-form .form-section-title {
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    margin-top: 24px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text-heading);
}

.calculator-form .form-section-title:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

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

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

.calculator-form .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}


.price-calculator {
    background: var(--color-dark);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 20px;
}

.price-calculator h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    margin-bottom: 10px;
}

.calculator-total {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}

.calculator-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: 'Space Grotesk', sans-serif;
}

.calculator-period {
    font-size: 1.1rem;
    opacity: 0.6;
}

.calculator-vat {
    font-size: 0.8rem;
    opacity: 0.5;
    margin-bottom: 20px;
}

.calculator-breakdown {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
}

.calculator-empty {
    font-size: 0.88rem;
    opacity: 0.5;
    font-style: italic;
}

.calc-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.calc-line span:first-child {
    opacity: 0.8;
}

.calc-line span:last-child {
    font-weight: 600;
    color: var(--color-primary);
}

.calculator-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    background: rgba(240,112,96,0.1);
    border-radius: var(--radius);
    font-size: 0.8rem;
    line-height: 1.4;
}

.calculator-note svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--color-primary);
}

.calculator-contact {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.calculator-contact h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--color-text-heading);
}

.calculator-contact p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.calculator-email {
    display: block;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.calculator-address {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

/* Expand form button */
.btn-expand-form {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    margin: 8px 0 24px;
    background: var(--color-bg-alt);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}
.btn-expand-form:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(240, 112, 96, 0.04);
}
.btn-expand-form .btn-expand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.btn-expand-form.expanded .btn-expand-icon {
    transform: rotate(180deg);
}

/* Form details (expandable) */
.form-details {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Calculator sidebar: hidden by default, shown when expanded */
.calculator-sidebar {
    display: none;
}
.calculator-sidebar.visible {
    display: block;
    position: sticky;
    top: 100px;
}

/* When sidebar not visible, form takes full width */
.calculator-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}
.calculator-layout:has(.calculator-sidebar.visible) {
    grid-template-columns: 1fr 360px;
}

@media (max-width: 900px) {
    .calculator-layout,
    .calculator-layout:has(.calculator-sidebar.visible) {
        grid-template-columns: 1fr;
    }
    .calculator-sidebar {
        position: static;
        order: -1;
    }
    .calculator-sidebar.visible {
        display: block;
    }
}

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

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

/* === Responsive === */
@media (max-width: 1024px) {
    .hero-illustration svg {
        width: 400px;
        right: -100px;
        opacity: 0.5;
    }

    .blueprint-decoration,
    .illustration-left,
    .illustration-right {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .pricing-featured {
        transform: none;
    }

    .pricing-featured:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--color-border);
        font-size: 1.05rem;
        color: var(--color-text);
    }

    .nav a:hover {
        color: var(--color-primary);
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .nav a::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .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-illustration {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-stats {
        gap: 24px;
    }

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

    .section {
        padding: 64px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

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

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

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat {
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }
}
