﻿:root {
  --ink: #111111;
  --muted: #5b5b5b;
  --cream: #f6f1ea;
  --sand: #efe5d7;
  --stone: #e3d8c7;
  --brand: #1c7c5a;
  --brand-dark: #0f5a41;
  --outline: #1e1e1e;
  --shadow: 0 24px 60px rgba(18, 18, 18, 0.12);
  --shadow-soft: 0 12px 30px rgba(18, 18, 18, 0.08);
  --ring: rgba(28, 124, 90, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fff8ef, #f7efe2 55%, #f2e6d6 100%);
}

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

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}

.page { max-width: 1200px; margin: 0 auto; padding: 28px 28px 80px; }

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  position: sticky; top: 0; background: rgba(246, 241, 234, 0.9);
  backdrop-filter: blur(10px); border-radius: 20px; padding: 16px 24px; z-index: 10;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.logo { font-weight: 800; letter-spacing: 2px; font-size: 20px; }

.nav-links { display: flex; gap: 18px; font-size: 14px; font-weight: 600; }

.nav-links a { position: relative; }

.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--brand); transition: width 0.2s ease;
}

.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 12px 22px; font-weight: 600; font-size: 14px;
  transition: all 0.2s ease; border: none; cursor: pointer; background: transparent;
}

.btn.primary { background: var(--brand); color: white; box-shadow: 0 10px 30px rgba(28, 124, 90, 0.25); }
.btn.primary:hover { background: var(--brand-dark); }
.btn.outline { border: 1px solid var(--outline); }
.btn.ghost { border: 1px solid rgba(18, 18, 18, 0.15); background: white; }

.eyebrow { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.hero {
  margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px; align-items: center;
}

.hero-copy h1 { font-family: "Playfair Display", serif; font-size: clamp(36px, 6vw, 62px); margin: 12px 0 18px; }

.subhead { font-size: 18px; color: var(--muted); max-width: 420px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 32px; }

.hero-steps { display: grid; gap: 16px; background: white; padding: 20px; border-radius: 18px; box-shadow: var(--shadow); }

.hero-steps h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.hero-steps p { font-size: 14px; color: var(--muted); margin-top: 6px; }

.hero-art { position: relative; min-height: 520px; }

.hero-image {
  width: 100%; height: 520px; border-radius: 28px;
  background: url("https://findrealestate.com/_next/static/media/back.f53e9773.jpg") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-canvas { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; mix-blend-mode: multiply; }

.floating { position: absolute; width: 180px; animation: float 8s ease-in-out infinite; pointer-events: none; }
.floating.house { bottom: 30px; left: -10px; width: 200px; }
.floating.cloud { top: 10px; right: -20px; width: 160px; animation-delay: 1s; }
.floating.smoke { top: 120px; left: 40px; width: 120px; opacity: 0.7; animation-delay: 2s; }

@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-12px); } }

.section { margin-top: 80px; padding: 10px 0; }

.section-title { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.section-title h2 { font-size: clamp(28px, 4vw, 42px); }
.section-title p { color: var(--muted); }

.why-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; align-items: center; }
.why-card { background: white; padding: 28px; border-radius: 22px; box-shadow: var(--shadow); }
.why-card h3 { font-size: 22px; margin-bottom: 12px; }
.why-card p { color: var(--muted); }

.why-collage { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; perspective: 1200px; }
.why-collage img {
  width: 100%; height: 160px; object-fit: cover; border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12); transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.rewired-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 24px; }

.step { background: var(--sand); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-soft); }
.step span { font-weight: 700; font-size: 12px; letter-spacing: 2px; color: var(--brand); }
.step h3 { margin: 12px 0 8px; }
.step p { color: var(--muted); }

.agents { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 36px; align-items: center; }

.agents-media { display: grid; gap: 18px; }
.agents-media img { width: 100%; border-radius: 22px; object-fit: cover; min-height: 220px; box-shadow: var(--shadow); }

