﻿:root {
    --color-bg-primary: #f8f6f2;
    --color-bg-secondary: #f0ede8;
    --color-bg-dark: #1c1c1a;
    --color-text-primary: #1c1c1a;
    --color-text-secondary: #5c5a56;
    --color-text-muted: #8a8782;
    --color-text-light: #faf9f7;
    --color-accent: #0d7377;
    --color-accent-dark: #0a5c5f;
    --color-accent-light: rgba(13, 115, 119, 0.08);
    --color-gold: #c9a96e;
    --color-gold-light: rgba(201, 169, 110, 0.15);
    --shadow-soft: 0 4px 20px rgba(28, 28, 26, 0.06);
    --shadow-medium: 0 8px 30px rgba(28, 28, 26, 0.10);
    --shadow-strong: 0 20px 50px rgba(28, 28, 26, 0.18);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --color-bg-primary: #141413;
    --color-bg-secondary: #1c1c1a;
    --color-bg-dark: #0a0a09;
    --color-text-primary: #f5f3ef;
    --color-text-secondary: #a8a59e;
    --color-text-muted: #6b6964;
    --color-text-light: #faf9f7;
    --color-accent: #14a3a8;
    --color-accent-dark: #0d8a8f;
    --color-accent-light: rgba(20, 163, 168, 0.12);
    --color-gold: #d4b87a;
    --color-gold-light: rgba(212, 184, 122, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

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

.theme-toggle {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 1000;
    cursor: pointer;
}

.theme-toggle-track {
    width: 60px;
    height: 32px;
    background: var(--color-bg-secondary);
    border-radius: 16px;
    padding: 4px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.theme-toggle-thumb {
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    position: relative;
}

.theme-toggle.active .theme-toggle-thumb {
    transform: translateX(28px);
}

.theme-icon {
    position: absolute;
    font-size: 12px;
    transition: opacity 0.3s ease;
}

.theme-icon.light {
    opacity: 1;
}

.theme-icon.dark {
    opacity: 0;
}

[data-theme="dark"] .theme-icon.light {
    opacity: 0;
}

[data-theme="dark"] .theme-icon.dark {
    opacity: 1;
}

.lang-switcher {
    position: fixed;
    top: 140px;
    right: 30px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    background: var(--color-bg-secondary);
    padding: 4px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.lang-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: var(--color-text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 16px;
    transition: var(--transition-base);
}

.lang-btn.active {
    background: var(--color-accent);
    color: var(--color-text-light);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 60px;
    z-index: 999;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.35s ease;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
}

.nav-links a:hover {
    color: white;
}

.logo-title {
    color: white;
}

.logo-subtitle {
    color: rgba(255, 255, 255, 0.65);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    padding: 16px 60px;
}

.navbar.scrolled .nav-links a {
    color: #222;
}

.navbar.scrolled .nav-links a:hover {
    color: black;
}

.navbar.scrolled .logo-title {
    color: #111;
}

.navbar.scrolled .logo-subtitle {
    color: #666;
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 15, 16, 0.95);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

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

.logo-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 10px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-base);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

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

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

.nav-cta {
    background: var(--color-accent);
    color: var(--color-text-light) !important;
    padding: 12px 24px;
    border-radius: 30px;
    transition: var(--transition-base);
}

.nav-cta:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-base);
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    will-change: transform;
    transition: transform 0.25s ease-out;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.48) 0%, rgba(10, 10, 10, 0.20) 45%, rgba(10, 10, 10, 0.12) 100%), linear-gradient(to bottom, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.34) 100%);
}

.hero-container {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 60px 80px;
}

.hero-content {
    max-width: 920px;
    opacity: 0;
    transform: translateY(50px);
    animation: heroFadeUp 1.1s ease forwards;
    animation-delay: 0.15s;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    padding: 14px 22px;
    margin-bottom: 28px;
    border: 1px solid rgba(13, 115, 119, 0.75);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 0 24px;
    max-width: 980px;
    color: #f6f1e8;
    font-size: clamp(52px, 7vw, 100px);
    line-height: 0.95;
    letter-spacing: -1.5px;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

.hero h1 span {
    display: inline-block;
    color: var(--color-gold);
}

.hero-description {
    max-width: 700px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(16px, 1.8vw, 22px);
    line-height: 1.7;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.18);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(13, 115, 119, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

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

.hero-stats .stat-item {
    min-width: 160px;
    padding: 20px 24px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-stats .stat-item h3 {
    margin: 0 0 8px;
    color: var(--color-gold);
    font-size: 30px;
    font-weight: 600;
}

.hero-stats .stat-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.70);
    font-size: 14px;
    line-height: 1.5;
}

.scroll-indicator {
    position: absolute;
    left: 60px;
    bottom: 34px;
    z-index: 3;
    opacity: 0.85;
}

.scroll-line {
    width: 1px;
    height: 64px;
    background: linear-gradient(to bottom, rgba(13, 115, 119, 0.1), var(--color-accent));
    animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0% {
        transform: scaleY(0.65);
        opacity: 0.45;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }

    100% {
        transform: scaleY(0.65);
        opacity: 0.45;
    }
}

section {
    padding: 120px 60px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-label {
    display: inline-block;
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 16px;
    font-weight: 600;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--color-text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.section-title.light,
.section-subtitle.light {
    color: var(--color-text-light);
}

.services {
    background: var(--color-bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.service-image {
    width: 100%;
    height: auto;
    overflow: visible;
}

.service-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.service-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--color-text-primary);
    font-weight: 500;
}

.service-content p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.service-list li {
    font-size: 13px;
    color: var(--color-text-secondary);
    position: relative;
    padding-left: 16px;
}

.service-list li::before {
    content: '\2014';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.portfolio {
    background: var(--color-bg-secondary);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0 auto 56px;
    flex-wrap: wrap;
    max-width: 1100px;
    padding: 14px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(28, 28, 26, 0.08);
    border: 1px solid rgba(13, 115, 119, 0.08);
}

.filter-btn {
    position: relative;
    padding: 14px 22px;
    border: 1px solid transparent;
    background: transparent !important;
    color: var(--color-text-secondary) !important;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    border-radius: 999px;
    transition: all 0.28s ease;
    font-weight: 600;
    letter-spacing: 0.2px;
    min-height: 48px;
    overflow: hidden;
}

.filter-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.12), rgba(201, 169, 110, 0.14));
    opacity: 0;
    transition: opacity 0.28s ease;
    z-index: 0;
}

.filter-btn span,
.filter-btn {
    position: relative;
    z-index: 1;
}

.filter-btn:hover {
    transform: translateY(-2px);
    color: var(--color-text-primary) !important;
    border-color: rgba(13, 115, 119, 0.14);
}

.filter-btn:hover::before {
    opacity: 1;
}

.filter-btn.active {
    background: linear-gradient(135deg, #0d7377, #14a3a8) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 12px 26px rgba(13, 115, 119, 0.28);
    transform: translateY(-1px);
}

.filter-btn.active::before {
    opacity: 0;
}

[data-theme="dark"] .portfolio-filter {
    background: rgba(28, 28, 26, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

[data-theme="dark"] .filter-btn {
    color: #d8d4cd !important;
}

[data-theme="dark"] .filter-btn:hover {
    color: #ffffff !important;
    border-color: rgba(20, 163, 168, 0.2);
}

[data-theme="dark"] .filter-btn::before {
    background: linear-gradient(135deg, rgba(20, 163, 168, 0.18), rgba(212, 184, 122, 0.14));
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 430px));
    justify-content: center;
    justify-items: center;
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    width: 100%;
    max-width: 430px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-base);
    aspect-ratio: 4 / 3;
    text-decoration: none;
    color: inherit;
    display: block;
    background: #0f0f0f;
    box-shadow: 0 18px 42px rgba(28, 28, 26, 0.14);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.portfolio-item:hover img {
    transform: scale(1.06);
}

.portfolio-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.portfolio-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: var(--color-text-light);
    margin-bottom: 8px;
    font-weight: 500;
}

.portfolio-meta {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.portfolio-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-light);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.portfolio-btn:hover {
    color: var(--color-accent);
}

.process {
    background: var(--color-bg-primary);
    padding: 120px 60px;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.process-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    transform: translateX(-50%);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--color-bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--color-accent);
    flex-shrink: 0;
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--color-bg-primary);
    z-index: 2;
}

