:root {
  --bg: #07111f;
  --bg-soft: #0d192b;
  --panel: rgba(9, 18, 33, 0.84);
  --panel-border: rgba(212, 176, 107, 0.24);
  --surface: #f6f1e8;
  --surface-alt: #efe4d2;
  --text: #ecedf0;
  --text-dim: #b9c2d0;
  --ink: #111111;
  --gold: #d7b06e;
  --gold-strong: #f3ca84;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.32);
  --radius: 26px;
  --radius-sm: 18px;
  --content-width: min(1180px, calc(100vw - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 176, 110, 0.18), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(66, 92, 135, 0.22), transparent 25%),
    linear-gradient(180deg, #06101d 0%, #0b1524 36%, #efe8dd 36%, #efe8dd 100%);
  min-height: 100vh;
}

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

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

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

.hidden {
  display: none !important;
}

.page-shell {
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5, 10, 20, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  width: var(--content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(243, 202, 132, 0.4);
  background: linear-gradient(160deg, rgba(243, 202, 132, 0.16), rgba(243, 202, 132, 0.02));
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.brand strong {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand small {
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-dim);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold-strong);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  width: var(--content-width);
  margin: 24px auto 0;
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.75fr);
  gap: 28px;
  position: relative;
  padding: 56px 0 82px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius) + 10px);
  background:
    linear-gradient(90deg, rgba(4, 9, 18, 0.98) 0%, rgba(4, 9, 18, 0.94) 34%, rgba(4, 9, 18, 0.78) 56%, rgba(4, 9, 18, 0.24) 100%),
    linear-gradient(180deg, rgba(5, 10, 18, 0.1), rgba(5, 10, 18, 0.7)),
    url("assets/images/domusaxis-hero.jpeg") 74% 24% / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  padding: 42px;
  align-self: end;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  color: var(--gold);
}

.hero h1,
.section-heading h2,
.site-footer h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.95;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 6vw, 6.5rem);
}

.hero-copy,
.section-heading p,
.panel p,
.testimonial-stack blockquote,
.contact-list,
.disclaimer {
  color: var(--text-dim);
  line-height: 1.75;
}

.hero-copy {
  max-width: 62ch;
  margin: 26px 0 0;
  font-size: 1.04rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.category-card:hover,
.property-card:hover,
.panel:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: linear-gradient(135deg, #f4d396, #c8984f);
  color: #16100a;
  font-weight: 800;
}

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

.button-ghost {
  border-color: rgba(243, 202, 132, 0.45);
  color: var(--gold-strong);
  background: transparent;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.hero-metrics article,
.scoreboard article {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
  border-radius: var(--radius-sm);
}

.hero-metrics strong,
.scoreboard strong {
  display: block;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.glass-card,
.panel {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-panel {
  display: grid;
  align-items: end;
  padding: 42px 26px 0 0;
}

.glass-card {
  padding: 28px;
}

.card-kicker {
  margin: 0 0 18px;
  color: var(--gold-strong);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.trust-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.8;
}

.section {
  width: var(--content-width);
  margin: 0 auto;
  padding: 88px 0;
  color: var(--ink);
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}

.section-heading h2,
.site-footer h2 {
  color: #121212;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.intro .section-heading,
.categories .section-heading,
.visual-story .section-heading {
  padding: 20px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.9), rgba(246, 236, 220, 0.78));
  box-shadow: 0 20px 48px rgba(67, 45, 17, 0.08);
}

.intro .section-heading h2,
.categories .section-heading h2,
.visual-story .section-heading h2 {
  color: #241405;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.section-heading p,
.panel p,
.testimonial-stack blockquote,
.contact-list,
.disclaimer,
.scoreboard span {
  color: rgba(17, 17, 17, 0.7);
}

.intro-grid,
.category-grid,
.visual-grid,
.insight-grid,
.feedback-layout,
.footer-grid {
  display: grid;
  gap: 22px;
}

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

.visual-grid {
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: 240px;
}

.visual-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(4, 9, 18, 0.12), rgba(4, 9, 18, 0.82)),
    var(--card-image) center / cover no-repeat;
  box-shadow: 0 24px 60px rgba(40, 26, 10, 0.16);
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(243, 202, 132, 0.18);
  border-radius: inherit;
  pointer-events: none;
}

.visual-tall {
  grid-row: span 2;
}

.visual-wide {
  grid-column: span 2;
}

.visual-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  color: #fff;
}

.visual-copy span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 247, 230, 0.16);
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-copy h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.3;
}

