/* RealPathDrill — Real Estate Buyer/Seller Agent
   Visual direction: deep navy #1a2744 + gold #c9922a + cream #faf8f3
*/

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

:root {
  --navy:       #1a2744;
  --navy-dark:  #111b33;
  --navy-mid:   #243560;
  --gold:       #c9922a;
  --gold-light: #dba84a;
  --gold-pale:  #f0d9a8;
  --cream:      #faf8f3;
  --cream-dark: #f1ede4;
  --white:      #ffffff;
  --gray-50:    #f9f9f9;
  --gray-200:   #e5e3dd;
  --gray-400:   #9e9b94;
  --gray-700:   #4a4740;
  --text-main:  #1e1c18;
  --text-muted: #6b6760;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 4px rgba(26,39,68,.08);
  --shadow-md:  0 4px 18px rgba(26,39,68,.14);
  --shadow-lg:  0 12px 40px rgba(26,39,68,.18);
  --font-sans:  'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --transition: 200ms ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--text-main); background: var(--cream); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Utility ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section--alt { background: var(--white); }
.section--dark { background: var(--navy); color: var(--white); }
.section-label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-title { font-family: var(--font-serif); font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; line-height: 1.2; color: var(--navy); }
.section--dark .section-title { color: var(--white); }
.section-sub   { font-size: 1.1rem; color: var(--text-muted); margin-top: 14px; max-width: 640px; }
.section--dark .section-sub { color: rgba(255,255,255,.75); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; cursor: pointer; border: 2px solid transparent; transition: var(--transition); text-decoration: none; }
.btn-primary { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__logo-mark {
  width: 36px; height: 36px; background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem; color: var(--navy-dark);
}
.nav__brand-name { font-family: var(--font-serif); font-size: 1.2rem; color: var(--white); font-weight: 700; letter-spacing: .02em; }
.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav__links a { color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 500; padding: 8px 14px; border-radius: var(--radius-sm); transition: var(--transition); }
.nav__links a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.nav__cta { background: var(--gold); color: var(--navy-dark) !important; font-weight: 700 !important; padding: 9px 20px !important; }
.nav__cta:hover { background: var(--gold-light) !important; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 60%, #1e3060 100%);
  color: var(--white);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9922a' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__inner { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; position: relative; }
.hero__eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.hero__title { font-family: var(--font-serif); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.15; margin-bottom: 22px; }
.hero__title span { color: var(--gold); }
.hero__sub { font-size: 1.15rem; color: rgba(255,255,255,.78); max-width: 520px; margin-bottom: 36px; line-height: 1.7; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-lg);
}
.hero__card h3 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--navy); margin-bottom: 20px; }
.hero__form-group { margin-bottom: 14px; }
.hero__form-group label { display: block; font-size: .83rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.hero__form-group select,
.hero__form-group input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: .95rem; background: var(--cream); color: var(--text-main); transition: var(--transition); }
.hero__form-group select:focus,
.hero__form-group input:focus { outline: none; border-color: var(--gold); background: var(--white); }
.hero__card .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* ── Stats band ── */
.stats { background: var(--gold); padding: 40px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stats__item { text-align: center; padding: 0 20px; border-right: 1px solid rgba(26,39,68,.2); }
.stats__item:last-child { border-right: none; }
.stats__number { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 700; color: var(--navy-dark); line-height: 1; }
.stats__label { font-size: .82rem; font-weight: 600; color: var(--navy-mid); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }

/* ── Services grid ── */
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 52px; }
.service-card {
  background: var(--white); border-radius: var(--radius-md); padding: 32px;
  box-shadow: var(--shadow-sm); border: 1.5px solid var(--gray-200);
  transition: var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gold-pale); }
.service-card__icon {
  width: 52px; height: 52px; background: var(--cream-dark); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 18px;
}
.service-card h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: .93rem; color: var(--text-muted); line-height: 1.65; }

