:root {
  color-scheme: light;
  --paper: #f8f5ef;
  --paper-2: #eee8dd;
  --ink: #172033;
  --muted: #667080;
  --line: rgba(23, 32, 51, 0.13);
  --brand: #d9b845;
  --brand-2: #b99425;
  --deep-water: #2d3a4d;
  --abyss: #111b2b;
  --ocean: #0b5f7c;
  --lagoon: #1d8da3;
  --gold: #d9b845;
  --white: #fff;
  --shadow: 0 24px 70px rgba(17, 27, 43, 0.18);
}

/* Buyer registration */
.buyer-registration-root,
.buyer-registration-page {
  max-width: 100%;
  overflow-x: hidden;
}

.buyer-form-hero {
  background:
    linear-gradient(112deg, rgba(17, 27, 43, 0.96), rgba(43, 61, 83, 0.9)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=82") center / cover;
  color: var(--white);
  padding: clamp(68px, 8vw, 112px) 0 clamp(58px, 7vw, 88px);
}

.buyer-form-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.85fr);
  align-items: end;
  justify-content: space-between;
  gap: 56px;
}

.buyer-form-hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(43px, 5.5vw, 76px);
  line-height: 0.98;
}

.buyer-form-hero .hero-copy {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.buyer-registration-section {
  background: var(--paper);
  padding: clamp(62px, 7vw, 96px) 0 clamp(80px, 9vw, 130px);
}

.buyer-registration-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.42fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(34px, 5vw, 72px);
}

.buyer-registration-intro {
  position: sticky;
  top: 118px;
  border-top: 4px solid var(--brand);
  background: var(--white);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: 0 25px 70px rgba(28, 39, 55, 0.08);
}

.buyer-registration-intro h2 {
  margin: 12px 0 18px;
  color: var(--abyss);
  font-size: clamp(31px, 3.1vw, 45px);
  line-height: 1.08;
}

.buyer-registration-intro > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.buyer-registration-intro ul {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.buyer-registration-intro li {
  position: relative;
  padding-left: 27px;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.45;
}

.buyer-registration-intro li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #b58c16;
  font-weight: 950;
}

.buyer-registration-intro .buyer-registration-security {
  border-top: 1px solid rgba(29, 43, 63, 0.13);
  margin-top: 24px;
  padding-top: 20px;
  font-size: 14px;
}

.buyer-registration-card {
  border-top: 4px solid var(--brand);
  background: var(--white);
  box-shadow: 0 30px 90px rgba(28, 39, 55, 0.09);
}

.buyer-registration-form,
.buyer-registration-success {
  padding: clamp(28px, 5vw, 58px);
}

.buyer-form-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border-bottom: 1px solid rgba(29, 43, 63, 0.13);
  margin: 0 0 26px;
  padding: 0 0 22px;
}

.buyer-form-grid + .buyer-form-heading {
  margin-top: 52px;
}

.buyer-form-heading > span {
  color: #aa8214;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.buyer-form-heading .eyebrow {
  margin-bottom: 6px;
}

.buyer-form-heading h2 {
  margin: 0;
  color: var(--abyss);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

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

.buyer-field {
  display: grid;
  gap: 9px;
  color: var(--abyss);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.buyer-field > span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.buyer-field b,
.buyer-consent b {
  color: #a97f0e;
}

.buyer-field-wide {
  grid-column: 1 / -1;
}

.buyer-field input,
.buyer-field select,
.buyer-field textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(29, 43, 63, 0.2);
  border-radius: 0;
  background: #fbfaf7;
  color: var(--ink);
  padding: 13px 15px;
  font: 650 16px/1.35 Inter, Jost, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.buyer-field textarea {
  min-height: 132px;
  resize: vertical;
}

.buyer-field input:focus,
.buyer-field select:focus,
.buyer-field textarea:focus {
  border-color: #b68c17;
  outline: 2px solid rgba(223, 189, 59, 0.3);
  outline-offset: 0;
}

.buyer-consent {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 30px;
  background: #f5f1e8;
  padding: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.buyer-consent input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 1px;
  accent-color: #b68c17;
}

.buyer-form-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}

.buyer-form-actions .button {
  flex: 0 0 auto;
}

.buyer-form-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.buyer-form-status {
  min-height: 22px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.buyer-form-status.is-error {
  color: #9c2e2e;
}

.buyer-registration-success[hidden] {
  display: none;
}

.buyer-registration-success h2 {
  max-width: 660px;
  margin: 12px 0 18px;
  color: var(--abyss);
  font-size: clamp(35px, 4vw, 54px);
  line-height: 1.05;
}

.buyer-registration-success > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.buyer-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.buyer-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

@media (max-width: 980px) {
  .buyer-form-hero-grid,
  .buyer-registration-layout {
    grid-template-columns: 1fr;
  }

  .buyer-form-hero-grid {
    gap: 24px;
  }

  .buyer-form-hero .hero-copy {
    max-width: 700px;
  }

  .buyer-registration-intro {
    position: static;
  }
}

@media (min-width: 981px) and (max-width: 1200px) {
  .buyer-registration-page .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .buyer-registration-page .footer-legal-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .buyer-form-hero {
    padding: 54px 0 48px;
  }

  .buyer-form-hero h1 {
    font-size: 42px;
  }

  .buyer-registration-section {
    padding: 34px 0 72px;
  }

  .buyer-registration-layout {
    gap: 24px;
  }

  .buyer-registration-intro,
  .buyer-registration-form,
  .buyer-registration-success {
    padding: 25px 20px;
  }

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

  .buyer-field-wide {
    grid-column: auto;
  }

  .buyer-form-heading {
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 10px;
  }

  .buyer-form-grid + .buyer-form-heading {
    margin-top: 42px;
  }

  .buyer-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .buyer-form-actions .button,
  .buyer-success-actions .button {
    width: 100%;
    text-align: center;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Jost, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

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

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

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

.topbar {
  display: none;
  background: var(--abyss);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
}

.topbar-inner,
.nav-inner,
.wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(45, 58, 77, 0.97);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 52px);
  min-height: 70px;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  position: relative;
  min-width: 172px;
  justify-content: center;
  color: var(--white);
}

.brand-img {
  width: 165px;
  height: auto;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  color: var(--brand);
  font-family: Georgia, serif;
  font-weight: 700;
}

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

.brand strong {
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.2vw, 36px);
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-links > a,
.nav-dropdown > .has-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 70px;
  transition: color 160ms ease;
}

.nav-links > a:hover,
.nav-dropdown:hover > .has-arrow,
.nav-dropdown:focus-within > .has-arrow {
  color: var(--brand);
}

.nav-dropdown {
  position: relative;
}

.nav-links > a::before,
.nav-dropdown > .has-arrow::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--brand);
  content: "";
  opacity: 0;
  transform: scaleX(0.62);
  transform-origin: center;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-links > a:hover::before,
.nav-dropdown:hover > .has-arrow::before,
.nav-dropdown:focus-within > .has-arrow::before {
  opacity: 1;
  transform: scaleX(1);
}

.nav-dropdown::after {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 0;
  content: "";
}

.nav-links .has-arrow::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  border-top: 6px solid currentColor;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  transform: translateY(-2px);
}

.nav-dropdown-menu {
  position: absolute;
  z-index: 30;
  top: 100%;
  right: 0;
  display: grid;
  min-width: 198px;
  border: 1px solid rgba(23, 32, 51, 0.12);
  background: var(--white);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
  visibility: hidden;
}

.nav-dropdown-menu::before {
  position: absolute;
  right: 22px;
  bottom: 100%;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--white);
  border-left: 8px solid transparent;
  content: "";
}

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

.nav-dropdown-menu a {
  padding: 15px 18px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  transition:
    background 160ms ease,
    color 160ms ease,
    padding-left 160ms ease;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  padding-left: 22px;
  background: rgba(218, 188, 88, 0.16);
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 70px;
}

.language-current,
.language-menu a,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.language-current {
  min-height: 38px;
  border: 0;
  background: transparent;
  gap: 7px;
  padding: 0;
  cursor: pointer;
  line-height: 1;
}

.flag-emoji {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 22px;
  line-height: 1;
  transform: translateY(-1px);
}

.language-caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  margin-left: 3px;
  opacity: 0.78;
  transform: translateY(-3px) rotate(45deg);
}

.language-menu {
  position: absolute;
  z-index: 35;
  top: 100%;
  right: 0;
  min-width: 82px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(17, 27, 43, 0.94);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
  visibility: hidden;
}

.language-menu::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 10px;
  content: "";
}

.language-switcher:hover .language-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.language-menu a {
  gap: 7px;
  padding: 9px 10px;
  font-size: 14px;
  white-space: nowrap;
}

.language-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.menu-toggle {
  display: none;
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  color: var(--white);
  background: var(--abyss) url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wAARCAAOABgDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwCsNbujxmM/SIVZgvL25kEcYjDnj5oxxWVYRJKjHLZ6ZJrSihcjYZGQMcFo+CK760vd0R5Eai9pytlWbUbwExifAUkYU8centRVPUIpLG6e3aTeUG8OOM59RRXl+0n3PV5I9j//2Q==") center/cover;
}

.hero-media,
.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-media.is-ready {
  opacity: 1;
}

.hero::before {
  content: "";
  z-index: 1;
  background: linear-gradient(90deg, rgba(17, 27, 43, 0.48), rgba(11, 95, 124, 0.08) 56%);
}

.hero::after {
  content: "";
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 34%),
    linear-gradient(0deg, rgba(17, 27, 43, 0.34), transparent 42%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1180px, calc(100% - 36px));
  min-height: 760px;
  margin: 0 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 80px 0 120px;
  text-align: left;
}

.hero-mark {
  width: min(650px, 100%);
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
.display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  margin: 18px 0;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(42px, 4.7vw, 70px);
  line-height: 1.02;
  text-shadow: 0 18px 44px rgba(17, 27, 43, 0.42);
  text-wrap: balance;
}

.hero-title-es {
  max-width: 760px !important;
}

html[lang="es"] .hero-mark {
  width: min(760px, 100%);
}

.hero-title-es span {
  display: block;
  white-space: nowrap;
}

.hero-copy {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 14px 20px;
  cursor: pointer;
  font-weight: 800;
}

.button.primary {
  background: var(--brand);
  color: var(--abyss);
}

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

.button.dark {
  background: var(--deep-water);
  color: var(--white);
}

.trust-panel {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
}

.trust-panel div {
  background: rgba(17, 27, 43, 0.84);
  padding: 24px;
  backdrop-filter: blur(14px);
}

.trust-panel strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.trust-panel span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.search-panel {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 36px));
  margin: 28px auto 0;
  border: 1px solid rgba(45, 58, 77, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 60px rgba(17, 27, 43, 0.12);
  backdrop-filter: blur(16px);
}

.search-grid {
  display: grid;
  grid-template-columns: 1.06fr 1fr 1.18fr 0.9fr 1fr auto;
  align-items: stretch;
  gap: 10px;
  padding: 12px;
  background: transparent;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
  min-height: 70px;
  border: 1px solid rgba(45, 58, 77, 0.12);
  background: rgba(255, 255, 255, 0.86);
  padding: 13px 14px;
}

.field:focus-within {
  border-color: rgba(217, 184, 69, 0.82);
  box-shadow: 0 0 0 3px rgba(217, 184, 69, 0.14);
}

.field span {
  color: rgba(11, 95, 124, 0.72);
  font-family: Inter, Jost, "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  display: block;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: 0;
  overflow: hidden;
  font-family: Inter, Jost, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--deep-water) 50%),
    linear-gradient(135deg, var(--deep-water) 50%, transparent 50%);
  background-position:
    calc(100% - 10px) calc(50% + 2px),
    calc(100% - 5px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 22px;
}

.search-panel .field select,
.search-panel .field select option {
  font-size: 15px;
}

.field select option,
.field input::placeholder,
.field textarea::placeholder {
  font-family: Inter, Jost, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}

html[lang="es"] .search-panel .field select {
  letter-spacing: -0.2px;
}

.field select option {
  color: var(--ink);
  background: var(--white);
}

.search-button {
  min-width: 142px;
  min-height: 70px;
  align-self: stretch;
  padding-inline: 24px;
  font-family: Inter, Jost, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 860;
  letter-spacing: 0.14em;
  box-shadow: 0 14px 30px rgba(217, 184, 69, 0.26);
}

.section {
  padding: clamp(54px, 7vw, 92px) 0;
}

.section.alt {
  background: var(--paper-2);
}

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

h2 {
  max-width: 820px;
  margin: 10px 0 0;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.02;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.answer-grid,
.type-grid,
.property-grid,
.region-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

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

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

.answer-card,
.type-card,
.property-card,
.region-card,
.guide-card,
.faq-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.type-card {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--abyss);
  color: var(--white);
  padding: 32px 30px 30px;
  box-shadow: 0 18px 42px rgba(17, 27, 43, 0.14);
  transform: translateZ(0);
  transition: box-shadow 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.type-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(17, 27, 43, 0.02) 8%, rgba(17, 27, 43, 0.38) 46%, rgba(17, 27, 43, 0.96) 100%),
    var(--type-image) center/cover no-repeat;
  filter: saturate(1) contrast(1);
  pointer-events: none;
  transform: scale(1.004) translate3d(0, 0, 0);
  transform-origin: 50% 45%;
  transition:
    filter 900ms ease,
    transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.type-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: var(--brand);
  box-shadow: 0 -10px 30px rgba(217, 184, 69, 0);
  transition: box-shadow 700ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .type-card:hover {
    box-shadow:
      0 28px 72px rgba(17, 27, 43, 0.22),
      0 0 0 1px rgba(217, 184, 69, 0.16);
  }

  .type-card:hover::before {
    filter: saturate(1.075) contrast(1.025);
    transform: scale(1.045) translate3d(-0.35%, -0.2%, 0);
  }

  .type-card:hover::after {
    box-shadow: 0 -12px 34px rgba(217, 184, 69, 0.22);
  }
}

.type-card:focus-visible {
  outline: 3px solid rgba(217, 184, 69, 0.32);
  outline-offset: 5px;
  box-shadow:
    0 28px 72px rgba(17, 27, 43, 0.22),
    0 0 0 1px rgba(217, 184, 69, 0.18);
}

.type-card:focus-visible::before {
  filter: saturate(1.075) contrast(1.025);
  transform: scale(1.045) translate3d(-0.35%, -0.2%, 0);
}

@media (hover: none), (pointer: coarse), (max-width: 980px) {
  .type-card {
    background:
      linear-gradient(180deg, rgba(17, 27, 43, 0.02) 8%, rgba(17, 27, 43, 0.38) 46%, rgba(17, 27, 43, 0.96) 100%),
      var(--type-image) center/cover no-repeat;
    -webkit-tap-highlight-color: transparent;
    transform: none;
  }

  .type-card::before {
    display: none !important;
    content: none !important;
    background: none !important;
    filter: none !important;
    transform: none !important;
    will-change: auto;
  }

  .type-card:focus,
  .type-card:active,
  .type-card:focus-visible {
    outline: 0;
    box-shadow: 0 18px 42px rgba(17, 27, 43, 0.14);
  }

  /* Suppress only WebKit's native tap highlight and long-press callout on cards. */
  .type-card,
  .region-card,
  .guide-card[href],
  .answer-card[href],
  .property-card[data-listing-id],
  .property-card[data-listing-id] a,
  .property-card[data-listing-id] img {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    touch-action: manipulation;
    user-select: none;
  }
}

.type-card span {
  display: none;
}

.type-card h3 {
  position: relative;
  z-index: 1;
  margin: 18px 0 12px;
  font-family: Georgia, serif;
  font-size: clamp(34px, 2.7vw, 44px);
  font-weight: 400;
  line-height: 1;
}

