/* ============================================================
   FONT DECLARATIONS
   ============================================================ */
@font-face {
    font-family: 'Helvetica Thin';
    src: url('fonts/HelveticaNeueThin.otf') format('opentype');
    font-weight: normal; font-style: normal;
}
@font-face {
    font-family: 'Trajan Pro';
    src: url('fonts/TrajanPro-Regular.woff') format('woff');
    font-weight: normal; font-style: normal;
}
@font-face {
    font-family: 'Trajan Pro';
    src: url('fonts/TrajanPro-Bold.woff') format('woff');
    font-weight: 600; font-style: normal;
}
@font-face {
    font-family: 'Trajan Pro';
    src: url('fonts/Trajan Bold.ttf') format('truetype');
    font-weight: 700; font-style: normal;
}

/* ============================================================
   DESIGN TOKENS — EXACT ORIGINAL PALETTE
   ============================================================ */
:root {
    --warm-sand:   #F3EFE6;
    --stone-beige: #BAB99D;
    --moss-green:  #5F6C5A;
    --clay-brown:  #8B796B;
    --earth-brown: #4a423e;
    --white:       #ffffff;

    --body-font:    'Helvetica Thin', sans-serif;
    --heading-font: 'Trajan Pro', serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-io:  cubic-bezier(0.4, 0, 0.2, 1);
    --t1: 0.22s;
    --t2: 0.42s;
    --t3: 0.70s;

    --sh-sm: 0 2px 12px rgba(74,66,62,0.10);
    --sh-md: 0 8px 32px rgba(74,66,62,0.14);
    --sh-lg: 0 20px 56px rgba(74,66,62,0.18);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--body-font);
    background-color: var(--warm-sand);
    color: var(--earth-brown);
    line-height: 1.85;
    overflow-x: hidden;
    padding-top: 80px;
    font-size: 1rem;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.25;
}

a { text-decoration: none; color: inherit; transition: color var(--t1) var(--ease-io); }
ul { list-style: none; }
img { display: block; max-width: 100%; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--warm-sand); }
::-webkit-scrollbar-thumb { background: var(--stone-beige); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--clay-brown); }
::selection { background: var(--stone-beige); color: var(--earth-brown); }

/* ============================================================
   HEADER
   ============================================================ */
header {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 80px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    border-bottom: 1px solid rgba(186, 185, 157, 0.3);
    transition: box-shadow var(--t2) var(--ease-io);
}
header.scrolled { box-shadow: var(--sh-md); }

.header-left {
    display: flex; align-items: center; gap: 14px;
    cursor: pointer; color: var(--earth-brown);
    transition: color var(--t1) var(--ease-io);
    user-select: none;
}
.header-left:hover { color: var(--moss-green); }

.menu-icon {
    width: 24px; height: 16px;
    display: flex; flex-direction: column; justify-content: space-between;
}
.menu-icon span {
    display: block; height: 1.5px;
    background: currentColor; border-radius: 1px;
    transition: width var(--t2) var(--ease-out);
}
.menu-icon span:nth-child(2) { width: 60%; }
.header-left:hover .menu-icon span:nth-child(2) { width: 100%; }

.menu-text {
    font-family: var(--heading-font);
    font-size: 0.65rem; letter-spacing: 4px;
    text-transform: uppercase; font-weight: 600;
}

.header-center {
    position: absolute; left: 50%; transform: translateX(-50%);
}
.brand-logo img {
    padding-top: 11px; max-height: 52px;
    transition: opacity var(--t1) var(--ease-io);
}
.brand-logo:hover img { opacity: 0.75; }

.header-right { display: flex; align-items: center; gap: 22px; }

.search-icon {
    width: 18px; height: 18px; cursor: pointer;
    color: var(--earth-brown); opacity: 0.65;
    transition: color var(--t1) var(--ease-io),
                opacity var(--t1) var(--ease-io),
                transform var(--t1) var(--ease-io);
}
.search-icon:hover { color: var(--moss-green); opacity: 1; transform: scale(1.1); }

