/* Agent Assist Virtual Hub — brand styles */
:root {
  --charcoal: #363636;
  --ink: #1b1b1e;
  --gray: #605e5e;
  --mid: #bababa;
  --light: #e8e6e6;
  --white: #ffffff;
  --sans: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --serif-hero: "Maitree", Georgia, serif;
  --serif-display: "Cormorant Garamond", Georgia, serif;
  --serif-quote: "Playfair Display", Georgia, serif;
  --serif-classic: "Times New Roman", Times, serif;
  --slab: "Roboto Slab", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1100px, 92%); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid #eee;
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; width: min(1240px, 94%); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { height: 40px; width: auto; }
.brand span { font-size: 12px; letter-spacing: .08em; line-height: 1.15; text-transform: uppercase; }
.nav { display: flex; gap: 34px; }
.nav a {
  text-decoration: none; font-size: 13px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--charcoal); padding: 6px 0;
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--charcoal); }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--charcoal); margin: 5px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 500; font-size: 16px;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  padding: 14px 30px; border-radius: 8px; border: 0; cursor: pointer;
  transition: transform .15s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: rgba(40,38,38,.88); color: var(--white); }
.btn-dark:hover { background: var(--ink); }
.btn-light { background: rgba(232,230,230,.92); color: var(--charcoal); }
.btn-light:hover { background: var(--white); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: 78vh;
  display: grid; place-items: center; text-align: center;
  background: #2a2a2a url("https://static.wixstatic.com/media/11062b_3e1615233fac41c6a18bc372193b093af000.jpg/v1/fill/w_1920,h_1200,al_c,q_85,enc_auto/hero.jpg") center/cover no-repeat;
}
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.hero-box { position: relative; z-index: 1; padding: 0 20px; }
.hero h1 {
  margin: 0; font-family: var(--serif-hero); font-weight: 400; color: var(--white);
  text-transform: uppercase; line-height: 1.3;
}
.hero h1 .big {
  display: inline-block; font-size: clamp(30px, 5vw, 54px); letter-spacing: .5em;
  padding: 6px 10px 6px calc(10px + .5em); background: rgba(54,54,54,.75);
}
.hero h1 .small { display: block; font-size: clamp(14px, 1.6vw, 18px); letter-spacing: .7em; margin-top: 14px; }

