/* =============================================
   Variables
   ============================================= */
:root {
    --color-bg: #f6f0eb;
    --color-bg-alt: #f0e6de;
    --color-contact-bg: #fdf0e9;
    --color-brown: #653d22;
    --color-brown-dark: #653d22;
    --color-brown-muted: #9a8578;
    --color-brown-light: #4B270D;
    --color-text-muted: #716965;
    --color-text-soft: #653d22;
    --color-border: #c8b8ad;
    --color-border-light: #e0d0c5;
    --color-accent: #c45c3a;
    --color-white: #fff;
    --color-cta-bg: #a08060;

    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Cormorant Garamond', sans-serif;

    --panel-width-menu: 325px;
    --panel-width-contact: 640px;
    --panel-z: 1000;
    --transition-panel: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =============================================
   Base
   ============================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--color-bg);
    overflow-x: hidden;
    font-family: var(--font-sans);
    color: var(--color-brown);
}

button {
    font: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =============================================
   Loader
   ============================================= */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-bg);
    transition: opacity 0.5s ease;
}

.logo-main {
    width: auto;
    width: clamp(140px, 24vw, 320px);
    height: auto;
}

.loader-counter {
    position: absolute;
    left: 50%;
    font-size: clamp(14px, 2vw, 22px);
    bottom: clamp(20px, 4vw, 40px);
    letter-spacing: 1px;
    transform: translateX(-50%);
    font-family: var(--font-sans);
    color: var(--color-brown);
}
@media (min-width:1600px){

    .logo-main{
        max-width:380px;
    }

    .loader-counter{
        font-size:24px;
        bottom:50px;
    }

}


/* ==========================
   Laptop
========================== */

@media (max-width:1200px){

    .logo-main{
        width:28vw;
        max-width:280px;
    }

    .loader-counter{
        font-size:20px;
        bottom:35px;
    }

}


/* ==========================
   Tablet
========================== */

@media (max-width:992px){

    .logo-main{
        width:34vw;
        max-width:240px;
    }

    .loader-counter{
        font-size:18px;
        bottom:30px;
    }

}


/* ==========================
   Mobile Landscape
========================== */

@media (max-width:768px){

    .logo-main{
        width:42vw;
        max-width:200px;
        min-width:140px;
    }

    .loader-counter{
        font-size:17px;
        bottom:28px;
    }

}


/* ==========================
   Mobile Portrait
========================== */

@media (max-width:576px){

    .logo-main{
        width:52vw;
        max-width:180px;
        min-width:120px;
    }

    .loader-counter{
        font-size:16px;
        bottom:24px;
    }

}


/* ==========================
   Small Phones
========================== */

@media (max-width:380px){

    .logo-main{
        width:60vw;
        max-width:160px;
    }

    .loader-counter{
        font-size:14px;
        bottom:20px;
        letter-spacing:1px;
    }

}
/* =============================================
   Navbar
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    padding: 25px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
}

/* Navbar height variable for section calculations */
:root {
    --navbar-height: 80px;
}

