/* ================================================
   TIME28 — Complete Stylesheet
   Mockup-faithful rebuild
   ================================================ */

:root {
    --bg-white: #FFFFFF;
    --bg-light: #F5F4F2;
    --bg-dark: #1A1A18;
    --bg-darker: #111110;

    --text-primary: #1A1A18;
    --text-muted: #79776F;
    --text-light: #FFFFFF;

    --accent-gold: #B89655;

    --font-display: 'Cormorant', serif;
    --font-body: 'Jost', sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 0.4s var(--ease-out);

    --header-h: 96px;
}

/* =========== RESET =========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========== TYPOGRAPHY =========== */
.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.eyebrow.light {
    color: rgba(255, 255, 255, 0.55);
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.75rem;
    letter-spacing: -0.01em;
}

.section-heading.light {
    color: var(--text-light);
}

.body-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.body-text.light {
    color: rgba(255, 255, 255, 0.6);
}

/* =========== SCROLL REVEAL =========== */
.reveal-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    transition-delay: var(--delay, 0s);
}

.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* =========== HEADER =========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6vw;
    z-index: 500;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.07);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 54px;
    width: auto;
    display: block;
    transition: transform 0.35s ease;
}

.logo-img:hover {
    transform: scale(1.02);
}

.main-nav {
    display: flex;
    gap: 2.75rem;
    align-items: center;
}

.main-nav a {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--text-primary);
    transition: color 0.3s ease, opacity 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* =========== HERO SLIDER =========== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--bg-dark);
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.9s var(--ease-out);
}

.slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 0 6vw 10vh;
    background-color: var(--bg-dark);
    overflow: hidden;
}

/* Slide backgrounds – using layered gradients as stand-ins for portfolio images */
.slide-1 {
    background-image: url('images/hero-1.webp');
    background-size: cover;
    background-position: center;
}

.slide-2 {
    background-image: url('images/hero-2.webp');
    background-size: cover;
    background-position: center;
}

.slide-3 {
    background-image: url('images/hero-3.webp');
    background-size: cover;
    background-position: center;
}

.slide-4 {
    background-image: url('images/hero-4.webp');
    background-size: cover;
    background-position: center;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 40%, rgba(184, 150, 85, 0.10) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
}

/* Video background for slides that have an MP4 */
.slide-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.08) 60%);
    pointer-events: none;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.slide-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    transition: opacity 0.7s 0.2s ease, transform 0.7s 0.2s ease;
}

.slide-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.05;
    letter-spacing: -0.02em;
    transition: opacity 0.8s 0.35s ease, transform 0.8s 0.35s ease;
}

/* Inactive slides fade out, active slides are fully visible */
.slide:not(.is-active) .slide-label,
.slide:not(.is-active) .slide-title {
    opacity: 0;
    transform: translateY(16px);
}

.slide.is-active .slide-label,
.slide.is-active .slide-title {
    opacity: 1;
    transform: translateY(0);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(8px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.22);
}

.slider-prev {
    left: 3vw;
}

.slider-next {
    right: 3vw;
}

.slider-dots {
    position: absolute;
    bottom: 3.5vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, width 0.3s ease;
    padding: 0;
}

.dot.active {
    background: #fff;
    width: 22px;
    border-radius: 3px;
}

/* =========== ABOUT SECTION (3 Columns Desktop / Stacked Mobile) =========== */
.about-section {
    padding: 6vw 0;
    background: var(--bg-white);
}

.about-grid {
    display: flex;
    align-items: center;
    /* Center vertically on Desktop */
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
}

.about-image-side {
    flex: 1;
}

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

.about-center-text {
    flex: 0.8;
    text-align: center;
    padding: 0 4vw;
}

.about-brand {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.about-tagline {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.25vw, 1.2rem);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.55;
    margin: 0 auto;
    letter-spacing: 0.01em;
    max-width: 320px;
}

@media (max-width: 768px) {
    .about-section {
        padding-top: 15vw;
    }

    .about-tagline {
        font-size: 1.5rem;
    }

    .about-header {
        margin-bottom: 6vw;
    }
}




/* =========== IMG FILLS =========== */
.img-fill {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s var(--ease-out);
}


