:root {
  --navy: #0b1f3a;
  --blue: #143f73;
  --light-blue: #eaf3ff;
  --gold: #c8a45d;
  --gold-soft: #fff2cf;
  --cream: #fbf5ea;
  --white: #ffffff;
  --ink: #172033;
  --muted: #667085;
  --line: #e9dfd0;
  --shadow: 0 24px 70px rgba(11,31,58,.14);
  --shadow-strong: 0 34px 110px rgba(11,31,58,.24);
}

* {
  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;
  background:
    radial-gradient(circle at top left, rgba(255,242,207,.75), transparent 36rem),
    linear-gradient(180deg, #fbf5ea 0%, #fffaf2 52%, #ffffff 100%);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem 5vw;
  background: rgba(251,245,234,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(233,223,208,.8);
}

.brand {
  display: grid;
  gap: .15rem;
  font-weight: 1000;
  color: var(--navy);
}

.brand span {
  font-size: 1.05rem;
  letter-spacing: -.02em;
}

.brand small {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .65rem;
  flex-wrap: wrap;
}

nav a {
  padding: .58rem .78rem;
  border-radius: 999px;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 900;
}

nav a:hover {
  background: var(--gold-soft);
}

.language-pill {
  background: var(--navy);
  color: #fff;
}

.language-pill:hover {
  background: var(--blue);
}

main {
  width: 100%;
}

.graphic-hero,
.page-wrap {
  width: min(1220px, 90vw);
  margin: 0 auto;
}

.graphic-hero {
  position: relative;
  padding: 4.4rem 0 3.5rem;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  opacity: .75;
  pointer-events: none;
}

.shape-one {
  width: 24rem;
  height: 24rem;
  right: -8rem;
  top: 2rem;
  background: rgba(200,164,93,.23);
}

.shape-two {
  width: 18rem;
  height: 18rem;
  left: -6rem;
  bottom: 2rem;
  background: rgba(20,63,115,.12);
}

.hero-top,
.page-hero,
.section-heading,
.showcase-intro {
  position: relative;
  z-index: 2;
}

.hero-top {
  max-width: 820px;
  margin: 0 auto 2.8rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 .65rem;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 1000;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  line-height: .96;
  letter-spacing: -.065em;
}

h2 {
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}

h3 {
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.15;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-top p {
  max-width: 710px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.08rem;
}

.graphic-stage {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 430px) 1fr;
  grid-template-rows: auto auto;
  gap: 1.2rem;
  align-items: center;
}

.feature-box {
  min-height: 190px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.76);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(200,164,93,.65);
}

.feature-box span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--navy);
  font-weight: 1000;
}

.feature-box h2 {
  margin-bottom: .55rem;
  font-size: 1.8rem;
}

.feature-box p {
  margin-bottom: 0;
  font-size: .95rem;
}

.box-explore {
  grid-column: 1;
  grid-row: 1;
  margin-right: 1.2rem;
}

.box-homes {
  grid-column: 3;
  grid-row: 1;
  margin-left: 1.2rem;
}

.box-investment {
  grid-column: 1;
  grid-row: 2;
  margin-right: 1.2rem;
}

.box-rentals {
  grid-column: 3;
  grid-row: 2;
  margin-left: 1.2rem;
}

.photo-panel {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  gap: 1rem;
}

.photo-card {
  position: relative;
  overflow: hidden;
  padding: .85rem;
  border: 1px solid rgba(200,164,93,.45);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(255,242,207,.65));
  box-shadow: var(--shadow-strong);
}

.photo-frame {
  overflow: hidden;
  border-radius: 34px;
  background: #e7d8c3;
  aspect-ratio: 4 / 5;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.quick-guidance-box {
  position: absolute;
  top: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  width: min(86%, 310px);
  padding: .85rem .95rem;
  border-radius: 20px;
  background: rgba(11,31,58,.94);
  color: #fff;
  text-align: center;
  border: 2px solid var(--gold);
  box-shadow: 0 18px 45px rgba(11,31,58,.32);
  animation: quickPulse 1.35s infinite;
}

.quick-guidance-box span {
  display: block;
  margin-bottom: .55rem;
  font-size: .88rem;
  font-weight: 1000;
  letter-spacing: .04em;
}

.quick-guidance-box div {
  display: flex;
  justify-content: center;
  gap: .35rem;
  flex-wrap: wrap;
}

.quick-guidance-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .42rem .62rem;
  border-radius: 999px;
  background: #fff2cf;
  color: var(--navy);
  font-size: .76rem;
  font-weight: 1000;
}

