:root {
  --ink: #1d2521;
  --muted: #6c665f;
  --paper: #fff6ea;
  --white: #ffffff;
  --green: #137a62;
  --green-dark: #12312b;
  --gold: #ff9f1c;
  --orange: #f36b21;
  --orange-dark: #c94812;
  --yellow: #ffd166;
  --sky: #e7f6f3;
  --line: #f1d8bd;
  --soft: #fff0dc;
  --shadow: 0 14px 32px rgba(201, 91, 21, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff7eb 0%, #fffaf3 42%, #f5fff9 100%);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

.top-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 50px;
  padding: 8px 6vw;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 49, 43, 0.9), rgba(12, 48, 71, 0.76), rgba(18, 49, 43, 0.9)),
    url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1600&q=70") center/cover;
  font-size: 15px;
}

.top-strip strong {
  color: var(--white);
  letter-spacing: 0;
}

.top-social,
.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-actions {
  justify-content: end;
}

.top-social a,
.top-actions a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.top-social a {
  width: 34px;
  border-radius: 50%;
  font-weight: 900;
}

.top-social a:hover {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

.top-actions a {
  min-width: 126px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0;
  font-weight: 800;
}

.top-actions a:hover {
  background: var(--orange);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 520px minmax(0, 1fr) auto;
  align-items: center;
  justify-content: stretch;
  gap: 18px;
  padding: 10px 6vw;
  background: rgba(255, 255, 255, 0.99);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(243, 107, 33, 0.12);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 520px;
  min-width: 520px;
  height: 150px;
  overflow: visible;
}

.brand-logo {
  display: block;
  width: 150px;
  height: 150px;
  max-width: none;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: #2f2f2f;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brand small {
  margin-top: 8px;
  color: var(--orange);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
  color: var(--orange-dark);
  font-size: 16px;
  font-weight: 800;
}

.main-nav a {
  min-width: 90px;
  padding: 13px 12px;
  text-align: center;
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 3px;
  box-shadow: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.main-nav a:hover {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 10px 20px rgba(243, 107, 33, 0.25);
  transform: translateY(-2px);
}

.main-nav a.active {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 10px 22px rgba(243, 107, 33, 0.22);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  gap: 46px;
  padding: 66px 6vw;
  background:
    linear-gradient(90deg, rgba(18, 49, 43, 0.94), rgba(243, 107, 33, 0.62), rgba(255, 159, 28, 0.28)),
    url("https://images.unsplash.com/photo-1605146769289-440113cc3d00?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: var(--white);
}

.hero-content {
  max-width: 700px;
  justify-self: center;
  padding: 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.split-content h2,
.contact-info h2 {
  margin: 0;
  line-height: 1.12;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(36px, 5vw, 60px);
}

.fancy-title {
  position: relative;
  display: inline-block;
  padding: 18px 24px 22px;
  text-align: center;
  color: var(--white);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.fancy-title::before,
.fancy-title::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(380px, 80%);
  height: 3px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--yellow), var(--orange), transparent);
}

.fancy-title::before {
  top: 0;
}

.fancy-title::after {
  bottom: 0;
}

.hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.nav-slider {
  position: relative;
  height: min(560px, 62vw);
  max-height: 560px;
  min-height: 500px;
  overflow: hidden;
  background: var(--green-dark);
  border-bottom: 1px solid var(--line);
}

.slider-track,
.slide {
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}

.slide.active {
  opacity: 1;
}

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

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 49, 43, 0.18), rgba(18, 49, 43, 0.5));
}

.slider-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  padding: 42px 6vw 54px;
}

.slider-copy {
  max-width: 820px;
  justify-self: center;
  color: var(--white);
  text-align: center;
}

.slider-copy p:not(.eyebrow) {
  max-width: 660px;
  margin: 10px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.slider-copy .fancy-title {
  color: var(--orange);
  font-size: clamp(46px, 6vw, 76px);
  font-style: italic;
  letter-spacing: 1px;
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.25), 0 9px 22px rgba(0, 0, 0, 0.3);
}