.navbar.scrolled {
    background: rgba(246, 240, 235, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 60px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled .menu-btn,
.navbar.scrolled .contact-btn {
    color: var(--color-brown);
}

/* Improved button touch targets for mobile */
.menu-btn:active,
.contact-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.menu-btn,
.contact-btn {
    color: var(--color-white);
    font-size: 14px;
    letter-spacing: 2px;
    white-space: nowrap;
    line-height: 100%;
    letter-spacing: 10.6%;
    transition: color 0.3s ease;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-icon,
.contact-icon {
    display: none;
    font-size: 20px;
    vertical-align: middle;
}

.logo {
    width: 80px;
    max-width: 22vw;
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* ==========================================================
   Laptop (1400px)
========================================================== */

@media (max-width:1400px){

    .navbar{
        padding:18px 50px;
    }

    .navbar.scrolled{
        padding:15px 50px;
    }

    .logo{
        width:72px;
    }
}

/* ==========================================================
   Small Laptop (1200px)
========================================================== */

@media (max-width:1200px){

    .navbar{
        padding:18px 40px;
    }

    .navbar.scrolled{
        padding:14px 40px;
    }

    .menu-btn,
    .contact-btn{
        font-size:13px;
        letter-spacing:1.5px;
    }

    .logo{
        width:68px;
    }

}

/* ==========================================================
   Tablet
========================================================== */

@media (max-width:992px){

    :root{
        --navbar-height:70px;
    }

    .navbar{
        padding:16px 28px;
    }

    .navbar.scrolled{
        padding:12px 28px;
    }

    .menu-btn,
    .contact-btn{
        font-size:12px;
        letter-spacing:1px;
    }

    .logo{
        width:60px;
    }

}

/* ==========================================================
   Mobile
========================================================== */

@media (max-width:767px){

    :root{
        --navbar-height:60px;
    }

    .navbar{
        padding:16px 20px;
        background: transparent;
        width: 100%;
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar.scrolled{
        padding:16px 20px;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    }

    .navbar.scrolled .menu-btn,
    .navbar.scrolled .contact-btn{
        color: var(--color-brown);
    }

    .menu-btn,
    .contact-btn{
        font-size:12px;
        letter-spacing:2px;
        font-weight: 500;
        gap: 8px;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        padding: 8px;
    }

    /* Show hamburger icon on mobile */
    .menu-icon {
        display: inline-block;
        font-size: 20px;
    }

    .logo{
        width:48px;
        max-width: 48px;
        flex-shrink: 0;
    }

    /* Hero mobile styles */
    .hero {
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-content {
        position: absolute;
        left: 8%;
        top: 50%;
        transform: translateY(-50%);
        text-align: left;
        padding: 0;
        width: 84%;
        max-width: none;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 3rem);
        color: var(--color-white);
        line-height: 1.15;
        margin-bottom: 16px;
        text-align: left;
        width: 100%;
        font-family: var(--font-serif);
        font-weight: 400;
        letter-spacing: 0;
    }

    .hero-subtitle {
        font-size: clamp(13px, 3.5vw, 15px);
        color: var(--color-white);
        opacity: 0.9;
        display: block;
        text-align: left;
        width: 100%;
        letter-spacing: 1px;
    }

    .hero-where {
        display: inline;
        text-align: left;
    }

    .hero-rotating-container {
        height: 1.3em;
        display: inline-block;
        vertical-align: bottom;
    }

    .scroll-down {
        display: flex;
        bottom: 32px;
    }

    .scroll-down span {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .scroll-line {
        height: 40px;
    }

}

/* ==========================================================
   Small Mobile
========================================================== */

@media (max-width:576px){

    :root{
        --navbar-height:60px;
    }

    .navbar{
        padding:12px 16px;
    }

    .navbar.scrolled{
        padding:10px 16px;
    }

    .menu-btn,
    .contact-btn{
        font-size:10px;
        letter-spacing:.8px;
    }

    .logo{
        width:46px;
    }

}

/* ==========================================================
   Extra Small Devices
========================================================== */

@media (max-width:480px){

    .navbar{
        padding:12px 16px;
    }

    .navbar.scrolled{
        padding:10px 16px;
    }

    .menu-btn,
    .contact-btn{
        font-size: 12px;
        letter-spacing: 1px;
        gap: 4px;
    }

    .logo{
        width: 40px;
    }

}

@media (max-width:400px){

    .navbar{
        padding:10px 12px;
    }

    .navbar.scrolled{
        padding:8px 12px;
    }

    .menu-btn,
    .contact-btn{
        font-size: 10px;
        letter-spacing: 0.5px;
        gap: 4px;
    }

    .logo{
        width: 36px;
    }

}

/* Show icons only on very small screens */
@media (max-width:360px){
    .menu-text,
    .contact-text {
        display: none;
    }

    .menu-icon,
    .contact-icon {
        display: inline-block;
        font-size: 22px;
    }

    .menu-btn,
    .contact-btn {
        padding: 8px;
    }
}
/* =============================================
   Hero Section
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    min-height: 600px;
    overflow: hidden;
}

/* Ensure scroll targets account for fixed navbar */
html {
    scroll-padding-top: calc(var(--navbar-height) + 20px);
    scroll-behavior: smooth;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 8%;
    z-index: 2;
    transform: translateY(-50%);
}

.hero-title {
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 400;
    letter-spacing: 0%;
    line-height: 115%;
}

.hero-subtitle {
    margin-top: 15px;
    color: var(--color-white);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 1.6%;
    line-height: 100%;
}

.hero-where {
    display: inline;
}

.hero-rotating-container {
    display: inline-block;
    height: 1.2em;
    overflow: hidden;
    vertical-align: bottom;
    position: relative;
    top: 0.1em;
}

.hero-rotating-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    animation: slot-machine-scroll 6s infinite ease-in-out;
}

.hero-rotating-text {
    display: block;
    height: 1.2em;
    line-height: 1.2em;
    color: var(--color-white);
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    white-space: nowrap;
}

@keyframes slot-machine-scroll {
    0% {
        transform: translateY(0);
    }
    28% {
        transform: translateY(0);
    }
    33% {
        transform: translateY(-1.2em);
    }
    61% {
        transform: translateY(-1.2em);
    }
    66% {
        transform: translateY(-2.4em);
    }
    94% {
        transform: translateY(-2.4em);
    }
    97% {
        transform: translateY(-3.6em);
    }
    100% {
        transform: translateY(-3.6em);
    }
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
    font-size: 11px;
    letter-spacing: 3px;
    cursor: pointer;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--color-white);
    animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    50%, 100% { transform: translateY(250%); }
}

/* =============================================
   About Section
   ============================================= */
.about-section {
    min-height: calc(100vh - var(--navbar-height));
    height: auto;
    padding: 100px 60px 120px;
    background: var(--color-bg);
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
}

/* Add scroll margin for anchor links */
#about {
    scroll-margin-top: var(--navbar-height);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 30px;
    align-items: start;
}

.about-left {
    /* padding-top: 40px; */
}

.section-label {
    display: block;
    font-size: 28px;
    letter-spacing: 0;
    line-height: 136%;
    font-family: var(--font-serif);
    text-transform: uppercase;
    color: var(--color-brown-light);
    margin-bottom: 30px;
    font-weight: 500;
}

.about-text {
    font-size: 18px;
    line-height: 160%;
    letter-spacing: 0;
    color: var(--color-text-soft);
    margin-bottom: 24px;
    font-weight: 300;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    font-size: 18px;
    line-height: 160%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--color-brown);
    font-weight: 300;
    position: relative;
    transition: color 0.3s ease;
}

.about-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-brown);
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.about-link:hover::after {
    transform: scaleX(0);
    transform-origin: left;
}

.arrow {
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--color-brown);
    position: relative;
    transition: width 0.3s ease;
}

.arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 8px;
    height: 8px;
    border-top: 1px solid var(--color-brown);
    border-right: 1px solid var(--color-brown);
    transform: rotate(45deg);
}

.about-link:hover .arrow {
    width: 32px;
}

.about-right {
    position: relative;
}

/* =============================================
   Portfolio Section - Match Reference
   ============================================= */
.portfolio-section {
    padding: 80px 60px;
    background: var(--color-bg);
    /* border-bottom: 1px solid var(--color-border) */
}

.portfolio-header {
    margin-bottom: 50px;
}

.portfolio-title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 136%;
    color: var(--color-brown);
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.portfolio-filters {
    display: none;
    gap: 25px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-brown);
}

.filter-option input {
    display: none;
}

.radio-circle {
    width: 16px;
    height: 16px;
    border: 2px solid var(--color-brown);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-option input:checked + .radio-circle::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-brown);
    border-radius: 50%;
}

/* Portfolio Layout - Match Reference Image */
.portfolio-layout {
    display: grid;
    grid-template-columns: 280px 1fr 200px;
    gap: 0;
    align-items: start;
}

.portfolio-carousel {
    display: none;
}

/* Full Width Project List */
.portfolio-list {
    display: flex;
    flex-direction: column;
    grid-column: 1 / -1;
}

.project-row {
    display: grid;
    grid-template-columns: 60px 1fr 1fr 75px;
    align-items: center;
    gap: 20px;
    padding: 0 60px;
    height: 100px;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 0 -60px;
    position: relative;
}

.project-row:hover {
    background: rgba(253, 240, 233, 0.8);
}

.project-num {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--color-text-muted);
    min-width: 40px;
    line-height: 100%;
    letter-spacing: 1.8%;
    font-weight: 400;
}

.project-row:hover .project-num {
    color: var(--color-brown);
}

.project-name {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 1.8%;
    color: var(--color-brown-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.project-row:hover .project-name,
.project-row:hover .project-category,
.project-row:hover .project-year,
.project-row:hover .project-arrow {
    color: var(--color-brown-dark);
}

/* Category and Year stacked */
.project-meta-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.project-category {
    font-size: 18px;
    font-weight: 400;
    line-height: 136%;
    letter-spacing: 1.8%;
    text-transform: uppercase;
    color: var(--color-brown-muted);
    text-align: right;
}
.project-row .active .project-category {
    color: var(--color-brown-dark);
   
}

.project-year {
    font-size: 18px;
    font-weight: 400;
    line-height: 136%;
    letter-spacing: 1.8%;
    color: var(--color-brown-muted);
    text-align: right;
}
.project-row .active .project-year:hover {
    color: var(--color-brown-dark);
   
}
.project-arrow {
    font-size: 30px;
    color: var(--color-brown-muted);
    opacity: 0.5;
    transition: opacity 0.3s ease;
    text-align: right;
}

.project-row:hover .project-arrow {
    opacity: 1;
}

/* Center Image Preview - Fixed position in layout */
.portfolio-preview {
    display: block;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-preview.active {
    opacity: 1;
}

.portfolio-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hidden floating image */
.portfolio-image-float {
    display: none;
}


#video, #portfolio, #team, #cta, #contact {
    scroll-margin-top: var(--navbar-height);
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Preview Image with Dark Overlay */
.video-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 3;
    transition: opacity 0.8s ease;
    filter: brightness(0.4);
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    text-align: center;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.video-label {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 16px;
    opacity: 0.8;
}

.video-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    color: var(--color-white);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}


/* =============================================
   Team Section
   ============================================= */
.team-section {
    padding: 200px 60px;
    background: var(--color-bg);
    min-height: calc(100vh - var(--navbar-height));
    height: auto;
    display: flex;
    align-items: top;
    justify-content: center;
}

.team-container {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: start;
    gap: 234px;
}

.team-video {
    height: 600px;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 9/16;
    overflow: hidden;
}

.team-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 90% 50%;
}

.team-content {
    text-align: left;
    max-width: 500px;
}

.section-label-small {
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 136%;
    letter-spacing: 11.6%;
    text-transform: uppercase;
    color: var(--color-brown-light);
    margin-bottom: 20px;
}

.team-title {
    font-family: var(--font-serif);
    font-size: 40px;
    font-weight: 500;
    line-height: 136%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--color-brown);
}