.step-content {
    flex: 1;
    max-width: 450px;
}

.step-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: var(--shadow-medium);
    background: #f8f6f2;
}

.step-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.8s ease;
    display: block;
    background: #f8f6f2;
}

.step-image:hover img {
    transform: scale(1.05);
}

.process-step h4 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--color-text-primary);
    font-weight: 500;
}

.process-step p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.step-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.step-list li {
    font-size: 12px;
    color: var(--color-text-secondary);
    background: var(--color-accent-light);
    padding: 6px 14px;
    border-radius: 20px;
}

.about {
    background: var(--color-bg-secondary);
    padding: 120px 60px;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-images {
    position: relative;
    height: 600px;
}

.about-image-main {
    width: 85%;
    height: 85%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    position: absolute;
    top: 0;
    left: 0;
}

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

.about-image-secondary {
    width: 50%;
    height: 40%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    position: absolute;
    bottom: 0;
    right: 0;
    border: 4px solid var(--color-bg-secondary);
}

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

.experience-badge {
    position: absolute;
    bottom: 80px;
    left: 60%;
    background: var(--color-text-primary);
    color: var(--color-bg-primary);
    padding: 25px 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-strong);
    text-align: center;
}

.exp-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--color-accent);
    line-height: 1;
}

.exp-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.about-content {
    padding-left: 20px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.about-text {
    color: var(--color-text-muted);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.about-feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: var(--color-gold-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    color: var(--color-gold);
}

.about-feature h4 {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text-primary);
}

.about-feature p {
    font-size: 13px;
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.contact {
    position: relative;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contact-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.7) 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 60px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    position: relative;
    z-index: 2;
    align-items: center;
}

.contact-content {
    color: var(--color-text-light);
}

.contact-content .section-title {
    margin-bottom: 30px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 40px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    backdrop-filter: blur(10px);
}

.contact-item div strong {
    display: block;
    font-size: 12px;
    color: var(--color-gold);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item div span {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    text-decoration: none;
    transition: var(--transition-base);
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
    color: var(--color-text-light);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    color: var(--color-text-light);
    margin-bottom: 30px;
    font-weight: 500;
}

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

.form-group label {
    display: block;
    font-size: 12px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--color-text-light);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.form-group select option {
    background: var(--color-bg-dark);
    color: var(--color-text-primary);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--color-accent);
    color: var(--color-text-light);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(13, 115, 119, 0.35);
}

.form-note {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-top: 15px;
}

.footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 60px 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
}

.footer-logo .logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: var(--color-text-light);
    font-weight: 600;
    letter-spacing: 2px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a,
.footer-column p {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--color-gold);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.portfolio-grid.is-loading,
.project-gallery.is-loading {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.luxe-gallery,
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.luxe-gallery.active,
.video-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.overlay-open {
    overflow: hidden;
}

.luxe-gallery {
    display: grid;
    place-items: center;
    padding: 28px;
    background: radial-gradient(circle at top left, rgba(201, 169, 110, 0.14), transparent 34%), radial-gradient(circle at top right, rgba(13, 115, 119, 0.18), transparent 28%), rgba(7, 7, 9, 0.88);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
}

.luxe-gallery__backdrop {
    position: absolute;
    inset: 0;
}

.luxe-gallery__shell {
    position: relative;
    width: min(100%, 1380px);
    max-height: calc(100vh - 56px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 22px;
    padding: 28px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)), rgba(12, 12, 14, 0.86);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transform: translateY(28px) scale(0.985);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.luxe-gallery.active .luxe-gallery__shell {
    transform: translateY(0) scale(1);
}

.luxe-gallery__topbar {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-right: 88px;
}

.luxe-gallery__eyebrow {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.36em;
    text-transform: uppercase;
}

.luxe-gallery__counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f6f3ec;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.luxe-gallery__counter-separator {
    color: rgba(255, 255, 255, 0.42);
}

.luxe-gallery__close,
.luxe-gallery__nav {
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #f6f3ec;
    transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

.luxe-gallery__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.luxe-gallery__close span {
    position: absolute;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.luxe-gallery__close span:first-child {
    transform: rotate(45deg);
}

.luxe-gallery__close span:last-child {
    transform: rotate(-45deg);
}

.luxe-gallery__close:hover,
.luxe-gallery__nav:hover {
    transform: translateY(-2px);
    background: rgba(201, 169, 110, 0.18);
    border-color: rgba(201, 169, 110, 0.24);
    color: #f4d7a0;
}

.luxe-gallery__nav {
    align-self: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 20px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.luxe-gallery__nav--prev {
    grid-column: 1;
    grid-row: 2;
}

.luxe-gallery__nav--next {
    grid-column: 3;
    grid-row: 2;
}

.luxe-gallery__viewport {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    min-height: 0;
}

.luxe-gallery__image-wrap {
    position: relative;
    width: 100%;
    height: min(68vh, 860px);
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 44%), rgba(6, 6, 7, 0.84);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 28px 60px rgba(0, 0, 0, 0.34);
}

.luxe-gallery__image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.01);
    animation: luxeImageReveal 0.45s ease;
}

.luxe-gallery__thumbs {
    grid-column: 1 / -1;
    display: flex;
    gap: 14px;
    align-items: center;
    overflow-x: auto;
    padding: 6px 2px 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 169, 110, 0.55) transparent;
}

.luxe-gallery__thumbs::-webkit-scrollbar {
    height: 8px;
}

.luxe-gallery__thumbs::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(201, 169, 110, 0.42);
}