/* ---------- Services ---------- */
.services {
  background: radial-gradient(circle at 95% 10%, #bababa 0%, #ffffff 100%);
  padding: 70px 0 80px; text-align: center;
}
.section-title { font-family: var(--serif-classic); font-weight: 400; font-size: clamp(36px, 5vw, 56px); margin: 0 0 50px; color: #000; }
.service-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 30px;
  max-width: 900px; margin: 0 auto 54px;
}
.service { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.service svg { width: 52px; height: 52px; stroke: var(--charcoal); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; }

/* ---------- CTA band ---------- */
.cta { background: var(--charcoal); color: var(--white); text-align: center; padding: 80px 0; }
.cta h2 { font-family: var(--serif-display); font-weight: 600; font-size: clamp(36px, 5vw, 58px); letter-spacing: .03em; margin: 0 0 22px; text-transform: uppercase; }
.cta p { font-size: clamp(16px, 1.6vw, 20px); max-width: 760px; margin: 0 auto 40px; }

/* ---------- Testimonials ---------- */
.testimonials-head {
  background: radial-gradient(circle at 6% 12%, rgba(54,54,54,.55) 0%, rgba(54,54,54,0) 60%),
              radial-gradient(circle at 94% 90%, rgba(96,94,94,.5) 0%, rgba(96,94,94,0) 40%),
              #f2f2f2;
  text-align: center; padding: 40px 0 34px;
}
.testimonials-head h2 {
  margin: 0; font-family: var(--slab); font-weight: 200; font-size: clamp(30px, 4.5vw, 58px);
  letter-spacing: .15em; color: var(--charcoal);
}
.slider {
  position: relative; min-height: 560px; display: grid; place-items: center; overflow: hidden;
  background: #777 url("https://static.wixstatic.com/media/5f5883_ddd2eb57a715434ca028a10db7805999~mv2.jpg/v1/fill/w_1920,h_900,al_c,q_85,enc_auto/bg.jpg") center/cover no-repeat;
}
.slides { position: relative; width: min(720px, 86%); }
.slide {
  display: none; background: rgba(54,54,54,.83); color: var(--white);
  padding: 40px 44px; text-align: center; border-radius: 4px;
  animation: fade .6s ease;
}
.slide.active { display: block; }
.slide blockquote { margin: 0 0 22px; font-family: var(--serif-quote); font-style: italic; font-size: clamp(17px, 2vw, 22px); line-height: 1.55; }
.slide cite { font-family: var(--serif-quote); font-style: normal; font-size: 18px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.arrow {
  position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0;
  color: var(--white); font-size: 46px; cursor: pointer; padding: 10px 18px; opacity: .85; line-height: 1;
}
.arrow:hover { opacity: 1; }
.arrow.prev { left: 2%; } .arrow.next { right: 2%; }
.dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.dots button.active { background: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--gray); color: var(--white); padding: 50px 0 30px; text-align: center; }
.footer-top { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-top img { height: 52px; width: auto; }
.pill-nav { display: flex; background: var(--white); border-radius: 6px; overflow: hidden; }
.pill-nav a { text-decoration: none; color: var(--gray); font-size: 12px; letter-spacing: .06em; padding: 8px 22px; border-right: 1px solid #ccc; text-transform: uppercase; }
.pill-nav a:last-child { border-right: 0; }
.pill-nav a:hover { background: var(--light); }
.site-footer h2 { font-family: var(--sans); font-weight: 300; font-size: clamp(30px, 4vw, 44px); margin: 10px 0 22px; color: #dcdcdc; }
.newsletter { display: flex; max-width: 640px; margin: 0 auto; }
.newsletter label { position: absolute; left: -9999px; }
.newsletter input[type="email"] { flex: 1; padding: 13px 14px; font: inherit; border: 0; border-radius: 0; min-width: 0; }
.newsletter button { background: rgb(50,50,50); color: var(--white); border: 0; padding: 0 34px; font: inherit; cursor: pointer; }
.newsletter button:hover { background: var(--ink); }
.social { display: flex; justify-content: center; gap: 16px; margin: 30px 0 18px; }
.social a { display: inline-flex; width: 30px; height: 30px; }
.social svg { width: 100%; height: 100%; fill: var(--ink); }
.social a:hover svg { fill: var(--white); }
.copyright { font-family: var(--serif-quote); font-style: italic; font-size: 13px; margin: 0; }
.hidden { display: none; }

/* ---------- About ---------- */
.welcome { background: var(--light); padding: 40px 0 50px; text-align: center; }
.welcome h1 {
  display: inline-block; margin: 0 0 26px; background: rgba(54,54,54,.9); color: var(--white);
  font-family: var(--serif-hero); font-weight: 400; font-size: clamp(20px, 3vw, 32px);
  padding: 14px 34px; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.welcome img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 2px; }
.welcome p { font-family: var(--serif-hero); font-size: clamp(16px, 1.6vw, 19px); max-width: 860px; margin: 26px auto 0; }
.about { padding: 60px 0 70px; text-align: center; }
.about h2 { font-family: var(--serif-quote); font-style: italic; font-weight: 400; font-size: clamp(30px, 3.5vw, 40px); margin: 0; letter-spacing: .02em; text-transform: uppercase; }
.about .rule { width: 34px; height: 2px; background: var(--charcoal); margin: 8px auto 34px; }
.about p { max-width: 660px; margin: 0 auto 22px; font-size: 15px; }
.team-wrap { background: var(--light); padding: 20px 0 70px; }
.team {
  background: #555; color: var(--white); border-radius: 4px; padding: 40px 30px 60px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25); text-align: center;
}
.team > h2 { font-family: var(--sans); font-weight: 500; font-size: clamp(28px, 3vw, 38px); margin: 0 0 8px; }
.team > p { max-width: 640px; margin: 0 auto 40px; font-weight: 600; font-size: 14px; }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 30px; max-width: 900px; margin: 0 auto; }
.team-grid .member { flex: 0 0 calc((100% - 60px) / 3); }
.team-grid.founder, .team-grid + .team-grid { margin-top: 40px; }
.team-grid.founder { margin-top: 0; margin-bottom: 40px; }
.member .avatar {
  display: flex; align-items: center; justify-content: center; width: 200px; height: 200px; border-radius: 50%;
  margin: 0 auto 14px; border: 4px solid rgba(255,255,255,.15); background: #777; font-size: 48px; font-weight: 600; letter-spacing: .05em;
}
.member img { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; margin: 0 auto 14px; border: 4px solid rgba(255,255,255,.15); background: #777; }
.member h3 { margin: 0; font-size: 17px; font-weight: 600; }
.member p { margin: 2px 0 0; font-size: 13px; opacity: .85; }
.brokerages { padding: 50px 0 70px; text-align: center; }
.brokerages h2 { font-family: var(--serif-classic); font-weight: 400; font-size: 30px; margin: 0 0 30px; }
.logo-row { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.logo-row img { max-height: 70px; width: auto; max-width: 160px; object-fit: contain; }

/* ---------- Contact ---------- */
.contact-banner { height: 320px; background: #ddd url("https://static.wixstatic.com/media/5f5883_4f540c58ba594ce3b277288ce1b084c3~mv2.jpg/v1/fill/w_1920,h_640,al_c,q_85,enc_auto/contact.jpg") center/cover no-repeat; }
.contact-card {
  position: relative; margin-top: -190px; background: var(--white); padding: 50px 40px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; box-shadow: 0 2px 20px rgba(0,0,0,.06);
}
.contact-card h1 { font-family: var(--sans); font-weight: 400; font-size: clamp(34px, 4vw, 48px); margin: 0 0 18px; }
.contact-card .intro { font-size: 14px; color: var(--gray); max-width: 380px; }
.info { display: flex; gap: 50px; margin: 34px 0 30px; flex-wrap: wrap; }
.info h3, .social-mini h3 { font-family: var(--serif-quote); font-style: italic; font-weight: 400; font-size: 14px; margin: 0 0 6px; }
.info a { text-decoration: none; font-size: 14px; color: var(--gray); }
.info a:hover { color: var(--ink); }
.social-mini { display: flex; align-items: center; gap: 22px; }
.social-mini img { height: 48px; width: auto; }
.social-mini .social { margin: 0; justify-content: flex-start; gap: 10px; }
.social-mini .social a { width: 22px; height: 22px; }
.social-mini .social a:hover svg { fill: var(--gray); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12px; margin-bottom: 4px; color: var(--charcoal); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 9px 10px; border: 1px solid var(--charcoal); border-radius: 0; background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--mid); outline-offset: 1px; }
.send { width: 100%; background: var(--charcoal); color: var(--white); border: 0; padding: 12px; font-family: var(--serif-classic); font-size: 16px; cursor: pointer; }
.send:hover { background: var(--ink); }
.map { margin: 50px 0 60px; border-top: 1px solid #ddd; padding-top: 50px; }
.map iframe { width: 100%; height: 400px; border: 0; filter: grayscale(1) contrast(1.05); }
.join { text-align: center; padding: 10px 0 70px; }
.join p { font-size: 15px; margin: 0 0 18px; }
.join .newsletter input { border: 1px solid var(--charcoal); }

/* ---------- Thank you / 404 ---------- */
.simple { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; background: radial-gradient(circle at 95% 10%, #bababa 0%, #ffffff 100%); }
.simple h1 { font-family: var(--serif-display); font-weight: 600; font-size: clamp(36px, 5vw, 56px); margin: 0 0 12px; }
.simple p { margin: 0 0 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid .member { flex-basis: calc((100% - 30px) / 2); }
  .contact-card { grid-template-columns: 1fr; margin-top: -120px; padding: 36px 24px; }
}
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white);
    flex-direction: column; gap: 0; border-bottom: 1px solid #eee;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 6%; border-bottom: 1px solid #f0f0f0; }
  .hero { min-height: 62vh; }
  .hero h1 .big { letter-spacing: .3em; padding-left: calc(10px + .3em); }
  .slides { width: 78%; }
  .slide { padding: 28px 20px; }
  .slider { min-height: 640px; }
  .arrow { font-size: 34px; padding: 6px; }
  .newsletter { flex-direction: column; gap: 8px; width: 92%; }
  .newsletter button { padding: 13px; }
  .member img, .member .avatar { width: 150px; height: 150px; }
  .member .avatar { font-size: 38px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .team-grid .member { flex-basis: 100%; }
  .service-grid { gap: 34px 16px; }
}