.slider-search {
  justify-self: center;
  width: min(860px, 100%);
  padding: 0;
  border: 0;
  border-radius: 3px;
  box-shadow: 0 18px 38px rgba(18, 49, 43, 0.22);
}

.portal-search {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 118px;
  background: var(--white);
  overflow: hidden;
}

.slider-search h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.slider-search label {
  gap: 4px;
  margin: 0;
  padding: 11px 16px;
  border-right: 1px solid var(--line);
  font-size: 13px;
}

.slider-search input,
.slider-search select {
  min-height: 30px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-weight: 800;
}

.slider-search .button {
  width: 100%;
  min-height: 100%;
  border-radius: 0;
  white-space: nowrap;
}

.slider-dots {
  position: absolute;
  right: 6vw;
  bottom: 32px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 34px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.slider-dot.active {
  background: var(--orange);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--gold));
  box-shadow: 0 10px 20px rgba(243, 107, 33, 0.22);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.button:hover {
  transform: translateY(-1px);
}

.search-panel,
.contact-form {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.search-panel {
  color: var(--ink);
}

.search-panel h2 {
  margin: 0 0 18px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.stats-section div {
  padding: 28px 6vw;
  background: var(--white);
}

.stats-section strong,
.stats-section span {
  display: block;
}

.stats-section strong {
  color: var(--orange);
  font-size: 32px;
  line-height: 1;
}

.stats-section span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section,
.split-section,
.contact-section {
  padding: 86px 6vw;
}

.page-hero {
  min-height: 320px;
  display: grid;
  align-content: end;
  padding: 96px 6vw 62px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 49, 43, 0.94), rgba(243, 107, 33, 0.55)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.listings-hero {
  background:
    linear-gradient(90deg, rgba(18, 49, 43, 0.94), rgba(243, 107, 33, 0.55)),
    url("https://images.unsplash.com/photo-1605146769289-440113cc3d00?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.corporate-hero {
  background:
    linear-gradient(90deg, rgba(18, 49, 43, 0.94), rgba(243, 107, 33, 0.55)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.services-hero {
  background:
    linear-gradient(90deg, rgba(18, 49, 43, 0.94), rgba(243, 107, 33, 0.55)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.references-hero {
  background:
    linear-gradient(90deg, rgba(18, 49, 43, 0.94), rgba(243, 107, 33, 0.55)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.news-hero {
  background:
    linear-gradient(90deg, rgba(18, 49, 43, 0.94), rgba(243, 107, 33, 0.55)),
    url("https://images.unsplash.com/photo-1495020689067-958852a7765e?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.page-hero h1,
.contact-info h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.12;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
  padding-bottom: 18px;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--orange), var(--yellow), transparent) 1;
}

.section-heading h2,
.split-content h2,
.contact-info h2 {
  font-size: clamp(30px, 5vw, 48px);
}

.section-heading p,
.split-content p,
.contact-info p {
  color: var(--muted);
}

.section-link {
  margin: 28px 0 0;
}

.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
}

.sort-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-left: auto;
  margin-bottom: 0;
}

.filter-status {
  margin: 0 0 22px;
  color: var(--orange-dark);
  font-weight: 900;
}

.property-card[hidden] {
  display: none;
}

.filter-button {
  min-height: 42px;
  padding: 0 18px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

button.sort-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  appearance: none;
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--orange), var(--gold)) !important;
  border: 1px solid var(--orange) !important;
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(243, 107, 33, 0.2);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

button.sort-button span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--orange-dark);
  background: var(--white);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.filter-button.active,
.filter-button:hover,
button.sort-button.active,
button.sort-button:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--orange)) !important;
  border-color: var(--orange);
}

button.sort-button.active span,
button.sort-button:hover span {
  color: var(--orange);
  background: var(--white);
}

.property-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.property-card,
.service-grid article,
.info-list article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.property-card {
  position: relative;
  box-shadow: 0 10px 24px rgba(18, 49, 43, 0.12);
  border-top: 0;
  cursor: pointer;
}

.property-card::after {
  content: attr(data-listing-number);
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--green-dark);
  border: 2px solid var(--orange);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  font-weight: 900;
}

