:root {
    --bg: #ffffff;
    --text: #1b1b1b;
    --muted: #5a5a5a;
    --accent: #17442d;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: "Cormorant Garamond", sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

section {
    padding: clamp(60px, 8vw, 100px) 10%;
}
h2 {
    font-family: "Cormorant Garamond", sans-serif;
    font-size: clamp(28px, 3.2vw, 42px);
    margin: 0 0 14px;
}
p.lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 680px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 30px;
}
.gallery img {
    width: 100%;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}
.gallery img:hover {
    transform: scale(1.03);
}

footer {
    padding: 22px 8%;
    text-align: center;
    color: #7f8b95;
    background: #fff;
    border-top: 1px solid #eee;
}


@media (max-width: 640px) {
    section {
        padding-left: 6%;
        padding-right: 6%;
    }
}

.section-tiles {
    background: #f5f6f7;
    padding: clamp(60px, 8vw, 100px) 10%;
}
.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    align-items: stretch;
}
.card {
    background: #fff;
    border: 1px solid #e9e9e9;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}
.card .media {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}
.card .body {
    padding: 34px 28px 32px;
    text-align: center;
}
.card h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
}
.card p {
    color: var(--muted);
    margin: 0 0 22px;
    line-height: 1.6;
}
.btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}
.card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
.card {
    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}
.section-tiles {
    background: #f5f6f7;
    padding: clamp(60px, 8vw, 100px) 10%;
}
.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    align-items: stretch;
}
.card {
    background: #fff;
    border: 1px solid #e9e9e9;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}
.card .media {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}
.card .body {
    padding: 34px 28px 32px;
    text-align: center;
}
.card h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
}
.card p {
    color: var(--muted);
    margin: 0 0 22px;
    line-height: 1.6;
}

.btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}
.card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
.card {
    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.features {
    padding: clamp(60px, 8vw, 100px) 8%;
    background: #fff;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.feature {
    text-align: center;
}
.feature img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    box-shadow: var(--shadow);
}
.feature h3 {
    margin: 22px 0 10px;
    font-weight: 800;
    font-size: 26px;
}
.feature ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}
.feature ul li::before {
    content: "- ";
}

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

.future-slab {
    position: relative;
    padding: clamp(60px, 10vw, 120px) 0;
    background: #eee;
}
.future-slab .bg {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1600") center/cover no-repeat;
}
.future-slab .overlay {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 8%;
}
.future-box {
    background: var(--accent);
    color: #fff;
    padding: clamp(28px, 5vw, 60px);
    max-width: 740px;
}
.future-box h2 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(36px, 6vw, 64px);
    margin: 0 0 16px;
}
.future-box hr {
    border: 0;
    height: 2px;
    width: 60px;
    background: rgba(255, 255, 255, 0.5);
    margin: 16px 0 24px;
}
.future-box ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
    line-height: 1.9;
}
.future-box li {
    position: relative;
    padding-left: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}
.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-grid img:hover {
    transform: scale(1.05);
}

.gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.gallery-header h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
}
.gallery-header button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 18px;
    font-weight: 600;
    cursor: pointer;
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: 0;
    box-shadow: var(--shadow);
}
.features {
    padding: clamp(60px, 8vw, 120px) 6%;
    background: #fff;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 64px 40px;
    align-items: start;
}
.feature {
    text-align: center;
}
.feature img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    box-shadow: none;
}
.feature h3 {
    margin: 22px 0 12px;
    font-weight: 800;
    font-size: 32px;
    letter-spacing: 0.01em;
}
.feature ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #2a2a2a;
    line-height: 2;
    font-weight: 500;
}
.feature ul li {
    position: relative;
    padding-left: 0;
}
.feature ul li::before {
    content: "- ";
    margin-right: 0.2em;
    color: #2a2a2a;
}

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