.type-card p {
  position: relative;
  z-index: 1;
  max-width: 260px;
  min-height: 74px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.48;
}

.type-card strong {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--brand);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.type-card strong::after {
  content: "→";
  color: var(--white);
}

.type-card i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.type-card i::before {
  content: "";
  width: 46px;
  height: 46px;
  background: var(--white);
  mask: var(--type-icon) center / contain no-repeat;
  -webkit-mask: var(--type-icon) center / contain no-repeat;
}

.type-villas {
  --type-image: url("./property-types/villas.jpg");
  --type-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 12 4l9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E");
}

.type-apartments {
  --type-image: url("./property-types/apartments.jpg");
  --type-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 22V3h12v19'/%3E%3Cpath d='M10 7h4'/%3E%3Cpath d='M10 11h4'/%3E%3Cpath d='M10 15h4'/%3E%3Cpath d='M4 22h16'/%3E%3C/svg%3E");
}

.type-lots {
  --type-image: url("./property-types/land.jpg");
  --type-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16v12H4z'/%3E%3Cpath d='m4 6 4-3h12v15'/%3E%3Cpath d='M8 3v15'/%3E%3Cpath d='M4 18l4 3h12'/%3E%3C/svg%3E");
}

.type-commercial {
  --type-image: url("./property-types/commercial.jpg");
  --type-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7l8-4v18'/%3E%3Cpath d='M19 21V11l-6-4'/%3E%3Cpath d='M9 9h1'/%3E%3Cpath d='M9 13h1'/%3E%3Cpath d='M9 17h1'/%3E%3C/svg%3E");
}

.answer-card {
  min-height: 260px;
  padding: 28px;
}

.answer-card b {
  color: var(--brand);
}

.answer-card h3,
.guide-card h3,
.faq-card h3 {
  margin: 30px 0 10px;
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400;
}

.answer-card p,
.guide-card p,
.faq-card p,
.region-card p,
.property-card p {
  color: var(--muted);
  line-height: 1.62;
}

.property-card {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.property-card:hover {
  border-color: rgba(45, 58, 77, 0.28);
  box-shadow: 0 20px 48px rgba(17, 27, 43, 0.12);
}

.property-card.is-pressing {
  border-color: rgba(217, 184, 69, 0.62);
  box-shadow:
    0 16px 38px rgba(17, 27, 43, 0.11),
    inset 0 0 0 1px rgba(217, 184, 69, 0.1);
}

.property-card.is-pressing img {
  filter: brightness(0.97) saturate(1.035);
}

.property-card:focus-visible {
  border-color: var(--brand);
  outline: 3px solid rgba(217, 184, 69, 0.24);
  outline-offset: 4px;
}

.property-grid {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  grid-auto-columns: minmax(300px, calc((100% - 36px) / 3));
  grid-auto-flow: column;
  grid-template-columns: none;
  overflow-x: hidden;
  padding: 4px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.property-grid.property-grid-static {
  align-items: stretch;
  grid-auto-columns: unset;
  grid-auto-flow: row;
  grid-template-columns: repeat(3, 1fr);
  overflow: visible;
  padding: 0;
  scroll-snap-type: none;
}

.catalog-empty {
  grid-column: 1 / -1;
  border: 1px solid rgba(45, 58, 77, 0.12);
  background: var(--white);
  padding: clamp(34px, 6vw, 72px);
  text-align: center;
}

.catalog-empty strong {
  display: block;
  color: var(--deep-water);
  font-family: Georgia, serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 400;
}

.catalog-empty p {
  max-width: 560px;
  margin: 14px auto 0;
  color: var(--muted);
  line-height: 1.6;
}

.featured-property-grid .property-card:nth-child(n + 7) {
  display: none;
}

.featured-property-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.catalog-section {
  overflow: hidden;
}

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

.catalog-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catalog-filter-bar {
  display: flex;
  align-items: stretch;
  margin: -8px 0 30px;
  border: 1px solid rgba(29, 38, 54, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.catalog-filter-bar select,
.catalog-filter-bar button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 46px;
  border: 0;
  border-right: 1px solid rgba(29, 38, 54, 0.14);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: Inter, Jost, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catalog-filter-bar select {
  appearance: none;
  padding: 0 34px 0 18px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) 51%, calc(100% - 13px) 51%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.catalog-filter-bar button {
  flex: 0 0 48px;
  border-right: 0;
  cursor: pointer;
  background: var(--brand);
  color: var(--abyss);
  font-size: 24px;
  line-height: 1;
}

.catalog-filter-bar select:focus,
.catalog-filter-bar button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}

.catalog-card-hidden {
  display: none;
}

.catalog-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.catalog-page {
  display: inline-flex;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--deep-water);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.catalog-page.is-active,
.catalog-page:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--abyss);
}

.property-grid::-webkit-scrollbar {
  display: none;
}

.property-gallery {
  position: relative;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  cursor: default;
  isolation: isolate;
}

.property-gallery::-webkit-scrollbar {
  display: none;
}

.property-gallery img {
  display: none;
  min-width: 0;
}

.property-gallery img.is-active {
  display: block;
}

.property-gallery::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 38%;
  background: linear-gradient(0deg, rgba(17, 27, 43, 0.5), transparent);
  pointer-events: none;
}

.property-gallery-controls {
  position: absolute;
  inset: 50% 12px auto;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.property-gallery-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(17, 27, 43, 0.72);
  color: var(--white);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  pointer-events: auto;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.property-gallery-button:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--abyss);
  transform: scale(1.04);
}

.property-gallery-dots {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  display: flex;
  gap: 7px;
}

.property-gallery-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  padding: 0;
}

.property-gallery-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--brand);
}

.property-card[data-featured]::before {
  content: attr(data-featured);
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  min-width: 64px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  background: rgba(45, 58, 77, 0.9);
  color: var(--white);
  padding: 0 10px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  box-shadow: 0 10px 22px rgba(17, 27, 43, 0.16);
}

.property-card[data-status]::after {
  content: attr(data-status);
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  min-width: 70px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: var(--abyss);
  padding: 0 10px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  box-shadow: 0 10px 22px rgba(17, 27, 43, 0.14);
}

.property-card[data-status="RESERVED"]::after {
  background: var(--deep-water);
  color: var(--white);
}

.property-card[data-status="SOLD"]::after {
  background: #8a2424;
  color: var(--white);
}

html[lang="es"] .property-card[data-featured="LUXURY"]::before {
  content: "LUJO";
}

html[lang="es"] .property-card[data-status="SALE"]::after {
  content: "VENTA";
}

html[lang="es"] .property-card[data-status="RESERVED"]::after {
  content: "RESERVADA";
}

html[lang="es"] .property-card[data-status="SOLD"]::after {
  content: "VENDIDA";
}

.property-card.is-highlighted {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: -12px 0 18px;
}

.carousel-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--deep-water);
  cursor: pointer;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.carousel-button:hover {
  border-color: var(--brand);
  background: var(--deep-water);
  color: var(--white);
}

.property-card img,
.region-card img {
  width: 100%;
  object-fit: cover;
}

.property-card img {
  height: clamp(220px, 16vw, 310px);
  aspect-ratio: auto;
  transition:
    filter 180ms ease,
    transform 0.5s ease;
}

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

.region-card img {
  aspect-ratio: 4 / 3;
}

.property-body,
.region-body,
.guide-card {
  padding: 20px;
}

.property-body {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
}

.meta-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-height: 15px;
  color: var(--ocean);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.meta-line > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meta-line > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.meta-line > span:first-child::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background: var(--ocean);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5.5-8 11-8 11S4 15.5 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5.5-8 11-8 11S4 15.5 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.meta-id-group {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  text-align: right;
}

.property-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  max-width: 132px;
  border: 1px solid rgba(217, 184, 69, 0.88);
  color: #b59125;
  padding: 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.1em;
  line-height: 1;
}

.property-card h3,
.region-card h3 {
  margin: 10px 0 8px;
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.05;
}

.property-card h3 {
  display: -webkit-box;
  flex-shrink: 0;
  min-height: 64px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.property-price {
  margin: 16px 0 0;
  color: var(--abyss);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.property-card p {
  display: block;
  min-height: 86px;
  margin-bottom: 16px;
  overflow: visible;
  font-size: 16px;
  line-height: 1.55;
}

.property-link {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  margin-left: 0;
  color: var(--deep-water);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.property-link::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  font-size: 16px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.2s ease;
}

.property-link:hover::after {
  transform: translate(3px, -1px);
}

.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.specs span {
  display: grid;
  min-height: 64px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-right: 1px solid var(--line);
  padding: 9px 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.specs span:last-child {
  border-right: 0;
}

.specs span::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto 2px;
  background: var(--deep-water);
  opacity: 0.96;
  mask: var(--spec-icon) center / contain no-repeat;
  -webkit-mask: var(--spec-icon) center / contain no-repeat;
}

.specs span::after {
  content: attr(data-label);
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[lang="es"] .specs [data-label="Beds"]::after {
  content: "DORM.";
}

html[lang="es"] .specs [data-label="Baths"]::after {
  content: "BAÑOS";
}

html[lang="es"] .specs [data-label="Built"]::after {
  content: "CONST.";
}

html[lang="es"] .specs [data-label="Plot"]::after {
  content: "TERRENO";
}

.specs [data-icon="bed"] {
  --spec-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6'/%3E%3Cpath d='M3 21v-8a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8'/%3E%3Cpath d='M3 17h18'/%3E%3Cpath d='M7 11V7h4v4'/%3E%3Cpath d='M13 11V7h4v4'/%3E%3C/svg%3E");
}

.specs [data-icon="bath"] {
  --spec-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16v3a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5v-3Z'/%3E%3Cpath d='M6 12V5a2 2 0 0 1 2-2h1'/%3E%3Cpath d='M9 5l2 2'/%3E%3Cpath d='M4 21l1-2'/%3E%3Cpath d='M20 21l-1-2'/%3E%3C/svg%3E");
}

.specs [data-icon="home"] {
  --spec-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V21h14V9.5'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M17 13h3v3'/%3E%3Cpath d='m20 13-5 5'/%3E%3C/svg%3E");
}

.specs [data-icon="lot"] {
  --spec-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6h12v12H6z'/%3E%3Cpath d='M3 8V3h5'/%3E%3Cpath d='M16 3h5v5'/%3E%3Cpath d='M21 16v5h-5'/%3E%3Cpath d='M8 21H3v-5'/%3E%3C/svg%3E");
}

.listing-page {
  background: var(--paper);
}

.listing-hero {
  background:
    linear-gradient(120deg, rgba(17, 27, 43, 0.98), rgba(45, 58, 77, 0.72)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: var(--white);
  padding: clamp(34px, 5vw, 68px) 0;
}

.listing-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.62fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: stretch;
}

.listing-media {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  gap: 14px;
  height: auto;
  align-self: start;
}

.listing-main-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-height: 720px;
  aspect-ratio: 4 / 3;
  background: var(--abyss);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.3);
  touch-action: pan-y pinch-zoom;
}

.listing-main-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 720px;
  cursor: zoom-in;
  object-fit: cover;
}

.listing-main-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(17, 27, 43, 0.58), transparent);
  pointer-events: none;
}

.listing-photo-count {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  background: rgba(17, 27, 43, 0.78);
  color: var(--white);
  padding: 0 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.listing-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(17, 27, 43, 0.72);
  color: var(--white);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  touch-action: manipulation;
  transform: translateY(-50%);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
}

.listing-gallery-arrow:active,
.listing-gallery-arrow:focus-visible {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--abyss);
}

.listing-gallery-arrow.prev {
  left: 18px;
}

.listing-gallery-arrow.next {
  right: 18px;
}

.listing-thumbs {
  display: grid;
  grid-auto-columns: calc((100% - 60px) / 6);
  grid-auto-flow: column;
  grid-template-rows: clamp(78px, 6vw, 104px);
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 10px;
  scrollbar-color: rgba(217, 184, 69, 0.9) rgba(255, 255, 255, 0.14);
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
}

.listing-thumbs img {
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  cursor: pointer;
  object-fit: cover;
  opacity: 0.78;
  scroll-snap-align: start;
  transform: none;
  transition:
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.listing-thumbs img:hover,
.listing-thumbs img.is-active {
  border-color: var(--brand);
  opacity: 1;
  transform: none;
}

.is-lightbox-open {
  overflow: hidden;
}

.listing-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  background:
    radial-gradient(circle at 50% 0, rgba(217, 184, 69, 0.14), transparent 26%),
    #0a101a;
  padding: clamp(12px, 1.6vw, 24px);
}

.listing-lightbox figure {
  display: grid;
  gap: 14px;
  justify-items: center;
  min-width: 0;
  margin: 0;
}

.listing-lightbox img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 84px);
  object-fit: contain;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.45);
}

.listing-lightbox figcaption {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-align: center;
}

.listing-lightbox-close,
.listing-lightbox-arrow {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
}

.listing-lightbox-close:active,
.listing-lightbox-arrow:active,
.listing-lightbox-close:focus-visible,
.listing-lightbox-arrow:focus-visible {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--abyss);
}

.listing-lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  font-size: 32px;
  line-height: 1;
}

.listing-lightbox-arrow {
  width: 52px;
  height: 72px;
  justify-self: center;
  font-size: 38px;
  line-height: 1;
}

@media (hover: hover) and (pointer: fine) {
  .listing-gallery-arrow:hover,
  .listing-lightbox-close:hover,
  .listing-lightbox-arrow:hover {
    border-color: var(--brand);
    background: var(--brand);
    color: var(--abyss);
  }
}

.listing-card-premium {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(17, 27, 43, 0.98), rgba(31, 44, 64, 0.96)),
    radial-gradient(circle at 14% 0%, rgba(217, 184, 69, 0.14), transparent 34%);
  color: var(--white);
  padding: clamp(26px, 2.5vw, 32px);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.listing-card-premium::before {
  content: "";
  position: absolute;
  top: 0;
  right: 34px;
  left: 34px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

.listing-card-premium > * {
  position: relative;
}

.listing-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.listing-status-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: var(--abyss);
  padding: 0 11px;
}

.listing-status-badge[data-status="RESERVED"] {
  background: var(--deep-water);
  color: var(--white);
}

.listing-status-badge[data-status="SOLD"] {
  background: #8a2424;
  color: var(--white);
}

.listing-card-premium h1 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: clamp(32px, 2.7vw, 44px);
  font-weight: 500;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.listing-detail-price {
  display: block;
  margin: 0 0 16px;
  color: var(--white);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 850;
  line-height: 1;
}

.listing-card-premium p:not(.eyebrow) {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.listing-card-premium .eyebrow {
  color: var(--brand);
}

.listing-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 30px 0;
  background: transparent;
}

.listing-spec-grid article {
  display: grid;
  min-height: 88px;
  gap: 12px;
  align-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.32);
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  background: transparent;
  padding: 18px 28px;
}

.listing-spec-grid article:nth-child(2n) {
  border-right: 0;
}

.listing-spec-grid article:nth-child(n + 3) {
  border-bottom: 0;
}

.listing-spec-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.listing-spec-grid strong {
  color: var(--white);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1;
}

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

.listing-amenity-card {
  display: grid;
  min-width: 0;
  min-height: 116px;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(23, 32, 51, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 239, 0.92));
  padding: 16px;
  box-shadow: 0 12px 28px rgba(17, 27, 43, 0.06);
}

.listing-amenity-card .amenity-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(45, 58, 77, 0.2);
  background: rgba(45, 58, 77, 0.06);
}

.listing-amenity-card .amenity-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--deep-water);
  mask: var(--amenity-icon) center/contain no-repeat;
}

.listing-amenity-card[data-amenity="beach"] {
  --amenity-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 19c2 0 2-1 4-1s2 1 4 1 2-1 4-1 2 1 4 1 2-1 2-1'/%3E%3Cpath d='M4 15c2 0 2-1 4-1s2 1 4 1 2-1 4-1 2 1 4 1'/%3E%3Cpath d='M12 3v7'/%3E%3Cpath d='M7 8a5 5 0 0 1 10 0'/%3E%3C/svg%3E");
}

