/* ==========================================================================
   BuildCon Realty — design system
   Look & feel modelled on 106avenue.com:
   warm terracotta/cream palette, gradient display headings, full-bleed
   imagery with dark overlays, sticky scroll storytelling, generous space.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&family=Cormorant+Garamond:wght@300;400;500;600&family=Marcellus&display=swap");

:root {
    /* Palette lifted from the reference site */
    --peach: #f6a980;
    --clay: #a1644d;
    --cocoa: #634034;
    --espresso: #4a2f27;
    --cream: #fef6f1;
    --ink: #111010;
    --ink-soft: #3c3636;
    --muted: #666666;
    --white: #ffffff;

    --grad: linear-gradient(90deg, #f6a980 -0.01%, #a1644d 100%);
    --grad-rev: linear-gradient(270deg, #f6a980 -0.01%, #a1644d 100%);

    --primary-font: "Lato", system-ui, sans-serif;
    --display-font: "Cormorant Garamond", Georgia, serif;
    --secondary-font: "Marcellus", "Optima", Georgia, serif;

    --header-h: 84px;
    --topbar-h: 40px;
    --maxw: 1400px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--primary-font);
    font-weight: 400;
    color: var(--ink-soft);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.eyebrow {
    font-family: var(--primary-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: 18px;
    display: block;
}

.section-title {
    font-family: var(--secondary-font);
    font-size: clamp(28px, 3.4vw, 46px);
    line-height: 1.2;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
}

.section-title.on-dark {
    color: var(--white);
}

.display-title {
    font-family: var(--display-font);
    font-size: clamp(40px, 6vw, 80px);
    line-height: 1.05;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.section-subtitle {
    font-size: 16px;
    line-height: 1.9;
    color: var(--muted);
    max-width: 760px;
    margin-bottom: 40px;
}

.section-subtitle.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-subtitle.on-dark {
    color: rgba(255, 255, 255, 0.72);
}

.text-center {
    text-align: center;
}

.section {
    padding: 110px 0;
}

.section.tight {
    padding: 70px 0;
}

.section.cream {
    background: var(--cream);
}

.section.dark {
    background: var(--ink);
    color: var(--white);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 34px;
    font-family: var(--primary-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    background: none;
    transition: 0.45s ease;
    white-space: nowrap;
}

/* Gradient hairline border — the reference site's signature button */
.btn-dark {
    color: var(--white);
    border: 1px solid;
    border-image: var(--grad) 1;
    background: transparent;
}

.btn-dark:hover {
    border-image: var(--grad-rev) 1;
    background: rgba(246, 169, 128, 0.14);
}

.btn-light {
    color: var(--espresso);
    border: 1px solid;
    border-image: var(--grad) 1;
    background: transparent;
}

.btn-light:hover {
    border-image: var(--grad-rev) 1;
    background: rgba(246, 169, 128, 0.16);
}

.btn-solid {
    background: var(--grad);
    color: var(--white);
}

.btn-solid:hover {
    background: var(--grad-rev);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 11px 22px;
    font-size: 11px;
}

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */

.topbar {
    background: var(--espresso);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar a:hover {
    color: var(--peach);
}

.topbar-mid {
    flex: 1;
    text-align: center;
}

.blink-text {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--peach);
    animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.5s ease;
    background: transparent;
}

.site-header.scrolled,
.site-header.solid {
    background: var(--cocoa);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-family: var(--display-font);
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
}

.brand-tag {
    font-size: 9px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--peach);
    margin-top: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-link {
    position: relative;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: 0.3s ease;
    padding: 6px 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--grad);
    transition: width 0.35s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 260px;
    background: var(--espresso);
    border-top: 2px solid transparent;
    border-image: var(--grad) 1;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.35s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 11px 24px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    transition: 0.3s ease;
}

.nav-dropdown-menu a:hover {
    background: rgba(246, 169, 128, 0.14);
    color: var(--peach);
    padding-left: 30px;
}

/* Burger */
.burger-icon {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1200;
}

.burger-icon span {
    width: 26px;
    height: 2px;
    background: var(--white);
    display: block;
    transition: 0.35s ease;
}

.burger-icon.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-icon.open span:nth-child(2) {
    opacity: 0;
}

.burger-icon.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--espresso);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1150;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu a {
    color: var(--white);
    font-family: var(--secondary-font);
    font-size: 22px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mobile-menu a:hover {
    color: var(--peach);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--white);
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.4s ease, transform 7s linear;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 16, 16, 0.7) 0%, rgba(17, 16, 16, 0.45) 45%, rgba(74, 47, 39, 0.88) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 140px 20px 90px;
    max-width: 1000px;
}

.hero-content h1 {
    font-family: var(--primary-font);
    font-size: clamp(20px, 2.6vw, 34px);
    font-weight: 300;
    text-transform: capitalize;
    letter-spacing: 0.04em;
    color: var(--white);
}

.hero-content h1 span {
    display: block;
    font-family: var(--display-font);
    font-size: clamp(44px, 7.2vw, 92px);
    line-height: 1.02;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 10px;
}

.hero-message {
    font-size: 16px;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.82);
    margin: 26px auto 38px;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.hero-dots {
    position: absolute;
    bottom: 46px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
}

.hero-dot {
    width: 34px;
    height: 2px;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: 0.4s ease;
}

.hero-dot.active {
    background: var(--peach);
    width: 54px;
}

/* Page banner (inner pages) */
.page-banner {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: linear-gradient(rgba(17, 16, 16, 0.72), rgba(74, 47, 39, 0.86)),
        var(--banner-img, linear-gradient(135deg, #4a2f27, #a1644d)) center/cover no-repeat;
}

.page-banner-inner {
    position: relative;
    z-index: 2;
    padding: 160px 20px 80px;
}

.page-banner h1 {
    font-family: var(--display-font);
    font-size: clamp(38px, 6vw, 76px);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.05;
}

.page-banner p {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.06em;
}

.breadcrumb {
    margin-top: 22px;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
    color: var(--peach);
}

/* --------------------------------------------------------------------------
   About + stat strip
   -------------------------------------------------------------------------- */

.about-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 17px;
    line-height: 2;
    color: var(--muted);
}

.about-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 70px;
    border-top: 1px solid rgba(161, 100, 77, 0.22);
    border-bottom: 1px solid rgba(161, 100, 77, 0.22);
}

.about-item {
    text-align: center;
    padding: 38px 18px;
    border-right: 1px solid rgba(161, 100, 77, 0.22);
}

.about-item:last-child {
    border-right: none;
}

.about-item h4 {
    font-family: var(--primary-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

.about-item .value {
    font-family: var(--secondary-font);
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.2;
    letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Premium location — split grid with feature list
   -------------------------------------------------------------------------- */

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
}

.split-left {
    padding: 90px 70px;
    background: var(--ink);
    color: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-right {
    position: relative;
    min-height: 620px;
    background-size: cover;
    background-position: center;
}

.split-right::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 16, 16, 0.15), rgba(74, 47, 39, 0.55));
}

.features {
    margin-top: 46px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.feature:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-icon {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    border-image: var(--grad) 1;
    font-size: 20px;
    color: var(--peach);
}

.feature h5 {
    font-family: var(--secondary-font);
    font-size: 16px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 8px;
}

.feature p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.62);
}