.features-masonry {
    padding: clamp(60px, 8vw, 120px) 6%;
    background: #fff;
}
.features-grid-masonry {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 64px 40px;
    align-items: start;
}
.feature-card {
    text-align: center;
}
.feature-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}
.feature-card h3 {
    margin: 22px 0 12px;
    font-weight: 800;
    font-size: 32px;
    letter-spacing: 0.01em;
}
.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #2a2a2a;
    line-height: 2;
    font-weight: 500;
}
.feature-card ul li::before {
    content: "- ";
    margin-right: 0.2em;
    color: #2a2a2a;
}
.feature-card--tall {
    grid-row: span 2;
    align-self: stretch;
}
.feature-card--tall img {
    height: 100%;
    min-height: 760px;
}

@media (max-width: 1200px) {
    .features-grid-masonry {
        gap: 48px 28px;
    }
}
@media (max-width: 1024px) {
    .features-grid-masonry {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
    }
    .feature-card--tall {
        grid-row: auto;
    }
    .feature-card--tall img {
        min-height: 480px;
    }
}
@media (max-width: 640px) {
    .features-grid-masonry {
        grid-template-columns: 1fr;
    }
    .feature-card img {
        height: 320px;
    }
    .feature-card--tall img {
        min-height: 360px;
    }
}

.cta-band {
    background: #0f1a15;
    color: #fff;
    padding: clamp(80px, 12vw, 140px) 6%;
    text-align: center;
    position: relative;
}
.cta-inner {
    max-width: 960px;
    margin: 0 auto;
}
.cta-band h2 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(28px, 4.2vw, 48px);
    margin: 0 0 8px;
    font-weight: 700;
}
.cta-sub {
    font-family: "Poppins", sans-serif;
    font-size: clamp(20px, 3.2vw, 36px);
    margin: 0 0 28px;
    opacity: 0.95;
}
.cta-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    font-weight: 700;
    padding: 16px 28px;
    cursor: pointer;
    letter-spacing: 0.02em;
}
.cta-btn:hover {
    filter: brightness(1.08);
}

.contact-strip {
    background: #0d1914;
    color: #eef2ef;
    padding: clamp(60px, 8vw, 100px) 6%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1.2fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}
.contact-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    margin: 0 0 18px;
    position: relative;
}
.contact-title:after {
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), var(--accent));
    margin-top: 10px;
}
.contact-list {
    margin: 0;
}
.contact-list dt {
    width: 90px;
    float: left;
    clear: left;
    opacity: 0.7;
    font-weight: 600;
}
.contact-list dd {
    margin: 0 0 10px 100px;
}

.enquire-form input,
.enquire-form textarea {
    width: 100%;
    background: #121f19;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e9f1ed;
    padding: 12px 14px;
    margin-bottom: 12px;
    outline: none;
}
.enquire-form input::placeholder,
.enquire-form textarea::placeholder {
    color: #c9d6cf;
}
.enquire-form .row.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.enquire-form .btn.submit {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-weight: 700;
    margin-top: 6px;
    cursor: pointer;
}
.enquire-form .btn.submit:hover {
    filter: brightness(1.08);
}

.agent-card {
    display: flex;
    gap: 16px;
    align-items: center;
}
.agent-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
}
.agent-name {
    font-weight: 800;
}
.agent-role {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 6px;
}
.agent-row {
    font-size: 14px;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .enquire-form .row.two {
        grid-template-columns: 1fr;
    }
}