.book-btn {
    position: relative; overflow: hidden;
    padding: 11px 28px;
    background: var(--moss-green);
    color: var(--warm-sand);
    border: 1.5px solid var(--moss-green);
    font-family: var(--heading-font);
    text-transform: uppercase;
    font-size: 0.6rem; letter-spacing: 3px; font-weight: 600;
    cursor: pointer;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
    transition: background var(--t2) var(--ease-out),
                border-color var(--t2) var(--ease-out),
                transform var(--t1) var(--ease-io);
}
.book-btn::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--earth-brown);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--t2) var(--ease-out); z-index: -1;
}
.book-btn:hover {
    background: var(--earth-brown);
    border-color: var(--earth-brown);
    transform: translateY(-2px);
}
.book-btn:hover::before { transform: scaleX(1); }

/* ============================================================
   MENU OVERLAY
   ============================================================ */
.menu-overlay {
    position: fixed; inset: 0;
    background: var(--moss-green);
    z-index: 1001;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.45s var(--ease-io);
    overflow: hidden;
}
.menu-overlay::before {
    content: 'IZUMI';
    position: absolute;
    font-family: var(--heading-font);
    font-size: clamp(100px, 20vw, 240px);
    letter-spacing: 0.3em;
    color: rgba(243, 239, 230, 0.05);
    pointer-events: none; user-select: none;
    white-space: nowrap;
}
.menu-overlay::after {
    content: '';
    position: absolute;
    top: -10%; right: 18%;
    width: 1px; height: 120%;
    background: linear-gradient(to bottom, transparent, rgba(243,239,230,0.1), transparent);
    transform: rotate(10deg);
}

.menu-overlay.active { opacity: 1; pointer-events: all; }

.close-btn {
    position: absolute; top: 30px; right: 44px;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-family: sans-serif; font-weight: 300;
    color: rgba(243, 239, 230, 0.7); cursor: pointer;
    border: 1px solid rgba(243, 239, 230, 0.2); border-radius: 50%;
    transition: color var(--t1), transform var(--t2) var(--ease-out), border-color var(--t1);
}
.close-btn:hover { color: var(--warm-sand); transform: rotate(90deg); border-color: rgba(243,239,230,0.5); }

.menu-overlay ul { text-align: center; position: relative; z-index: 1; }
.menu-overlay ul li {
    margin: 14px 0;
    transform: translateY(22px); opacity: 0;
    transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}
.menu-overlay.active ul li { transform: translateY(0); opacity: 1; }
.menu-overlay.active ul li:nth-child(1) { transition-delay: 0.06s; }
.menu-overlay.active ul li:nth-child(2) { transition-delay: 0.11s; }
.menu-overlay.active ul li:nth-child(3) { transition-delay: 0.16s; }
.menu-overlay.active ul li:nth-child(4) { transition-delay: 0.21s; }
.menu-overlay.active ul li:nth-child(5) { transition-delay: 0.26s; }
.menu-overlay.active ul li:nth-child(6) { transition-delay: 0.31s; }
.menu-overlay.active ul li:nth-child(7) { transition-delay: 0.36s; }
.menu-overlay.active ul li:nth-child(8) { transition-delay: 0.41s; }

.menu-overlay a {
    font-family: var(--heading-font);
    font-size: clamp(20px, 3vw, 32px);
    color: rgba(243, 239, 230, 0.75);
    letter-spacing: 4px;
    display: inline-block; padding-bottom: 4px;
    position: relative;
    transition: color var(--t1) var(--ease-io);
}
.menu-overlay a::after {
    content: '';
    position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 1px;
    background: var(--stone-beige);
    transition: width var(--t2) var(--ease-out);
}
.menu-overlay a:hover { color: var(--warm-sand); }
.menu-overlay a:hover::after { width: 100%; }

/* ============================================================
   SECTIONS BASE
   ============================================================ */
section { padding: 120px 8%; }

.section-title { text-align: center; margin-bottom: 72px; }
.section-title h2 {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    letter-spacing: 6px; color: var(--earth-brown); margin-bottom: 20px;
}
.line {
    width: 40px; height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--stone-beige), transparent);
    margin: 0 auto;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    height: 100vh; min-height: 600px;
    background:
        linear-gradient(160deg, rgba(95,108,90,0.5) 0%, rgba(74,66,62,0.5) 100%),
        url('images/Amenities 1.png');
    background-size: cover; background-position: center; background-attachment: fixed;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white); overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(74,66,62,0.4) 100%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 160px;
    background: linear-gradient(to top, var(--warm-sand), transparent);
    pointer-events: none;
}

