:root {
  --ink: #092f29;
  --deep: #0d3b33;
  --deep-2: #082721;
  --muted: #65766f;
  --line: #d8e7df;
  --brand: #0f5a48;
  --gold: #f5b942;
  --mint: #edf7f2;
  --panel: #ffffff;
  --shadow: 0 22px 60px rgba(9, 47, 41, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #f8fbf8;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.cursor-glow {
  position: fixed;
  top: -14px;
  left: -14px;
  z-index: 9999;
  width: 28px;
  height: 28px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 185, 66, 0.78), rgba(15, 90, 72, 0.28) 48%, transparent 72%);
  mix-blend-mode: screen;
  filter: blur(2px);
  transition: transform 80ms linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding: 14px clamp(18px, 5vw, 82px);
  background: rgba(241, 249, 244, 0.92);
  border-bottom: 1px solid rgba(15, 90, 72, 0.16);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 900;
  color: var(--deep);
}

.brand img {
  width: 220px;
  height: 54px;
}

.main-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(15, 90, 72, 0.22);
  border-radius: 8px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.86);
}

.menu-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.site-header.is-menu-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.nav-item {
  position: relative;
}

.main-nav > .nav-item > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 800;
}

.has-menu > a::after {
  content: "⌄";
  font-size: 14px;
  line-height: 1;
}

.main-nav > .nav-item > a::before {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.has-menu > a::after {
  content: "v";
}

.main-nav .has-menu > a::after {
  display: none;
  content: none;
}

.main-nav > .nav-item:hover > a::before {
  transform: scaleX(1);
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown::before {
  position: absolute;
  top: -14px;
  right: 0;
  left: 0;
  height: 14px;
  content: "";
}

.simple-menu,
.mega-menu {
  border: 1px solid rgba(15, 90, 72, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 56px rgba(9, 47, 41, 0.16);
  backdrop-filter: blur(14px);
}

.simple-menu {
  display: grid;
  gap: 2px;
  min-width: 220px;
  padding: 10px;
}

.simple-menu a,
.mega-menu a {
  display: block;
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.simple-menu a {
  padding: 11px 12px;
}

.simple-menu a:hover,
.mega-menu a:hover {
  color: var(--brand);
  background: var(--mint);
}

.mega-menu {
  left: 50%;
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 18px;
  width: min(720px, 84vw);
  padding: 22px;
  transform: translate(-35%, 12px);
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  transform: translate(-35%, 0);
}

.mega-menu p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mega-menu a {
  padding: 9px 10px;
}

.mega-cta {
  padding: 16px;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--deep), var(--brand));
}

.mega-cta strong,
.mega-cta span {
  display: block;
}

.mega-cta span {
  margin: 8px 0 14px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.mega-cta a {
  display: inline-flex;
  color: var(--deep);
  background: #fff;
}

.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 430px;
  overflow: hidden;
  padding: 116px clamp(18px, 5vw, 82px) 86px;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(8, 39, 33, 0.95), rgba(15, 90, 72, 0.78), rgba(8, 39, 33, 0.36)),
    url("../../images/home/home-5-4.jpg") center/cover;
}

.page-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  content: "";
  background: linear-gradient(0deg, rgba(8, 39, 33, 0.34), transparent);
}

.page-hero > div {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.72;
}

.icon-link,
.header-call,
.btn,
.search-panel button,
.post-form button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.icon-link {
  color: var(--brand);
  font-size: 13px;
}

.header-call {
  padding: 0 18px;
  color: #fff;
  background: var(--deep);
  box-shadow: 0 10px 26px rgba(9, 47, 41, 0.18);
}

.header-call:hover,
.btn:hover,
.search-panel button:hover,
.post-form button:hover,
.contact-form button:hover,
.property-card:hover,
.area-card:hover,
.service-card:hover {
  transform: translateY(-3px);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  overflow: hidden;
  padding: 42px clamp(18px, 5vw, 82px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 39, 33, 0.92), rgba(8, 39, 33, 0.76), rgba(8, 39, 33, 0.48)),
    url("../../images/home/hero-slide-1.jpg") center/cover;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: url("../../images/home/hero-slide-1.jpg") center/cover;
}

