/* CSS Variables */
:root {
    --primary: #D97706;
    --primary-rgb: 217, 119, 6;
    --primary-hover: #b45309;
    --text-dark: #212121;
    --text-dark-rgb: 33, 33, 33;
    --form-bg: #2a2a2a;
    --text-muted: #64748b;
    --bg-main: #f2f2f2;
    --bg-white: #fff;
    --border-light: #e2e8f0;
    --border-dark: #cbd5e1;
    --radius: 4px;
    --transition: all 0.3s ease;
    --shadow: 0 10px 25px rgba(var(--text-dark-rgb), 0.1);
    --shadow-hover: 0 20px 40px -5px rgba(var(--text-dark-rgb), 0.15);
    --badge-color: #ef4444;
    --badge-bg: #fef2f2;
    --badge-font: 12px;
}

.input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 1px #ef4444 !important;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-5px);
    }

    40% {
        transform: translateX(5px);
    }

    60% {
        transform: translateX(-5px);
    }

    80% {
        transform: translateX(5px);
    }
}

/* Basic & Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--text-dark);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
    background-color: var(--bg-main);
    padding-top: 80px;
}

h1,
h2,
h3,
h4,
.logo,
.section-title,
.calc-result-value,
.counter,
.faq-question,
.tech-item,
.footer-heading,
.trusted-title,
.trusted-logo,
.form-title {
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.site-header {
    padding: 24px 0;
    background-color: transparent;
    transition: var(--transition);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.site-header.scrolled {
    background-color: rgba(242, 242, 242, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 101;
    text-transform: uppercase;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    transition: var(--transition);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lang-dropdown {
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    padding: 8px 0;
}

.lang-btn:hover {
    opacity: 0.8;
}

.lang-btn iconify-icon {
    font-size: 18px;
}

.lang-btn .lang-arrow {
    font-size: 16px;
    margin-left: -2px;
    transition: transform 0.3s ease;
}

.lang-dropdown.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(var(--text-dark-rgb), 0.1);
    list-style: none;
    min-width: 80px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 8px 0;
    z-index: 100;
}

.lang-dropdown.active .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.lang-menu a:hover {
    background: #f8fafc;
    color: var(--primary);
}

.lang-menu a.active {
    color: var(--text-dark);
    font-weight: 800;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 101;
}

/* Hero */
.hero {
    padding: 0;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-main) url('HeroPicture.webp') no-repeat center right;
    background-size: cover;
    width: 100%;
    min-height: 550px;
    max-width: 1440px;
    margin: 0 auto;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(242, 242, 242, 1) 0%, rgba(242, 242, 242, 0.95) 25%, rgba(242, 242, 242, 0) 55%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-content {
    max-width: 640px;
}

.hero-pre-title {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 20px;
    background: rgba(var(--primary-rgb), 0.12);
    padding: 6px 12px;
    border-radius: var(--radius);
}

.hero-title {
    font-size: 62px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    margin-bottom: 28px;
    text-wrap: balance;
}

.hero-description {
    font-size: 20px;
    color: #475569;
    margin-bottom: 48px;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 0 10px rgba(242, 242, 242, 1), 0 0 20px rgba(242, 242, 242, 0.8), 0 0 30px rgba(242, 242, 242, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* ===== Privacy Policy Modal ===== */
.footer-privacy-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
    padding: 0;
}

.footer-privacy-btn:hover {
    color: var(--primary);
    text-decoration-color: var(--primary);
}

#privacy-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(var(--text-dark-rgb), 0.62);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#privacy-modal.active {
    display: flex;
    opacity: 1;
}

#privacy-modal.fade-out {
    opacity: 0;
}

.modal-privacy {
    position: relative;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(var(--text-dark-rgb), 0.22);
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    /* Override inherited .modal-content styles */
    padding: 0 !important;
    text-align: left !important;
}

#privacy-modal.active .modal-privacy {
    transform: translateY(0) !important;
}

.modal-privacy h3#privacy-modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    padding: 28px 52px 16px 28px;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
    line-height: 1.35;
}

.privacy-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 24px 28px;
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.75;
    scroll-behavior: smooth;
}

.privacy-body::-webkit-scrollbar {
    width: 6px;
}

.privacy-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.privacy-body::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border-radius: 3px;
}

.privacy-body::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.privacy-body h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    margin: 20px 0 8px;
}

.privacy-body h4:first-child {
    margin-top: 0;
}

.privacy-body p {
    margin-bottom: 10px;
    color: #334155;
}

.privacy-body ul {
    padding-left: 20px;
    margin-bottom: 10px;
}

.privacy-body ul li {
    margin-bottom: 4px;
    color: #334155;
}

.privacy-footer {
    flex-shrink: 0;
    padding: 16px 28px 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: center;
}

.privacy-footer .btn {
    min-width: 140px;
}