.hero-content { position: relative; z-index: 1; padding: 0 24px; }
.hero-content::before {
    content: '— IZUMI RESIDENCES —';
    display: block;
    font-family: var(--heading-font);
    font-size: 0.58rem; letter-spacing: 6px;
    color: var(--stone-beige); margin-bottom: 28px; opacity: 0.9;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 5rem);
    margin-bottom: 22px; letter-spacing: 6px;
    color: var(--white);
    text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.hero p {
    font-size: 0.95rem; letter-spacing: 4px;
    color: rgba(243,239,230,0.85); margin-bottom: 44px;
}

.hero-btn {
    display: inline-block;
    padding: 15px 48px;
    background: transparent; color: var(--warm-sand);
    border: 1px solid rgba(243,239,230,0.6);
    font-family: var(--heading-font);
    text-transform: uppercase; letter-spacing: 4px;
    font-size: 0.62rem; font-weight: 600; cursor: pointer;
    position: relative; overflow: hidden;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    transition: color var(--t2) var(--ease-out), border-color var(--t2) var(--ease-out);
}
.hero-btn::before {
    content: ''; position: absolute; inset: 0;
    background: var(--warm-sand);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--t2) var(--ease-out); z-index: -1;
}
.hero-btn:hover { color: var(--earth-brown); border-color: var(--warm-sand); }
.hero-btn:hover::before { transform: scaleX(1); }

/* ============================================================
   INTRO (CONCEPT)
   ============================================================ */
section#about.intro {
    background: var(--warm-sand);
    display: flex; align-items: center; gap: 80px;
    padding: 120px 8%;
}
.intro { display: flex; align-items: center; gap: 80px; }

.intro-text { flex: 1; }
.intro-text h3 {
    font-size: clamp(1.1rem, 2vw, 1.7rem);
    color: var(--moss-green); letter-spacing: 3px;
    margin-bottom: 28px;
    position: relative; padding-left: 28px;
}
.intro-text h3::before {
    content: '';
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 16px; height: 1.5px; background: var(--stone-beige);
}
.intro-text p { font-size: 0.97rem; line-height: 2; color: var(--earth-brown); }

.intro-img { flex: 1; position: relative; }
.intro-img::before, .intro-img::after {
    content: '';
    position: absolute;
    width: 32px; height: 32px; z-index: 2;
    pointer-events: none;
    transition: width var(--t3) var(--ease-out), height var(--t3) var(--ease-out);
}
.intro-img::before {
    top: -10px; left: -10px;
    border-top: 1.5px solid var(--stone-beige);
    border-left: 1.5px solid var(--stone-beige);
}
.intro-img::after {
    bottom: -10px; right: -10px;
    border-bottom: 1.5px solid var(--stone-beige);
    border-right: 1.5px solid var(--stone-beige);
}
.intro-img:hover::before, .intro-img:hover::after { width: 52px; height: 52px; }

.intro-img img {
    width: 100%; height: auto; border-radius: 2px;
    box-shadow: var(--sh-lg);
    filter: brightness(0.95);
    transition: filter var(--t3) var(--ease-out), transform var(--t3) var(--ease-out);
}
.intro-img:hover img { filter: brightness(1.01); transform: scale(1.012); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    padding: 120px 8%;
    background-color: var(--warm-sand);
    border-top: 1px solid rgba(186,185,157,0.3);
    border-bottom: 1px solid rgba(186,185,157,0.3);
}
.about-section .intro { max-width: 1200px; margin: 0 auto; }

.about-section .intro-img img {
    width: 100%; height: 440px; object-fit: cover;
    border-radius: 2px; box-shadow: var(--sh-lg);
    filter: brightness(0.95);
    transition: filter var(--t3) var(--ease-out), transform var(--t3) var(--ease-out);
}
.about-section .intro-img:hover img { filter: brightness(1.01); transform: scale(1.01); }

.about-section .intro-text h3 {
    color: var(--moss-green);
    font-size: clamp(1.1rem, 2vw, 1.7rem);
    letter-spacing: 3px; margin-bottom: 28px;
    padding-left: 28px; position: relative;
}
.about-section .intro-text h3::before {
    content: '';
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 16px; height: 1.5px; background: var(--stone-beige);
}
.about-section .intro-text p {
    font-size: 0.97rem; line-height: 2;
    color: var(--earth-brown); margin-bottom: 16px;
}

/* ============================================================
   MISSION & VISION
   ============================================================ */