.listing-amenity-card[data-amenity="property-type"] {
  --amenity-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='M4 12h10'/%3E%3Cpath d='M4 17h7'/%3E%3Cpath d='M17 13l3 3-3 3'/%3E%3C/svg%3E");
}

.listing-amenity-card[data-amenity="airport"] {
  --amenity-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V14L13 9V3.5C13 2.67 12.33 2 11.5 2C10.67 2 10 2.67 10 3.5V9L2 14V16L10 13.5V19L7.5 20.5V22L11.5 21L15.5 22V20.5L13 19V13.5L21 16Z'/%3E%3C/svg%3E");
}

.listing-amenity-card[data-amenity="beachfront"] {
  --amenity-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17c2 0 2-1 4-1s2 1 4 1 2-1 4-1 2 1 4 1 2-1 2-1'/%3E%3Cpath d='M5 13h14'/%3E%3Cpath d='M7 13V7h10v6'/%3E%3Cpath d='M9 9h2'/%3E%3Cpath d='M13 9h2'/%3E%3C/svg%3E");
}

.listing-amenity-card[data-amenity="ocean"] {
  --amenity-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 15c2 0 2-1.5 4-1.5S9 15 11 15s2-1.5 4-1.5S17 15 19 15s2-1.5 2-1.5'/%3E%3Cpath d='M4 19c2 0 2-1 4-1s2 1 4 1 2-1 4-1 2 1 4 1'/%3E%3Cpath d='M4 10l4-4 4 4 4-4 4 4'/%3E%3C/svg%3E");
}

.listing-amenity-card[data-amenity="pool"] {
  --amenity-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='10' rx='2'/%3E%3Cpath d='M7 19c1.7 0 1.7-1 3.4-1s1.7 1 3.4 1 1.7-1 3.4-1 1.7 1 3.4 1'/%3E%3Cpath d='M7 9h10'/%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E");
}

.listing-amenity-card[data-amenity="security"] {
  --amenity-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/svg%3E");
}

.listing-amenity-card span:not(.amenity-icon) {
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.listing-side-panel .listing-amenity-card span:not(.amenity-icon) {
  white-space: nowrap;
}

.listing-amenity-card strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.14;
  overflow-wrap: normal;
  word-break: normal;
}

.listing-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 30px;
}

.listing-actions .button {
  width: 100%;
  min-height: 56px;
  justify-content: center;
  font-size: 15px;
}

.listing-actions .button.secondary-light {
  border-color: rgba(255, 255, 255, 0.54);
  background: transparent;
  color: var(--white);
}

.listing-card-premium .button.primary {
  box-shadow: 0 14px 34px rgba(217, 184, 69, 0.18);
}

.listing-card-premium .button.secondary-light:hover {
  border-color: var(--brand);
  background: rgba(255, 255, 255, 0.08);
  color: var(--brand);
}

.listing-card-premium .listing-spec-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0 0;
}

.listing-card-premium .listing-spec-grid article {
  min-height: 72px;
  gap: 8px;
  padding: 14px 20px;
}

.listing-card-premium .listing-spec-grid span {
  font-size: 9px;
}

.listing-card-premium .listing-spec-grid strong {
  font-size: clamp(20px, 1.7vw, 27px);
}

.listing-section {
  padding: clamp(54px, 7vw, 92px) 0;
}

.listing-section.alt {
  background: var(--paper-2);
}

.listing-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
  gap: clamp(24px, 4vw, 52px);
}

.listing-main-column {
  display: grid;
  gap: 20px;
}

.listing-panel,
.listing-side-panel,
.listing-details-panel,
.listing-plan-card,
.listing-seo-card {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 46px rgba(17, 27, 43, 0.08);
}

.listing-panel,
.listing-side-panel,
.listing-details-panel,
.listing-plan-card {
  padding: clamp(22px, 3vw, 34px);
}

.listing-panel h2,
.listing-side-panel h2,
.listing-details-panel h2,
.listing-plan-card h2,
.listing-seo-card h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.listing-panel p,
.listing-side-panel p,
.listing-details-panel p,
.listing-plan-card p,
.listing-seo-card p {
  color: var(--muted);
  line-height: 1.72;
}

.listing-google-seo-panel {
  padding: clamp(28px, 3.4vw, 44px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 245, 239, 0.92)),
    radial-gradient(circle at 8% 8%, rgba(217, 184, 69, 0.08), transparent 34%);
}

.listing-google-seo-panel h2 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(26px, 2.2vw, 36px);
  line-height: 1.14;
}

.listing-google-seo-panel p:not(.eyebrow) {
  max-width: 860px;
  color: #5f6878;
  font-size: 16px;
  line-height: 1.62;
}

/* Compact long text authored in the property editor. */
.listing-google-seo-panel p:not(.eyebrow) {
  margin: 0 0 9px;
  line-height: 1.48;
}

.listing-google-seo-panel p:empty {
  display: none;
}

.listing-google-seo-panel ul,
.listing-google-seo-panel ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 12px 0 16px;
  padding-left: 22px;
}

.listing-google-seo-panel li {
  color: #293448;
  font-size: 15px;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 720px) {
  .listing-google-seo-panel ul,
  .listing-google-seo-panel ol {
    grid-template-columns: 1fr;
  }
}

.listing-google-seo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 28px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.listing-google-seo-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #172033;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.listing-google-seo-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--brand);
  transform: rotate(45deg);
}

.listing-google-seo-lots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.listing-google-seo-lots div {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(22, 33, 62, 0.11);
  background: rgba(255, 255, 255, 0.68);
  padding: 18px 20px;
}

.listing-google-seo-lots strong {
  color: var(--ink);
  font-size: 17px;
}

.listing-google-seo-lots span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.listing-google-seo-price {
  margin: 24px 0 0;
  color: var(--ink) !important;
  font-size: 17px !important;
  font-weight: 850;
}

.listing-google-seo-closing {
  margin-top: 12px;
}

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

.listing-details-head h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(24px, 1.7vw, 28px);
  font-weight: 600;
  line-height: 1.15;
}

.listing-details-head > span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ocean);
  padding: 0 12px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.listing-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}

.listing-details-grid dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  border: 0;
  background: transparent;
}

.listing-details-grid dl > div {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 15px;
  min-height: 104px;
  align-content: center;
  align-items: center;
  justify-items: start;
  border: 1px solid rgba(22, 33, 62, 0.1);
  background:
    radial-gradient(circle at 24px 50%, rgba(217, 184, 69, 0.075), transparent 34%),
    rgba(255, 255, 255, 0.94);
  padding: 17px 18px;
  text-align: left;
  box-shadow: 0 14px 34px rgba(17, 27, 43, 0.035);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.listing-details-grid dl > div:nth-child(even) {
  border-left: 1px solid rgba(22, 33, 62, 0.1);
  padding-left: 18px;
}

.listing-details-grid dl > div:nth-last-child(-n + 2) {
  border-bottom: 1px solid rgba(22, 33, 62, 0.1);
}

.listing-details-grid dl > div:hover {
  background:
    radial-gradient(circle at 24px 50%, rgba(217, 184, 69, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 58px rgba(17, 27, 43, 0.08);
  transform: translateY(-3px);
}

.listing-details-grid .detail-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(217, 184, 69, 0.09);
}

.listing-details-grid .detail-icon::before {
  content: "";
  width: 24px;
  height: 24px;
  background: #16213e;
  mask: var(--detail-icon) center/contain no-repeat;
}

.listing-details-grid [data-detail-icon="title"] {
  --detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h8l4 4v14H7z'/%3E%3Cpath d='M15 3v5h5'/%3E%3Cpath d='M10 13h6'/%3E%3Cpath d='M10 17h4'/%3E%3C/svg%3E");
}

.listing-details-grid [data-detail-icon="hoa"] {
  --detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10 12 4l8 6'/%3E%3Cpath d='M6 9v11h12V9'/%3E%3Cpath d='M9 20v-5h6v5'/%3E%3C/svg%3E");
}

.listing-details-grid [data-detail-icon="parking"] {
  --detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M10 16V8h3a2.5 2.5 0 0 1 0 5h-3'/%3E%3C/svg%3E");
}

.listing-details-grid [data-detail-icon="utilities"] {
  --detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 5 14h6l-1 8 8-12h-6l1-8Z'/%3E%3C/svg%3E");
}

.listing-details-grid [data-detail-icon="tax"] {
  --detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m19 5-14 14'/%3E%3Ccircle cx='7' cy='7' r='2.2'/%3E%3Ccircle cx='17' cy='17' r='2.2'/%3E%3C/svg%3E");
}

.listing-details-grid [data-detail-icon="furnishings"] {
  --detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12V7a3 3 0 0 1 6 0v5'/%3E%3Cpath d='M13 12V7a3 3 0 0 1 6 0v5'/%3E%3Cpath d='M4 12h16v7H4z'/%3E%3Cpath d='M7 19v2'/%3E%3Cpath d='M17 19v2'/%3E%3C/svg%3E");
}

.listing-details-grid [data-detail-icon="status"] {
  --detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8.5 12.5 2.2 2.2 4.8-5.4'/%3E%3C/svg%3E");
}

.listing-details-grid [data-detail-icon="year"] {
  --detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='17' rx='2'/%3E%3Cpath d='M8 3v4'/%3E%3Cpath d='M16 3v4'/%3E%3Cpath d='M4 10h16'/%3E%3Cpath d='M8 14h3'/%3E%3Cpath d='M8 18h6'/%3E%3C/svg%3E");
}

.listing-details-grid [data-detail-icon="rentals"] {
  --detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='4'/%3E%3Cpath d='m11 11 9 9'/%3E%3Cpath d='m17 17 3-3'/%3E%3Cpath d='m14 14 2-2'/%3E%3C/svg%3E");
}

.listing-details-grid [data-detail-icon="pets"] {
  --detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='7.2' cy='8.2' r='2.1'/%3E%3Ccircle cx='11.9' cy='6.5' r='2.2'/%3E%3Ccircle cx='16.8' cy='8.2' r='2.1'/%3E%3Ccircle cx='6.3' cy='13.1' r='1.9'/%3E%3Cpath d='M8.5 16.2c0-2.3 1.7-4.3 3.5-4.3s3.5 2 3.5 4.3c0 2-1.3 3.3-3.5 3.3s-3.5-1.3-3.5-3.3Z'/%3E%3C/svg%3E");
}

.listing-details-grid [data-detail-icon="crypto"] {
  --detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3v18'/%3E%3Cpath d='M15 3v18'/%3E%3Cpath d='M7 6h7.5a3 3 0 0 1 0 6H7'/%3E%3Cpath d='M7 12h8.5a3 3 0 0 1 0 6H7'/%3E%3C/svg%3E");
}

.listing-details-grid [data-detail-icon="negotiable"] {
  --detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20'/%3E%3Cpath d='M17 6.5H9.5a3.5 3.5 0 0 0 0 7H14a3.5 3.5 0 0 1 0 7H6.5'/%3E%3C/svg%3E");
}

.listing-details-grid [data-detail-icon="negotiable"] .detail-icon::before {
  width: 24px;
  height: 24px;
}

.listing-details-grid dt {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.listing-details-grid dd {
  margin: 7px 0 0;
  color: #172033;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 800;
  line-height: 1.22;
}

.listing-details-grid dd small {
  margin-left: 5px;
  color: var(--muted);
  font-size: 0.66em;
  font-weight: 800;
}

.listing-plan-card {
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 242, 0.96) 58%, rgba(238, 242, 237, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(11, 95, 124, 0.12), transparent 34%);
}

.listing-plan-head {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.listing-plan-head h2 {
  margin: 0;
  font-size: clamp(22px, 1.6vw, 30px);
  font-weight: 800;
  letter-spacing: 0;
}

.listing-media-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(84px, 1fr));
  gap: 6px;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  padding: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.listing-media-tab {
  position: relative;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.listing-media-tab:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.listing-media-tab.is-active {
  background: var(--abyss);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(17, 27, 43, 0.22);
}

.listing-plan-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  padding: clamp(8px, 1.2vw, 12px);
  box-shadow:
    0 28px 70px rgba(17, 27, 43, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.listing-plan-panel {
  display: none;
}

.listing-plan-panel.is-active {
  display: grid;
  gap: 12px;
}

.listing-plan-frame,
.listing-video-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(17, 27, 43, 0.08), rgba(217, 184, 69, 0.1)),
    #f5f3eb;
  aspect-ratio: 16 / 9;
  box-shadow: 0 20px 46px rgba(17, 27, 43, 0.16);
}

.listing-video-frame {
  background: var(--abyss);
}

.listing-video-poster {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  border: 0;
  background:
    linear-gradient(180deg, rgba(17, 27, 43, 0.08), rgba(17, 27, 43, 0.02) 48%, rgba(17, 27, 43, 0.42)),
    var(--video-poster) center / cover,
    linear-gradient(135deg, #182336, #4f7d62);
  color: var(--white);
  padding: 0;
  cursor: pointer;
}

.listing-video-poster::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 22%);
  content: "";
  pointer-events: none;
}

.listing-video-play {
  position: relative;
  z-index: 1;
}

.listing-video-play {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.listing-video-play::before {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 22px solid var(--white);
  content: "";
}

.listing-video-poster:hover .listing-video-play {
  background: rgba(255, 255, 255, 0.38);
  transform: scale(1.04);
}

.listing-plan-frame img,
.listing-video-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.listing-plan-frame img {
  object-fit: contain;
  padding: clamp(14px, 2vw, 24px);
}

.listing-plan-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.52);
  padding: 12px 6px 2px;
}

.listing-plan-caption[data-media-kind="video"] {
  background: transparent;
}

.listing-plan-caption strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.listing-plan-caption span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.listing-media-link {
  display: inline-flex;
  min-height: auto;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--ocean);
  padding: 0;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.listing-media-link:hover {
  color: var(--abyss);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.listing-characteristics {
  display: grid;
  align-content: start;
  gap: 22px;
  background: var(--deep-water);
  color: var(--white);
  padding: clamp(30px, 4vw, 46px);
  box-shadow: 0 34px 90px rgba(17, 27, 43, 0.26);
}

.listing-characteristics strong {
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.listing-characteristics ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.listing-characteristics li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.9);
}

.listing-characteristics li:last-child {
  border-bottom: 0;
}

.listing-characteristics li::before {
  display: none;
}

.highlight-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
}

.highlight-icon::before {
  content: "";
  width: 42px;
  height: 42px;
  background: var(--brand);
  mask: var(--highlight-icon) center/contain no-repeat;
}

.listing-characteristics [data-highlight-icon="outdoor"] {
  --highlight-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18h18'/%3E%3Cpath d='M6 18V9l6-4 6 4v9'/%3E%3Cpath d='M9 18v-5h6v5'/%3E%3Cpath d='M4 21c2 0 2-1 4-1s2 1 4 1 2-1 4-1 2 1 4 1'/%3E%3C/svg%3E");
}

.listing-characteristics [data-highlight-icon="layout"] {
  --highlight-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='14'/%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E");
}

.listing-characteristics [data-highlight-icon="turnkey"] {
  --highlight-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 7h1a5 5 0 1 1-3.5 8.5L7 10'/%3E%3Cpath d='m7 10 3-3'/%3E%3Cpath d='m7 10 3 3'/%3E%3Cpath d='M3 17h4'/%3E%3Cpath d='M5 15v4'/%3E%3C/svg%3E");
}

.listing-characteristics [data-highlight-icon="privacy"] {
  --highlight-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 7v6c0 5 8 8 8 8s8-3 8-8V7l-8-4Z'/%3E%3Cpath d='M9 12h6'/%3E%3C/svg%3E");
}