.hero-slideshow::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: linear-gradient(90deg, rgba(8, 39, 33, 0.92), rgba(8, 39, 33, 0.76), rgba(8, 39, 33, 0.48));
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1);
  transition: opacity 1200ms ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  animation: heroScaleUp 6500ms ease-out forwards;
}

@keyframes heroScaleUp {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-content,
.hero-steps {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 980px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-text {
  max-width: 760px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn {
  padding: 0 20px;
}

.btn.primary {
  color: var(--deep);
  background: #fff;
}

.btn.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.search-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  max-width: 1040px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-panel label {
  display: grid;
  gap: 6px;
  padding: 8px 12px;
  border-right: 1px solid var(--line);
}

.search-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.search-panel select,
.post-form input,
.post-form select,
.post-form textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 700;
}

.search-panel button,
.post-form button,
.contact-form button {
  padding: 0 26px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(15, 90, 72, 0.2);
}

.hero-steps {
  display: grid;
  gap: 14px;
}

.hero-steps article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(10px);
}

.hero-steps strong,
.hero-steps span {
  display: block;
}

.hero-steps strong {
  margin-bottom: 6px;
  font-size: 18px;
}

.hero-steps span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

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

.stats a {
  padding: 32px clamp(18px, 4vw, 64px);
  background: #fff;
}

.stats strong {
  display: block;
  margin-bottom: 6px;
  color: var(--deep);
  font-size: 34px;
}

.stats span {
  color: var(--muted);
  font-weight: 700;
}

.section,
.post-banner,
.contact-section {
  padding: 92px clamp(18px, 5vw, 82px);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2,
.post-banner h2,
.split h2,
.contact-section h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.post-banner p,
.split p,
.contact-section p {
  color: var(--muted);
  line-height: 1.72;
}

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

.area-card,
.property-card,
.service-card {
  overflow: hidden;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid rgba(15, 90, 72, 0.14);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(9, 47, 41, 0.08);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.area-card:hover,
.property-card:hover,
.service-card:hover {
  border-color: rgba(15, 90, 72, 0.34);
  box-shadow: 0 24px 56px rgba(9, 47, 41, 0.16);
}

.area-card img,
.property-card img,
.property-card video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 420ms ease;
}

.property-card video {
  display: block;
  background: #041612;
}

.area-card:hover img,
.property-card:hover img {
  transform: scale(1.06);
}

.area-card-body,
.property-card div {
  padding: 22px;
}

.area-card-body > p,
.property-card p {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.area-card h3,
.property-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.area-card span,
.property-card span {
  display: block;
  color: var(--muted);
  line-height: 1.62;
}

.property-card strong {
  display: inline-block;
  margin-top: 18px;
  color: var(--deep);
  font-size: 22px;
}

.area-card {
  min-height: 0;
}

.area-card img {
  aspect-ratio: 16 / 8.2;
}

.area-card-body {
  padding: 18px 20px 16px;
}

.area-card-body > p {
  margin-bottom: 6px;
  font-size: 12px;
}

.area-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.area-card span {
  line-height: 1.48;
}

.area-card dl {
  gap: 8px;
  margin-top: 14px;
}

.area-card dt {
  font-size: 11px;
}

.area-card dd {
  margin-top: 1px;
  font-size: 14px;
  line-height: 1.35;
}

.blog-grid {
  display: grid;
  max-width: 820px;
  margin: 0 auto;
}

.blog-card {
  padding: 34px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid rgba(15, 90, 72, 0.14);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(9, 47, 41, 0.08);
}

.blog-card p {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-card h3 {
  margin-bottom: 12px;
  font-size: 28px;
}

.blog-card span {
  display: block;
  max-width: 680px;
  color: var(--muted);
  line-height: 1.7;
}

.blog-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 22px;
  padding: 0 18px;
  color: #fff;
  font-weight: 900;
  background: var(--brand);
  border-radius: 6px;
}

.blog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.blog-actions .btn,
.blog-actions a {
  margin-top: 0;
}

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

.blog-read {
  max-width: 900px;
  margin: 0 auto;
  padding: 92px clamp(18px, 5vw, 82px);
}

.blog-read h1 {
  color: var(--deep);
}

.blog-read div,
.blog-read p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.blog-content {
  white-space: pre-wrap;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 22, 18, 0.58);
}

.login-box {
  position: relative;
  display: grid;
  width: min(100%, 460px);
  gap: 12px;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(4, 22, 18, 0.28);
}

.login-box h2 {
  margin-bottom: 2px;
  color: var(--deep);
  font-size: 30px;
}

.login-box span {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.login-box input {
  width: 100%;
  padding: 15px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.login-box button {
  min-height: 52px;
  color: #fff;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  font-weight: 900;
}

.modal-close {
  justify-self: end;
  color: var(--brand);
  font-weight: 900;
}

.blog-dashboard-list {
  margin-top: 24px;
}

.blog-dashboard-list .dashboard-property {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 18px 28px;
}

.blog-dashboard-list .dashboard-property > div:first-child {
  min-width: 0;
  max-width: 760px;
}

.blog-dashboard-list .dashboard-property h3 {
  max-width: 680px;
  font-size: 22px;
  line-height: 1.25;
}

.blog-dashboard-list .dashboard-property p {
  max-width: 620px;
  margin-bottom: 10px;
}

.blog-dashboard-list .dashboard-actions {
  min-width: 96px;
}

dl {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.band {
  background: var(--mint);
}

.post-banner {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 44px;
  align-items: start;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(8, 39, 33, 0.96), rgba(15, 90, 72, 0.88)),
    url("../../images/home/home-9.jpg") center/cover;
}

.post-banner p {
  color: rgba(255, 255, 255, 0.76);
}

.visit-section {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
  overflow: hidden;
  padding: 88px clamp(18px, 5vw, 82px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(4, 22, 18, 0.94), rgba(15, 90, 72, 0.86)),
    url("../../images/home/hero-slide-2.jpg") center/cover;
}

.visit-section::before {
  position: absolute;
  top: 18%;
  right: 8%;
  width: 220px;
  height: 220px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  animation: visitPulse 4s ease-in-out infinite;
}

.visit-copy,
.visit-form {
  position: relative;
  z-index: 1;
}

.visit-copy h2 {
  max-width: 680px;
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
}

.visit-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.72;
}

.visit-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.visit-points span {
  padding: 12px 16px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  font-weight: 900;
  animation: visitFloat 3.8s ease-in-out infinite;
}

.visit-points span:nth-child(2) {
  animation-delay: 0.4s;
}

.visit-points span:nth-child(3) {
  animation-delay: 0.8s;
}

.visit-form {
  display: grid;
  gap: 12px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.visit-form input,
.visit-form select,
.visit-form textarea {
  width: 100%;
  padding: 15px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 700;
}

.visit-form button {
  min-height: 54px;
  color: #fff;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(15, 90, 72, 0.2);
  font-weight: 900;
}

@keyframes visitPulse {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.86);
  }

  50% {
    opacity: 0.72;
    transform: scale(1.08);
  }
}

@keyframes visitFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.post-form,
.contact-form {
  display: grid;
  gap: 12px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-alert {
  margin: 18px 0 0;
  padding: 14px 16px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.post-form input,
.post-form select,
.post-form textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 15px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  resize: vertical;
}

.post-form input[type="file"] {
  color: var(--muted);
}

.post-form button,
.contact-form button {
  min-height: 54px;
}

.compact-post {
  align-self: start;
}

.post-auth-banner {
  grid-template-columns: 0.62fr 1.38fr;
}

.post-auth-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
}

.post-form h3 {
  margin-bottom: 4px;
  color: var(--deep);
  font-size: 22px;
}

.login-post-form p {
  color: var(--muted);
  line-height: 1.6;
}

.inline-alert {
  padding: 12px 14px;
  color: var(--deep);
  border: 1px solid rgba(15, 90, 72, 0.18);
  border-radius: 8px;
  background: var(--mint);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
}

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

.service-card {
  padding: 24px;
}

.service-card h3 {
  margin-bottom: 8px;
}

.service-card p {
  margin-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
  color: #fff;
  background: #0b2c26;
}

.refined-contact {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 84px);
  padding: 72px clamp(18px, 5vw, 82px);
  background:
    linear-gradient(135deg, rgba(8, 39, 33, 0.96), rgba(15, 90, 72, 0.92)),
    url("../../images/home/hero-slide-2.jpg") center/cover;
}

.refined-contact::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(2, 16, 13, 0.28);
}