.img-fill-3 {
    background-image: url('images/gallery-1.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.img-fill-4 {
    background-image: url('images/gallery-2.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.img-fill-5 {
    background-image: url('images/gallery-3.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.img-featured {
    background-image: url('images/featured.webp');
}

.img-inst {
    background-image: url('images/section-4.webp');
}

.link-arrow {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.75rem;
    border-bottom: 1px solid var(--text-primary);
    padding-bottom: 3px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.link-arrow span {
    transition: transform 0.3s ease;
}

.link-arrow:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.link-arrow:hover span {
    transform: translateX(5px);
}

/* =========== TEXT + IMAGE SECTION (3.5) =========== */
.text-image-section {
    padding: 5vw 0;
    background: var(--bg-white);
}

.ti-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12vw;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4vw;
}

.ti-text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.ti-main-text {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    line-height: 1.8;
    color: var(--text-primary);
    max-width: 520px;
    margin-bottom: 4rem;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.ti-subtext {
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 0.9vw, 0.85rem);
    color: var(--text-primary);
    font-weight: 400;
    letter-spacing: 0.05em;
    opacity: 0.9;
    align-self: center;
    margin-left: -15%;
}

.ti-image-block {
    background-color: transparent;
    aspect-ratio: 1 / 1;
    width: 100%;
}

@media (max-width: 1024px) {
    .ti-container {
        grid-template-columns: 1fr;
        gap: 6rem;
        text-align: center;
    }

    .ti-text-block {
        text-align: center;
        align-items: center;
    }

    .ti-main-text {
        max-width: 100%;
        margin-bottom: 3rem;
    }
}

/* =========== MANUFACTURING SECTION (Section 3 Refined) =========== */
.manufacturing-section {
    padding: 8vw 0;
    background: var(--bg-white);
}

.mfg-flex-container {
    display: flex;
    align-items: center;
    /* Center horizontally/vertically */
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6vw;
}

.mfg-image-side {
    flex: 1;
}

.mfg-image-side img {
    max-width: 550px;
    width: 100%;
    height: auto;
    display: block;
}

.mfg-text-side {
    flex: 1.2;
    padding-left: 6vw;
}

.mfg-title-mobile {
    display: none;
    /* Hide on Desktop */
}

.mfg-paragraphs p {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 2rem;
    max-width: 650px;
}

@media (max-width: 900px) {
    .mfg-flex-container {
        flex-direction: column;
    }

    .mfg-image-side {
        order: 1;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 8vw;
    }

    .mfg-image-side img {
        max-width: 500px;
    }

    .mfg-text-side {
        width: 100%;
        padding-left: 0;
    }

    .mfg-title-mobile {
        display: block;
        font-family: var(--font-body);
        font-size: 1.6rem;
        font-weight: 400;
        color: var(--text-primary);
        line-height: 1.3;
        margin-bottom: 2.5rem;
    }

    .mfg-paragraphs p {
        max-width: 100%;
    }
}

/* =========== INSTITUTIONAL SECTION (Section 4) =========== */
.institutional-section {
    background-color: #000;
    padding: 0;
    overflow: hidden;
}

.inst-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.inst-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8vw;
    color: #fff;
    text-align: center;
}

.inst-main-text {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.3vw, 1.15rem);
    line-height: 1.8;
    font-weight: 300;
    max-width: 500px;
    margin-bottom: 5rem;
    letter-spacing: 0.02em;
}

.inst-subtext {
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 0.9vw, 0.85rem);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.8;
}

.inst-image-block {
    position: relative;
    background: #000;
}

@media (max-width: 900px) {
    .inst-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .inst-text-block {
        padding: 15vw 8vw;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .inst-main-text {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 3.5rem;
        text-align: center;
    }

    .inst-subtext {
        text-align: center;
        margin: 0;
        width: 100%;
    }

    .inst-image-block {
        aspect-ratio: 1 / 1;
        width: 100%;
    }
}

.split-image {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.split-image-caption {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.55);
}

.split-text {
    padding: 8vw 7vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.feature-list li {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-muted);
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-list li::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.btn-primary {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    background-color: var(--text-primary);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border: 1px solid var(--text-primary);
    cursor: pointer;
    transition: background-color 0.35s ease, color 0.35s ease;
    align-self: flex-start;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-primary);
}

/* =========== BRANDS SECTION =========== */
.brands-section {
    padding: 8vw 0 4vw;
    background: var(--bg-white);
}

.brands-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4vw;
}

.brands-heading {
    text-align: center;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1vw;
    max-width: 100%;
}

.brand-block {
    background-color: #000;
    aspect-ratio: 4 / 5;
    width: 100%;
}

@media (max-width: 900px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3vw;
    }
}

@media (max-width: 600px) {
    .brands-grid {
        grid-template-columns: 1fr;
        gap: 6vw;
    }
}

/* =========== SINGLE IMAGE SECTION =========== */
.single-image-section {
    padding: 2vw 0 0;
    /* Top padding is optional, but no bottom padding so it meets the footer */
    background: var(--bg-white);
}

.single-image-block {
    width: 100%;
    aspect-ratio: 2.3 / 1;
    background-color: #000000;
}

/* =========== FOOTER =========== */
/* =========== GALLERY SECTION =========== */
.gallery-section {
    padding: 8vw 0;
    background: var(--bg-white);
}

.gallery-header {
    max-width: 1400px;
    margin: 0 auto 1.5vw;
    padding: 0 4vw;
}

.gallery-subtitle {
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    color: var(--text-muted);
    font-weight: 300;
    margin-top: 0.25rem;
    letter-spacing: 0.02em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2vw;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4vw;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}

.gallery-img {
    aspect-ratio: 1 / 1;
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 1.2s var(--ease-out);
}

.gallery-img.img-fill-4 {
    background-size: 55%;
}

.gallery-img.img-fill-5 {
    background-size: 75%;
}

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