.listing-characteristics li strong {
  display: block;
  color: var(--white);
  font-size: 18px;
  line-height: 1.2;
}

.listing-characteristics li span:not(.highlight-icon) {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.42;
}

.listing-check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.listing-check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  line-height: 1.55;
}

.listing-check-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--brand);
  transform: rotate(45deg);
}

.listing-side-panel {
  --listing-side-sticky-top: clamp(88px, 12vh, 138px);
  position: sticky;
  top: var(--listing-side-sticky-top);
  align-self: start;
  max-height: calc(100vh - var(--listing-side-sticky-top) - 16px);
  margin-top: clamp(30px, 3vw, 48px);
  overflow-x: hidden;
  overflow-y: auto;
  border-top: 3px solid rgba(217, 184, 69, 0.9);
  box-shadow: 0 24px 64px rgba(17, 27, 43, 0.11);
  overscroll-behavior: contain;
  scrollbar-color: rgba(45, 58, 77, 0.34) transparent;
  scrollbar-width: thin;
  padding: 22px;
}

.listing-side-panel::-webkit-scrollbar {
  width: 6px;
}

.listing-side-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(45, 58, 77, 0.28);
}

.listing-side-panel > .eyebrow {
  margin: 0 0 14px;
}

.listing-side-panel .button {
  width: 100%;
  margin-top: 18px;
}

.listing-side-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.listing-side-heading h2 {
  margin: 0;
  font-size: clamp(26px, 2.2vw, 34px);
}

.listing-side-heading span {
  color: var(--ocean);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.listing-side-panel dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.listing-side-panel dl div {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 13px;
}

.listing-side-panel dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-side-panel dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.2;
}

.listing-side-panel .listing-amenity-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  align-items: stretch;
  gap: 6px;
  margin: 0;
}

.listing-side-panel .listing-amenity-card {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  justify-items: center;
  gap: 4px;
  min-height: 68px;
  height: auto;
  align-content: center;
  align-items: center;
  border: 1px solid rgba(23, 32, 51, 0.075);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(17, 27, 43, 0.025);
  transition:
    background 140ms ease,
    transform 140ms ease;
}

.listing-side-panel .listing-amenity-card:hover {
  background: rgba(255, 255, 255, 0.84);
  transform: translateY(-1px);
}

.listing-side-panel .listing-amenity-card[data-amenity="beach"],
.listing-side-panel .listing-amenity-card[data-amenity="airport"] {
  grid-column: 1 / -1;
  min-height: 80px;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.76);
  padding: 9px;
  box-shadow: 0 12px 32px rgba(17, 27, 43, 0.035);
}

.listing-side-panel .listing-amenity-card[data-amenity="beachfront"],
.listing-side-panel .listing-amenity-card[data-amenity="ocean"] {
  margin-top: 2px;
}

.listing-side-panel .listing-amenity-card:not([data-amenity="beach"]):not([data-amenity="airport"]):not([data-amenity="property-type"]) {
  min-height: 62px;
  gap: 3px;
  padding: 8px;
}

.listing-side-panel .listing-amenity-card .amenity-icon {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.listing-side-panel .listing-amenity-card .amenity-icon::before {
  width: 22px;
  height: 22px;
  background: var(--deep-water);
}

.listing-side-panel .listing-amenity-card span:not(.amenity-icon) {
  align-self: center;
}

.listing-side-panel .listing-amenity-card strong {
  align-self: center;
}

.listing-side-panel .listing-amenity-card[data-amenity="beach"] .amenity-icon,
.listing-side-panel .listing-amenity-card[data-amenity="airport"] .amenity-icon {
  width: 34px;
  height: 34px;
  background: transparent;
}

.listing-side-panel .listing-amenity-card[data-amenity="beach"] .amenity-icon::before,
.listing-side-panel .listing-amenity-card[data-amenity="airport"] .amenity-icon::before {
  width: 26px;
  height: 26px;
}

.listing-side-panel .listing-amenity-card strong {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.listing-side-panel .listing-amenity-card:not([data-amenity="beach"]):not([data-amenity="airport"]):not([data-amenity="property-type"]) span:not(.amenity-icon) {
  font-size: 9px;
  letter-spacing: 0.035em;
}

.listing-side-panel .listing-amenity-card[data-amenity="beach"] strong,
.listing-side-panel .listing-amenity-card[data-amenity="airport"] strong {
  font-size: clamp(22px, 1.9vw, 26px);
  line-height: 1;
}

.listing-side-panel .listing-amenity-card[data-amenity="property-type"] {
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto;
  min-height: 52px;
  justify-items: start;
  gap: 10px;
  padding: 8px 10px;
  text-align: left;
}

.listing-side-panel .listing-amenity-card[data-amenity="property-type"] span:not(.amenity-icon) {
  white-space: normal;
}

.listing-side-panel .listing-amenity-card[data-amenity="property-type"] strong {
  align-self: center;
  border: 1px solid rgba(217, 184, 69, 0.88);
  color: #b59125;
  padding: 6px 10px;
  font-family: Inter, Jost, "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

html[lang="es"] .listing-side-panel .listing-amenity-card[data-amenity="property-type"] {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  grid-template-rows: auto;
  gap: 7px;
}

html[lang="es"] .listing-side-panel .listing-amenity-card[data-amenity="property-type"] span:not(.amenity-icon) {
  min-width: 0;
  font-size: 8px;
  letter-spacing: 0.06em;
  line-height: 1.2;
  overflow-wrap: normal;
  white-space: normal;
}

html[lang="es"] .listing-side-panel .listing-amenity-card[data-amenity="property-type"] strong {
  min-width: 0;
  max-width: 100%;
  padding: 6px 7px;
  font-size: 9px;
  letter-spacing: 0.055em;
  white-space: nowrap;
}

.listing-seo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.36fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: stretch;
  padding: clamp(30px, 4vw, 48px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 239, 0.94)),
    radial-gradient(circle at 12% 12%, rgba(217, 184, 69, 0.1), transparent 38%);
}

.listing-seo-copy {
  max-width: 850px;
}

.listing-seo-copy p:not(.eyebrow) {
  max-width: 760px;
  color: #435066;
  font-size: 16px;
  line-height: 1.72;
}

.listing-seo-copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.listing-seo-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #172033;
  font-size: 13px;
  font-weight: 800;
}

.listing-seo-copy li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--brand);
  transform: rotate(45deg);
}

.listing-seo-prices {
  display: grid;
  gap: 14px;
  align-content: center;
  border-left: 1px solid rgba(23, 32, 51, 0.12);
  padding-left: clamp(20px, 3vw, 34px);
}

.listing-seo-prices div {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(22, 33, 62, 0.1);
  background: rgba(255, 255, 255, 0.62);
  padding: 16px;
}

.listing-seo-prices span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.listing-seo-prices strong {
  color: var(--ink);
}

.listing-seo-prices small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.listing-seo-prices p {
  margin: 4px 0 0;
  color: #435066;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.listing-broker-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.14fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 18px 54px rgba(17, 27, 43, 0.08);
}

.listing-broker-left h2,
.listing-broker-form-wrap h2 {
  margin: 8px 0 28px;
  color: var(--deep-water);
  font-family: Inter, Jost, "Helvetica Neue", Arial, sans-serif;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.listing-broker-left h2 {
  white-space: nowrap;
}

.listing-broker-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  border: 1px solid var(--line);
  background: linear-gradient(90deg, var(--white), rgba(248, 245, 239, 0.72));
}

.listing-broker-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  max-height: 280px;
  object-fit: cover;
  object-position: center top;
}

.listing-broker-info {
  display: grid;
  min-width: 0;
  align-content: center;
  padding: clamp(18px, 2.4vw, 28px);
}

.listing-broker-info > strong {
  color: var(--ink);
  font-family: Inter, Jost, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.listing-broker-info > span {
  margin-top: 12px;
  color: var(--brand-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.listing-broker-contacts {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.listing-broker-contacts a {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 2px;
  color: var(--ink);
  font-family: Inter, Jost, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-transform: none;
  white-space: nowrap;
}

.listing-broker-contacts b {
  min-width: 0;
  color: var(--brand-2);
  font-family: inherit;
  font-size: 0.78em;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.listing-broker-divider {
  height: 1px;
  margin: 18px 0 14px;
  background: var(--line);
}

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

.listing-broker-actions a {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(185, 148, 37, 0.32);
  color: var(--deep-water);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.listing-broker-whatsapp {
  border-color: var(--brand-2) !important;
  background: var(--brand-2);
  color: var(--white) !important;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(185, 148, 37, 0.2);
}

.listing-social-label {
  margin-top: 18px;
  color: var(--brand-2) !important;
  font-size: 11px !important;
  font-weight: 950 !important;
}

.listing-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.listing-social-links a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--brand-2);
  font-size: 11px;
  font-weight: 950;
}

.listing-broker-note {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.listing-broker-form-wrap h2 {
  color: var(--ink);
}

.listing-broker-form {
  display: grid;
  gap: 18px;
}

.listing-broker-form input,
.listing-broker-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 32, 51, 0.1);
  background: rgba(248, 245, 239, 0.2);
  color: var(--ink);
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.listing-broker-form input::placeholder,
.listing-broker-form textarea::placeholder {
  color: rgba(102, 112, 128, 0.58);
}

.listing-broker-form input:focus,
.listing-broker-form textarea:focus {
  border-color: rgba(185, 148, 37, 0.48);
  background: var(--white);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(217, 184, 69, 0.12);
}

.listing-broker-form textarea {
  min-height: 150px;
  resize: vertical;
  font-weight: 400;
  line-height: 1.5;
}

.listing-broker-form .button {
  width: 100%;
  min-height: 62px;
  border: 0;
  cursor: pointer;
  background: var(--brand-2);
  color: var(--white);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(185, 148, 37, 0.22);
}

.listing-broker-form .button:hover,
.listing-broker-whatsapp:hover {
  background: #a9811c;
  color: var(--white);
}

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

.region-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
  transform: translateZ(0);
  transition:
    border-color 320ms ease,
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 320ms ease;
}

.region-card::after {
  content: "↗";
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(217, 184, 69, 0.5);
  border-radius: 50%;
  background: rgba(17, 27, 43, 0.94);
  color: var(--brand);
  font-size: 19px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.86) rotate(-8deg);
  transition:
    opacity 260ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 260ms ease;
}

.region-card img {
  transition:
    filter 520ms ease,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.region-card .region-body {
  position: relative;
  z-index: 2;
  transition: background-color 320ms ease;
}

.region-card h3 {
  transition: color 280ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .region-card:hover {
    border-color: rgba(217, 184, 69, 0.72);
    background: #fffefa;
    box-shadow:
      0 26px 70px rgba(17, 27, 43, 0.14),
      0 0 0 1px rgba(217, 184, 69, 0.08);
  }

  .region-card:hover img {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.045);
  }

  .region-card:hover .region-body {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(248, 245, 239, 0.82));
  }

  .region-card:hover h3 {
    color: #9a7618;
  }

  .region-card:hover::after {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.region-card:focus-visible {
  border-color: var(--brand);
  outline: 3px solid rgba(217, 184, 69, 0.24);
  outline-offset: 4px;
  box-shadow: 0 24px 64px rgba(17, 27, 43, 0.14);
}

.region-card:focus-visible::after {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

@media (hover: none), (pointer: coarse), (max-width: 980px) {
  .region-card::after {
    display: none !important;
    content: none !important;
  }

  .region-card img {
    filter: none;
    transform: none;
  }

  .region-card:focus-visible {
    outline: 0;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .region-card,
  .region-card::after,
  .region-card img,
  .region-card .region-body,
  .region-card h3,
  .type-card,
  .type-card::before,
  .type-card::after {
    transition-duration: 0.01ms;
  }
}

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

.guide-card {
  min-height: 280px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 7vw, 82px);
  align-items: center;
}

.split img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  line-height: 1.62;
}

.check-list strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

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

.faq-card {
  padding: 24px;
}

.faq-card h3 {
  margin-top: 0;
}

.contact-band {
  background: var(--deep-water);
  color: var(--white);
}

.contact-band h2 {
  max-width: 720px;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.06;
}

.contact-band .hero-copy {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.62;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(34px, 7vw, 82px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.contact-form .field {
  background: var(--white);
}

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

.form-note {
  min-height: 22px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.contact-page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 14%, rgba(217, 184, 69, 0.16), transparent 28%),
    linear-gradient(135deg, #0c2035 0%, var(--deep-water) 58%, #18324a 100%);
  color: var(--white);
  padding: clamp(68px, 8vw, 118px) 0 clamp(54px, 7vw, 92px);
}

.contact-page-hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -18vw;
  width: 42vw;
  height: 42vw;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.contact-page-hero-grid,
.contact-page-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(340px, 0.72fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}

.contact-page-hero-grid {
  grid-template-columns: minmax(0, 660px) minmax(400px, 460px);
  align-items: center;
  justify-content: space-between;
}

.contact-page-hero h1 {
  max-width: 660px;
  margin-bottom: 20px;
  font-size: clamp(42px, 5vw, 78px);
}

.contact-page-hero .hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.62;
}

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

.contact-hours-card,
.contact-info-card,
.contact-form-card {
  box-shadow: var(--shadow);
}

.contact-hours-card {
  display: grid;
  gap: 14px;
  width: 100%;
  justify-self: end;
  border-top: 4px solid var(--brand);
  background: rgba(255, 255, 255, 0.08);
  padding: clamp(24px, 3vw, 34px);
  backdrop-filter: blur(16px);
}

.contact-hours-card strong,
.contact-info-card h2,
.contact-page-form h2,
.contact-success h2 {
  color: inherit;
  font-family: Inter, Jost, "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

.contact-hours-card strong {
  color: var(--white);
  font-size: 22px;
}

.contact-hours-card span,
.contact-hours-card a {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.contact-hours-card a:hover {
  color: var(--brand);
}

.contact-page-section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.contact-map-card {
  position: relative;
  min-height: clamp(560px, 45vw, 700px);
  overflow: hidden;
  background: #dce4ea;
  box-shadow: 0 30px 90px rgba(17, 27, 43, 0.14);
}

.contact-map-card iframe {
  display: block;
  width: 100%;
  height: clamp(560px, 45vw, 700px);
  border: 0;
  filter: saturate(1.06) contrast(1.04);
}

.map-pin-card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: grid;
  max-width: min(320px, calc(100% - 44px));
  gap: 6px;
  border-left: 4px solid var(--brand);
  background: rgba(17, 27, 43, 0.92);
  color: var(--white);
  padding: 18px 20px;
  box-shadow: 0 18px 36px rgba(17, 27, 43, 0.25);
  backdrop-filter: blur(10px);
}

.map-pin-card strong {
  font-size: 18px;
  font-weight: 900;
}

.map-pin-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.contact-form-card {
  border-top: 4px solid var(--brand);
  background: var(--white);
  padding: clamp(24px, 3vw, 34px);
  align-self: start;
}

.contact-page-form {
  display: grid;
  gap: 10px;
}

.contact-page-form h2,
.contact-success h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 28px;
}

.contact-page-form label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-page-form input,
.contact-page-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 32, 51, 0.16);
  background: #fbfaf7;
  color: var(--ink);
  padding: 13px 14px;
  font-size: 15px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.contact-page-form input:focus,
.contact-page-form textarea:focus {
  border-color: var(--brand);
  background: var(--white);
  outline: none;
  box-shadow: 0 0 0 4px rgba(217, 184, 69, 0.16);
}

.contact-page-form button {
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: var(--abyss);
  cursor: pointer;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.contact-page-form button:hover:enabled {
  background: #e4c955;
  transform: translateY(-1px);
}

.contact-page-form button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.contact-privacy-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.contact-success {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(217, 184, 69, 0.34);
  background: #fbfaf7;
  padding: 30px;
}

.contact-success[hidden] {
  display: none;
}

.contact-success p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.contact-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.contact-success .button.secondary {
  border-color: rgba(45, 58, 77, 0.22);
  background: rgba(45, 58, 77, 0.08);
  color: var(--deep-water);
}

.tax-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 27, 43, 0.9), rgba(45, 58, 77, 0.72)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1800&q=82") center / cover;
  color: var(--white);
  padding: clamp(72px, 9vw, 132px) 0 clamp(58px, 8vw, 104px);
}

.tax-hero::after {
  content: "";
  position: absolute;
  inset: auto -12vw -22vw auto;
  width: 46vw;
  height: 46vw;
  border: 1px solid rgba(217, 184, 69, 0.2);
  border-radius: 999px;
}

.tax-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(420px, 460px);
  gap: 60px;
  align-items: center;
  justify-content: space-between;
}

.tax-hero h1 {
  max-width: 660px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5vw, 78px);
}

