/* 
   Malvicasnt.lt - Ultra-Premium Real Estate Brand
   Vanilla CSS Architecture
*/

:root {
    /* Color Palette - Ultra Premium */
    --color-primary: #021430;
    /* Pure darker cinematic black/charcoal */
    --color-primary-light: #092245;
    --color-secondary: #fdfbf7;
    /* Alabaster white */
    --color-secondary-dim: #d1dbe8;
    --color-accent: #d8b871;
    /* Refined Champagne Gold */
    --color-accent-hover: #e5c98d;
    --color-glass: rgba(9, 34, 69, 0.6);
    --color-glass-border: rgba(255, 255, 255, 0.05);
    --color-glow: rgba(216, 184, 113, 0.12);
    /* Subtle gold glow */

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Manrope', sans-serif;

    /* Spacing & Layout - Elite Echelon Scale */
    --container-width: 1600px;
    --section-padding: 280px;
    --border-radius: 0px;
    /* Absolute sharp brutalist edges */

    /* Transitions - Expensive Apple/Agency Curves */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-quint: cubic-bezier(0.83, 0, 0.17, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-smooth: all 1.2s var(--ease-out-expo);
    --transition-fast: all 0.5s var(--ease-out-expo);
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
    /* Smaller base font for extreme editorial scale */
    background-color: var(--color-primary);
}

body {
    font-family: var(--font-body);
    background-color: var(--color-primary);
    color: var(--color-secondary);
    line-height: 1.9;
    /* Ultra-airy body copy */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Cinematic Noise Overlay - REMOVED FOR FINAL PERFORMANCE */
.noise-overlay {
    display: none;
    /* Completely disabled to prevent full-screen repaint on scroll */
}

/* Ambient Moving Lighting - REMOVED FOR FINAL PERFORMANCE */
.ambient-orb {
    display: none;
    /* Completely disabled to prevent GPU thrashing on scroll */
}

.orb-1 {
    display: none;
}

.orb-2 {
    display: none;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(10vw, 5vh) scale(1.1);
    }

    66% {
        transform: translate(-5vw, 15vh) scale(0.9);
    }

    100% {
        transform: translate(-15vw, -5vh) scale(1.05);
    }
}

/* Structural Architectural Lines */
.structural-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    display: flex;
    justify-content: center;
}

.line-v {
    position: absolute;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.015);
}

.line-v-center {
    left: 50%;
    transform: translateX(-50%);
}

.line-v-left {
    left: 10%;
}

.line-v-right {
    right: 10%;
}

/* Typography - Editorial Scale */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
    /* Extreme luxury kerning */
}

.text-accent {
    color: var(--color-accent);
    font-style: italic;
    font-weight: 300;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-secondary-dim);
    font-size: 1rem;
    letter-spacing: 0.01em;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 4%;
}

.section {
    padding: var(--section-padding) 0;
}

.bg-darker {
    background-color: var(--color-primary-light);
}

/* Components: Buttons - Magnetic feel */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s var(--ease-out-expo);
    z-index: -1;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background-color: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

.btn-primary:hover {
    color: var(--color-primary);
}

.btn-primary::before {
    background-color: var(--color-accent);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    color: var(--color-primary);
    border-color: var(--color-secondary);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    color: var(--color-primary);
}

/* Navigation - Studio Feel */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2.5rem 0;
    border-bottom: 1px solid transparent;
    transition: padding 0.8s var(--ease-out-expo), background-color 0.8s var(--ease-out-expo);
}