/* --------------------------------------------------------------------------
   Amenities / projects mosaic
   -------------------------------------------------------------------------- */

.amenities {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    gap: 14px;
}

.amenity-item {
    position: relative;
    overflow: hidden;
    background: var(--cocoa);
}

.amenity-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.amenity-item img,
.amenity-item .amenity-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease;
}

.amenity-item:hover img,
.amenity-item:hover .amenity-bg {
    transform: scale(1.1);
}

.amenity-item .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    background: linear-gradient(180deg, rgba(17, 16, 16, 0) 35%, rgba(17, 16, 16, 0.85) 100%);
    color: var(--white);
}

.amenity-item .overlay h5 {
    font-family: var(--secondary-font);
    font-size: 18px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.amenity-item .overlay p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.amenities-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 54px;
}

/* --------------------------------------------------------------------------
   Project cards
   -------------------------------------------------------------------------- */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 34px;
}

.card {
    background: var(--white);
    border: 1px solid rgba(161, 100, 77, 0.16);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: 0.45s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(74, 47, 39, 0.14);
}

.card-media {
    height: 250px;
    background: var(--cocoa) center/cover no-repeat;
    overflow: hidden;
    position: relative;
}

.card-body {
    padding: 30px 28px 22px;
    flex: 1;
}

.card-title {
    font-family: var(--secondary-font);
    font-size: 21px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--espresso);
    margin-bottom: 8px;
}

.card-location {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: 16px;
}

.card-text {
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--muted);
    margin-bottom: 18px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 6px 16px;
    border: 1px solid rgba(161, 100, 77, 0.4);
    color: var(--clay);
}

.card-footer {
    display: flex;
    gap: 12px;
    padding: 0 28px 28px;
    flex-wrap: wrap;
}

.card-footer .btn {
    flex: 1 1 auto;
}

/* --------------------------------------------------------------------------
   Landmark / commitment carousel strip
   -------------------------------------------------------------------------- */

.landmark {
    background: var(--ink);
    color: var(--white);
    padding: 110px 0;
}

