:root {
  --bg: #ebe1d2;
  --bg-soft: #fcf7ef;
  --bg-base: #f4ecdf;
  --bg-alt: #d8e5df;
  --panel: rgba(255, 250, 243, 0.9);
  --primary: #244536;
  --accent: #b55a36;
  --accent-blue: #4b8ea4;
  --accent-red: #c55a43;
  --earth: #b89467;
  --clay: #a85737;
  --mate: #6e8a54;
  --cream: #fff8ef;
  --ink: var(--primary);
  --ink-soft: #5a6a61;
  --gold: var(--accent);
  --gold-soft: #d9b79a;
  --line: rgba(41, 75, 58, 0.12);
  --shadow: 0 28px 80px rgba(39, 34, 24, 0.11);
  --theme-radius: 24px;
  --pill-radius: 18px;
  --section-space: 42px;
  --hero-space-top: 64px;
  --hero-space-bottom: 42px;
  --panel-space: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, var(--bg-haze-red), transparent 24%),
    radial-gradient(circle at top right, var(--bg-haze-blue), transparent 20%),
    radial-gradient(circle at right center, var(--bg-haze-green), transparent 24%),
    linear-gradient(180deg, var(--bg-base) 0%, var(--bg-alt) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--accent-red) 3%, transparent) 0%,
      transparent 18%,
      transparent 82%,
      color-mix(in srgb, var(--accent-blue) 3%, transparent) 100%
    ),
    repeating-linear-gradient(
      135deg,
      transparent 0 22px,
      color-mix(in srgb, var(--earth) 4%, transparent) 22px 24px,
      transparent 24px 46px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 47px,
      color-mix(in srgb, var(--accent) 10%, transparent) 48px
    );
  opacity: 0.6;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 88px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: calc(var(--theme-radius) + 2px);
  background:
    linear-gradient(90deg, var(--header-surface-left) 0%, var(--header-surface-mid) 38%, var(--header-surface-mid) 68%, var(--header-surface-right) 100%);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-red) 0 30%, #fffaf2 30% 60%, var(--accent-blue) 60% 100%);
  opacity: 0.9;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--earth) 55%, transparent);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0)),
    linear-gradient(180deg, color-mix(in srgb, var(--accent-red) 85%, white) 0 31%, #fffdf7 31% 66%, color-mix(in srgb, var(--accent-blue) 86%, white) 66% 100%);
  color: var(--primary);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.62);
}

.brand-mark--logo {
  overflow: hidden;
  background: #fffaf1;
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.72),
    0 8px 16px rgba(31, 53, 44, 0.08);
}

.brand-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
  min-width: 0;
  padding-left: 8px;
}

.brand-copy strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}

.brand-copy span {
  color: var(--ink-soft);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 1 1 420px;
  min-width: 280px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(31, 53, 44, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--accent) 34%, transparent);
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.language-switcher {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--pill-radius);
  background: rgba(255, 252, 247, 0.72);
}

.lang-button {
  min-width: 48px;
  min-height: 40px;
  border: 0;
  border-radius: var(--pill-radius);
  background: transparent;
  color: var(--ink-soft);
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.lang-button:hover,
.lang-button:focus-visible {
  transform: translateY(-1px);
  color: var(--ink);
}

.lang-button.is-active {
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 88%, white) 0%, var(--primary) 100%);
  color: #f7f1de;
  box-shadow: 0 8px 18px rgba(24, 45, 82, 0.18);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 54px;
  align-items: center;
  padding: calc(var(--hero-space-top) - 2px) 0 var(--hero-space-bottom);
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: color-mix(in srgb, var(--accent-red) 74%, var(--earth));
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero h1,
.panel h2,
.section-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3.2rem, 5.6vw, 4.9rem);
  line-height: 0.94;
  max-width: 11ch;
}

.hero-subtitle {
  margin: 20px 0 12px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--ink-soft);
  max-width: 34ch;
}

.hero-text,
.panel p,
.specialty-card p,
.contact-card p {
  color: #445249;
  line-height: 1.75;
}

.panel p + p,
.contact-card p + p {
  margin-top: 14px;
}

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