:root {
    --rev-dur: 1.2s;
    --rev-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity var(--rev-dur) var(--rev-ease),
        transform var(--rev-dur) var(--rev-ease);
    transition-delay: var(--rev-delay, 0s);
    will-change: opacity, transform;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

[data-reveal="fade-in"] {
    transform: none;
}
[data-reveal="fade-up"] {
    transform: translateY(16px);
}
[data-reveal="fade-down"] {
    transform: translateY(-16px);
}
[data-reveal="fade-left"] {
    transform: translateX(20px);
}
[data-reveal="fade-right"] {
    transform: translateX(-20px);
}
[data-reveal="zoom-in"] {
    transform: scale(0.96);
}

[data-reveal] {
    transition-delay: var(--rev-delay, 0s);
}

[data-reveal-parent] > *[data-reveal] {
    --rev-delay: calc(var(--rev-step, 0.08s) * var(--i, 0));
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 16, 0.94);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.lightbox.open {
    display: flex;
}
.lb-stage {
    position: relative;
    width: min(92vw, 1400px);
    height: min(88vh, 900px);
}
.lb-img {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    object-fit: contain;
}
.lb-topbar {
    position: absolute;
    top: 10px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    opacity: 0.9;
    font-weight: 600;
}
.lb-count {
    font-family: Poppins, sans-serif;
    letter-spacing: 0.02em;
}
.lb-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: 0.2s;
}
.lb-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}
.lb-arrows {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}
.lb-arrow {
    pointer-events: auto;
    margin: 0 14px;
}
.lb-caption {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 16px;
    max-width: min(88vw, 1200px);
    color: #fff;
    text-align: center;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}
@media (max-width: 640px) {
    .lb-btn {
        width: 38px;
        height: 38px;
    }
}

.gallery-grid figure {
    cursor: zoom-in;
}


.lb-topbar,
.lb-arrows,
.lb-caption {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.lb-count {
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #fff;
}

.lb-btn {
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.25s ease,
        transform 0.2s ease;
}

.lb-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
}

.lb-arrows {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.lb-arrow {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    width: 56px;
    height: 56px;
    margin: 0 24px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    transition:
        background 0.25s ease,
        transform 0.2s ease;
}

.lb-arrow:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
}


.lb-caption {
    background: rgba(0, 0, 0, 0.55);
    padding: 8px 18px;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    display: inline-block;
}

.lightbox.open {
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .section-tiles,
    .gallery-section,
    .location-section,
    .features,
    .features-masonry,
    .contacts,
    .form-block {
        padding-left: 2% !important;
        padding-right: 2% !important;
    }
}

button,
.btn,
.cta-btn,
.enquire-form .btn {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease !important;
}

button:hover,
.btn:hover,
.cta-btn:hover,
.enquire-form .btn:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.1) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

button:active,
.btn:active,
.cta-btn:active,
.enquire-form .btn:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

/* Alternating image/text section (no conflict with existing .feature rules) */
.alt-feature{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
  margin: 44px 0;
}

.alt-feature-img{
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  box-shadow: var(--shadow);
  display: block;
  border: 0;
}

.alt-feature-body .alt-feature-title{
  font-family: "Kaisei Decol", sans-serif;
  font-weight: 800;
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 28px);
}


.alt-feature-body p{
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}

/* Flip order for the middle block */
.alt-feature--reverse .alt-feature-img{ order: 2; }
.alt-feature--reverse .alt-feature-body{ order: 1; }

/* Responsive stack */
@media (max-width: 900px){
  .alt-feature{
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 28px 0;
  }
  .alt-feature--reverse .alt-feature-img,
  .alt-feature--reverse .alt-feature-body{
    order: initial; /* natural stack on mobile */
  }
}

/* ===================== */
/* PAGE-SPECIFIC HEROES  */
/* ===================== */
header.dev-hero {
  background: 
    url("../images/YBE001 Nately Gardens_Exterior - Houses_rev05.jpg") /* <-- replace with your own image path */
    center/cover no-repeat;
  height: 56vh;            /* match typical hero height */
  display: grid;
  place-items: center;
  text-align: center;
}

/* Optional: add a dark overlay for better text contrast */
header.dev-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* adjust opacity as needed */
  z-index: 0;
}

/* Keep header text above the overlay */
header.dev-hero .header-content {
  position: relative;
  z-index: 1;
}

/* Location page */
header.loc-hero {
  background: 
    url("../images/YBE001 Nately Gardens_Exterior - Main Building_rev05.jpg") /* Replace with your actual image path */
    center/cover no-repeat;
  height: 56vh;
  display: grid;
  place-items: center;
  text-align: center;
}
header.loc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}
header.loc-hero .header-content {
  position: relative;
  z-index: 1;
}

