:root {
  --navy: #052c52;
  --navy-2: #073a66;
  --ink: #11243a;
  --muted: #617084;
  --copper: #bd4d25;
  --copper-2: #d57733;
  --cream: #fbf7ef;
  --paper: #ffffff;
  --line: #e7dfd4;
  --soft: #f4efe6;
  --blue-line: #d8e5ee;
  --shadow: 0 18px 40px rgba(7, 30, 55, 0.12);
  --container: 1122px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fffaf2 0%, #fbf7ef 34%, #fff 100%);
  overflow-x: hidden;
}

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

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

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

.topbar {
  background: var(--navy);
  color: #f7efe2;
  font-size: 12px;
}

.topbar-inner,
.nav-inner,
.container {
  width: min(var(--container), calc(100vw - 32px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 25px;
  gap: 16px;
}

.nav {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
}

.nav-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-logo {
  width: 258px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  width: 48px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(145deg, #fff5e5, #f3d7ad);
  border: 1px solid #e4c999;
  display: grid;
  place-items: center;
  color: var(--copper);
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
}

.brand-title {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1;
  color: var(--navy);
  font-weight: 700;
}

.brand-subtitle {
  display: block;
  color: #31516d;
  font-size: 10px;
  letter-spacing: 0.09em;
  font-weight: 800;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: #27394f;
}

.nav-links a {
  padding: 22px 0 18px;
  border-bottom: 2px solid transparent;
}

.nav-links a.active {
  color: var(--copper);
  border-bottom-color: var(--copper);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #344962;
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  border-radius: 8px;
  padding: 9px 12px;
  font-weight: 800;
}

.btn {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  border-radius: 8px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  cursor: pointer;
  min-height: 40px;
}

.btn.primary {
  background: var(--copper);
  border-color: var(--copper);
  color: white;
}

.btn.dark {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.btn.small {
  padding: 9px 13px;
  min-height: 36px;
  font-size: 13px;
}

.hero {
  min-height: 245px;
  position: relative;
  overflow: hidden;
  background: #efe3d3;
}

.hero.media-home {
  background-image:
    linear-gradient(90deg, rgba(255, 249, 240, 0.98) 0%, rgba(255, 249, 240, 0.84) 38%, rgba(255, 249, 240, 0.16) 70%),
    var(--hero-image);
  background-size: cover;
  background-position: right center;
}

.hero-inner {
  width: min(var(--container), calc(100vw - 32px));
  margin: 0 auto;
  padding: 22px 0 42px;
}

.hero h1,
.section-title,
.page-title,
.card h3,
.detail-title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(34px, 4.1vw, 47px);
  line-height: 0.98;
  margin: 0;
  max-width: 580px;
}

.hero h1 .accent,
.section-title .accent,
.page-title .accent {
  color: var(--copper);
}

.hero p {
  max-width: 480px;
  font-size: 14px;
  line-height: 1.38;
  color: #243b55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}

.search-panel {
  width: min(var(--container), calc(100vw - 32px));
  margin: -36px auto 18px;
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) 170px;
  gap: 8px;
}

.filter-field {
  min-width: 0;
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
}

.filter-field span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 4px;
}

.filter-field select,
.filter-field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  min-width: 0;
  font-weight: 700;
}

.stat-strip {
  background: var(--navy);
  color: white;
}

.stat-grid {
  width: min(var(--container), calc(100vw - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}

.stat {
  padding: 10px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
}

.stat b {
  display: block;
  font-size: 18px;
  line-height: 1;
}

.stat span {
  color: #d7e6f3;
  font-size: 12px;
}

.icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.36);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}

.section {
  width: min(var(--container), calc(100vw - 32px));
  margin: 0 auto;
  padding: 20px 0;
}

.dense-section {
  padding: 10px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 14px;
}

.section-head.compact {
  margin-bottom: 10px;
}

.section-title,
.page-title {
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.08;
  margin: 0;
}

.eyebrow {
  color: var(--copper);
  font-size: 13px;
  letter-spacing: 0.03em;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.muted {
  color: var(--muted);
}

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

.card,
.panel,
.testimonial,
.service-card,
.journey-card,
.contact-card,
.faq-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(16, 41, 68, 0.06);
}

.property-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.property-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--soft);
}