.property-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.property-body {
  padding: 18px;
}

.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 0;
  padding: 5px 10px;
  color: var(--white);
  background: var(--orange);
  border-radius: 0;
  font-size: 12px;
  font-weight: 800;
}

.property-card h3,
.service-grid h3,
.info-list h3 {
  margin: 0 0 8px;
}

.property-card p,
.service-grid p,
.info-list p {
  color: var(--muted);
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.property-meta strong {
  margin-left: auto;
  color: var(--orange-dark);
  font-size: 17px;
}

.property-card:hover,
.news-card:hover,
.reference-grid article:hover,
.service-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(243, 107, 33, 0.18);
}

.property-card,
.news-card,
.reference-grid article,
.service-grid article {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.property-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: stretch;
  padding: 0;
  background: rgba(18, 49, 43, 0.76);
}

.property-modal[hidden] {
  display: none;
}

.property-modal-card {
  position: relative;
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.2fr) minmax(390px, 0.8fr);
  width: 100%;
  height: 100vh;
  max-height: none;
  overflow: hidden;
  background: var(--white);
  border-top: 6px solid var(--orange);
  border-radius: 0;
  box-shadow: none;
}

.property-modal-gallery {
  position: relative;
  display: grid;
  align-self: stretch;
  height: auto;
  min-height: calc(100vh - 6px);
  background: var(--green-dark);
}

.property-modal-image {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.property-gallery-arrow {
  position: absolute;
  top: 45%;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: rgba(18, 49, 43, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  transform: translateY(-50%);
}

.property-gallery-arrow[data-property-gallery="prev"] {
  left: 16px;
}

.property-gallery-arrow[data-property-gallery="next"] {
  right: 16px;
}

.property-gallery-count {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 10px;
  color: var(--white);
  background: var(--orange);
  border-radius: 999px;
  font-weight: 900;
}

.property-thumbs {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.property-thumb {
  width: 60px;
  height: 42px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.78;
}

.property-thumb.active {
  border-color: var(--orange);
  opacity: 1;
}

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

.property-modal-number {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 9px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 999px;
  font-weight: 900;
}

.property-modal-body {
  overflow-y: auto;
  padding: 34px;
}

.property-modal-body .tag {
  position: static;
  margin-bottom: 10px;
}

.property-modal-body h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
}

.property-modal-description {
  color: var(--muted);
  font-size: 14px;
}

.property-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.property-modal-meta span {
  padding: 7px 10px;
  color: var(--orange-dark);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 900;
}

.property-modal-location {
  padding: 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 6px;
}

.property-modal-location strong {
  color: var(--green-dark);
}

.property-modal-location p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 13px;
}

.property-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 10px;
  margin: 12px 0 6px;
  padding: 0;
  list-style: none;
}

.property-detail-list li {
  padding: 8px 10px;
  color: var(--green-dark);
  background: #fff7ed;
  border: 1px solid rgba(255, 126, 31, 0.22);
  border-radius: 6px;
  font-weight: 800;
  font-size: 13px;
}

.property-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.property-contact-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
  background: linear-gradient(135deg, var(--green-dark), #5a260d);
  border-top: 4px solid var(--orange);
  border-radius: 6px;
}

.property-contact-form strong {
  color: var(--white);
  font-size: 17px;
}

.property-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.property-contact-form input,
.property-contact-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
}

.property-contact-form textarea {
  min-height: 92px;
  resize: vertical;
}

.property-contact-form .button {
  min-height: 42px;
}

.property-form-note {
  min-height: 18px;
  color: #ffd166;
  font-size: 13px;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 54px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #fff0dc 100%);
}

.split-media img {
  min-height: 520px;
  object-fit: cover;
  border-radius: 6px;
}

.info-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.info-list article {
  padding: 18px;
}

.timeline-list {
  position: relative;
  gap: 22px;
  padding-left: 34px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 13px;
  width: 4px;
  background: linear-gradient(180deg, var(--orange), var(--yellow), var(--green));
  border-radius: 6px;
}