/* Gallery page */
header.gal-hero {
  background: 
    url("../images/YBE001-Nately_Grand Staircase_OP 1 (1).jpg") /* Replace with your actual image path */
    center/cover no-repeat;
  height: 56vh;
  display: grid;
  place-items: center;
  text-align: center;
}
header.gal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}
header.gal-hero .header-content {
  position: relative;
  z-index: 1;
}

/* Register page */
header.reg-hero {
  background: 
    url("../images/YBE001 - Nately_APT3 - BIG ROOM (1).jpg") /* Replace with your actual image path */
    center/cover no-repeat;
  height: 56vh;
  display: grid;
  place-items: center;
  text-align: center;
}
header.reg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}
header.reg-hero .header-content {
  position: relative;
  z-index: 1;
}

.brand img {
  height: 80px;
  width: auto;
  display: block;
}

.footer-brand-block{
  text-align:center;
  padding:40px 0 20px;
  background:#0d1914;   /* matches contact strip */
}

.footer-brand-block img{
  height:46px;
  width:auto;
  display:block;
  margin:0 auto 10px;
}

.footer-brand-block p{
  font-family:Poppins, sans-serif;
  font-size:13px;
  letter-spacing:2px;
  color:#fff;           /* white text */
  opacity:0.85;
}

/* =========================
   BASE TOKENS (match main CSS)
========================= */
:root{
  --green:#0f3a34;
  --green-2:#0b2f2b;
  --gold:#d6bf87;
  --gold-2:#c9b07a;

  --bg:#ffffff;
  --text:#1b1b1b;
  --muted:#5a5a5a;

  --shadow: 0 14px 40px rgba(0,0,0,.12);
  --line-dark: rgba(0,0,0,.12);

  /* same logic as your "good" css */
  --wrap: min(1180px, calc(100% - clamp(32px, 10vw, 200px)));

  /* fluid typography (same approach) */
  --fs-h1: clamp(44px, 6.2vw, 120px);
  --fs-hero-sub: clamp(16px, 2.2vw, 36px);

  --fs-h2: clamp(28px, 3.4vw, 56px);
  --fs-section-title: clamp(26px, 3vw, 42px);

  --fs-body: clamp(15px, 1.1vw, 18px);
  --fs-card-title: clamp(18px, 1.8vw, 24px);
  --fs-card-text: clamp(14px, 1.1vw, 16px);

  --fs-feature-title: clamp(22px, 2.4vw, 32px);
  --fs-feature-text: clamp(15px, 1.2vw, 18px);

  --section-py: clamp(52px, 7vw, 90px);
}

/* =========================
   RESET
========================= */
*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family:"Red Hat Display", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; }

/* =========================
   LAYOUT HELPERS
========================= */
section{ padding: var(--section-py) 0; }

.wrap{
  width: var(--wrap);
  margin: 0 auto;
}

/* =========================
   TYPOGRAPHY (match main CSS)
========================= */
h2{
  font-family: "Kaisei Decol", serif;
  font-weight: 700;
  font-size: var(--fs-section-title);
  line-height: 1.1;
  margin: 0 0 14px;
}

p.lead{
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--muted);
  max-width: 680px;
  margin: 0;
}

/* =========================
   BUTTONS (unified)
========================= */
.btn,
.cta-btn,
.enquire-form .btn.submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 42px;
  padding: 0 22px;
  border-radius: 0;
  border: none;
  cursor:pointer;

  background: var(--gold);
  color:#111;
  text-transform: uppercase;

  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1;
}

.btn:hover,
.cta-btn:hover,
.enquire-form .btn.submit:hover{
  background: var(--gold-2);
}

/* nice hover you already had */
button,
.btn,
.cta-btn,
.enquire-form .btn.submit{
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease,
    background 0.25s ease;
}