.quick-guidance-box a:hover {
  background: #fff;
}

@keyframes quickPulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 18px 45px rgba(11,31,58,.32), 0 0 0 0 rgba(200,164,93,.72);
  }

  50% {
    opacity: .82;
    box-shadow: 0 18px 45px rgba(11,31,58,.32), 0 0 0 10px rgba(200,164,93,0);
  }
}

.name-card {
  position: absolute;
  left: 1.7rem;
  right: 1.7rem;
  bottom: 1.7rem;
  padding: 1.15rem;
  border-radius: 26px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(11,31,58,.16);
}

.name-card h2 {
  margin-bottom: .25rem;
  font-size: 2rem;
}

.name-card p:last-child {
  margin-bottom: 0;
  font-size: .9rem;
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 24px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.trust-strip div {
  padding: 1rem .75rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: #fff;
  font-size: .95rem;
}

.trust-strip span {
  color: rgba(255,255,255,.68);
  font-size: .72rem;
  font-weight: 800;
}

.welcome-card,
.testimonials,
.lead-section,
.explore-showcase,
.manual-property-section,
.crm-login-card {
  margin: 2rem auto;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
}

.welcome-card {
  width: min(1050px, 90vw);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.welcome-icon {
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  border-radius: 28px;
  background: var(--navy);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 1000;
  box-shadow: 0 18px 42px rgba(11,31,58,.24);
}

.cta-row {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.button,
button {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 46px;
  padding: .82rem 1.15rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 1000;
  font-size: .92rem;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.button:hover,
button:hover {
  transform: translateY(-2px);
  background: var(--blue);
  box-shadow: 0 14px 32px rgba(11,31,58,.18);
}

.button.primary {
  background: var(--navy);
  color: #fff;
}

.button.secondary,
button.secondary,
.secondary {
  background: var(--gold-soft);
  color: var(--navy);
}

.button.secondary:hover,
button.secondary:hover,
.secondary:hover {
  background: #ffe7aa;
}

button.danger {
  background: #b42318;
}

button.danger:hover {
  background: #912018;
}

.testimonials {
  width: min(1220px, 90vw);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.4rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.testimonial-grid article {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.stars {
  margin-bottom: .65rem;
  color: var(--gold);
  letter-spacing: .08em;
}

.testimonial-grid p {
  margin-bottom: 0;
  font-size: .9rem;
}

.page-wrap {
  padding: 2.6rem 0 3rem;
}

.page-hero {
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,242,207,.58)),
    radial-gradient(circle at right top, rgba(200,164,93,.25), transparent 25rem);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
}

.page-hero p {
  max-width: 760px;
  font-size: 1.03rem;
}

.lead-section {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 2rem;
  align-items: start;
}

.lead-form {
  display: grid;
  gap: .9rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea,
.crm-tools input,
.crm-tools select {
  width: 100%;
  min-height: 48px;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.lead-form textarea {
  min-height: 120px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus,
.crm-tools input:focus,
.crm-tools select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200,164,93,.15);
}

.form-note {
  margin: .3rem 0 0;
  color: var(--muted);
  font-size: .86rem;
}

.form-success {
  min-height: 1.2rem;
  color: var(--blue);
  font-weight: 900;
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-bottom: .5rem;
}

.wizard-progress span {
  padding: .7rem .8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 900;
  text-align: center;
}

.wizard-progress span.active {
  background: var(--navy);
  color: #fff;
}

.wizard-step {
  display: none;
  gap: .9rem;
}

.wizard-step.active {
  display: grid;
}

.wizard-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.guidance-output {
  padding: 1.3rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,242,207,.78));
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(11,31,58,.1);
}

.guidance-output h3 {
  margin-bottom: .65rem;
  font-size: 1.45rem;
}

.guidance-output p {
  margin-bottom: .7rem;
}

.guidance-output small {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.explore-showcase,
.manual-property-section {
  margin-top: 2rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 1.2rem;
  align-items: stretch;
}

.video-card,
.property-card,
.manual-property-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(11,31,58,.1);
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 420px;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  background: #000;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-fallback-link {
  padding: 1rem;
  background: #fff;
  border-top: 1px solid var(--line);
  text-align: center;
}

.video-fallback-link a {
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.property-photo-space,
.property-image-placeholder,
.manual-property-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 240px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(200,164,93,.38), rgba(255,242,207,.72)),
    linear-gradient(180deg, #d9c3a3, #f4eadb);
}

.property-photo-space img,
.manual-property-image img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
}

.manual-property-image > span:not(.photo-placeholder),
.property-link-badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 3;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(11,31,58,.92);
  color: white;
  font-size: .76rem;
  font-weight: 1000;
}

.property-card-content,
.manual-property-content {
  padding: 1.4rem;
}

.property-card-content p:last-of-type,
.manual-property-content p {
  margin-bottom: 1rem;
}

.manual-property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
}

