@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f4f6fc;
  --surface: #ffffff;
  --surface-soft: #eef3ff;
  --surface-muted: #f8faff;
  --text: #1d2333;
  --text-soft: #4f5870;
  --muted: #67718a;
  --line: rgba(29, 35, 51, 0.1);
  --line-strong: rgba(64, 75, 245, 0.16);
  --primary: #404bf5;
  --primary-dark: #2f39d9;
  --primary-soft: #dde4ff;
  --primary-ink: #20276d;
  --success: #1fa85a;
  --shadow: 0 28px 60px rgba(19, 29, 74, 0.12);
  --shadow-soft: 0 16px 34px rgba(18, 27, 69, 0.08);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(64, 75, 245, 0.11), transparent 28%),
    radial-gradient(circle at right 10%, rgba(64, 75, 245, 0.06), transparent 24%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 100%);
}

body.is-ready {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

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

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

:focus-visible {
  outline: 3px solid rgba(64, 75, 245, 0.22);
  outline-offset: 3px;
}

.site-shell {
  width: min(var(--shell), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  background: rgba(57, 68, 234, 0.96);
  box-shadow: 0 16px 36px rgba(17, 27, 79, 0.15);
}

.site-header__inner {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo img {
  width: 126px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 12px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.page {
  padding: 40px 0 84px;
}

.hero {
  padding: 52px 0 28px;
}

.hero--home {
  padding-top: 68px;
}

.hero__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: stretch;
  gap: 34px;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, #eef3ff 0%, #ffffff 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero__panel--compact {
  grid-template-columns: 1fr;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero__panel--compact .hero__title,
.hero__panel--compact .hero__lead,
.hero__panel--compact .copy {
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
}

.hero__panel--compact .hero__lead,
.hero__panel--compact .copy {
  max-width: 42rem;
}

.hero__eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero__title,
.section-title,
.card-title,
.property-title,
.form-title {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero__title,
.section-title {
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 0.98;
}

.form-title,
.card-title {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.02;
}

.hero__lead,
.section-lead,
.copy,
.card-copy,
.property-copy,
.meta-list,
.contact-list,
.field {
  color: var(--text-soft);
}

.hero__lead,
.section-lead {
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.72;
}

.hero__copy {
  margin-top: 24px;
}

.copy {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.copy + .copy {
  margin-top: 14px;
}

.hero__actions,
.section-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.card .card-actions,
.property-card__body .card-actions {
  margin-top: auto;
  padding-top: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.button:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.button--primary {
  background: linear-gradient(135deg, var(--primary) 0%, #5963ff 100%);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(64, 75, 245, 0.22);
}

.button--primary:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #4954ff 100%);
}

.button--secondary {
  background: var(--primary-soft);
  color: var(--primary-ink);
}

.button--secondary:hover {
  color: var(--primary-ink);
}

.hero-media,
.media-card {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 8px);
  box-shadow: var(--shadow-soft);
}

.hero-media img,
.media-card img {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.section {
  padding: 32px 0;
}

.section__head {
  max-width: 780px;
  margin: 0 auto 32px;
  text-align: center;
}

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

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

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

.card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover,
.property-card:hover,
.contact-card:hover,
.form-card:hover,
.search-card:hover,
.note:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 44px rgba(18, 27, 69, 0.12);
}

.card--media,
.card--service {
  padding: 24px;
}

.card__icon {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: linear-gradient(135deg, #eef2ff 0%, #dfe7ff 100%);
  display: grid;
  place-items: center;
}

.card__icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.card-title {
  font-size: 30px;
}

.card-copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
}

.bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bullet-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.72;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--primary);
}

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

.split__content,
.split__media {
  min-width: 0;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary-ink);
  font-size: 13px;
  font-weight: 700;
}

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

.note {
  padding: 24px;
  border: 1px solid rgba(64, 75, 245, 0.08);
  background: linear-gradient(180deg, #f5f8ff 0%, #eef4ff 100%);
  border-radius: var(--radius-md);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-card,
.form-card,
.search-card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: start;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.field,
.select,
.textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(24, 29, 42, 0.1);
  border-radius: 16px;
  background: var(--surface-muted);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field::placeholder,
.textarea::placeholder {
  color: #8189a0;
}

.field:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(64, 75, 245, 0.34);
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(64, 75, 245, 0.08);
  outline: none;
}

.textarea {
  min-height: 152px;
  padding: 16px 18px;
  resize: vertical;
}

.form-note {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: #c43d4b;
}

.contact-list,
.social-list,
.contact-highlights {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-list li,
.social-list li,
.contact-highlights li {
  font-size: 15px;
  line-height: 1.65;
}

.contact-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
}

.contact-list li > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.contact-list strong,
.contact-highlights strong {
  color: var(--text);
}

.contact-card .site-footer__title {
  color: var(--text);
}

.social-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #eef2ff 0%, #dfe7ff 100%);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(64, 75, 245, 0.08);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-icon--social {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.contact-stack {
  display: grid;
  gap: 28px;
}

.search-card {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(2, minmax(0, 0.9fr)) minmax(240px, 1fr);
  gap: 14px;
  align-items: end;
}

.search-card label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #edf1ff;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.chip:hover {
  transform: translateY(-1px);
}

.chip.is-active {
  background: var(--primary);
  color: #ffffff;
}

.results-summary {
  margin: 18px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

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

.property-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.property-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.property-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf1ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.property-title {
  font-size: 28px;
  line-height: 1.04;
}

.property-copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
}

.price {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.empty-state {
  margin-top: 24px;
  padding: 28px;
  border: 1px dashed rgba(64, 75, 245, 0.24);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.empty-state strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  color: var(--text);
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #151d49 0%, #404bf5 100%);
  color: #ffffff;
  box-shadow: 0 28px 60px rgba(21, 30, 74, 0.18);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band .hero__eyebrow,
.cta-band .section-title,
.cta-band .copy {
  color: #ffffff;
}

.site-footer {
  padding: 40px 0 28px;
  background:
    linear-gradient(135deg, rgba(24, 30, 59, 0.96) 0%, rgba(45, 55, 130, 0.96) 100%);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.site-footer__brand img {
  width: 126px;
  margin-bottom: 14px;
}

.site-footer__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.site-footer p,
.site-footer li,
.site-footer a {
  font-size: 14px;
  line-height: 1.7;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer__bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #20c55a 0%, #25d366 100%);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.32);
}

.whatsapp-float:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.is-hidden {
  display: none !important;
}

body.is-ready .reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.82s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.82s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

body.is-ready .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

body.is-ready .reveal-on-scroll[data-reveal="left"] {
  transform: translate3d(-36px, 20px, 0);
}

body.is-ready .reveal-on-scroll[data-reveal="right"] {
  transform: translate3d(36px, 20px, 0);
}

body.is-ready .reveal-on-scroll.is-visible[data-reveal="left"],
body.is-ready .reveal-on-scroll.is-visible[data-reveal="right"] {
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.is-ready .reveal-on-scroll,
  body.is-ready .reveal-on-scroll.is-visible,
  body.is-ready .reveal-on-scroll[data-reveal="left"],
  body.is-ready .reveal-on-scroll[data-reveal="right"] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .site-footer__inner,
  .search-card {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 980px) {
  .hero__panel,
  .split,
  .contact-layout,
  .site-footer__inner,
  .cards,
  .cards--three,
  .cards--feature-grid,
  .properties,
  .search-card {
    grid-template-columns: 1fr;
  }

  .hero__panel {
    padding: 34px;
  }

  .hero__panel--compact .hero__title,
  .hero__panel--compact .hero__lead,
  .hero__panel--compact .copy {
    max-width: 100%;
  }

  .results-summary {
    margin-top: 16px;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 24px;
    background: rgba(32, 39, 109, 0.98);
    box-shadow: 0 24px 44px rgba(12, 17, 43, 0.28);
  }

  .site-nav.is-open {
    display: flex;
  }
}

@media (max-width: 767px) {
  .site-shell {
    width: min(var(--shell), calc(100% - 28px));
  }

  .site-header__inner {
    min-height: 66px;
  }

  .page {
    padding-top: 28px;
    padding-bottom: 72px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero--home {
    padding-top: 34px;
  }

  .hero__panel,
  .hero__panel--compact,
  .contact-card,
  .form-card,
  .search-card,
  .card,
  .cta-band,
  .empty-state {
    padding: 24px 20px;
  }

  .hero__title,
  .section-title {
    font-size: 31px;
  }

  .form-title,
  .card-title,
  .property-title {
    font-size: 26px;
  }

  .hero__lead,
  .section-lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .copy,
  .card-copy,
  .property-copy,
  .bullet-list li,
  .contact-list li,
  .social-list li,
  .contact-highlights li {
    font-size: 14px;
  }

  .hero-media img,
  .media-card img,
  .property-card img {
    min-height: 220px;
    height: 220px;
  }

  .button {
    width: 100%;
  }

  .pill-row,
  .chips,
  .hero__actions,
  .section-actions,
  .card-actions {
    gap: 10px;
  }

  .note-grid {
    grid-template-columns: 1fr;
  }
}