.luxe-gallery__thumb {
    flex: 0 0 108px;
    height: 74px;
    padding: 0;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transform: translateY(0) scale(0.96);
    transition: opacity 0.26s ease, transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.luxe-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.luxe-gallery__thumb:hover,
.luxe-gallery__thumb.is-active {
    opacity: 1;
    transform: translateY(-2px) scale(1);
    border-color: rgba(201, 169, 110, 0.52);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
}

.video-lightbox {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(8, 8, 10, 0.96);
}

.video-lightbox__content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.video-lightbox__content video {
    display: block;
    width: auto;
    height: auto;
    max-width: min(88vw, 1200px);
    max-height: min(82vh, 900px);
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: #000;
}

.video-lightbox__close,
.video-lightbox__nav {
    position: absolute;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-lightbox__close {
    top: 20px;
    right: 24px;
    width: 48px;
    height: 48px;
    font-size: 28px;
}

.video-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.video-lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    font-size: 20px;
}

.video-lightbox__nav:hover {
    background: var(--color-accent);
    color: var(--color-text-light);
}

.video-lightbox__nav--prev {
    left: 24px;
}

.video-lightbox__nav--next {
    right: 24px;
}

.video-lightbox__counter {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    padding: 8px 16px;
    border-radius: 20px;
    color: white;
    font-size: 14px;
}

@keyframes luxeImageReveal {
    from {
        opacity: 0;
        transform: scale(1.03);
    }

    to {
        opacity: 1;
        transform: scale(1.01);
    }
}

@media (max-width:1024px) {
    .luxe-gallery {
        padding: 18px;
    }

    .luxe-gallery__shell {
        padding: 22px;
        gap: 18px;
        max-height: calc(100vh - 36px);
    }

    .luxe-gallery__image-wrap {
        height: min(60vh, 700px);
    }

    .luxe-gallery__thumb {
        flex-basis: 92px;
        height: 66px;
    }
}

@media (max-width:768px) {
    .luxe-gallery {
        padding: 10px;
    }

    .luxe-gallery__shell {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr) auto;
        padding: 18px;
        gap: 16px;
        border-radius: 26px;
    }

    .luxe-gallery__topbar {
        padding-right: 68px;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .luxe-gallery__close {
        top: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }

    .luxe-gallery__viewport {
        grid-column: 1;
        grid-row: 2;
    }

    .luxe-gallery__image-wrap {
        height: min(54vh, 540px);
        border-radius: 22px;
    }

    .luxe-gallery__nav {
        position: absolute;
        top: auto;
        bottom: 112px;
        width: 48px;
        height: 48px;
        font-size: 16px;
        z-index: 2;
    }

    .luxe-gallery__nav--prev {
        left: 16px;
    }

    .luxe-gallery__nav--next {
        right: 16px;
    }

    .luxe-gallery__thumbs {
        gap: 10px;
        padding-bottom: 2px;
    }

    .luxe-gallery__thumb {
        flex-basis: 78px;
        height: 58px;
        border-radius: 14px;
    }

    .video-lightbox {
        padding: 16px;
    }

    .video-lightbox__close {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .video-lightbox__nav {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }

    .video-lightbox__nav--prev {
        left: 8px;
    }

    .video-lightbox__nav--next {
        right: 8px;
    }

    .video-lightbox__counter {
        top: 12px;
        left: 12px;
        padding: 6px 12px;
        font-size: 12px;
    }

    .video-lightbox__content video {
        max-width: 94vw;
        max-height: 72vh;
    }
}

@media (max-width:560px) {
    .luxe-gallery__eyebrow {
        font-size: 10px;
        letter-spacing: 0.28em;
    }

    .luxe-gallery__counter {
        min-height: 40px;
        padding: 0 14px;
        font-size: 12px;
    }

    .luxe-gallery__image-wrap {
        height: min(48vh, 420px);
    }

    .luxe-gallery__nav {
        bottom: 98px;
    }

    .luxe-gallery__thumb {
        flex-basis: 68px;
        height: 52px;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-primary);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu a {
    font-size: 24px;
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu .nav-cta {
    margin-top: 20px;
}

.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    width: 100%;
    min-height: 56px;
    padding: 16px 52px 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #f5f1ea;
    font: inherit;
    font-size: 17px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: 0.25s ease;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.custom-select-trigger:hover {
    border-color: rgba(20, 163, 168, 0.45);
}

.custom-select.open .custom-select-trigger {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(20, 163, 168, 0.12);
}

.custom-select-value {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-select-arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.25s ease;
    pointer-events: none;
}

.custom-select.open .custom-select-arrow {
    transform: translateY(-35%) rotate(225deg);
}

.custom-select-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 30;
    padding: 10px;
    border-radius: 18px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.22s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.custom-select.open .custom-select-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select-option {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.2;
    cursor: pointer;
    transition: 0.2s ease;
}

.custom-select-option+.custom-select-option {
    margin-top: 4px;
}

body:not([data-theme="dark"]) .custom-select-trigger {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18));
    color: #9b9b9a;
    border: 1px solid rgba(28, 28, 26, 0.12);
}

body:not([data-theme="dark"]) .custom-select-dropdown {
    background: rgba(255, 253, 249, 0.98);
    border: 1px solid rgba(28, 28, 26, 0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body:not([data-theme="dark"]) .custom-select-option {
    color: #1c1c1a;
}

body:not([data-theme="dark"]) .custom-select-option:hover {
    background: rgba(13, 115, 119, 0.08);
}

body:not([data-theme="dark"]) .custom-select-option.active {
    background: rgba(13, 115, 119, 0.12);
    color: #0d7377;
    font-weight: 600;
}

[data-theme="dark"] .custom-select-trigger {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    color: #f5f1ea;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

[data-theme="dark"] .custom-select-dropdown {
    background: rgba(18, 18, 18, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

[data-theme="dark"] .custom-select-option {
    color: #f5f1ea;
}

[data-theme="dark"] .custom-select-option:hover {
    background: rgba(20, 163, 168, 0.12);
}

[data-theme="dark"] .custom-select-option.active {
    background: rgba(20, 163, 168, 0.18);
    color: #7fe3e6;
    font-weight: 600;
}

.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 14px 48px 14px 18px;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition-base);
    background-image: none !important;
}

.form-group select::-ms-expand {
    display: none;
}

.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.15);
}

.hero-director {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
}

.director-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-accent);
    flex-shrink: 0;
}

.director-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.director-info {
    display: flex;
    flex-direction: column;
}

.director-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.director-title {
    font-size: 12px;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.director-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(13, 115, 119, 0.85);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: 16px;
    color: rgb(165, 162, 162);
}

.director-role {
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.director-desc {
    font-size: 13px;
    opacity: 0.85;
}

.floating-contact {
    position: fixed;
    right: 16px;
    bottom: 140px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.floating-contact.hide-on-scroll {
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.floating-contact-menu {
    display: flex;
    flex-direction: column;
    gap: 14px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-contact.active .floating-contact-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-contact-link,
.floating-contact-toggle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.floating-contact-link {
    background: #048477;
    color: #f6f6f6;
    transform: scale(0.95);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.floating-contact.active .floating-contact-link {
    transform: scale(1);
}

.floating-contact-link svg {
    width: 26px;
    height: 26px;
}

.floating-contact-toggle {
    position: relative;
    background: #111111;
    color: #14a3a8;
    border: 1px solid rgba(246, 246, 246, 0.18);
    animation: phonePulse 2s infinite;
}

.toggle-phone-icon {
    width: 28px;
    height: 28px;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toggle-close {
    position: absolute;
    font-size: 28px;
    line-height: 1;
    color: #ffffff;
    opacity: 0;
    transform: scale(0.6) rotate(-90deg);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-contact.active .toggle-phone-icon {
    opacity: 0;
    transform: scale(0.6) rotate(90deg);
}

.floating-contact.active .toggle-close {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

@keyframes phonePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(20, 163, 168, 0.6);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(20, 163, 168, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(20, 163, 168, 0);
    }
}

.navbar:not(.scrolled) .nav-links a {
    color: rgba(255, 255, 255, 0.88);
}

.navbar:not(.scrolled) .nav-links a:hover {
    color: #ffffff;
}

.navbar:not(.scrolled) .logo-title {
    color: #ffffff;
}

.navbar:not(.scrolled) .logo-subtitle {
    color: rgba(255, 255, 255, 0.70);
}

.navbar:not(.scrolled) .mobile-menu-btn span {
    background: #ffffff;
}

body:not([data-theme="dark"]) .navbar.scrolled .nav-links a {
    color: #222222;
}

body:not([data-theme="dark"]) .navbar.scrolled .nav-links a:hover {
    color: #000000;
}

body:not([data-theme="dark"]) .navbar.scrolled .logo-title {
    color: #111111;
}

body:not([data-theme="dark"]) .navbar.scrolled .logo-subtitle {
    color: #666666;
}

body:not([data-theme="dark"]) .navbar.scrolled .mobile-menu-btn span {
    background: #111111;
}

[data-theme="dark"] .navbar.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.86);
}

[data-theme="dark"] .navbar.scrolled .nav-links a:hover {
    color: #ffffff;
}

[data-theme="dark"] .navbar.scrolled .logo-title {
    color: #ffffff;
}

[data-theme="dark"] .navbar.scrolled .logo-subtitle {
    color: rgba(255, 255, 255, 0.68);
}

[data-theme="dark"] .navbar.scrolled .mobile-menu-btn span {
    background: #ffffff;
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(12, 12, 12, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.portfolio-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.before-after-card:hover .portfolio-cover-image {
    transform: scale(1.05);
}

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

    .about-grid {
        gap: 60px;
    }
}

@media (max-width:992px) {
    .navbar {
        padding: 20px 30px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    section {
        padding: 80px 30px;
    }

    .hero-container {
        padding: 130px 28px 70px;
    }

    .hero h1 {
        font-size: clamp(42px, 8vw, 72px);
    }

    .scroll-indicator {
        left: 28px;
    }

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

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

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

    .about-images {
        height: 400px;
        margin-bottom: 40px;
    }

    .experience-badge {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
    }

    .process-step,
    .process-step:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }

    .process-line {
        display: none;
    }

    .contact-container {
        grid-template-columns: 1fr;
        padding: 80px 30px;
    }

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

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

    .theme-toggle,
    .lang-switcher {
        right: 20px;
    }

    .theme-toggle {
        top: 80px;
    }

    .lang-switcher {
        top: 120px;
    }

    .hero-director {
        margin-bottom: 20px;
        padding: 15px;
    }

    .director-photo {
        width: 60px;
        height: 60px;
    }

    .director-name {
        font-size: 20px;
    }
}

@media (max-width:768px) {
    .hero-container {
        padding: 120px 20px 60px;
        align-items: flex-end;
    }

    .hero-label {
        font-size: 11px;
        letter-spacing: 1.5px;
        padding: 12px 16px;
        margin-bottom: 18px;
    }

    .hero h1 {
        font-size: clamp(34px, 10vw, 54px);
        line-height: 1.02;
        margin-bottom: 18px;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 28px;
    }

    .hero-stats {
        gap: 12px;
    }

    .hero-stats .stat-item {
        min-width: calc(50% - 6px);
        padding: 16px 14px;
    }

    .hero-stats .stat-item h3 {
        font-size: 24px;
    }

    .scroll-indicator {
        display: none;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px;
    }

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

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

    .hero-director {
        max-width: 100%;
    }

    .floating-contact {
        right: 16px;
        bottom: 95px;
    }

    .floating-contact-link,
    .floating-contact-toggle {
        width: 58px;
        height: 58px;
    }

    .floating-contact-link svg,
    .toggle-phone-icon {
        width: 24px;
        height: 24px;
    }
}

img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[loading] {
    opacity: 1;
}

.project-gallery-item img,
.portfolio-item img,
.portfolio-cover-image,
.luxe-gallery__thumb img,
.luxe-gallery__image-wrap img,
.step-image img,
.service-image img,
.about-image-main img,
.contact-bg img,
.hero-bg img,
.logo img,
.footer-logo img {
    opacity: 1 !important;
}
.nav-logo-img {
    height: 35px;
    width: auto;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 5px;
}

@media (hover:none) and (pointer:coarse) {
    .portfolio-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 70%);
    }

    .service-card:hover {
        transform: none;
    }

    .service-card:hover .service-image img {
        transform: none;
    }

    .portfolio-item:hover img {
        transform: none;
    }

    .step-image:hover img {
        transform: none;
    }

    .filter-btn {
        min-height: 48px;
        padding: 14px 20px;
    }

    .social-link {
        width: 52px;
        height: 52px;
    }

    .submit-btn {
        min-height: 52px;
    }

    .btn {
        min-height: 52px;
        padding: 16px 28px;
    }
}

@media (max-width:375px) {
    html {
        font-size: 14px;
    }

    .navbar {
        padding: 16px 16px;
    }

    .logo img {
        height: 38px;
    }

    .logo-title {
        font-size: 16px;
        letter-spacing: 1.5px;
    }

    .logo-subtitle {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .mobile-menu-btn {
        padding: 8px;
    }

    .mobile-menu-btn span {
        width: 22px;
    }

    .hero-container {
        padding: 110px 16px 50px;
    }

    .hero-label {
        font-size: 10px;
        letter-spacing: 1px;
        padding: 10px 14px;
        margin-bottom: 14px;
        border-radius: 12px;
    }

    .hero h1 {
        font-size: clamp(28px, 9vw, 42px);
        margin-bottom: 14px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .hero-buttons {
        gap: 12px;
        margin-bottom: 24px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 10px;
    }

    .hero-stats .stat-item {
        min-width: calc(50% - 5px);
        padding: 14px 12px;
        border-radius: 14px;
    }

    .hero-stats .stat-item h3 {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .hero-stats .stat-item p {
        font-size: 12px;
    }

    section {
        padding: 60px 16px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-label {
        font-size: 24px;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .section-title {
        font-size: clamp(28px, 7vw, 38px);
        margin-bottom: 16px;
    }

    .section-subtitle {
        font-size: 14px;
        line-height: 1.6;
    }

    .theme-toggle {
        top: 70px;
        right: 16px;
    }

    .theme-toggle-track {
        width: 52px;
        height: 28px;
    }

    .theme-toggle-thumb {
        width: 20px;
        height: 20px;
    }

    .theme-toggle.active .theme-toggle-thumb {
        transform: translateX(24px);
    }

    .theme-icon {
        font-size: 10px;
    }

    .lang-switcher {
        top: 105px;
        right: 16px;
        padding: 3px;
        gap: 4px;
    }

    .lang-btn {
        padding: 5px 10px;
        font-size: 11px;
    }

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

    .service-number {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .service-content h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .service-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .service-list {
        gap: 8px;
    }

    .service-list li {
        font-size: 12px;
        padding-left: 14px;
    }

    .portfolio-filter {
        gap: 8px;
        margin-bottom: 30px;
        padding: 0 4px;
    }

    .filter-btn {
        padding: 10px 14px;
        font-size: 12px;
        min-height: 44px;
        flex-shrink: 0;
    }

    .portfolio-grid {
        gap: 16px;
    }

    .portfolio-overlay {
        padding: 20px;
    }

    .portfolio-category {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .portfolio-title {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .portfolio-btn {
        font-size: 12px;
    }

    .process-steps {
        gap: 50px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 22px;
        margin-bottom: 20px;
    }

    .step-content {
        text-align: center;
    }

    .step-image {
        height: 200px;
        margin-bottom: 20px;
    }

    .step-image img {
        width: 100%;
    }

    .process-step h4 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .process-step p {
        font-size: 14px;
        line-height: 1.6;
    }

    .step-list {
        justify-content: center;
        gap: 8px;
    }

    .step-list li {
        font-size: 11px;
        padding: 5px 10px;
    }

    .about-images {
        height: 320px;
        margin-bottom: 30px;
    }

    .about-image-main {
        height: 100%;
        width: 100%;
    }

    .director-overlay {
        padding: 16px 20px;
        left: 16px;
        right: 16px;
        bottom: 20px;
    }

    .director-role {
        font-size: 12px;
    }

    .director-desc {
        font-size: 12px;
    }

    .about-content {
        padding-left: 0;
    }

    .about-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .about-features {
        gap: 20px;
        margin-top: 30px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .about-feature h4 {
        font-size: 14px;
    }

    .about-feature p {
        font-size: 12px;
    }

    .contact-container {
        padding: 60px 16px;
        gap: 40px;
    }

    .contact-info-block {
        gap: 20px;
        margin: 30px 0;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .contact-item div strong {
        font-size: 11px;
    }

    .contact-item div span {
        font-size: 14px;
    }

    .social-links {
        gap: 10px;
        margin-top: 24px;
    }

    .social-link {
        width: 44px;
        height: 44px;
        font-size: 12px;
    }

    .contact-form {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .contact-form h3 {
        font-size: 24px;
        margin-bottom: 24px;
    }

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

    .form-group label {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .custom-select-trigger {
        min-height: 50px;
        padding: 14px 44px 14px 14px;
        font-size: 15px;
    }

    .custom-select-option {
        padding: 12px 14px;
        font-size: 15px;
    }

    .submit-btn {
        padding: 14px;
        font-size: 14px;
        margin-top: 8px;
    }

    .form-note {
        font-size: 10px;
        margin-top: 12px;
    }

    .footer {
        padding: 50px 16px 30px;
    }

    .footer-content {
        padding-bottom: 40px;
        gap: 30px;
    }

    .footer-main {
        max-width: 100%;
    }

    .footer-logo {
        gap: 10px;
        margin-bottom: 16px;
    }

    .footer-logo img {
        height: 45px;
    }

    .footer-logo .logo-text {
        font-size: 18px;
    }

    .footer-desc {
        font-size: 13px;
    }

    .footer-column h4 {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .footer-column a,
    .footer-column p {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .footer-bottom {
        padding-top: 24px;
        gap: 16px;
        font-size: 12px;
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        gap: 16px;
    }

    .floating-contact {
        right: 12px;
        bottom: 85px;
        gap: 10px;
    }

    .floating-contact-menu {
        gap: 10px;
    }

    .floating-contact-link,
    .floating-contact-toggle {
        width: 52px;
        height: 52px;
    }

    .floating-contact-link svg {
        width: 22px;
        height: 22px;
    }

    .toggle-phone-icon {
        width: 22px;
        height: 22px;
    }

    .toggle-close {
        font-size: 24px;
    }

    .mobile-menu {
        gap: 24px;
    }

    .mobile-menu a {
        font-size: 20px;
    }

    .mobile-menu .nav-cta {
        margin-top: 16px;
        padding: 14px 28px;
    }
}

@media (min-width:376px) and (max-width:389px) {
    .hero-container {
        padding: 115px 18px 55px;
    }

    .hero-label {
        font-size: 10px;
        padding: 11px 15px;
    }

    .hero h1 {
        font-size: clamp(30px, 9vw, 44px);
    }

    .section-label {
        font-size: 28px;
    }

    .section-title {
        font-size: clamp(30px, 7vw, 40px);
    }

    .theme-toggle {
        top: 75px;
        right: 18px;
    }

    .lang-switcher {
        top: 110px;
        right: 18px;
    }
}

@media (min-width:390px) and (max-width:412px) {
    .navbar {
        padding: 18px 20px;
    }

    .hero-container {
        padding: 120px 20px 60px;
    }

    .hero-label {
        font-size: 11px;
        padding: 12px 16px;
    }

    .hero h1 {
        font-size: clamp(32px, 9vw, 48px);
    }

    .hero-stats .stat-item {
        padding: 16px 16px;
    }

    .section-label {
        font-size: 30px;
    }

    .section-title {
        font-size: clamp(32px, 7vw, 44px);
    }

    .service-content {
        padding: 28px 24px;
    }

    .contact-form {
        padding: 28px 24px;
    }
}

@media (min-width:413px) and (max-width:430px) {
    .navbar {
        padding: 20px 24px;
    }

    .logo img {
        height: 42px;
    }

    .hero-container {
        padding: 125px 24px 65px;
    }

    .hero-label {
        font-size: 12px;
        padding: 13px 18px;
    }

    .hero h1 {
        font-size: clamp(34px, 8vw, 50px);
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-stats {
        gap: 14px;
    }

    .hero-stats .stat-item {
        padding: 18px 18px;
    }

    .hero-stats .stat-item h3 {
        font-size: 26px;
    }

    section {
        padding: 70px 20px;
    }

    .section-label {
        font-size: 32px;
    }

    .section-title {
        font-size: clamp(34px, 7vw, 46px);
    }

    .filter-btn {
        padding: 12px 18px;
        font-size: 13px;
    }

    .service-content {
        padding: 32px 28px;
    }

    .contact-form {
        padding: 32px 28px;
    }

    .footer {
        padding: 60px 24px 35px;
    }
}

@media (max-width:768px) {
    .theme-toggle {
        top: 75px;
        right: 20px;
    }

    .lang-switcher {
        top: 115px;
        right: 20px;
        flex-direction: column;
        padding: 6px;
        gap: 4px;
        border-radius: 16px;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 11px;
    }

    .portfolio-filter {
        overflow-x: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 10px 16px;
        margin: 0 -20px 36px;
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        border: none;
    }

    .portfolio-filter::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex-shrink: 0;
        padding: 13px 18px;
        font-size: 13px;
        min-height: 44px;
        white-space: nowrap;
    }

    .section-label {
        font-size: 32px;
    }

    .custom-select-dropdown {
        position: fixed;
        top: auto;
        bottom: 20px;
        left: 20px;
        right: 20px;
        z-index: 99999;
        max-height: 60vh;
        overflow-y: auto;
    }

    .custom-select.open .custom-select-dropdown {
        transform: translateY(0);
    }

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

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

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .floating-contact {
        bottom: 90px;
    }
}

@media (max-width:768px) {
    body {
        overflow-x: hidden;
    }

    html {
        overflow-x: hidden;
    }

    .hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .navbar,
    .hero-container,
    .services,
    .portfolio,
    .process,
    .about,
    .contact,
    .footer {
        max-width: 100vw;
        overflow-x: hidden;
    }
}

@media (max-width:359px) {
    html {
        font-size: 13px;
    }

    .navbar {
        padding: 12px 12px;
    }

    .logo img {
        height: 35px;
    }

    .logo-title {
        font-size: 14px;
    }

    .logo-subtitle {
        display: none;
    }

    .hero-container {
        padding: 100px 12px 45px;
    }

    .hero-label {
        font-size: 9px;
        padding: 8px 12px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero-stats .stat-item {
        min-width: 100%;
    }

    section {
        padding: 50px 12px;
    }

    .section-label {
        font-size: 22px;
    }

    .section-title {
        font-size: 26px;
    }
}

.btn,
.btn-primary,
.hero .btn,
.cta-button,
.submit-btn,
.nav-cta {
    background: #0d7377 !important;
    color: #ffffff !important;
}

.btn:hover,
.btn-primary:hover,
.hero .btn:hover,
.cta-button:hover,
.submit-btn:hover,
.portfolio-btn:hover,
.nav-cta:hover {
    background: #0a5c5f !important;
    color: #ffffff !important;
}

.btn-secondary,
[data-theme="dark"] .btn-secondary {
    background: #ffffff !important;
    border: 2px solid #0d7377 !important;
    color: #ffffff !important;
}

.btn-secondary:hover,
[data-theme="dark"] .btn-secondary:hover {
    background: #0a5c5f !important;
    border-color: #0a5c5f !important;
    color: #ffffff !important;
}

.lang-btn {
    background: transparent !important;
    color: #1c1c1a !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.lang-btn:hover,
.lang-btn.active {
    background: #0d7377 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .btn:hover,
[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .hero .btn:hover,
[data-theme="dark"] .cta-button:hover,
[data-theme="dark"] .submit-btn:hover,
[data-theme="dark"] .portfolio-btn:hover,
[data-theme="dark"] .nav-cta:hover {
    background: #0a5c5f !important;
    color: #ffffff !important;
}

[data-theme="dark"] .btn-secondary:hover {
    background: #0d7377 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .lang-btn {
    background: transparent !important;
    color: #f5f3ef !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] .lang-btn:hover,
[data-theme="dark"] .lang-btn.active {
    background: #0d7377 !important;
    color: #ffffff !important;
}

.portfolio-item {
    overflow: hidden;
    border: none !important;
    position: relative;
    background: #000;
    width: 100%;
    max-width: 430px;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(28, 28, 26, 0.14);
}

.portfolio-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.portfolio-overlay {
    border: none !important;
    outline: none !important;
}

.portfolio-btn,
[data-theme="dark"] .portfolio-btn {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

[data-theme="dark"] .btn-secondary {
    background: #0d7377 !important;
    color: #ffffff !important;
    border: 2px solid #0d7377 !important;
}

.before-after-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #111;
}

.portfolio-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.before-after-card video {
    pointer-events: none;
}

@media (max-width:768px) {
    .theme-toggle {
        top: 90px !important;
        right: 16px !important;
    }

    .floating-contact {
        bottom: 90px !important;
        right: 16px !important;
    }
}

@media (max-width:768px) {
    .floating-contact {
        right: 12px !important;
        bottom: 120px !important;
    }

    .floating-contact-link,
    .floating-contact-toggle {
        width: 58px !important;
        height: 58px !important;
    }
}

.floating-contact {
    position: fixed;
    right: 16px;
    bottom: 140px;
    z-index: 1200;
    width: 64px;
    height: 64px;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.floating-contact.hide-on-scroll {
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.floating-contact-menu {
    position: absolute;
    right: 0;
    bottom: 78px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-contact.active .floating-contact-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-contact-link,
.floating-contact-toggle {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    max-width: 64px;
    max-height: 64px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.floating-contact-link {
    background: #048477;
    color: #f6f6f6;
    transform: scale(0.95);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.floating-contact.active .floating-contact-link {
    transform: scale(1);
}

.floating-contact-link svg {
    width: 26px;
    height: 26px;
}

.floating-contact-toggle {
    position: absolute;
    right: 0;
    bottom: 0;
    background: #111111;
    color: #14a3a8;
    border: 1px solid rgba(246, 246, 246, 0.18);
    overflow: hidden;
    will-change: transform;
    animation: phonePulseFixed 2s infinite;
}

.toggle-phone-icon {
    width: 28px;
    height: 28px;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toggle-close {
    position: absolute;
    font-size: 28px;
    line-height: 1;
    color: #ffffff;
    opacity: 0;
    transform: scale(0.6) rotate(-90deg);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-contact.active .toggle-phone-icon {
    opacity: 0;
    transform: scale(0.6) rotate(90deg);
}

.floating-contact.active .toggle-close {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

@keyframes phonePulseFixed {
    0% {
        box-shadow: 0 0 0 0 rgba(20, 163, 168, 0.55);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(20, 163, 168, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(20, 163, 168, 0);
    }
}

@media (max-width:768px) {
    .theme-toggle {
        top: 90px !important;
        right: 16px !important;
    }

    .floating-contact {
        width: 58px !important;
        height: 58px !important;
        right: 12px !important;
        bottom: 120px !important;
    }

    .floating-contact-menu {
        bottom: 72px !important;
        gap: 10px !important;
    }

    .floating-contact-link,
    .floating-contact-toggle {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        min-height: 58px !important;
        max-width: 58px !important;
        max-height: 58px !important;
    }

    .floating-contact-link svg,
    .toggle-phone-icon {
        width: 24px !important;
        height: 24px !important;
    }

    .toggle-close {
        font-size: 24px !important;
    }
}

@media (max-width:768px) {
    .hero-bg video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.audio-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 100;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(13, 115, 119, 0.85);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.audio-toggle:hover {
    background: rgba(13, 115, 119, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(13, 115, 119, 0.4);
}

.audio-toggle:active {
    transform: scale(0.95);
}

.audio-icon {
    width: 24px;
    height: 24px;
    color: white;
}

.audio-toggle.muted .audio-on {
    display: none;
}

.audio-toggle.muted .audio-off {
    display: block !important;
}

.audio-toggle:not(.muted) .audio-on {
    display: block;
}

.audio-toggle:not(.muted) .audio-off {
    display: none !important;
}

.hero-video.loading {
    opacity: 0;
}

.hero-video.loaded {
    opacity: 1;
    transition: opacity 0.5s ease;
}

@media (max-width:768px) {
    .audio-toggle {
        bottom: 180px;
        left: 16px;
        width: 44px;
        height: 44px;
    }

    .audio-icon {
        width: 20px;
        height: 20px;
    }

    .hero-video {
        object-position: center;
    }
}

@media (min-width:769px) and (max-width:1024px) {
    .audio-toggle {
        bottom: 30px;
        left: 25px;
    }
}

[data-theme="dark"] .audio-toggle {
    background: rgba(20, 163, 168, 0.85);
}

[data-theme="dark"] .audio-toggle:hover {
    background: rgba(20, 163, 168, 1);
}

.audio-toggle.hint {
    animation: audioHint 2s ease-in-out 3;
}

@keyframes audioHint {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    50% {
        box-shadow: 0 4px 25px rgba(13, 115, 119, 0.6), 0 0 0 10px rgba(13, 115, 119, 0.1);
    }
}

@media (hover: none) and (pointer: coarse) {
    .portfolio-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.12) 70%);
    }

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

    .portfolio-item:hover img {
        transform: none;
    }
}

/* FIX ABOUT MOBILE */
@media (max-width: 768px) {
    .about {
        padding: 70px 16px;
        overflow: hidden;
    }

    .about-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 36px;
        width: 100%;
    }

    .about-content {
        padding-left: 0 !important;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .about-content .section-title,
    .about .section-title {
        font-size: clamp(38px, 13vw, 58px) !important;
        line-height: 1;
        max-width: 100%;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .about-text {
        font-size: 16px;
        line-height: 1.8;
        max-width: 100%;
    }

    .about-features {
        grid-template-columns: 1fr !important;
        gap: 18px;
    }

    .about-images {
        height: auto !important;
    }

    .about-image-main {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
    }

    .about-image-main img {
        width: 100%;
        height: auto;
        display: block;
    }
}

.social-link i {
    font-size: 20px;
    line-height: 1;
}

/* Contact social block final override */
.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 42px 0 28px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 22px;
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.contact-item div strong {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d8ba7f;
}

.contact-item div span {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.96);
}

.social-links {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px;
    padding: 10px 0 0;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.social-link svg {
    width: 24px;
    height: 24px;
    display: block;
    flex: 0 0 auto;
}

.social-link:hover {
    background: rgba(20, 163, 168, 0.92);
    border-color: rgba(20, 163, 168, 0.92);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(13, 115, 119, 0.24);
}

@media (max-width: 768px) {
    .contact-info-block {
        gap: 20px;
        margin: 32px 0 22px;
    }

    .contact-item {
        gap: 16px;
    }

    .contact-icon {
        width: 52px;
        height: 52px;
        border-radius: 16px;
        font-size: 20px;
    }

    .contact-item div strong {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .contact-item div span {
        font-size: 15px;
    }

    .social-links {
        gap: 10px;
        margin-top: 8px;
        padding-top: 4px;
    }

    .social-link {
        width: 50px;
        height: 50px;
        border-radius: 16px;
    }

    .social-link svg {
        width: 21px;
        height: 21px;
    }
}

/* FIX WhatsApp icon only */
.social-link[aria-label="WhatsApp"] svg {
    width: 28px !important;
    height: 28px !important;
    color: #ffffff !important;
    fill: none !important;
}

.social-link[aria-label="WhatsApp"] svg path:last-child {
    fill: #ffffff !important;
}

/* FIX FOOTER MOBILE */
@media (max-width: 768px) {
    .footer {
        padding: 56px 20px 32px !important;
        overflow: hidden !important;
    }

    .footer-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 34px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .footer-links {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 28px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .footer-column {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .footer-column h4 {
        font-size: 13px !important;
        line-height: 1.3 !important;
        white-space: normal !important;
    }

    .footer-column a,
    .footer-column p {
        font-size: 14px !important;
        line-height: 1.55 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .footer-logo {
        align-items: center !important;
    }

    .footer-main {
        max-width: 100% !important;
    }
}

@media (max-width: 430px) {
    .footer-links {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
    }
}

/* ARCHISPACE final responsive cleanup */
.contact-container {
    display: grid;
    align-items: stretch;
}

body.mobile-menu-open {
    overflow: hidden !important;
}

.portfolio-filter .filter-btn,
.portfolio-filter .filter-btn span,
.filter-btn {
    color: var(--color-text-primary) !important;
}

.filter-btn:hover {
    color: var(--color-accent) !important;
}

.filter-btn.active {
    color: #ffffff !important;
}

[data-theme="dark"] .portfolio-filter .filter-btn,
[data-theme="dark"] .portfolio-filter .filter-btn span,
[data-theme="dark"] .filter-btn {
    color: #f5f3ef !important;
}

[data-theme="dark"] .filter-btn:hover,
[data-theme="dark"] .filter-btn.active {
    color: #ffffff !important;
}

@media (min-width: 601px) {
    .contact-container {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 520px) !important;
        gap: 56px !important;
        align-items: start !important;
    }

    .contact-content {
        grid-column: 1 !important;
    }

    .contact-form {
        grid-column: 2 !important;
        width: 100% !important;
        max-width: 520px !important;
        justify-self: end !important;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 56px 20px 32px !important;
        overflow: hidden !important;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 34px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 28px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .footer-column {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .footer-column h4 {
        font-size: 13px !important;
        line-height: 1.3 !important;
        white-space: normal !important;
    }

    .footer-column a,
    .footer-column p {
        font-size: 14px !important;
        line-height: 1.55 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .footer-logo {
        align-items: center !important;
    }

    .footer-main {
        max-width: 100% !important;
    }

    .floating-contact {
        right: 16px !important;
        bottom: 16px !important;
    }

    .floating-contact-link,
    .floating-contact-toggle {
        width: 54px !important;
        height: 54px !important;
    }

    .floating-contact-link svg,
    .floating-contact-toggle svg {
        width: 22px !important;
        height: 22px !important;
    }

    .portfolio-filter {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .portfolio-filter::-webkit-scrollbar {
        display: none;
    }

    .theme-toggle {
        top: calc(env(safe-area-inset-top, 0px) + 98px) !important;
        right: calc(env(safe-area-inset-right, 0px) + 10px) !important;
        z-index: 1102 !important;
        transform: none !important;
    }

    .theme-toggle-track {
        width: 54px !important;
        height: 30px !important;
        padding: 4px !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.86) !important;
        border: 1px solid rgba(20, 20, 20, 0.08) !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
    }

    [data-theme="dark"] .theme-toggle-track {
        background: rgba(18, 21, 21, 0.88) !important;
        border-color: rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32) !important;
    }

    .theme-toggle-thumb {
        width: 22px !important;
        height: 22px !important;
    }

    .theme-toggle.active .theme-toggle-thumb {
        transform: translateX(24px) !important;
    }

    body.mobile-menu-open .theme-toggle {
        top: calc(env(safe-area-inset-top, 0px) + 22px) !important;
        right: calc(env(safe-area-inset-right, 0px) + 88px) !important;
    }

    .mobile-menu-btn {
        position: relative;
        z-index: 1103 !important;
    }

    .mobile-menu {
        position: fixed !important;
        inset: 0 !important;
        display: flex !important;
        align-items: stretch !important;
        justify-content: center !important;
        padding: 12px !important;
        background: rgba(5, 8, 12, 0.42) !important;
        backdrop-filter: blur(22px) !important;
        -webkit-backdrop-filter: blur(22px) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: none !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
        z-index: 1101 !important;
    }

    .mobile-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .mobile-menu__panel {
        position: relative;
        overflow: hidden;
        width: 100%;
        min-height: calc(100vh - 24px);
        padding: 16px 16px 24px;
        border-radius: 28px;
        border: 1px solid rgba(255, 255, 255, 0.10);
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 24%),
            radial-gradient(circle at top right, rgba(20, 163, 168, 0.14), transparent 28%),
            radial-gradient(circle at 18% 82%, rgba(201, 169, 110, 0.12), transparent 32%),
            linear-gradient(180deg, rgba(14, 16, 18, 0.96), rgba(15, 17, 20, 0.88));
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        display: flex;
        flex-direction: column;
    }

    .mobile-menu__panel::before {
        content: "";
        position: absolute;
        inset: 78px 12px 12px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 34%),
            radial-gradient(circle at center, rgba(20, 163, 168, 0.10), transparent 42%);
        pointer-events: none;
    }

    .mobile-menu__panel::after {
        content: "";
        position: absolute;
        left: 28px;
        right: 28px;
        bottom: 72px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(20, 163, 168, 0.56), transparent);
        pointer-events: none;
    }

    .mobile-menu__header {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
    }

    .mobile-menu__brand,
    .mobile-menu__brand-link {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
    }

    .mobile-menu__brand-link {
        pointer-events: none;
    }

    .mobile-menu__brand .logo-title,
    .mobile-menu__brand-link .logo-title {
        color: #ffffff !important;
        font-size: 20px !important;
        letter-spacing: 1.4px !important;
    }

    .mobile-menu__brand .logo-subtitle,
    .mobile-menu__brand-link .logo-subtitle {
        color: rgba(255, 255, 255, 0.62) !important;
        font-size: 9px !important;
        letter-spacing: 1.7px !important;
    }

    .mobile-menu__brand img,
    .mobile-menu__brand-link img {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        object-fit: cover;
    }

    .mobile-menu__close {
        position: relative;
        width: 44px;
        height: 44px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.10);
        background: rgba(255, 255, 255, 0.06);
        color: #ffffff;
        cursor: pointer;
        flex: 0 0 auto;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .mobile-menu__close span {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 16px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
    }

    .mobile-menu__close span:first-child {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .mobile-menu__close span:last-child {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .mobile-menu__decor {
        position: relative;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin: 26px 0 18px;
        color: rgba(20, 163, 168, 0.9);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.34em;
        text-transform: uppercase;
    }

    .mobile-menu__decor::after {
        content: "";
        width: 44px;
        height: 1px;
        background: linear-gradient(90deg, rgba(20, 163, 168, 0.8), transparent);
    }

    .mobile-menu__nav {
        position: relative;
        z-index: 2;
        counter-reset: mobile-menu-link;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 12px;
        text-align: left;
        padding: 0 4px 18px;
    }

    .mobile-menu a {
        color: #ffffff !important;
        text-decoration: none;
        font-size: 21px !important;
        font-weight: 700 !important;
        line-height: 1.15;
        max-width: none;
    }

    .mobile-menu__nav a:not(.nav-cta) {
        counter-increment: mobile-menu-link;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 58px;
        padding: 0 18px 0 58px;
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.07);
        background: rgba(255, 255, 255, 0.035);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
        transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    }

    .mobile-menu__nav a:not(.nav-cta)::before {
        content: "0" counter(mobile-menu-link);
        position: absolute;
        left: 18px;
        color: rgba(20, 163, 168, 0.92);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.12em;
    }

    .mobile-menu__nav a:not(.nav-cta)::after {
        content: "";
        width: 8px;
        height: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.72);
        border-right: 1px solid rgba(255, 255, 255, 0.72);
        transform: rotate(45deg);
        opacity: 0.72;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .mobile-menu__nav a:not(.nav-cta):hover,
    .mobile-menu__nav a:not(.nav-cta):focus-visible {
        transform: translateX(4px);
        border-color: rgba(20, 163, 168, 0.32);
        background: rgba(20, 163, 168, 0.10);
    }

    .mobile-menu__nav a:not(.nav-cta):hover::after,
    .mobile-menu__nav a:not(.nav-cta):focus-visible::after {
        transform: translateX(3px) rotate(45deg);
        opacity: 1;
    }

    .mobile-menu .nav-cta {
        margin-top: 10px !important;
        min-height: 58px;
        width: 100%;
        padding: 0 24px !important;
        border-radius: 18px !important;
        background: linear-gradient(135deg, rgba(13, 115, 119, 0.96), rgba(20, 163, 168, 0.96)) !important;
        color: #ffffff !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        box-shadow: 0 18px 34px rgba(13, 115, 119, 0.30);
    }

    .mobile-menu .nav-cta::after {
        content: "\2192";
        margin-left: 10px;
        font-size: 18px;
        line-height: 1;
    }
}

@media (max-width: 600px) {
    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .contact-form {
        max-width: 100% !important;
        justify-self: stretch !important;
    }
}

@media (max-width: 560px) {
    .theme-toggle {
        top: calc(env(safe-area-inset-top, 0px) + 96px) !important;
        right: calc(env(safe-area-inset-right, 0px) + 8px) !important;
    }

    body.mobile-menu-open .theme-toggle {
        top: calc(env(safe-area-inset-top, 0px) + 22px) !important;
        right: calc(env(safe-area-inset-right, 0px) + 78px) !important;
    }

    .mobile-menu {
        padding: 10px !important;
    }

    .mobile-menu__panel {
        min-height: calc(100vh - 20px);
        padding: 14px 14px 20px;
        border-radius: 22px;
    }

    .mobile-menu__brand .logo-title,
    .mobile-menu__brand-link .logo-title {
        font-size: 18px !important;
    }

    .mobile-menu__brand .logo-subtitle,
    .mobile-menu__brand-link .logo-subtitle {
        font-size: 8px !important;
    }

    .mobile-menu__nav {
        gap: 10px;
    }

    .mobile-menu a {
        font-size: 19px !important;
    }

    .mobile-menu__nav a:not(.nav-cta) {
        min-height: 54px;
        padding-left: 52px;
        border-radius: 16px;
    }

    .footer-links {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
    }
}

/* ARCHISPACE final viewport guard */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

img,
video {
    max-width: 100%;
}

@media (max-width: 768px) {
    .portfolio-filter {
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
    }

    .portfolio-filter::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .portfolio-grid,
    .services-grid,
    .contact-container,
    .contact-form {
        min-width: 0;
        max-width: 100%;
    }
}

/* ARCHISPACE luxury polish */
.service-card,
.portfolio-item,
.before-after-card,
.contact-form,
.process-step .step-content {
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 54px rgba(28, 28, 26, 0.1);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .portfolio-item,
[data-theme="dark"] .before-after-card,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .process-step .step-content {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 68px rgba(0, 0, 0, 0.32);
}

.service-card,
.contact-form {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.portfolio-item,
.before-after-card {
    border-radius: 24px;
    isolation: isolate;
}

.portfolio-overlay {
    background: linear-gradient(180deg, transparent 18%, rgba(8, 10, 10, 0.82));
}

.btn,
.submit-btn,
.portfolio-btn {
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.btn:hover,
.submit-btn:hover {
    transform: translateY(-2px);
}

.form-group input,
.form-group textarea,
.form-group select,
.custom-select-trigger {
    transition: border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.custom-select-trigger:focus-visible {
    border-color: rgba(20, 163, 168, 0.52);
    box-shadow: 0 0 0 4px rgba(20, 163, 168, 0.1);
}

.section-header {
    max-width: 980px;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 34px;
    }

    .section-title {
        line-height: 1.05;
    }

    .service-card,
    .portfolio-item,
    .before-after-card,
    .contact-form {
        border-radius: 20px;
    }

    .portfolio-item,
    .before-after-card {
        min-height: 260px;
    }

    .portfolio-overlay {
        padding: 22px;
    }

    .portfolio-title {
        line-height: 1.12;
    }
}

@media (max-width: 414px) {
    .portfolio-item,
    .before-after-card {
        min-height: 238px;
    }

    .contact-form {
        padding: 24px 18px;
    }
}

/* Premium smart forms */
.contact-form {
    position: relative;
}

.form-trust,
.form-reassurance {
    margin: -10px 0 22px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    line-height: 1.55;
}


.form-reassurance {
    margin: 10px 0 0;
    text-align: center;
}

.form-field,
.floating-field {
    position: relative;
}

.form-field input,
.form-field textarea,
.form-field select,
.floating-field input,
.floating-field textarea,
.floating-field select {
    width: 100%;
}

.form-field input::placeholder,
.form-field textarea::placeholder,
.floating-field input::placeholder,
.floating-field textarea::placeholder {
    color: transparent;
    transition: color 0.2s ease;
}

.form-field.is-focused input::placeholder,
.form-field.is-focused textarea::placeholder,
.floating-field.is-focused input::placeholder,
.floating-field.is-focused textarea::placeholder {
    color: transparent;
}


.form-field label,
.floating-field label {
    position: absolute;
    left: 18px;
    top: 12px;
    z-index: 2;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
    transform: none;
    transform-origin: left top;
    transition: color 0.25s ease;
}


.form-field textarea + label,
.form-field textarea ~ label,
.floating-field textarea + label,
.floating-field textarea ~ label,
.textarea-field label,
.form-field:has(textarea) label,
.floating-field:has(textarea) label {
    top: 16px;
    transform: none;
}

.form-field.is-focused label,
.form-field.has-value label,
.floating-field.is-focused label,
.floating-field.has-value label {
    top: 12px;
    color: var(--color-accent);
    background: transparent;
    padding: 0;
    font-size: 12px;
    letter-spacing: 0.08em;
    transform: none;
}



.form-field input,
.form-field textarea,
.floating-field input,
.floating-field textarea {
    padding-top: 34px;
}

.form-field textarea,
.floating-field textarea {
    resize: vertical;
}

.field-error,
.form-group input.field-error,
.form-group textarea.field-error,
.form-group select.field-error,
.custom-select-trigger.field-error {
    border-color: rgba(255, 107, 107, 0.7) !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.12), 0 14px 34px rgba(255, 107, 107, 0.06) !important;
}

.form-error-message,
.form-success-message {
    display: block;
    min-height: 16px;
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.35;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.form-error-message {
    color: #ff7b7b;
}

.form-success-message {
    color: #7ce0bd;
    text-align: center;
}

.form-error-message.active,
.form-success-message.active {
    opacity: 1;
    transform: translateY(0);
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.submit-btn {
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.submit-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.24), transparent);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
}

.submit-btn:hover::after {
    transform: translateX(120%);
}

.submit-btn.is-loading,
.submit-btn.is-success {
    pointer-events: none;
}

.submit-btn.is-loading {
    opacity: 0.84;
}

.submit-btn.is-success {
    background: #12805f !important;
    box-shadow: 0 14px 36px rgba(18, 128, 95, 0.24);
}

@media (max-width: 430px) {
    .form-field label,
    .floating-field label {
        left: 14px;
    }

    .form-field input,
    .form-field textarea,
    .floating-field input,
    .floating-field textarea {
        font-size: 16px;
    }
}

.process .step-list {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    justify-content: flex-start;
}

.process .step-list li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(20, 163, 168, 0.13);
    color: #d8d4cd;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

.process .step-list li::before {
    display: none !important;
}

.process .step-content {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.process .step-list li {
    background: var(--color-accent-light) !important;
    color: var(--color-text-secondary) !important;
}

[data-theme="dark"] .process .step-list li {
    background: rgba(20, 163, 168, 0.16) !important;
    color: #d8d4cd !important;
}

@media (min-width: 769px) and (max-width: 1366px) {
    .process-line {
        display: none;
    }
}

/* Stable floating contact button */
.floating-contact {
    position: fixed !important;
    left: auto !important;
    top: auto !important;
    right: max(28px, env(safe-area-inset-right, 0px) + 24px) !important;
    bottom: max(28px, env(safe-area-inset-bottom, 0px) + 24px) !important;
    z-index: 1200 !important;
    width: 72px !important;
    height: 72px !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.floating-contact-menu {
    right: 0 !important;
    bottom: 84px !important;
}

.floating-contact-link,
.floating-contact-toggle {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
}

.floating-contact-link svg,
.floating-contact-toggle svg,
.toggle-phone-icon {
    width: 28px !important;
    height: 28px !important;
}

@media (max-width: 1024px) {
    .floating-contact {
        right: max(22px, env(safe-area-inset-right, 0px) + 18px) !important;
        bottom: max(22px, env(safe-area-inset-bottom, 0px) + 18px) !important;
        width: 64px !important;
        height: 64px !important;
    }

    .floating-contact-menu {
        bottom: 76px !important;
    }

    .floating-contact-link,
    .floating-contact-toggle {
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;
        min-height: 64px !important;
        max-width: 64px !important;
        max-height: 64px !important;
    }
}

@media (max-width: 560px) {
    .floating-contact {
        right: max(16px, env(safe-area-inset-right, 0px) + 14px) !important;
        bottom: max(16px, env(safe-area-inset-bottom, 0px) + 14px) !important;
        width: 58px !important;
        height: 58px !important;
    }

    .floating-contact-menu {
        bottom: 70px !important;
        gap: 10px !important;
    }

    .floating-contact-link,
    .floating-contact-toggle {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        min-height: 58px !important;
        max-width: 58px !important;
        max-height: 58px !important;
    }

    .floating-contact-link svg,
    .floating-contact-toggle svg,
    .toggle-phone-icon {
        width: 24px !important;
        height: 24px !important;
    }
}

/* Clean mobile burger button */
.mobile-menu-btn {
    appearance: none;
    -webkit-appearance: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 0;
    border-radius: 999px;
    background: transparent !important;
    box-shadow: none !important;
    outline: none;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.navbar:not(.scrolled) .mobile-menu-btn,
.project-body .navbar .mobile-menu-btn,
[data-theme="dark"] .navbar .mobile-menu-btn {
    color: #ffffff;
}

body:not([data-theme="dark"]):not(.project-body) .navbar.scrolled .mobile-menu-btn {
    color: #111111;
}

.project-body:not([data-theme="dark"]) .navbar.scrolled .mobile-menu-btn {
    color: #111111;
}

.project-body:not([data-theme="dark"]) .navbar.scrolled .mobile-menu-btn span {
    background: #111111 !important;
}

.project-body[data-theme="dark"] .navbar.scrolled .mobile-menu-btn {
    color: #ffffff;
}

.project-body[data-theme="dark"] .navbar.scrolled .mobile-menu-btn span {
    background: #ffffff !important;
}

.mobile-menu-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(20, 163, 168, 0.24) !important;
}

@media (hover: hover) {
    .mobile-menu-btn:hover {
        background: rgba(255, 255, 255, 0.08) !important;
    }

    body:not([data-theme="dark"]):not(.project-body) .navbar.scrolled .mobile-menu-btn:hover {
        background: rgba(0, 0, 0, 0.06) !important;
    }
}

/* Theme toggle contrast for light and dark surfaces */
.theme-toggle {
    border-radius: 999px;
}

.theme-toggle-track {
    background: rgba(226, 229, 224, 0.96) !important;
    border: 1px solid rgba(13, 115, 119, 0.32) !important;
    box-shadow:
        0 12px 28px rgba(12, 18, 18, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.72),
        inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body:not([data-theme="dark"]) .theme-toggle-track {
    background: linear-gradient(180deg, rgba(244, 245, 241, 0.98), rgba(213, 219, 214, 0.98)) !important;
    border-color: rgba(13, 115, 119, 0.42) !important;
}

.theme-toggle-thumb {
    background: linear-gradient(135deg, #0d7377, #14a3a8) !important;
    box-shadow:
        0 6px 16px rgba(13, 115, 119, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

[data-theme="dark"] .theme-toggle-track,
.project-body[data-theme="dark"] .theme-toggle-track {
    background: rgba(16, 18, 18, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .theme-toggle-thumb,
.project-body[data-theme="dark"] .theme-toggle-thumb {
    background: linear-gradient(135deg, #11a0a6, #0d7377) !important;
}

.theme-toggle:focus-visible .theme-toggle-track {
    outline: 3px solid rgba(20, 163, 168, 0.24);
    outline-offset: 3px;
}