.navbar.scrolled {
    background-color: rgba(2, 20, 48, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: height 0.8s var(--ease-out-expo);
    transform-origin: left center;
}

/* Adjust logo size smoothly when the navbar shrinks on scroll */
.navbar.scrolled .brand-logo {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 3.5rem;
}

.nav-links a {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition-fast);
    position: relative;
    opacity: 0.8;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    font-size: 0.75rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: var(--color-secondary);
    transition: 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(2, 20, 48, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-nav-links a {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    transition: var(--transition-fast);
}

.mobile-nav-links a:hover {
    color: var(--color-accent);
}

/* Hero Section - Architectural Redesign */
.hero {
    position: relative;
    height: 100vh;
    min-height: 900px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-primary);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(circle at 60% 40%, #092245 0%, var(--color-primary) 80%);
}

.layer {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.glass-panel {
    /* backdrop-filter: blur(15px); - REMOVED FOR PERFORMANCE - Extreme FPS drop on scroll */
    /* -webkit-backdrop-filter: blur(15px); */
    border: 1px solid rgba(255, 255, 255, 0.02);
    box-shadow: 0 20px 50px rgba(2, 20, 48, 0.5);
    /* Reduced shadow spread */
    will-change: transform;
    /* Hardware acceleration */
    backface-visibility: hidden;
    /* Prevent flickering */
}

.panel-1 {
    width: 50vw;
    height: 80vh;
    top: 10%;
    right: 2%;
    left: auto;
    transform: perspective(1500px) rotateY(-18deg);
    border-radius: var(--border-radius);
    border-left: 1px solid rgba(196, 166, 97, 0.2);
    background:
        linear-gradient(135deg, rgba(2, 20, 48, 0.1) 0%, rgba(2, 20, 48, 0.6) 100%),
        url('../assets/hero_panel_right.png');
    background-size: cover;
    background-position: center;
}

.panel-2 {
    width: 40vw;
    height: 60vh;
    top: 30%;
    left: 4%;
    transform: perspective(1500px) rotateY(15deg) translateZ(50px);
    background:
        linear-gradient(135deg, rgba(2, 20, 48, 0.4) 0%, rgba(2, 20, 48, 0.85) 100%),
        url('../assets/hero_panel_left.png');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(216, 184, 113, 0.08);
    border-radius: var(--border-radius);
    box-shadow: inset 0 0 40px rgba(2, 20, 48, 0.8), 0 30px 60px rgba(2, 20, 48, 0.6);
}

.arch-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.6;
    transform: perspective(1000px) rotateX(75deg) translateY(-20px) translateZ(-400px);
    will-change: transform;
    backface-visibility: hidden;
}

.arch-lines {
    display: none;
    /* Removed for performance */
}

.light-gradient {
    display: none;
    /* Removed for performance */
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding-left: 2rem;
    padding-top: 14rem;
    /* Push down aggressively to clear the navbar */
}

.hero-text-wrap {
    max-width: 950px;
}

.hero-title {
    font-size: clamp(4rem, 7vw, 8rem);
    margin-bottom: 2.5rem;
    margin-top: 2rem;
    /* Add extra spacing at top */
    letter-spacing: -0.04em;
    line-height: 0.95;
    text-shadow: 0 30px 60px rgba(2, 20, 48, 0.8);
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 80px;
    height: 1px;
    background-color: var(--color-accent);
}

.hero-subtitle {
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    max-width: 700px;
    margin-top: 5rem;
    margin-bottom: 4rem;
    font-weight: 300;
    color: var(--color-secondary-dim);
    letter-spacing: 0.02em;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    margin-bottom: 6rem;
    flex-wrap: wrap;
}

.trust-micro {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 2.5rem;
    width: max-content;
    max-width: 100%;
}

.trust-micro span {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.trust-micro svg {
    color: var(--color-accent);
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.05);
    z-index: 10;
}

.scroll-line {
    display: block;
    width: 1px;
    height: 0;
    background-color: var(--color-accent);
    animation: scrollCinematic 2.5s infinite var(--ease-in-out-quint);
}

@keyframes scrollCinematic {
    0% {
        height: 0;
        top: 0;
        opacity: 1;
    }

    50% {
        height: 40px;
    }

    100% {
        height: 0;
        top: 80px;
        opacity: 0;
    }
}

/* Stats Section */
.stats-section {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    /* Creates hairline borders between items */
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.stat-item {
    padding: 5rem 3rem;
    background-color: var(--color-primary-light);
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 100%, var(--color-glow) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.stat-item:hover::after {
    opacity: 1;
}

.stat-item:hover {
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 40px 80px rgba(2, 20, 48, 0.6);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: 1rem;
    font-weight: 300;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
}

/* Reveal Animations - Ultra Premium */
[data-reveal] {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    transition: opacity 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
    will-change: transform, opacity;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Utilities */
.transition-all {
    transition: var(--transition-smooth);
}

/* UI Sections Common */
.section-header {
    text-align: left;
    max-width: 600px;
    margin-bottom: 4rem;
}

.section-header.center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.section-tagline {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    font-weight: 300;
}

.border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 4rem;
    /* Asymmetrical, massive gaps */
}

.glass-card {
    background: linear-gradient(160deg, rgba(9, 34, 69, 1) 0%, rgba(2, 20, 48, 1) 100%);
    /* Solidified background colors */
    /* backdrop-filter: blur(20px); - REMOVED FOR PERFORMANCE */
    /* -webkit-backdrop-filter: blur(20px); */
    border: 1px solid rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 20px 40px rgba(2, 20, 48, 0.6);
    /* Reduced blur */
    border-radius: var(--border-radius);
    padding: 5rem 4rem;
    transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo), border-color 0.6s var(--ease-out-expo);
    /* Explicit transitions instead of 'all' */
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
    backface-visibility: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, -20%), rgba(216, 184, 113, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.8s var(--ease-out-expo);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(216, 184, 113, 0.15);
    box-shadow: inset 0 1px 0 rgba(216, 184, 113, 0.2), 0 40px 100px rgba(2, 20, 48, 0.95);
}

.glass-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 48px;
    height: 48px;
    background-color: transparent;
    color: var(--color-accent);
    border: 1px solid rgba(216, 184, 113, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.glass-card:hover .card-icon {
    background-color: rgba(216, 184, 113, 0.05);
    transform: scale(1.05);
    border-color: rgba(216, 184, 113, 0.5);
    box-shadow: 0 0 15px rgba(216, 184, 113, 0.1);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1.3;
    color: var(--color-secondary);
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.modal-trigger {
    cursor: pointer;
}

/* About Section */
.about-section {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 8rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
    padding-bottom: 3rem;
    padding-right: 3rem;
}

.portrait-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #092245 0%, #021430 100%);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.015);
    z-index: 2;
    box-shadow: 0 40px 100px rgba(2, 20, 48, 0.9);
}

.portrait-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at center, rgba(196, 166, 97, 0.05) 0%, transparent 60%);
}


.arch-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border-bottom: 1px solid var(--color-accent);
    border-right: 1px solid var(--color-accent);
    opacity: 0.3;
    z-index: 1;
    transform: translate(2rem, 2rem);
    transition: var(--transition-smooth);
}

.image-wrapper:hover .arch-accent {
    transform: translate(3rem, 3rem);
    opacity: 0.6;
}

.editorial-text .lead-text {
    font-size: 1.6rem;
    color: var(--color-secondary);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.4;
}

.editorial-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-secondary-dim);
    font-weight: 300;
}