.refined-contact > * {
  position: relative;
  z-index: 1;
}

.contact-copy {
  max-width: 620px;
}

.contact-copy h1 {
  margin: 12px 0 18px;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-copy > p:not(.eyebrow) {
  font-size: 18px;
  line-height: 1.75;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  font-weight: 900;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-methods a {
  display: grid;
  gap: 4px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.contact-methods a:hover {
  color: #fff;
  border-color: rgba(245, 185, 66, 0.7);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

.contact-methods span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-methods strong {
  color: #fff;
  font-size: 17px;
}

.refined-contact-form {
  align-self: center;
  padding: clamp(22px, 3vw, 34px);
  border-color: rgba(255, 255, 255, 0.72);
}

.form-card-title {
  margin-bottom: 6px;
}

.form-card-title h2 {
  color: var(--deep);
  font-size: 32px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: var(--deep);
  font-size: 13px;
  font-weight: 900;
}

.refined-contact-form input,
.refined-contact-form select,
.refined-contact-form textarea {
  font-weight: 700;
}

.refined-contact-form textarea {
  min-height: 150px;
}

.contact-lines a:hover,
.site-footer a:hover,
.footer-bottom a:hover {
  color: var(--gold);
}

.testimonials-section {
  overflow: hidden;
  padding: 92px 0;
  background: var(--deep);
}

.testimonials-section .section-heading {
  padding: 0 clamp(18px, 5vw, 82px);
}

.testimonials-section h2,
.testimonials-section .section-heading p:not(.eyebrow) {
  color: #fff;
}

.testimonial-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
}

.testimonial-marquee::before,
.testimonial-marquee::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(30px, 8vw, 120px);
  content: "";
  pointer-events: none;
}

.testimonial-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--deep), rgba(8, 39, 33, 0));
}

