:root {
    --primary: #050a14;
    --accent: #c5a059;
    --accent-hover: #e5c07b;
    --dark: #02050a;
    --text-main: #fdfdfd;
    --text-muted: #a0aec0;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

html {
    scrollbar-color: var(--accent) var(--dark);
    scrollbar-width: thin;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--primary);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-inner span {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--accent);
    margin-top: 20px;
    letter-spacing: 0.2em;
}

.preloader-wave {
    width: 60px;
    height: 60px;
    border: 3px solid transparent;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(2, 5, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 8%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

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

header.scrolled nav a:hover {
    color: var(--accent);
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* Burger Menu */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 5px;
}

.burger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(to right, rgba(5, 10, 20, 0.9), rgba(5, 10, 20, 0.2)), url('hero_bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 8%;
    color: var(--white);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30vh;
    background: linear-gradient(transparent, var(--primary));
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

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

.btn-outline {
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}

.hero {
    height: 100vh;
    background: linear-gradient(to right, rgba(5, 10, 20, 0.9), rgba(5, 10, 20, 0.2)), url('hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    /* Changed from fixed or default to scroll for JS parallax */
    display: flex;
    align-items: center;
    padding: 0 8%;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    transition: transform 0.1s ease-out;
    /* Smooth transition for parallax if needed */
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3.5rem;
    color: var(--white);
    max-width: 600px;
    font-weight: 400;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.8rem;
    border-radius: 0;
    transition: var(--transition);
    border: 1px solid var(--accent);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 77, 122, 0.2);
}

/* Services */
.section {
    padding: 100px 5%;
    scroll-margin-top: 80px;
}

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

.section-title h2 {
    font-size: 3.5rem;
    color: var(--accent);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: #0a111a;
    border: 1px solid var(--glass-border);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
}



.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-bold);
}

.service-img {
    height: 300px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    filter: saturate(0.8);
}

.service-card:hover .service-img {
    transform: scale(1.05);
    filter: saturate(1.1);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent);
    font-weight: 700;
}

.service-list {
    list-style: none;
    padding: 0;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.service-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition);
}

.service-list li:hover {
    color: var(--text-main);
    transform: translateX(5px);
}

.service-list i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 5px;
    width: 20px;
    text-align: center;
    filter: drop-shadow(0 0 5px rgba(197, 160, 89, 0.3));
}

/* Calculator Section - Premium Update */
.calculator-section {
    position: relative;
    overflow: hidden;
    background: #02050a;
    scroll-margin-top: 80px;
}

.calc-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('hero_bg.png');
    /* Using existing hero bg for cohesion */
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    filter: blur(5px);
    z-index: 1;
    transform: translateY(0);
    transition: transform 0.5s ease-out;
}

.calc-container-wrapper {
    padding: 100px 8%;
}

@media (max-width: 968px) {
    .calc-container-wrapper {
        padding: 60px 5%;
    }
}

@media (max-width: 480px) {
    .calc-container-wrapper {
        padding: 40px 5%;
    }
}

.calculator-container {
    background: rgba(10, 17, 26, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--white);
    padding: 100px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
}

.calculator-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent), transparent, var(--accent));
    z-index: -1;
    opacity: 0.2;
}

.glow-text {
    text-shadow: 0 0 20px rgba(197, 160, 89, 0.5);
    animation: glowPulse 3s infinite ease-in-out;
}

@keyframes glowPulse {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(197, 160, 89, 0.5);
    }

    50% {
        text-shadow: 0 0 40px rgba(197, 160, 89, 0.8);
    }
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent);
}

select,
input {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 12px 20px;
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    outline: none;
}

select option {
    background: var(--dark);
    color: var(--white);
}

.calc-result {
    text-align: center;
    padding: 40px;
    background: var(--glass);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.price-display {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--accent);
    margin: 20px 0;
}

.price-display span {
    font-size: 1.5rem;
    vertical-align: middle;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.benefit-item {
    text-align: left;
    padding: 40px;
    background: #0a111a;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-item:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--accent);
    display: inline-block;
    transition: var(--transition);
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.2) rotate(10deg);
}

.benefit-item h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.benefit-item p {
    font-size: 0.9rem;
    color: #666;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.gallery-cta {
    text-align: center;
    margin-top: 80px;
    padding: 40px;
    border-top: 1px solid var(--glass-border);
}

.gallery-cta p {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 25px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

.gallery-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
}

.gallery-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
    background: #000;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 38, 71, 0.8);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--primary);
    width: 100%;
    max-width: 1200px;
    padding: 80px;
    position: relative;
    border: 1px solid var(--accent);
    transform: translateY(50px);
    opacity: 0;
    transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
}

.modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid var(--accent);
    pointer-events: none;
    opacity: 0.2;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--accent);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent);
    color: var(--white);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.modal-info h2 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.modal-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 800px;
}

.modal-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.modal-compare-card {
    position: relative;
    border: 1px solid var(--glass-border);
}

.modal-compare-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.compare-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #eee;
    color: #333;
    padding: 5px 15px;
    font-weight: 700;
    font-size: 0.8rem;
}

.compare-tag.gold {
    background: var(--accent);
    color: var(--white);
}

/* Comparison Slider (Side by Side) */
.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.comparison-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
}

.comparison-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 8px 20px;
    font-weight: 800;
    border-radius: 0;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}



/* Trust Section */
.trust-grid {
    display: flex;
    justify-content: space-around;
    padding: 60px 0;
    border-top: 1px solid #e1e8f0;
    border-bottom: 1px solid #e1e8f0;
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    font-weight: 700;
    opacity: 0.8;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.contact-info h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--accent);
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
}

.contact-details p {
    color: var(--accent);
    margin-bottom: 10px;
}

.contact-social {
    margin-top: 40px;
}

.contact-social p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.social-btns {
    display: flex;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.social-btn i {
    font-size: 1.2rem;
}

.social-btn.tg:hover {
    background: #0088cc;
    border-color: #0088cc;
    transform: translateY(-3px);
}

.social-btn.wa:hover {
    background: #25d366;
    border-color: #25d366;
    transform: translateY(-3px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 15px 20px;
    border-radius: 8px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

/* Map Integration */
.map-wrapper {
    max-width: 1200px;
    margin: 60px auto 0;
    text-align: center;
}

.map-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 30px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: var(--glass);
}

#map {
    width: 100%;
    height: 100%;
    /* Dark mode filter for 2GIS map to match site aesthetic */
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(90%);
    transition: var(--transition);
}

/* Admin Panel Styles */
.admin-panel {
    position: fixed;
    top: 20px;
    right: -350px;
    width: 320px;
    background: var(--white);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: var(--transition);
    border-radius: 12px 0 0 12px;
    padding: 30px;
}

.admin-panel.active {
    right: 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

#closeAdmin {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.admin-group {
    margin-bottom: 20px;
}

.admin-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #666;
}

.admin-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.admin-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.admin-toggle:hover {
    transform: rotate(90deg) scale(1.1);
}

/* Footer */
.footer {
    padding: 120px 8% 60px;
    background: #112d4e;
    color: var(--white);
    margin-top: 100px;
}

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

.footer h3 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer h4 {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer p {
    font-size: 1rem;
    opacity: 0.7;
    line-height: 2;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.4;
    letter-spacing: 0.1em;
}

/* Trust Section */
.trust-section {
    background: #02050a;
    padding: 60px 5%;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.trust-grid span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.2em;
    opacity: 0.7;
    position: relative;
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.2);
}

.trust-grid span:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -25px;
    color: var(--glass-border);
    opacity: 0.5;
}

/* Before/After Slider */
.ba-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    cursor: col-resize;
    aspect-ratio: 16/9;
    border: 2px solid var(--glass-border);
    user-select: none;
    -webkit-user-select: none;
}

.ba-image {
    position: absolute;
    inset: 0;
}

.ba-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-before {
    clip-path: inset(0 50% 0 0);
    z-index: 2;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
}

.ba-handle-line {
    width: 3px;
    flex: 1;
    background: var(--accent);
}

.ba-handle-circle {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.5);
    flex-shrink: 0;
}

.ba-label {
    position: absolute;
    bottom: 20px;
    z-index: 4;
    background: var(--accent);
    color: var(--white);
    padding: 6px 18px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
}

.ba-label-before {
    left: 20px;
}

.ba-label-after {
    right: 20px;
}

/* Process Timeline */
.process-section {
    background: var(--dark);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: var(--transition);
}

.timeline-item:hover {
    border-color: var(--accent);
    transform: translateX(10px);
}

.timeline-number {
    position: absolute;
    left: -60px;
    top: 25px;
    width: 45px;
    height: 45px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
}

