﻿@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --text: #102a24;
  --muted: #62726b;
  --brand: #8b6a2f;
  --brand-strong: #6b4f1f;
  --accent: #0f3d34;
  --border: #e7decc;
  --shadow: 0 18px 45px rgba(16, 42, 36, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #faf7f1 0%, #f2ede2 100%);
  line-height: 1.5;
  overflow-x: clip;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

video,
iframe {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5.2rem 0;
}

.section-title {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.02em;
}

.section-subtitle {
  margin: 0.7rem 0 0;
  color: var(--muted);
  max-width: 62ch;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 100px;
  border: 1px solid rgba(139, 106, 47, 0.3);
  color: var(--brand-strong);
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 0.78rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

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

.btn-solid {
  background: linear-gradient(135deg, #0f3d34, #1a5b4d);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 61, 52, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(15, 61, 52, 0.35);
}

.btn-gold {
  background: linear-gradient(135deg, #9b7839, #d4b278);
  color: #fff;
  box-shadow: 0 10px 24px rgba(155, 120, 57, 0.24);
}

.top-strip {
  background: #0f3d34;
  color: #f5f1e8;
  font-size: 0.85rem;
}

.top-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.5rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.9rem 0;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.22rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.brand-tag {
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  position: relative;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 700;
  color: #21473e;
}

.site-nav > a:hover,
.site-nav summary:hover {
  color: var(--brand-strong);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #21473e;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.8px solid #40645b;
  border-bottom: 1.8px solid #40645b;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.nav-dropdown[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.dropdown-menu,
.mega-menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(16, 42, 36, 0.12);
  padding: 0.85rem;
  z-index: 80;
}

.dropdown-menu {
  min-width: 220px;
  display: grid;
  gap: 0.2rem;
}

.dropdown-menu a {
  padding: 0.52rem 0.6rem;
  border-radius: 10px;
}

.dropdown-menu a:hover {
  background: #f7f2e7;
}

.nav-mega {
  position: static;
}

.nav-mega .mega-menu {
  left: 50%;
  transform: translateX(-50%);
  width: min(860px, 82vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.mega-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.8rem;
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.mega-item:hover {
  border-color: #d8c7a6;
  background: #fcf9f2;
}

.mega-item h4 {
  margin: 0 0 0.3rem;
  color: #1e4a3f;
  font-size: 1.05rem;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.01em;
}

.mega-item p {
  margin: 0;
  color: #5d6e68;
  font-size: 0.85rem;
}

@media (min-width: 821px) {
  .nav-dropdown:not([open]):hover > .dropdown-menu {
    display: grid;
  }

  .nav-dropdown:not([open]):hover > .mega-menu {
    display: grid;
  }

  .nav-dropdown:not([open]):hover > summary::after {
    transform: rotate(225deg) translateY(-1px);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.purpose-group {
  display: inline-flex;
  background: #f2eee4;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.2rem;
}

.purpose-group button {
  border: 0;
  background: transparent;
  color: #4f615b;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.43rem 0.8rem;
  border-radius: 100px;
  cursor: pointer;
}

.purpose-group button.active {
  background: linear-gradient(135deg, #0f3d34, #1f5649);
  color: #fff;
}

.mobile-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  width: 18px;
  height: 2px;
  background: #184036;
  content: "";
  display: block;
  position: relative;
  transition: 0.25s ease;
}

.mobile-toggle span::before {
  position: absolute;
  top: -6px;
}

.mobile-toggle span::after {
  position: absolute;
  top: 6px;
}

.hero {
  padding: 4.5rem 0 4rem;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.5rem;
}

.hero-left {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 500px;
  box-shadow: var(--shadow);
}

.hero-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/IMG-20260513-WA0041.jpg') center / cover no-repeat;
  transform: scale(1.03);
}

.hero-left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7, 27, 24, 0.83) 0%,
    rgba(7, 27, 24, 0.72) 34%,
    rgba(7, 27, 24, 0.38) 68%,
    rgba(7, 27, 24, 0.56) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: clamp(2rem, 4vw, 3.2rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.hero-title {
  margin: 0.6rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero-copy {
  margin: 0;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-content .badge {
  background: rgba(15, 61, 52, 0.45);
  border-color: rgba(255, 255, 255, 0.26);
  color: #f8f3e8;
}

.hero-stats {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-stat {
  min-width: 138px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}

.hero-stat strong {
  display: block;
  font-size: 1.25rem;
}

.hero-right {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 1.6rem;
}

.search-card h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
}

.search-card p {
  margin: 0.4rem 0 1rem;
  color: var(--muted);
}

.search-form {
  display: grid;
  gap: 0.8rem;
}

.search-form .field {
  display: grid;
  gap: 0.35rem;
}

.search-form label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #39574e;
}

.search-form input,
.search-form select,
.search-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.72rem 0.8rem;
  font: inherit;
  color: #173f36;
  background: #fff;
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.trust-points {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.trust-point {
  padding: 0.7rem;
  border-radius: 12px;
  background: #f8f5ed;
  border: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 700;
  color: #39544c;
}

.featured-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.tab-row {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.3rem;
  background: #f8f5ed;
}

.tab-row button {
  border: 0;
  background: transparent;
  color: #586c64;
  border-radius: 100px;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  cursor: pointer;
}

.tab-row button.active {
  color: #fff;
  background: linear-gradient(135deg, #0f3d34, #205448);
}

.property-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.property-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(16, 42, 36, 0.09);
  animation: rise 0.45s ease both;
}

@property --dummy {
  syntax: '<number>';
  initial-value: 0;
  inherits: false;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.property-thumb {
  position: relative;
  aspect-ratio: 1.45;
  overflow: hidden;
}

.property-thumb img {
  height: 100%;
  object-fit: cover;
}

.pill {
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 100px;
  padding: 0.32rem 0.64rem;
}

.pill-buy {
  background: #ebf7f2;
  color: #0f5b49;
}

.pill-rent {
  background: #fdf2df;
  color: #7d5314;
}

.pill-investment {
  background: #e8f3ff;
  color: #1f4e8e;
}

.property-body {
  padding: 1rem;
}

.property-price {
  color: #13463c;
  font-size: 1.08rem;
  font-weight: 800;
}

.property-card h3 {
  margin: 0.35rem 0;
  font-size: 1.1rem;
  font-family: 'Cormorant Garamond', serif;
}

.property-location {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.property-summary {
  margin: 0.65rem 0;
  color: #445b54;
  font-size: 0.92rem;
}

.property-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.property-meta span {
  background: #f8f4ec;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.45rem;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: #48625a;
}

.property-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.service-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
}

.service-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.06rem;
}

.project-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.project-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}

.project-card h3 {
  margin: 0;
  font-size: 1.08rem;
  font-family: 'Cormorant Garamond', serif;
}

.project-card p {
  margin: 0;
  color: #4a5f58;
}

.project-card span {
  font-size: 0.82rem;
  color: #6e5640;
  font-weight: 700;
}

.cta-band {
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: linear-gradient(130deg, #0d332c, #174a3e 60%, #255f50);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.cta-band h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.cta-band p {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.cta-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.site-footer {
  margin-top: 4.5rem;
  background: #0f3d34;
  color: #deebe7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
  padding: 2.3rem 0;
}

.footer-card h3 {
  margin: 0 0 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: #fff;
}

.footer-card p,
.footer-card a {
  margin: 0.4rem 0;
  color: #c8dbd5;
  font-size: 0.92rem;
}

.copyright {
  border-top: 1px solid rgba(222, 235, 231, 0.2);
  padding: 0.8rem 0;
  font-size: 0.86rem;
  color: #b6cdc6;
}

.listing-shell {
  padding: 2.4rem 0 4rem;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 1rem;
}

.filters-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  position: sticky;
  top: 86px;
  height: fit-content;
}

.filters-panel h2 {
  margin: 0 0 0.7rem;
  font-size: 1.16rem;
}

.filters-panel .field {
  margin-bottom: 0.7rem;
}

.listing-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1rem;
}

.empty-state {
  border: 1px dashed #bdcfc9;
  border-radius: 14px;
  padding: 2rem;
  background: #f7fbfa;
  color: #4e665e;
  font-weight: 700;
}

.property-layout {
  padding: 2.5rem 0 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.property-main,
.property-side {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1rem;
}

.property-main-image {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1.42;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.thumb {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: #fff;
}

.thumb.active {
  border-color: #1d5e4f;
}

.thumb img {
  aspect-ratio: 1.1;
  object-fit: cover;
}

.property-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 1rem 0;
}

.property-specs div {
  background: #f8f4ec;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem;
}

.property-specs strong {
  display: block;
  font-size: 0.77rem;
  color: #5e7169;
}

.property-specs span {
  font-weight: 700;
}

.amenity-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0;
  margin: 0.85rem 0 0;
  list-style: none;
}

.amenity-list li {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem;
  background: #fbf8f1;
  font-size: 0.9rem;
}

.stacked {
  display: grid;
  gap: 0.8rem;
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  background: #fbf8f1;
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 2rem 0 3.6rem;
}

.info-stack {
  display: grid;
  gap: 0.75rem;
}

.info-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 0.85rem;
}

.status-text {
  margin: 0.5rem 0 0;
  font-weight: 700;
  color: #2b5f52;
}

.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.5rem;
  z-index: 60;
}

.floating-actions a {
  width: 48px;
  height: 48px;
  border-radius: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(16, 42, 36, 0.26);
}

.floating-call {
  background: linear-gradient(135deg, #8b6a2f, #b68b45);
}

.floating-whatsapp {
  background: linear-gradient(135deg, #0f3d34, #2f8f67);
}

.page-hero {
  padding: 2.4rem 0;
}

.page-hero-shell {
  border-radius: 22px;
  background: linear-gradient(120deg, #102f29 0%, #1e5044 52%, #8c6a33 100%);
  color: #fff;
  padding: clamp(1.7rem, 4vw, 2.8rem);
  display: grid;
  gap: 0.45rem;
}

.page-hero h1 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.archive-controls {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 0.65rem;
}

.archive-controls input,
.archive-controls select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.66rem 0.74rem;
  font: inherit;
}

.archive-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 1.2rem 0;
}

.archive-header h2 {
  margin: 0;
}

.archive-list {
  display: grid;
  gap: 0.8rem;
}

.archive-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  padding: 0.9rem;
}

.archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #546c64;
}

.archive-tag {
  border: 1px solid #a9c3bb;
  border-radius: 100px;
  padding: 0.16rem 0.58rem;
  font-weight: 700;
  color: #215247;
  background: #edf6f2;
}

.archive-content {
  margin: 0.55rem 0;
  white-space: pre-line;
  color: #1f443b;
}

.media-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.media-item {
  display: grid;
  gap: 0.45rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem;
  font-size: 0.82rem;
  color: #325148;
  background: #f9f5ec;
}

.media-item span:first-child {
  font-size: 0.72rem;
  font-weight: 800;
  color: #7d6235;
}

.media-image img {
  border-radius: 8px;
  aspect-ratio: 1.2;
  object-fit: cover;
}

.stats-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  grid-column: 1 / -1;
}

.stat-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.68rem;
  background: #fff;
  font-size: 0.8rem;
  color: #355148;
}

.all-files-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.all-file-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.file-preview {
  background: #f4efe2;
  min-height: 150px;
  display: grid;
  place-items: center;
}

.file-preview img,
.file-preview video {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.file-preview-audio {
  padding: 1rem;
}

.file-preview-audio audio {
  width: 100%;
}

.file-preview-generic {
  font-weight: 800;
  color: #6f5831;
  letter-spacing: 0.08em;
}

.all-file-body {
  padding: 0.8rem;
  display: grid;
  gap: 0.55rem;
}

.all-file-body h3 {
  margin: 0;
  font-size: 0.94rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.all-file-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: #5a7069;
}

.all-file-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

@media (max-width: 960px) {
  .header-actions .btn {
    display: none;
  }

  .hero {
    padding: 2.6rem 0 3rem;
  }

  .hero-left {
    min-height: 430px;
  }
}

@media (max-width: 1080px) {
  .hero-shell,
  .property-layout,
  .form-layout,
  .listing-shell {
    grid-template-columns: 1fr;
  }

  .filters-panel {
    position: static;
  }

  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .archive-controls {
    grid-template-columns: 1fr 1fr;
  }

  .media-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .all-files-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 820px) {
  .section {
    padding: 4rem 0;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 1.02rem;
  }

  .brand-tag {
    font-size: 0.62rem;
    letter-spacing: 0.07em;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.45rem);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(16, 42, 36, 0.12);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.75rem;
    max-height: min(72vh, 540px);
    overflow-y: auto;
    z-index: 90;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a,
  .nav-dropdown,
  .nav-dropdown summary {
    width: 100%;
  }

  .nav-dropdown summary {
    justify-content: space-between;
    padding: 0.25rem 0;
  }

  .dropdown-menu,
  .mega-menu,
  .nav-mega .mega-menu {
    position: static;
    left: auto;
    transform: none;
    width: 100%;
    min-width: 0;
    margin-top: 0.45rem;
    box-shadow: none;
    border-radius: 12px;
    grid-template-columns: 1fr;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    padding: 1.5rem 0 2.2rem;
  }

  .hero-left {
    min-height: 380px;
  }

  .hero-stat {
    min-width: 112px;
    flex: 1 1 0;
  }

  .property-main,
  .property-side,
  .filters-panel,
  .hero-right {
    border-radius: 16px;
    padding: 0.9rem;
  }

  .thumb-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .floating-actions {
    right: 0.7rem;
    bottom: 0.7rem;
  }

  .header-actions .purpose-group {
    display: none;
  }

  .search-grid,
  .property-meta,
  .property-actions,
  .project-grid,
  .amenity-list,
  .property-specs,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .property-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .trust-points {
    grid-template-columns: 1fr;
  }

  .archive-controls,
  .media-list {
    grid-template-columns: 1fr;
  }

  .all-files-grid,
  .all-file-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1180px, calc(100% - 1.2rem));
  }

  .section {
    padding: 3.2rem 0;
  }

  .top-strip {
    font-size: 0.78rem;
  }

  .top-strip .container {
    gap: 0.35rem 0.8rem;
  }

  .hero-left {
    min-height: 350px;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8.5vw, 2.5rem);
  }

  .hero-copy {
    font-size: 0.94rem;
  }

  .search-card h2 {
    font-size: 1.55rem;
  }

  .page-hero {
    padding: 1.4rem 0;
  }

  .page-hero-shell {
    border-radius: 16px;
  }

  .search-form input,
  .search-form select,
  .search-form textarea,
  .archive-controls input,
  .archive-controls select {
    font-size: 16px;
  }

  .thumb-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-shell,
  .property-layout,
  .form-layout {
    padding-top: 1.2rem;
    padding-bottom: 2.6rem;
  }
}

@media (max-width: 480px) {
  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 0.97rem;
    letter-spacing: 0.05em;
  }

  .header-inner {
    gap: 0.55rem;
    padding: 0.75rem 0;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
  }

  .hero-left {
    min-height: 315px;
  }

  .hero-stats {
    gap: 0.55rem;
  }

  .hero-stat {
    padding: 0.55rem 0.6rem;
  }

  .hero-stat strong {
    font-size: 1.05rem;
  }

  .btn {
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .floating-actions a {
    width: 44px;
    height: 44px;
    font-size: 0.68rem;
  }
}