.team-image {
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.team-image:hover img {
    transform: scale(1.05);
}

/* =============================================
   CTA Section - Footer Curtain Reveal Effect
   ============================================= */
.cta-wrap {
    position: relative;
    width: 100%;
    z-index: 2;
    background: rgb(160, 128, 96);
    overflow: hidden;
    height: 100vh;
    min-height: 600px;
}

.cta-section {
    padding: 60px;
    background: rgb(160, 128, 96);
    text-align: center;
    height: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, background-color;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-label {
    display: block;
    font-size: 16px;
    letter-spacing: 11.6%;
    line-height: 136%;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-weight: 500;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 38px;
    font-weight: 300;
    line-height: 136%;
    letter-spacing: 0;
    color: var(--color-white);
    text-transform: uppercase;
}

/* =============================================
   Footer Section - Flawless Curtain Reveal
   ============================================= */
.footer-section {
    background: var(--color-brown-dark);
    position: relative;
    z-index: 10;
    will-change: transform;
}

.footer-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
}

/* Top gradient overlay for seamless CTA to footer blend */
.footer-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, rgb(15, 12, 10) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.footer-info i {
    font-size: 28px;
}

.footer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.9) 100%);
    transition: background 0.4s ease;
}

/* .footer-hero:hover .footer-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.8) 100%);
} */

.footer-content {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 120px;
    z-index: 2;
    gap: 60px;
}

.footer-cta-left,
.footer-cta-right {
    text-align: center;
    padding: 0;
    flex: 1;
    max-width: 380px;
}

.footer-separator {
    width: 1px;
    height: 140px;
    background: rgba(255, 255, 255, 0.3);
    align-self: center;
}

.footer-cta-left p,
.footer-cta-right p {
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 2.6%;
    text-transform: uppercase;
    margin-bottom: 40px;
    line-height: 146%;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 34px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 10.6%;
    line-height: 100%;
    text-transform: uppercase;
    transition: all 0.4s ease;
    cursor: pointer;
    width: 346px;
    height: 64px;
}
.footer-btn i{
    font-family: "Phosphor-Light";
    font-size: 32px;
}

.footer-btn--light {
    background: var(--color-white);
    color: var(--color-brown);
    border: none;
    height: 64px;
}

.footer-btn--light:hover {
    background: var(--color-bg);
    transform: translateY(-2px);
}

.footer-btn--outline {
    border: 1px solid #9a9a9a;
    color: var(--color-white);
    background: transparent;
}

.footer-btn--outline:hover {
    background: var(--color-white);
    color: var(--color-brown);
    border-color: var(--color-white);
}

.footer-info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 60px;
    padding: 40px 80px;
    background: black;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    width: 196px;
    height: 83px;
    object-fit: contain;
}

.footer-logo span {
    color: var(--color-white);
    font-size: 10px;
    letter-spacing: 2px;
    line-height: 1.3;
    text-transform: uppercase;
}

.footer-label {
    font-family: var(--font-serif);
    display: block;
    font-size: 14px;
    line-height: 146%;
    letter-spacing: 3.6%;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}
.footer-info i{
    font-size: 16px;
}

.footer-locations p {
    font-family: var(--font-sans);
    color: var(--color-white);
    font-size: 14px;
    letter-spacing: 1px;
}

.footer-contact .contact-details {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
}

