:root {
  --navy: #10223b;
  --navy-deep: #091728;
  --navy-soft: #1b3150;
  --gold: #e9a642;
  --gold-light: #f4c575;
  --gold-dark: #bb7925;
  --paper: #f7f5f0;
  --white: #ffffff;
  --ink: #182231;
  --muted: #68717c;
  --line: #e2ded5;
  --success: #25d366;
  --shadow-sm: 0 8px 30px rgba(10, 28, 49, 0.08);
  --shadow-md: 0 22px 65px rgba(10, 28, 49, 0.14);
  --radius: 4px;
  --container: 1200px;
  --header-height: 82px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 14px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(233, 166, 66, 0.55);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(2.5rem, 4.5vw, 4.4rem);
  font-weight: 600;
}

h3 {
  color: var(--navy);
  font-size: 1.7rem;
  font-weight: 600;
}

.container {
  width: min(calc(100% - 44px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 118px 0;
}

.skip-link {
  position: fixed;
  z-index: 3000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--gold-dark);
}

.icon {
  display: block;
  flex: 0 0 auto;
}

.icon-whatsapp {
  display: block;
  margin: 0;
  flex: 0 0 auto;
  transform: none;
  transform-origin: 50% 50%;
  vertical-align: middle;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border 0.25s ease, box-shadow 0.25s ease;
}

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

.button--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 12px 32px rgba(233, 166, 66, 0.24);
}

.button--gold:hover {
  background: linear-gradient(135deg, #ffd18b, #edab46);
  box-shadow: 0 16px 38px rgba(233, 166, 66, 0.35);
}

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

.button--navy:hover {
  background: var(--navy-soft);
}

.button--glass {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.button--glass:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.16);
}

.button--full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.text-link svg {
  transition: transform 0.25s ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(8, 23, 40, 0.84);
  backdrop-filter: blur(16px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 23, 40, 0.97);
  box-shadow: 0 10px 35px rgba(3, 13, 25, 0.2);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  height: 68px;
  align-items: center;
  flex: 0 0 auto;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 29px);
}

.main-nav > a:not(.nav-whatsapp) {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.main-nav > a:not(.nav-whatsapp)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.main-nav > a:not(.nav-whatsapp):hover {
  color: var(--white);
}

.main-nav > a:not(.nav-whatsapp):hover::after {
  transform: scaleX(1);
}

.nav-whatsapp {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(233, 166, 66, 0.8);
  border-radius: var(--radius);
  color: var(--gold-light);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-whatsapp .icon-whatsapp {
  width: 20px;
  height: 20px;
}

.nav-whatsapp:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-close-icon {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding: calc(var(--header-height) + 72px) 0 86px;
  isolation: isolate;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 17, 31, 0.94) 0%, rgba(5, 17, 31, 0.77) 43%, rgba(5, 17, 31, 0.22) 78%, rgba(5, 17, 31, 0.36) 100%), linear-gradient(0deg, rgba(4, 16, 30, 0.52), transparent 48%);
}

.hero-content {
  padding-right: min(47vw, 580px);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 27px;
  color: var(--white);
  font-size: clamp(3.7rem, 7.3vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.hero h1 em {
  color: var(--gold-light);
  font-weight: 500;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.79);
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero-highlights {
  display: flex;
  max-width: 700px;
  margin-top: 58px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-highlights > span {
  display: grid;
  min-width: 0;
  padding: 0 29px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-highlights > span:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-highlights strong {
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.1;
}

.hero-highlights small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  right: 37px;
  bottom: 37px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(-50%);
  transform-origin: right center;
}

.hero-scroll span {
  width: 38px;
  height: 1px;
  background: var(--gold);
}

/* Section headings */
.section-heading {
  margin-bottom: 56px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 70px;
}

.section-heading--split > div {
  flex: 1 1 auto;
}

.section-heading--split > p {
  max-width: 480px;
  margin-bottom: 8px;
  color: var(--muted);
}

.section-heading--center {
  max-width: 750px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading--center > p:last-child {
  color: var(--muted);
}

/* Property cards */
.properties-section {
  background: var(--paper);
}

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

.property-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 34, 59, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.property-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.property-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: #d9d7d0;
}

.property-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 22, 39, 0.03), rgba(8, 22, 39, 0.35));
  content: "";
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.3, 1);
}

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

.property-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  background: rgba(9, 23, 40, 0.84);
  color: var(--white);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
  backdrop-filter: blur(9px);
}