.panel {
  padding: 28px;
  background: rgba(255, 248, 239, 0.82);
  border-color: rgba(113, 88, 47, 0.14);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.panel h3,
.detail-body h3,
.property-card h3,
.category-card h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  color: #121212;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(113, 88, 47, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.94), rgba(242, 230, 213, 0.92));
  padding: 26px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 18px 45px rgba(44, 33, 20, 0.08);
  text-align: left;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -35% auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 176, 110, 0.28), transparent 66%);
}

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: rgba(14, 24, 41, 0.92);
  color: var(--gold-strong);
  font-size: 1.5rem;
}

.category-meta {
  display: inline-flex;
  margin-top: 16px;
  color: #6d5a3a;
  font-weight: 700;
}

.search-panel,
.category-switches,
.property-grid {
  display: grid;
  gap: 16px;
}

.search-panel {
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #2b2b2b;
}

.field input,
.field select,
.feedback-form select,
.feedback-form textarea,
.mini-form input,
.mini-form select {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(86, 70, 41, 0.14);
  background: rgba(255, 251, 246, 0.94);
  padding: 0 16px;
  color: #151515;
}

.feedback-form textarea {
  min-height: 140px;
  padding: 16px;
  resize: vertical;
}

.category-switches {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 18px;
}

.switch {
  min-height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(86, 70, 41, 0.16);
  background: rgba(255, 251, 246, 0.88);
  color: #56421f;
  font-weight: 700;
  cursor: pointer;
}

.switch.active {
  background: linear-gradient(135deg, #f3d496, #d2a45d);
  color: #17120b;
  border-color: transparent;
}

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

.property-card {
  border: 1px solid rgba(86, 70, 41, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 251, 246, 0.96);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(28, 19, 9, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.property-media {
  min-height: 240px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(5, 9, 17, 0.05), rgba(5, 9, 17, 0.68)),
    var(--property-image, url("assets/images/domusaxis-hero.jpeg")) center / cover no-repeat;
}

.property-media::after {
  content: attr(data-badge);
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 247, 230, 0.95);
  color: #48381d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-body {
  padding: 22px;
}

.property-meta,
.property-footer,
.detail-specs,
.detail-grid,
.detail-gallery,
.amenity-list,
.social-links,
.contact-list {
  display: grid;
  gap: 12px;
}

.property-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0;
}

.property-meta span,
.property-footer span,
.detail-label,
.gallery-chip,
.favorite-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64553c;
  font-size: 0.9rem;
}

.property-footer {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 18px;
}

.price {
  color: #131313;
  font-size: 1.4rem;
  font-weight: 800;
}

.favorite-button {
  min-width: 46px;
  min-height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(86, 70, 41, 0.16);
  background: transparent;
  cursor: pointer;
}

.favorite-button.active {
  background: rgba(215, 176, 110, 0.18);
  border-color: rgba(215, 176, 110, 0.52);
}

.feature-panel,
.feedback-form,
.feedback-summary {
  min-height: 100%;
}

.insight-grid {
  grid-template-columns: 1.05fr 1fr 0.95fr;
}

.mini-form,
.feedback-form {
  display: grid;
  gap: 14px;
}

.testimonial-stack {
  display: grid;
  gap: 12px;
}

.testimonial-stack blockquote {
  margin: 0;
  font-size: 1rem;
}

.testimonial-stack cite {
  color: #816946;
  font-style: normal;
  font-weight: 700;
}

.feedback-layout {
  grid-template-columns: 1fr 0.95fr;
}

.feedback-form label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1c1c1c;
}

.star-rating {
  display: inline-flex;
  gap: 8px;
}

.star {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(86, 70, 41, 0.18);
  background: rgba(255, 251, 246, 0.88);
  cursor: pointer;
  color: #7d6540;
  font-size: 1.15rem;
}