.timeline-list article {
  position: relative;
  min-height: 130px;
  padding: 24px 24px 24px 74px;
  background:
    linear-gradient(135deg, rgba(255, 240, 220, 0.9), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at top right, rgba(255, 159, 28, 0.22), transparent 34%);
  border: 1px solid var(--line);
  border-left: 6px solid var(--orange);
  box-shadow: 0 12px 28px rgba(243, 107, 33, 0.12);
}

.timeline-list article:nth-child(2) {
  border-left-color: var(--gold);
}

.timeline-list article:nth-child(3) {
  border-left-color: var(--green);
}

.timeline-badge {
  position: absolute;
  top: 24px;
  left: 20px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--gold));
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(243, 107, 33, 0.22);
  font-weight: 900;
}

.timeline-list article:nth-child(2) .timeline-badge {
  background: linear-gradient(135deg, var(--gold), var(--green));
}

.timeline-list article:nth-child(3) .timeline-badge {
  background: linear-gradient(135deg, var(--green), var(--orange));
}

.services {
  background: var(--paper);
}

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

.service-grid article {
  min-height: 230px;
  padding: 0;
  border-top: 4px solid var(--orange);
}

.service-grid article > img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.service-body {
  padding: 24px;
}

.service-grid span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--gold));
  border-radius: 6px;
  font-weight: 800;
}

.references-preview {
  background: linear-gradient(135deg, #fff6ea 0%, #e7f6f3 100%);
}

.reference-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

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

.reference-grid article,
.testimonial-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(16, 35, 31, 0.08);
  border-top: 4px solid var(--gold);
}

.reference-grid img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 18%;
}

.reference-grid h3,
.reference-grid p {
  margin-inline: 20px;
}

.reference-grid h3 {
  margin-top: 18px;
  margin-bottom: 6px;
}

.reference-grid p {
  margin-bottom: 20px;
  color: var(--muted);
}

.testimonials {
  background: var(--white);
}

.home-testimonials {
  background:
    linear-gradient(135deg, rgba(18, 49, 43, 0.92), rgba(243, 107, 33, 0.78)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.home-testimonials .section-heading h2,
.home-testimonials .section-heading p {
  color: var(--white);
}

.home-testimonials .testimonial-grid article {
  background: rgba(255, 255, 255, 0.96);
}

.home-review-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.home-review-grid::-webkit-scrollbar {
  display: none;
}

.review-slider {
  position: relative;
}

.review-card {
  flex: 0 0 calc((100% - 44px) / 3);
  scroll-snap-align: start;
}

.review-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--orange);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  font-size: 32px;
  transform: translateY(-50%);
}

.review-arrow[data-review-direction="prev"] {
  left: -22px;
}

.review-arrow[data-review-direction="next"] {
  right: -22px;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.review-dot {
  width: 34px;
  height: 7px;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.review-dot.active {
  background: var(--yellow);
}

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

.testimonial-grid article {
  min-height: 260px;
  padding: 24px;
  border-top: 4px solid var(--orange);
}

.testimonial-grid p {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 16px;
}

.testimonial-grid strong,
.testimonial-grid span {
  display: block;
}

.testimonial-grid strong {
  color: var(--green-dark);
}

.testimonial-grid span {
  color: var(--muted);
  font-size: 14px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.news-card {
  display: grid;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(16, 35, 31, 0.08);
  border-top: 4px solid var(--orange);
}

.news-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-body {
  padding: 20px;
}

.news-body time {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 800;
}

.news-body h3 {
  margin: 0 0 8px;
  color: var(--green-dark);
  line-height: 1.25;
}

.news-body p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  padding-top: 54px;
  background:
    linear-gradient(90deg, rgba(255, 246, 234, 0.95), rgba(255, 255, 255, 0.82)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.contact-info .eyebrow {
  margin-bottom: 14px;
}

.contact-info h1 {
  margin-bottom: 12px;
  line-height: 1.02;
}

.contact-info > p {
  max-width: 620px;
  margin: 0;
  line-height: 1.65;
}

.contact-info ul {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.contact-info li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(13, 95, 77, 0.18);
}

.contact-map {
  width: min(420px, 100%);
  height: 165px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(13, 95, 77, 0.18);
  border-top: 4px solid var(--orange);
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(18, 49, 43, 0.12);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.form-note {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--orange-dark);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: start;
  justify-content: space-between;
  gap: 34px;
  padding: 34px 6vw;
  color: rgba(255, 255, 255, 0.76);
  background: linear-gradient(135deg, var(--green-dark), #5a260d);
}

.footer-map {
  width: min(420px, 100%);
  height: 145px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid var(--orange);
  border-radius: 6px;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.9);
}

.corporate-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  padding: 72px 6vw;
  background: linear-gradient(135deg, #ffffff 0%, #fff0dc 55%, #e7f6f3 100%);
  border-block: 1px solid var(--line);
}

.corporate-panel h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.16;
}

.corporate-panel p {
  color: var(--muted);
}

.corporate-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.corporate-list li {
  padding: 18px;
  background: var(--white);
  border-left: 4px solid var(--orange);
  box-shadow: 0 8px 18px rgba(243, 107, 33, 0.08);
}

.corporate-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-dark);
}

.footer-info nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid var(--gold);
  border-radius: 6px;
}