/* --- END OF CRITICAL.CSS --- */
/* Basic & Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--text-dark);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
    background-color: var(--bg-main);
    padding-top: 80px;
}

footer {
    flex-shrink: 0;
}

h1,
h2,
h3,
h4,
.logo,
.section-title,
.calc-result-value,
.counter,
.faq-question,
.tech-item,
.footer-heading,
.trusted-title,
.trusted-logo,
.form-title {
    font-family: 'Montserrat', sans-serif;
}

/* Layout & Utilities */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.bg-white {
    background-color: var(--bg-white);
}

.d-none {
    display: none !important;
}

.w-full {
    width: 100%;
}

.mt-32 {
    margin-top: 32px;
}

.flex-between-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-primary {
    color: var(--primary);
}

.flex-center {
    display: flex;
    align-items: center;
}

.gap-2 {
    gap: 8px;
}

.opt-box-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.opt-box-left iconify-icon {
    font-size: 20px;
    color: var(--primary);
    opacity: 0.8;
}

/* Scrollbar & Progress */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background-color: #94a3b8;
    border-radius: 10px;
    border: 2px solid var(--bg-main);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-muted);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--primary);
    z-index: 1000;
    transition: width 0.1s ease-out;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 8px 20px -6px rgba(var(--primary-rgb), 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 12px 24px -8px rgba(var(--primary-rgb), 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--border-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.btn-secondary:hover {
    background-color: #f8fafb;
    border-color: #94a3b8;
}

.btn-outline-dark {
    background: transparent;
    color: #94a3b8;
    border: 1px solid #334155;
    width: 100%;
    margin-top: 32px;
    transition: var(--transition);
}

.btn-outline-dark:hover {
    color: var(--bg-white);
    border-color: #475569;
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
    padding: 14px 28px;
    font-size: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-outline:hover {
    background: var(--text-dark);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(var(--text-dark-rgb), 0.1);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    background-color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.btn-secondary .ripple {
    background-color: rgba(var(--text-dark-rgb), 0.1);
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background-color: rgba(var(--text-dark-rgb), 0.9);
    backdrop-filter: blur(8px);
    color: var(--bg-white);
    border: none;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body:has(.sticky-calc-bar.active) .back-to-top {
    bottom: 100px;
}

.back-to-top:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* Header */
.site-header {
    padding: 24px 0;
    background-color: transparent;
    transition: var(--transition);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.site-header.scrolled {
    background-color: rgba(242, 242, 242, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 101;
    text-transform: uppercase;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    transition: var(--transition);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-dark);
}

.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--text-dark);
    min-width: 280px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 12px 0;
    z-index: 9999;
    list-style: none;
    margin: 0;
}

.nav-item-dropdown::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
    height: 25px;
    background: transparent;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-item-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    top: calc(100% + 8px);
}

.nav-dropdown-menu li {
    padding: 0;
}

.nav-dropdown-menu a {
    display: flex;
    flex-direction: column;
    padding: 12px 24px;
    border-radius: 0;
    color: var(--bg-white) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
}

.nav-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-title {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bg-white);
    font-size: 16px;
}

.dropdown-desc {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 6px;
    line-height: 1.5;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lang-dropdown {
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    padding: 8px 0;
}

.lang-btn:hover {
    opacity: 0.8;
}

.lang-btn iconify-icon {
    font-size: 18px;
}

.lang-btn .lang-arrow {
    font-size: 16px;
    margin-left: -2px;
    transition: transform 0.3s ease;
}

.lang-dropdown.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(var(--text-dark-rgb), 0.1);
    list-style: none;
    min-width: 80px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 8px 0;
    z-index: 100;
}

.lang-dropdown.active .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu li {
    padding: 0;
}

.lang-menu a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.lang-menu a:hover {
    background: #f8fafc;
    color: var(--primary);
}

.lang-menu a.active {
    color: var(--text-dark);
    font-weight: 800;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 101;
}

/* Sections */
section {
    padding: 120px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 20px;
    text-wrap: balance;
}

.section-desc {
    font-size: 18px;
    color: var(--text-muted);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px auto;
    line-height: 1.7;
}

/* Hero */
.hero {
    padding: 0;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-main) url('../../HeroPicture.png') no-repeat center right;
    background-size: cover;
    width: 100%;
    min-height: 550px;
    max-width: 1440px;
    margin: 0 auto;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(242, 242, 242, 1) 0%, rgba(242, 242, 242, 0.95) 25%, rgba(242, 242, 242, 0) 55%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-content {
    max-width: 640px;
}

.hero-pre-title {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 20px;
    background: rgba(var(--primary-rgb), 0.12);
    padding: 6px 12px;
    border-radius: var(--radius);
}

.hero-title {
    font-size: 62px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    margin-bottom: 28px;
    text-wrap: balance;
}

.hero-description {
    font-size: 20px;
    color: #475569;
    margin-bottom: 48px;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 0 10px rgba(242, 242, 242, 1), 0 0 20px rgba(242, 242, 242, 0.8), 0 0 30px rgba(242, 242, 242, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(var(--text-dark-rgb), 0.1);
    border-bottom: 1px solid rgba(var(--text-dark-rgb), 0.1);
    padding: 16px 0;
    width: 100%;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 0;
}

.trust-item iconify-icon {
    color: var(--primary);
    font-size: 24px;
}

.counter {
    font-weight: 900;
    color: var(--text-dark);
    font-size: 16px;
}

/* Tech Stack */
.tech-stack-bar {
    background-color: var(--text-dark);
    padding: 40px 0;
}

.tech-stack-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tech-item iconify-icon {
    color: var(--primary);
    font-size: 22px;
}

/* Trusted By */
.trusted-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-light);
}

.trusted-title {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #94a3b8;
    margin-bottom: 48px;
}

.trusted-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 80px;
}