button:hover,
.btn:hover,
.cta-btn:hover,
.enquire-form .btn.submit:hover{
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

button:active,
.btn:active,
.cta-btn:active,
.enquire-form .btn.submit:active{
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}

/* =========================
   GALLERY (simple grid)
========================= */
.gallery{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.gallery img{
  width:100%;
  box-shadow: var(--shadow);
  transition: transform .3s ease;
}
.gallery img:hover{ transform: scale(1.03); }

/* =========================
   TILES / CARDS (deduped, match main)
========================= */
.section-tiles{
  background:#fff;
  padding: var(--section-py) 0;
}

.tiles{
  width: var(--wrap);
  margin: 0 auto;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(22px, 4vw, 56px);
}

.card{
  background:#fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition: box-shadow .25s ease, transform .25s ease;
}

.card .media{
  width:100%;
  height: clamp(200px, 24vw, 260px);
  object-fit: cover;
  display:block;
}

.card .body{
  text-align:center;
  padding: clamp(18px, 3vw, 24px) clamp(18px, 3.2vw, 34px) clamp(22px, 3.5vw, 30px);
}

.card h3{
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: var(--fs-card-title);
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 10px;
}

.card p{
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: var(--fs-card-text);
  color: rgba(0,0,0,.68);
  line-height: 1.6;
  margin: 0 0 18px;
}

.card:hover{
  box-shadow: 0 18px 44px rgba(0,0,0,.14);
  transform: translateY(-2px);
}

/* =========================
   FEATURES (single definition, no conflicts)
========================= */
.features,
.features-masonry{
  background:#fff;
  padding: var(--section-py) 0;
}

.features-grid,
.features-grid-masonry{
  width: var(--wrap);
  margin: 0 auto;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 40px);
  align-items:start;
}

.feature,
.feature-card{
  text-align:center;
}

.feature img,
.feature-card img{
  width:100%;
  height: clamp(240px, 46vw, 380px);
  object-fit: cover;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow);
  background:#f3f3f3;
}

.feature h3,
.feature-card h3{
  font-family: "Kaisei Decol", serif;
  font-weight: 700;
  font-size: var(--fs-feature-title);
  line-height: 1.1;
  margin: 18px 0 10px;
}

.feature ul,
.feature-card ul{
  list-style:none;
  padding:0;
  margin:0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: var(--fs-feature-text);
  line-height: 1.7;
  color: rgba(0,0,0,.68);
}

.feature ul li,
.feature-card ul li{ margin: 6px 0; }

.feature ul li::before,
.feature-card ul li::before{
  content:"-";
  margin-right:8px;
  color: rgba(0,0,0,.55);
}

/* Masonry tall option kept */
.feature-card--tall{ grid-row: span 2; align-self: stretch; }
.feature-card--tall img{ height: 100%; min-height: 760px; }

/* =========================
   FUTURE SLAB (keep but align fonts)
========================= */
.future-slab{
  position:relative;
  padding: clamp(60px, 10vw, 120px) 0;
  background:#eee;
  overflow:hidden;
}
.future-slab .bg{
  position:absolute;
  inset:0;
  background: center/cover no-repeat;
  /* оставил твой url как есть */
  background-image: url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1600");
  transform: scale(1.02);
}
.future-slab::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.10) 55%, rgba(0,0,0,.28));
}

.future-slab .overlay{
  position:relative;
  width: var(--wrap);
  margin: 0 auto;
}

.future-box{
  background: var(--green);
  color:#fff;
  padding: clamp(28px, 5vw, 60px);
  max-width: 740px;
  box-shadow: var(--shadow);
}

.future-box h2{
  font-family:"Kaisei Decol", serif;
  font-weight: 700;
  font-size: clamp(30px, 5.5vw, 56px);
  line-height: 1.1;
  margin: 0 0 16px;
}

.future-box hr{
  border:0;
  height:1px;
  width:60px;
  background: rgba(214,191,135,.8);
  margin: 16px 0 24px;
}

