@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/playfairdisplay/v37/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKdFvXDXbtXK-F2qC0s.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --black: #0a0a0a;
  --ink: #1a1a1a;
  --charcoal: #1c1c1e;
  --line-dark: #2a2a2c;
  --wine: #7c1f2a;
  --wine-soft: #a63d4a;
  --stone: #f2f0ed;
  --stone-strong: #e5e2de;
  --muted: #6b6b6b;
  --muted-soft: #9b9b9b;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --white: #ffffff;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
}

body.property-page--dark {
  background: var(--black);
}

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

svg {
  width: 1em;
  height: 1em;
  display: block;
  fill: currentColor;
}

[hidden] {
  display: none !important;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--stone);
}

.card {
  width: min(720px, 100%);
  background: var(--white);
  border: 1px solid rgba(26, 26, 26, 0.1);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(10, 10, 10, 0.06);
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--wine);
}

.inline-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.inline-nav a,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(26, 26, 26, 0.12);
  text-decoration: none;
  background: #faf8f4;
}

.btn--wine {
  background: var(--wine);
  color: var(--white);
  border-color: var(--wine);
  border-radius: 6px;
  min-height: 48px;
  padding: 0 24px;
}

code {
  font-family: Consolas, "Liberation Mono", monospace;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--line-dark);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.site-header--home {
  background: rgba(0, 0, 0, 0.5);
}

.site-header__inner {
  width: min(1280px, 100%);
  height: 64px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-link__logo {
  width: auto;
  height: 40px;
  object-fit: contain;
}

.brand-link__text {
  display: none;
  color: var(--white);
}

.brand-link__text span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.1;
}

.brand-link__text small {
  display: block;
  color: var(--muted-soft);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.site-nav a,
.site-nav button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 200ms ease;
}

.site-nav a:hover,
.site-nav button:hover {
  color: var(--wine-soft);
}

.site-nav__dropdown {
  position: relative;
}

.site-nav__dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 160px;
  margin-top: 4px;
  padding: 8px 0;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--charcoal);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav__dropdown.is-open .site-nav__dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-nav__dropdown-menu a {
  width: 100%;
  min-height: 36px;
  justify-content: flex-start;
  font-size: 0.875rem;
  letter-spacing: 0;
  text-transform: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.advisor-link {
  display: none;
  align-items: center;
  min-height: 36px;
  padding: 0 20px;
  border-radius: 4px;
  background: var(--wine);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 200ms ease;
}

.advisor-link:hover {
  background: var(--wine-soft);
}

.menu-toggle {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  display: block;
  background: var(--white);
}

.mobile-menu {
  position: fixed;
  inset: 64px 0 auto;
  z-index: 99;
  display: none;
  min-height: calc(100vh - 64px);
  padding: 18px 24px 32px;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(18px);
}

.mobile-menu.is-open {
  display: flex;
  flex-direction: column;
}

.mobile-menu a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--font-display);
  font-size: 1.125rem;
  text-decoration: none;
}

.mobile-menu__access {
  margin-top: 16px;
  padding: 14px !important;
  border: 0 !important;
  border-radius: 6px;
  background: var(--wine);
  color: var(--white) !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.not-found-stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--black);
}

.not-found-card {
  max-width: 520px;
  text-align: center;
}

.not-found-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: var(--muted-soft);
  font-size: 48px;
}

.not-found-card h1 {
  margin: 0 0 8px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
}

.not-found-card p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.62);
}

.unavailable-banner {
  margin-top: 64px;
  padding: 64px 16px;
  background: var(--stone);
  text-align: center;
}

.unavailable-banner__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: var(--muted-soft);
  font-size: 48px;
}

.unavailable-banner h2 {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.unavailable-banner p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted-soft);
}

.property-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  margin-top: 64px;
  overflow: hidden;
  background: var(--black);
}

.property-hero__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.property-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.82), rgba(10, 10, 10, 0.04), transparent);
  pointer-events: none;
}

.gallery-arrow,
.property-lightbox__arrow,
.property-lightbox__close {
  border: 0;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 20px;
  transform: translateY(-50%);
  transition: background-color 180ms ease;
}

.gallery-arrow:hover {
  background: var(--white);
}

.gallery-arrow--prev {
  left: 16px;
}

.gallery-arrow--next {
  right: 16px;
}

.gallery-counter {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.7);
  color: var(--white);
  font-size: 0.75rem;
}

.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 10;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.gallery-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.gallery-dots button.is-active {
  background: var(--white);
}

.property-hero__price {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 11;
  color: var(--white);
}

.property-hero__price span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: 2px;
  background: var(--wine);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.property-hero__price h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
}