.tax-hero .hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.62;
}

.tax-hero-card {
  display: grid;
  gap: 14px;
  width: 100%;
  justify-self: end;
  border-top: 4px solid var(--brand);
  background: rgba(17, 27, 43, 0.72);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 30px 90px rgba(17, 27, 43, 0.22);
  backdrop-filter: blur(12px);
}

.tax-hero-card strong {
  color: var(--white);
  font-size: 22px;
}

.tax-hero-card span {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.74);
}

.tax-hero-card b {
  color: var(--brand);
  font-weight: 950;
}

.tax-summary-band {
  background: var(--abyss);
  color: var(--white);
}

.tax-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.tax-summary-grid article {
  display: grid;
  min-height: 210px;
  align-content: start;
  gap: 12px;
  background: var(--abyss);
  padding: clamp(24px, 3vw, 34px);
}

.tax-summary-grid span {
  color: var(--brand);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tax-summary-grid strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1;
}

.tax-summary-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.55;
}

.tax-section {
  background: var(--paper);
}

.tax-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: start;
}

.tax-sticky-card {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
  border-top: 4px solid var(--brand);
  background: var(--deep-water);
  color: rgba(255, 255, 255, 0.74);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow);
}

.tax-sticky-card h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.tax-sticky-card p {
  margin: 0;
  line-height: 1.62;
}

.tax-sticky-card .button {
  width: max-content;
  margin-top: 8px;
}

.tax-content {
  display: grid;
  gap: 22px;
}

.lawyer-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(17, 27, 43, 0.94), rgba(45, 58, 77, 0.76)),
    url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1800&q=82") center / cover;
  color: var(--white);
  display: grid;
  min-height: calc(100vh - 70px);
  align-items: center;
  padding: clamp(54px, 6vw, 86px) 0;
}

.lawyer-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.68fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.lawyer-hero h1 {
  max-width: 840px;
  margin: 0 0 16px;
  color: var(--white);
  font-size: clamp(42px, 5.1vw, 74px);
  line-height: 1;
}

@media (min-width: 981px) {
  html[lang="es"] .lawyer-hero h1 {
    font-size: clamp(42px, 4.7vw, 68px);
    line-height: 1.088;
  }
}

.lawyer-hero .hero-copy {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.5;
  margin-top: 0;
}

.lawyer-hero-card {
  display: grid;
  gap: 14px;
  border-top: 4px solid var(--brand);
  background: rgba(12, 32, 53, 0.86);
  padding: 42px 64px 42px 38px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transform: translateY(34px);
}

.lawyer-hero-card strong {
  color: var(--white);
  font-size: 22px;
}

.lawyer-hero-card span {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.lawyer-section {
  background: var(--paper);
}

.lawyer-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.lawyer-side-card {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
  border-top: 4px solid var(--brand);
  background: var(--white);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: 0 24px 70px rgba(17, 27, 43, 0.08);
}

.lawyer-side-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 400;
  line-height: 1.08;
}

.lawyer-side-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.lawyer-content {
  display: grid;
  gap: 18px;
}

.lawyer-panel,
.lawyer-note {
  border: 1px solid rgba(23, 32, 51, 0.12);
  background: var(--white);
  padding: clamp(26px, 3.2vw, 40px);
  box-shadow: 0 18px 46px rgba(17, 27, 43, 0.05);
}

.lawyer-panel h2,
.lawyer-note h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 400;
  line-height: 1.08;
}

.lawyer-panel p,
.lawyer-note p {
  color: var(--muted);
  line-height: 1.72;
}

.lawyer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.lawyer-card {
  display: grid;
  min-height: 280px;
  align-content: start;
  gap: 16px;
  background: var(--white);
  padding: clamp(24px, 3vw, 34px);
}

.lawyer-card span {
  color: var(--brand-2);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lawyer-card h3 {
  margin: 22px 0 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.7vw, 38px);
  font-weight: 400;
  line-height: 1.08;
}

.lawyer-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.lawyer-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.lawyer-check-grid article {
  background: var(--white);
  padding: clamp(22px, 2.8vw, 32px);
}

.lawyer-check-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 18px;
}

.lawyer-check-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.lawyer-note {
  border-color: rgba(217, 184, 69, 0.46);
  background: linear-gradient(135deg, rgba(217, 184, 69, 0.12), rgba(255, 255, 255, 0.96));
}

.lawyer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}

.tax-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 18px 56px rgba(17, 27, 43, 0.06);
}

.tax-card.accent {
  border-top: 4px solid var(--brand);
}

.tax-card.dark {
  border: 0;
  background: var(--deep-water);
  color: rgba(255, 255, 255, 0.74);
}

.tax-card.warning {
  border-top: 4px solid var(--brand);
  background: #fbfaf7;
}

.tax-card h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.tax-card.dark h2 {
  color: var(--white);
}

.tax-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.tax-card.dark p {
  color: rgba(255, 255, 255, 0.76);
}

.tax-list-grid,
.permit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.tax-list-grid div,
.permit-grid div {
  background: var(--white);
  padding: 22px;
}

.tax-list-grid strong,
.permit-grid strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.tax-list-grid p,
.permit-grid p {
  margin-top: 10px;
}

.permit-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.tax-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  color: var(--ink);
}

.tax-table th,
.tax-table td {
  border: 1px solid var(--line);
  padding: 15px;
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}

.tax-table th {
  background: var(--deep-water);
  color: var(--white);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tax-table td {
  background: #fbfaf7;
  color: var(--muted);
}

.tax-table td:first-child {
  color: var(--ink);
  font-weight: 850;
}

.tax-muted {
  margin-top: 16px !important;
  color: var(--muted);
  font-size: 14px;
}

.tax-check-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tax-check-list.two-col {
  grid-template-columns: repeat(2, 1fr);
  column-gap: 26px;
}

.tax-check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.58;
}

.tax-check-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid var(--brand);
}

.source-card {
  background: linear-gradient(135deg, #ffffff, #f7f2e7);
}

.tax-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tax-source-links a {
  display: inline-flex;
  border: 1px solid rgba(45, 58, 77, 0.18);
  background: var(--white);
  padding: 11px 14px;
  color: var(--deep-water);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tax-source-links a:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--abyss);
}

.faq-page-hero {
  background:
    radial-gradient(circle at 76% 18%, rgba(217, 184, 69, 0.13), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f8f5ef 58%, #eee8dd 100%);
  padding: clamp(82px, 9vw, 132px) 0 clamp(46px, 6vw, 82px);
}

.faq-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.62fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: end;
}

.faq-page-hero h1 {
  max-width: 860px;
  color: var(--ink);
}

.faq-page-hero .hero-copy {
  color: var(--muted);
}

.faq-hero-card {
  display: grid;
  gap: 16px;
  border-top: 4px solid var(--brand);
  background: var(--deep-water);
  color: var(--white);
  padding: 28px;
  box-shadow: var(--shadow);
}

.faq-hero-card strong {
  color: var(--white);
  font-size: 20px;
}

.faq-hero-card span {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.faq-page-section {
  padding-top: clamp(46px, 6vw, 82px);
}

.faq-layout-premium {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.faq-side-card {
  position: sticky;
  top: 104px;
  border: 1px solid rgba(23, 32, 51, 0.12);
  background: var(--white);
  padding: 26px;
  box-shadow: 0 18px 50px rgba(17, 27, 43, 0.08);
}

.faq-side-card h2 {
  margin-top: 0;
  font-family: Inter, Jost, "Helvetica Neue", Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.18;
}

.faq-side-card p {
  color: var(--muted);
  line-height: 1.65;
}

.faq-mini-links {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.faq-mini-links a {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--ocean);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-accordion-premium {
  display: grid;
  gap: 14px;
}

.faq-accordion-premium details {
  border: 1px solid rgba(23, 32, 51, 0.12);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(17, 27, 43, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.faq-accordion-premium details[open] {
  border-color: rgba(217, 184, 69, 0.74);
  box-shadow: 0 24px 56px rgba(17, 27, 43, 0.1);
}

.faq-accordion-premium summary {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 23px 26px;
  color: var(--ink);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 900;
  line-height: 1.32;
}

.faq-accordion-premium summary::-webkit-details-marker {
  display: none;
}

.faq-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: rgba(217, 184, 69, 0.16);
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.faq-toggle {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--brand-2);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.faq-toggle::before {
  content: "+";
}

.faq-accordion-premium details[open] .faq-toggle::before {
  content: "−";
}

.faq-answer-premium {
  border-top: 1px solid rgba(23, 32, 51, 0.1);
  padding: 0 26px 25px 76px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.faq-answer-premium p {
  margin: 18px 0 0;
}

.faq-answer-premium ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.faq-answer-premium li {
  position: relative;
  padding-left: 22px;
}

.faq-answer-premium li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--brand);
}

.faq-final-card {
  margin-top: 22px;
  border: 1px solid rgba(217, 184, 69, 0.52);
  background: linear-gradient(135deg, rgba(217, 184, 69, 0.12), rgba(255, 255, 255, 0.86));
  padding: 30px;
}

.faq-final-card h2 {
  margin-top: 0;
  font-family: Inter, Jost, "Helvetica Neue", Arial, sans-serif;
  font-size: 24px;
  font-weight: 950;
}

.faq-final-card p {
  color: var(--muted);
  line-height: 1.7;
}

.buy-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17, 27, 43, 0.92), rgba(45, 58, 77, 0.78)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=82") center/cover;
  color: var(--white);
  display: grid;
  min-height: calc(100vh - 70px);
  align-items: center;
  padding: clamp(54px, 6vw, 86px) 0;
}

.buy-page .site-header {
  background: rgba(45, 58, 77, 0.97);
}

.buy-hero .wrap {
  width: min(1280px, calc(100% - 36px));
}

.buy-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(330px, 0.62fr);
  gap: clamp(44px, 5vw, 78px);
  align-items: center;
}

.buy-hero h1 {
  max-width: 790px;
  color: var(--white);
  font-size: clamp(56px, 5.8vw, 86px);
  line-height: 0.97;
}

.buy-hero .hero-copy {
  max-width: 720px;
  margin-top: clamp(24px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.45;
}

.buy-hero-card {
  justify-self: end;
  display: grid;
  gap: 16px;
  width: min(100%, 470px);
  margin-top: clamp(24px, 3vw, 38px);
  border-top: 4px solid var(--brand);
  background: rgba(12, 32, 53, 0.88);
  padding: 40px 52px 40px 36px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.buy-hero-card strong {
  color: var(--white);
  font-size: 20px;
}

.buy-hero-card span {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.5;
}

.buy-intro-band {
  background: var(--white);
  padding: clamp(28px, 4vw, 42px) 0;
}

.buy-intro-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-left: 5px solid var(--brand);
  background: #f8f5ef;
  padding: clamp(24px, 3vw, 34px);
}

.buy-intro-card strong {
  max-width: 920px;
  color: var(--ink);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.32;
}

.buy-intro-card span {
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.buy-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.buy-side-card {
  position: sticky;
  top: 104px;
  border: 1px solid rgba(23, 32, 51, 0.12);
  background: var(--white);
  padding: 26px;
  box-shadow: 0 18px 50px rgba(17, 27, 43, 0.08);
}

.buy-side-card h2 {
  margin-top: 0;
  font-family: Inter, Jost, "Helvetica Neue", Arial, sans-serif;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.18;
}

.buy-side-card p {
  color: var(--muted);
  line-height: 1.65;
}

.buy-side-links {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.buy-side-links a {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--ocean);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.buy-process {
  display: grid;
  gap: 16px;
}

.buy-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  border: 1px solid rgba(23, 32, 51, 0.12);
  background: var(--white);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 18px 42px rgba(17, 27, 43, 0.06);
}

.buy-step-number {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: rgba(217, 184, 69, 0.15);
  color: var(--brand-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.buy-step h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 400;
  line-height: 1.08;
}

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

.buy-step ul,
.buy-step ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.buy-step li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.6;
}

.buy-step li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--brand);
}

.buy-note-card,
.buy-final-card {
  border: 1px solid rgba(217, 184, 69, 0.48);
  background: linear-gradient(135deg, rgba(217, 184, 69, 0.12), rgba(255, 255, 255, 0.9));
  padding: clamp(26px, 3.4vw, 38px);
}

.buy-note-card h2,
.buy-final-card h2 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.08;
}

.buy-note-card p,
.buy-final-card p {
  color: var(--muted);
  line-height: 1.72;
}

.buy-final-card {
  background: var(--deep-water);
  color: var(--white);
}

.buy-final-card h2 {
  color: var(--white);
}

.buy-final-card p {
  color: rgba(255, 255, 255, 0.72);
}

.finance-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(17, 27, 43, 0.93), rgba(11, 95, 124, 0.58)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=82") center/cover;
  color: var(--white);
  display: grid;
  min-height: calc(100vh - 70px);
  align-items: center;
  padding: clamp(54px, 6vw, 86px) 0;
}

.finance-page .site-header {
  background: rgba(45, 58, 77, 0.97);
}

.finance-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.64fr);
  gap: clamp(42px, 6vw, 84px);
  align-items: center;
}

.finance-hero h1 {
  max-width: 880px;
  margin: 0 0 22px;
  color: var(--white);
  font-size: clamp(48px, 5.6vw, 84px);
  line-height: 0.98;
}

.finance-hero .hero-copy {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.48;
}

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

.finance-hero-card {
  display: grid;
  gap: 15px;
  border-top: 4px solid var(--brand);
  background: rgba(12, 32, 53, 0.88);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.finance-hero-card strong {
  color: var(--white);
  font-size: 22px;
}

.finance-hero-card span {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
}

.finance-hero-card b {
  color: var(--brand);
  font-weight: 950;
}

.finance-proof-band {
  background: var(--abyss);
  color: var(--white);
}

.finance-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.finance-proof-grid article {
  display: grid;
  min-height: 230px;
  align-content: start;
  gap: 12px;
  background: var(--abyss);
  padding: clamp(24px, 3vw, 34px);
}

.finance-proof-grid span,
.finance-kicker {
  color: var(--brand);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.finance-proof-grid strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  line-height: 1;
}

.finance-proof-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.55;
}

.finance-section {
  background: var(--paper);
}

.finance-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.36fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.finance-side-card {
  position: sticky;
  top: 104px;
  border-top: 4px solid var(--brand);
  background: var(--white);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: 0 24px 70px rgba(17, 27, 43, 0.08);
}

.finance-side-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 400;
  line-height: 1.08;
}

.finance-side-card p {
  color: var(--muted);
  line-height: 1.68;
}

.finance-content {
  display: grid;
  gap: 18px;
}

.finance-intro-card,
.finance-split-card,
.finance-final-card {
  border: 1px solid rgba(23, 32, 51, 0.12);
  background: var(--white);
  padding: clamp(26px, 3.4vw, 42px);
  box-shadow: 0 18px 46px rgba(17, 27, 43, 0.05);
}