.text-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent);
}

.hero-home {
  align-items: stretch;
  position: relative;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: auto 0 calc(100% - 24px) 0;
  height: 12px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--accent-red) 0 48px,
      #fff8ef 48px 96px,
      var(--accent-blue) 96px 144px,
      #fff8ef 144px 192px
    );
  opacity: 0.55;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 10px;
  background:
    linear-gradient(180deg, var(--visual-top), var(--visual-bottom)),
    linear-gradient(135deg, var(--visual-tint-left), var(--visual-tint-right));
}

.hero-visual::before {
  content: "";
  display: block;
  width: 100%;
  min-height: 170px;
  border-radius: max(0px, calc(var(--theme-radius) - 2px));
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0)),
    var(--hero-feature-image, url("img/demo-og-paraguay.svg")) var(--hero-feature-position, center center)/var(--hero-feature-size, cover) no-repeat;
  border: 1px solid rgba(36, 69, 54, 0.1);
  box-shadow: inset 0 -30px 60px rgba(36, 69, 54, 0.08);
}

.hero-visual::after {
  content: "";
  display: block;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      90deg,
      color-mix(in srgb, var(--clay) 84%, white) 0 34px,
      #fff8ef 34px 68px,
      color-mix(in srgb, var(--accent-blue) 80%, white) 68px 102px,
      color-mix(in srgb, var(--mate) 84%, white) 102px 136px
    );
  opacity: 0.72;
}

.hero-visual-stack {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-visual-tile {
  display: grid;
  gap: 8px;
  grid-template-rows: auto auto 1fr auto;
  min-height: 168px;
  padding: 18px 16px 17px;
  border-radius: max(0px, calc(var(--theme-radius) - 6px));
  border: 1px solid rgba(31, 53, 44, 0.08);
  background:
    linear-gradient(180deg, var(--tile-top), var(--tile-bottom));
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  position: relative;
  overflow: hidden;
}

.hero-visual-tile::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background:
    linear-gradient(180deg, var(--accent-red) 0 34%, #fff8ef 34% 66%, var(--accent-blue) 66% 100%);
  opacity: 0.9;
}

.hero-visual-tile:hover,
.hero-visual-tile:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  box-shadow: 0 20px 34px rgba(31, 53, 44, 0.10);
}

.hero-visual-tile strong {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.hero-visual-tile span {
  color: var(--ink-soft);
}

.hero-visual-tile__label {
  color: var(--accent) !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-actions .button {
  flex: 0 1 auto;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(36, 69, 54, 0.12);
  border-radius: var(--pill-radius);
  background: rgba(255, 251, 244, 0.82);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-points span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mate) 80%, white) 0%, color-mix(in srgb, var(--clay) 74%, black) 100%);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--pill-radius);
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 88%, white) 0%, var(--primary) 100%);
  color: #f8f3e9;
  box-shadow: 0 14px 30px rgba(41, 75, 58, 0.24);
}

.button-secondary {
  border: 1px solid color-mix(in srgb, var(--earth) 40%, transparent);
  color: var(--ink);
  background: rgba(255, 251, 244, 0.88);
}

.hero-card,
.panel,
.specialty-card,
.contact-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--theme-radius) + 4px);
  padding: calc(var(--panel-space) + 4px);
  background:
    linear-gradient(180deg, var(--panel-top), var(--panel-bottom)),
    var(--panel);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -60px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--card-glow) 0%, transparent 68%);
}

.hero-card-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-card-label {
  color: color-mix(in srgb, var(--accent-red) 68%, var(--earth));
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-card-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent-red) 78%, transparent) 0 33%, rgba(255,255,255,0.72) 33% 66%, color-mix(in srgb, var(--accent-blue) 70%, transparent) 66% 100%);
}

.seal {
  display: grid;
  place-items: center;
}

.logo-frame {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--theme-radius) + 2px);
  padding: 14px;
  border: 1px solid rgba(24, 45, 82, 0.1);
  aspect-ratio: 1380 / 752;
  background: linear-gradient(180deg, var(--soft-top) 0%, var(--soft-bottom) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.75),
    0 20px 40px rgba(24, 45, 82, 0.08);
}