.future-box ul{
  margin:0;
  padding:0;
  list-style:none;
  font-family:"Cormorant Garamond", serif;
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: 1.8;
}

/* =========================
   CONTACT STRIP (align to main design)
========================= */
.contact-strip{
  background: var(--green);
  color: rgba(255,255,255,.9);
  padding: clamp(60px, 8vw, 90px) 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.contact-grid{
  width: var(--wrap);
  margin: 0 auto;
  display:grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: clamp(28px, 4vw, 54px);
  align-items:start;
}

.contact-title{
  font-family:"Kaisei Decol", serif;
  font-weight:700;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.1;
  margin: 0 0 14px;
  position:relative;
  padding-bottom: 12px;
}
.contact-title::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width: 120px;
  height:1px;
  background: var(--gold);
}

.contact-list{
  margin:0;
}
.contact-list dt{
  width: 90px;
  float:left;
  clear:left;
  opacity:.7;
  font-weight:600;
}
.contact-list dd{
  margin: 0 0 10px 100px;
  opacity:.9;
}

.enquire-form{
  display:flex;
  flex-direction:column;
  gap: 10px;
  max-width: 520px;
}

.enquire-form .row.two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.enquire-form input,
.enquire-form textarea{
  width:100%;
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
  padding: 12px 12px;
  font-size: 12px;
  outline:none;
}

.enquire-form textarea{ resize: vertical; min-height: 120px; }

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

.enquire-form .btn.submit{
  width: 170px;
  height: 38px;
  margin-top: 10px;
}


/* =========================
   PAGE HEROES (fix: position relative + consistent fonts)
========================= */
header.dev-hero,
header.loc-hero,
header.gal-hero,
header.reg-hero{
  position: relative;
  overflow:hidden;
  height: 56vh;
  min-height: 420px;
  display:grid;
  place-items:center;
  text-align:center;
}

header.dev-hero{ background: url("../images/YBE001 Nately Gardens_Exterior - Houses_rev05.jpg") center/cover no-repeat; }
header.loc-hero{ background: url("../images/YBE001 Nately Gardens_Exterior - Main Building_rev05.jpg") center/cover no-repeat; }
header.gal-hero{ background: url("../images/YBE001-Nately_Grand Staircase_OP 1 (1).jpg") center/cover no-repeat; }
header.reg-hero{ background: url("../images/YBE001 - Nately_APT3 - BIG ROOM (1).jpg") center/cover no-repeat; }

header.dev-hero::before,
header.loc-hero::before,
header.gal-hero::before,
header.reg-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.18) 55%, rgba(0,0,0,.40));
  z-index:0;
}

/* ensure header-content text always above overlay */
header.dev-hero .header-content,
header.loc-hero .header-content,
header.gal-hero .header-content,
header.reg-hero .header-content{
  position: relative;
  z-index: 1;
  padding: 0 18px;
}

/* If these pages reuse the same hero text styles */
.header-content h1{
  font-family: "Kaisei Decol", serif;
  font-weight: 700;
  font-size: var(--fs-h1);
  line-height: 1.05;
  margin: 0 0 10px;
  color:#fff;
}
.header-content p{
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: var(--fs-hero-sub);
  line-height: 1.25;
  margin: 0 auto 50px;
  color: rgba(255,255,255,.92);
  max-width: 895px;
}

/* =========================
   LIGHTBOX (kept as is, but cleaned duplicates)
========================= */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 16, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.lightbox.open{ display:flex; animation: fadeIn .3s ease; }

.lb-stage{
  position: relative;
  width: min(92vw, 1400px);
  height: min(88vh, 900px);
}
.lb-img{
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  object-fit: contain;
}
.lb-topbar{
  position:absolute;
  top: 10px;
  left: 16px;
  right: 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#fff;
  opacity:.9;
  font-weight:600;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}