.editorial-text strong {
    color: var(--color-accent);
    font-weight: 400;
    font-size: 1.2rem;
    display: block;
    margin-top: 3rem;
    font-family: var(--font-heading);
}

/* Process & Why Me */
.process-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
    position: relative;
    background: radial-gradient(circle at 0% 50%, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

.process-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
}

.check-list {
    list-style: none;
    margin-top: 3rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    font-weight: 300;
    color: var(--color-secondary-dim);
    transition: var(--transition-fast);
}

.check-list li:hover {
    color: var(--color-secondary);
    border-bottom-color: rgba(196, 166, 97, 0.3);
    padding-left: 1rem;
}

.check-list li svg {
    color: var(--color-accent);
}

.timeline {
    position: relative;
    margin-top: 3rem;
    padding-left: 2.5rem;
    border-left: 1px solid rgba(196, 166, 97, 0.15);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -3rem;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color-primary);
    border: 1px solid var(--color-accent);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--color-accent);
    box-shadow: 0 0 20px rgba(196, 166, 97, 0.6);
    transform: scale(1.2);
}

.timeline-content h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-secondary);
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.timeline-content p {
    font-size: 1.05rem;
    margin-bottom: 0;
    color: var(--color-secondary-dim);
    font-weight: 300;
}

/* Testimonials */
.testimonials-section {
    padding-top: 8rem;
    padding-bottom: 10rem;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.testimonial-card {
    background-color: transparent;
    padding: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    background-color: var(--color-primary-light);
    border-color: rgba(196, 166, 97, 0.2);
    transform: translateY(-5px);
}

.quote-icon {
    font-family: var(--font-heading);
    font-size: 8rem;
    color: rgba(196, 166, 97, 0.08);
    position: absolute;
    top: -10px;
    left: 20px;
    line-height: 1;
    transition: var(--transition-smooth);
}

.testimonial-card:hover .quote-icon {
    color: rgba(196, 166, 97, 0.15);
}

.testimonial-text {
    font-size: 1.25rem;
    color: var(--color-secondary);
    font-style: italic;
    font-weight: 300;
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.testimonial-author .author-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-accent);
    font-weight: 300;
}