.footer-contact p {
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 146%;
    letter-spacing: 3.6%;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.footer-social a {
    font-family: var(--font-sans);
    color: var(--color-white);
    font-size: 14px;
    line-height: 146%;
    letter-spacing: 3.6%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social a:hover {
    text-decoration: underline;
}

.footer-bottom {
    padding: 20px 80px;
    text-align: center;
    background: black;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-family: var(--font-sans);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 146%;
    letter-spacing: 3.6%;
    text-transform: uppercase;
}

/* =============================================
   Back to Top Button
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #FFEDE4;
    color: var(--color-brown);
    border: 1px solid var(--color-border);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-brown);
    color: var(--color-white);
    border-color: var(--color-brown);
}

/* =============================================
   Panel Overlay (blur background)
   ============================================= */
.panel-overlay {
    position: fixed;
    inset: 0;
    z-index: calc(var(--panel-z) - 1);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.panel-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* =============================================
   Panels (menu + contact)
   ============================================= */
.panel {
    position: fixed;
    top: 0;
    z-index: var(--panel-z);
    height: 100vh;
    height: 100dvh;
    transition: var(--transition-panel);
}

.panel-close {
    font-size: 26px;
    line-height: 1;
    color: var(--color-brown);
    transition: transform 0.3s ease;
}

.panel-close:hover {
    transform: rotate(90deg);
}

.panel--menu {
    left: -100%;
    width: var(--panel-width-menu);
    padding: 60px;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    font-family: var(--font-sans);
}

.panel--menu.is-open {
    left: 0;
}

.panel--menu .panel-close {
    align-self: flex-start;
    margin-bottom: 0;
}

.panel--menu nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
    flex: 1;
}

.panel--menu nav a {
    color: var(--color-brown-muted);
    font-size: 22px;
    text-decoration: none;
    transition: 0.4s;
    font-family: var(--font-serif);
}

.panel--menu nav a:hover {
    letter-spacing: 3px;
    transform: translateX(15px);
    color: var(--color-brown);
}

.panel--menu .menu-footer {
    margin-top: auto;
    padding-top: 40px;
}

.panel--menu .menu-social {
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.panel--menu .menu-tagline {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--color-brown);
    font-weight: 500;
}

.panel--contact {
    right: 0;
    width: 100%;
    max-width: var(--panel-width-contact);
    padding: 48px 40px;
    overflow-y: auto;
    background: var(--color-contact-bg);
    transform: translateX(100%);
    transition: transform var(--transition-panel);
}

.panel--contact.is-open {
    transform: translateX(0);
}

/* =============================================
   Contact form
   ============================================= */
.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.contact-header h2 {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    font-weight: 500;
    color: var(--color-brown);
    letter-spacing: 0.5px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    background: var(--color-brown);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--color-brown-dark);
}

.btn--whatsapp {
    width: 100%;
    padding: 16px 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    text-decoration: none;
}

.btn--submit {
    align-self: flex-start;
    padding: 16px 28px;
    margin-top: 4px;
}

.or-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #8a735f;
    font-size: 13px;
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.or-divider span {
    padding: 0 16px;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-brown);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.form-field .optional {
    font-weight: 400;
    letter-spacing: 1px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-brown);
    background: var(--color-contact-bg);
    color: var(--color-brown);
    font-family: var(--font-sans);
    font-size: 13px;
    outline: none;
    transition: background 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--color-text-muted);
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    background: var(--color-contact-bg);
}

.form-field select {
    appearance: none;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%233c2415' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
}

.form-field select:invalid,
.form-field select option[value=""] {
    color: var(--color-text-muted);
}

.form-field textarea {
    min-height: 100px;
    resize: vertical;
}

.phone-input {
    display: flex;
    border: 1px solid var(--color-brown);
    background: rgba(255, 255, 255, 0.4);
}

.phone-input .phone-code {
    padding: 12px 14px;
    border-right: 1px solid var(--color-brown);
    color: var(--color-brown);
    font-size: 13px;
    white-space: nowrap;
    background: var(--color-contact-bg);
}

.phone-input input {
    flex: 1;
    border: none;
    background: var(--color-contact-bg);
}

.spam-note {
    margin-top: 6px;
    color: var(--color-accent);
    font-size: 11px;
}

.privacy-notice {
    display: flex;
    gap: 12px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border-light);
    color: var(--color-brown);
}

.privacy-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.privacy-notice strong {
    display: block;
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.4px;
}

.privacy-notice p {
    color: var(--color-text-soft);
    font-size: 10px;
    line-height: 1.6;
    text-transform: capitalize;
}