.star.active {
  background: linear-gradient(135deg, #f3d496, #d2a45d);
  color: #1a140b;
}

.scoreboard {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.site-footer {
  padding: 88px 0 36px;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(215, 176, 110, 0.18), transparent 25%),
    linear-gradient(180deg, #0a1424, #08101d);
}

.footer-grid {
  width: var(--content-width);
  margin: 0 auto;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.site-footer h2,
.site-footer .eyebrow,
.social-links a,
.contact-list a {
  color: var(--text);
}

.site-footer p,
.site-footer .disclaimer,
.site-footer li {
  color: var(--text-dim);
}

.contact-list {
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-strong);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.social-links {
  grid-template-columns: repeat(2, max-content);
}

.map-frame {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 340px;
}

.map-frame iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  filter: grayscale(1) contrast(1.1) brightness(0.9);
}

.disclaimer {
  width: var(--content-width);
  margin: 26px auto 0;
  font-size: 0.92rem;
}

.floating-whatsapp,
.floating-chat {
  position: fixed;
  right: 18px;
  z-index: 55;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.floating-whatsapp {
  bottom: 92px;
  background: linear-gradient(135deg, #d7b06e, #f0d090);
  color: #17120b;
  font-weight: 800;
}

.floating-chat {
  bottom: 28px;
  border: 0;
  background: #121d31;
  color: var(--text);
  cursor: pointer;
}

.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 18, 0.72);
  backdrop-filter: blur(8px);
}

.detail-sheet {
  position: relative;
  width: min(1120px, calc(100vw - 28px));
  height: min(92vh, 920px);
  margin: 4vh auto;
  overflow: auto;
  border-radius: 32px;
  background: #f4ede2;
  box-shadow: var(--shadow);
}

.detail-close {
  position: sticky;
  top: 16px;
  margin-left: auto;
  margin-right: 16px;
  margin-top: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(86, 70, 41, 0.16);
  background: rgba(255, 251, 246, 0.92);
  color: #1d1d1d;
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 3;
}

.detail-hero {
  min-height: 360px;
  margin: -64px 0 0;
  background:
    linear-gradient(180deg, rgba(4, 9, 18, 0.05), rgba(4, 9, 18, 0.76)),
    url("assets/images/domusaxis-hero.jpeg") center / cover no-repeat;
}

.detail-body {
  padding: 0 30px 34px;
}

.detail-heading {
  margin-top: -86px;
  position: relative;
  z-index: 1;
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.88);
  color: var(--text);
  border: 1px solid rgba(215, 176, 110, 0.24);
}

.detail-heading h2 {
  margin: 8px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.detail-grid {
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 24px;
}

.detail-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 251, 246, 0.94);
  border: 1px solid rgba(86, 70, 41, 0.15);
}

.detail-specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.detail-specs article,
.gallery-chip {
  padding: 16px;
  border-radius: 18px;
  background: rgba(244, 233, 215, 0.68);
}

.detail-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: #7b633f;
}

.detail-value {
  margin-top: 8px;
  font-weight: 800;
  color: #131313;
}

.detail-gallery,
.amenity-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.gallery-chip {
  min-height: 150px;
  display: flex;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(4, 9, 18, 0.08), rgba(4, 9, 18, 0.74)),
    var(--gallery-image, url("assets/images/domusaxis-hero.jpeg")) center / cover no-repeat;
}

.amenity-list {
  list-style: none;
  padding: 0;
}

.amenity-list li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(244, 233, 215, 0.68);
  color: #2a241c;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: #6a562f;
  font-weight: 700;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.94);
  color: var(--text);
  z-index: 80;
  box-shadow: var(--shadow);
}

@media (max-width: 1100px) {
  .hero,
  .intro-grid,
  .category-grid,
  .visual-grid,
  .property-grid,
  .insight-grid,
  .feedback-layout,
  .footer-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

  .visual-card,
  .visual-tall,
  .visual-wide {
    grid-column: auto;
    grid-row: auto;
  }

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

  .hero-panel {
    padding: 0 24px 24px;
  }
}

@media (max-width: 760px) {
  body {
    background:
      radial-gradient(circle at top left, rgba(215, 176, 110, 0.18), transparent 28%),
      linear-gradient(180deg, #06101d 0%, #0b1524 44%, #efe8dd 44%, #efe8dd 100%);
  }

  .nav {
    min-height: 72px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 20px;
    background: rgba(7, 17, 31, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

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

  .hero {
    padding: 14px 0 46px;
    min-height: auto;
  }

  .hero-content,
  .glass-card,
  .panel,
  .detail-card,
  .detail-body {
    padding: 22px;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(2.7rem, 12vw, 4.4rem);
  }

  .hero-metrics,
  .search-panel,
  .category-switches,
  .visual-grid,
  .property-meta,
  .detail-specs,
  .detail-gallery,
  .amenity-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading h2,
  .site-footer h2 {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }

  .detail-sheet {
    width: calc(100vw - 14px);
    height: 95vh;
    margin: 2.5vh auto;
    border-radius: 24px;
  }

  .detail-hero {
    min-height: 260px;
  }
}
