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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #333;
  background-color: #faf7f5;
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

.topbar {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 40;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-weight: 700;
  font-size: 1rem;
  color: #8d1b2a;
}

.brand-sub {
  font-size: 0.8rem;
  color: #777;
}

.topbar-contact {
  display: flex;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #8d1b2a, #d13c42);
  color: #fff;
  box-shadow: 0 8px 20px rgba(141, 27, 42, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(141, 27, 42, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: #8d1b2a;
  border: 1px solid rgba(141, 27, 42, 0.25);
}

.btn-secondary:hover {
  background: #fdf5f5;
}

.btn-outline {
  background: transparent;
  color: #8d1b2a;
  border: 1px solid rgba(141, 27, 42, 0.3);
}

.btn-outline:hover {
  background: #fce7eb;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: stretch;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: brightness(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.15), transparent 55%),
              linear-gradient(135deg, rgba(141, 27, 42, 0.75), rgba(33, 33, 33, 0.85));
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  color: #fff;
  padding: 5rem 0 4rem;
  display: flex;
  flex-direction: column;
  max-width: 640px;
  gap: 1.25rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  opacity: 0.9;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.1vw + 1rem, 3rem);
  line-height: 1.15;
  margin: 0;
}

.hero-text {
  font-size: 1rem;
  max-width: 37rem;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: #f3eeea;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
  color: #2b2b2b;
}

.section-header p {
  margin: 0;
  color: #666;
  font-size: 0.98rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.property-card {
  background: #fff;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.property-image {
  position: relative;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
  color: #fff;
}

.badge-sale {
  background: #8d1b2a;
}

.badge-rent {
  background: #2e7d32;
}

.property-body {
  padding: 1.25rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.property-body h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #222;
}

.property-location {
  margin: 0;
  font-size: 0.9rem;
  color: #777;
}

.property-icons {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #555;
}

.property-text {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

.property-link {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: #8d1b2a;
  font-weight: 600;
}

.property-link:hover {
  text-decoration: underline;
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-list {
  padding-left: 1.1rem;
  margin: 1rem 0 0;
  color: #555;
  font-size: 0.95rem;
}

.about-video {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-caption {
  font-size: 0.85rem;
  color: #666;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  border-radius: 0.9rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.lightbox-img {
  max-width: min(900px, 92vw);
  max-height: 86vh;
  border-radius: 1rem;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.7rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.socials-grid {
  display: grid;
  gap: 2rem;
  align-items: flex-start;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-embeds {
  display: grid;
  gap: 1rem;
}

.fb-embed iframe {
  border-radius: 1rem;
  background: #fff;
}

.ig-note {
  font-size: 0.85rem;
  color: #555;
  background: #fff;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: flex-start;
}

.contact-form {
  background: #fff;
  padding: 1.75rem 1.5rem;
  border-radius: 1.2rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.form-row label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #444;
}

.form-row input,
.form-row select,
.form-row textarea {
  border-radius: 0.7rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.55rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(141, 27, 42, 0.35);
  border-color: transparent;
}

.contact-info {
  display: grid;
  gap: 1.4rem;
}

.contact-card {
  background: #fff;
  padding: 1.25rem 1.4rem;
  border-radius: 1.1rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  font-size: 0.92rem;
}

.map-wrapper {
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.13);
}

.map-wrapper iframe {
  width: 100%;
  height: 260px;
  border: 0;
}

.footer {
  background: #111827;
  color: #d1d5db;
  padding: 1.6rem 0;
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer a {
  color: #f97373;
}

.whatsapp-float {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.3);
  z-index: 50;
}

.wa-icon {
  font-size: 1.7rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  }

  .socials-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .topbar-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .hero-content {
    padding-top: 4.2rem;
    padding-bottom: 3rem;
  }

  .hero {
    min-height: 70vh;
  }
}
