:root {
  --bg: #f6efe6;
  --bg-soft: #fffaf5;
  --ink: #1d1a1a;
  --muted: #655e58;
  --brand: #c65d2e;
  --brand-dark: #80341a;
  --card: rgba(255, 248, 240, 0.82);
  --line: rgba(29, 26, 26, 0.08);
  --success: #1f7a4f;
  --shadow: 0 24px 60px rgba(60, 34, 16, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(198, 93, 46, 0.22), transparent 28%),
    linear-gradient(180deg, #f3e2cf 0%, var(--bg) 38%, #fdf8f1 100%);
}

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

.hero,
.section {
  padding: 32px 24px;
}

.nav,
.hero-content,
.section-head,
.service-layout,
.contact-card {
  width: min(1120px, 100%);
  margin: 0 auto;
}

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

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

.brand strong,
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

.brand p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.brand-mark {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  box-shadow: var(--shadow);
  object-fit: cover;
  background: #fffdfa;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 700;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  min-height: calc(100vh - 120px);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

h1 {
  margin: 12px 0;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.95;
}

.hero-text,
.section-head p,
.service-cards p,
.contact-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 28px 0 34px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border: 1px solid var(--line);
}

.full-width {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-stats li,
.panel-card,
.property-card,
.service-cards article,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: var(--card);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-stats li {
  padding: 18px;
  border-radius: 24px;
}

.hero-stats strong {
  display: block;
  font-size: 1.6rem;
}

.hero-stats span {
  color: var(--muted);
}

.panel-card {
  padding: 28px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.profile-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(29, 26, 26, 0.08);
}

.profile-badge img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.profile-badge strong,
.profile-badge span {
  display: block;
}

.profile-badge span {
  color: var(--muted);
  font-size: 0.92rem;
}

.panel-card::before {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(198, 93, 46, 0.35), transparent 70%);
}

.panel-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.search-grid {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.search-grid label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.search-grid select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  font: inherit;
}

.section-light {
  background: var(--bg-soft);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2,
.service-layout h2,
.contact-card h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

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

.property-card {
  border-radius: 26px;
  overflow: hidden;
}

.property-image {
  height: 220px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  color: #fff;
}

.property-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 800;
}

.property-price {
  font-size: 1.3rem;
  font-weight: 800;
}

.property-body {
  padding: 20px;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.property-body h3 {
  margin: 0 0 8px;
}

.section-dark {
  background:
    linear-gradient(135deg, rgba(29, 26, 26, 0.96), rgba(72, 31, 12, 0.95)),
    #1d1a1a;
  color: #fff;
}

.service-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

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

.service-cards article {
  border-radius: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.section-accent {
  background:
    radial-gradient(circle at right top, rgba(198, 93, 46, 0.28), transparent 30%),
    linear-gradient(180deg, #fff7ed, #f6efe6);
}

.contact-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  border-radius: 32px;
  padding: 32px;
}

.register-card {
  background: rgba(255, 250, 245, 0.9);
}

.account-card {
  background: rgba(255, 247, 236, 0.95);
}

.admin-card {
  background: rgba(255, 255, 255, 0.08);
}

.account-status {
  display: grid;
  gap: 4px;
  margin-top: 20px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(29, 26, 26, 0.08);
}

.account-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-response {
  min-height: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--success);
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #1f7a4f;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(31, 122, 79, 0.35);
}

.floating-whatsapp:hover {
  background: #17603d;
}

.floating-whatsapp-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-family: "Space Grotesk", sans-serif;
}

@media (max-width: 960px) {
  .hero-content,
  .section-head,
  .service-layout,
  .contact-card,
  .property-grid,
  .service-cards {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
  }
}

@media (max-width: 720px) {
  .nav,
  .hero-actions,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    align-items: start;
  }

  .nav-links,
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-stats {
    display: grid;
  }

  h1 {
    font-size: 2.8rem;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    padding: 12px 14px;
  }
}