.property-image-count {
  position: absolute;
  z-index: 2;
  right: 17px;
  bottom: 15px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.property-card-body {
  padding: 26px 25px 24px;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.property-card h3 {
  margin-bottom: 11px;
  font-size: clamp(1.58rem, 2.25vw, 2rem);
}

.property-card h3 a:hover {
  color: var(--gold-dark);
}

.property-summary {
  display: -webkit-box;
  min-height: 72px;
  margin-bottom: 20px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.property-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 26px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.property-specs span {
  display: grid;
  min-height: 72px;
  align-content: center;
  justify-items: start;
  padding: 12px 14px;
  background: var(--white);
}

.property-specs svg {
  margin-bottom: 4px;
  color: var(--gold-dark);
}

.property-specs strong {
  color: var(--navy);
  font-size: 0.83rem;
}

.property-specs small {
  color: var(--muted);
  font-size: 0.63rem;
  text-transform: uppercase;
}

.property-specs--compact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 18px 0 22px;
  border: 0;
  background: transparent;
}

.property-specs--compact span {
  display: flex;
  min-height: auto;
  align-items: center;
  gap: 5px;
  padding: 0;
}

.property-specs--compact span svg {
  margin: 0;
}

.property-specs--compact span small {
  display: none;
}

.property-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.property-price {
  display: grid;
}

.property-price small {
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.property-price strong {
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.2;
}

.property-card-footer .text-link {
  flex: 0 0 auto;
  font-size: 0.67rem;
}

/* Process */
.process-section {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.process-section::before {
  position: absolute;
  top: -170px;
  left: -150px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(233, 166, 66, 0.22);
  border-radius: 50%;
  content: "";
}

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

.process-card {
  position: relative;
  min-height: 280px;
  padding: 35px;
  border: 1px solid var(--line);
  background: var(--white);
}

.process-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  content: "";
  transform: scaleX(0.22);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.process-card:hover::after {
  transform: scaleX(1);
}

.process-number {
  position: absolute;
  top: 25px;
  right: 26px;
  color: rgba(16, 34, 59, 0.13);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1;
}

.process-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid rgba(233, 166, 66, 0.45);
  color: var(--gold-dark);
}

.process-card h3 {
  margin-bottom: 12px;
  font-size: 1.9rem;
}

.process-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* About */
.about-section {
  padding: 118px 0;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.85fr) minmax(430px, 1.15fr);
  align-items: center;
  gap: clamp(65px, 9vw, 130px);
}

.about-grid--story {
  grid-template-columns: minmax(360px, 0.88fr) minmax(480px, 1.12fr);
  align-items: center;
  gap: clamp(60px, 8vw, 115px);
}

.about-visual {
  position: relative;
  max-width: 480px;
}

.about-visual::before {
  position: absolute;
  z-index: 0;
  top: -25px;
  right: -25px;
  bottom: 25px;
  left: 25px;
  border: 1px solid rgba(233, 166, 66, 0.35);
  content: "";
}

.about-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.about-visual--people {
  max-width: 520px;
}

.about-visual--people img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 50%;
}

.about-caption {
  position: absolute;
  z-index: 2;
  right: -35px;
  bottom: -25px;
  display: flex;
  width: 215px;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.about-caption span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
}

.about-caption--names {
  width: 245px;
}

.about-caption--names div {
  line-height: 1.45;
}

.about-content h2 {
  color: var(--white);
}

.about-content > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
}

.about-content--story h2 {
  margin-bottom: 25px;
}

.about-content--story > p:not(.eyebrow) {
  margin-bottom: 17px;
  font-size: 0.91rem;
  line-height: 1.78;
}

.about-content--story .about-lead {
  color: rgba(255, 255, 255, 0.94);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.45;
}

.about-values {
  display: grid;
  gap: 7px;
  margin: 28px 0 34px;
  padding: 24px 25px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.055);
}

.about-values p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.about-values strong {
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.35;
}

.about-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.87rem;
}

.about-list svg {
  color: var(--gold);
}

/* Location */
.location-section {
  background: var(--paper);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(500px, 1.2fr);
  align-items: center;
  gap: clamp(50px, 7vw, 95px);
}

.location-copy > p:not(.eyebrow) {
  margin-bottom: 28px;
  color: var(--muted);
}

.location-detail {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.location-detail > span {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  background: var(--navy);
  color: var(--gold-light);
}

.location-detail div {
  display: grid;
}

.location-detail strong {
  color: var(--navy);
}

.location-detail small {
  color: var(--muted);
}

.map-frame {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-md);
}