.finance-intro-card h2,
.finance-split-card h2,
.finance-final-card h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.3vw, 48px);
  font-weight: 400;
  line-height: 1.08;
}

.finance-intro-card p,
.finance-split-card p,
.finance-final-card p {
  color: var(--muted);
  line-height: 1.72;
}

.finance-split-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.72fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.finance-split-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.finance-split-card li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.6;
}

.finance-split-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--brand);
}

.finance-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.finance-check-grid article {
  background: var(--white);
  padding: clamp(22px, 2.8vw, 32px);
}

.finance-check-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 18px;
}

.finance-check-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.finance-final-card {
  border-color: rgba(217, 184, 69, 0.46);
  background: linear-gradient(135deg, rgba(217, 184, 69, 0.14), rgba(255, 255, 255, 0.96));
}

.co-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(17, 27, 43, 0.94), rgba(45, 58, 77, 0.78)),
    url("https://images.unsplash.com/photo-1560520031-3a4dc4e9de0c?auto=format&fit=crop&w=1800&q=82") center / cover;
  color: var(--white);
  padding: clamp(72px, 9vw, 132px) 0 clamp(58px, 8vw, 104px);
}

.co-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(360px, 460px);
  gap: clamp(48px, 6vw, 92px);
  align-items: center;
  justify-content: space-between;
}

.co-hero h1 {
  max-width: 680px;
  margin: 0 0 22px;
  color: var(--white);
  font-size: clamp(44px, 5.4vw, 82px);
  line-height: 0.98;
}

.co-hero .hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 1.65vw, 23px);
  line-height: 1.55;
}

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

.co-hero-card {
  display: grid;
  gap: 14px;
  border-top: 4px solid var(--brand);
  background: rgba(12, 32, 53, 0.88);
  padding: clamp(28px, 4vw, 42px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.co-hero-card strong {
  color: var(--white);
  font-size: 22px;
}

.co-hero-card span {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
}

.co-section {
  background: var(--paper);
}

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

.co-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-top: 4px solid var(--brand);
  background: var(--white);
  padding: clamp(26px, 3.4vw, 42px);
  box-shadow: 0 18px 46px rgba(17, 27, 43, 0.05);
}

.co-card-wide {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(217, 184, 69, 0.12), rgba(255, 255, 255, 0.96));
}

.co-number {
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.co-card h2 {
  margin: 18px 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 400;
  line-height: 1.08;
}

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

.co-list li,
.co-steps li {
  position: relative;
  color: var(--muted);
  line-height: 1.66;
}

.co-list li {
  padding-left: 24px;
}

.co-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--brand);
}

.co-list strong {
  color: var(--ink);
}

.co-steps {
  counter-reset: coStep;
}

.co-steps li {
  min-height: 62px;
  border: 1px solid rgba(23, 32, 51, 0.1);
  background: #fbfaf7;
  padding: 18px 18px 18px 64px;
}

.co-steps li::before {
  counter-increment: coStep;
  content: counter(coStep);
  position: absolute;
  top: 16px;
  left: 18px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: var(--deep-water);
  color: var(--white);
  font-size: 12px;
  font-weight: 950;
}

.co-commission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.co-commission-grid div {
  display: grid;
  min-height: 210px;
  align-content: start;
  gap: 12px;
  background: var(--white);
  padding: clamp(22px, 2.8vw, 32px);
}

.co-commission-grid strong {
  color: var(--brand-2);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.co-commission-grid span {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1;
}

.co-commission-grid p,
.co-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.co-note {
  margin-top: 18px;
  border-left: 4px solid var(--brand);
  background: var(--white);
  padding: 16px 18px;
  font-weight: 750;
}

.co-important {
  margin: 14px 0 0;
  border: 1px solid rgba(217, 184, 69, 0.42);
  background: rgba(17, 27, 43, 0.94);
  color: rgba(255, 255, 255, 0.78);
  padding: 18px 20px;
  line-height: 1.64;
}

.co-important strong {
  color: var(--brand);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c2035;
  color: rgba(255, 255, 255, 0.72);
  padding: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(210px, 1.08fr) minmax(235px, 0.98fr) minmax(150px, 0.58fr) minmax(145px, 0.55fr) minmax(260px, 1fr);
  gap: clamp(24px, 3.4vw, 50px);
  padding: clamp(56px, 7vw, 86px) 0 34px;
}

.footer-logo img {
  width: 194px;
  height: auto;
}

.footer-logo {
  margin-bottom: -4px;
}

@media (min-width: 1200px) {
  .footer-logo {
    justify-self: start;
    transform: translateX(-22px);
  }
}

.footer-brand-block,
.footer-contact-card {
  display: grid;
  align-content: start;
  gap: 16px;
}

.footer-brand-block p {
  max-width: 380px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}

.footer-contact-card strong {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-contact-card a,
.footer-contact-card address {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.62;
}

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

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 4px;
  margin-left: 4px;
}

.footer-social a {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: rgba(255, 255, 255, 0.96);
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-social svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
  stroke: none;
}

.footer-social a[aria-label="Instagram"] svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.social-links a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.footer-social a:hover {
  color: var(--brand);
  transform: translateY(-1px);
}

.social-links a:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--abyss);
}

.footer-company,
.footer-links,
.footer-payment {
  display: grid;
  align-content: start;
  gap: 16px;
}

.footer-company strong,
.footer-links strong,
.footer-payment strong {
  display: inline-flex;
  width: fit-content;
  color: var(--brand);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-company a,
.footer-links a {
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  font-weight: 400;
}

.footer-company a:hover,
.footer-links a:hover {
  color: var(--white);
}

.payment-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: var(--abyss);
  padding: 9px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.payment-button span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payment-button span:last-child {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(17, 27, 43, 0.1);
  font-size: 0;
  line-height: 1;
}

.payment-button span:last-child::before {
  content: "→";
  color: var(--abyss);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.payment-button:hover {
  border-color: #f0cf5a;
  background: #f0cf5a;
  transform: translateY(-1px);
}

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

.payment-methods span {
  position: relative;
  display: grid;
  min-height: 68px;
  align-content: end;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.62);
  padding: 12px;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.25;
}

.payment-methods span::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 21px;
  height: 21px;
  background: rgba(255, 255, 255, 0.66);
  mask: var(--pay-icon) center / contain no-repeat;
  -webkit-mask: var(--pay-icon) center / contain no-repeat;
}

.payment-methods span::after {
  content: none;
}

.payment-methods [data-pay="wire"] {
  --pay-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-6 9 6'/%3E%3Cpath d='M5 10h14'/%3E%3Cpath d='M6 10v8'/%3E%3Cpath d='M10 10v8'/%3E%3Cpath d='M14 10v8'/%3E%3Cpath d='M18 10v8'/%3E%3Cpath d='M4 18h16'/%3E%3C/svg%3E");
}

.payment-methods [data-pay="draft"] {
  --pay-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m7 13 2 2 5-6'/%3E%3Cpath d='M15 15h3'/%3E%3C/svg%3E");
}

.payment-methods [data-pay="card"] {
  --pay-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M7 15h4'/%3E%3C/svg%3E");
}

.payment-methods [data-pay="crypto"] {
  --pay-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 8v8l8 5 8-5V8l-8-5Z'/%3E%3Cpath d='m8 10 4-2 4 2v4l-4 2-4-2v-4Z'/%3E%3C/svg%3E");
}

.footer-legal-card {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  margin-top: 4px;
  padding-top: 26px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.footer-legal-card a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 22px;
}

.footer .footer-legal-links a {
  display: inline-flex;
  margin-top: 0;
  font-size: 13px;
}

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

.social-links {
  display: flex;
  gap: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
  padding-top: 30px;
}

.footer strong {
  color: var(--white);
}

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

.crumbs {
  padding: 28px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.subhero {
  padding: 34px 0 40px;
}

.subhero h1 {
  color: var(--ink);
  max-width: 980px;
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 1.03;
}

.subhero .hero-copy {
  color: var(--muted);
  max-width: 760px;
  font-size: 18px;
  line-height: 1.55;
}

.category-page .crumbs {
  display: none;
}

.category-subhero,
.category-subhero h1,
.category-subhero .hero-copy {
  display: none;
}

.category-page .catalog-section {
  padding-top: clamp(30px, 3.8vw, 50px);
}

.article-body {
  display: grid;
  gap: 18px;
  max-width: 820px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.legal-document {
  padding-bottom: clamp(64px, 9vw, 112px);
}

.legal-document h2 {
  margin: 22px 0 0;
  color: var(--deep-water);
  font-family: Inter, Jost, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.legal-document a {
  color: var(--brand-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body h2 {
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 42px);
}

.about-hero {
  padding-bottom: clamp(46px, 6vw, 76px);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: end;
}

.about-identity,
.about-video {
  border-top: 3px solid var(--brand);
  background: var(--deep-water);
  color: rgba(255, 255, 255, 0.78);
  padding: 28px;
  box-shadow: 0 24px 70px rgba(17, 27, 43, 0.16);
}

.about-identity img {
  width: 152px;
  height: auto;
  margin-bottom: 24px;
}

.about-identity p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.video-section {
  background: var(--white);
  padding-top: clamp(34px, 4vw, 56px);
  padding-bottom: clamp(58px, 7vw, 92px);
}

.video-story {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
  padding-top: 0;
}

.about-video-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--abyss);
  box-shadow: 0 30px 90px rgba(17, 27, 43, 0.14);
}

.about-video-poster img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  object-position: center;
  opacity: 0.94;
  transition:
    opacity 220ms ease,
    transform 520ms ease;
}

.about-video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 27, 43, 0.04), rgba(17, 27, 43, 0.38)),
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.18));
  pointer-events: none;
}

.about-video-poster .video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(17, 27, 43, 0.68);
  box-shadow: 0 18px 45px rgba(17, 27, 43, 0.32);
  backdrop-filter: blur(8px);
  transform: translate(-50%, -50%);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.about-video-poster .video-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 28px solid var(--brand);
}

.about-video-poster strong {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-video-poster strong::after {
  content: "→";
  color: var(--brand);
  font-size: 17px;
}

.about-video-poster:hover img {
  opacity: 1;
  transform: scale(1.025);
}

.about-video-poster:hover .video-play {
  background: rgba(17, 27, 43, 0.82);
  transform: translate(-50%, -50%) scale(1.04);
}

.video-story-copy h2 {
  max-width: 620px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3.35vw, 52px);
  font-weight: 400;
  line-height: 1.08;
}

.video-story-copy .lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.62;
}

.company-section {
  background: var(--white);
  padding-top: 58px;
}

.company-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
}

.company-copy h2 {
  max-width: 640px;
  margin-bottom: 34px;
  font-family: Inter, Jost, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 900;
  line-height: 1.12;
}

.company-copy details {
  border-bottom: 1px solid rgba(23, 32, 51, 0.14);
  padding: 0;
}

.company-copy summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  padding: 22px 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  list-style: none;
}

.company-copy summary::-webkit-details-marker {
  display: none;
}

