:root {
  --ink: #1a2d2a;
  --muted: #5f706b;
  --paper: #f7f3ea;
  --surface: #fffaf0;
  --line: rgba(26, 45, 42, 0.14);
  --sea: #1d7770;
  --sea-dark: #0f4e4a;
  --coral: #d76c4a;
  --gold: #d9a84f;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(19, 51, 48, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(247, 243, 234, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--sea-dark);
  color: var(--white);
  font-size: 13px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--sea-dark);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--sea-dark);
  font-size: 12px;
  font-weight: 900;
  padding: 4px;
}

.language-switch a,
.language-switch span {
  display: inline-flex;
  min-width: 32px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.language-switch span {
  background: var(--sea-dark);
  color: var(--white);
}

.header-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 800;
}

.header-action {
  padding: 0 18px;
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 74px);
  align-items: end;
  overflow: hidden;
  padding: 88px clamp(20px, 5vw, 72px) 42px;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 36, 34, 0.88), rgba(10, 36, 34, 0.38) 54%, rgba(10, 36, 34, 0.2)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding-bottom: 44px;
}

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

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(64px, 12vw, 154px);
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(19px, 2.1vw, 30px);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  padding: 0 22px;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--coral);
  color: var(--white);
}

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

.button.outline {
  width: 100%;
  border-color: var(--line);
  color: var(--sea-dark);
}

.button.full {
  width: 100%;
}

.hero-panel {
  position: relative;
  display: grid;
  max-width: 520px;
  gap: 8px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.86);
}

.hero-panel span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel strong {
  font-size: 18px;
  line-height: 1.4;
}

.section {
  padding: 88px clamp(20px, 5vw, 72px);
}

.page-hero {
  display: grid;
  min-height: 420px;
  align-content: end;
  padding: 110px clamp(20px, 5vw, 72px) 64px;
  background:
    linear-gradient(90deg, rgba(10, 36, 34, 0.86), rgba(10, 36, 34, 0.45)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.page-hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(46px, 7vw, 96px);
  line-height: 0.98;
}

.page-hero p:last-child {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.55;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section h2 {
  font-size: clamp(34px, 5vw, 72px);
}

.section-heading.split {
  display: grid;
  max-width: none;
  grid-template-columns: 1fr minmax(260px, 480px);
  gap: 34px;
  align-items: end;
}

.section-heading p,
.build-copy p,
.contact p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.service-grid article,
.property-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(19, 51, 48, 0.06);
}

.service-grid article {
  min-height: 260px;
  padding: 28px;
}

.service-grid span {
  color: var(--coral);
  font-weight: 900;
}

.service-grid h3,
.property-card h3 {
  margin: 40px 0 10px;
  font-size: 24px;
}

.service-grid p,
.property-card p {
  color: var(--muted);
  line-height: 1.65;
}

.properties {
  background: #eef5f1;
}

.catalog-page {
  padding-top: 42px;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.filter-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--sea-dark);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  padding: 0 18px;
}

.filter-button.active {
  border-color: var(--sea-dark);
  background: var(--sea-dark);
  color: var(--white);
}

.property-card {
  display: grid;
  overflow: hidden;
}

.property-card.is-hidden {
  display: none;
}

.property-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background-position: center;
  background-size: cover;
}

.property-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--sea-dark);
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
}

.property-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.property-body .eyebrow {
  margin-bottom: 0;
}

.property-card h3 {
  margin: 0;
}

.property-price {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.property-location {
  margin: 0;
}

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

.property-stats span {
  display: grid;
  min-height: 64px;
  align-content: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  padding: 9px;
}

.property-stats strong {
  color: var(--ink);
  font-size: 17px;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.property-meta span {
  border-radius: 999px;
  background: rgba(29, 119, 112, 0.1);
  color: var(--sea-dark);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}

.property-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  padding: 24px;
  text-align: center;
}

.section-link {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.build {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 560px);
  gap: 48px;
  align-items: center;
  background: var(--sea-dark);
  color: var(--white);
}

.build-copy p {
  color: rgba(255, 255, 255, 0.82);
}

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

.build-list div {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.build-list strong {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: 48px;
  align-items: start;
}

.contact-page {
  background: #eef5f1;
}

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

.packages article {
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 28px;
}

.packages span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.packages h2 {
  font-size: 34px;
}

.packages p {
  color: var(--muted);
  line-height: 1.7;
}

.packages strong {
  color: var(--sea-dark);
  font-size: 22px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  min-height: calc(100vh - 74px);
  background: var(--surface);
}

.detail-image {
  min-height: 560px;
  background-position: center;
  background-size: cover;
}

.detail-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: clamp(32px, 6vw, 78px);
}

.detail-copy h1,
.detail-section h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
}