.map-frame iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
  inset: 0;
  filter: saturate(0.72) contrast(1.05);
}

.map-label {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.map-label svg {
  color: var(--gold);
}

/* Contact */
.contact-section {
  padding: 118px 0;
  background: linear-gradient(118deg, rgba(7, 21, 37, 0.99), rgba(16, 34, 59, 0.96)), url("../images/hero.webp") center / cover;
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(430px, 1.1fr);
  align-items: center;
  gap: clamp(55px, 9vw, 130px);
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.67);
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 31px;
}

.contact-phone > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  color: var(--white);
}

.contact-phone div {
  display: grid;
}

.contact-phone small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-phone strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 31px;
}

.contact-social > span {
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-social a,
.social-links a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  transition: border 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.contact-social a:hover,
.social-links a:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-deep);
}

.contact-form {
  padding: clamp(28px, 4vw, 48px);
  background: var(--white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 19px;
}

.form-row label {
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #cbc6bb;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.form-row input,
.form-row select {
  height: 49px;
}

.form-row textarea {
  min-height: 100px;
  padding-top: 11px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--gold-dark);
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  text-align: center;
}

/* Footer */
.site-footer {
  padding-top: 72px;
  background: #061221;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.65fr 0.85fr;
  gap: 70px;
  padding-bottom: 60px;
}

.footer-brand img {
  width: 180px;
  height: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 390px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.81rem;
}

.footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.footer-column h2 {
  margin-bottom: 15px;
  color: var(--gold-light);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column > a,
.footer-column > span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.79rem;
}

.footer-column > a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.social-links a {
  width: 38px;
  height: 38px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.66rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  z-index: 1100;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: var(--success);
  color: var(--white);
  box-shadow: 0 9px 32px rgba(0, 0, 0, 0.25);
  line-height: 0;
  animation: whatsapp-pulse 2.3s infinite;
}

.floating-whatsapp > svg {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0;
  flex: none;
  transform: none;
}

.floating-label {
  position: absolute;
  right: 68px;
  display: block;
  width: max-content;
  padding: 9px 12px;
  border-radius: 3px;
  background: var(--navy-deep);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-whatsapp:hover .floating-label {
  opacity: 1;
  transform: none;
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.38), 0 9px 32px rgba(0, 0, 0, 0.25); }
  50% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0), 0 9px 32px rgba(0, 0, 0, 0.25); }
}

/* Detail page */
.property-top {
  padding: calc(var(--header-height) + 28px) 0 0;
  background: var(--paper);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 23px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.71rem;
  white-space: nowrap;
}

.breadcrumb a:hover {
  color: var(--gold-dark);
}

.breadcrumb span:last-child {
  overflow: hidden;
  color: var(--navy);
  text-overflow: ellipsis;
}

.detail-gallery {
  display: grid;
  height: min(67vh, 650px);
  min-height: 490px;
  grid-template-columns: 1.45fr 0.72fr 0.72fr;
  grid-template-rows: 1fr 1fr;
  gap: 7px;
  overflow: hidden;
  background: #d9d7d0;
}

.gallery-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #d9d7d0;
  cursor: zoom-in;
}

.gallery-item--1 {
  grid-row: 1 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.35s ease;
}

.gallery-item:hover img {
  filter: brightness(0.88);
  transform: scale(1.025);
}

.gallery-more {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(8, 22, 39, 0.85);
  color: var(--white);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.detail-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  padding: 43px 0 49px;
}

.property-badge--static {
  position: static;
  display: inline-block;
  margin-bottom: 15px;
  border-color: transparent;
  background: var(--navy);
}

.detail-heading h1 {
  max-width: 850px;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(2.7rem, 5.2vw, 5rem);
  font-weight: 600;
}

.detail-heading p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.detail-heading p svg {
  color: var(--gold-dark);
}

.share-whatsapp {
  display: inline-flex;
  min-height: 51px;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 13px 19px;
  border: 1px solid #d3cdc1;
  background: var(--white);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.share-whatsapp:hover {
  border-color: var(--success);
  color: #128c4a;
}

.property-main {
  padding-top: 95px;
}

.property-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 365px;
  align-items: start;
  gap: clamp(55px, 8vw, 105px);
}

.property-content {
  min-width: 0;
}

.content-block {
  padding-bottom: 55px;
  border-bottom: 1px solid var(--line);
}