.property-media a {
  display: block;
  height: 100%;
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-card:hover .property-media img {
  transform: scale(1.04);
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.heart-button {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.heart-button.saved {
  background: var(--copper);
  color: #fff;
  border-color: var(--copper);
}

.heart-button .ui-icon {
  width: 17px;
  height: 17px;
}

.property-body {
  padding: 12px;
  display: block;
}

.property-body h3 {
  font-size: 15px;
  line-height: 1.2;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}

.property-meta {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #40576f;
  font-size: 12px;
  margin: 0 0 8px;
}

.price {
  color: var(--copper);
  font-weight: 900;
  font-size: 16px;
}

.compare-grid,
.content-grid,
.service-grid,
.resource-grid,
.testimonial-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.compare-grid {
  grid-template-columns: 1fr 0.45fr 1fr;
  align-items: stretch;
}

.budget-grid {
  display: grid;
  grid-template-columns: 1fr 0.28fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.budget-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(16, 41, 68, 0.06);
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 10px;
  align-items: center;
}

.budget-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: 21px;
  margin: 0;
}

.budget-card img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 7px;
}

.panel {
  padding: 16px;
}

.panel img {
  border-radius: 6px;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.vs {
  display: grid;
  place-items: center;
  text-align: center;
}

.vs b {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(145deg, #b77b34, #d1a24f);
  color: white;
  display: grid;
  place-items: center;
  margin: 16px auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.mini-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 6px;
  color: #31445d;
  font-size: 14px;
}

.mini-list li::before {
  content: ">";
  color: var(--navy);
  font-weight: 900;
  margin-right: 8px;
}

.content-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

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

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

.resource-grid.four .panel {
  padding: 12px;
}

.resource-grid.four .panel h3 {
  font-size: 15px;
  margin: 0 0 5px;
}

.resource-grid.four .panel p.muted {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.journey-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: stretch;
}

.cta-card {
  border-radius: 8px;
  min-height: 100%;
  padding: 22px;
  color: white;
  background:
    linear-gradient(135deg, rgba(5, 44, 82, 0.98), rgba(5, 44, 82, 0.76)),
    var(--cta-image);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-card h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.cta-card p {
  margin: 0 0 16px;
  color: #dce9f4;
  font-size: 13px;
  line-height: 1.45;
}

.services-home {
  margin-bottom: 14px;
}

.home-services {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: stretch;
}

.home-services .services-home {
  margin-bottom: 0;
}

.home-services .about-strip {
  grid-template-columns: 1fr;
  align-content: center;
}

.home-services .about-strip img {
  display: none;
}

.mini-services {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.mini-services .service-card img {
  display: none;
}

.mini-services .service-card div {
  padding: 9px 6px;
}

.mini-services .service-card h3 {
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
  margin: 0;
}

.home-featured .property-media {
  aspect-ratio: 2.45 / 1;
}

.home-featured .property-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-featured .property-body {
  padding: 8px;
}

.home-featured .specs {
  display: none;
}

.home-featured .property-body h3 {
  font-size: 13px;
  min-height: 32px;
  margin-bottom: 4px;
}

.home-featured .property-meta {
  margin-bottom: 4px;
}

.compact-testimonials .testimonial {
  min-height: 120px;
  padding: 11px;
}

.compact-testimonials .testimonial-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.compact-testimonials .testimonial p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
}

.compact-testimonials .testimonial cite {
  margin-top: auto;
  padding-top: 8px;
  font-size: 11px;
}

.compact-testimonials .testimonial span {
  color: var(--copper);
  font-size: 11px;
  font-weight: 900;
  margin-top: 5px;
}

.testimonial-more {
  background: linear-gradient(145deg, #fffaf2, #f4eadc);
}

.mini-services .service-card p {
  display: none;
}

.about-strip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.about-strip img {
  width: 100%;
  height: 76px;
  border-radius: 7px;
  object-fit: cover;
}

.about-strip h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: 21px;
  margin: 0 0 6px;
}

.about-strip p {
  margin: 0 0 6px;
  color: var(--muted);
}

.about-strip a {
  color: var(--copper);
  font-weight: 900;
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 88px;
  object-fit: cover;
}

.service-card div {
  padding: 12px;
}

.service-icon,
.info-icon,
.journey-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e7d0a8;
  color: var(--navy);
  background: #fffaf0;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}

.service-icon .ui-icon,
.info-icon .ui-icon,
.journey-icon .ui-icon {
  width: 21px;
  height: 21px;
}

.service-card h3 {
  margin: 0 0 6px;
  color: var(--navy);
}

.service-card p {
  color: #4c6076;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

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

.journey-card {
  padding: 11px 10px;
  text-align: center;
  position: relative;
}

.journey-icon {
  margin: 0 auto 7px;
}

.journey-number {
  width: 24px;
  height: 24px;
  background: var(--copper);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  font-weight: 900;
}

.ui-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-services .service-card {
  display: grid;
  grid-template-rows: 145px 1fr;
}

.premium-services .service-card img {
  height: 145px;
}

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

.package-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(16, 41, 68, 0.06);
}

.package-card h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
}

.package-card p {
  color: var(--muted);
  line-height: 1.5;
}

.featured-package {
  border-color: #d39a41;
  box-shadow: 0 18px 36px rgba(189, 77, 37, 0.14);
}

.service-trust .image-right {
  padding: 0;
  overflow: hidden;
}

.service-trust .image-right img {
  height: 100%;
  min-height: 260px;
  border-radius: 0;
}

.journey-card h3 {
  font-size: 13px;
  margin: 0 0 4px;
}

.journey-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.testimonial {
  padding: 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #344a61;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--copper);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(255, 255, 255, 1));
}

.testimonial cite {
  display: block;
  color: var(--navy);
  font-weight: 900;
  margin-top: auto;
  padding-top: 12px;
  font-style: normal;
}

.area-strip-section {
  padding-top: 10px;
  padding-bottom: 10px;
}

.area-strip-head {
  text-align: center;
  margin-bottom: 14px;
}

.area-strip-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: 31px;
  line-height: 1;
  text-transform: uppercase;
}

.area-strip-head p {
  margin: 4px 0 0;
  color: var(--copper-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.1;
}

.area-strip-shell {
  position: relative;
}

.area-strip-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 64px) / 5);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 2px 2px;
}