.manual-property-card h3 {
  margin-bottom: .55rem;
}

.bottom-contact-bar {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 1.1rem 5vw;
}

.bottom-contact-inner {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: .94rem;
}

.bottom-contact-left,
.bottom-contact-right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.bottom-contact-right {
  margin-left: auto;
}

.bottom-contact-inner a {
  color: #f6d28b;
  font-weight: 800;
}

.bottom-contact-inner a:hover {
  color: #fff;
}

.social-icons {
  gap: .75rem;
}

.social-icons a {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(246, 210, 139, .14);
  border: 1px solid rgba(246, 210, 139, .35);
  color: #f6d28b;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.social-icons a:hover {
  background: #f6d28b;
  color: #000;
  transform: translateY(-2px);
}

.social-icons svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: currentColor;
}

footer {
  padding: 1.25rem 5vw;
  background: #050505;
  color: rgba(255,255,255,.65);
  text-align: center;
}

footer p {
  margin: 0;
  color: rgba(255,255,255,.65);
  font-size: .86rem;
}

.crm-private-page {
  background: #f6efe4;
}

.crm-login-card {
  max-width: 540px;
}

.login-error {
  min-height: 1.2rem;
  color: #b42318;
  font-weight: 900;
}

.crm-dashboard-hidden {
  display: none;
}

.crm-dashboard-visible {
  display: block;
}

.logout-button {
  margin-top: .8rem;
}

.crm-tools {
  display: grid;
  grid-template-columns: 1fr 220px auto auto;
  gap: .8rem;
  margin: 1.3rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(11,31,58,.08);
}

.crm-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(11,31,58,.08);
}

.crm-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.crm-table th,
.crm-table td {
  padding: .9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: .88rem;
}

.crm-table th {
  color: var(--navy);
  background: var(--gold-soft);
  font-weight: 1000;
}

.crm-table td {
  color: var(--ink);
}

.crm-table tr:last-child td {
  border-bottom: 0;
}

.empty-state {
  display: none;
  padding: 1.2rem;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.status-pill {
  display: inline-flex;
  padding: .38rem .62rem;
  border-radius: 999px;
  background: var(--light-blue);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 1000;
}

@media (max-width: 1040px) {
  .graphic-stage {
    grid-template-columns: 1fr 1fr;
  }

  .photo-panel {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: 430px;
    margin: 0 auto;
  }

  .box-explore,
  .box-homes,
  .box-investment,
  .box-rentals {
    grid-column: auto;
    grid-row: auto;
    margin: 0;
  }

  .box-explore {
    grid-column: 1;
    grid-row: 2;
  }

  .box-homes {
    grid-column: 2;
    grid-row: 2;
  }

  .box-investment {
    grid-column: 1;
    grid-row: 3;
  }

  .box-rentals {
    grid-column: 2;
    grid-row: 3;
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .manual-property-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lead-section {
    grid-template-columns: 1fr;
  }

  .crm-tools {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .graphic-hero {
    padding-top: 2.6rem;
  }

  .graphic-stage {
    grid-template-columns: 1fr;
  }

  .photo-panel,
  .box-explore,
  .box-homes,
  .box-investment,
  .box-rentals {
    grid-column: 1;
    grid-row: auto;
  }

  .welcome-card {
    grid-template-columns: 1fr;
  }

  .testimonial-grid,
  .manual-property-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .wizard-progress {
    grid-template-columns: 1fr;
  }

  .video-embed {
    min-height: 300px;
  }

  .property-photo-space img,
  .manual-property-image img {
    height: 220px;
  }

  .bottom-contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .bottom-contact-left,
  .bottom-contact-right {
    align-items: flex-start;
  }

  .bottom-contact-right {
    margin-left: 0;
  }

  .crm-tools {
    grid-template-columns: 1fr;
  }
}