/* ── Trust / proof ── */
.trust__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 52px; }
.trust__list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.trust__list li { display: flex; gap: 14px; align-items: flex-start; }
.trust__check { width: 24px; height: 24px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; font-size: .75rem; color: var(--navy-dark); font-weight: 700; }
.trust__list-text strong { display: block; color: var(--navy); font-weight: 600; }
.trust__list-text span { font-size: .9rem; color: var(--text-muted); }
.trust__badges { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.trust__badge { background: var(--cream-dark); border-radius: var(--radius-md); padding: 22px; text-align: center; border: 1px solid var(--gray-200); }
.trust__badge-num { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; color: var(--navy); }
.trust__badge-label { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }
.trust__disclaimer { font-size: .78rem; color: var(--gray-400); margin-top: 18px; font-style: italic; }

/* ── Testimonial ── */
.testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 52px; }
.testimonial-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-md); padding: 30px; }
.testimonial-card p { font-size: .97rem; color: rgba(255,255,255,.88); line-height: 1.7; font-style: italic; }
.testimonial-card__author { margin-top: 20px; }
.testimonial-card__name { font-weight: 700; color: var(--gold-light); font-size: .95rem; }
.testimonial-card__detail { font-size: .83rem; color: rgba(255,255,255,.55); margin-top: 2px; }
.stars { color: var(--gold); font-size: .95rem; margin-bottom: 14px; letter-spacing: 2px; }

/* ── CTA Band ── */
.cta-band { background: var(--gold); padding: 70px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band__text h2 { font-family: var(--font-serif); font-size: clamp(1.7rem, 3.5vw, 2.5rem); color: var(--navy-dark); font-weight: 700; }
.cta-band__text p { font-size: 1.05rem; color: var(--navy-mid); margin-top: 8px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Footer ── */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.65); padding: 52px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__brand-name { font-family: var(--font-serif); font-size: 1.15rem; color: var(--white); font-weight: 700; margin-bottom: 12px; }
.footer__tagline { font-size: .88rem; line-height: 1.6; max-width: 220px; }
.footer__col-title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 16px; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: .88rem; color: rgba(255,255,255,.6); transition: var(--transition); }
.footer__links a:hover { color: var(--gold-light); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .8rem; }
.footer__disc { font-size: .75rem; color: rgba(255,255,255,.35); margin-top: 8px; line-height: 1.5; }

/* ── Contact Page ── */
.contact-page { padding: 60px 0 80px; }
.contact-page__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: start; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-md); }
.form-card h2 { font-family: var(--font-serif); font-size: 1.9rem; color: var(--navy); margin-bottom: 8px; }
.form-card .lead { color: var(--text-muted); font-size: .97rem; margin-bottom: 32px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .82rem; font-weight: 700; color: var(--gray-700); margin-bottom: 7px; text-transform: uppercase; letter-spacing: .04em; }
.form-group .req { color: var(--gold); }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: .95rem; font-family: var(--font-sans); background: var(--cream); color: var(--text-main); transition: var(--transition); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(201,146,42,.15); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group .hint { font-size: .78rem; color: var(--text-muted); margin-top: 5px; }
.legal-notice { background: #fffbf0; border: 1.5px solid var(--gold-pale); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 22px; font-size: .84rem; color: var(--gray-700); line-height: 1.6; }
.legal-notice strong { color: var(--navy); }
.consent-group { display: flex; gap: 12px; align-items: flex-start; }
.consent-group input[type=checkbox] { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; }
.consent-group label { font-size: .87rem; color: var(--gray-700); line-height: 1.55; font-weight: 400; text-transform: none; letter-spacing: 0; }
.submit-btn { width: 100%; margin-top: 10px; justify-content: center; font-size: 1rem; padding: 15px; }
#form-status { margin-top: 16px; padding: 14px; border-radius: var(--radius-sm); font-size: .9rem; display: none; }
#form-status.success { background: #edfbf0; border: 1px solid #7de0a0; color: #1a5c30; display: block; }
#form-status.error   { background: #fff0f0; border: 1px solid #f0a0a0; color: #7a1a1a; display: block; }
.contact-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 86px; }
.sidebar-card { background: var(--white); border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-sm); border: 1.5px solid var(--gray-200); }
.sidebar-card h3 { font-family: var(--font-serif); font-size: 1.05rem; color: var(--navy); margin-bottom: 14px; }
.sidebar-card p, .sidebar-card li { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }
.sidebar-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sidebar-card li::before { content: '✓ '; color: var(--gold); font-weight: 700; }
.page-hero { background: var(--navy); padding: 52px 0 44px; }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--white); font-weight: 700; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.72); margin-top: 10px; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.45); margin-bottom: 14px; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Privacy page ── */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); margin: 40px 0 14px; }
.prose h3 { font-size: 1.05rem; color: var(--navy); margin: 26px 0 10px; font-weight: 600; }
.prose p, .prose li { font-size: .97rem; color: var(--gray-700); line-height: 1.75; margin-bottom: 12px; }
.prose ul { padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { max-width: 480px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stats__item:nth-child(2) { border-right: none; }
  .trust__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-page__grid { grid-template-columns: 1fr; }
  .contact-sidebar { position: static; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 56px 0; }
}