.testimonial-author .author-role {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin-top: 0.3rem;
}

/* Insights / Blog */
.insights-section {
    padding-top: 8rem;
    padding-bottom: 10rem;
    background: radial-gradient(circle at 100% 0%, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.glass-card.p-0 {
    padding: 0;
    border-radius: 0;
}

.insight-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark gradient overlay to mute the bright colors and text of the uploaded images */
    background: linear-gradient(to top, rgba(2, 20, 48, 1) 0%, rgba(2, 20, 48, 0.4) 100%);
    transition: var(--transition-smooth);
    z-index: 1;
}

.insight-image {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, #092245 0%, #021430 100%);
    position: relative;
    border-bottom: none; /* Removing 1px border that created a visual gap */
    overflow: hidden;
    /* User preferred brightness and warmth */
    filter: brightness(2.5) contrast(1.1) saturate(0.6) sepia(0.25);
    transition: var(--transition-smooth);
}

.glass-card:hover .insight-image {
    filter: brightness(2.8) contrast(1.15) saturate(0.7) sepia(0.2);
}

.glass-card:hover .insight-image::before {
    background: linear-gradient(to top, rgba(2, 20, 48, 0.9) 0%, rgba(2, 20, 48, 0.1) 100%);
}

/* Removed 'EDITORIAL' watermark because user images have text */

.insight-content {
    padding: 3rem;
}

.insight-date {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.insight-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.insight-title a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.insight-title a:hover {
    color: var(--color-accent);
}

.insight-excerpt {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    color: var(--color-secondary-dim);
    font-weight: 300;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-fast);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.read-more:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.read-more:hover svg {
    transform: translateX(8px);
}

.read-more svg {
    transition: var(--transition-smooth);
}

/* Contact Section & Form */
.contact-section {
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 8rem;
}

.method-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
}

.method-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid rgba(196, 166, 97, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    transition: var(--transition-smooth);
}

.method-item:hover .method-icon {
    background-color: var(--color-accent);
    color: var(--color-primary);
    transform: scale(1.1);
}

.method-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #666;
    margin-bottom: 0.5rem;
}

.method-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 300;
    transition: var(--transition-fast);
    font-family: var(--font-heading);
}

.method-link:hover {
    color: var(--color-accent);
}

.premium-form {
    background-color: var(--color-primary-light);
    padding: 5rem 4rem;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.02);
    box-shadow: 0 40px 80px rgba(2, 20, 48, 0.4);
}

.form-group {
    margin-bottom: 3rem;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    /* Larger */
    font-weight: 600;
    /* Much thicker */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-secondary-dim);
    /* Light blue/grey to match luxury theme */
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: #ffffff;
    /* Solid white background */
    border: 2px solid rgba(2, 20, 48, 0.1);
    /* Slightly thicker border */
    border-radius: 6px;
    padding: 1.2rem 1.5rem;
    color: #021430;
    /* Dark navy text */
    font-size: 1.15rem;
    font-family: var(--font-body);
    transition: all 0.4s var(--ease-out-expo);
    font-weight: 600;
    /* Bolder text for extreme legibility */
    box-sizing: border-box;
}

/* Fix dropdown options looking dark/glitched on Windows */
.form-group select option {
    background-color: #ffffff;
    color: #021430;
    font-weight: 500;
}

/* Make unselected dropdowns look like placeholders */
.form-group select:invalid {
    color: rgba(2, 20, 48, 0.55);
}

/* Make disabled placeholder options in the dropdown readable */
.form-group select option:disabled {
    color: rgba(2, 20, 48, 0.4);
    background-color: #f0f0f0;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    /* Dark SV arrow for white background */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23021430' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 16px;
    padding-right: 3rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(216, 184, 113, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(2, 20, 48, 0.55);
    /* Darker, more legible placeholder */
    font-weight: 500;
}

.form-submit {
    width: 100%;
    margin-top: 2rem;
    padding: 1.5rem;
    letter-spacing: 4px;
}

/* Stretched Link Utility */
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    content: "";
}

/* Footer */
.footer {
    background-color: #021430;
    padding: 6rem 0 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    text-align: center;
}

.footer-brand {
    margin-bottom: 3rem;
}

.footer-links {
    margin: 3rem 0;
    display: flex;
    gap: 4rem;
    justify-content: center;
}

