:root {
    --bg-color: #d3cabf; /* Premium light taupe/beige */
    --bg-darker: #c2b7a9;
    --accent-color: #b59265; /* Darker gold for contrast */
    --text-main: #2b2621; /* Deep espresso */
    --text-muted: #5e554a;
    --font-primary: 'Outfit', sans-serif;
    --font-accent: 'Playfair Display', serif;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-primary);
    cursor: none; /* Hide default cursor */
    line-height: 1.6;
}

/* --- Custom Mouse Cursor --- */
.cursor-dot, .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 999999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(196, 164, 124, 0.4);
    box-shadow: 0 0 10px rgba(196, 164, 124, 0.2);
    /* Transform transition is handled by JS for smoothness */
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.accent-text {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--accent-color);
    font-weight: 400;
}

p {
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

/* --- Global Animations & Utilities --- */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    filter: blur(12px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
}

/* Breathing Glow Animation */
@keyframes breathe {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

.breathing-glow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 164, 124, 0.15) 0%, rgba(10, 10, 11, 0) 70%);
    animation: breathe 8s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: -1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    cursor: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff;
    border: 1px solid var(--accent-color);
    font-weight: 500;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid rgba(43, 38, 33, 0.2);
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* --- Navigation --- */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(211, 202, 191, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.logo-link {
    cursor: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.nav-logo {
    filter: invert(1) opacity(0.85); /* Turns white logo to soft dark grey/black */
}

.logo-link:hover .logo-img {
    opacity: 0.8;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    cursor: none;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-cta {
    background-color: var(--accent-color);
    color: #ffffff !important;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(181, 146, 101, 0.3);
}

.nav-cta:hover {
    background-color: var(--text-main);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(43, 38, 33, 0.2);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05); /* Start slightly zoomed for Ken Burns */
}

@keyframes ken-burns {
    0% { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.2) translate(-2%, -1%); }
}

.ken-burns {
    animation: ken-burns 40s linear infinite alternate;
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%); /* Cinematic Vignette */
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-glow {
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    margin-top: -300px;
    margin-left: -300px;
}

.mask-container {
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
}

.mask-reveal {
    animation: maskUp 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform: translateY(100%);
}

.mask-reveal-delayed {
    animation: maskUp 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    transform: translateY(100%);
}

@keyframes maskUp {
    0% { transform: translateY(100%); }
    100% { transform: translateY(0); }
}

.hero-content .subtitle {
    font-size: 0.95rem;
    letter-spacing: 12px; /* Cinematic spacing */
    text-transform: uppercase;
    color: #ffffff; /* Improved legibility */
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.8); /* Stronger shadow */
}

.hero-logo-img {
    max-width: 90%;
    width: 600px;
    height: auto;
    object-fit: contain;
    margin-bottom: 30px;
    animation: fadeIn 2s ease-in-out;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

@keyframes fadeIn {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

.hero-content .description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #e0e0e0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-buttons .btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-buttons .btn-secondary:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* --- Split Layout Utilities --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 60px;
}

/* --- Client Marquee --- */
.client-marquee {
    background-color: var(--bg-darker);
    padding: 40px 0;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
    border-top: 1px solid rgba(43, 38, 33, 0.05);
    border-bottom: 1px solid rgba(43, 38, 33, 0.05);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    /* Spacing handled by the items' margins */
}

.marquee-content span {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin: 0 40px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.marquee-content span.dot {
    font-size: 1rem;
    opacity: 0.3;
}

.client-marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-content span:hover {
    opacity: 1;
    color: var(--text-main);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- About Section --- */
.about {
    position: relative;
}

.media-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 90vh; /* Cinematic full height */
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.main-image {
    width: 100%;
    height: 120%; /* Extra height for parallax */
    object-fit: cover;
}

.image-curtain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 2;
    transition: transform 1.5s cubic-bezier(0.7, 0, 0.3, 1);
    transform-origin: bottom;
}

.reveal.active .image-curtain {
    transform: scaleY(0);
}

@keyframes vitrine-pan {
    0% { object-position: 0% 50%; }
    100% { object-position: 100% 50%; }
}

.vitrine-pan {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: vitrine-pan 30s ease-in-out infinite alternate;
}

.stats {
    display: flex;
    gap: 60px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    border: none;
    margin-top: -60px; /* Overlaps the main image */
    position: relative;
    z-index: 2;
    justify-content: space-around;
}

.stat-item {
    position: relative;
}

.stat-glow {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 6s;
    background: radial-gradient(circle, rgba(196, 164, 124, 0.2) 0%, rgba(10, 10, 11, 0) 70%);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-main);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.thumbnails {
    display: flex;
    gap: 20px;
}

.thumbnail {
    width: 120px;
    height: 80px;
    overflow: hidden;
    cursor: none;
    position: relative;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    opacity: 0.6;
}

.thumbnail:hover img {
    opacity: 1;
    transform: scale(1.1);
}

.thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 20px rgba(196, 164, 124, 0);
    transition: var(--transition-smooth);
}

.thumbnail:hover::after {
    box-shadow: inset 0 0 20px rgba(196, 164, 124, 0.4);
}

.text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 80px 60px;
    border-radius: 8px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    border: none;
}