.testimonial-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--deep), rgba(8, 39, 33, 0));
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: testimonialScroll 34s linear infinite;
}

.testimonial-marquee:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-card {
  width: min(82vw, 360px);
  min-height: 230px;
  padding: 26px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
}

.testimonial-card p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

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

.testimonial-card strong {
  margin-bottom: 5px;
  font-size: 18px;
}

.testimonial-card span {
  color: var(--gold);
  font-weight: 900;
}

@keyframes testimonialScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr;
  gap: 34px;
  padding: 58px clamp(18px, 5vw, 82px);
  color: rgba(255, 255, 255, 0.74);
  background: #061f1b;
}

.site-footer h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 16px;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
}

.footer-brand {
  margin-bottom: 14px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.site-footer p {
  max-width: 440px;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 82px);
  color: rgba(255, 255, 255, 0.7);
  background: #041612;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 760ms ease, transform 760ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dashboard-body {
  background: #eef7f2;
}

.dashboard-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 5vw, 82px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.dashboard-header > div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dashboard-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 0 auto;
}

.dashboard-nav a {
  color: var(--deep);
  font-size: 14px;
  font-weight: 900;
}

.dashboard-header a:not(.brand) {
  color: var(--brand);
  font-weight: 900;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 82px) 80px;
}

.dashboard-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  align-self: start;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(9, 47, 41, 0.08);
}

.dashboard-sidebar p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-sidebar a {
  padding: 13px 14px;
  border-radius: 6px;
  font-weight: 900;
}

.dashboard-sidebar a:hover,
.dashboard-sidebar a.active {
  color: #fff;
  background: var(--deep);
}

.dashboard-panel {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(9, 47, 41, 0.08);
}

.dashboard-title {
  margin-bottom: 26px;
}

