/* =========================================================
   Faith Properties — Front-end styles
   Brand colours taken from the logo
   ========================================================= */
:root {
  --navy: #1a4859;        /* logo deep teal */
  --navy-dark: #10313d;
  --navy-deep: #0b2430;
  --cyan: #31a9c1;        /* logo accent */
  --cyan-dark: #238ba0;
  --cyan-soft: #e6f5f8;
  --ink: #151615;         /* logo black */
  --text: #3d4b52;
  --muted: #6b7c84;
  --line: #dfe8eb;
  --bg: #ffffff;
  --tint: #f3f8f9;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 49, 61, .08);
  --shadow-lg: 0 20px 50px rgba(16, 49, 61, .16);
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cyan); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .8em 1.6em; border-radius: 50px; font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: all .25s; font-family: var(--font-body); white-space: nowrap; }
.btn-lg { padding: 1em 2em; font-size: 1rem; }
.btn-primary { background: var(--cyan); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(49,169,193,.35); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--cyan); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--ink); color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan-dark); margin-bottom: 12px; }
.eyebrow .bar { width: 28px; height: 3px; background: var(--cyan); border-radius: 2px; }
.eyebrow.light { color: #9fe0ec; }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--navy-deep); color: #b9d3da; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { color: #b9d3da; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-info i { color: var(--cyan); margin-right: 6px; }
.topbar-social { display: flex; gap: 14px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(16,49,61,.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 54px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { font-weight: 600; color: var(--ink); padding: 8px 16px; border-radius: 30px; font-size: .95rem; position: relative; }
.main-nav a:not(.btn)::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px; background: var(--cyan); transform: scaleX(0); transition: transform .25s; }
.main-nav a:not(.btn):hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--navy); }
.main-nav .nav-cta { margin-left: 10px; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 6px 0; transition: .3s; border-radius: 2px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 640px; display: flex; flex-direction: column; justify-content: center; color: #fff; padding-bottom: 70px; }
.hero-slides, .hero-slide, .hero-overlay, .hero-pattern { position: absolute; inset: 0; }
.hero-slide { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease, transform 7s ease; transform: scale(1.06); }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-default {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%2331a9c1' fill-opacity='.18' d='M0 320V210h60v-60h40v-40h50v150h40V120h70v-30h20v230h60V160h80v160h40V60h30V30h30v30h30v260h50V180h90v140h40V90h60v230h50V150h40v-40h30v210h60V200h70v120h40V70h40V40h40v280h40V170h70v150h40V230h50v90z'/%3E%3Cpath fill='%2310313d' fill-opacity='.65' d='M0 320v-60h90v-50h60v110h50v-80h70v80h60v-130h60v130h50v-70h80v70h60v-150h50v150h60v-90h70v90h50v-60h60v60h70v-120h60v120h50v-80h80v80h60v-100h50v100h60v-50h80v50z'/%3E%3C/svg%3E") bottom / 100% 55% no-repeat,
    radial-gradient(ellipse at 80% 10%, rgba(49,169,193,.45), transparent 55%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #1f6378 100%);
}
.hero-overlay { background: linear-gradient(100deg, rgba(11,36,48,.92) 0%, rgba(16,49,61,.72) 45%, rgba(16,49,61,.25) 100%); }
.hero-pattern {
  background: repeating-linear-gradient(105deg, transparent 0 90px, rgba(49,169,193,.06) 90px 120px);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 40px; max-width: 1220px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 800; max-width: 760px; letter-spacing: -.03em; margin-bottom: .4em; }
.hero p { font-size: 1.15rem; max-width: 600px; color: #d3e6eb; margin-bottom: 2em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { display: flex; gap: 10px; margin-top: 40px; }
.hero-dots button { width: 12px; height: 12px; border-radius: 10px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: .3s; padding: 0; }
.hero-dots button.active { width: 36px; background: var(--cyan); }
.hero h1, .hero p { transition: opacity .4s; }
.hero .fade { opacity: 0; }

.hero-search { position: absolute; z-index: 3; left: 50%; bottom: -46px; transform: translateX(-50%); width: calc(100% - 40px); max-width: 1100px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); display: flex; gap: 0; align-items: stretch; padding: 14px; }
.hs-field { padding: 6px 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; min-width: 180px; }
.hs-field.grow { flex: 1; border-right: 0; }
.hs-field label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-dark); }
.hs-field select, .hs-field input { border: 0; outline: 0; font: inherit; font-weight: 600; color: var(--ink); background: transparent; padding: 4px 0; }
.hero-search .btn { border-radius: 12px; padding: 0 30px; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-tint { background: var(--tint); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head.center { justify-content: center; text-align: center; }

/* Stats */
.stats-section { padding: 110px 0 60px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 26px 10px; border-radius: var(--radius); position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: -12px; top: 25%; height: 50%; width: 1px; background: var(--line); }
.stat-num { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--navy); line-height: 1; }
.stat-num::after { content: ''; display: block; width: 30px; height: 3px; background: var(--cyan); margin: 14px auto 10px; border-radius: 2px; }
.stat-label { color: var(--muted); font-weight: 500; }

/* About split */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-visual { position: relative; padding: 0 0 30px 30px; }
.about-visual::before { content: ''; position: absolute; left: 0; bottom: 0; width: 70%; height: 75%; background: var(--cyan); border-radius: var(--radius); clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); }
.av-main { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.4; box-shadow: var(--shadow-lg); }
.av-main img { width: 100%; height: 100%; object-fit: cover; }
.av-badge { position: absolute; right: -10px; bottom: 50px; background: var(--navy); color: #fff; padding: 22px 26px; border-radius: var(--radius); display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-lg); }
.av-badge strong { font-family: var(--font-head); font-size: 2.4rem; line-height: 1; }
.av-badge span { font-size: .85rem; line-height: 1.3; color: #bfe3eb; }
.check-list { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.check-list li { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--ink); }
.check-list i { color: var(--cyan); }

/* Placeholder image */
.img-placeholder { width: 100%; height: 100%; min-height: 220px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy) 0%, #23677d 100%); color: rgba(255,255,255,.35); font-size: 3.5rem; position: relative; overflow: hidden; }
.img-placeholder::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(105deg, transparent 0 40px, rgba(49,169,193,.12) 40px 56px); }
.img-placeholder.big { min-height: 380px; font-size: 5rem; }

/* Project cards */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.project-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.project-thumb { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-card:hover .project-thumb img { transform: scale(1.07); }
.project-thumb .img-placeholder { min-height: 0; height: 100%; }
.badge { position: absolute; top: 16px; left: 16px; padding: 5px 14px; border-radius: 30px; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; z-index: 2; }
.badge-ongoing { background: var(--cyan); }
.badge-completed { background: var(--navy); }
.badge-upcoming { background: var(--ink); }
.project-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.project-cat { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--cyan-dark); }
.project-body h3 { margin: 6px 0 6px; font-size: 1.25rem; }
.project-body h3 a { color: var(--ink); }
.project-body h3 a:hover { color: var(--cyan); }
.project-loc { color: var(--muted); font-size: .93rem; margin-bottom: 14px; }
.project-loc i { color: var(--cyan); margin-right: 4px; }
.project-meta { list-style: none; padding: 14px 0 0; margin: 0 0 18px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .88rem; color: var(--text); }
.project-meta i { color: var(--navy); margin-right: 5px; }
.link-arrow { margin-top: auto; font-weight: 600; font-size: .92rem; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow i { transition: transform .25s; }
.link-arrow:hover i { transform: translateX(5px); }

/* Why section */
.why-section { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #cfe3e8; position: relative; overflow: hidden; }
.why-section::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(105deg, transparent 0 120px, rgba(49,169,193,.05) 120px 160px); }
.why-section h2 { color: #fff; }
.why-section .container { position: relative; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 34px 26px; transition: .3s; }
.feature:hover { background: rgba(49,169,193,.14); border-color: var(--cyan); transform: translateY(-6px); }
.feature h3 { color: #fff; }
.feature p { margin: 0; font-size: .95rem; }
.feature-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--cyan); color: #fff; font-size: 1.5rem; margin-bottom: 22px; clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid.preview .gallery-item { aspect-ratio: 1; }
.gallery-grid.preview .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-item { position: relative; overflow: hidden; border-radius: 12px; display: block; background: var(--tint); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-item:hover img { transform: scale(1.08); }
.gi-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,49,61,.85), rgba(49,169,193,.25)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; opacity: 0; transition: .3s; font-size: 1.6rem; }
.gi-overlay em { font-style: normal; font-size: .95rem; font-weight: 600; padding: 0 14px; text-align: center; }
.gallery-item:hover .gi-overlay { opacity: 1; }
.gallery-grid.masonry { display: block; columns: 4 260px; column-gap: 16px; }
.gallery-grid.masonry .gallery-item { margin-bottom: 16px; break-inside: avoid; }
.gallery-grid.masonry .gallery-item.hide { display: none; }

/* CTA */
.cta { background: var(--cyan); padding: 64px 0; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; right: -60px; top: -40%; width: 420px; height: 180%; background: var(--navy); opacity: .25; transform: skewX(-15deg); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; position: relative; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .2em; font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.cta p { color: #e8fbff; margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Page banner */
.page-banner { position: relative; background: linear-gradient(120deg, var(--navy-deep), var(--navy) 70%, #22677d); padding: 80px 0 70px; color: #fff; overflow: hidden; }
.page-banner::after { content: ''; position: absolute; right: 6%; top: -20%; width: 70px; height: 150%; background: var(--cyan); transform: skewX(-15deg); opacity: .9; box-shadow: -110px 0 0 rgba(255,255,255,.06), 110px 0 0 rgba(255,255,255,.06); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; margin-bottom: .3em; max-width: 80%; }
.breadcrumb { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .92rem; color: #9fd6e2; }
.breadcrumb a { color: #fff; }
.breadcrumb i.fa-chevron-right { font-size: .65rem; opacity: .6; }

/* About page */
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mini-stat { background: var(--tint); border-radius: var(--radius); padding: 30px 24px; border-left: 4px solid var(--cyan); }
.mini-stat:nth-child(2), .mini-stat:nth-child(3) { background: var(--navy); border-left-color: var(--cyan); }
.mini-stat:nth-child(2) *, .mini-stat:nth-child(3) * { color: #fff !important; }
.mini-stat strong { display: block; font-family: var(--font-head); font-size: 2.4rem; color: var(--navy); line-height: 1.1; }
.mini-stat span { color: var(--muted); font-weight: 500; }
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mv-card { background: #fff; padding: 40px 32px; border-radius: var(--radius); box-shadow: var(--shadow); }
.mv-card.dark { background: var(--navy); color: #cfe3e8; }
.mv-card.dark h3 { color: #fff; }
.mv-card .check-list { grid-template-columns: 1fr; margin: 0; }
.md-block { display: grid; grid-template-columns: 340px 1fr; gap: 60px; align-items: center; }
.md-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); border-bottom: 6px solid var(--cyan); }
.md-photo img, .md-photo .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.md-text blockquote { margin: 10px 0 24px; font-size: 1.15rem; color: var(--ink); position: relative; padding-left: 0; }
.md-text blockquote > i { font-size: 2.4rem; color: var(--cyan); opacity: .4; display: block; margin-bottom: 10px; }
.md-name { font-family: var(--font-head); font-weight: 700; color: var(--navy); margin: 0; font-size: 1.1rem; }
.md-role { color: var(--muted); margin: 0; }

/* Projects page */
.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tabs.center { justify-content: center; margin-bottom: 36px; }
.filter-tabs a, .filter-tabs button { padding: 9px 22px; border-radius: 30px; background: var(--tint); color: var(--navy); font-weight: 600; font-size: .92rem; border: 0; cursor: pointer; font-family: inherit; transition: .2s; }
.filter-tabs a:hover, .filter-tabs button:hover { background: var(--cyan-soft); }
.filter-tabs a.active, .filter-tabs button.active { background: var(--navy); color: #fff; }
.filter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-form select, .search-input input { padding: 10px 16px; border: 1px solid var(--line); border-radius: 30px; font: inherit; font-size: .92rem; background: #fff; color: var(--ink); outline: none; }
.search-input { position: relative; }
.search-input input { padding-right: 46px; min-width: 260px; }
.search-input button { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 36px; border-radius: 50%; border: 0; background: var(--cyan); color: #fff; cursor: pointer; }
.result-count { color: var(--muted); font-size: .9rem; margin-bottom: 26px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state > i { font-size: 3.5rem; color: var(--cyan); opacity: .6; margin-bottom: 14px; }

/* Project details */
.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.detail-cover { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.detail-cover img { width: 100%; max-height: 540px; object-fit: cover; }
.detail-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-top: 14px; }
.detail-thumbs .gallery-item { aspect-ratio: 1; }
.detail-block { margin-top: 40px; }
.detail-block h2 { margin: 8px 0 4px; }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.amenities li { background: var(--tint); padding: 12px 16px; border-radius: 10px; color: var(--ink); font-weight: 500; display: flex; gap: 10px; align-items: center; }
.amenities i { color: var(--cyan); }
.detail-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 24px; }
.side-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; border-top: 4px solid var(--cyan); }
.side-card h3 { font-size: 1.1rem; margin-bottom: 16px; }
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.spec-list li:last-child { border-bottom: 0; }
.spec-list i { color: var(--cyan); }
.spec-list span { color: var(--muted); }
.spec-list strong { color: var(--ink); text-align: right; font-weight: 600; }
.enquiry .form-row { grid-template-columns: 1fr; }
.enquiry textarea { min-height: 100px; }
.enquiry .btn { width: 100%; justify-content: center; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 70px; }
.c-card { background: #fff; padding: 30px 24px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; transition: .3s; border-bottom: 3px solid transparent; }
.c-card:hover { transform: translateY(-6px); border-color: var(--cyan); }
.c-card > i { width: 64px; height: 64px; display: inline-grid; place-items: center; background: var(--cyan-soft); color: var(--navy); border-radius: 50%; font-size: 1.5rem; margin-bottom: 16px; transition: .3s; }
.c-card:hover > i { background: var(--cyan); color: #fff; }
.c-card h4 { margin-bottom: 8px; }
.c-card p { margin: 0; color: var(--muted); font-size: .94rem; word-break: break-word; }
.contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: stretch; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* Forms */
.contact-form { margin-top: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: .87rem; margin-bottom: 6px; color: var(--ink); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: .95rem; color: var(--ink); background: #fbfdfd; transition: .2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(49,169,193,.12); }
.hp-field { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-size: .94rem; }
.alert-success { background: #e4f7ee; color: #146c43; border: 1px solid #b6e6cd; }
.alert-error { background: #fdecec; color: #a12828; border: 1px solid #f5c2c2; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #a8c3ca; position: relative; padding-top: 80px; font-size: .94rem; overflow: hidden; }
.footer-shape { position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--cyan), var(--navy) 60%); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.footer-logo { background: #fff; display: inline-block; padding: 12px 18px; border-radius: 12px; margin-bottom: 20px; }
.footer-logo img { height: 46px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--cyan); border-radius: 2px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #a8c3ca; }
.site-footer a:hover { color: var(--cyan); }
.footer-col ul:not(.contact-list) a::before { content: '\203A'; margin-right: 8px; color: var(--cyan); }
.contact-list li { display: flex; gap: 12px; }
.contact-list i { color: var(--cyan); margin-top: 5px; width: 16px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: .25s; }
.social a:hover { background: var(--cyan); color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: .87rem; text-align: center; }

/* Floating */
.whatsapp-float { position: fixed; left: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 8px 22px rgba(37,211,102,.4); z-index: 90; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 12px; border: 0; background: var(--navy); color: #fff; cursor: pointer; z-index: 90; opacity: 0; visibility: hidden; transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--cyan); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(8,24,32,.94); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 40px 70px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 8px; margin: 0 auto; }
.lightbox figcaption { color: #cde; margin-top: 12px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; }
.lightbox button:hover { background: var(--cyan); }
.lb-close { top: 20px; right: 20px; font-size: 1.8rem !important; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; top: 84px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 24px; gap: 4px; box-shadow: 0 20px 40px rgba(0,0,0,.1); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s; max-height: calc(100vh - 84px); overflow-y: auto; }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 12px 14px; }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav a.active { background: var(--cyan-soft); }
  .main-nav .nav-cta { margin: 10px 0 0; justify-content: center; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split, .contact-layout { grid-template-columns: 1fr; gap: 50px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat::before { display: none; }
  .mv-grid { grid-template-columns: 1fr; }
  .md-block { grid-template-columns: 1fr; gap: 30px; }
  .md-photo { max-width: 320px; }
  .hero-search { position: relative; left: auto; bottom: auto; transform: none; margin: 0 auto; flex-wrap: wrap; width: calc(100% - 40px); }
  .hs-field { flex: 1 1 45%; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; }
  .hs-field.grow { flex-basis: 100%; }
  .hero-search .btn { width: 100%; justify-content: center; padding: 14px; margin-top: 10px; }
  .hero { padding-bottom: 30px; }
  .stats-section { padding-top: 60px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .topbar-info a:last-child { display: none; }
  .header-inner { height: 72px; }
  .main-nav { top: 72px; }
  .brand img { height: 44px; }
  .section { padding: 70px 0; }
  .hero { min-height: 560px; }
  .project-grid, .feature-grid, .footer-grid, .contact-cards, .about-stats { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .form-row, .amenities, .check-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hs-field { flex-basis: 100%; }
  .search-input input { min-width: 0; width: 100%; }
  .filter-form, .search-input { width: 100%; }
  .filter-form select { flex: 1; }
  .av-badge { right: 0; bottom: 40px; padding: 16px 18px; }
  .lightbox { padding: 20px; }
  .lb-prev, .lb-next { top: auto !important; bottom: 20px; transform: none !important; }
  .page-banner::after { right: -20px; }
}