.footer-contact-form strong {
  grid-column: 1 / -1;
  color: var(--white);
  font-size: 18px;
}

.footer-contact-form input {
  min-height: 42px;
  background: rgba(255, 255, 255, 0.94);
  border-color: transparent;
}

.footer-contact-form textarea {
  grid-column: 1 / -1;
  min-height: 82px;
  background: rgba(255, 255, 255, 0.94);
  border-color: transparent;
  resize: vertical;
}

.footer-contact-form button {
  min-height: 42px;
  padding: 0 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--gold));
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.footer-form-note {
  grid-column: 1 / -1;
  min-height: 20px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  color: var(--white);
  background: #21c45a;
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  font-size: 28px;
  font-weight: 900;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
}

.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(18, 49, 43, 0.9), rgba(243, 107, 33, 0.72)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center/cover fixed;
}

.admin-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0;
}

.admin-header,
.admin-login,
.admin-summary article,
.admin-table-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(18, 49, 43, 0.18);
}

.admin-login {
  width: min(520px, 100%);
  margin: 54px auto;
  padding: 30px;
  border-top: 5px solid var(--orange);
}

.admin-login h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
}

.admin-login p:not(.eyebrow) {
  color: var(--muted);
}

.admin-login form {
  margin-top: 22px;
}

.login-hint {
  margin-top: 18px;
  padding: 14px;
  color: var(--ink);
  background: #fff0dc;
  border: 1px dashed var(--orange);
  border-radius: 6px;
}

.login-hint strong,
.login-hint span {
  display: block;
}

.login-hint strong {
  color: var(--orange-dark);
  margin-bottom: 6px;
}

.admin-back {
  display: inline-flex;
  margin-top: 18px;
  color: var(--orange-dark);
  font-weight: 800;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.1;
}

.admin-header p:not(.eyebrow) {
  color: var(--muted);
}

.admin-header-actions,
.admin-table-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button.secondary-dark {
  color: var(--white);
  background: var(--green-dark);
}

.button.danger {
  color: var(--white);
  background: #b3261e;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0;
}

.admin-summary article {
  padding: 22px;
  border-top: 4px solid var(--orange);
}

.admin-summary strong,
.admin-summary span {
  display: block;
}

.admin-summary strong {
  color: var(--orange-dark);
  font-size: 34px;
}

.admin-summary span {
  color: var(--muted);
  font-weight: 800;
}

.admin-table-card {
  padding: 24px;
}

.admin-table-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.admin-table-title h2 {
  margin: 0;
}

.admin-status {
  min-height: 24px;
  color: var(--orange-dark);
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.admin-table th,
.admin-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--white);
  background: var(--green-dark);
}

.admin-table tr:nth-child(even) td {
  background: #fff6ea;
}

.admin-table tbody tr {
  cursor: pointer;
}

.admin-table tbody tr:hover td {
  background: #fff0dc;
}

.admin-table .unread-row td {
  font-weight: 800;
}