.hero-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: max(0px, calc(var(--theme-radius) - 6px));
  background: #fffaf1;
}

.hero-logo[hidden] {
  display: none;
}

.seal-ring {
  width: min(100%, 420px);
  min-width: 0;
  aspect-ratio: 1 / 1.16;
  padding: 20px;
  border: 4px solid rgba(182, 145, 69, 0.82);
  border-radius: 50% / 43%;
  background: linear-gradient(180deg, var(--soft-top) 0%, var(--soft-bottom) 100%);
  box-shadow:
    inset 0 0 0 8px rgba(255, 255, 255, 0.72),
    inset 0 0 0 10px rgba(182, 145, 69, 0.32);
}

.seal-top {
  margin: 8px auto 0;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  color: #8e6d2c;
  font-size: clamp(0.95rem, 1.6vw, 1.4rem);
  letter-spacing: 0.04em;
}

.seal-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100% - 58px);
  text-align: center;
}

.seal-monogram {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 88%, white) 0%, var(--primary) 100%);
  color: #eed39a;
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  font-weight: 700;
}

.seal-title,
.seal-role,
.seal-area {
  font-family: "Cormorant Garamond", serif;
  line-height: 1;
}

.seal-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.seal-role {
  margin-top: 8px;
  color: #8c6a2d;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
}

.seal-focus {
  margin-top: 18px;
  color: var(--ink);
  font-size: 1rem;
}

.seal-area {
  margin-top: 6px;
  color: #8e6d2c;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
}

.hero-note {
  margin: 20px 0 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: calc(var(--theme-radius) - 6px);
  border: 1px solid rgba(24, 45, 82, 0.1);
  background: rgba(255, 249, 242, 0.76);
}

.trust-value {
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.trust-copy {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

.info-grid,
.specialty-grid {
  display: grid;
  gap: 24px;
}

.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--section-space);
}

.details-grid {
  margin-top: var(--section-space);
}

.visual-story-grid {
  margin-top: var(--section-space);
}

.panel,
.contact-card {
  border-radius: calc(var(--theme-radius) + 4px);
  padding: var(--panel-space);
}

.panel-accent {
  background:
    linear-gradient(135deg, rgba(34, 63, 49, 0.96), rgba(51, 93, 84, 0.92)),
    var(--panel);
  color: #f8f3e8;
}

.panel-accent::after {
  content: "";
  display: block;
  width: 140px;
  height: 8px;
  margin-top: 22px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.95) 0 20%, color-mix(in srgb, var(--accent-red) 82%, white) 20% 48%, rgba(255,255,255,0.95) 48% 68%, color-mix(in srgb, var(--accent-blue) 82%, white) 68% 100%);
  opacity: 0.95;
}

.panel-accent p,
.panel-accent h2 {
  color: inherit;
}

.panel-accent .section-kicker {
  color: #dfc17d;
}

.panel h2,
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.98;
}

.listing-card .listing-card-body h2 {
  font-size: clamp(1.2rem, 1.45vw, 1.8rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.portrait-panel {
  display: flex;
  flex-direction: column;
}

.portrait-frame {
  overflow: hidden;
  min-height: 320px;
  border-radius: var(--theme-radius);
  border: 1px solid rgba(24, 45, 82, 0.08);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.7), transparent 42%),
    linear-gradient(180deg, rgba(228, 214, 186, 0.7) 0%, rgba(247, 241, 231, 0.9) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 20px 34px rgba(24, 45, 82, 0.08);
}

.portrait-image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1470 / 1070;
  object-fit: cover;
  object-position: center top;
}

.feature-image-panel {
  display: flex;
  flex-direction: column;
}

.feature-image-frame {
  overflow: hidden;
  border-radius: var(--theme-radius);
  border: 1px solid rgba(24, 45, 82, 0.08);
  background: #efe6d8;
}

.feature-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.specialties,
.contact {
  margin-top: var(--section-space);
}

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