.company-copy summary::after {
  content: "+";
  color: var(--brand-2);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.company-copy details[open] summary {
  color: var(--ocean);
}

.company-copy details[open] summary::after {
  content: "-";
}

.company-copy details div {
  display: grid;
  gap: 18px;
  padding: 0 0 26px;
}

.company-copy p {
  max-width: 790px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.company-image {
  border: 8px solid var(--white);
  background: var(--white);
  box-shadow: 0 20px 70px rgba(17, 27, 43, 0.12);
}

.company-image img {
  width: 100%;
  aspect-ratio: 0.78 / 1;
  object-fit: cover;
  object-position: center top;
}

.about-service-grid .answer-card {
  min-height: 300px;
}

.team-section {
  background: var(--paper);
}

.team-section .section-head {
  align-items: start;
}

.team-section .lead {
  max-width: 440px;
  margin: 14px 0 0;
}

.team-grid {
  display: grid;
  max-width: 100%;
  grid-auto-columns: calc((100% - 56px) / 5);
  grid-auto-flow: column;
  grid-template-columns: none;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.agent-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: var(--abyss);
  color: var(--white);
  box-shadow: 0 24px 60px rgba(17, 27, 43, 0.12);
  outline: 0;
  scroll-snap-align: start;
}

.agent-card img {
  width: 100%;
  height: 360px;
  min-height: 360px;
  object-fit: cover;
  object-position: center top;
  transition:
    filter 260ms ease,
    transform 520ms ease;
}

.agent-card::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(180deg, transparent, rgba(17, 27, 43, 0.88));
  pointer-events: none;
}

.agent-caption,
.agent-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.agent-caption {
  padding: 20px;
  text-align: center;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.agent-caption h3,
.agent-overlay h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.1;
}

.agent-caption span,
.agent-overlay span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-overlay {
  display: grid;
  gap: 10px;
  min-height: 100%;
  align-content: center;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.agent-overlay span {
  color: var(--ocean);
}

.agent-overlay p {
  margin: 2px 0 0;
  color: var(--muted);
  line-height: 1.58;
  font-size: 14px;
}

.agent-overlay ul {
  display: none;
}

.agent-overlay li {
  display: none;
}

.agent-overlay a {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--abyss);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agent-overlay a::after {
  content: "→";
  color: var(--brand-2);
  font-size: 16px;
}

.agent-card:hover img,
.agent-card:focus-visible img {
  filter: grayscale(0.18);
  transform: scale(1.04);
}

.agent-card:hover .agent-caption,
.agent-card:focus-visible .agent-caption {
  opacity: 0;
  transform: translateY(14px);
}

.agent-card:hover .agent-overlay,
.agent-card:focus-visible .agent-overlay {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.about-process {
  background:
    linear-gradient(90deg, rgba(17, 27, 43, 0.04), transparent 34%),
    var(--paper);
}

.about-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.about-steps div {
  min-height: 260px;
  background: var(--white);
  padding: 26px;
}

.about-steps span {
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.about-steps strong {
  display: block;
  margin-top: 48px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.08;
}

.about-steps p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.about-contact-card {
  display: grid;
  gap: 22px;
  border-top: 3px solid var(--brand);
  background: rgba(255, 255, 255, 0.075);
  padding: clamp(28px, 3vw, 38px);
}

.about-contact-card strong {
  color: var(--white);
  font-size: 22px;
}

.about-contact-card a:not(.button),
.about-contact-card address {
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
  line-height: 1.6;
}

.contact-detail-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.contact-detail-list a,
.contact-detail-list address {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 66px;
  margin: 0;
  background: rgba(45, 58, 77, 0.9);
  padding: 16px 18px 16px 54px;
}

.contact-detail-list a::before,
.contact-detail-list address::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 20px;
  height: 20px;
  background: var(--brand);
  mask: var(--contact-icon) center / contain no-repeat;
  -webkit-mask: var(--contact-icon) center / contain no-repeat;
}

.contact-detail-list span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-detail-list [data-contact-icon="mail"] {
  --contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v16H4z'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E");
}

.contact-detail-list [data-contact-icon="phone"] {
  --contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.7.6 2.5a2 2 0 0 1-.5 2.1L8 9.5a16 16 0 0 0 6.5 6.5l1.2-1.2a2 2 0 0 1 2.1-.5c.8.3 1.6.5 2.5.6a2 2 0 0 1 1.7 2Z'/%3E%3C/svg%3E");
}

.contact-detail-list [data-contact-icon="pin"] {
  --contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5.5-8 11-8 11S4 15.5 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.about-contact-card .button {
  width: max-content;
  margin-top: 10px;
}

.client-hero {
  background:
    linear-gradient(135deg, rgba(17, 27, 43, 0.96), rgba(44, 63, 87, 0.92)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=82") center / cover;
  color: var(--white);
  padding: clamp(68px, 9vw, 116px) 0 clamp(52px, 7vw, 84px);
}

.client-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(360px, 440px);
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.client-hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.95;
}

.client-hero .hero-copy {
  max-width: 700px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.client-summary-card {
  display: grid;
  gap: 14px;
  width: 100%;
  justify-self: end;
  border-top: 3px solid var(--brand);
  background: rgba(255, 255, 255, 0.08);
  padding: clamp(24px, 3vw, 34px);
  backdrop-filter: blur(8px);
}

.client-summary-card strong {
  color: var(--white);
  font-size: 22px;
}

.client-summary-card span {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 750;
}

.client-section {
  background: var(--paper);
  padding-top: clamp(92px, 9vw, 140px);
}

.client-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.43fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: start;
}

.client-sticky-card {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
  border-top: 3px solid var(--brand);
  background: var(--white);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: 0 24px 80px rgba(17, 27, 43, 0.08);
}

.client-sticky-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.08;
}

.client-sticky-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.client-sticky-card .button {
  width: 100%;
  min-width: 0;
  min-height: 64px;
  margin-top: 8px;
  padding: 10px 14px;
  text-align: center;
  line-height: 1.25;
  white-space: normal;
}

.client-content {
  display: grid;
  gap: 24px;
}

.client-step-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.client-step-grid article,
.client-panel {
  background: var(--white);
  padding: clamp(24px, 3vw, 34px);
}

.client-step-grid article {
  min-height: 230px;
}

.client-step-grid span {
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.client-step-grid h3,
.client-panel h2 {
  margin: 42px 0 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.08;
}

.client-panel h2 {
  margin-top: 0;
}

.client-step-grid p,
.client-panel p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.66;
}

.client-panel.notice {
  border-top: 3px solid var(--brand);
  background: var(--deep-water);
}

.client-panel.notice h2 {
  color: var(--white);
}

.client-panel.notice p {
  color: rgba(255, 255, 255, 0.74);
}

.agent-profile-section {
  background:
    linear-gradient(180deg, var(--white) 0, var(--white) 48%, var(--paper-2) 48%, var(--paper-2) 100%);
  padding-top: clamp(34px, 4vw, 54px);
  padding-bottom: clamp(34px, 4vw, 54px);
}

.agent-profile-card {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  column-gap: clamp(28px, 5vw, 68px);
  row-gap: 28px;
  align-items: start;
  background: var(--white);
  padding: clamp(28px, 3.2vw, 44px);
  box-shadow: 0 30px 100px rgba(17, 27, 43, 0.1);
}

.agent-profile-media {
  position: relative;
  overflow: hidden;
  background: #f7f7f7;
  box-shadow: 0 22px 70px rgba(17, 27, 43, 0.08);
}

.agent-profile-media img {
  width: 100%;
  height: 390px;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
}

.agent-profile-badge {
  display: none;
}

.agent-profile-main {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 4px 0 0;
}

.agent-profile-main h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(30px, 2.6vw, 38px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.agent-role {
  margin: 0;
  color: var(--ocean);
  font-size: 18px;
  font-weight: 900;
}

.agent-contact-row {
  display: none;
}

.agent-contact-row a {
  border: 1px solid var(--line);
  background: rgba(248, 245, 239, 0.86);
  padding: 10px 12px;
  color: var(--deep-water);
  font-size: 12px;
  font-weight: 900;
}

.agent-bio {
  display: grid;
  gap: 13px;
}

.agent-bio p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.agent-action-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) minmax(180px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  background: var(--abyss);
  color: rgba(255, 255, 255, 0.78);
  padding: 18px;
}

.agent-action-panel strong {
  color: var(--white);
  font-size: 16px;
  white-space: nowrap;
}

.agent-action-panel > a:not(.button) {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 9px 12px 9px 40px;
  color: rgba(255, 255, 255, 0.8);
}

.agent-action-panel > a:not(.button)::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 12px;
  width: 18px;
  height: 18px;
  background: var(--brand);
  mask: var(--contact-icon) center / contain no-repeat;
  -webkit-mask: var(--contact-icon) center / contain no-repeat;
}

.agent-action-panel span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.agent-action-panel .button {
  min-height: 48px;
  border-radius: 2px;
  padding: 12px 18px;
  white-space: nowrap;
}

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

@media (max-width: 980px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    overscroll-behavior-x: none;
  }

  .site-header {
    overflow-x: hidden;
    overflow-x: clip;
  }

  html.menu-open,
  html.menu-open body {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .site-header.is-open {
    position: fixed;
    inset: 0;
    background: rgba(17, 27, 43, 0.7);
  }

  .nav-inner {
    grid-template-columns: auto 1fr;
    min-height: 66px;
  }

  .nav-actions {
    gap: 22px;
  }

  .nav-links {
    position: fixed;
    top: 66px;
    right: 0;
    bottom: 0;
    left: auto;
    display: grid;
    width: min(88vw, 390px);
    max-height: calc(100vh - 66px);
    max-height: calc(100dvh - 66px);
    justify-content: stretch;
    align-content: start;
    border: 0;
    border-left: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    box-shadow: -24px 0 60px rgba(17, 27, 43, 0.22);
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 0;
    overscroll-behavior: contain;
    pointer-events: none;
    touch-action: pan-y;
    transform: translateX(100%);
    transition:
      opacity 180ms ease,
      transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 240ms ease;
    visibility: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .site-header.is-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
  }

  .nav-links a {
    width: 100%;
    justify-content: flex-start;
    border-bottom: 1px solid var(--line);
    padding: 17px;
    text-align: left;
  }

  .nav-links > a,
  .nav-dropdown > .has-arrow {
    min-height: 0;
  }

  .nav-dropdown {
    display: grid;
  }

  .nav-dropdown::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(218, 188, 88, 0.08);
    box-shadow: none;
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-menu a {
    padding: 13px 17px 13px 34px;
    color: var(--muted);
    font-size: 11px;
  }

  .menu-toggle {
    position: relative;
    display: inline-grid;
    width: 48px;
    min-height: 48px;
    justify-self: end;
    place-items: center;
    border: 0;
    background:
      linear-gradient(currentColor, currentColor) center / 30px 3px no-repeat;
    padding: 0;
    color: var(--white);
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition: background-size 160ms ease;
  }

  .menu-toggle::before,
  .menu-toggle::after {
    position: absolute;
    top: 50%;
    left: 9px;
    width: 30px;
    height: 3px;
    margin-top: -1.5px;
    border-radius: 999px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease;
  }

  .menu-toggle::before {
    transform: translateY(-9px);
  }

  .menu-toggle::after {
    transform: translateY(9px);
  }

  .menu-toggle:focus {
    outline: 0;
  }

  .menu-toggle:focus-visible {
    color: var(--brand);
  }

  .site-header.is-open .menu-toggle {
    border: 0;
    background-size: 0 0;
  }

  .site-header.is-open .menu-toggle::before {
    transform: rotate(45deg);
  }

  .site-header.is-open .menu-toggle::after {
    transform: rotate(-45deg);
  }

  .hero-inner,
  .search-grid,
  .answer-grid,
  .about-hero-grid,
  .about-steps,
  .video-story,
  .company-card,
  .client-hero-grid,
  .client-layout,
  .listing-content-grid,
  .listing-seo-card,
  .listing-broker-section,
  .contact-page-hero-grid,
  .contact-page-grid,
  .faq-page-hero-grid,
  .faq-layout-premium,
  .lawyer-hero-grid,
  .lawyer-layout,
  .finance-hero-grid,
  .finance-layout,
  .finance-split-card,
  .co-hero-grid,
  .co-layout,
  .listing-shell,
  .buy-hero-grid,
  .buy-intro-card,
  .buy-layout,
  .tax-hero-grid,
  .tax-layout,
  .split,
  .contact-grid,
  .footer-main,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .client-sticky-card {
    position: static;
  }

  .listing-side-panel {
    position: static;
    max-height: none;
    transform: none;
    margin-top: 0;
    overflow: visible;
    border-top-width: 1px;
  }

  .tax-sticky-card {
    position: static;
  }

  .faq-side-card {
    position: static;
  }

  .lawyer-side-card {
    position: static;
  }

  .finance-side-card {
    position: static;
  }

  .lawyer-hero-card {
    transform: none;
  }

  .buy-side-card {
    position: static;
  }

  .client-step-grid {
    grid-template-columns: 1fr;
  }

  .listing-details-grid {
    grid-template-columns: 1fr;
  }

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

  .tax-summary-grid,
  .finance-proof-grid,
  .co-commission-grid,
  .listing-amenity-grid,
  .listing-spec-grid,
  .tax-list-grid,
  .permit-grid,
  .lawyer-grid,
  .lawyer-check-grid,
  .finance-check-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-hours-card {
    max-width: 520px;
  }

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

  .listing-broker-card {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .agent-profile-media img {
    height: 390px;
  }

  .agent-action-panel {
    grid-template-columns: 1fr;
  }

  .trust-panel {
    align-self: end;
  }

  .property-grid,
  .type-grid,
  .region-grid,
  .guide-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .property-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(280px, calc((100% - 18px) / 2));
  }

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

  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-filter-bar {
    flex-wrap: wrap;
  }

  .catalog-filter-bar select {
    flex-basis: calc(50% - 24px);
  }

  .property-body {
    flex-basis: 390px;
  }

  .about-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-auto-columns: calc((100% - 14px) / 2);
  }

  .listing-main-frame {
    aspect-ratio: 4 / 3;
  }

  .listing-main-image {
    min-height: 0;
    max-height: none;
  }

  .listing-lightbox {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    place-items: stretch;
    padding: 0;
  }

  .listing-lightbox figure {
    width: 100%;
    height: 100%;
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
    touch-action: pan-y pinch-zoom;
  }

  .listing-lightbox img {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-height: none;
    object-fit: contain;
    box-shadow: none;
    touch-action: pan-y pinch-zoom;
  }

  .listing-lightbox figcaption {
    position: fixed;
    z-index: 1003;
    bottom: max(10px, calc(env(safe-area-inset-bottom) + 6px));
    left: 50%;
    min-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(17, 27, 43, 0.78);
    padding: 7px 11px;
    line-height: 1;
    pointer-events: none;
    transform: translateX(-50%);
  }

  .listing-lightbox-arrow {
    position: fixed;
    top: 50%;
    top: 50dvh;
    z-index: 1002;
    width: 44px;
    height: 58px;
    background: rgba(17, 27, 43, 0.72);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%);
    visibility: visible;
  }

  .listing-lightbox-arrow.prev {
    left: max(14px, calc(env(safe-area-inset-left) + 6px));
  }

  .listing-lightbox-arrow.next {
    right: max(14px, calc(env(safe-area-inset-right) + 6px));
  }

  .listing-lightbox-close {
    z-index: 3;
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
    background: rgba(17, 27, 43, 0.78);
  }
}