.agents-copy p { color: var(--muted); margin-bottom: 12px; }

.testimonials { background: var(--cream); padding: 40px; border-radius: 26px; }

.testimonial-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 28px; }

.testimonial-track article {
  background: white; padding: 20px; border-radius: 18px; box-shadow: var(--shadow);
  font-size: 14px; line-height: 1.6; transform-style: preserve-3d;
}

.testimonial-track h4 { margin-top: 16px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }

.service-grid { margin-top: 30px; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.service-card {
  background: white; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
  display: grid; gap: 14px; transform-style: preserve-3d;
}

.service-card img { width: 100%; height: 180px; object-fit: cover; }
.service-card div { padding: 0 20px 20px; }
.service-card p { color: var(--muted); font-size: 14px; }

.support { background: var(--stone); padding: 40px; border-radius: 26px; }

.support-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 26px; }

.support-grid article { background: white; padding: 18px; border-radius: 18px; box-shadow: var(--shadow); }
.support-grid img { width: 100%; height: 160px; object-fit: cover; border-radius: 14px; margin-bottom: 14px; }
.support-grid a { display: inline-block; margin-top: 8px; font-weight: 600; color: var(--brand); }

.blog-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.blog-grid article { background: white; border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.blog-grid span { font-size: 12px; color: var(--muted); }
.blog-grid p { margin: 10px 0 14px; color: var(--muted); }
.blog-grid a { font-weight: 600; color: var(--brand); }

.cta {
  margin-top: 80px; background: url("https://findrealestate.com/_next/static/media/cta.3bdb8f7c.jpg") center/cover no-repeat;
  border-radius: 28px; padding: 70px 40px; color: white; position: relative; overflow: hidden;
}

.cta::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); }

.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; max-width: 420px; }

.footer { margin-top: 80px; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 40px; }

.footer h3, .footer h4 { margin-bottom: 12px; }
.footer a { display: block; margin-bottom: 8px; color: var(--muted); }

.newsletter { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; align-items: center; }