.text-column h2 {
    font-size: 5rem; /* Dramatic typography */
    margin-bottom: 40px;
    color: #3e2723;
    line-height: 1.1;
    letter-spacing: -2px;
}

.text-column p {
    font-size: 1.1rem;
    max-width: 500px;
    color: #5d4037;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.floating-quote {
    margin-top: 50px;
    font-family: var(--font-accent);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--accent-color);
    line-height: 1.4;
    position: relative;
    padding-left: 30px;
    border-left: 2px solid var(--accent-color);
    animation: float 6s ease-in-out infinite;
}

.quote-glow {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* --- Services Section --- */
.services {
    padding: 120px 60px;
    position: relative;
}

.section-bg-glow {
    width: 80vw;
    height: 80vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(196, 164, 124, 0.05) 0%, rgba(10, 10, 11, 0) 60%);
    animation-duration: 12s;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #3e2723;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(43, 38, 33, 0.08);
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.card-bg-number {
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(26, 26, 26, 0.04);
    font-family: var(--font-primary);
    line-height: 1;
    transition: var(--transition-smooth);
}

.card-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(196, 164, 124, 0.15) 0%, rgba(10, 10, 11, 0) 70%);
    bottom: -100px;
    right: -100px;
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    color: #3e2723;
}

.card-line {
    display: block;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    margin-top: 15px;
    transition: var(--transition-smooth);
}

.service-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #5d4037;
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: rgba(181, 146, 101, 0.6);
    box-shadow: 0 25px 50px rgba(0,0,0,0.05), 0 0 20px rgba(181, 146, 101, 0.05);
}

.service-card:hover .card-glow {
    opacity: 1;
}

.service-card:hover .card-line {
    width: 50px;
}

.service-card:hover .card-bg-number {
    color: rgba(181, 146, 101, 0.1);
    transform: scale(1.1);
}

/* --- Featured Projects Section --- */
.projects {
    padding: 120px 60px;
}