.mission-vision-section {
    padding: 120px 8%;
    background-color: #ECE8DE;
    position: relative; overflow: hidden;
}
.mission-vision-section::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(186,185,157,0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(186,185,157,0.15) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}

.mv-container { max-width: 1100px; margin: 0 auto; }
.mv-row { display: flex; justify-content: center; gap: 24px; }

.mv-card {
    flex: 1;
    background: var(--warm-sand);
    padding: 52px 40px; text-align: center;
    border: 1px solid rgba(186,185,157,0.45);
    min-height: 360px;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    position: relative; overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
    transition: transform var(--t2) var(--ease-out),
                border-color var(--t2) var(--ease-io),
                box-shadow var(--t2) var(--ease-out);
}
.mv-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--stone-beige), var(--moss-green));
    transition: width var(--t3) var(--ease-out);
}
.mv-card:hover {
    transform: translateY(-8px);
    border-color: rgba(95,108,90,0.4);
    box-shadow: var(--sh-lg);
}
.mv-card:hover::after { width: 100%; }

.mv-icon {
    width: 66px; height: 66px; margin-bottom: 30px;
    background: linear-gradient(135deg, var(--stone-beige) 0%, var(--clay-brown) 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(139,121,107,0.2);
    transition: transform var(--t2) var(--ease-out);
}
.mv-card:hover .mv-icon { transform: scale(1.1) rotate(5deg); }
.mv-icon svg { width: 30px; height: 30px; color: var(--warm-sand); }

.mv-card h3 { font-size: 1rem; color: var(--earth-brown); margin-bottom: 18px; letter-spacing: 4px; }
.mv-card p  { font-size: 0.93rem; line-height: 1.9; color: var(--earth-brown); opacity: 0.85; }

/* ============================================================
   AMENITIES
   ============================================================ */
.amenities { background-color: #ECE8DE; padding: 120px 8%; }

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px; max-width: 1100px; margin: 0 auto;
}

.card {
    background: var(--warm-sand);
    padding: 52px 36px; text-align: center;
    border: 1px solid rgba(186,185,157,0.4);
    position: relative; overflow: hidden; cursor: default;
    transition: transform var(--t2) var(--ease-out),
                border-color var(--t2) var(--ease-io),
                box-shadow var(--t2) var(--ease-out);
}
.card::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--stone-beige), var(--moss-green));
    transition: width var(--t3) var(--ease-out);
}
.card:hover {
    transform: translateY(-6px);
    border-color: rgba(95,108,90,0.4);
    box-shadow: var(--sh-md);
}
.card:hover::after { width: 100%; }

.card h3 { font-size: 0.95rem; color: var(--earth-brown); letter-spacing: 3px; margin-bottom: 12px; font-family: var(--heading-font); }
.card p   { color: var(--clay-brown); font-size: 0.9rem; }

/* ============================================================
   UNITS SECTION
   ============================================================ */
.units-section {
    text-align: center; padding: 120px 8%;
    background-color: var(--warm-sand);
}

.units-header { margin-bottom: 48px; }
.units-subtitle {
    font-family: var(--heading-font);
    font-size: 0.6rem; letter-spacing: 6px;
    text-transform: uppercase; color: var(--stone-beige);
    display: block; margin-bottom: 16px;
}
.units-title {
    font-family: var(--heading-font);
    font-size: clamp(2rem, 4.5vw, 4rem);
    color: var(--earth-brown); letter-spacing: 6px; margin: 0;
}

.units-nav {
    display: flex; justify-content: center; gap: 0;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(186,185,157,0.35);
}
.unit-link {
    background: none; border: none;
    font-size: 0.62rem; color: var(--stone-beige);
    padding: 16px 36px;
    border-bottom: 2px solid transparent; margin-bottom: -1px;
    cursor: pointer;
    font-family: var(--heading-font); letter-spacing: 3px; text-transform: uppercase;
    transition: color var(--t1) var(--ease-io), border-color var(--t1) var(--ease-io);
}
.unit-link:hover { color: var(--clay-brown); }
.unit-link.active { color: var(--earth-brown); border-bottom-color: var(--earth-brown); }

.unit-content { display: none; opacity: 0; }
.unit-content.active {
    display: block; opacity: 1;
    animation: tabIn 0.45s var(--ease-out) forwards;
}
@keyframes tabIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.content-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