.trusted-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.trusted-logo img {
    max-height: 72px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: var(--transition);
    mix-blend-mode: multiply;
    cursor: pointer;
}

.trusted-logo img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 64px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.process-step {
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: 0;
    border: none;
    border-right: 1px solid var(--border-light);
    text-align: center;
    position: relative;
    transition: background-color 0.3s ease;
}

.process-step:last-child {
    border-right: none;
}

.process-step:hover {
    background-color: #f8fafc;
}

.process-icon {
    width: 72px;
    height: 72px;
    background: var(--bg-main);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    margin: 0 auto 24px auto;
}

.process-step h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.process-step-num {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    background: var(--text-dark);
    color: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

/* Extra Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.service-card {
    background: var(--bg-white);
    padding: 32px 24px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin: 0 auto 20px auto;
    transition: background-color 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(var(--primary-rgb), 0.2);
}

.service-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Portfolio */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    background: var(--bg-main);
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-btn:hover {
    border-color: var(--border-dark);
    background: var(--bg-white);
    color: var(--text-dark);
}

.filter-btn.active {
    background: var(--text-dark);
    color: var(--bg-white);
    border-color: var(--text-dark);
}

.portfolio-scroll-area {
    max-height: 700px;
    overflow-y: auto;
    padding: 16px;
    margin: -16px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-dark) transparent;
}

.portfolio-scroll-area::-webkit-scrollbar {
    width: 6px;
}

.portfolio-scroll-area::-webkit-scrollbar-track {
    background: transparent;
}

.portfolio-scroll-area::-webkit-scrollbar-thumb {
    background-color: var(--border-dark);
    border-radius: var(--radius);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
}

.portfolio-card {
    background: var(--bg-main);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    cursor: pointer;
}

.portfolio-card.hide {
    display: none !important;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.portfolio-img-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.portfolio-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(var(--text-dark-rgb), 0.0);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-card:hover .portfolio-img-wrapper::after {
    background: rgba(var(--text-dark-rgb), 0.3);
}

.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    color: white;
    font-size: 32px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.portfolio-card:hover .zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-img-wrapper img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 32px 24px;
}

.portfolio-content h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.portfolio-content p {
    color: var(--text-muted);
    font-size: 15px;
}

.load-more-container {
    display: none;
    text-align: center;
    margin-top: 48px;
}

/* Quality */
.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    perspective: 1000px;
}

.quality-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: 0 20px 40px rgba(var(--text-dark-rgb), 0.08);
    cursor: default;
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

@media (hover: hover) and (min-width: 993px) {
    .quality-card {
        transform-style: preserve-3d;
        will-change: transform;
    }
}

.quality-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.quality-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--text-dark-rgb), 0.95) 0%, rgba(var(--text-dark-rgb), 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 32px;
    color: white;
    transition: background 0.3s ease;
    transform: translateZ(30px);
}

.quality-overlay h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.quality-overlay p {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
}

/* Comparison Slider */
.slider-nav-wrapper {
    position: relative;
}

.slider-arrow {
    position: absolute;
    top: calc(50% - 16px);
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 20;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--bg-white);
    color: var(--primary);
    transform: translateY(-50%) scale(1.05);
}

.slider-arrow.prev {
    left: 16px;
}

.slider-arrow.next {
    right: 16px;
}

.comparison-scroll-container {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding-bottom: 32px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-dark) transparent;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.comparison-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.comparison-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}

.comparison-scroll-container::-webkit-scrollbar-thumb {
    background-color: #94a3b8;
    border-radius: var(--radius);
}

.comparison-wrapper {
    flex: 0 0 min(100%, 880px);
    position: relative;
    touch-action: pan-y;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(var(--text-dark-rgb), 0.15);
    aspect-ratio: 16/9;
    background: var(--border-light);
    user-select: none;
    scroll-snap-align: center;
}

.comparison-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.comparison-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    border-right: 2px solid var(--bg-white);
}

.comparison-overlay img {
    width: calc(100vw - 48px);
    max-width: 880px;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
}

.comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--bg-white);
    transform: translateX(-50%);
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='24' fill='%232563eb' fill-opacity='0.9'/%3E%3Cpath d='M16 24L22 18M16 24L22 30M16 24H32M32 24L26 18M32 24L26 30' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 24 24, ew-resize;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    touch-action: none;
}