.newsletter input { flex: 1; padding: 10px 12px; border-radius: 999px; border: 1px solid #ccc; }

.footer-bottom { grid-column: 1 / -1; font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }

.page-hero {
  margin-top: 30px; background: linear-gradient(135deg, rgba(28,124,90,0.15), rgba(255,255,255,0.2));
  border-radius: 26px; padding: 48px; display: grid; gap: 14px; box-shadow: var(--shadow-soft);
}

.page-hero h1 { font-family: "Playfair Display", serif; font-size: clamp(32px, 5vw, 54px); }

.cards { margin-top: 30px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card { background: white; padding: 20px; border-radius: 18px; box-shadow: var(--shadow-soft); transform-style: preserve-3d; transition: transform 0.2s ease; }

.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }

.tilt { transform-style: preserve-3d; will-change: transform; }

.stats { margin-top: 36px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stats .card { text-align: center; }
.stats .card h3 { font-size: 28px; }

.listings { margin-top: 30px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.listing-card { background: white; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); display: grid; gap: 12px; }
.listing-card img { width: 100%; height: 180px; object-fit: cover; }
.listing-card .meta { padding: 0 18px 18px; display: grid; gap: 6px; }
.listing-card .meta p { color: var(--muted); font-size: 13px; }

.agent-grid { margin-top: 28px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.agent-card { background: white; border-radius: 18px; padding: 18px; box-shadow: var(--shadow-soft); text-align: center; }
.agent-card img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; }
.agent-card span { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }

.pricing { margin-top: 28px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pricing-card { background: white; border-radius: 20px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.pricing-card h3 { font-size: 22px; }
.pricing-card ul { margin-top: 8px; display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
.pricing-card strong { font-size: 28px; }

.faq { margin-top: 24px; display: grid; gap: 14px; }
.faq-item { background: white; border-radius: 16px; padding: 18px; box-shadow: var(--shadow-soft); }
.faq-item h4 { margin-bottom: 6px; }
.faq-item p { color: var(--muted); font-size: 14px; }

.contact { margin-top: 24px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.contact form { background: white; border-radius: 18px; padding: 20px; box-shadow: var(--shadow-soft); display: grid; gap: 12px; }
.contact input, .contact select, .contact textarea {
  width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid #d3c7b6; font-family: inherit;
}

.contact textarea { min-height: 120px; resize: vertical; }

.form-inquiry { gap: 18px; }

.form-section {
  border: 1px solid rgba(28, 124, 90, 0.15);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.form-section legend {
  padding: 0 8px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand);
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}

.radio-group span {
  font-weight: 600;
  color: var(--muted);
  margin-right: 4px;
}

.radio-group input { margin-right: 6px; }

/* Zoho webform theme overrides */
.contact .form-inquiry {
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.contact .form-inquiry #crmWebToEntityForm {
  background: transparent !important;
  color: var(--ink);
  max-width: 100% !important;
  padding: 0 !important;
}

.contact .form-inquiry #crmWebToEntityForm .zcwf_title {
  display: none !important;
}

.contact .form-inquiry #crmWebToEntityForm .zcwf_row {
  margin: 10px 0 !important;
}

.contact .form-inquiry #crmWebToEntityForm .zcwf_col_lab,
.contact .form-inquiry #crmWebToEntityForm .zcwf_col_fld {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.contact .form-inquiry #crmWebToEntityForm .zcwf_col_lab label {
  font-family: "Manrope", sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted) !important;
  font-weight: 700;
}

.contact .form-inquiry #crmWebToEntityForm .zcwf_col_fld input[type="text"],
.contact .form-inquiry #crmWebToEntityForm .zcwf_col_fld input[type="password"],
.contact .form-inquiry #crmWebToEntityForm .zcwf_col_fld textarea,
.contact .form-inquiry #crmWebToEntityForm .zcwf_col_fld_slt {
  width: 100% !important;
  float: none !important;
  border-radius: 12px !important;
  border: 1px solid #d3c7b6 !important;
  padding: 10px 12px !important;
  height: 44px;
  font-family: "Manrope", sans-serif !important;
  background: #fff;
}

.contact .form-inquiry #crmWebToEntityForm .zcwf_col_fld textarea {
  height: 120px;
}

.contact .form-inquiry #crmWebToEntityForm .zcwf_privacy_txt {
  font-family: "Manrope", sans-serif !important;
  color: var(--muted) !important;
}

.contact .form-inquiry #crmWebToEntityForm .zcwf_button[name="reset"] {
  display: none !important;
}

.contact .form-inquiry #crmWebToEntityForm .zcwf_button {
  background: var(--brand) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 10px 18px !important;
  font-weight: 600 !important;
  font-family: "Manrope", sans-serif !important;
}

.contact .form-inquiry #crmWebToEntityForm .zcwf_button:hover {
  background: var(--brand-dark) !important;
}

@media (min-width: 860px) {
  .contact .form-inquiry #crmWebToEntityForm .zcwf_row {
    display: inline-block;
    width: calc(50% - 14px);
    vertical-align: top;
    margin-right: 24px !important;
  }

  .contact .form-inquiry #crmWebToEntityForm .zcwf_row:nth-of-type(2n) {
    margin-right: 0 !important;
  }

  .contact .form-inquiry #crmWebToEntityForm .zcwf_row:nth-last-of-type(-n+2) {
    width: 100%;
    margin-right: 0 !important;
  }
}

.parallax { transform-style: preserve-3d; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-art { min-height: 360px; }
  .hero-image { height: 360px; }
  .testimonials, .support { padding: 26px; }
}

@media (max-width: 600px) {
  .page { padding: 20px 16px 60px; }
  .newsletter { flex-direction: column; }
  .floating.house, .floating.cloud, .floating.smoke { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .floating { animation: none; }
  .tilt { transform: none !important; }
}