.landmark-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 44px 24px;
    margin-top: 60px;
}

.landmark-item {
    text-align: center;
    padding: 0 12px;
}

.landmark-item .lm-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    border-image: var(--grad) 1;
    color: var(--peach);
    font-size: 22px;
}

.landmark-item h5 {
    font-family: var(--secondary-font);
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 8px;
}

.landmark-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   Alpha sticky storytelling sections
   -------------------------------------------------------------------------- */

.alpha-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.alpha-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.alpha-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 16, 16, 0.88) 0%, rgba(17, 16, 16, 0.45) 55%, rgba(17, 16, 16, 0.2) 100%);
}

.alpha-section.right .alpha-bg::after {
    background: linear-gradient(270deg, rgba(17, 16, 16, 0.88) 0%, rgba(17, 16, 16, 0.45) 55%, rgba(17, 16, 16, 0.2) 100%);
}

.alpha-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.section-content {
    max-width: 560px;
    padding: 70px 0;
}

.alpha-section.right .section-content {
    margin-left: auto;
}

.section-content h4 {
    font-family: var(--secondary-font);
    font-size: clamp(26px, 3.2vw, 42px);
    line-height: 1.25;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 22px;
}

.section-content p {
    font-size: 16px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 32px;
}

/* --------------------------------------------------------------------------
   Layout plan
   -------------------------------------------------------------------------- */

.layout-content {
    text-align: center;
}

.layout-img {
    position: relative;
    margin-top: 50px;
    border: 1px solid rgba(161, 100, 77, 0.25);
    overflow: hidden;
    background: var(--cream);
}

.layout-img img {
    width: 100%;
    transition: transform 0.6s ease;
}

.layout-img:hover img {
    transform: scale(1.06);
}

/* --------------------------------------------------------------------------
   Featured project tabs
   -------------------------------------------------------------------------- */

.featured-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    border-bottom: 1px solid rgba(161, 100, 77, 0.22);
    margin-bottom: 50px;
}

.featured-tab-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 16px 28px;
    font-family: var(--primary-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    cursor: pointer;
    transition: 0.35s ease;
    margin-bottom: -1px;
}

.featured-tab-btn:hover {
    color: var(--clay);
}

.featured-tab-btn.active {
    color: var(--espresso);
    border-image: var(--grad) 1;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: start;
}

.detail-block {
    margin-bottom: 34px;
}

.detail-block h4 {
    font-family: var(--secondary-font);
    font-size: 15px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--espresso);
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(161, 100, 77, 0.22);
}

.detail-block p {
    font-size: 15px;
    line-height: 1.95;
    color: var(--muted);
}

.amenity-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.amenity-list li {
    font-size: 14px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.amenity-list li i {
    color: var(--clay);
    font-size: 12px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.gallery-item {
    height: 190px;
    background: var(--cocoa) center/cover no-repeat;
    overflow: hidden;
    transition: 0.5s ease;
}

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

.map-frame {
    width: 100%;
    height: 300px;
    border: 1px solid rgba(161, 100, 77, 0.22);
    background: var(--cream);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* --------------------------------------------------------------------------
   Search / filter bar
   -------------------------------------------------------------------------- */

.search-bar {
    background: var(--white);
    border: 1px solid rgba(161, 100, 77, 0.2);
    padding: 26px;
    box-shadow: 0 20px 50px rgba(74, 47, 39, 0.08);
}

.search-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 18px;
    align-items: end;
}

.search-field label,
.field label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: 8px;
}

.search-field input,
.search-field select,
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(161, 100, 77, 0.28);
    background: var(--white);
    font-family: var(--primary-font);
    font-size: 14px;
    color: var(--ink-soft);
    outline: none;
    transition: 0.3s ease;
    border-radius: 0;
}

.search-field input:focus,
.search-field select:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--clay);
    box-shadow: 0 0 0 3px rgba(246, 169, 128, 0.18);
}

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

/* --------------------------------------------------------------------------
   Contact section
   -------------------------------------------------------------------------- */

.contact {
    background: var(--cream);
    padding: 110px 0;
}

.contact h4 {
    font-family: var(--secondary-font);
    font-size: clamp(26px, 3.2vw, 44px);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
    margin-bottom: 14px;
}

.contact-form {
    max-width: 860px;
    margin: 46px auto 0;
}

.input-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.input-group.full {
    grid-column: 1 / -1;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.info-card {
    background: var(--white);
    border: 1px solid rgba(161, 100, 77, 0.18);
    padding: 36px 28px;
    text-align: center;
}

.info-card i {
    font-size: 22px;
    color: var(--clay);
    margin-bottom: 16px;
    display: block;
}

.info-card h5 {
    font-family: var(--secondary-font);
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--espresso);
    margin-bottom: 10px;
}