.area-strip-track::-webkit-scrollbar {
  display: none;
}

.area-guide-card {
  min-height: 118px;
  border: 1px solid rgba(5, 44, 82, 0.18);
  background:
    linear-gradient(90deg, rgba(2, 21, 39, 0.82), rgba(2, 21, 39, 0.36)),
    var(--area-image);
  background-size: cover;
  background-position: center;
  color: white;
  padding: 18px 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  scroll-snap-align: start;
  overflow: hidden;
  position: relative;
}

.area-guide-card .area-name {
  color: white;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.area-guide-card .area-copy {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
  margin-top: 7px;
}

.area-guide-card .area-button {
  align-self: flex-start;
  background: #f27b16;
  color: #091c31;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 9px 15px;
  margin-top: 12px;
}

.area-hero {
  min-height: 300px;
}

.area-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
}

.area-story {
  padding: 22px;
}

.area-story .lead-copy {
  color: #263f5a;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
}

.area-story p {
  line-height: 1.62;
}

.area-side {
  display: grid;
  gap: 14px;
}

.area-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #050b12;
  color: white;
  font-size: 34px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.area-arrow-left {
  left: -18px;
}

.area-arrow-right {
  right: -18px;
}

.newsletter-panel {
  border-radius: 8px;
  padding: 22px;
  color: white;
  background:
    linear-gradient(135deg, rgba(5, 44, 82, 0.98), rgba(189, 77, 37, 0.82)),
    var(--hero-image, url("/assets/brand/hero-home-real-v4.webp"));
  background-size: cover;
  background-position: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 28px;
  align-items: center;
}

.newsletter-panel .section-title {
  color: white;
}

.newsletter-panel p {
  margin: 8px 0 0;
  color: #f3e8d9;
  line-height: 1.5;
}

.newsletter-form {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 9px;
  align-items: end;
}

.newsletter-form label {
  display: grid;
  gap: 5px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.newsletter-form input,
.newsletter-form select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--ink);
  background: #fff;
}

.newsletter-form .form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--navy);
  font-size: 12px;
}