.gallery-caption {
    padding-top: 1.5rem;
}

.gallery-category {
    font-family: var(--font-body);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

.gallery-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-primary);
}

/* =========== FULL IMAGE BANNER =========== */
.dark-banner {
    background-color: #E2E1DE;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.dark-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/banner-bg.webp');
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 1;
}

.dark-banner-inner {
    position: relative;
    z-index: 5;
    text-align: center;
    width: 100%;
    max-width: 900px;
    /* Move the inner content to the empty space in the photo if needed, 
       but for now let's keep it centered if the image logo is in top-left */
    pointer-events: none;
}

/* If the image already has the logo, we might only want to show the dates.
   However, let's keep all and adjust if the user says so. 
   I'll make the dates very clear. */
.expo-dates {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    color: #000;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-top: 1rem;
    background: rgba(226, 225, 222, 0.6);
    /* Subtle background for legibility */
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
}

.expo-logo {
    position: relative;
    margin-bottom: 3rem;
    display: inline-block;
}

.expo-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(8rem, 20vw, 22rem);
    font-weight: 800;
    color: var(--accent-gold);
    opacity: 0.95;
    z-index: -1;
    line-height: 1;
    pointer-events: none;
    font-family: var(--font-body);
}

.expo-title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 5vw, 5.5rem);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: 0.05em;
    color: #000;
    text-transform: uppercase;
}

.expo-accent {
    color: #000;
}

.expo-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.expo-tagline {
    font-size: clamp(0.9rem, 1.5vw, 1.4rem);
    font-weight: 500;
    color: #000;
    letter-spacing: 0.1em;
    margin-bottom: 0.2rem;
}

.expo-organizer {
    font-size: clamp(0.6rem, 1vw, 0.9rem);
    color: var(--accent-gold);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.expo-dates {
    font-family: var(--font-body);
    font-size: clamp(0.7rem, 0.9vw, 0.85rem);
    color: #000;
    font-weight: 400;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .expo-bg-text {
        font-size: 12rem;
    }
}

/* =========== FOOTER (Restructured) =========== */
.site-footer {
    background-color: #F8F8F8;
    padding: 8vw 0 4vw;
    color: var(--text-primary);
}

.footer-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4vw;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
    gap: 4vw;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 5vw;
}

.footer-logo-img {
    height: 52px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-col-title {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

/* Footer Contacts Styling */
.footer-contact-col {
    gap: 0 !important;
    /* Overriding default gap to handle it via blocks */
}

.footer-contact-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.footer-contact-block:last-child {
    gap: 0.5rem;
    margin-bottom: 0;
}

.footer-dep-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: none;
    letter-spacing: 0.02em;
}

.footer-contact-person {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.footer-contact-person:last-child {
    margin-bottom: 100px;
}

.footer-person-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.footer-person-info {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    line-height: 1.5;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-person-info:hover {
    color: var(--accent-gold) !important;
}

.footer-newsletter-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--text-primary);
}

.newsletter-form button {
    align-self: flex-start;
    padding: 0.5rem 0;
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    border-bottom: 1px solid var(--text-primary);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.newsletter-form button:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.footer-bottom {
    max-width: 1400px;
    margin: 4vw auto 0;
    padding: 0 4vw;
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* =========== RESPONSIVE =========== */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4vw;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 6vw;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 76px;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.97);
        padding: 2rem 6vw 3rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
        backdrop-filter: blur(18px);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        font-size: 0.95rem;
    }

    .nav-toggle {
        display: flex;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2vw;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 10vw;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    /* About Section Responsive Improvements */
    .about-grid {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .about-image-side {
        display: block !important;
        width: 100% !important;
        height: 380px !important;
        /* Fixed but reasonable height for mobile stack */
        margin-bottom: 2rem !important;
    }

    .about-image-side::before {
        display: none !important;
        /* Remove the tall padding from desktop */
    }

    .about-image-side:last-child {
        margin-top: 1rem !important;
        margin-bottom: 0 !important;
    }

    .about-center-text {
        padding: 1.5rem 6vw !important;
        order: -1;
        /* Text on top for mobile */
    }



    .about-tagline {
        font-size: 0.95rem !important;
        /* Slightly smaller as requested */
        max-width: 290px !important;
        margin: 0 auto 2rem !important;
        line-height: 1.6 !important;
        text-wrap: balance !important;
        text-align: center !important;
    }

    /* Footer Mobile Spacing Improvements */
    .footer-top {
        gap: 6vw;
        /* Reduced from 10vw */
    }

    .footer-contact-block {
        gap: 0.6rem !important;
        margin-bottom: 1.5rem !important;
    }

    .footer-contact-person {
        gap: 0.15rem !important;
        margin-bottom: 1rem !important;
    }

    .footer-person-name {
        margin-bottom: 0.2rem !important;
    }

    .footer-dep-title {
        margin-bottom: 0.8rem !important;
    }

    .footer-person-info {
        display: inline !important;
        /* Allow wrapping but avoid forced blocks */
    }
}