.property-hero__price small {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
}

.property-hero__actions {
  position: absolute;
  right: 16px;
  bottom: 64px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.hero-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.hero-action:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
}

.hero-action svg {
  width: 16px;
  height: 16px;
}

.hero-action__label {
  display: inline;
}

.hero-action--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}

.hero-action--whatsapp:hover {
  background: var(--whatsapp-dark);
}

.property-thumbnails {
  width: min(800px, calc(100% - 32px));
  margin: 16px auto 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 96px;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.property-thumbnail {
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--stone);
  opacity: 0.72;
  transition: opacity 160ms ease, border-color 160ms ease;
}

.property-thumbnail.is-active {
  border-color: var(--wine);
  opacity: 1;
}

.property-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.property-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.95);
}

.property-lightbox img {
  max-width: 95vw;
  max-height: 85vh;
  object-fit: contain;
}

.property-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px;
  background: transparent;
  color: var(--white);
  font-size: 32px;
}

.property-lightbox__arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-size: 24px;
  transform: translateY(-50%);
}

.property-lightbox__arrow:hover {
  background: rgba(255, 255, 255, 0.38);
}

.property-lightbox__arrow--prev {
  left: 16px;
}

.property-lightbox__arrow--next {
  right: 16px;
}

.property-title-block,
.property-section__inner,
.video-tour-cta {
  width: min(800px, 100%);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.property-title-block {
  padding-top: 24px;
  padding-bottom: 24px;
}

.property-title-block h1 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.875rem);
  font-weight: 500;
  line-height: 1.2;
}

.property-location-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.875rem;
}

.property-location-line span {
  color: var(--wine);
  font-size: 14px;
}

.property-title-block p {
  margin: 0;
  color: var(--muted-soft);
  font-size: 11px;
}

.video-tour-cta {
  margin-bottom: 24px;
}

.video-tour-cta a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 10px;
  background: var(--stone);
  text-decoration: none;
  transition: background-color 180ms ease;
}

.video-tour-cta a:hover {
  background: var(--stone-strong);
}

.video-tour-cta__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--wine);
  color: var(--white);
  font-size: 16px;
}

.video-tour-cta strong,
.video-tour-cta small {
  display: block;
}

.video-tour-cta strong {
  color: var(--ink);
  font-weight: 600;
}

.video-tour-cta small {
  color: var(--muted);
  font-size: 0.75rem;
}

.video-tour-cta__chevron {
  margin-left: auto;
  color: var(--muted);
  font-size: 18px;
}

.property-section {
  border-top: 1px solid var(--stone-strong);
  padding: 24px 0;
}

.property-section h2,
.property-section h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
}

.property-section h2 {
  font-size: 1.25rem;
}

.property-section h3 {
  font-size: 1.125rem;
}

.property-section--stats {
  padding: 24px 0;
}

.property-stats {
  width: min(800px, 100%);
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.property-stat {
  padding: 12px 4px;
  text-align: center;
}

.property-stat__icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  color: var(--wine);
  font-size: 28px;
}

.property-stat__value {
  margin: 0;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 700;
}

.property-stat__label {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.property-description {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

.feature-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--stone);
  color: var(--ink);
  font-size: 0.875rem;
  text-transform: capitalize;
}

.feature-chip span {
  color: var(--wine);
  font-size: 18px;
}

.other-features {
  padding: 16px;
  border-radius: 10px;
  background: var(--stone);
  color: var(--ink);
  font-size: 0.875rem;
}

.location-card {
  min-height: 300px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--stone);
}

.location-card iframe {
  width: 100%;
  height: 300px;
  display: block;
  border: 0;
}

.location-card__approx {
  padding: 32px;
  text-align: center;
}

.location-card__approx > span {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: var(--muted-soft);
  font-size: 48px;
}

.location-card__approx p {
  margin: 0 0 8px;
  color: var(--muted);
}

.location-card__approx small {
  display: block;
  color: var(--muted-soft);
}

.location-card__approx iframe {
  height: 200px;
  margin-top: 16px;
  border-radius: 6px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--black);
  padding-top: 56.25%;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.property-section--contact {
  padding: 32px 0;
}

.contact-wrap {
  width: min(500px, 100%);
  margin: 0 auto;
  padding: 0 16px;
}

.contact-wrap h2 {
  text-align: center;
}

.contact-card {
  padding: 32px;
  border-radius: 14px;
  background: var(--stone);
}

.contact-card__role {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.contact-card__name {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
}

.contact-card__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.875rem;
}

.contact-card__phone svg {
  width: 14px;
  height: 14px;
}

.contact-card__actions {
  display: grid;
  gap: 12px;
}