@media (max-width: 640px) {
  .brand small {
    display: none;
  }

  .brand-logo {
    min-width: 150px;
  }

  .brand-img {
    width: 145px;
  }

  .nav-actions {
    gap: 22px;
  }

  .language-current {
    gap: 5px;
  }

  .flag-emoji {
    width: 24px;
    height: 24px;
    font-size: 22px;
  }

  .hero,
  .hero-inner {
    min-height: 700px;
  }

  h1 {
    font-size: 42px;
  }

  .client-hero h1 {
    font-size: 42px;
  }

  .client-hero {
    padding-top: 56px;
  }

  .contact-page-hero {
    padding: 48px 0 42px;
  }

  .tax-hero {
    padding: 54px 0 46px;
  }

  .lawyer-hero {
    padding: 54px 0 46px;
  }

  .finance-hero {
    padding: 54px 0 46px;
  }

  .co-hero {
    padding: 54px 0 46px;
  }

  .faq-page-hero {
    padding: 58px 0 44px;
  }

  .buy-hero {
    padding: 58px 0 44px;
  }

  .contact-page-hero h1 {
    font-size: 36px;
  }

  .tax-hero h1 {
    font-size: 38px;
  }

  .lawyer-hero h1 {
    font-size: 38px;
  }

  .finance-hero h1 {
    font-size: 38px;
  }

  .co-hero h1 {
    font-size: 38px;
  }

  .faq-page-hero h1 {
    font-size: 38px;
  }

  .buy-hero h1 {
    font-size: 38px;
  }

  .contact-page-hero .hero-copy {
    font-size: 16px;
  }

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

  .contact-info-card,
  .contact-form-card,
  .contact-success {
    padding: 24px;
  }

  .contact-map-card,
  .contact-map-card iframe {
    min-height: 360px;
    height: 360px;
  }

  .client-summary-card,
  .client-sticky-card,
  .listing-panel,
  .listing-side-panel,
  .listing-details-panel,
  .listing-plan-card,
  .listing-seo-card,
  .listing-broker-section,
  .client-step-grid article,
  .client-panel,
  .tax-sticky-card,
  .tax-card,
  .faq-side-card,
  .lawyer-side-card,
  .lawyer-panel,
  .lawyer-note,
  .lawyer-card,
  .finance-side-card,
  .finance-intro-card,
  .finance-split-card,
  .finance-final-card,
  .finance-check-grid article,
  .co-card,
  .co-commission-grid div,
  .listing-card-premium,
  .buy-side-card,
  .buy-step,
  .buy-note-card,
  .buy-final-card,
  .faq-final-card {
    padding: 24px;
  }

  .buy-step {
    grid-template-columns: 1fr;
  }

  .faq-accordion-premium summary {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 20px;
  }

  .faq-number {
    display: none;
  }

  .faq-answer-premium {
    padding: 0 20px 22px;
  }

  .tax-summary-grid,
  .finance-proof-grid,
  .co-commission-grid,
  .listing-amenity-grid,
  .listing-spec-grid,
  .tax-list-grid,
  .permit-grid,
  .lawyer-grid,
  .lawyer-check-grid,
  .finance-check-grid,
  .tax-check-list.two-col {
    grid-template-columns: 1fr;
  }

  .listing-main-image {
    min-height: 0;
  }

  .listing-thumbs {
    grid-auto-columns: minmax(118px, calc((100% - 24px) / 3));
    grid-template-rows: 86px;
  }

  .listing-lightbox {
    grid-template-columns: minmax(0, 1fr);
  }

  .listing-lightbox-arrow {
    width: 42px;
    height: 58px;
  }

  .listing-lightbox-close {
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
  }

  .listing-details-grid dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .listing-details-panel {
    padding: 22px 16px;
  }

  .listing-details-head {
    gap: 10px;
    margin-bottom: 18px;
  }

  .listing-details-head h2 {
    font-size: 23px;
  }

  .listing-details-head > span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 9px;
  }

  .listing-details-grid dl > div,
  .listing-details-grid dl > div:nth-child(even),
  .listing-details-grid dl > div:nth-last-child(-n + 2) {
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 145px;
    align-content: center;
    align-items: center;
    justify-items: center;
    border: 1px solid rgba(22, 33, 62, 0.09);
    border-radius: 14px;
    background:
      radial-gradient(circle at 50% 22%, rgba(217, 184, 69, 0.05), transparent 42%),
      linear-gradient(145deg, #ffffff 0%, #fdfdfc 100%);
    padding: 14px 12px;
    box-shadow:
      0 14px 30px rgba(17, 27, 43, 0.055),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  .listing-details-grid dl > div:hover {
    transform: none;
  }

  .listing-details-grid .detail-card:active {
    box-shadow:
      0 8px 18px rgba(17, 27, 43, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(1px);
  }

  .listing-details-grid .detail-icon {
    position: static;
    width: 56px;
    height: 56px;
    background: rgba(217, 184, 69, 0.065);
    box-shadow:
      0 8px 18px rgba(17, 27, 43, 0.035),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }

  .listing-details-grid .detail-icon::before,
  .listing-details-grid [data-detail-icon="negotiable"] .detail-icon::before {
    width: 28px;
    height: 28px;
  }

  .listing-details-grid .detail-card > div {
    display: block;
    width: 100%;
    min-height: 0;
    min-width: 0;
    padding-top: 0;
    text-align: center;
  }

  .listing-details-grid dt {
    font-size: 9.5px;
    line-height: 1.3;
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
  }

  .listing-details-grid dd {
    margin-top: 6px;
    font-size: 20px;
    line-height: 1.12;
    letter-spacing: -0.02em;
  }

  .listing-seo-card .button {
    justify-self: stretch;
  }

  .listing-plan-head,
  .listing-plan-caption {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .listing-media-tabs {
    width: 100%;
  }

  .listing-plan-head {
    flex-direction: column;
  }

  .listing-side-panel .listing-amenity-card[data-amenity="beach"],
  .listing-side-panel .listing-amenity-card[data-amenity="airport"] {
    grid-template-columns: 1fr;
    min-height: 90px;
    padding: 12px;
  }

  .listing-side-panel .listing-amenity-card[data-amenity="beach"] .amenity-icon,
  .listing-side-panel .listing-amenity-card[data-amenity="airport"] .amenity-icon {
    width: 34px;
    height: 34px;
  }

  .listing-side-panel .listing-amenity-card[data-amenity="beach"] .amenity-icon::before,
  .listing-side-panel .listing-amenity-card[data-amenity="airport"] .amenity-icon::before {
    width: 24px;
    height: 24px;
  }

  .listing-side-panel .listing-amenity-card[data-amenity="beach"] strong,
  .listing-side-panel .listing-amenity-card[data-amenity="airport"] strong {
    font-size: 24px;
  }

  .listing-broker-actions {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
  }

  .listing-broker-card {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 28px 20px 22px;
    text-align: center;
  }

  .listing-broker-card img {
    width: 168px;
    height: 168px;
    min-height: 168px;
    max-height: 168px;
    margin: 0;
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(185, 148, 37, 0.72), 0 16px 34px rgba(17, 27, 43, 0.14);
    object-position: center top;
  }

  .listing-broker-info {
    width: 100%;
    justify-items: center;
    padding: 24px 0 0;
    text-align: center;
  }

  .listing-broker-info > strong {
    font-size: clamp(19px, 5.5vw, 22px);
    letter-spacing: 0.025em;
    white-space: normal;
  }

  .listing-broker-info > span,
  .listing-social-label {
    font-size: 10px !important;
  }

  .listing-broker-info > span {
    max-width: 260px;
    margin-top: 10px;
    line-height: 1.45;
  }

  .listing-broker-contacts {
    width: 100%;
    justify-items: center;
    gap: 9px;
    margin-top: 18px;
  }

  .listing-broker-contacts a {
    max-width: 100%;
    justify-content: center;
    gap: 4px;
    font-size: clamp(12px, 3.7vw, 14px);
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .listing-broker-contacts b {
    min-width: 0;
    font-size: 0.78em;
  }

  .listing-broker-divider {
    width: 100%;
    margin: 20px 0 16px;
  }

  .listing-broker-actions a {
    min-height: 54px;
    font-size: 12px;
  }

  .listing-social-label {
    justify-self: center;
    margin-top: 22px;
    text-align: center;
  }

  .listing-social-links {
    justify-content: center;
    margin-top: 12px;
  }

  .listing-social-links a {
    width: 42px;
    height: 42px;
  }

  .tax-summary-grid article,
  .finance-proof-grid article {
    min-height: auto;
  }

  .tax-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .client-step-grid article {
    min-height: auto;
  }

  .client-step-grid h3 {
    margin-top: 28px;
  }

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

  .hero-title-es {
    font-size: clamp(32px, 9vw, 35px) !important;
  }

  .hero-inner {
    padding-bottom: 94px;
  }

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

  .type-grid,
  .region-grid,
  .guide-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .property-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(280px, 88%);
  }

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

  .catalog-filter-bar {
    display: block;
  }

  .catalog-filter-bar select,
  .catalog-filter-bar button {
    border-right: 0;
    border-bottom: 1px solid rgba(29, 38, 54, 0.14);
  }

  .catalog-filter-bar button {
    border-bottom: 0;
  }

  .about-steps {
    grid-template-columns: 1fr;
  }

  .about-video-large {
    min-height: 0;
  }

  .catalog-pagination {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .footer-main {
    padding: 44px 0;
  }

  .footer-legal-card {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .footer-legal-links {
    justify-content: flex-start;
  }

  .property-body {
    min-height: 0;
    flex: 0 0 auto;
    flex-basis: auto;
  }

  .property-card img {
    height: 230px;
  }

  .property-card[data-featured]::before,
  .property-card[data-status]::after {
    min-width: 58px;
    min-height: 28px;
    font-size: 10px;
  }

  .property-card h3 {
    min-height: auto;
    font-size: 28px;
  }

  .property-card p {
    min-height: 0;
    flex: 0 0 auto;
    font-size: 15px;
  }

  .property-link,
  .specs {
    flex: 0 0 auto;
  }

  .property-price {
    font-size: 19px;
  }

  .specs span {
    min-height: 60px;
    gap: 5px;
    font-size: 11px;
  }

  .specs span::before {
    width: 18px;
    height: 18px;
  }

  .specs span::after {
    font-size: 8px;
  }

  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .split img {
    min-height: 300px;
  }

  .agent-card,
  .agent-card img {
    height: auto;
    min-height: 340px;
  }

  .agent-card {
    display: flex;
    flex-direction: column;
  }

  .agent-card img {
    flex: 0 0 340px;
    height: 340px;
  }

  .team-grid {
    grid-auto-columns: 100%;
  }

  .agent-caption {
    display: none;
  }

  .agent-overlay {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-height: auto;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) and (orientation: landscape) {
  .listing-main-frame {
    height: clamp(240px, 70dvh, 420px);
    aspect-ratio: auto;
  }
}

.catalog-mobile-controls,
.catalog-active-filters,
.catalog-filter-sheet-head,
.catalog-filter-sheet-actions,
.catalog-filter-backdrop,
.catalog-id-search {
  display: none;
}

@media (min-width: 641px) {
  .catalog-filter-bar .catalog-id-search {
    order: 1;
    display: block;
    min-width: 0;
    min-height: 46px;
    flex: 1 1 0;
    border: 0;
    border-right: 1px solid rgba(29, 38, 54, 0.14);
    border-radius: 0;
    appearance: none;
    background: transparent;
    color: var(--ink);
    padding: 0 18px;
    font-family: Inter, Jost, "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .catalog-filter-bar .catalog-id-search::placeholder {
    color: var(--ink);
    opacity: 1;
  }

  .catalog-filter-bar .catalog-id-search:focus {
    outline: 2px solid var(--brand);
    outline-offset: -2px;
  }

  .catalog-filter-bar [data-catalog-filter-submit] {
    order: 2;
  }
}

@media (max-width: 640px) {
  html.catalog-filters-open,
  html.catalog-filters-open body {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .catalog-section {
    overflow: visible;
  }

  .catalog-toolbar {
    display: none;
  }

  .catalog-mobile-controls {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: -8px 0 14px;
    border-bottom: 1px solid rgba(29, 38, 54, 0.14);
    padding-bottom: 14px;
    scroll-margin-top: 82px;
  }

  .catalog-mobile-total {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .catalog-mobile-filter-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--abyss);
    background: var(--abyss);
    color: var(--white);
    padding: 0 15px;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .catalog-mobile-filter-button strong {
    display: inline-grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    background: var(--brand);
    color: var(--abyss);
    font-size: 10px;
  }

  .catalog-mobile-filter-button strong[hidden] {
    display: none;
  }

  .catalog-active-filters {
    display: flex;
    gap: 8px;
    margin: 0 0 16px;
    overflow-x: auto;
    padding: 0 0 4px;
    scrollbar-width: none;
  }

  .catalog-active-filters[hidden] {
    display: none;
  }

  .catalog-active-filters::-webkit-scrollbar {
    display: none;
  }

  .catalog-filter-chip {
    flex: 0 0 auto;
    min-height: 34px;
    border: 1px solid rgba(29, 38, 54, 0.16);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    padding: 0 12px;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.04em;
  }

  .catalog-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1190;
    display: block;
    border: 0;
    background: rgba(10, 16, 26, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  .catalog-filter-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .catalog-filter-bar {
    position: fixed;
    z-index: 1200;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    max-height: min(86dvh, 720px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    border: 0;
    border-radius: 24px 24px 0 0;
    background: #f8f5ef;
    padding: 18px 18px max(18px, calc(env(safe-area-inset-bottom) + 12px));
    box-shadow: 0 -28px 80px rgba(10, 16, 26, 0.28);
    opacity: 0;
    overflow-x: hidden;
    overflow-y: auto;
    pointer-events: none;
    transform: translateY(105%);
    transition:
      opacity 180ms ease,
      transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 280ms ease;
    visibility: hidden;
  }

  .catalog-filter-bar.is-mobile-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .catalog-filter-sheet-head {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(29, 38, 54, 0.14);
    padding: 2px 0 14px;
  }

  .catalog-filter-sheet-head div {
    display: grid;
    gap: 3px;
  }

  .catalog-filter-sheet-head span {
    color: #a17d1f;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 0.14em;
  }

  .catalog-filter-sheet-head strong {
    color: var(--abyss);
    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: 400;
  }

  .catalog-filter-sheet-head button {
    width: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    border: 1px solid rgba(29, 38, 54, 0.18);
    border-radius: 50%;
    background: var(--white);
    color: var(--abyss);
    padding: 0;
    font-size: 27px;
    font-weight: 400;
  }

  .catalog-filter-bar select,
  .catalog-id-search {
    display: block;
    width: 100%;
    min-height: 56px;
    flex: none;
    border: 1px solid rgba(29, 38, 54, 0.16);
    border-radius: 2px;
    background-color: var(--white);
    padding-left: 14px;
    font-size: 11px;
  }

  .catalog-id-search {
    border: 1px solid rgba(29, 38, 54, 0.16);
    border-radius: 2px;
    background: var(--white);
    color: var(--ink);
    font-family: Inter, Jost, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .catalog-id-search::placeholder {
    color: var(--ink);
    opacity: 1;
  }

  .catalog-id-search:focus {
    border-color: var(--brand);
    outline: 2px solid var(--brand);
    outline-offset: -2px;
  }

  .catalog-filter-bar select[data-catalog-filter="location"],
  .catalog-filter-bar select[data-catalog-filter="view"],
  .catalog-filter-bar select[data-catalog-filter="plot"],
  .catalog-filter-bar select[data-catalog-filter="commercialType"] {
    grid-column: 1 / -1;
  }

  .catalog-filter-bar [data-catalog-filter-submit] {
    display: none;
  }

  .catalog-filter-sheet-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(88px, 0.36fr) minmax(0, 1fr);
    gap: 10px;
    border-top: 1px solid rgba(29, 38, 54, 0.14);
    padding-top: 14px;
  }

  .catalog-filter-sheet-actions button {
    min-height: 52px;
    border: 1px solid var(--abyss);
    padding: 0 12px;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.08em;
  }

  .catalog-filter-sheet-actions [data-mobile-filter-reset] {
    background: transparent;
    color: var(--abyss);
  }

  .catalog-filter-sheet-actions [data-mobile-filter-apply] {
    background: var(--brand);
    color: var(--abyss);
  }
}

/* Premium mobile footer */
@media (max-width: 640px) {
  .footer {
    overflow: hidden;
    background:
      radial-gradient(circle at 78% 18%, rgba(29, 141, 163, 0.12), transparent 34%),
      radial-gradient(circle at 12% 82%, rgba(11, 95, 124, 0.14), transparent 38%),
      linear-gradient(145deg, #071a2d 0%, #0b2742 52%, #071b30 100%);
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 48px 0 24px;
  }

  .footer-brand-block {
    display: none;
  }

  .footer-contact-card {
    grid-column: 1 / -1;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0 0 34px;
  }

  .footer-contact-card strong,
  .footer-company strong,
  .footer-links strong,
  .footer-payment strong {
    color: rgba(255, 255, 255, 0.98);
    font-size: 15px;
    font-weight: 850;
    letter-spacing: 0.035em;
  }

  .footer-contact-card strong {
    margin-bottom: 28px;
  }

  .footer-contact-card a,
  .footer-contact-card address {
    position: relative;
    display: block;
    min-height: 34px;
    padding-left: 50px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }

  .footer-contact-card a + a,
  .footer-contact-card address {
    margin-top: 20px;
  }

  .footer-contact-card a::before,
  .footer-contact-card address::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 0;
    width: 27px;
    height: 27px;
    background: #5fa8ed;
    mask: var(--mobile-footer-icon) center / contain no-repeat;
    -webkit-mask: var(--mobile-footer-icon) center / contain no-repeat;
    filter: drop-shadow(0 0 12px rgba(95, 168, 237, 0.18));
  }

  .footer-contact-card a[href^="mailto:"] {
    --mobile-footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1.5'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E");
  }

  .footer-contact-card a[href^="tel:"] {
    --mobile-footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.7.6 2.5a2 2 0 0 1-.5 2.1L8 9.5a16 16 0 0 0 6.5 6.5l1.2-1.2a2 2 0 0 1 2.1-.5c.8.3 1.6.5 2.5.6a2 2 0 0 1 1.7 2Z'/%3E%3C/svg%3E");
  }

  .footer-contact-card address {
    --mobile-footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5.5-8 11-8 11S4 15.5 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
  }

  .footer-company,
  .footer-links {
    gap: 0;
    padding: 32px 0 28px;
  }

  .footer-company {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding-right: 18px;
  }

  .footer-links {
    padding-left: 18px;
  }

  .footer-company strong,
  .footer-links strong {
    margin-bottom: 18px;
  }

  .footer-company a,
  .footer-links a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.35;
  }

  .footer-company a:nth-of-type(n + 5) {
    display: none;
  }

  .footer-company a::after,
  .footer-links a::after {
    content: "›";
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.64);
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
  }

  .footer-payment {
    grid-column: 1 / -1;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 30px 0;
  }

  .footer-payment .payment-button {
    display: flex;
    min-height: 62px;
    border: 1px solid #e7c347;
    border-radius: 7px;
    background: linear-gradient(110deg, #edc943 0%, #d9b533 48%, #edcd51 100%);
    padding: 12px 18px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.36);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.055em;
    justify-content: center;
    gap: 14px;
  }

  .footer-payment .payment-button span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    overflow: visible;
    text-overflow: clip;
  }

  .footer-payment .payment-button span:first-child::before {
    content: "";
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    background: var(--abyss);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10' width='14' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3Cpath d='M12 14v3'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10' width='14' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3Cpath d='M12 14v3'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  .footer-payment .payment-methods {
    display: none;
  }

  .footer-legal-card {
    grid-column: 1 / -1;
    min-height: 0;
    align-items: center;
    justify-content: center;
    border-top: 0;
    margin: 0;
    padding: 26px 0 0;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
  }
}

/* Center property-search arrows within the full mobile field */
@media (min-width: 641px) {
  .search-grid .field {
    position: relative;
  }

  .search-grid .field > select {
    background-image: none;
    padding-right: 42px;
  }

  .search-grid .field:has(> select)::after {
    content: "";
    position: absolute;
    top: calc(50% + 12px);
    right: 22px;
    width: 0;
    height: 0;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    border-top: 6px solid var(--deep-water);
    pointer-events: none;
    transform: translateY(-50%);
  }
}

@media (max-width: 640px) {
  .search-grid .field {
    position: relative;
  }

  .search-grid .field > select {
    background-image: none;
    padding-right: 48px;
  }

  .search-grid .field:has(> select)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 22px;
    width: 0;
    height: 0;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    border-top: 7px solid var(--deep-water);
    pointer-events: none;
    transform: translateY(-50%);
  }
}