.dashboard-title h1 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 48px);
  color: var(--deep);
}

.dashboard-title span,
.dashboard-list p,
.dashboard-property span,
.empty-state p {
  color: var(--muted);
  line-height: 1.6;
}

.dashboard-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  color: var(--deep);
  border: 1px solid rgba(15, 90, 72, 0.18);
  border-radius: 8px;
  background: var(--mint);
  font-weight: 800;
}

.dashboard-form {
  display: grid;
  gap: 13px;
}

.dashboard-form.compact {
  max-width: 620px;
}

.dashboard-form input,
.dashboard-form select,
.dashboard-form textarea {
  width: 100%;
  padding: 15px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 700;
}

.dashboard-form .preserve-format-editor {
  min-height: 360px;
  font-family: Consolas, "Courier New", monospace;
  font-weight: 600;
  line-height: 1.6;
  white-space: pre-wrap;
}

.dashboard-form button {
  min-height: 54px;
  color: #fff;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  font-weight: 900;
}

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

.form-section-title {
  margin-top: 14px;
  padding-top: 18px;
  color: var(--deep);
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.check-line input {
  width: auto;
}

.dashboard-list {
  display: grid;
  gap: 14px;
}

.dashboard-property {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dashboard-property img {
  width: 120px;
  height: 86px;
  border-radius: 6px;
  object-fit: cover;
}

.dashboard-property h3 {
  margin-bottom: 6px;
}

.dashboard-property strong {
  color: var(--brand);
  white-space: nowrap;
}

.dashboard-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.dashboard-actions form {
  margin: 0;
}

.mini-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  min-height: 34px;
  padding: 8px 12px;
  color: var(--deep);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
}

button.mini-action {
  cursor: pointer;
}

.mini-action:hover {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.mini-action.danger {
  color: #9f2626;
  border-color: #f0c4c4;
}

.mini-action.danger:hover {
  color: #fff;
  border-color: #9f2626;
  background: #9f2626;
}

.empty-state {
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1080px) {
  .site-header {
    gap: 12px;
  }

  .brand img {
    width: 188px;
    height: auto;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .main-nav {
    display: none;
  }

  .site-header.is-menu-open .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: grid;
    align-items: stretch;
    gap: 4px;
    max-height: calc(100vh - 104px);
    padding: 12px;
    overflow-y: auto;
    border: 1px solid rgba(15, 90, 72, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 50px rgba(9, 47, 41, 0.18);
  }

  .main-nav > .nav-item > a,
  .simple-menu a,
  .mega-menu a {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
  }

  .main-nav > .nav-item > a:hover,
  .main-nav > .nav-item > a:focus {
    background: var(--mint);
  }

  .dropdown {
    position: static;
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .dropdown::before,
  .main-nav > .nav-item > a::before,
  .mega-cta {
    display: none;
  }

  .simple-menu,
  .mega-menu {
    width: 100%;
    min-width: 0;
    padding: 2px 0 8px 12px;
    border: 0;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
  }

  .mega-menu {
    grid-template-columns: 1fr;
    gap: 0;
    transform: none;
  }

  .mega-menu p {
    margin: 8px 14px 4px;
  }

  .dashboard-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .dashboard-nav {
    order: 3;
    width: 100%;
  }

  .hero,
  .search-panel,
  .stats,
  .area-grid,
  .property-grid,
  .blog-list-grid,
  .post-banner,
  .visit-section,
  .split,
  .post-auth-grid,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .search-panel label {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .search-panel button {
    min-height: 52px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 74px;
  }

  .brand img {
    width: 150px;
  }

  .icon-link {
    display: none;
  }

  .header-call {
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 520px;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  h1 {
    font-size: 34px;
  }

  .section,
  .post-banner,
  .contact-section {
    padding: 64px 18px;
  }

  .form-row,
  .form-row.three,
  .service-grid,
  .dashboard-shell,
  .dashboard-property,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .dashboard-sidebar {
    position: static;
  }
}

.site-header .main-nav .nav-item.has-menu > a::after {
  display: none !important;
  width: 0 !important;
  content: "" !important;
}
