:root {
  --color-primary: #10243f;
  --color-secondary: #c9a45c;
  --color-accent: #2f7d6d;
  --color-bg: #f6f3ee;
  --color-text: #18202b;
  --color-light: #ffffff;
  --color-dark: #0a1422;
  --hero-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=86");
  --owner-image: url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=1600&q=82");
  --shadow-soft: 0 18px 45px rgba(10, 20, 34, 0.12);
  --shadow-strong: 0 24px 70px rgba(10, 20, 34, 0.22);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.narrow {
  width: min(100% - 32px, 840px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(10, 20, 34, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-light);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 164, 92, 0.75);
  color: var(--color-secondary);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark.has-image {
  border: 0;
  background: transparent;
}

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

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
}

.nav-links {
  display: none;
  position: absolute;
  top: 72px;
  left: 16px;
  right: 16px;
  padding: 16px;
  background: var(--color-light);
  box-shadow: var(--shadow-strong);
  border-radius: var(--radius);
}

.nav-links.is-open {
  display: grid;
}

.nav-links a {
  padding: 12px;
  color: var(--color-dark);
  font-weight: 700;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-light);
}

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  align-items: end;
  padding: 140px 0 54px;
  overflow: hidden;
  color: var(--color-light);
}

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

.hero-media {
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 20, 34, 0.9) 0%, rgba(10, 20, 34, 0.6) 48%, rgba(10, 20, 34, 0.24) 100%),
    linear-gradient(0deg, rgba(10, 20, 34, 0.72), rgba(10, 20, 34, 0.05));
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-secondary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.75rem, 10vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-slogan {
  margin: 18px 0 0;
  font-size: clamp(1.08rem, 3.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-text {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions,
.carousel-controls,
.footer-inner,
.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.icon {
  width: 1.08em;
  height: 1.08em;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-only {
  width: 1.25rem;
  height: 1.25rem;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--color-secondary);
  color: var(--color-dark);
  box-shadow: 0 14px 34px rgba(201, 164, 92, 0.28);
}

.btn-secondary {
  background: var(--color-light);
  color: var(--color-dark);
}

.btn-whatsapp {
  background: #25d366;
  color: #073b1f;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: #31e174;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(16, 36, 63, 0.18);
  color: var(--color-primary);
}

.search-section {
  margin-top: -28px;
  position: relative;
  z-index: 4;
}

.search-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: var(--color-light);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius);
}

.search-panel h2 {
  font-size: clamp(1.45rem, 5vw, 2.2rem);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: var(--color-primary);
}

select,
input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(16, 36, 63, 0.16);
  background: #fbfaf7;
  color: var(--color-text);
  padding: 0 12px;
  border-radius: var(--radius);
  outline: none;
}

select:focus,
input:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.18);
}

.section {
  padding: 76px 0;
}

.muted {
  background: #ede8df;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:last-child {
  color: #596270;
}

.property-grid,
.feature-grid,
.benefit-list,
.timeline,
.contact-grid {
  display: grid;
  gap: 18px;
}

.property-card,
.feature-card,
.testimonial-card,
.faq-item,
.map-card {
  background: var(--color-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.property-card {
  display: grid;
}

.property-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.property-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.property-tags,
.property-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.property-tags span {
  padding: 6px 10px;
  background: rgba(47, 125, 109, 0.1);
  color: var(--color-accent);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.78rem;
}

.property-location {
  margin: 0;
  color: #657180;
}

.property-price {
  margin: 0;
  color: var(--color-primary);
  font-size: 1.35rem;
  font-weight: 900;
}

.property-details span {
  padding: 8px 10px;
  background: #f3efe8;
  border-radius: var(--radius);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.property-details .icon {
  color: var(--color-accent);
}

.feature-card {
  padding: 22px;
}

.feature-card span,
.timeline-item span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--color-secondary);
  font-weight: 900;
}

.feature-card p {
  margin-bottom: 0;
  color: #5d6876;
}

.split {
  display: grid;
  gap: 26px;
}

.benefit {
  padding: 18px;
  border-left: 4px solid var(--color-secondary);
  background: var(--color-light);
  box-shadow: 0 12px 32px rgba(10, 20, 34, 0.08);
  font-weight: 850;
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefit .icon {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

.timeline {
  counter-reset: step;
}

.timeline-item {
  position: relative;
  padding: 24px;
  background: var(--color-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.testimonials {
  background: var(--color-primary);
  color: var(--color-light);
}

.testimonials .section-heading p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.testimonial-card {
  position: relative;
  padding: 28px;
  color: var(--color-dark);
}

.testimonial-card p {
  margin-top: 0;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
}

.carousel-controls {
  margin-top: 24px;
}

.carousel-controls button,
.back-top {
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--color-primary);
  color: var(--color-light);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
}

.owner-cta {
  padding: 82px 0;
  color: var(--color-light);
  background:
    linear-gradient(rgba(10, 20, 34, 0.72), rgba(10, 20, 34, 0.72)),
    var(--owner-image) center / cover;
}

.owner-content {
  max-width: 720px;
}

.owner-content p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item button {
  width: 100%;
  min-height: 56px;
  padding: 16px 46px 16px 18px;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--color-primary);
  font-weight: 900;
  cursor: pointer;
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 18px 18px;
  color: #5d6876;
}

.faq-item.is-open p {
  display: block;
}

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

.contact-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(47, 125, 109, 0.12);
  color: var(--color-accent);
}

.contact-icon .icon-only {
  width: 20px;
  height: 20px;
}

.contact-list a {
  color: var(--color-accent);
  font-weight: 800;
}

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

.site-footer {
  padding: 28px 0;
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  justify-content: space-between;
}

.social-links a {
  color: var(--color-light);
  font-weight: 800;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  color: var(--color-secondary);
  border-color: rgba(201, 164, 92, 0.45);
  transform: translateY(-2px);
}

.floating-whatsapp,
.back-top {
  position: fixed;
  right: 18px;
  z-index: 30;
  box-shadow: var(--shadow-strong);
}

.floating-whatsapp {
  bottom: 18px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #063b1e;
  font-weight: 950;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp .icon-only {
  width: 30px;
  height: 30px;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 28px 70px rgba(37, 211, 102, 0.35);
}

.back-top {
  display: none;
  bottom: 88px;
}

.back-top.is-visible {
  display: block;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  background: var(--color-light);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (min-width: 700px) {
  .property-grid,
  .feature-grid,
  .benefit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    padding: 24px;
  }

  .search-panel > div:first-child {
    grid-column: 1 / -1;
  }

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

@media (min-width: 980px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links a {
    color: rgba(255, 255, 255, 0.82);
  }

  .nav-links a:hover {
    color: var(--color-secondary);
  }

  .hero {
    min-height: 88vh;
  }

  .search-panel {
    grid-template-columns: 1.4fr repeat(4, minmax(120px, 1fr)) auto auto;
  }

  .search-panel > div:first-child {
    grid-column: auto;
  }

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

  .split,
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