.footer-links a {
    color: var(--color-secondary-dim);
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-copyright {
    font-size: 0.85rem;
    color: #555;
    letter-spacing: 2px;
}

/* Responsive Overrides */
@media (max-width: 1400px) {
    .hero-title {
        font-size: clamp(3rem, 6vw, 6rem);
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 5%;
    }

    .panel-1 {
        width: 55vw;
    }

    .panel-2 {
        width: 45vw;
    }
}

@media (max-width: 992px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    :root {
        --section-padding: 120px;
    }

    .hero-title {
        font-size: clamp(3rem, 10vw, 4.5rem);
    }

    .hero-actions {
        flex-direction: column;
        gap: 1.5rem;
    }

    .btn {
        width: 100%;
    }

    .trust-micro {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 4rem 2rem;
    }

    .about-grid,
    .process-wrapper,
    .testimonial-slider,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .panel-1 {
        width: 70vw;
        height: 50vh;
        top: 10%;
        right: -5%;
    }

    .panel-2 {
        width: 60vw;
        height: 40vh;
        top: 45%;
        left: -5%;
    }

    .glass-card {
        padding: 3rem 2rem;
    }

    .premium-form {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    h2.section-title {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        margin-top: 0;
    }

    .hero-content {
        padding-top: 8rem;
        padding-left: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 1.5rem 0;
    }
}

/* Cookie Consent Banner - Standalone Glass Styling */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: auto;
    max-width: 420px;
    margin: 0;
    z-index: 10000;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;

    /* Native Glass Styling (No hardware acceleration bugs) */
    background: linear-gradient(160deg, rgba(9, 34, 69, 0.95) 0%, rgba(2, 20, 48, 0.98) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 30px 60px rgba(2, 20, 48, 0.8);
    border-radius: var(--border-radius);

    transform: translateY(150%);
    transition: transform 0.8s var(--ease-spring), opacity 0.8s var(--ease-spring);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    flex: 1;
    min-width: 300px;
}

.cookie-title {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.cookie-text {
    font-size: 0.85rem;
    color: var(--color-secondary-dim);
    line-height: 1.6;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    white-space: nowrap;
}

.btn-sm {
    padding: 0.8rem 2rem;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        max-width: none;
        width: calc(100% - 2rem);
        padding: 2rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-actions .btn {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem;
    }
}

/* Service Modal Styling */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s var(--ease-spring);
}

.service-modal.active {
    pointer-events: all;
    opacity: 1;
}

.service-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 20, 48, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-modal-content {
    position: relative;
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    background: #092245;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    z-index: 10;
    transform: translateY(30px) scale(0.98);
    transition: transform 0.6s var(--ease-spring);
}

.service-modal.active .service-modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 10px;
    z-index: 20;
    text-shadow: 0 2px 10px rgba(2, 20, 48, 0.5);
}

.modal-close:hover {
    color: var(--color-accent);
    transform: rotate(90deg) scale(1.1);
}

.modal-header {
    position: relative;
    margin: -3rem -3rem 2rem -3rem;
    /* Outdent from modal-content padding */
    padding: 3rem 3rem 2rem 3rem;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.modal-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -1px;
    background: linear-gradient(to bottom, rgba(9, 34, 69, 0.3) 0%, rgba(9, 34, 69, 0.8) 50%, #092245 100%);
    pointer-events: none;
}

.modal-header>* {
    position: relative;
    z-index: 2;
}

.modal-icon {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.modal-icon svg {
    width: 32px;
    height: 32px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-primary-light);
    line-height: 1.2;
}

.modal-body {
    color: var(--color-secondary-dim);
    font-size: 1rem;
    line-height: 1.8;
}

.modal-body p {
    margin-bottom: 1.5rem;
}

.modal-body ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.8rem;
    color: var(--color-secondary);
}

.modal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
}

/* ==========================================================================
   Lead Generation Auto-Popup
   ========================================================================== */