.type-box {
    border: 1px solid rgba(186,185,157,0.4);
    padding: 28px 28px 20px;
    min-width: 200px; background: var(--white);
    transition: border-color var(--t2) var(--ease-io),
                transform var(--t2) var(--ease-out),
                box-shadow var(--t2) var(--ease-out);
    text-align: center;
}
.type-box:hover {
    border-color: rgba(95,108,90,0.4);
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}
.type-box h3 { font-family: var(--heading-font); color: var(--earth-brown); font-size: 0.85rem; letter-spacing: 3px; margin-bottom: 10px; }
.type-box p  { font-size: 0.82rem; color: var(--clay-brown); letter-spacing: 1px; }
.type-box img { filter: brightness(0.94); transition: filter var(--t3) var(--ease-out); }
.type-box:hover img { filter: brightness(1); }

.property-specs-row {
    display: flex; align-items: center; justify-content: space-around;
    padding: 12px 0 4px; margin-top: 14px;
    border-top: 1px solid rgba(186,185,157,0.3);
}
.property-specs-row > div { display: flex; align-items: center; font-size: 0.8em; }
.property-specs-row > div + div { border-left: 1px solid rgba(186,185,157,0.3); padding-left: 14px; }
.property-specs-row i    { margin-right: 6px; color: var(--stone-beige); font-size: 0.85em; }
.property-specs-row span { color: var(--earth-brown); font-weight: 400; letter-spacing: 0.5px; }

.content-desc { max-width: 580px; margin: 0 auto 48px; }
.content-desc h3 { font-family: var(--heading-font); font-size: 1.1rem; letter-spacing: 3px; color: var(--earth-brown); margin-bottom: 12px; }
.content-desc p  { font-size: 0.85rem; color: var(--clay-brown); }

.btn-download {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 32px;
    color: var(--moss-green);
    border: 1.5px solid var(--moss-green);
    font-family: var(--heading-font); font-size: 0.62rem;
    letter-spacing: 3px; text-transform: uppercase;
    position: relative; overflow: hidden;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
    transition: color var(--t2) var(--ease-out), border-color var(--t2) var(--ease-out);
}
.btn-download::before {
    content: ''; position: absolute; inset: 0;
    background: var(--moss-green);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--t2) var(--ease-out); z-index: -1;
}
.btn-download:hover { color: var(--warm-sand); cursor: pointer; }
.btn-download:hover::before { transform: scaleX(1); }

/* ============================================================
   GALLERY
   ============================================================ */
#gallery { padding: 120px 8%; background: var(--warm-sand); }

.gallery-container {
    display: flex; gap: 6px; height: 500px; overflow: hidden;
}
.gallery-item {
    flex: 1;
    background-size: cover; background-position: center;
    transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer; position: relative; overflow: hidden;
}
.gallery-item::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(74,66,62,0.85) 0%, rgba(74,66,62,0.15) 45%, transparent 100%);
    opacity: 0;
    transition: opacity var(--t2) var(--ease-io);
}
.gallery-item.active, .gallery-item:hover { flex: 3.5; }
.gallery-item.active::before, .gallery-item:hover::before { opacity: 1; }

.gallery-item div {
    position: absolute; bottom: 28px; left: 28px;
    color: var(--warm-sand); opacity: 0;
    font-family: var(--heading-font); letter-spacing: 4px; font-size: 0.72rem;
    text-transform: uppercase; transform: translateY(10px);
    transition: opacity var(--t2) var(--ease-io), transform var(--t2) var(--ease-out);
}
.gallery-item div::before {
    content: '';
    display: block; width: 20px; height: 1px;
    background: var(--stone-beige); margin-bottom: 10px;
}
.gallery-item.active div, .gallery-item:hover div { opacity: 1; transform: translateY(0); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background-color: var(--earth-brown);
    color: var(--warm-sand);
    padding: 80px 8% 44px;
    position: relative;
}
footer::before {
    content: '';
    position: absolute; top: 0; left: 8%; right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(186,185,157,0.3), transparent);
}

.footer-content {
    display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: 52px; margin-bottom: 56px;
}

.footer-col h4 {
    font-family: var(--heading-font);
    font-size: 0.65rem; letter-spacing: 5px;
    color: var(--stone-beige); margin-bottom: 28px; text-transform: uppercase;
}
.footer-col p { font-size: 0.82rem; opacity: 0.65; }