.cta-band {
  width: min(var(--container), calc(100vw - 32px));
  margin: 18px auto;
  background:
    linear-gradient(90deg, rgba(5, 44, 82, 0.98), rgba(5, 44, 82, 0.72)),
    var(--cta-image);
  background-size: cover;
  background-position: center;
  color: white;
  border-radius: 8px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.footer {
  background: var(--navy);
  color: #eef6ff;
  margin-top: 18px;
}

.footer-inner {
  width: min(var(--container), calc(100vw - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 330px repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 18px 0 16px;
  align-items: start;
}

.footer .brand {
  gap: 8px;
}

.footer-logo {
  width: 210px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  background: #fffaf2;
  border-radius: 6px;
  padding: 4px;
}

.footer-brand-block {
  display: grid;
  gap: 8px;
}

.footer-brand-card {
  background: #fffaf2;
  border-radius: 8px;
  padding: 10px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-brand-logo {
  width: 238px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.footer-life-line {
  display: grid;
  grid-template-columns: 1fr 10px 1fr;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 4px 0 8px;
}

.footer-life-line i {
  width: 7px;
  height: 7px;
  background: #c7902f;
  transform: rotate(45deg);
  justify-self: center;
}

.footer-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  border-top: 1px solid #e2cda7;
  border-bottom: 1px solid #e2cda7;
  padding: 7px 0;
}

.footer-benefits span {
  display: grid;
  justify-items: center;
  gap: 3px;
  color: var(--navy);
  font-size: 7px;
  line-height: 1.15;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.footer-benefits .ui-icon {
  width: 19px;
  height: 19px;
  color: #c7902f;
}

.footer-invest-line {
  display: flex;
  justify-content: center;
  gap: 12px;
  color: var(--navy);
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 900;
  margin-top: 9px;
}

.footer-invest-line span:nth-child(2) {
  color: #8a5a00;
}

.footer-invest-line span:nth-child(3) {
  color: #1f6f7a;
}

.footer .brand-mark {
  width: 38px;
  height: 36px;
  font-size: 13px;
}

.footer .brand-title {
  font-size: 20px;
}

.footer .brand-subtitle {
  font-size: 8px;
}

.footer h3 {
  font-size: 14px;
  margin: 0 0 8px;
}

.footer p,
.footer a {
  display: block;
  color: #c8d8e7;
  font-size: 13px;
  line-height: 1.3;
  margin: 0 0 4px;
}

.footer a {
  display: flex;
  align-items: center;
  min-height: 24px;
  margin: 0;
}

.footer-brand-block > p {
  max-width: 330px;
  color: #d7e6f3;
  font-size: 12px;
  line-height: 1.35;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  width: min(var(--container), calc(100vw - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  color: #c8d8e7;
  font-size: 12px;
  padding: 11px 0;
}

.footer-bottom span:last-child {
  color: #d7e6f3;
}

.page-hero {
  min-height: 238px;
}

.listing-hero {
  min-height: 250px;
}

.listing-hero h1 {
  font-size: clamp(30px, 3.5vw, 44px);
  max-width: 720px;
}

.properties-hero {
  min-height: 320px;
}

.hero.media-home.properties-hero {
  background-position: right 72%;
}

.properties-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

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

.tight {
  margin: 6px 0 0;
}

.load-more {
  display: grid;
  place-items: center;
  margin: 18px 0 0;
}

.side-stack {
  display: grid;
  gap: 16px;
}

.map-card {
  min-height: 230px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
    url("/assets/optimized/areas/kyrenia.webp");
  background-size: cover;
  background-position: center;
}

.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  border: 1px solid var(--blue-line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  color: var(--navy);
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.detail-hero {
  width: 100%;
  height: clamp(290px, 42vw, 510px);
  object-fit: cover;
}

.detail-title {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  margin: 18px 0 10px;
}

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

.gallery-image {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 12px;
  background: #fff;
  color: var(--ink);
}

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

.form-status {
  margin: 12px 0 0;
  color: var(--navy);
  font-weight: 800;
}

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

.faq-card {
  padding: 18px;
}

.faq-card details {
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
}

.faq-card summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
}

.rich-contact {
  grid-template-columns: minmax(0, 1.2fr) 360px;
  align-items: start;
}

.enquiry-panel {
  padding: 0;
  overflow: hidden;
}

.contact-aside {
  display: grid;
  gap: 16px;
}

.brand-full {
  width: 100%;
  height: auto;
  max-height: 235px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}

.private-routing-card,
.next-steps {
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.next-steps h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

.next-steps ol {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.enquiry-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.form-intro p {
  margin-bottom: 0;
}

.form-section {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.form-section h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  display: flex;
  gap: 9px;
  align-items: center;
}

.form-section h2 .ui-icon {
  width: 22px;
  height: 22px;
  color: var(--copper);
}

.form-grid label,
.wide-label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-weight: 800;
  font-size: 12px;
}

.wide-label {
  margin-top: 12px;
}

.form-subtitle {
  margin: 14px 0 8px;
  color: var(--navy);
  font-weight: 900;
}

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

.check-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #334961;
  font-size: 13px;
  line-height: 1.35;
}

.check-card input {
  width: auto;
  margin-top: 2px;
}

.heart-list-field {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.heart-list-field textarea {
  min-height: 74px;
  background: #fbf7ef;
}

.consent-section {
  display: grid;
  gap: 8px;
}

.turnstile-placeholder {
  border: 1px dashed #d8c39a;
  background: #fffaf0;
  color: #5b6d81;
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.enquiry-submit {
  justify-self: start;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 24, 45, 0.72);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

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

.modal-open {
  overflow: hidden;
}

.enquiry-modal {
  width: min(980px, 100%);
  max-height: min(90vh, 1040px);
  overflow: auto;
  position: relative;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.modal-close {
  position: sticky;
  top: 10px;
  margin-left: auto;
  margin-right: 10px;
  margin-top: 10px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  color: var(--navy);
  font-size: 24px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}

.icon-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  color: #334961;
  line-height: 1.45;
}

.icon-list .ui-icon {
  color: var(--copper);
}

.hidden {
  display: none !important;
}

.loading {
  min-height: 60vh;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 900;
}

.error-box {
  width: min(720px, calc(100vw - 32px));
  margin: 50px auto;
  padding: 20px;
  background: #fff;
  border: 1px solid #e4b5a2;
  border-radius: 8px;
  color: #8c2e17;
}

@media (max-width: 980px) {
  .mobile-toggle {
    display: inline-flex;
  }

  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

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

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-actions {
    margin-left: auto;
  }

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

  .search-panel .btn {
    grid-column: 1 / -1;
  }

  .property-grid,
  .service-grid,
  .mini-services,
  .testimonial-grid,
  .journey-row,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare-grid,
  .budget-grid,
  .content-grid,
  .journey-cta-grid,
  .home-services,
  .rich-contact,
  .service-packages,
  .area-detail-grid,
  .properties-layout,
  .detail-layout,
  .contact-grid,
  .cta-band,
  .about-strip,
  .newsletter-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .home-featured .property-grid,
  .compact-testimonials .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .area-strip-track {
    grid-auto-columns: calc((100% - 16px) / 2);
  }

  .area-arrow-left {
    left: -10px;
  }

  .area-arrow-right {
    right: -10px;
  }

  .footer-brand-block {
    grid-column: auto;
  }

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

  .budget-card {
    grid-template-columns: 1fr 160px;
  }
}

@media (max-width: 640px) {
  .hero.media-home {
    background-image:
      linear-gradient(90deg, rgba(255, 249, 240, 0.98) 0%, rgba(255, 249, 240, 0.88) 46%, rgba(255, 249, 240, 0.22) 100%),
      var(--hero-image-mobile, var(--hero-image));
  }

  .listing-hero {
    min-height: 218px;
    background-image:
      linear-gradient(90deg, rgba(255, 249, 240, 0.98) 0%, rgba(255, 249, 240, 0.9) 100%) !important;
  }

  .listing-hero .hero-inner {
    padding: 16px 0 24px;
  }

  .listing-hero h1 {
    font-size: 26px;
    line-height: 1.04;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .listing-hero .hero-inner > p:not(.eyebrow) {
    display: none;
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 7px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 212px;
    height: 50px;
  }

  .brand-title {
    font-size: 22px;
  }

  .nav-actions .phone {
    display: none;
  }

  .hero-inner {
    padding: 40px 0 66px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .search-panel,
  .property-grid,
  .service-grid,
  .mini-services,
  .testimonial-grid,
  .journey-row,
  .stat-grid,
  .resource-grid,
  .form-grid,
  .check-grid,
  .newsletter-form,
  .gallery {
    grid-template-columns: 1fr;
  }

  .home-featured .property-grid,
  .compact-testimonials .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .area-strip-head h2 {
    font-size: 25px;
  }

  .area-strip-head p {
    font-size: 18px;
  }

  .area-strip-track {
    grid-auto-columns: 82%;
  }

  .area-guide-card {
    min-height: 138px;
  }

  .modal-backdrop {
    padding: 10px;
  }

  .enquiry-form {
    padding: 16px;
  }

  .form-section h2 {
    font-size: 20px;
  }

  .section-head,
  .properties-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .panel {
    padding: 16px;
  }

  .budget-card {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding-bottom: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}