/* =============================================
   Scroll Reveal Animations
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1200px) {
    .project-name {
        font-size: 18px;
    }

    .project-row {
        gap: 20px;
    }

    .portfolio-image-float {
        width: 280px;
        height: 200px;
    }
}

@media (max-width: 992px) {

    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-right {
        order: -1;
    }

    .portfolio-section {
        padding: 60px 40px;
    }

    .portfolio-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-preview {
        order: -1;
        height: 300px;
        margin: 0 -40px;
        width: calc(100% + 80px);
    }

    .portfolio-meta {
        display: none;
    }

    .project-item {
        margin: 0 -40px;
        padding: 0 40px;
        height: 65px;
    }

    .project-name {
        font-size: 18px;
    }

    .team-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    .footer-info {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {

    /* About Section - Full Width Stacked */
    .about-section {
        padding: 60px 20px;
        min-height: auto;
    }

    .about-container {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .about-left {
        order: 1;
        padding-top: 0;
        max-width: 100%;
        width: 100%;
    }

    .about-right {
        order: 2;
        width: 100%;
    }

    .section-label {
        font-size: 20px;
        letter-spacing: 2px;
        line-height: 1.5;
        margin-bottom: 20px;
        font-weight: 400;
        color: var(--color-brown);
        text-transform: uppercase;
    }

    .about-text {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 16px;
        color: var(--color-text-soft);
    }

    .about-link {
        font-size: 13px;
        margin-top: 24px;
        letter-spacing: 1px;
    }

    .arrow {
        width: 24px;
    }

    /* Gallery for About - Matches text width */
    .gallery {
        width: 100%;
    }

    .gallery-container {
        width: 100% !important;
        margin-left: 0;
        margin-right: 0;
    }

    .gallery-track {
        aspect-ratio: 4/3;
        border-radius: 4px;
    }

    .gallery-btn {
        width: 44px;
        height: 44px;
        opacity: 1;
        font-size: 16px;
    }

    .gallery-btn.prev {
        left: 12px;
    }

    .gallery-btn.next {
        right: 12px;
    }

    .gallery-progress {
        right: 0px;
        bottom: 20px;
        width: 80px;
    }

    .gallery-counter {
        left: 20px;
        bottom: 18px;
        font-size: 16px;
    }

    /* Portfolio Section - Mobile */
    .portfolio-section {
        padding: 48px 20px;
    }

    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
    }

    .portfolio-title {
        font-size: 20px;
        letter-spacing: 2px;
        font-family: var(--font-serif);
        font-weight: 400;
        text-transform: uppercase;
        margin-bottom: 20px;
    }

    .portfolio-filters {
        display: none;
        gap: 20px;
        margin-bottom: 24px;
    }

    .filter-option {
        font-size: 12px;
        letter-spacing: 0.5px;
        align-items: center;
        gap: 8px;
        color: var(--color-text-muted);
        font-weight: 400;
        text-transform: uppercase;
    }

    .filter-option:has(input:checked) {
        color: var(--color-brown);
    }

    .radio-circle {
        width: 14px;
        height: 14px;
        border: 1.5px solid var(--color-text-muted);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .filter-option input:checked + .radio-circle {
        border-color: var(--color-brown);
    }

    .filter-option input:checked + .radio-circle::after {
        width: 8px;
        height: 8px;
        background: var(--color-brown);
        border-radius: 50%;
        content: '';
    }

    /* Portfolio Grid - Full Width */
    .portfolio-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 20px;
    }

    .project-row {
        display: grid;
        grid-template-columns: 40px 1fr 40px;
        padding: 16px 20px;
        border-bottom: 1px solid var(--color-border);
        align-items: center;
        margin: 0 -20px;
        background: transparent;
        transition: background 0.3s ease;
    }

    /* Active/hovered row - peach/salmon background */
    .project-row:hover {
        background: #ffede4;
    }

    .project-num {
        font-size: 14px;
        font-family: var(--font-sans);
        color: var(--color-brown);
        font-weight: 500;
    }

    .project-name {
        font-size: 14px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        color: var(--color-brown);
        font-weight: 500;
    }

    .project-arrow {
        font-size: 20px;
        text-align: right;
        color: var(--color-brown);
        opacity: 0.6;
        transition: opacity 0.3s ease;
    }

    .project-row:hover .project-arrow {
        opacity: 1;
    }

    .project-meta-col {
        display: none;
    }

    /* Portfolio Mobile - Static List Only (No Carousel) */
    .portfolio-layout {
        display: block;
    }

    .portfolio-preview {
        display: none;
    }

    /* Hide entire carousel section on mobile */
    .portfolio-carousel,
    .portfolio-carousel-container,
    .portfolio-carousel-track,
    .portfolio-carousel-image,
    .portfolio-carousel-btn,
    .portfolio-carousel-overlay,
    .portfolio-carousel-nav,
    .portfolio-carousel-footer,
    .portfolio-carousel-counter-img,
    .portfolio-carousel-progress-img,
    .portfolio-carousel-progress-fill,
    .portfolio-carousel-num,
    .portfolio-carousel-name,
    .portfolio-carousel-arrow,
    .portfolio-carousel-footer,
    .portfolio-carousel-counter,
    .portfolio-carousel-progress,
    .portfolio-carousel-progress-bar {
        display: none !important;
    }

    /* Video Section */
    .video-title {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .video-label {
        font-size: 11px;
        letter-spacing: 3px;
    }

    /* Team Section - Full Width */
    .team-section {
        padding: 64px 20px;
        min-height: auto;
    }

    .team-container {
        flex-direction: column;
        gap: 24px;
    }

    .team-content {
        order: 1;
        max-width: 100%;
        text-align: left;
        width: 100%;
    }

    .team-video {
        order: 2;
        max-width: 100%;
        width: 100%;
        aspect-ratio: 9/16;
        max-height: 70vh;
    }

    .team-video video,
    .team-video img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 9/16;
    }

    .section-label-small {
        font-size: 14px;
        letter-spacing: 2px;
        margin-bottom: 12px;
        color: var(--color-text-muted);
        text-transform: uppercase;
    }

    .team-title {
        font-size: 20px;
        line-height: 1.4;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: var(--color-brown);
    }

    /* CTA - Mobile: Same animation as desktop, adjusted for mobile */
    .cta-wrap {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
    }

    .cta-section {
        padding: 80px 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cta-container {
        width: 100%;
    }

    .cta-label {
        font-size: 11px;
        letter-spacing: 3px;
        margin-bottom: 16px;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.7);
    }

    .cta-title {
        font-size: 24px;
        line-height: 1.4;
        text-align: center;
        color: var(--color-white);
    }

    /* Footer - Mobile: Same animation as desktop */
    .footer-hero {
        height: 100vh;
        height: 100dvh;
        min-height: 500px;
        padding: 60px 24px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .footer-bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .footer-bg {
        position: absolute;
    }

    .footer-content {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 120px;
        padding: 0;
        text-align: center;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-separator {
        display: none;
    }

    .footer-cta-left,
    .footer-cta-right {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .footer-cta-left p,
    .footer-cta-right p {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 24px;
        letter-spacing: 2px;
    }

    .footer-btn {
        width: 100%;
        max-width: 100%;
        padding: 18px 24px;
        font-size: 11px;
        letter-spacing: 2px;
        height: 56px;
    }

    .footer-btn--light {
        background: var(--color-white);
        color: var(--color-brown);
    }
    .footer-btn--light i{
        font-size: 18px;
    }

    .footer-btn--outline {
        border: 1px solid rgba(255,255,255,0.5);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .footer-btn--outline i {
        font-size: 18px;
    }

    /* Footer Info - Centered Stack */
    .footer-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 48px 24px;
        gap: 32px;
    }

    .footer-logo {
        margin-bottom: 8px;
    }

    .footer-logo img {
        width: 120px;
        height: auto;
    }

    .footer-locations,
    .footer-contact,
    .footer-social {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-label {
        font-size: 11px;
        letter-spacing: 3px;
        margin-bottom: 12px;
        color: rgba(255,255,255,0.6);
    }

    .footer-locations p {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .footer-contact .contact-details {
        flex-direction: column;
        gap: 12px;
    }

    .footer-contact p {
        font-size: 14px;
        letter-spacing: 1px;
        justify-content: center;
    }

    .footer-contact i {
        font-size: 16px;
    }

    .footer-social a {
        font-size: 14px;
        letter-spacing: 1px;
        justify-content: center;
    }

    .footer-bottom {
        padding: 20px 24px;
    }

    .footer-bottom p {
        font-size: 11px;
        letter-spacing: 2px;
    }

    /* Menu Panel - Mobile */
    .panel--menu {
        width: 100%;
        padding: 60px 24px 40px;
        display: flex;
        flex-direction: column;
    }

    .panel--menu .panel-close {
        position: relative;
        top: auto;
        left: auto;
        align-self: flex-start;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--color-brown);
        margin-bottom: 20px;
    }

    .panel--menu .panel-close i:before{
        font-size: 18px;
    }

    .panel--menu nav {
        margin-top: 20px;
        gap: 28px;
    }

    .panel--menu nav a {
        font-size: 14px;
        font-family: var(--font-serif);
        font-weight: 500;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--color-brown);
    }

    .panel--menu nav a:hover {
        letter-spacing: 2px;
        transform: none;
    }

    .panel--menu .menu-footer {
        margin-top: auto;
        padding-top: 40px;
    }

    .panel--menu .menu-social {
        font-size: 11px;
        letter-spacing: 1.5px;
        color: var(--color-text-muted);
        text-transform: uppercase;
        margin-bottom: 8px;
    }

    .panel--menu .menu-tagline {
        font-family: var(--font-serif);
        font-size: 20px;
        color: var(--color-brown);
        font-weight: 500;
    }

    /* Contact Panel - Mobile Optimized */
    .panel--contact {
        width: 100%;
        max-width: 100%;
        padding: 56px 20px 24px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .contact-header {
        margin-bottom: 20px;
        padding-top: 8px;
    }

    .contact-header h2 {
        font-size: 18px;
        font-weight: 400;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .panel--contact .panel-close {
        position: absolute;
        top: 16px;
        right: 16px;
        font-size: 20px;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0,0,0,0.05);
        border-radius: 50%;
    }

    .btn--whatsapp {
        background: var(--color-brown-dark);
        border-radius: 0;
        padding: 16px 20px;
        font-size: 11px;
        letter-spacing: 2px;
        height: 52px;
    }

    .or-divider {
        margin: 16px 0;
    }

    .or-divider span {
        font-size: 11px;
        color: var(--color-text-muted);
        padding: 0 12px;
    }

    #contactForm {
        gap: 12px;
    }

    .form-row--2 {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .form-field label {
        font-size: 10px;
        color: var(--color-brown);
        font-weight: 500;
        margin-bottom: 6px;
        letter-spacing: 1.2px;
    }

    .form-field .required {
        color: var(--color-accent);
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        padding: 14px 12px;
        font-size: 15px;
        border: 1.5px solid var(--color-border);
        background: var(--color-contact-bg);
        border-radius: 0;
        height: 48px;
    }

    .form-field input:focus,
    .form-field select:focus,
    .form-field textarea:focus {
        background: var(--color-contact-bg);
    }

    .form-field textarea {
        height: auto;
        min-height: 100px;
    }

    .form-field input::placeholder,
    .form-field textarea::placeholder {
        color: var(--color-text-muted);
        font-size: 13px;
    }

    .phone-input {
        background: var(--color-white);
        border: 1.5px solid var(--color-border);
        height: 48px;
    }

    .phone-input .phone-code {
        padding: 14px 12px;
        font-size: 14px;
        font-weight: 500;
        background: var(--color-bg-alt);
        border-right: 1.5px solid var(--color-border);
    }

    .phone-input input {
        border: none;
        background: var(--color-contact-bg);
        height: 100%;
    }

    .spam-note {
        font-size: 10px;
        color: var(--color-text-muted);
        margin-top: 4px;
        text-align: right;
    }

    .form-field select {
        background-color: var(--color-contact-bg);
        height: 48px;
    }

    .form-field select:focus {
        background-color: var(--color-contact-bg);
    }

    .btn--submit {
        width: 100%;
        justify-content: center;
        padding: 16px;
        font-size: 12px;
        letter-spacing: 2px;
        border-radius: 0;
        margin-top: 8px;
        height: 52px;
        font-weight: 600;
    }

    .privacy-notice {
        display: none;
    }
}

/* Extra small screens (iPhone SE, etc.) */
@media (max-width: 375px) {
    .panel--contact {
        padding: 52px 16px 20px;
    }

    .contact-header h2 {
        font-size: 16px;
    }

    .form-field input,
    .form-field select,
    .phone-input {
        height: 44px;
        /* padding: 12px 10px; */
    }

    .form-field input:focus,
    .form-field select:focus {
        background: var(--color-contact-bg);
    }

    .btn--whatsapp,
    .btn--submit {
        height: 48px;
        padding: 14px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {

    /* Navbar extra small screens */
    :root{
        --navbar-height: 56px;
    }

    .navbar{
        padding: 12px 16px;
    }

    .navbar.scrolled{
        padding: 10px 16px;
    }

    .menu-btn,
    .contact-btn{
        font-size: 12px;
        letter-spacing: 1.5px;
        gap: 6px;
    }

    .menu-icon{
        font-size: 18px;
    }

    .logo{
        width: 44px;
        max-width: 44px;
    }

    /* Hero */
    .hero-title{
        font-size: 2rem;
    }

    .hero-subtitle{
        font-size: 14px;
    }

    .scroll-down{
        bottom: 30px;
    }

    .scroll-down span{
        font-size: 10px;
        letter-spacing: 2px;
    }

    .scroll-line{
        height: 40px;
    }

    /* Portfolio */
    .portfolio-section{
        padding: 48px 20px;
    }

    .project-row{
        padding: 18px 0;
    }

    .project-num{
        font-size: 13px;
    }

    .project-name{
        font-size: 13px;
    }

    /* Team */
    .team-title{
        font-size: 20px;
    }

    /* CTA */
    .cta-title{
        font-size: 28px;
    }

    /* Footer */
    .footer-cta-left p,
    .footer-cta-right p{
        font-size: 24px;
    }

    .footer-btn{
        height: 52px;
        font-size: 14px;
    }

    .contact-header h2 {
        font-size: 1.75rem;
    }

    .loader-counter {
        bottom: 24px;
        font-size: 16px;
    }
}
.gallery{

    width:100%;

}

.gallery-container{
    position:relative;
    width:min(90%,1200px);
    margin:auto;
    margin-right: 0;
    overflow:hidden;
}

.gallery-track{

    position:relative;

    aspect-ratio:16/10;

    overflow:hidden;
}

.gallery-image{

    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    opacity:0;

    transform:scale(1.08);

    transition:

    opacity .7s ease,

    transform .8s ease;
}

.gallery-image.active{

    opacity:1;

    transform:scale(1);
}
.gallery-btn{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:60px;

    height:60px;

    border-radius:50%;

    border:none;

    background:rgba(0,0,0,.25);

    color:white;

    cursor:pointer;

    opacity:0;

    transition:.35s;

    z-index:20;
}

.prev{

    left:20px;
}

.next{

    right:20px;
}

.gallery-container:hover .gallery-btn{

    opacity:1;
}

.gallery-btn:hover{

    background:#6d3a15;

    transform:

    translateY(-50%)

    scale(1.1);
}
.gallery-counter{
margin-top: 10px;
    color:var(--color-brown-dark);

    font-size:26px;

    font-family:var(--font-serif);
}
.gallery-progress{
    position:absolute;
    right:30px;
    bottom: 15px;
    width: 90px;
    height: 7px;
    background:var(--color-border-light);
    overflow:hidden;
}

.gallery-progress-bar{

    width:25%;
    background:var(--color-brown-dark);

    height:100%;


    transition:.5s;
}
@media(max-width:992px){

.gallery-btn{

width:50px;

height:50px;

}

.gallery-counter{

font-size:22px;

}

}

@media(max-width:768px){

.gallery-track{

aspect-ratio:4/3;

}

.gallery-btn{

display:none;

}

.gallery-progress{

width:70px;
right: 0px;
bottom:10px;

}

.gallery-counter{

left:15px;

bottom:10px;

font-size:18px;

}

}

@media(max-width:480px){

.gallery-track{

aspect-ratio:1/1;

}

.gallery-btn{

width:36px;

height:36px;

font-size:14px;

}

}