.admin-table .important-row td:first-child {
  border-left: 5px solid var(--orange);
}

.status-badge {
  display: inline-flex;
  margin: 2px 4px 2px 0;
  padding: 4px 8px;
  color: var(--green-dark);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.message-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(18, 49, 43, 0.72);
}

.message-modal[hidden] {
  display: none;
}

.message-modal-card {
  position: relative;
  width: min(780px, 100%);
  max-height: 86vh;
  overflow: auto;
  padding: 28px;
  background: var(--white);
  border-top: 6px solid var(--orange);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--green-dark);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
}

.message-modal-card h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 5vw, 42px);
}

.message-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.message-detail-list div,
.detail-message {
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.message-detail-list dt {
  color: var(--orange-dark);
  font-weight: 900;
}

.message-detail-list dd {
  margin: 4px 0 0;
}

.detail-message {
  margin-bottom: 18px;
}

.detail-message strong {
  color: var(--orange-dark);
}

.detail-message p {
  white-space: pre-line;
}

@media (max-width: 1280px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    inset: 90px 6vw auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    min-width: 0;
    padding: 15px 12px;
  }

  .hero,
  .split-section,
  .contact-section,
  .corporate-panel {
    grid-template-columns: 1fr;
  }

  .slider-overlay {
    align-content: center;
    gap: 14px;
  }

  .slider-copy .fancy-title {
    font-size: 30px;
  }

  .slider-copy p:not(.eyebrow),
  .slider-copy .hero-actions {
    display: none;
  }

  .slider-search {
    max-width: 560px;
    justify-self: center;
  }

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

  .portal-search .button {
    grid-column: 1 / -1;
    min-height: 40px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-content {
    padding-left: 20px;
  }

  .search-panel {
    max-width: 560px;
  }

  .stats-section,
  .property-grid,
  .service-grid,
  .reference-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-card {
    flex-basis: calc((100% - 22px) / 2);
  }

  .split-media img {
    min-height: 360px;
  }

  .property-modal-card {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .property-modal-image {
    min-height: 100%;
    max-height: none;
  }

  .property-modal-gallery {
    height: 48vh;
    min-height: 300px;
  }

  .property-modal-body {
    overflow: visible;
    padding: 24px 18px;
  }
}

@media (max-width: 640px) {
  .listing-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .sort-bar {
    justify-content: flex-start;
    margin-left: 0;
  }

  .site-header {
    padding: 12px 18px;
  }

  .brand small {
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
  }

  .brand-logo {
    width: 96px;
    height: 105px;
  }

  .brand {
    width: 260px;
    min-width: 260px;
    height: 105px;
    gap: 10px;
  }

  .brand strong {
    font-size: 19px;
  }

  .hero,
  .section,
  .split-section,
  .contact-section {
    padding-inline: 18px;
  }

  .contact-section {
    padding-top: 34px;
  }

  .contact-info h1 {
    font-size: 38px;
  }

  .contact-map {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-block: 48px;
  }

  .hero p {
    font-size: 16px;
  }

  .nav-slider {
    height: 560px;
    min-height: 560px;
  }

  .slider-overlay {
    padding: 18px;
  }

  .portal-search {
    grid-template-columns: 1fr 1fr;
  }

  .portal-search label {
    padding: 9px 10px;
    font-size: 12px;
  }

  .slider-copy .fancy-title {
    padding-inline: 8px;
    font-size: 25px;
  }

  .slider-dots {
    right: 18px;
    bottom: 12px;
  }

  .stats-section,
  .property-grid,
  .service-grid,
  .reference-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    flex-basis: 100%;
  }

  .review-arrow {
    top: auto;
    bottom: -62px;
    transform: none;
  }

  .review-arrow[data-review-direction="prev"] {
    left: 0;
  }

  .review-arrow[data-review-direction="next"] {
    right: 0;
  }

  .stats-section div {
    padding-inline: 18px;
  }

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

  .property-meta strong {
    justify-self: start;
  }

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

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

  .site-footer {
    grid-template-columns: 1fr;
    padding-inline: 18px;
  }

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