.lb-count{
  font-family: "Red Hat Display", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .02em;
  background: rgba(0,0,0,.5);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
}
.lb-btn{
  background: rgba(0,0,0,.55);
  color:#fff;
  width: 46px;
  height: 46px;
  border:none;
  border-radius: 50%;
  font-size: 22px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: background .25s ease, transform .2s ease;
}
.lb-btn:hover{ background: rgba(255,255,255,.18); transform: scale(1.05); }

.lb-arrows{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  pointer-events:none;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}
.lb-arrow{
  pointer-events:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 28px;
  width: 56px;
  height: 56px;
  margin: 0 24px;
  border:none;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  transition: background .25s ease, transform .2s ease;
}
.lb-arrow:hover{ background: rgba(255,255,255,.18); transform: scale(1.05); }

.lb-caption{
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  max-width: min(88vw, 1200px);
  color:#fff;
  text-align:center;
  font-size: 15px;
  font-weight: 500;
  opacity:.95;
  background: rgba(0,0,0,.55);
  padding: 8px 18px;
  border-radius: 8px;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}

@keyframes fadeIn{ from{opacity:0} to{opacity:1} }

/* =========================
   FOOTER (kept)
========================= */
footer{
  padding: 16px 0;
  text-align:center;
  color: rgba(0,0,0,.45);
  background:#fff;
  border-top:1px solid rgba(0,0,0,.06);
  font-family: "Cormorant Garamond", sans-serif;
}

/* brand blocks (kept) */
.brand img{ height: 80px; width:auto; display:block; }

.footer-brand-block{
  text-align:center;
  padding:40px 0 20px;
  background: var(--green);
}
.footer-brand-block img{
  height:46px;
  width:auto;
  display:block;
  margin:0 auto 10px;
}
.footer-brand-block p{
  font-family: "Red Hat Display", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size:13px;
  letter-spacing:2px;
  color:#fff;
  opacity:.85;
}

/* =========================
   RESPONSIVE (match main)
========================= */
@media (max-width: 1100px){
  .tiles{ grid-template-columns: 1fr; }
  .features-grid,
  .features-grid-masonry{ grid-template-columns: 1fr; gap: 50px; }
  .contact-grid{ grid-template-columns: 1fr; gap: 34px; }
  .enquire-form{ max-width: 100%; }
  .feature-card--tall{ grid-row: auto; }
  .feature-card--tall img{ min-height: 480px; }
}

@media (max-width: 640px){
  .btn, .cta-btn, .enquire-form .btn.submit{
    height: 40px;
    padding: 0 16px;
  }

  .lb-btn{ width: 38px; height: 38px; }
  .lb-arrow{ width: 46px; height: 46px; margin: 0 14px; }

  /* keep small paddings consistent */
  .section-tiles,
  .gallery-section,
  .location-section,
  .features,
  .features-masonry,
  .contacts,
  .form-block{
    padding-left: 2% !important;
    padding-right: 2% !important;
  }
}

  /* ===== Mobile menu enable ===== */
@media (max-width: 620px){
  .nav-menu{ display:none; }

  .burger{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.28);
    background: transparent;
    cursor: pointer;
  }

  /* burger icon */
  .burger span,
  .burger span::before,
  .burger span::after{
    content:"";
    display:block;
    width: 20px;
    height: 2px;
    background: rgba(255,255,255,.92);
    position: relative;
  }
  .burger span::before{ position:absolute; top:-6px; left:0; }
  .burger span::after { position:absolute; top: 6px; left:0; }

  .mobile-panel{
    display:none; /* по умолчанию закрыто */
    position:absolute;
    left:0;
    right:0;
    top: 100%;
    background: rgba(15,58,52,.98);
    border-bottom:1px solid rgba(255,255,255,.12);
    padding: 14px 16px 18px;
    z-index: 20;
  }

  .mobile-panel a{
    display:block;
    padding: 12px 4px;
    color: rgba(255,255,255,.92);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    font-size: 16px;
  }

  .mobile-panel a + a{
    border-top: 1px solid rgba(255,255,255,.10);
  }

}