.lead-popup {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    left: auto;
    max-width: 420px;
    z-index: 10000;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;

    /* Native Glass Styling (Matches cookie banner) */
    background: linear-gradient(160deg, rgba(9, 34, 69, 0.95) 0%, rgba(2, 20, 48, 0.98) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(196, 166, 97, 0.3);
    /* Accent color border */
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 30px 60px rgba(2, 20, 48, 0.8);
    border-radius: var(--border-radius);

    transform: translateY(150%);
    transition: transform 0.8s var(--ease-spring), opacity 0.8s var(--ease-spring);
    opacity: 0;
    pointer-events: none;
}

.lead-popup.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.popup-text {
    width: 100%;
}

.popup-title {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.popup-desc {
    color: var(--color-secondary-dim);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.popup-form input {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(2, 20, 48, 0.1);
    color: #021430;
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition-smooth);
    box-sizing: border-box;
}

.popup-form input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(216, 184, 113, 0.15);
}

.popup-form input::placeholder {
    color: rgba(2, 20, 48, 0.55);
    font-weight: 500;
}

.popup-form .btn-primary {
    width: 100%;
    padding: 1rem !important;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--color-secondary-dim);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    padding: 0;
}

.close-popup:hover {
    color: var(--color-primary);
}

.popup-status {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 0.5rem;
    font-family: var(--font-body);
}

.popup-status.success {
    color: #4ade80;
}

.popup-status.error {
    color: #f87171;
}

@media (max-width: 768px) {
    .lead-popup {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        max-width: none;
        width: calc(100% - 2rem);
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   Valuation Form (Nemokamas Vertinimas) Specific Styles
   ========================================================================== */

.valuation-selection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
}

.type-select-btn {
    padding: 1.5rem;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    background: transparent;
    color: var(--color-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.type-select-btn:hover {
    border-color: var(--color-accent);
}

.type-select-btn.active {
    background: var(--color-primary);
    border-color: var(--color-accent);
    color: var(--color-secondary);
}

.form-progress-tracker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.progress-step.active,
.progress-step.completed {
    opacity: 1;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-secondary-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-step.active .step-number,
.progress-step.completed .step-number {
    background-color: var(--color-accent);
    color: var(--color-primary);
    border: 1px solid var(--color-accent);
}

.step-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--color-secondary);
}

.progress-line {
    flex-grow: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 2rem;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    /* Increased size for a grander look */
    color: var(--color-secondary);
    margin-bottom: 4rem;
    /* More breathing room */
    letter-spacing: -0.02em;
}

.form-grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.step-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Disabled the old wrapper to let .form-group select styling shine */

/* Custom Radio Buttons */
.radio-group-container {
    grid-column: span 2;
}

.radio-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.custom-radio {
    display: flex;
    align-items: center;
    position: relative;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    /* Bolder text */
    user-select: none;
    color: var(--color-primary);
    /* Dark text on white bg */
    background: #ffffff;
    /* White background */
    border: 1px solid rgba(2, 20, 48, 0.15);
    border-radius: 4px;
    transition: all 0.4s var(--ease-out-expo);
}

.custom-radio:hover {
    background: #fdfbf7;
    border-color: var(--color-accent);
}

.custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Let the container show it's selected */
.custom-radio:has(input:checked) {
    border-color: var(--color-accent);
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(216, 184, 113, 0.2);
}

.radio-mark {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    height: 22px;
    width: 22px;
    background-color: transparent;
    border: 1px solid rgba(2, 20, 48, 0.2);
    /* Dark border */
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.custom-radio:hover input~.radio-mark {
    border-color: var(--color-accent);
}

.custom-radio input:checked~.radio-mark {
    border-color: var(--color-accent);
}

.radio-mark:after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-accent);
}

.custom-radio input:checked~.radio-mark:after {
    display: block;
}

/* Privacy Checkbox Specifics */
.checkbox-group {
    margin-top: 3rem;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 40px;
    cursor: pointer;
    font-size: 1.1rem;
    /* Slightly larger */
    user-select: none;
    color: var(--color-secondary);
    transition: color 0.3s ease;
}

.custom-checkbox:hover {
    color: #ffffff;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-mark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 24px;
    width: 24px;
    background-color: #ffffff;
    /* Solid White box */
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.custom-checkbox input:checked~.checkbox-mark {
    border-color: var(--color-accent);
    background-color: var(--color-accent);
}

.checkbox-mark:after {
    content: "";
    position: absolute;
    display: none;
    left: 8px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid #ffffff;
    /* White checkmark symbol */
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked~.checkbox-mark:after {
    display: block;
}

@media (max-width: 768px) {
    .valuation-selection-grid {
        grid-template-columns: 1fr;
    }

    .form-progress-tracker {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .progress-line {
        display: none;
    }

    .form-grid-2-col {
        grid-template-columns: 1fr;
    }
}