.timeline-content h3 {
    color: var(--accent);
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Counters */
.counters-section {
    background: linear-gradient(135deg, #0a1628 0%, #050a14 100%);
    padding: 80px 5%;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.counter-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

.counter-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Reviews */
.reviews-section {
    background: var(--dark);
}

.reviews-carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    padding: 10px 0;
}

.review-card {
    min-width: calc(50% - 15px);
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: var(--transition);
    flex-shrink: 0;
}

.review-card:hover {
    border-color: var(--accent);
}

.review-stars {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.review-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

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

.review-author strong {
    color: var(--white);
    font-size: 1rem;
}

.review-author span {
    color: var(--accent);
    font-size: 0.85rem;
    opacity: 0.7;
}

.reviews-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.rev-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* FAQ */
.faq-section {
    background: var(--primary);
}

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

.faq-item {
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

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

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

.faq-question {
    pointer-events: none;
}

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

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

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Floating Messenger */
.floating-messenger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1998;
}

.fm-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fm-btn:hover {
    transform: scale(1.1);
}

.fm-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    pointer-events: none;
}

.fm-options {
    position: absolute;
    bottom: 75px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.fm-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fm-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 30px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.fm-opt.tg {
    background: #0088cc;
}

.fm-opt.wa {
    background: #25d366;
}

.fm-opt:hover {
    transform: translateX(-5px);
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 34px;
    z-index: 1997;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--accent);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: scale(1.1);
}

.st-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    pointer-events: none;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--dark);
    border: 1px solid var(--glass-border);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid #4CAF50;
}

.toast.error {
    border-left: 4px solid #f44336;
}

.toast-icon {
    font-size: 1.2rem;
}

.toast.success .toast-icon {
    color: #4CAF50;
}

.toast.error .toast-icon {
    color: #f44336;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 850px) {
    .calculator-container {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 30px;
    }

    .calc-result {
        padding: 30px 15px;
    }

    .price-display {
        font-size: 3.5rem;
    }

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

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

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .modal-info h2 {
        font-size: 1.8rem;
    }

    .modal-comparison {
        grid-template-columns: 1fr;
    }

    .gallery-cta p {
        font-size: 1.1rem;
    }

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

    .service-img {
        height: 220px;
    }

    .counters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .counter-number {
        font-size: 2.5rem;
    }

    .review-card {
        min-width: 100%;
        padding: 30px;
    }

    .timeline {
        padding-left: 45px;
    }

    .timeline::before {
        left: 18px;
    }

    .timeline-number {
        left: -45px;
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .burger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(2, 5, 10, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    nav a {
        font-size: 1.1rem;
    }

    .modal-content {
        padding: 40px 15px;
    }

    .modal {
        align-items: flex-start;
        padding: 10px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
        z-index: 10;
    }

    .modal-compare-card img {
        height: 250px;
    }

    .modal-info h2 {
        font-size: 1.6rem;
        margin-top: 10px;
    }

    .modal-body {
        gap: 20px;
    }

    .section {
        padding: 50px 5%;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .section-title p {
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    header {
        padding: 1rem 5%;
        background: rgba(2, 5, 10, 0.85);
        backdrop-filter: blur(8px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    header.scrolled {
        padding: 0.8rem 5%;
    }

    .logo {
        font-size: 1.25rem;
    }

    .hero {
        padding: 0 5%;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
        margin-top: 40px;
        /* Offset for fixed header */
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }

    .service-card .service-content {
        padding: 20px;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .price-display {
        font-size: 3rem;
    }

    .price-display span {
        font-size: 1.2rem;
    }

    .benefit-item {
        padding: 25px;
    }

    .benefit-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 5%;
    }

    .section-title {
        margin-bottom: 25px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item {
        height: 280px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons .btn {
        text-align: center;
        width: 100%;
        padding: 0.8rem;
    }

    .counters-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .counter-number {
        font-size: 2rem;
    }

    .ba-slider {
        aspect-ratio: 4/3;
    }

    .ba-handle-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .calculator-container {
        padding: 30px 15px;
        border-radius: 0;
    }

    .input-group label {
        font-size: 0.8rem;
    }

    select,
    input {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .map-title {
        font-size: 1.5rem;
    }

    .map-container {
        height: 250px;
    }

    .contact-info h2 {
        font-size: 2.2rem;
    }

    .contact-info p {
        font-size: 0.95rem;
    }

    .footer {
        padding: 60px 5% 30px;
    }

    .footer h3 {
        font-size: 1.8rem;
    }

    .footer-grid {
        gap: 30px;
    }

    .floating-messenger {
        bottom: 20px;
        right: 20px;
    }

    .fm-btn {
        width: 50px;
        height: 50px;
    }

    .fm-icon {
        width: 24px;
        height: 24px;
    }

    .scroll-top {
        bottom: 80px;
        right: 23px;
        width: 38px;
        height: 38px;
    }

    .st-icon {
        width: 24px;
        height: 24px;
    }
}