.offer-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: calc(var(--panel-space) - 2px);
  border-radius: max(0px, calc(var(--theme-radius) - 2px));
  position: relative;
}

.offer-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  border-radius: inherit;
  background:
    linear-gradient(90deg, var(--accent-red) 0 36%, #fff8ef 36% 58%, var(--accent-blue) 58% 100%);
  opacity: 0.9;
}

.offer-card__top {
  display: grid;
  gap: 10px;
}

.offer-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(41, 75, 58, 0.08);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.offer-preview-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #445249;
  line-height: 1.7;
  flex: 1 1 auto;
}

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

.offer-empty {
  margin-top: 18px;
  color: var(--ink-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
}

.contact-sidecard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, var(--soft-top), var(--soft-bottom-strong));
}

.contact-card,
.contact-sidecard {
  border-radius: max(0px, calc(var(--theme-radius) - 2px));
}

.contact-card {
  position: relative;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.82), transparent 38%),
    linear-gradient(180deg, color-mix(in srgb, var(--earth) 84%, white), color-mix(in srgb, var(--clay) 86%, white));
  opacity: 0.12;
}

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

.site-footer {
  margin-top: var(--section-space);
  padding: 0 4px 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
}

.site-credit {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.site-credit a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.site-credit a:hover,
.site-credit a:focus-visible {
  color: var(--gold);
}

.legal-page .page-shell {
  padding-bottom: 40px;
}

.legal-main {
  padding-top: 36px;
}

.legal-hero {
  margin-bottom: 26px;
}

.legal-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.legal-intro {
  max-width: 760px;
  margin-top: 16px;
  color: #34445f;
  line-height: 1.8;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.legal-grid--about {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: start;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: calc(var(--theme-radius) + 4px);
  padding: var(--panel-space);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.legal-card h2 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 0.98;
}

.legal-card h3 {
  margin: 26px 0 8px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.legal-card p,
.legal-card li {
  color: #34445f;
  line-height: 1.8;
}

.legal-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.legal-card li + li {
  margin-top: 8px;
}

.about-side-card {
  display: grid;
  gap: 18px;
}

.about-portrait-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: max(0px, calc(var(--theme-radius) - 4px));
  border: 1px solid var(--line);
  background: rgba(255, 252, 245, 0.9);
}

.about-side-copy h2 {
  margin-bottom: 10px;
}

.about-side-copy p {
  margin: 0;
}

.legal-note {
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.7;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading::after {
  content: "";
  display: block;
  width: min(180px, 100%);
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--accent-red) 0 28%, #fff8ef 28% 52%, var(--accent-blue) 52% 76%, var(--mate) 76% 100%);
  opacity: 0.75;
}

.builder-section {
  margin-top: var(--section-space);
}

.builder-intro {
  max-width: 68ch;
  color: var(--ink-soft);
  line-height: 1.8;
}

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

.builder-grid {
  margin-top: 24px;
}

.specialty-card {
  border-radius: var(--theme-radius);
  padding: calc(var(--panel-space) - 6px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 36px rgba(24, 45, 82, 0.08);
}

.specialty-card h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
}

.specialty-card__action {
  margin: 18px 0 0;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  color: var(--ink);
  font-weight: 600;
}

.contact-lines a {
  color: var(--ink);
  text-decoration: none;
}

.contact-lines a:hover,
.contact-lines a:focus-visible {
  color: var(--gold);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--pill-radius);
  border: 1px solid rgba(24, 45, 82, 0.12);
  background: rgba(255, 251, 244, 0.72);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.social-link.is-placeholder {
  color: var(--ink-soft);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px 0 14px;
  border: 1px solid rgba(24, 45, 82, 0.14);
  border-radius: var(--pill-radius);
  background: rgba(255, 250, 243, 0.92);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(24, 45, 82, 0.16);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: rgba(255, 252, 247, 0.98);
  box-shadow: 0 22px 40px rgba(24, 45, 82, 0.2);
}

.back-to-top-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(180deg, #1f3764 0%, #162744 100%);
  color: #f7f1de;
  font-size: 1rem;
  line-height: 1;
}

.back-to-top-text {
  font-size: 0.94rem;
  font-weight: 700;
}

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

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

@media (max-width: 920px) {
  .site-header,
  .hero,
  .info-grid,
  .offer-grid,
  .contact-grid,
  .specialty-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
    gap: 16px;
  }

  .header-controls {
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 42px;
  }

  .hero-card {
    padding: 28px;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

  .hero-visual-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .site-header,
  .hero-card,
  .panel,
  .specialty-card,
  .contact-card,
  .legal-card {
    padding: 20px;
    border-radius: calc(var(--theme-radius) + 2px);
  }

  .site-header {
    gap: 14px;
  }

  .brand-copy strong {
    font-size: 1.6rem;
  }

  .brand-copy span {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  .site-nav {
    width: 100%;
    gap: 10px;
  }

  .site-nav a {
    width: calc(50% - 5px);
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: var(--pill-radius);
    background: rgba(255, 251, 244, 0.72);
    border: 1px solid rgba(24, 45, 82, 0.08);
  }

  .hero {
    gap: 24px;
    padding-inline: 0;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-text,
  .panel p,
  .specialty-card p,
  .contact-card p,
  .trust-copy {
    line-height: 1.7;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-points {
    gap: 10px;
  }

  .hero-points span {
    width: 100%;
    justify-content: flex-start;
  }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .lang-button {
    flex: 1;
  }

  .hero-card-topline {
    margin-bottom: 18px;
  }

  .logo-frame {
    padding: 10px;
    border-radius: 20px;
  }

  .portrait-frame {
    min-height: 280px;
  }

  .social-links {
    gap: 10px;
  }

  .social-link {
    width: 100%;
  }

  .footer-links {
    gap: 10px 14px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    min-height: 48px;
    padding-inline: 12px 14px;
  }

  .back-to-top-text {
    font-size: 0.88rem;
  }
}

@media (max-width: 420px) {
  .page-shell {
    width: calc(100% - 16px);
  }

  .site-header,
  .hero-card,
  .panel,
  .specialty-card,
  .contact-card,
  .legal-card {
    padding: 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    font-size: 1.45rem;
  }

  .brand-copy strong {
    font-size: 1.35rem;
  }

  .site-nav a {
    width: 100%;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-points span,
  .trust-item {
    padding-inline: 12px;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
  }
}

.listing-hero {
  padding: 38px 42px;
  margin-bottom: 28px;
  border-radius: calc(var(--theme-radius) + 8px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 235, 0.9));
  border: 1px solid rgba(26, 46, 83, 0.1);
  box-shadow: 0 20px 46px rgba(26, 46, 83, 0.08);
}

.listing-hero h1 {
  margin-bottom: 14px;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 44px;
}

.listing-overview-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.listing-overview-card {
  display: grid;
  gap: 10px;
}

.listing-overview-card strong {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 0.98;
  color: var(--ink);
}

.listing-overview-card p {
  margin: 0;
  color: var(--ink-soft);
}

.listing-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: max(0px, calc(var(--theme-radius) - 2px));
  position: relative;
}

.listing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background:
    linear-gradient(90deg, var(--accent-red) 0 30%, #fff8ef 30% 56%, var(--accent-blue) 56% 78%, var(--mate) 78% 100%);
  opacity: 0.85;
  z-index: 2;
}

.listing-card-image-link {
  display: block;
}

.listing-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: rgba(26, 46, 83, 0.08);
  transition: transform 220ms ease;
}

.listing-card-image--empty {
  background:
    linear-gradient(135deg, rgba(178, 106, 68, 0.12), rgba(31, 53, 44, 0.08)),
    #f2ece2;
}

.listing-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.listing-card:hover .listing-card-image,
.listing-card:focus-within .listing-card-image {
  transform: scale(1.03);
}

.listing-card-body h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 1.45vw, 1.8rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.listing-card-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.listing-card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.listing-card-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(31, 53, 44, 0.08);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
}

.listing-card-summary {
  margin-top: 0;
  font-size: 0.98rem;
}

.listing-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.listing-card-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(178, 106, 68, 0.12);
  color: var(--ink);
  font-size: 0.74rem;
}

.listing-card-footer {
  margin-top: auto;
  padding-top: 18px;
  display: grid;
  gap: 14px;
}

.listing-card-distance {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.listing-card-button {
  width: 100%;
}

.listing-cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 38px;
}

.listing-cta-copy h2 {
  margin-bottom: 12px;
}

.listing-cta-copy p:last-child {
  margin-bottom: 0;
}

.listing-cta-actions {
  display: grid;
  gap: 12px;
}

.listing-cta-contact {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* Final typography polish */
.brand-copy strong {
  letter-spacing: -0.025em;
}

.brand-copy span {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

.site-nav a {
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  letter-spacing: -0.045em;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.35;
}

.hero-text,
.panel p,
.specialty-card p,
.contact-card p,
.listing-card-summary,
.legal-intro,
.legal-card p,
.legal-card li {
  font-size: 1.02rem;
  line-height: 1.82;
}

.hero-text {
  max-width: 62ch;
}

.panel h2,
.section-heading h2,
.legal-card h2 {
  letter-spacing: -0.04em;
}

.offer-card h3,
.specialty-card h3 {
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.offer-preview-list,
.site-credit,
.footer-links a {
  font-size: 0.95rem;
}

.listing-card-body h2 {
  letter-spacing: -0.03em;
}

.listing-card-kicker,
.offer-badge,
.hero-visual-tile__label {
  letter-spacing: 0.18em;
}

.listing-card-facts span,
.listing-card-tags li,
.hero-points span,
.button,
.social-link {
  font-size: 0.88rem;
}

.contact-card [data-contact-phone],
.contact-card [data-contact-email] {
  font-weight: 700;
}

.property-detail-grid,
.property-content-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}

.property-detail-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.property-main-card,
.property-side-card,
.property-copy-card {
  border-radius: var(--theme-radius);
}

.property-hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: max(0px, calc(var(--theme-radius) - 6px));
  margin-bottom: 22px;
}

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

.property-fact {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: max(0px, calc(var(--theme-radius) - 8px));
  background: rgba(31, 53, 44, 0.05);
}

.property-fact span {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.property-fact strong {
  font-size: 1rem;
}

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

.property-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
  justify-content: start;
  gap: 18px;
  margin-bottom: 32px;
}

.property-gallery-section,
.related-listings-section {
  margin-bottom: 32px;
}

.section-heading-compact {
  margin-bottom: 16px;
}

.section-heading-compact p {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.property-gallery-card {
  margin: 0;
  overflow: hidden;
  border-radius: max(0px, calc(var(--theme-radius) - 4px));
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.property-gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.property-gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transition: transform 180ms ease;
}

.property-gallery-trigger:hover img,
.property-gallery-trigger:focus-visible img {
  transform: scale(1.03);
}

.property-copy-card h2 {
  margin-bottom: 14px;
}

.property-feature-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
}

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

.detail-trust-box {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.detail-trust-box > strong {
  font-size: 1rem;
}

.detail-trust-box p {
  margin: 0;
  color: var(--ink-soft);
}

.detail-contact-line {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: max(0px, calc(var(--theme-radius) - 8px));
  background: rgba(31, 53, 44, 0.05);
}

.detail-contact-line span {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.related-listing-card {
  display: grid;
  gap: 14px;
}

.related-listing-image {
  display: block;
  overflow: hidden;
  border-radius: max(0px, calc(var(--theme-radius) - 6px));
}

.related-listing-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.related-listing-card h3,
.related-listing-card p {
  margin: 0;
}

.related-listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.related-listing-meta strong {
  color: var(--ink);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(14, 20, 17, 0.88);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-image {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

.listing-empty-state {
  margin-bottom: 44px;
}

@media (max-width: 720px) {
  .listing-hero {
    padding: 24px;
  }

  .legal-grid--about,
  .listing-overview-strip,
  .listing-cta-section,
  .property-detail-grid,
  .property-content-grid,
  .property-fact-grid,
  .related-listings-grid {
    grid-template-columns: 1fr;
  }
}