.header-glow {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    margin-top: -200px;
    margin-left: -200px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.project-item {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    height: 400px; /* Cinematic ratio */
    cursor: none;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    animation: ken-burns 40s linear infinite alternate;
}

.project-item:hover img {
    transform: scale(1.05); /* Extra zoom on hover */
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 40px 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 1;
    transform: translateY(0);
}

.project-item:hover img {
    transform: scale(1.12);
}

.project-item:hover .project-overlay {
    /* Kept for hover structure if needed later, but opacity is already 1 */
}

.project-info {
    padding: 0;
    border: none;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

.project-info h3 {
    font-family: var(--font-accent);
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.project-info p {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #cccccc;
}

/* --- Contact Section --- */
.contact {
    padding: 120px 60px 0;
    background-color: var(--bg-darker);
}

.contact-layout {
    padding: 0 0 120px 0;
}

.contact-intro {
    font-size: 1.1rem;
    max-width: 450px;
    margin-bottom: 50px;
    color: var(--text-muted);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-list-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: 1px solid rgba(43, 38, 33, 0.15);
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
    font-family: var(--font-primary);
}

.contact-item-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.phone-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-wrapper span {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.click-to-copy {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.2s;
    color: var(--text-main) !important;
}

.click-to-copy:hover {
    opacity: 1;
}

.whatsapp-inline-btn {
    display: inline-block;
    background-color: rgba(37, 211, 102, 0.15);
    color: #1e8745;
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 500;
    margin-top: 5px;
    transition: var(--transition-smooth);
    cursor: none;
}

.whatsapp-inline-btn:hover {
    background-color: rgba(37, 211, 102, 0.25);
}

.social-inline-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(43, 38, 33, 0.08);
    color: var(--text-main);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 500;
    margin-top: 5px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(43, 38, 33, 0.1);
    cursor: none;
}

.social-inline-btn:hover {
    background-color: rgba(43, 38, 33, 0.15);
}

/* Form Styles */
.bottom-form-container {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    padding: 15px 0;
    color: var(--text-main);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    outline: none;
    resize: none;
}

.input-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.input-group .line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(43, 38, 33, 0.2);
}

.input-group .line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

.input-group input:focus ~ label,
.input-group textarea:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.input-group input:focus ~ .line::after,
.input-group textarea:focus ~ .line::after {
    width: 100%;
}

.submit-btn {
    align-self: flex-start;
    margin-top: 20px;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    background-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(181, 146, 101, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-smooth);
}

.submit-btn:hover {
    background-color: var(--text-main);
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(43, 38, 33, 0.3);
    transform: translateY(-3px);
}

/* --- Cinematic Map --- */
.map-container {
    width: 100%;
    height: 450px;
    transition: var(--transition-smooth);
    border-radius: 4px;
    overflow: hidden;
}

.map-in-split {
    height: 100%;
    min-height: 400px;
    margin: 0;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

.map-container:hover iframe {
    pointer-events: auto;
}

.footer-bottom {
    text-align: center;
    padding: 30px;
    border-top: 1px solid rgba(26, 26, 26, 0.05);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 80px 40px;
    }
    
    .hero-content .headline {
        font-size: 4rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 40px;
    }
    
    .projects-grid {
        padding: 0 40px;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: 100%;
        height: 100vh;
        background-color: rgba(26, 25, 24, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        gap: 40px;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li a {
        font-size: 1.5rem;
        color: #ffffff;
    }
    
    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: #ffffff;
    }
    
    .menu-toggle.is-active .bar:nth-child(2) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: #ffffff;
    }
    
    .main-nav {
        padding: 20px;
    }
    
    .hero-content .subtitle { 
        font-size: 0.75rem; 
        letter-spacing: 8px; 
    }
    
    .hero-logo-img { 
        max-width: 280px; 
        margin-bottom: 20px;
    }
    
    .hero-content .headline {
        font-size: 2.5rem;
    }
    
    section {
        padding: 80px 20px;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 20px;
    }
    
    .text-column h2 span.accent-text,
    .section-header h2 span.accent-text {
        display: block;
    }

    .services-grid, .projects-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 0 20px 20px 20px;
        -ms-overflow-style: none;
        scrollbar-width: none;
        flex-wrap: nowrap; /* Ensure they don't wrap */
    }
    
    .services-grid::-webkit-scrollbar, .projects-grid::-webkit-scrollbar {
        display: none;
    }

    .service-card, .project-item {
        min-width: 85vw;
        scroll-snap-align: center;
        flex: 0 0 auto;
    }
    
    .project-item {
        height: 350px;
    }
    
    .section-header h2, .contact-info h2 { 
        font-size: 2.5rem; 
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .text-column h2 {
        font-size: 3rem;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .service-card h3 {
        font-size: 1.5rem;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact {
        padding: 80px 20px 0;
    }
    
    .map-container {
        height: 350px;
    }
    
    .whatsapp-float { 
        width: 55px; 
        height: 55px; 
        bottom: 20px; 
        right: 20px; 
    }
    
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
    
    .password-content { 
        padding: 20px; 
    }
    
    .gate-logo { 
        width: 200px; 
    }
    
    .cursor-dot, .cursor-ring {
        display: none; /* Disable custom cursor on mobile */
    }
    
    body {
        cursor: auto;
    }
    
    .btn, a {
        cursor: pointer;
    }
}

/* --- Password Gate --- */
body.locked {
    overflow: hidden;
}

.password-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(26, 25, 24, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s;
}

.password-content {
    text-align: center;
    max-width: 400px;
    padding: 40px;
}

.gate-logo {
    width: 250px;
    margin-bottom: 30px;
}

.password-content p {
    color: #a0a0a0;
    margin-bottom: 30px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.password-input-group {
    display: flex;
    gap: 10px;
}

.password-input-group input {
    flex: 1;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 15px 20px;
    border-radius: 2px;
    font-family: var(--font-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

.password-input-group input:focus {
    border-color: var(--accent-color);
}

.password-input-group button {
    padding: 15px 25px;
}

.error-text {
    color: #ff4a4a !important;
    margin-top: 15px;
    font-size: 0.8rem !important;
    opacity: 0;
    transition: opacity 0.3s;
}



/* --- Language Switcher --- */
.lang-switch a {
    text-decoration: none;
    color: var(--text-color);
}
.lang-switch a.active {
    opacity: 1 !important;
    font-weight: 600;
    color: var(--accent-color);
}