.contact-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.contact-button:hover {
  transform: translateY(-1px);
}

.contact-button svg {
  width: 18px;
  height: 18px;
}

.contact-button--whatsapp {
  background: var(--whatsapp);
}

.contact-button--whatsapp:hover {
  background: var(--whatsapp-dark);
}

.contact-button--dark {
  background: var(--black);
}

.contact-button--dark:hover {
  background: var(--charcoal);
}

.site-footer {
  background: var(--black);
  padding: 64px 0 32px;
}

.site-footer__inner {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 16px;
}

.site-footer__brand {
  margin-bottom: 48px;
  text-align: center;
}

.site-footer__brand img {
  width: auto;
  height: 64px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.site-footer__brand p {
  margin: 0;
  color: var(--muted-soft);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.site-footer__grid h4 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-footer__grid a,
.site-footer__grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted-soft);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-footer__grid a:hover {
  color: var(--white);
}

.site-footer__copy {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--whatsapp);
  color: var(--white);
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: transform 180ms ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--whatsapp);
  animation: pulse-ring 3s ease-out infinite;
}

.whatsapp-float svg {
  position: relative;
  z-index: 1;
}

@keyframes pulse-ring {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

.catalog-page {
  background: var(--white);
}

.catalog-hero {
  position: relative;
  min-height: 440px;
  margin-top: 64px;
  overflow: hidden;
  background: var(--black);
}

.catalog-hero__media,
.catalog-hero__media img,
.catalog-hero__shade {
  position: absolute;
  inset: 0;
}

.catalog-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-hero__shade {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.58), rgba(10, 10, 10, 0.45), rgba(10, 10, 10, 0.82));
}

.catalog-hero__content {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 92px 16px 56px;
}

.catalog-hero__content > p:first-child {
  margin: 0 0 12px;
  color: var(--muted-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.catalog-hero__content h1 {
  max-width: 720px;
  margin: 0 0 16px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
}

.catalog-hero__copy {
  max-width: 580px;
  margin: 0;
  color: #c0c0c0;
  font-size: 1rem;
}

.catalog-main {
  position: relative;
  width: min(1280px, 100%);
  margin: -48px auto 0;
  padding: 0 16px 72px;
}

.catalog-toolbar {
  position: relative;
  z-index: 2;
  margin-bottom: 28px;
}

.catalog-filters {
  padding: 18px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.catalog-filters__row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.catalog-filters__row--segmented {
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.catalog-filters__label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-segmented {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.catalog-segmented label {
  position: relative;
}

.catalog-segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.catalog-segmented span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: #f4f0ea;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
}

.catalog-segmented input:checked + span {
  background: var(--black);
  color: var(--white);
}

.catalog-filters__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.catalog-field,
.catalog-chip-note {
  min-height: 72px;
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fbfaf7;
  border: 1px solid rgba(26, 26, 26, 0.08);
}

.catalog-field span,
.catalog-chip-note span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-field input,
.catalog-field select {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
}

.catalog-field--search {
  grid-column: span 2;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
}

.catalog-field--search span {
  width: 18px;
  height: 18px;
  align-self: center;
  color: var(--muted);
  font-size: 18px;
}

.catalog-field--search input {
  align-self: center;
}

.catalog-chip-note strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

.catalog-filters__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.catalog-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
}

.catalog-button--primary {
  background: var(--wine);
  color: var(--white);
  border-color: var(--wine);
}

.catalog-button--primary:hover {
  background: var(--wine-soft);
  border-color: var(--wine-soft);
}

.catalog-button--ghost {
  background: transparent;
  border-color: rgba(26, 26, 26, 0.12);
}

.catalog-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}

.catalog-summary__eyebrow {
  margin: 0 0 8px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.catalog-summary__copy h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.08;
}

.catalog-summary__copy p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

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

.catalog-summary__stats div {
  min-width: 130px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--stone);
  text-align: center;
}

.catalog-summary__stats strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
}

.catalog-summary__stats span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catalog-type-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.catalog-type-strip a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(26, 26, 26, 0.1);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.catalog-type-strip a.is-active {
  border-color: var(--wine);
  background: rgba(124, 31, 42, 0.08);
  color: var(--wine);
}

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

.catalog-card {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.catalog-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd6cf;
}

.catalog-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 500ms ease;
}

.catalog-card:hover .catalog-card__media img {
  transform: scale(1.05);
}