.content-block + .content-block,
.deal-card + .content-block,
.content-block + .deal-card {
  margin-top: 55px;
}

.content-block h2,
.deal-card h2 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
}

.content-block > p:not(.eyebrow) {
  color: var(--muted);
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(226, 222, 213, 0.75);
  color: #3b4551;
  font-size: 0.86rem;
}

.feature-item svg {
  margin-top: 3px;
  color: var(--gold-dark);
}

.deal-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 38px;
  background: var(--navy);
  color: var(--white);
}

.deal-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(233, 166, 66, 0.5);
  color: var(--gold-light);
}

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

.deal-card ul {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.deal-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.deal-card li svg {
  color: var(--gold);
}

.deal-card > div > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.74rem;
}

.visit-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 0;
  border-bottom: 0;
}

.visit-block > div {
  max-width: 590px;
}

.visit-block p:last-child {
  margin-bottom: 0;
}

.visit-block .button {
  flex: 0 0 auto;
}

.property-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 26px);
}

.sidebar-card {
  padding: 31px;
  border-top: 3px solid var(--gold);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.sidebar-label {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-price {
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.55rem;
  font-weight: 700;
  line-height: 1.15;
}

.sidebar-note {
  margin: 7px 0 24px;
  color: var(--muted);
  font-size: 0.7rem;
}

.sidebar-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.sidebar-trust {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.sidebar-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.67rem;
}

.sidebar-trust svg {
  color: var(--gold-dark);
}

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

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

.related-card {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.related-card > a {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 11;
}

.related-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-card:hover img {
  transform: scale(1.04);
}

.related-card > a span {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 7px 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.related-card > div {
  padding: 22px;
}

.related-card p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.related-card h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.related-card strong {
  color: var(--navy);
  font-size: 0.81rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  z-index: 2500;
  inset: 0;
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  padding: 30px;
  background: rgba(3, 11, 20, 0.96);
  color: var(--white);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  display: grid;
  width: min(100%, 1050px);
  height: min(84vh, 780px);
  justify-self: center;
  margin: 0;
  grid-template-rows: minmax(0, 1fr) auto;
}

.lightbox figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox figcaption {
  padding-top: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
}

.lightbox-nav {
  width: 55px;
  height: 55px;
  justify-self: center;
}

/* Error */
.error-section {
  display: grid;
  min-height: 77vh;
  align-items: center;
  padding: calc(var(--header-height) + 80px) 0 90px;
  background: linear-gradient(120deg, rgba(7, 20, 36, 0.98), rgba(16, 34, 59, 0.88)), url("../images/hero.webp") center / cover;
  color: var(--white);
  text-align: center;
}

.error-section h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6.3rem);
}

.error-section > .container > p:not(.eyebrow) {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.65);
}

.error-section .hero-actions {
  justify-content: center;
}

/* Reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  :root { --header-height: 76px; }

  .menu-toggle { display: grid; }

  .menu-toggle[aria-expanded="true"] .menu-open-icon { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-close-icon { display: block; }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: flex;
    max-height: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    background: rgba(6, 18, 33, 0.99);
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease;
  }

  .main-nav.is-open {
    max-height: calc(100svh - var(--header-height));
    padding: 20px 22px 30px;
    opacity: 1;
    overflow-y: auto;
    pointer-events: auto;
  }

  .main-nav > a:not(.nav-whatsapp) {
    padding: 13px 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.4rem;
    letter-spacing: 0;
    text-transform: none;
  }

  .main-nav > a:not(.nav-whatsapp)::after { display: none; }

  .nav-whatsapp {
    justify-content: center;
    margin-top: 20px;
  }

  .hero-content { padding-right: 35vw; }

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

  .location-grid { grid-template-columns: 0.9fr 1.1fr; gap: 45px; }
  .map-frame { min-height: 480px; }

  .property-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; }
  .sidebar-card { padding: 25px; }
}

@media (max-width: 820px) {
  .section,
  .about-section,
  .contact-section { padding: 86px 0; }

  .hero { min-height: 820px; }
  .hero-content { padding-right: 0; }
  .hero-copy { max-width: 560px; }
  .hero-scroll { display: none; }

  .section-heading--split { align-items: flex-start; flex-direction: column; gap: 20px; }
  .section-heading--split > p { max-width: 620px; }

  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 220px; }

  .about-grid,
  .location-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .about-grid { gap: 75px; }
  .about-grid--story { grid-template-columns: 1fr; }
  .about-visual { width: min(88%, 500px); margin-inline: auto; }
  .about-caption { right: -22px; }
  .about-content--story { max-width: 680px; margin-inline: auto; }

  .location-grid { gap: 55px; }
  .map-frame { min-height: 470px; order: -1; }

  .contact-grid { gap: 55px; }

  .footer-grid { grid-template-columns: 1.3fr 0.7fr; }
  .footer-column:last-child { grid-column: 1 / -1; }

  .detail-gallery {
    height: 560px;
    min-height: 0;
    grid-template-columns: 1.3fr 0.7fr;
  }
  .gallery-item--4,
  .gallery-item--5 { display: none; }

  .property-layout { grid-template-columns: 1fr; }
  .property-sidebar { position: static; order: -1; }
  .sidebar-card { max-width: 600px; }
  .property-main { padding-top: 75px; }

  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .related-card:nth-child(3) { display: none; }
}

@media (max-width: 600px) {
  :root { --header-height: 70px; }

  .container { width: min(calc(100% - 30px), var(--container)); }
  .section,
  .about-section,
  .contact-section { padding: 70px 0; }

  h2 { font-size: 2.65rem; }

  .brand { height: 62px; }
  .brand img { height: 50px; }

  .hero {
    min-height: 760px;
    padding-top: calc(var(--header-height) + 48px);
    background-position: 44% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(5, 17, 31, 0.94), rgba(5, 17, 31, 0.67)), linear-gradient(0deg, rgba(4, 16, 30, 0.66), transparent 48%);
  }

  .hero h1 {
    font-size: clamp(3.15rem, 15vw, 4.65rem);
  }

  .hero-copy { font-size: 0.94rem; }

  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }

  .hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 44px;
  }

  .hero-highlights > span {
    padding: 0 10px;
  }

  .hero-highlights strong { font-size: 1.18rem; }
  .hero-highlights small { font-size: 0.55rem; }

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

  .property-grid { grid-template-columns: 1fr; }
  .property-image { aspect-ratio: 4 / 4.3; }
  .property-card-body { padding: 23px 20px; }

  .process-card { padding: 28px; }

  .about-visual { width: 92%; }
  .about-caption { right: -10px; bottom: -30px; width: 195px; }
  .about-caption--names { width: 215px; }

  .about-content--story > p:not(.eyebrow) {
    font-size: 0.86rem;
  }

  .about-content--story .about-lead {
    font-size: 1.2rem;
  }

  .about-values {
    padding: 20px 18px;
  }

  .map-frame { min-height: 390px; border-width: 5px; }
  .map-label { right: 13px; bottom: 13px; }

  .contact-form { padding: 26px 20px; }
  .contact-social { align-items: flex-start; flex-wrap: wrap; }
  .contact-social > span { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-column:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
  .floating-label { display: none; }

  .property-top { padding-top: calc(var(--header-height) + 21px); }

  .breadcrumb { margin-bottom: 15px; }

  .detail-gallery {
    display: flex;
    width: calc(100% + 15px);
    height: 480px;
    gap: 7px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

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

  .gallery-item,
  .gallery-item--4,
  .gallery-item--5 {
    display: block;
    min-width: 88%;
    height: 100%;
    scroll-snap-align: start;
  }

  .detail-heading {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px 0 39px;
  }

  .detail-heading h1 { font-size: 3.15rem; }
  .share-whatsapp { width: 100%; justify-content: center; }

  .property-main { padding-top: 62px; }
  .property-layout { gap: 58px; }
  .sidebar-card { padding: 25px 20px; }

  .features-grid { grid-template-columns: 1fr; gap: 5px; }
  .content-block { padding-bottom: 45px; }
  .content-block + .content-block,
  .deal-card + .content-block,
  .content-block + .deal-card { margin-top: 45px; }

  .deal-card { grid-template-columns: 1fr; padding: 28px 22px; }
  .visit-block { align-items: stretch; flex-direction: column; }
  .visit-block .button { width: 100%; }

  .related-grid { grid-template-columns: 1fr; }
  .related-card:nth-child(3) { display: block; }

  .lightbox { grid-template-columns: 44px 1fr 44px; padding: 15px 8px; }
  .lightbox figure { height: 76vh; }
  .lightbox-nav { width: 41px; height: 41px; }
  .lightbox-close { top: 13px; right: 13px; width: 43px; height: 43px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
