/* ═══ KATE ANDERSON — ESTATE SPECIALIST ═══ */
:root {
  --navy: #1e2d3d;
  --gold: #9a7d4e;
  --gold-light: #c4a96b;
  --cream: #f8f5f0;
  --white: #ffffff;
  --text: #2a2a2a;
  --text-mid: #555;
  --text-light: #888;
  --border: #e4ddd4;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --ff-head: 'Cormorant Garamond', Georgia, serif;
  --ff-body: 'Montserrat', -apple-system, sans-serif;
  --radius: 6px;
  --trans: all 0.3s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--ff-body); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4 { font-family: var(--ff-head); font-weight: 600; line-height: 1.2; }
a { color: var(--gold); text-decoration: none; transition: var(--trans); }
a:hover { color: var(--navy); }
img { max-width: 100%; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.section-label { font-size: 0.7rem; letter-spacing: 0.3em; color: var(--gold); font-weight: 600; display: block; margin-bottom: 0.75rem; }
.section-label.center { text-align: center; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--navy); margin-bottom: 1.25rem; }
.section-title.center { text-align: center; }
.section-intro { text-align: center; max-width: 640px; margin: 0 auto 3rem; color: var(--text-mid); font-size: 1.05rem; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; border-radius: var(--radius); font-family: var(--ff-body); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em; cursor: pointer; border: none; transition: var(--trans); text-decoration: none; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30,45,61,0.25); }
.btn-secondary { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); color: var(--white); }

/* ── Navbar ── */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.25rem 0; transition: var(--trans); }
.navbar.scrolled { background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,0.08); padding: 0.75rem 0; }
.nav-container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { text-decoration: none; }
.logo-name { display: block; font-family: var(--ff-head); font-size: 1.4rem; color: var(--white); font-weight: 600; transition: var(--trans); }
.navbar.scrolled .logo-name { color: var(--navy); }
.logo-tag { display: block; font-size: 0.65rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.7); transition: var(--trans); }
.navbar.scrolled .logo-tag { color: var(--text-light); }
.nav-menu { list-style: none; display: flex; align-items: center; gap: 2rem; }
.nav-menu a { font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.85); letter-spacing: 0.03em; }
.navbar.scrolled .nav-menu a { color: var(--text-mid); }
.nav-menu a:hover { color: var(--white); }
.navbar.scrolled .nav-menu a:hover { color: var(--gold); }
.nav-cta { background: var(--gold) !important; color: var(--white) !important; padding: 0.5rem 1.25rem; border-radius: var(--radius); }
.nav-cta:hover { background: var(--navy) !important; color: var(--white) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--trans); }
.navbar.scrolled .nav-toggle span { background: var(--navy); }

/* ── Hero ── */
.hero { min-height: 100vh; background: linear-gradient(135deg, var(--navy) 0%, #2d4a6b 60%, #1a3a5c 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1570129477492-45c003edd2be?w=1600&q=60') center/cover no-repeat; opacity: 0.12; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(30,45,61,0.3) 0%, rgba(30,45,61,0.7) 100%); }
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 760px; padding: 2rem; }
.hero-eyebrow { font-size: 0.75rem; letter-spacing: 0.35em; color: var(--gold-light); font-weight: 600; display: block; margin-bottom: 1.5rem; }
.hero-title { font-size: clamp(2.5rem, 5vw, 4.5rem); color: var(--white); margin-bottom: 1.5rem; font-weight: 300; font-style: italic; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.82); max-width: 580px; margin: 0 auto 2.5rem; line-height: 1.8; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll-indicator { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); text-align: center; color: rgba(255,255,255,0.5); font-size: 0.7rem; letter-spacing: 0.2em; z-index: 1; }
.scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,0.3); margin: 0.5rem auto 0; }