.catalog-card__badge {
  position: absolute;
  top: 12px;
  padding: 4px 12px;
  border-radius: 2px;
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-card__badge--status {
  left: 12px;
}

.catalog-card__badge--publicada {
  background: #2d7a3e;
}

.catalog-card__badge--destacada {
  background: var(--wine);
}

.catalog-card__badge--operation {
  right: 12px;
  background: var(--black);
}

.catalog-card__body {
  padding: 16px;
}

.catalog-card__price {
  margin: 0 0 4px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}

.catalog-card__price span {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
}

.catalog-card__type {
  margin: 0 0 4px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catalog-card__title {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.catalog-card__location {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.catalog-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.catalog-card__specs span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.75rem;
}

.catalog-card__specs svg {
  width: 14px;
  height: 14px;
}

.catalog-empty {
  padding: 56px 24px;
  border-radius: 18px;
  background: var(--stone);
  text-align: center;
}

.catalog-empty h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}

.catalog-empty p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 640px) {
  .site-header__inner {
    padding: 0 24px;
  }

  .brand-link__text {
    display: block;
  }

  .advisor-link {
    display: inline-flex;
  }

  .property-title-block,
  .property-section__inner,
  .video-tour-cta,
  .property-stats {
    padding-left: 24px;
    padding-right: 24px;
  }

  .catalog-hero__content,
  .catalog-main {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 768px) {
  .site-header__inner {
    height: 72px;
  }

  .mobile-menu {
    inset: 72px 0 auto;
    min-height: calc(100vh - 72px);
  }

  .unavailable-banner,
  .property-hero {
    margin-top: 72px;
  }

  .catalog-hero {
    margin-top: 72px;
    min-height: 500px;
  }

  .property-hero {
    height: 60vh;
    min-height: 450px;
  }

  .property-hero__price {
    left: 24px;
    bottom: 24px;
  }

  .property-hero__actions {
    right: 24px;
    bottom: 24px;
  }

  .gallery-counter {
    right: 24px;
    bottom: 24px;
  }

  .gallery-dots {
    bottom: 24px;
  }

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

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

  .location-card,
  .location-card iframe {
    min-height: 400px;
  }

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

@media (min-width: 1024px) {
  .site-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

@media (max-width: 1100px) {
  .catalog-filters__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-field--search {
    grid-column: span 2;
  }

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

@media (max-width: 680px) {
  .property-hero__actions {
    right: 16px;
    bottom: 72px;
    left: auto;
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .hero-action {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    gap: 0;
    justify-content: center;
    font-size: 0.8125rem;
  }

  .hero-action__label {
    display: none;
  }

  .hero-action svg {
    width: 15px;
    height: 15px;
  }

  .property-hero__price {
    right: 16px;
  }

  .property-thumbnails {
    grid-auto-columns: 84px;
  }

  .property-thumbnail {
    height: 62px;
  }

  .property-lightbox__arrow {
    width: 40px;
    height: 40px;
  }

  .property-lightbox__arrow--prev {
    left: 8px;
  }

  .property-lightbox__arrow--next {
    right: 8px;
  }

  .contact-card {
    padding: 24px;
  }

  .site-footer__brand p {
    font-size: 1.05rem;
  }

  .catalog-main {
    margin-top: -36px;
    padding-bottom: 56px;
  }

  .catalog-filters {
    padding: 16px;
  }

  .catalog-filters__grid {
    grid-template-columns: 1fr;
  }

  .catalog-field--search {
    grid-column: auto;
  }

  .catalog-summary {
    grid-template-columns: 1fr;
  }

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

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Kimi utility subset: local CSS for the exported Tailwind-like markup. */
.kimi-header { --kimi-header-height: 64px; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-4 { bottom: 1rem; }
.bottom-6 { bottom: 1.5rem; }
.bottom-8 { bottom: 2rem; }
.left-1\/2 { left: 50%; }
.z-10 { z-index: 10; }
.z-\[100\] { z-index: 100; }
.z-\[200\] { z-index: 200; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-2 { margin-left: .5rem; margin-right: .5rem; }
.mb-1\.5 { margin-bottom: .375rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.ml-2 { margin-left: .5rem; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.h-0\.5 { height: .125rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }
.min-h-\[50vh\] { min-height: 50vh; }
.min-h-\[600px\] { min-height: 600px; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-14 { width: 3.5rem; }
.w-auto { width: auto; }
.w-full { width: 100%; }
.w-\[90\%\] { width: 90%; }
.max-w-md { max-width: 28rem; }
.max-w-\[400px\] { max-width: 400px; }
.max-w-\[500px\] { max-width: 500px; }
.max-w-\[600px\] { max-width: 600px; }
.max-w-\[680px\] { max-width: 680px; }
.max-w-\[700px\] { max-width: 700px; }
.max-w-\[720px\] { max-width: 720px; }
.max-w-\[1280px\] { max-width: 1280px; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.resize-none { resize: none; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .25rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: .5rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.rounded { border-radius: .25rem; }
.rounded-md { border-radius: .375rem; }
.rounded-lg { border-radius: .5rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-dashed { border-style: dashed; }
.border-\[\#2A2A2C\] { border-color: #2a2a2c; }
.border-\[\#E5E2DE\] { border-color: #e5e2de; }
.border-\[\#7C1F2A\] { border-color: #7c1f2a; }
.border-white { border-color: #fff; }
.bg-transparent { background-color: transparent; }
.bg-white { background-color: #fff; }
.bg-\[\#0A0A0A\] { background-color: #0a0a0a; }
.bg-\[\#0A0A0A\]\/95 { background-color: rgba(10, 10, 10, .95); }
.bg-\[\#1C1C1E\] { background-color: #1c1c1e; }
.bg-\[\#25D366\] { background-color: #25d366; }
.bg-\[\#2D7A3E\] { background-color: #2d7a3e; }
.bg-\[\#7C1F2A\] { background-color: #7c1f2a; }
.bg-\[\#E5E2DE\] { background-color: #e5e2de; }
.bg-\[\#F2F0ED\] { background-color: #f2f0ed; }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-\[\#7C1F2A\] { --tw-gradient-from: #7c1f2a; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(124,31,42,0)); }
.from-\[\#0A0A0A\]\/60 { --tw-gradient-from: rgba(10, 10, 10, .6); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(10,10,10,0)); }
.via-\[\#0A0A0A\]\/40 { --tw-gradient-stops: var(--tw-gradient-from), rgba(10, 10, 10, .4), var(--tw-gradient-to, rgba(10,10,10,0)); }
.to-\[\#0A0A0A\]\/85 { --tw-gradient-to: rgba(10, 10, 10, .85); }
.to-\[\#A63D4A\] { --tw-gradient-to: #a63d4a; }
.from-\[\#0A0A0A\]\/80 { --tw-gradient-from: rgba(10, 10, 10, .8); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(10,10,10,0)); }
.via-transparent { --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to, rgba(10,10,10,0)); }
.to-transparent { --tw-gradient-to: transparent; }
.object-cover { object-fit: cover; }
.p-2 { padding: .5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1\.5 { padding-top: .375rem; padding-bottom: .375rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-3\.5 { padding-top: .875rem; padding-bottom: .875rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-16 { padding-top: 4rem; }
.pb-8 { padding-bottom: 2rem; }
.pl-10 { padding-left: 2.5rem; }
.pr-4 { padding-right: 1rem; }
.pr-12 { padding-right: 3rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-\[13px\] { font-size: 13px; }
.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.italic { font-style: italic; }
.leading-tight { line-height: 1.25; }
.leading-\[1\.1\] { line-height: 1.1; }
.leading-\[1\.7\] { line-height: 1.7; }
.tracking-\[0\.08em\] { letter-spacing: .08em; }
.tracking-\[0\.1em\] { letter-spacing: .1em; }
.tracking-\[0\.15em\] { letter-spacing: .15em; }
.tracking-\[0\.2em\] { letter-spacing: .2em; }
.text-white { color: #fff; }
.text-white\/60 { color: rgba(255, 255, 255, .6); }
.text-white\/80 { color: rgba(255, 255, 255, .8); }
.text-\[\#1A1A1A\] { color: #1a1a1a; }
.text-\[\#6B6B6B\] { color: #6b6b6b; }
.text-\[\#7C1F2A\] { color: #7c1f2a; }
.text-\[\#9B9B9B\] { color: #9b9b9b; }
.text-\[\#A63D4A\] { color: #a63d4a; }
.text-\[\#C0C0C0\] { color: #c0c0c0; }
.placeholder\:text-\[\#6B6B6B\]::placeholder { color: #6b6b6b; }
.placeholder\:text-\[\#9B9B9B\]::placeholder { color: #9b9b9b; }
.shadow-\[0_2px_20px_rgba\(0\2c 0\2c 0\2c 0\.3\)\] { box-shadow: 0 2px 20px rgba(0,0,0,.3); }
.shadow-\[0_4px_16px_rgba\(37\2c 211\2c 102\2c 0\.4\)\] { box-shadow: 0 4px 16px rgba(37,211,102,.4); }
.shadow-\[0_8px_40px_rgba\(0\2c 0\2c 0\2c 0\.25\)\] { box-shadow: 0 8px 40px rgba(0,0,0,.25); }
.outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.backdrop-blur-xl { backdrop-filter: blur(24px); }
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-duration: 150ms; }
.transition-all { transition-property: all; transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-400 { transition-duration: 400ms; }
.duration-600 { transition-duration: 600ms; }
.opacity-100 { opacity: 1; }
.translate-y-0 { transform: translateY(0); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.hover\:bg-\[\#A63D4A\]:hover { background-color: #a63d4a; }
.hover\:bg-\[\#1C1C1E\]:hover { background-color: #1c1c1e; }
.hover\:bg-\[\#E5E2DE\]:hover { background-color: #e5e2de; }
.hover\:bg-\[\#F2F0ED\]:hover { background-color: #f2f0ed; }
.hover\:bg-white:hover { background-color: #fff; }
.hover\:text-\[\#A63D4A\]:hover { color: #a63d4a; }
.hover\:text-\[\#0A0A0A\]:hover { color: #0a0a0a; }
.hover\:text-\[\#1A1A1A\]:hover { color: #1a1a1a; }
.hover\:text-white:hover { color: #fff; }
.hover\:scale-110:hover { transform: scale(1.1); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:-translate-y-1 { transform: translateY(-.25rem); }
.focus\:border-\[\#7C1F2A\]:focus { border-color: #7c1f2a; }
.focus\:ring-1:focus { box-shadow: 0 0 0 1px var(--kimi-ring-color, #7c1f2a); }
.focus\:ring-\[\#7C1F2A\]:focus { --kimi-ring-color: #7c1f2a; }
.last\:flex-none:last-child { flex: none; }
.cursor-default { cursor: default; }
.cursor-pointer { cursor: pointer; }
.animate-fade-in-up { animation: fadeInUp .7s ease both; }
.animate-bounce-gentle { animation: bounce-gentle 2s ease-in-out infinite; }
.animate-ken-burns { animation: ken-burns 16s ease-out alternate infinite; }
.animate-pulse-ring { animation: pulse-ring 3s ease-out infinite; }
.kimi-publish-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 180px;
  padding: .5rem 0;
  border: 1px solid #2a2a2c;
  border-radius: .375rem;
  background: #1c1c1e;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-.25rem);
  transition: opacity 160ms ease, transform 160ms ease;
}
.kimi-publish-menu.is-open .kimi-publish-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.kimi-publish-dropdown a {
  display: block;
  padding: .625rem 1rem;
  color: #9b9b9b;
  font: 500 .8125rem/1.2 var(--font-body);
  text-decoration: none;
}
.kimi-publish-dropdown a:hover { color: #fff; background: rgba(255,255,255,.05); }
.kimi-mobile-menu {
  display: none;
  position: fixed;
  inset: 64px 0 auto;
  min-height: calc(100vh - 64px);
  padding: 1.25rem 1.5rem;
  background: rgba(10,10,10,.98);
  z-index: 99;
}
.kimi-mobile-menu.is-open { display: grid; align-content: start; gap: .25rem; }
.kimi-mobile-menu a {
  padding: .875rem 0;
  border-bottom: 1px solid #2a2a2c;
  color: rgba(255,255,255,.84);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.125rem;
}
.kimi-form-step[hidden] { display: none !important; }
.kimi-segment input,
.kimi-chip input { position: absolute; opacity: 0; pointer-events: none; }
.kimi-segment span {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: .625rem;
  border-radius: .375rem;
  background: #f2f0ed;
  color: #6b6b6b;
  font: 500 .875rem/1.25rem var(--font-body);
  text-transform: capitalize;
  transition: background-color 150ms, color 150ms;
}
.kimi-segment input:checked + span { background: #0a0a0a; color: #fff; }
.kimi-chip span {
  display: inline-flex;
  padding: .5rem 1rem;
  border-radius: .375rem;
  background: #f2f0ed;
  color: #6b6b6b;
  font: .875rem/1.25rem var(--font-body);
  transition: background-color 150ms, color 150ms;
}
.kimi-chip input:checked + span { background: #0a0a0a; color: #fff; }
.public-toggle-choice,
.kimi-feature-chip {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}
.public-toggle-choice input,
.kimi-feature-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.public-toggle-choice input:checked + span,
.kimi-feature-chip input:checked + span {
  background: #0a0a0a;
  color: #fff;
}
.public-toggle-choice input:focus-visible + span,
.kimi-feature-chip input:focus-visible + span {
  box-shadow: 0 0 0 1px #7c1f2a;
}

@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:w-64 { width: 16rem; }
}

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .md\:gap-5 { gap: 1.25rem; }
  .md\:h-\[72px\] { height: 72px; }
  .md\:min-h-\[700px\] { min-height: 700px; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-\[42px\] { font-size: 42px; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:text-\[56px\] { font-size: 56px; }
}

/* Kimi utility supplements used by the reverse visual migration. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.inline-flex { display: inline-flex; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.top-1\/2 { top: 50%; }
.top-4 { top: 1rem; }
.left-3 { left: .75rem; }
.left-4 { left: 1rem; }
.right-3 { right: .75rem; }
.right-4 { right: 1rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.h-12 { height: 3rem; }
.w-20 { width: 5rem; }
.h-14 { height: 3.5rem; }
.w-auto { width: auto; }
.mb-1 { margin-bottom: .25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: .75rem; }
.mt-6 { margin-top: 1.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: .75rem; }
.border-l-4 { border-left-width: 4px; }
.border-r { border-right-width: 1px; }
.border-\[\#1A1A1A\] { border-color: #1a1a1a; }
.border-\[\#2D7A3E\] { border-color: #2d7a3e; }
.bg-\[\#2D7A3E\]\/20 { background-color: rgba(45, 122, 62, .2); }
.bg-\[\#7C1F2A\]\/20 { background-color: rgba(124, 31, 42, .2); }
.bg-white\/5 { background-color: rgba(255, 255, 255, .05); }
.tracking-wider { letter-spacing: .05em; }
.text-\[10px\] { font-size: 10px; }
.text-\[12px\] { font-size: 12px; }
.text-xs { font-size: .75rem; line-height: 1rem; }
.font-bold { font-weight: 700; }
.hover\:border-\[\#7C1F2A\]:hover { border-color: #7c1f2a; }
.hover\:bg-\[\#0A0A0A\]:hover { background-color: #0a0a0a; }
.hover\:bg-\[\#1A1A1A\]:hover { background-color: #1a1a1a; }
.hover\:bg-white\/5:hover { background-color: rgba(255, 255, 255, .05); }
.disabled\:opacity-50:disabled { opacity: .5; }

.kimi-operation-button {
  min-width: 92px;
  padding: .625rem 1rem;
  border: 0;
  border-radius: .375rem;
  background: transparent;
  color: #6b6b6b;
  font: 500 .875rem/1.25rem var(--font-body);
  transition: background-color 150ms ease, color 150ms ease;
}
.kimi-operation-button.is-active {
  background: #0a0a0a;
  color: #fff;
}
.kimi-input {
  width: 100%;
  border: 1px solid #e5e2de;
  border-radius: .375rem;
  padding: .625rem 1rem;
  color: #1a1a1a;
  font: .875rem/1.25rem var(--font-body);
  background: #fff;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.kimi-input:focus {
  border-color: #7c1f2a;
  box-shadow: 0 0 0 1px #7c1f2a;
}
.kimi-textarea {
  min-height: 132px;
  resize: vertical;
}
.kimi-step-circle {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e5e2de;
  color: #6b6b6b;
  font: 500 .75rem/1 var(--font-body);
}
.kimi-step-circle.is-active {
  background: #7c1f2a;
  color: #fff;
}
.kimi-step-circle.is-complete,
[data-kimi-step-line].is-complete {
  background: #2d7a3e;
  color: #fff;
}
.kimi-confirm-chip {
  display: inline-flex;
  align-items: center;
  padding: .375rem .75rem;
  border-radius: 999px;
  background: #fff;
  color: #1a1a1a;
  font: .75rem/1rem var(--font-body);
}
.kimi-form-notice {
  padding: .875rem 1rem;
  border: 1px solid;
  border-radius: .375rem;
  font: .875rem/1.4 var(--font-body);
}
.kimi-form-notice ul {
  margin: .5rem 0 0;
  padding-left: 1.2rem;
}
.kimi-form-notice--error {
  border-color: #7c1f2a;
  background: rgba(124, 31, 42, .08);
  color: #7c1f2a;
}
.kimi-form-notice--success {
  border-color: #2d7a3e;
  background: rgba(45, 122, 62, .08);
  color: #2d7a3e;
}

.public-file-picker.has-files {
  border-color: #7c1f2a;
  background: #fbfaf8;
}

.public-file-picker__selection {
  width: min(100%, 460px);
  margin: 0 auto 16px;
  padding: 14px 16px;
  border: 1px solid #e5e2de;
  border-radius: 8px;
  background: #fff;
  text-align: left;
}

.public-file-picker__count {
  margin: 0 0 8px;
  color: #1a1a1a;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
}

.public-file-picker__list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.public-file-picker__list li {
  overflow: hidden;
  color: #6b6b6b;
  font-family: var(--font-body);
  font-size: .8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-file-picker__more {
  color: #7c1f2a !important;
  font-weight: 700;
}

.public-file-picker__uploading {
  width: min(100%, 460px);
  margin: 16px auto 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(124, 31, 42, .08);
  color: #6b6b6b;
  font-family: var(--font-body);
  font-size: .82rem;
}

.public-file-picker__uploading strong,
.public-file-picker__uploading span {
  display: block;
}

.public-file-picker__uploading strong {
  margin-bottom: 3px;
  color: #7c1f2a;
}

/* Kimi visual migration: public landing, about and submission pages. */
.home-page,
.about-page,
.public-submission-page {
  background: var(--white);
}

.home-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px 16px 56px;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0.88)),
    radial-gradient(circle at 72% 24%, rgba(124, 31, 42, 0.34), transparent 32%),
    linear-gradient(135deg, #0a0a0a 0%, #1c1c1e 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.12;
}

.home-hero__shade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.92));
}

.home-hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  text-align: center;
}

.home-kicker {
  margin: 0 0 16px;
  color: var(--wine-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.home-kicker--wine {
  color: var(--wine);
}

.home-hero h1,
.home-section__head h2,
.home-editorial h2,
.about-hero h1,
.about-block h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.home-hero h1 {
  max-width: 880px;
  margin: 0 auto;
  color: var(--white);
  font-size: clamp(3rem, 9vw, 6.75rem);
}

.home-hero p:not(.home-kicker) {
  max-width: 680px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.home-search {
  width: min(920px, 100%);
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  text-align: left;
}

.home-search label {
  display: grid;
  gap: 4px;
  padding: 8px 16px;
  border-right: 1px solid var(--stone-strong);
}

.home-search span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-search select,
.home-search input {
  width: 100%;
  min-height: 34px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.home-search button {
  min-height: 56px;
  padding: 0 32px;
  border: 0;
  border-radius: 6px;
  background: var(--wine);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 180ms ease;
}

.home-search button:hover {
  background: var(--wine-soft);
}

.home-section {
  padding: 88px 16px;
}

.home-section--stone {
  background: var(--stone);
}

.home-section__head {
  width: min(760px, 100%);
  margin: 0 auto 40px;
  text-align: center;
}

.home-section__head h2,
.home-editorial h2,
.about-hero h1 {
  color: var(--ink);
  font-size: clamp(2.25rem, 5vw, 4rem);
}

.home-category-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-category-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  background:
    linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.86)),
    radial-gradient(circle at top, rgba(124, 31, 42, 0.18), transparent 45%),
    var(--charcoal);
  color: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(10, 10, 10, 0.18);
}

.home-category-card span {
  color: var(--wine-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-category-card strong {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.18;
}

.home-editorial {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: 48px;
  align-items: center;
}

.home-editorial__content p:not(.home-kicker) {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.home-editorial__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.home-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--wine);
}

.home-editorial__panel {
  min-height: 420px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.1), rgba(10, 10, 10, 0.92)),
    radial-gradient(circle at top left, rgba(124, 31, 42, 0.34), transparent 40%),
    var(--black);
  color: var(--white);
}

.home-editorial__panel span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--wine-soft);
  font-family: var(--font-display);
}

.home-editorial__panel h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
}

.home-editorial__panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.about-hero {
  padding: 168px 16px 104px;
  background:
    radial-gradient(circle at 70% 18%, rgba(124, 31, 42, 0.28), transparent 34%),
    linear-gradient(135deg, var(--black), var(--charcoal));
  color: var(--white);
  text-align: center;
}

.about-hero__inner {
  width: min(860px, 100%);
  margin: 0 auto;
}

.about-hero h1 {
  color: var(--white);
}

.about-hero p:not(.home-kicker) {
  max-width: 680px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
}

.about-content {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0 96px;
  display: grid;
  gap: 28px;
}

.about-block {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--stone-strong);
}

.about-block span {
  color: var(--wine);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.about-block h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.about-block p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.public-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 34px;
}

.public-stepper__item {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-stepper__item span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--stone-strong);
  background: var(--stone);
  color: var(--muted);
}

.public-stepper__item.is-active span {
  border-color: var(--wine);
  background: var(--wine);
  color: var(--white);
}

@media (max-width: 960px) {
  .home-search,
  .home-category-grid,
  .home-editorial {
    grid-template-columns: 1fr;
  }

  .home-search label {
    border-right: 0;
    border-bottom: 1px solid var(--stone-strong);
  }

  .home-editorial {
    padding: 72px 0;
  }
}

@media (max-width: 680px) {
  .home-hero {
    min-height: auto;
    padding-top: 124px;
  }

  .home-section {
    padding: 64px 16px;
  }

  .home-category-card {
    min-height: 210px;
  }

  .about-block {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .public-stepper {
    gap: 8px;
  }

  .public-stepper__item {
    font-size: 0.62rem;
  }
}