.info-card p,
.info-card a {
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--muted);
}

.info-card a:hover {
    color: var(--clay);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--ink);
    color: var(--white);
}

.footer-strip {
    height: 3px;
    background: var(--grad);
}

.footer-wrapper {
    padding: 46px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-contact div {
    font-family: var(--primary-font);
    font-size: 24px;
    font-weight: 400;
    color: var(--white);
}

.phone-contact span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--peach);
    margin-bottom: 8px;
}

.social-contact .icons {
    display: flex;
    gap: 12px;
}

.btn-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--white);
    transition: 0.4s ease;
}

.btn-icon:hover {
    background: var(--grad);
    border-color: transparent;
}

.inner-footer {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 44px;
    padding: 60px 0;
}

.inner-footer h6 {
    font-family: var(--secondary-font);
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 22px;
}

.inner-footer p,
.inner-footer li {
    font-size: 14px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.55);
}

.inner-footer a:hover {
    color: var(--peach);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a:hover {
    color: var(--peach);
}

/* --------------------------------------------------------------------------
   Enquiry overlay (slide-in)
   -------------------------------------------------------------------------- */

.enquire-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 16, 16, 0.72);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
    z-index: 1300;
}

.enquire-overlay.open {
    opacity: 1;
    visibility: visible;
}

.enquire-form {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(560px, 100%);
    background: var(--white);
    padding: 54px 46px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
}

.enquire-overlay.open .enquire-form {
    transform: translateX(0);
}

.enquire-form h3 {
    font-family: var(--secondary-font);
    font-size: 26px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--espresso);
    margin-bottom: 10px;
}

.enquire-form .form-sub {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 32px;
}

.enquiry-close-btn {
    position: absolute;
    top: 26px;
    right: 26px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(161, 100, 77, 0.3);
    background: none;
    font-size: 20px;
    color: var(--espresso);
    cursor: pointer;
    transition: 0.35s ease;
    line-height: 1;
}

.enquiry-close-btn:hover {
    background: var(--grad);
    color: var(--white);
    border-color: transparent;
}

.modal-hint {
    margin-top: 16px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Floating actions
   -------------------------------------------------------------------------- */

.float-actions {
    position: fixed;
    right: 20px;
    bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 900;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
    transition: 0.35s ease;
}

.float-btn.wa {
    background: #25d366;
}

.float-btn.call {
    background: var(--grad);
}

.float-btn:hover {
    transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.box {
    opacity: 0;
    transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.box.bottom { transform: translateY(60px); }
.box.left   { transform: translateX(-60px); }
.box.right  { transform: translateX(60px); }
.box.fade   { transform: none; }

.box.in-view {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .box,
    .box.bottom,
    .box.left,
    .box.right {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .blink-text {
        animation: none;
    }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
    .container { padding: 0 28px; }
    .split-left { padding: 70px 42px; }
    .inner-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
    .nav-links { display: none; }
    .burger-icon { display: flex; }

    .split-grid { grid-template-columns: 1fr; }
    .split-right { min-height: 420px; order: -1; }

    .detail-grid { grid-template-columns: 1fr; gap: 40px; }

    .amenities { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
    .amenity-item.large { grid-column: span 2; grid-row: span 1; }

    .about-menu { grid-template-columns: repeat(2, 1fr); }
    .about-item:nth-child(2) { border-right: none; }
    .about-item:nth-child(1),
    .about-item:nth-child(2) { border-bottom: 1px solid rgba(161, 100, 77, 0.22); }

    .alpha-section.right .section-content { margin-left: 0; }
    .section { padding: 80px 0; }
}

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

    .topbar { display: none; }
    .container { padding: 0 20px; }

    .input-grid,
    .amenity-list,
    .gallery-grid { grid-template-columns: 1fr; }

    .hero-content { padding: 120px 16px 80px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }

    .footer-wrapper { flex-direction: column; align-items: flex-start; }
    .inner-footer { grid-template-columns: 1fr; gap: 34px; padding: 44px 0; }

    .enquire-form { padding: 46px 24px; }
    .card-footer { flex-direction: column; }
    .split-left { padding: 56px 24px; }
    .section-content { padding: 50px 0; }
}

@media (max-width: 520px) {
    .about-menu { grid-template-columns: 1fr; }
    .about-item { border-right: none; border-bottom: 1px solid rgba(161, 100, 77, 0.22); }
    .about-item:last-child { border-bottom: none; }
    .amenities { grid-template-columns: 1fr; }
    .amenity-item.large { grid-column: span 1; }
    .featured-tab-btn { padding: 13px 16px; font-size: 11px; }
}