.footer-col ul li {
    margin-bottom: 14px; font-size: 0.88rem;
    display: flex; align-items: flex-start; gap: 12px;
    color: rgba(243,239,230,0.75);
    transition: color var(--t1) var(--ease-io); line-height: 1.6;
}
.footer-col ul li:hover { color: var(--warm-sand); }
.footer-col ul li i { color: var(--stone-beige); margin-top: 3px; flex-shrink: 0; }

.footer-col .social-links { margin-top: 24px; display: flex; gap: 10px; }
.footer-col .social-links a {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(186,185,157,0.2);
    color: rgba(243,239,230,0.7); font-size: 0.78rem;
    transition: color var(--t1), background var(--t1),
                border-color var(--t1), transform var(--t2) var(--ease-out);
}
.footer-col .social-links a:hover {
    color: var(--earth-brown); background: var(--warm-sand);
    border-color: var(--warm-sand); transform: translateY(-3px);
}

.footer-form {
    display: flex;
    border-bottom: 1px solid rgba(186,185,157,0.25);
    transition: border-color var(--t1);
}
.footer-form:focus-within { border-bottom-color: var(--stone-beige); }
.footer-form input {
    flex: 1; padding: 10px 0;
    background: transparent; border: none;
    color: var(--warm-sand); outline: none;
    font-family: var(--body-font); font-size: 0.85rem;
}
.footer-form input::placeholder { color: rgba(186,185,157,0.3); }
.footer-form button {
    padding: 10px 18px; background: transparent; border: none;
    color: var(--stone-beige); cursor: pointer;
    font-family: var(--heading-font); font-size: 0.58rem;
    letter-spacing: 3px; text-transform: uppercase;
    transition: color var(--t1);
}
.footer-form button:hover { color: var(--warm-sand); }

.copyright {
    text-align: center; font-size: 0.72rem;
    border-top: 1px solid rgba(186,185,157,0.12);
    padding-top: 28px;
    color: rgba(186,185,157,0.45); letter-spacing: 2px;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0; transform: translateY(32px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.active { opacity: 1; transform: translateY(0); }

.mv-card:nth-child(1) { transition-delay: 0.00s; }
.mv-card:nth-child(2) { transition-delay: 0.12s; }
.card:nth-child(1)    { transition-delay: 0.00s; }
.card:nth-child(2)    { transition-delay: 0.10s; }
.card:nth-child(3)    { transition-delay: 0.20s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    section { padding: 100px 6%; }
    .mv-row { gap: 20px; }
    .about-section .intro-img img { height: 380px; }
}

@media (max-width: 900px) {
    section { padding: 80px 5%; }
    .hero h1 { font-size: clamp(1.8rem, 6vw, 3rem); }

    .intro,
    section#about.intro,
    .about-section .intro { flex-direction: column; gap: 48px; }

    .intro-img::before, .intro-img::after { display: none; }
    .about-section .intro-img img { height: 300px; }

    .mv-row { flex-direction: column; }
    .mv-card { min-height: auto; clip-path: none; }

    .gallery-container { flex-direction: column; height: 560px; }
    .gallery-item.active, .gallery-item:hover { flex: 2.8; }

    .units-nav { flex-wrap: wrap; }
    .unit-link { padding: 14px 20px; }
    .units-title { font-size: clamp(1.6rem, 5vw, 2.6rem); }

    .brand-logo img { max-height: 34px; }
    .menu-text { display: none; }
    .book-btn { padding: 9px 18px; font-size: 0.55rem; }
    .header-right { gap: 16px; }
}

@media (max-width: 600px) {
    section { padding: 70px 5%; }
    .hero h1 { font-size: clamp(1.5rem, 7vw, 2.2rem); }
    .gallery-container { height: 480px; }
    .footer-content { gap: 36px; }
}

@media (max-width: 768px) {
    .book-btn {
        width: 40px; height: 40px;
        padding: 0; border-radius: 50%; clip-path: none;
        display: flex; align-items: center; justify-content: center;
        background: var(--moss-green);
    }
    .book-btn::after {
        content: "\f073";
        font-family: "Font Awesome 6 Free";
        font-weight: 900; font-size: 0.85rem; color: var(--warm-sand);
    }
    .book-btn::before { display: none; }
    #btn-text { display: none; }
}

@media (min-width: 769px) {
    .book-btn::after { display: none; }
    #btn-text { display: inline; }
}