/* ── Trust Bar ── */
.trust-bar { background: var(--navy); padding: 1.25rem 0; }
.trust-items { display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem; }
.trust-item { display: flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.8); font-size: 0.82rem; font-weight: 500; }
.trust-item i { color: var(--gold-light); font-size: 1rem; }

/* ── About ── */
.about { padding: 7rem 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: center; }
.about-img-placeholder { background: var(--cream); border-radius: var(--radius); aspect-ratio: 3/4; max-width: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-light); gap: 1rem; border: 2px dashed var(--border); }
.about-img-placeholder i { font-size: 4rem; opacity: 0.3; }
.about-img-placeholder span { font-size: 0.85rem; }
.about-content p { color: var(--text-mid); margin-bottom: 1.25rem; }
.about-stats { display: flex; gap: 2.5rem; margin: 2rem 0; padding: 2rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat-n { display: block; font-family: var(--ff-head); font-size: 2.2rem; color: var(--navy); font-weight: 600; }
.stat-l { display: block; font-size: 0.75rem; color: var(--text-light); letter-spacing: 0.05em; margin-top: 0.2rem; }
.creds { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cred { background: var(--cream); border: 1px solid var(--border); padding: 0.3rem 0.8rem; border-radius: 3px; font-size: 0.78rem; font-weight: 600; color: var(--navy); }

/* ── Estate Services ── */
.estate-services { padding: 7rem 0; background: var(--cream); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.service-card { background: var(--white); padding: 2rem; border-radius: var(--radius); border: 1px solid var(--border); transition: var(--trans); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.service-card.featured { border-color: var(--navy); border-width: 2px; }
.service-icon { width: 48px; height: 48px; background: var(--cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.service-icon i { color: var(--gold); font-size: 1.1rem; }
.service-card.featured .service-icon { background: var(--navy); }
.service-card.featured .service-icon i { color: var(--gold-light); }
.service-card h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 0.75rem; }
.service-card p { font-size: 0.92rem; color: var(--text-mid); }

/* ── Quiz ── */
.quiz-section { padding: 7rem 0; background: var(--white); }
.quiz-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }
.quiz-intro p { color: var(--text-mid); margin-bottom: 1rem; }
.quiz-note { font-size: 0.82rem; color: var(--text-light); }
.quiz-card { background: var(--cream); border-radius: 12px; padding: 2.5rem; border: 1px solid var(--border); min-height: 320px; }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.quiz-progress { background: var(--border); border-radius: 99px; height: 4px; margin-bottom: 1.5rem; overflow: hidden; }
.quiz-bar { height: 100%; background: var(--gold); border-radius: 99px; transition: width 0.4s ease; }
.quiz-q-num { font-size: 0.75rem; color: var(--text-light); letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.quiz-card h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 1.5rem; }
.quiz-card p { color: var(--text-mid); margin-bottom: 1.25rem; }
.quiz-options { display: flex; flex-direction: column; gap: 0.75rem; }
.quiz-opt { background: var(--white); border: 1.5px solid var(--border); padding: 0.85rem 1.25rem; border-radius: var(--radius); text-align: left; font-family: var(--ff-body); font-size: 0.9rem; color: var(--text); cursor: pointer; transition: var(--trans); }
.quiz-opt:hover { border-color: var(--gold); background: #fdfaf5; }
.quiz-opt.selected { border-color: var(--navy); background: var(--navy); color: var(--white); }
.quiz-contact { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }
.quiz-contact input { padding: 0.75rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--ff-body); font-size: 0.9rem; background: var(--white); }
.quiz-contact input:focus { outline: none; border-color: var(--gold); }
.quiz-result-box { background: var(--white); border-radius: var(--radius); padding: 1.5rem; border-left: 4px solid var(--navy); margin-bottom: 1.5rem; }
.quiz-urgency { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 99px; font-size: 0.75rem; font-weight: 600; margin-bottom: 1rem; }
.urgency-high { background: #fee2e2; color: #b91c1c; }
.urgency-medium { background: #fef3c7; color: #92400e; }
.urgency-low { background: #d1fae5; color: #065f46; }
.quiz-recommendation { font-size: 0.93rem; line-height: 1.8; color: var(--text); }
.quiz-next-step { background: var(--navy); color: var(--white); padding: 1rem 1.25rem; border-radius: var(--radius); font-size: 0.9rem; margin-top: 1rem; }

/* ── Valuation ── */
.valuation-section { padding: 7rem 0; background: var(--navy); }
.valuation-section .section-label { color: var(--gold-light); }
.valuation-section .section-title { color: var(--white); }
.val-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start; }
.val-intro p { color: rgba(255,255,255,0.75); margin-bottom: 1rem; }
.val-note { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.val-card { background: var(--white); border-radius: 12px; padding: 2rem; }
.val-form { display: flex; flex-direction: column; gap: 0.75rem; }
.val-form input { padding: 0.75rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--ff-body); font-size: 0.9rem; }
.val-form input:focus { outline: none; border-color: var(--gold); }
.val-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.val-results-inner { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.val-address-tag { font-size: 0.8rem; color: var(--text-light); margin-bottom: 0.75rem; }
.val-commentary { font-size: 0.92rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 1rem; }
.val-cma-note { background: var(--cream); border-radius: var(--radius); padding: 0.9rem 1rem; font-size: 0.82rem; color: var(--text-mid); border-left: 3px solid var(--gold); }

/* ── Listings ── */
.listings-section { padding: 7rem 0; background: var(--cream); }
.listings-placeholder { display: flex; justify-content: center; }
.listings-coming { text-align: center; max-width: 480px; padding: 3rem 2rem; background: var(--white); border-radius: 12px; border: 1px solid var(--border); }
.listings-coming i { font-size: 3rem; color: var(--gold); margin-bottom: 1rem; opacity: 0.6; }
.listings-coming h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 0.75rem; }
.listings-coming p { color: var(--text-mid); font-size: 0.92rem; margin-bottom: 1.5rem; }

/* ── Areas ── */
.areas-section { padding: 7rem 0; background: var(--white); }
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.area-card { padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius); transition: var(--trans); }
.area-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.area-card h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 0.75rem; }
.area-card p { font-size: 0.9rem; color: var(--text-mid); }

/* ── Contact ── */
.contact-section { padding: 7rem 0; background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }
.contact-info p { color: var(--text-mid); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-detail { display: flex; align-items: center; gap: 1rem; color: var(--text-mid); font-size: 0.95rem; padding: 0.9rem 1.25rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); transition: var(--trans); }
.contact-detail:hover { border-color: var(--gold); color: var(--navy); transform: translateX(4px); }
.contact-detail i { color: var(--gold); width: 20px; text-align: center; }
.contact-form-wrap { background: var(--white); padding: 2.5rem; border-radius: 12px; box-shadow: var(--shadow); }
.contact-form-wrap form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea { padding: 0.8rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--ff-body); font-size: 0.9rem; color: var(--text); background: var(--white); }
.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus { outline: none; border-color: var(--gold); }
.contact-form-wrap textarea { resize: vertical; }
.form-success { background: #d1fae5; color: #065f46; padding: 1rem; border-radius: var(--radius); font-size: 0.9rem; text-align: center; }

/* ── Footer ── */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-family: var(--ff-head); font-size: 1.5rem; color: var(--white); margin-bottom: 0.25rem; }
.footer-tag { font-size: 0.72rem; letter-spacing: 0.15em; color: var(--gold-light); margin-bottom: 1rem; }
.footer-bio { font-size: 0.85rem; line-height: 1.7; }
.footer h4 { color: var(--white); font-size: 0.75rem; letter-spacing: 0.2em; margin-bottom: 1.25rem; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer ul a { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.footer ul a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; font-size: 0.8rem; }
.footer-disc { color: rgba(255,255,255,0.35); font-size: 0.75rem; margin-top: 0.5rem; }

/* ── Chatbot ── */
.chatbot-widget { position: fixed; bottom: 2rem; right: 2rem; z-index: 2000; }
.chatbot-toggle { width: 60px; height: 60px; border-radius: 50%; background: var(--navy); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(30,45,61,0.35); transition: var(--trans); position: relative; }
.chatbot-toggle:hover { background: var(--gold); transform: scale(1.05); }
.chatbot-toggle i { color: var(--white); font-size: 1.3rem; }
.chat-badge { position: absolute; top: -4px; right: -4px; background: #ef4444; color: var(--white); width: 20px; height: 20px; border-radius: 50%; font-size: 0.7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.chatbot-window { position: absolute; bottom: 74px; right: 0; width: 360px; background: var(--white); border-radius: 16px; box-shadow: 0 8px 48px rgba(0,0,0,0.18); overflow: hidden; display: none; flex-direction: column; max-height: 520px; }
.chatbot-window.open { display: flex; animation: slideUp 0.3s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.chat-header { background: var(--navy); padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.chat-header-info { display: flex; align-items: center; gap: 0.75rem; }
.chat-avatar-wrap { position: relative; }
.chat-avatar-placeholder { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; }
.chat-avatar-placeholder i { color: rgba(255,255,255,0.7); font-size: 1rem; }
.chat-online-dot { position: absolute; bottom: 1px; right: 1px; width: 10px; height: 10px; background: #22c55e; border-radius: 50%; border: 2px solid var(--navy); }
.chat-name { color: var(--white); font-weight: 600; font-size: 0.9rem; }
.chat-status { color: rgba(255,255,255,0.6); font-size: 0.72rem; }
.chat-close { background: none; border: none; color: rgba(255,255,255,0.6); cursor: pointer; font-size: 1rem; padding: 4px; }
.chat-close:hover { color: var(--white); }
.chat-messages { flex: 1; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.chat-msg { max-width: 85%; }
.chat-msg p { padding: 0.75rem 1rem; border-radius: 12px; font-size: 0.88rem; line-height: 1.6; margin-bottom: 0.35rem; }
.chat-msg.bot p { background: var(--cream); color: var(--text); border-bottom-left-radius: 3px; }
.chat-msg.user { align-self: flex-end; }
.chat-msg.user p { background: var(--navy); color: var(--white); border-bottom-right-radius: 3px; }
.chat-msg.typing p { background: var(--cream); color: var(--text-light); font-style: italic; }
.chat-quick-replies { display: flex; flex-direction: column; gap: 0.4rem; padding: 0 1.25rem 1rem; }
.quick-reply { background: var(--white); border: 1.5px solid var(--border); padding: 0.55rem 0.9rem; border-radius: 99px; font-size: 0.8rem; color: var(--navy); cursor: pointer; text-align: left; transition: var(--trans); font-family: var(--ff-body); }
.quick-reply:hover { border-color: var(--gold); background: #fdfaf5; }
.chat-input-form { display: flex; border-top: 1px solid var(--border); }
.chat-input-form input { flex: 1; padding: 0.9rem 1rem; border: none; outline: none; font-family: var(--ff-body); font-size: 0.88rem; }
.chat-input-form button { background: var(--navy); border: none; color: var(--white); padding: 0 1.1rem; cursor: pointer; transition: var(--trans); }
.chat-input-form button:hover { background: var(--gold); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 1rem 2rem 1.5rem; box-shadow: var(--shadow); }
  .nav-menu.open { display: flex; }
  .nav-menu a { color: var(--text-mid) !important; padding: 0.5rem 0; }
  .nav-toggle { display: flex; }
  .about-grid, .quiz-wrap, .val-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .chatbot-window { width: 320px; }
  .about-stats { gap: 1.5rem; }
}
@media (max-width: 600px) {
  .trust-items { gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .chatbot-window { width: calc(100vw - 2rem); right: -0.5rem; }
}