.detail-copy h1 {
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.98;
}

.detail-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.detail-copy .button.outline {
  width: auto;
  background: var(--white);
}

.detail-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.detail-section > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 28px;
}

.detail-section h2 {
  margin-bottom: 20px;
  font-size: 42px;
}

.detail-tags {
  gap: 10px;
}

.listing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  min-height: calc(100vh - 74px);
  background: var(--surface);
}

.listing-photo {
  position: relative;
  min-height: 620px;
  background:
    linear-gradient(180deg, rgba(10, 36, 34, 0.04), rgba(10, 36, 34, 0.22)),
    url("https://images.unsplash.com/photo-1600566752355-35792bedcfea?auto=format&fit=crop&w=1500&q=80");
  background-position: center;
  background-size: cover;
}

.listing-photo-badge {
  position: absolute;
  left: clamp(20px, 4vw, 48px);
  bottom: clamp(20px, 4vw, 48px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--sea-dark);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.listing-summary {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: clamp(32px, 6vw, 78px);
}

.listing-summary h1,
.listing-details h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
}

.listing-summary h1 {
  font-size: clamp(46px, 6vw, 92px);
  line-height: 0.98;
}

.listing-summary p,
.listing-details p,
.clean-list {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.listing-summary .button.outline {
  width: auto;
  background: var(--white);
}

.listing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.listing-tags span {
  border-radius: 999px;
  background: rgba(29, 119, 112, 0.1);
  color: var(--sea-dark);
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 900;
}

.listing-gallery {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 14px;
  background: #eef5f1;
  padding-top: 28px;
  padding-bottom: 28px;
}

.gallery-card {
  min-height: 280px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(10, 36, 34, 0.04), rgba(10, 36, 34, 0.22)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=900&q=80");
  background-position: center;
  background-size: cover;
}

.gallery-card.large {
  min-height: 380px;
  background-image:
    linear-gradient(180deg, rgba(10, 36, 34, 0.04), rgba(10, 36, 34, 0.22)),
    url("https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1200&q=80");
}

.gallery-card.alt {
  background-image:
    linear-gradient(180deg, rgba(10, 36, 34, 0.04), rgba(10, 36, 34, 0.22)),
    url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=900&q=80");
}

.listing-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  background: #eef5f1;
}

.listing-details article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 30px;
}

.listing-details h2 {
  font-size: clamp(32px, 4vw, 54px);
}

.clean-list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.clean-list li + li {
  margin-top: 8px;
}

.listing-info {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
}

.listing-info h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

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

.info-grid span {
  display: grid;
  min-height: 96px;
  align-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  padding: 16px;
}

.info-grid strong {
  color: var(--ink);
  font-size: 15px;
}

.listing-map {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: stretch;
  background: #eef5f1;
}

.map-copy,
.map-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.map-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 30px;
}

.map-copy h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.map-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.map-copy .button.outline {
  width: fit-content;
  background: var(--white);
}

.map-frame {
  min-height: 420px;
  overflow: hidden;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav {
    display: none;
  }

  .section-heading.split,
  .service-grid,
  .property-grid,
  .build,
  .contact,
  .packages,
  .detail-hero,
  .detail-section,
  .listing-hero,
  .listing-details,
  .listing-gallery,
  .listing-info,
  .listing-map {
    grid-template-columns: 1fr;
  }

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

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

  .hero {
    min-height: 760px;
  }

  .detail-image {
    min-height: 420px;
  }

  .listing-photo {
    min-height: 430px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .header-action {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .section,
  .hero {
    padding-right: 16px;
    padding-left: 16px;
  }

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

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

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

  .footer {
    flex-direction: column;
  }
}