@keyframes handle-pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(var(--primary-rgb), 0.4);
    }

    70% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 12px rgba(var(--primary-rgb), 0);
    }

    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}

.comparison-handle-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background-color: var(--bg-white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
    animation: handle-pulse 2s infinite;
}

.comparison-handle:hover .comparison-handle-btn,
.comparison-handle:active .comparison-handle-btn {
    transform: translate(-50%, -50%) scale(1.1);
    animation: none;
}

.comparison-label {
    position: absolute;
    top: 32px;
    padding: 8px 20px;
    background: rgba(var(--text-dark-rgb), 0.85);
    color: white;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.label-left {
    left: 32px;
    z-index: 5;
}

.label-right {
    right: 32px;
}

/* Calculator */
.calc-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(var(--text-dark-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.calc-title-margin {
    margin-bottom: 16px;
}

.calc-desc-margin {
    margin-bottom: 40px;
}

.calc-start-btn {
    width: 100%;
    padding: 20px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 6px;
}

.len-stepper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-white);
}

.len-stepper h4 {
    margin: 0;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    flex-shrink: 0;
    white-space: nowrap;
}

.len-val-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.len-stepper button {
    width: 40px;
    height: 48px;
    background: #f8fafc;
    border: none;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.len-stepper button:hover {
    background: var(--border-light);
    color: var(--primary);
}

.len-stepper input {
    width: 60px;
    height: 48px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-dark);
    border-right: 1px solid var(--border-dark);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.len-stepper input::-webkit-outer-spin-button,
.len-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.len-stepper span {
    padding: 0 12px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.step-1-hint {
    font-size: 15px;
    color: var(--primary);
    font-weight: 600;
    margin-top: 16px;
    text-align: center;
}

.calc-step {
    margin-bottom: 40px;
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.calc-step.hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--bg-white);
    border-radius: var(--radius);
    font-size: 16px;
}

.length-control {
    display: flex;
    align-items: center;
    gap: 32px;
}

.length-slider-wrap {
    flex-grow: 1;
}

.range-slider {
    width: 100%;
    accent-color: var(--primary);
    height: 6px;
    border-radius: 3px;
    background: var(--border-light);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(var(--primary-rgb), 0.4);
    border: 4px solid var(--bg-white);
}

.calc-alert {
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--primary);
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-top: 16px;
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tariff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tariff-card input {
    display: none;
}

.tariff-card-inner {
    padding: 24px;
    border: 2px solid var(--border-light);
    border-radius: 6px;
    background: var(--bg-white);
    cursor: pointer;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tariff-card:hover .tariff-card-inner {
    border-color: var(--border-dark);
    background: #f8fafc;
}

.tariff-card input:checked+.tariff-card-inner {
    border-color: var(--primary);
    box-shadow: 0 10px 25px -5px rgba(var(--primary-rgb), 0.15);
    background: var(--bg-white);
}

.tariff-card-inner h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.tariff-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.tariff-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
}

.tariff-features {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tariff-features li {
    font-size: 13px;
    color: #475569;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.tariff-features li iconify-icon {
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.tariff-warranty {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: auto;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}

.tariff-warranty iconify-icon {
    color: var(--primary);
    font-size: 16px;
}

.tariff-gallery-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.tariff-gallery-btn:hover {
    background: #f8fafc;
    border-color: var(--border-dark);
}

.tariff-card input:checked+.tariff-card-inner .tariff-gallery-btn {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: var(--primary);
}

.options-list {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.opt-group {
    margin-bottom: 0;
    transition: var(--transition);
}

.opt-label {
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0;
    font-size: 18px;
}

.opt-label-block {
    display: block;
    margin-bottom: 12px;
}

.opt-sub-label {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.opt-info-text-inline {
    display: none;
    font-size: 13px;
    color: var(--text-muted);
    background: #f8fafc;
    border-left: 3px solid var(--primary);
    padding: 10px 14px;
    margin-bottom: 16px;
    border-radius: 4px;
    line-height: 1.5;
}

.opt-info-text-inline.active {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.opt-label-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.radio-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-list label input {
    display: none;
}

.radio-list label>span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-white);
}

.radio-list label:hover>span {
    border-color: var(--border-dark);
    background: #f8fafc;
}

.radio-list label input:checked+span {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
    background: #eff6ff;
    color: var(--primary);
}

.radio-list label input:checked+span .opt-price {
    color: var(--primary);
    font-weight: 600;
}

.radio-list label input:checked+span iconify-icon {
    color: var(--primary);
    opacity: 1;
}

.opt-price {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s ease;
}

/* Locked elements logic */
.locked {
    opacity: 0.55;
    pointer-events: none !important;
}

label.locked span,
.checkbox-modern.locked {
    background: var(--bg-main);
    border-color: transparent;
}

label.locked .opt-price {
    display: none;
}

.locked-badge {
    display: none;
    font-size: var(--badge-font);
    color: var(--badge-color);
    background: var(--badge-bg);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    white-space: nowrap;
}

.locked .locked-badge {
    display: inline-flex;
}

.counter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 12px;
    transition: border-color 0.2s;
    gap: 16px;
}

.counter-row:hover {
    border-color: var(--border-dark);
}

.counter-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.counter-title {
    font-size: 17px;
    color: var(--text-dark);
    font-weight: 700;
}

.counter-price {
    font-size: 14px;
    color: var(--text-muted);
}

.counter-widget {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-dark);
    border-radius: 6px;
    overflow: hidden;
    width: fit-content;
    background: var(--bg-white);
}

.counter-btn {
    width: 36px;
    height: 36px;
    background: #f8fafc;
    border: none;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.counter-btn:hover {
    background: var(--border-light);
}

.counter-val {
    width: 44px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    border-left: 1px solid var(--border-dark);
    border-right: 1px solid var(--border-dark);
    color: var(--text-dark);
    line-height: 36px;
}

.opt-select {
    width: 100%;
    padding: 16px 24px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    background: var(--bg-white);
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.2s;
}

.opt-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.delivery-highlight {
    background-color: #e2e8f0;
    border: 1px dashed #cbd5e1;
    padding: 24px;
    border-radius: 12px;
    margin-top: 24px;
    position: relative;
}

.delivery-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--text-dark);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    color: var(--bg-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.checkbox-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    padding: 16px 24px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: var(--transition);
    background: var(--bg-white);
    margin-bottom: 16px;
}

.checkbox-modern:hover {
    border-color: var(--border-dark);
    background: #f8fafc;
}

.checkbox-modern:has(input:checked) {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
    background: #eff6ff;
}

.checkbox-modern input {
    width: 22px;
    height: 22px;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-modern>span {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.checkbox-modern>span small.opt-price {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

.included-list {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 8px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.opt-label-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.opt-info-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    padding: 0;
    outline: none;
}

.opt-info-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.item-info-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s, transform 0.2s;
    padding: 0;
    outline: none;
    margin-left: 8px;
}

.item-info-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.opt-info-text-inline {
    display: none;
    font-size: 13px;
    color: #475569;
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    margin-top: 12px;
    margin-bottom: 16px;
    border-left: 3px solid var(--primary);
    line-height: 1.5;
    animation: fadeInFaq 0.3s ease;
}

.opt-info-text-inline.active {
    display: block;
}

.calc-result {
    margin-top: 48px;
    padding: 48px;
    background: var(--text-dark);
    border-radius: 8px;
    color: var(--bg-white);
    box-shadow: 0 20px 40px -10px rgba(var(--text-dark-rgb), 0.3);
    text-align: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.calc-result.hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.calc-result-title {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 16px;
    font-weight: 700;
}

.calc-result-value {
    font-size: 56px;
    font-weight: 900;
    color: var(--bg-white);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.calc-result-value small {
    font-size: 24px;
    font-weight: 600;
    color: #3b82f6;
}

.calc-result-prefix {
    font-size: 28px;
    color: #94a3b8;
    font-weight: 700;
    margin-right: 8px;
}

.disclaimer-text {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
    line-height: 1.4;
}

.calc-breakdown {
    max-width: 400px;
    margin: 24px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    font-size: 15px;
    color: var(--border-dark);
}

.calc-breakdown-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    align-items: flex-start;
}

.calc-breakdown-row span:last-child {
    white-space: nowrap;
    text-align: right;
    flex-shrink: 0;
    margin-left: 12px;
}

.calc-breakdown-total {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
    font-weight: 700;
    color: var(--bg-white);
    align-items: flex-end;
}

.calc-breakdown-total span:last-child {
    white-space: nowrap;
    text-align: right;
    flex-shrink: 0;
    margin-left: 12px;
}

.warnings-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.warning-tag {
    font-size: 14px;
    color: var(--border-light);
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.calc-lead-capture {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-lead-capture h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--bg-white);
}

.calc-lead-capture p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 24px;
}

.lead-form-group {
    max-width: 320px;
    margin: 0 auto 24px auto;
}

.phone-composite {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 6px;
    border: 1px solid #334155;
    background: var(--form-bg);
    transition: border-color 0.3s, box-shadow 0.3s;
    padding: 0 24px;
}

.phone-composite:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 1px #ef4444 !important;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-5px);
    }

    40% {
        transform: translateX(5px);
    }

    60% {
        transform: translateX(-5px);
    }

    80% {
        transform: translateX(5px);
    }
}

.phone-prefix {
    color: var(--bg-white);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    padding-right: 6px;
    white-space: nowrap;
    user-select: none;
}

.calc-phone-input {
    background: transparent;
    border: none;
    color: var(--bg-white);
    font-size: 18px;
    font-weight: 700;
    outline: none;
    padding: 16px 0;
    letter-spacing: 1px;
    width: 155px;
}

.calc-phone-input::placeholder {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: lowercase;
}

.lead-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lead-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    color: white;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.lead-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.lead-btn.wa {
    background-color: #25D366;
}

.lead-btn.tg {
    background-color: #08c;
}

.lead-btn.vb {
    background-color: #7360F2;
}

.sticky-calc-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(var(--text-dark-rgb), 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 40px rgba(var(--text-dark-rgb), 0.2);
}

.sticky-calc-bar.active {
    transform: translateY(0);
}

.sticky-calc-info {
    display: flex;
    flex-direction: column;
}

.sticky-calc-label {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.sticky-calc-price {
    font-size: 24px;
    color: var(--bg-white);
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
}

.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.4);
    z-index: 997;
    text-decoration: none;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.calc-nav {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

/* FAQ */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.faq-tabs::-webkit-scrollbar {
    display: none;
}

.faq-tab {
    flex: 1 1 0;
    min-width: 120px;
    text-align: center;
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    background: var(--bg-main);
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.faq-tab:hover {
    border-color: var(--border-dark);
    background: var(--bg-white);
    color: var(--text-dark);
}

.faq-tab.active {
    background: var(--text-dark);
    color: var(--bg-white);
    border-color: var(--text-dark);
}

.faq-group {
    display: none;
    animation: fadeInFaq 0.4s ease;
}

.faq-group.active {
    display: block;
}

@keyframes fadeInFaq {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* details/summary accordion */
.faq-item {
    border-bottom: 1px solid var(--border-light);
    list-style: none;
}

.faq-item[open] .faq-question {
    color: var(--primary);
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-question {
    list-style: none;
    width: 100%;
    text-align: left;
    padding: 32px 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    line-height: 1.4;
    gap: 24px;
    font-family: 'Montserrat', sans-serif;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 26px;
    font-weight: 300;
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-answer {
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding-bottom: 32px;
    color: #475569;
    line-height: 1.7;
    font-size: 15px;
}

/* Contacts & Footer */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.contact-icon {
    width: 64px;
    height: 64px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: rgba(var(--primary-rgb), 0.2);
}

.contact-text h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-text p,
.contact-text a {
    color: #475569;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.6;
}

.contact-text a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.messengers {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.messenger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.messenger-btn.wa {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.messenger-btn.tg {
    background-color: #08c;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.messenger-btn.vb {
    background-color: #7360F2;
    color: white;
    box-shadow: 0 4px 15px rgba(115, 96, 242, 0.3);
}

.messenger-btn:hover {
    transform: translateY(-3px);
}

.floating-group {
    position: relative;
    margin-bottom: 24px;
}

.floating-group .form-control {
    padding: 24px 20px 10px 20px;
}

.floating-group label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.2s ease;
}

.floating-group .form-control:focus+label,
.floating-group .form-control:not(:placeholder-shown)+label {
    top: 16px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 32px;
    margin-top: 24px;
}

.checkbox-wrapper input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--text-dark);
    cursor: pointer;
}

.checkbox-wrapper label {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-wrapper label a {
    color: var(--text-dark);
    text-decoration: underline;
    font-weight: 600;
}

.dark-contact-form {
    background-color: var(--text-dark) !important;
    border: none !important;
    border-radius: 12px;
    margin: 0;
    box-shadow: 0 20px 50px rgba(var(--text-dark-rgb), 0.15);
}

.dark-contact-form .form-title {
    font-size: 28px;
    margin-bottom: 24px;
    font-weight: 800;
    color: var(--bg-white);
}

.dark-contact-form .form-control {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #334155;
    background: var(--form-bg);
    color: var(--bg-white);
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
    display: block;
}

.dark-contact-form .form-control:focus {
    border-color: var(--primary);
}

.dark-contact-form .floating-group label {
    color: #94a3b8;
}

.dark-contact-form .floating-group .form-control:focus+label,
.dark-contact-form .floating-group .form-control:not(:placeholder-shown)+label {
    color: var(--primary);
}

.dark-contact-form .checkbox-wrapper input[type="checkbox"] {
    accent-color: var(--primary);
}

.dark-contact-form .checkbox-wrapper label {
    color: #94a3b8;
}

.dark-contact-form .checkbox-wrapper label a {
    color: var(--bg-white);
}

.site-footer {
    background-color: var(--text-dark);
    color: #94a3b8;
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-logo {
    color: var(--bg-white);
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 15px;
    line-height: 1.7;
    max-width: 400px;
    color: #94a3b8;
}

.footer-heading {
    color: var(--bg-white);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom a {
    color: #94a3b8;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--bg-white);
}

/* Modals & Lightbox */
.modal-overlay,
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(var(--text-dark-rgb), 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 24px;
}

.modal-overlay.active,
.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-white);
    padding: 56px 48px;
    border-radius: var(--radius);
    text-align: center;
    max-width: 480px;
    width: 100%;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(var(--text-dark-rgb), 0.25);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-gallery {
    max-width: 680px;
    padding: 40px 32px;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-icon {
    font-size: 72px;
    color: var(--primary);
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.modal-content h3 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.modal-gallery h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.6;
}

.modal-gallery p {
    font-size: 15px;
    margin-bottom: 0;
}

.modal-close-abs,
.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg-white);
    border: none;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(var(--text-dark-rgb), 0.1);
}

.modal-close-abs:hover {
    color: var(--text-dark);
    background: var(--bg-main);
}

.lightbox-close {
    background: none;
    box-shadow: none;
}

.lightbox {
    z-index: 1000;
    background: rgba(var(--text-dark-rgb), 0.98);
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: 0 25px 50px -12px rgba(var(--text-dark-rgb), 0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    top: 32px;
    right: 32px;
    color: white;
    font-size: 48px;
    z-index: 1002;
}

.lightbox-close:hover {
    transform: scale(1.1);
    color: white;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(var(--text-dark-rgb), 0.4);
    border: none;
    color: white;
    font-size: 48px;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--radius);
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(var(--primary-rgb), 0.9);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.tariff-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.tariff-gallery-grid img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius);
    background: #f1f5f9;
}


/* Media Queries Grouped */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-container {
        gap: 40px;
    }

    section {
        padding: 80px 0;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next {
        right: 20px;
    }
}

@media (max-width: 992px) {
    .hero {
        background-position: center;
    }

    .hero-container {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-content {
        margin: 0 auto;
        align-items: center;
        text-align: center;
    }

    .trust-badges {
        justify-content: center;
        border-left: none;
        border-right: none;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        border-right: none;
        border-bottom: none;
    }

    .process-step {
        border-right: 1px solid var(--border-light);
        border-bottom: 1px solid var(--border-light);
    }

    .process-step:nth-child(2n) {
        border-right: none;
    }

    .process-step:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quality-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .faq-tabs {
        justify-content: flex-start;
        padding: 0 4px 4px;
    }

    body:has(.mobile-sticky-cta.visible) .back-to-top {
        bottom: 90px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-title {
        font-size: 32px !important;
        margin-bottom: 16px !important;
    }

    .section-desc {
        font-size: 15px !important;
        margin-bottom: 32px !important;
    }

    .hero-container {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .length-control {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .len-stepper {
        justify-content: space-between;
        width: 100%;
        border-radius: 6px;
    }

    .len-stepper h4 {
        padding: 0 8px;
        /* reduce padding */
        font-size: 13px;
        /* reduce font size to fit */
        white-space: normal;
        /* allow wrap if really small */
        flex: 1;
        /* give it space to wrap */
    }

    .len-val-wrap {
        flex-shrink: 0;
    }

    .len-stepper button {
        width: 44px;
        /* usable touch target but smaller than 56px */
        font-size: 20px;
    }

    .len-stepper input {
        width: 48px;
        flex-grow: 0;
        font-size: 18px;
        padding: 0;
    }

    .len-stepper span {
        display: none;
        /* hide label 'metric' to fit space */
    }

    .trust-badges {
        flex-direction: column;
        align-items: flex-start;
        width: max-content;
        margin: 0 auto;
        gap: 16px;
        border: none;
        padding: 24px 0;
    }

    .trust-item {
        border: none !important;
        padding: 0 !important;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .calc-container {
        padding: 32px 20px !important;
    }

    .modal-content {
        padding: 40px 20px !important;
    }

    .modal-close-abs {
        top: 8px;
        right: 8px;
    }

    .nav-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 32px 24px;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        opacity: 0;
        visibility: hidden;
    }

    .nav-wrapper.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        width: 100%;
    }

    .nav-item-dropdown.active .nav-dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .nav-dropdown-menu {
        position: relative;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 12px 0 0 0;
        min-width: 100%;
        margin: 0;
        display: none;
    }

    .nav-item-dropdown::after {
        display: none;
    }

    .nav-dropdown-menu a {
        padding: 12px 8px;
        align-items: center;
        text-align: center;
        color: var(--text-dark) !important;
    }

    .nav-dropdown-menu a:hover {
        background: transparent;
    }

    .dropdown-title {
        color: var(--text-dark);
    }

    .dropdown-desc {
        text-align: center;
        color: #64748b;
    }

    header.site-header .nav-wrapper .nav-links a,
    header.site-header .nav-wrapper .lang-btn {
        color: var(--text-dark);
    }

    header.site-header .nav-wrapper .nav-links a:hover,
    header.site-header .nav-wrapper .nav-links a.active,
    header.site-header .nav-wrapper .lang-btn:hover {
        color: var(--primary);
    }

    .header-cta {
        width: 100%;
    }

    .header-actions {
        width: 100%;
        flex-direction: column;
        gap: 20px;
        margin-top: 24px;
        border-top: 1px solid var(--border-light);
        padding-top: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .tech-stack-grid {
        justify-content: center;
        gap: 20px;
    }

    .tech-item {
        font-size: 11px;
    }

    .trusted-grid {
        gap: 32px;
    }

    .trusted-logo img {
        max-height: 56px;
        max-width: 160px;
    }

    .portfolio-scroll-area {
        max-height: none;
        overflow-y: visible;
    }

    .load-more-container {
        display: block;
    }

    .process-grid {
        grid-template-columns: 1fr;
        border: 1px solid var(--border-light);
    }

    .process-step {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

    .process-step:last-child {
        border-bottom: none;
    }

    .process-step:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--border-light);
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    section {
        padding: 80px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 24px;
    }

    .back-to-top {
        bottom: 90px !important;
        right: 24px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-nav {
        font-size: 32px;
        padding: 5px;
    }

    .lightbox-close {
        top: 16px;
        right: 16px;
        font-size: 40px;
    }

    .faq-question {
        font-size: 16px;
        padding: 24px 0;
    }

    .tariff-grid {
        grid-template-columns: 1fr;
    }

    .options-list {
        gap: 32px;
    }

    .calc-result {
        padding: 32px 24px;
    }

    .calc-result-value {
        font-size: 40px;
    }

    .radio-list label>span {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 16px;
    }

    .counter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .counter-widget {
        margin-left: auto;
        margin-right: auto;
    }

    .calc-nav {
        flex-direction: column;
    }

    .sticky-calc-bar {
        padding: 16px;
    }

    .sticky-calc-price {
        font-size: 20px;
    }

    .mobile-sticky-cta.visible {
        display: flex;
    }
}

@media (max-width: 480px) {
    .tariff-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   PREMIUM UI/UX & COLOR THEME ENGINE
   Easily change colors by modifying the :root variables below.
   All shadows, glows, and elements automatically adapt!
========================================================================= */

:root {
    /* 1. Graphite / Pearl White / Amber Oak Theme */
    --primary: #D97706;
    --primary-hover: #b45309;
    --primary-rgb: 217, 119, 6;

    --text-dark: #212121;
    --text-dark-rgb: 33, 33, 33;
    --form-bg: #2a2a2a;

    --bg-main: #FAFAFA;
    --border-light: #E5E5E5;
}

/* -------------------------------------------------------------------------
   2. GLASSMORPHISM (Frosted Glass panels)
------------------------------------------------------------------------- */
/* Header Base (At very top of page: Solid & Bold) */
header.site-header {
    background-color: rgba(33, 33, 33, 1);
    backdrop-filter: blur(5px) saturate(200%);
    /* Kept so transition is smooth */
    -webkit-backdrop-filter: blur(5px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Header Scrolled (Scrolling down: Semi-transparent Glass) */
header.site-header.scrolled {
    background-color: rgba(33, 33, 33, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Sticky Calc Bar */
.sticky-calc-bar {
    background-color: rgba(var(--text-dark-rgb), 0.85);
    backdrop-filter: blur(5px) saturate(180%);
    -webkit-backdrop-filter: blur(5px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

/* Default Modals (White frosted glass) */
.modal-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 24px 64px rgba(var(--text-dark-rgb), 0.15);
}

/* Modals that specifically use dark theme (e.g. dark-contact-form) */
.modal-content.dark-contact-form {
    background: rgba(var(--text-dark-rgb), 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-menu {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* -------------------------------------------------------------------------
   3. ADAPTIVE TEXT COLORS FOR DARK PANELS
------------------------------------------------------------------------- */
/* Header Text */
header.site-header .logo,
header.site-header .nav-links a,
header.site-header .mobile-menu-btn,
header.site-header .lang-btn {
    color: #FAFAFA;
}

header.site-header .nav-links a:hover,
header.site-header .nav-links a.active,
header.site-header .lang-btn .lang-current {
    color: var(--primary);
}

/* Sticky Bar Text */
.sticky-calc-bar .sticky-calc-label,
.sticky-calc-bar .sticky-calc-price {
    color: #FAFAFA;
}

/* Footer Text */
.site-footer .footer-desc,
.site-footer .footer-heading,
.site-footer .footer-links a,
.site-footer .contact-address-link,
.site-footer .footer-bottom p,
.site-footer .footer-privacy-btn {
    color: #E5E5E5;
}

.site-footer .footer-links a:hover,
.site-footer .footer-privacy-btn:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    color: #FFFFFF;
}

.btn-primary:hover {
    color: #FFFFFF;
}

/* -------------------------------------------------------------------------
   4. MICRO-ANIMATIONS & HOVER EFFECTS (Gravity)
------------------------------------------------------------------------- */
.portfolio-card,
.quality-card,
.process-step,
.tariff-card-inner,
.radio-list span,
.checkbox-modern>span {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 40px -10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.quality-card img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.quality-card:hover {
    transform: translateY(-10px) scale(1.08);
    box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.quality-card:hover img {
    transform: scale(1.15);
}

.process-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
}

.tariff-card:hover .tariff-card-inner {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 40px -10px rgba(var(--primary-rgb), 0.25);
}

.radio-list input:checked+span,
.checkbox-modern input:checked+span {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(var(--primary-rgb), 0.2);
}

.radio-list span:hover,
.checkbox-modern>span:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.08);
}