/* ============================================================
   Appraisal Valet — static rebuild
   Clean hand-authored stylesheet (replaces Elementor output)
   ============================================================ */

:root {
  --navy: #123854;
  --navy-dark: #0e2c43;
  --blue: #359ff4;
  --blue-light: #80d6fc;
  --text: #222222;
  --grey: #666666;
  --grey-2: #777777;
  --bg-light: #f3f3f3;
  --white: #ffffff;
  --maxw: 1200px;
  --radius: 4px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  --font-head: "Montserrat", sans-serif;
  --font-body: "Lato", sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .15s ease, opacity .15s ease; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.bg-light { background: var(--bg-light); }
.bg-navy { background: var(--navy); color: #dfe7ee; }
.text-center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--grey); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .3px;
  padding: 14px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .18s ease;
  text-align: center;
}
.btn--primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--primary:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--outline { background: transparent; color: #fff; border-color: #fff; }
.btn--outline:hover { background: #fff; color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--blue); border-color: var(--blue); color:#fff; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 100; }

.topbar { border-bottom: 1px solid rgba(255,255,255,.12); }
.topbar .container {
  display: flex; justify-content: flex-end; align-items: center;
  gap: 28px; min-height: 40px;
}
.topbar a {
  color: #eaf1f7; font-family: var(--font-head); font-size: 12px;
  font-weight: 600; letter-spacing: .6px; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 7px;
}
.topbar a:hover { color: var(--blue); }
.topbar svg { width: 14px; height: 14px; fill: currentColor; }

.mainbar .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 24px;
}
.logo img { height: 26px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav a {
  color: #fff; font-family: var(--font-head); font-size: 15px; font-weight: 500;
}
.nav a:hover { color: var(--blue); }
.nav .has-sub { position: relative; }
.nav .has-sub > a::after {
  content: ""; display: inline-block; margin-left: 7px;
  border: 4px solid transparent; border-top-color: currentColor; vertical-align: middle;
  position: relative; top: 2px;
}
.nav .submenu {
  position: absolute; top: 100%; left: -18px; min-width: 220px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px 0; list-style: none; margin: 8px 0 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .16s ease;
}
.nav .has-sub:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .submenu a { display: block; color: var(--navy); padding: 9px 20px; font-size: 14.5px; }
.nav .submenu a:hover { background: var(--bg-light); color: var(--blue); }
.nav > ul > li > a.current { border: 1px solid rgba(255,255,255,.45); border-radius: 4px; padding: 6px 14px; }
.nav .submenu a.current { color: var(--blue); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; padding: 8px;
}
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__media, .hero__media video, .hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,28,43,.74) 0%, rgba(10,28,43,.5) 55%, rgba(10,28,43,.22) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 74px 0 80px; }
.hero__content { max-width: 600px; }
.hero h1, .hero h2 {
  color: #fff; font-size: clamp(32px, 4.4vw, 50px); font-weight: 800;
  line-height: 1.1; margin-bottom: 20px;
}
.hero p { font-size: 18px; font-weight: 600; color: #eef4f9; margin-bottom: 30px; }
.hero p .accent { color: var(--blue); }
.hero--sm .hero__inner { padding: 64px 0; }
.hero--sm h1 { font-size: clamp(30px, 4vw, 44px); }

/* ============================================================
   SECTIONS / COMPONENTS
   ============================================================ */
.section-title { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-bottom: .4em; }
.section-sub { color: var(--navy); font-weight: 700; font-size: 1.15rem; margin-bottom: 1.4em; }

/* trusted-by marquee */
.trusted { padding: 60px 0 50px; }
.trusted__track {
  display: flex; align-items: center; gap: 70px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.trusted__row { display: flex; align-items: center; gap: 70px; animation: scrollx 42s linear infinite; flex: 0 0 auto; }
.trusted:hover .trusted__row { animation-play-state: paused; }
.trusted__row img { height: 46px; width: auto; object-fit: contain; opacity: .95; flex: 0 0 auto; }
@keyframes scrollx { from { transform: translateX(0);} to { transform: translateX(-100%);} }

/* two column split */
.split { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 52px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split__media img { width: 100%; max-height: 360px; object-fit: cover; }
.split--textleft .split__text { order: 0; }
/* content splits: top-align text with image */
.split--top { align-items: start; }

/* cards / feature grid */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow); border-top: 4px solid var(--blue);
}
.card h3 { font-size: 1.3rem; }
.card__icon { width: 54px; height: 54px; margin-bottom: 16px; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 64px 0; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); }
.cta-band p { color: #cfdbe6; max-width: 640px; margin: 0 auto 28px; }

/* form placeholder */
.form-placeholder {
  background: #fff; border: 2px dashed var(--blue); border-radius: var(--radius);
  padding: 48px 34px; text-align: center; color: var(--grey); max-width: 720px; margin: 0 auto;
}
.form-placeholder h3 { color: var(--navy); margin-bottom: 8px; }

/* FAQ / accordion (left plus) */
.faq-item { border-bottom: 1px solid #e2e6ea; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.06rem;
  padding: 20px 20px 20px 40px; position: relative; line-height: 1.35;
}
.faq-q::after {
  content: "+"; position: absolute; left: 6px; top: 20px;
  font-size: 24px; color: var(--blue); font-weight: 400; line-height: 1.3;
}
.faq-item.open > .faq-q { color: var(--blue); }
.faq-item.open > .faq-q::after { content: "\2013"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a__inner { padding: 0 20px 22px 40px; color: var(--grey); }

/* FAQ page: single bordered container, centered */
.faq-list { max-width: 780px; margin: 0 auto; border: 1px solid #e3e7eb; border-radius: 4px; padding: 0 26px; }
.faq-list .faq-item:last-child { border-bottom: 0; }

/* static logo row (About) */
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 64px; margin-top: 26px; }
.logo-row img { height: 58px; width: auto; object-fit: contain; }

/* eyebrow label */
.eyebrow { display: block; text-align: center; color: var(--blue); font-family: var(--font-head);
  font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; margin-bottom: 8px; }

/* icon feature columns */
.icon-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; text-align: center; margin-top: 40px; }
.icon-cols__item img { width: 60px; height: 60px; margin: 0 auto 18px; object-fit: contain; }
.icon-cols__item h3 { font-size: 1.4rem; margin-bottom: 10px; }
.icon-cols__item p { color: var(--grey); font-size: 15.5px; }

/* resource thumbnail cards */
.res-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin-top: 36px; text-align: center; }
.res-thumb { width: 210px; height: 210px; border-radius: 50%; overflow: hidden; margin: 0 auto 22px; box-shadow: var(--shadow); }
.res-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* two-col resources with divider */
.res-split { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 40px; align-items: start; }
.res-split__divider { background: #d8dee4; width: 1px; height: 100%; }
.res-split h2 { text-align: center; margin-bottom: 26px; }
.res-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.res-item { background: #f4f6f8; border-radius: 4px; overflow: hidden; text-align: center; display: flex; flex-direction: column; }
.res-item__img { aspect-ratio: 16/10; background: var(--navy); overflow: hidden; }
.res-item__img img { width: 100%; height: 100%; object-fit: cover; }
.res-item__body { padding: 22px 18px 26px; display: flex; flex-direction: column; flex: 1; }
.res-item h3 { font-size: 1.18rem; margin-bottom: 8px; }
.res-item p { color: var(--grey); font-size: 14.5px; flex: 1; }
.res-item .btn { align-self: center; margin-top: 8px; }

/* uad hero badge + two-col hero */
.uad-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--blue);
  font-family: var(--font-head); font-weight: 700; letter-spacing: 1px; font-size: 13px; text-transform: uppercase; margin-bottom: 20px; }
.hero-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; }
.hero-split h1 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; }
.hero-split h1 .accent2 { color: var(--blue); display: block; }
.hero-split p { color: #dbe6f0; font-weight: 400; }

/* diagonal-cut hero */
.page-hero.page-hero--slant { clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%); min-height: 360px; padding-bottom: 100px; }

/* plain (bulletless) list */
ul.plain { list-style: none; padding: 0; }
ul.plain li { margin-bottom: 6px; color: var(--grey); }

/* legal / prose */
.prose { max-width: 900px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose p { color: #3a3f45; font-size: 15.5px; }
.prose .revised { color: var(--grey-2); font-style: italic; }

/* info list */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding: 0 0 14px 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
  background: var(--blue); border-radius: 50%;
}
.checklist li::after {
  content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 4px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}

/* page hero (solid navy band) */
.page-hero { background: var(--navy); color: #fff; padding: 66px 0 60px; position: relative; overflow: hidden; }
.page-hero.has-bg { min-height: 320px; display: flex; align-items: center; padding: 60px 0; }
.page-hero.has-bg::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(11,30,46,.78) 0%, rgba(11,30,46,.52) 58%, rgba(11,30,46,.34) 100%); z-index:1; }
.page-hero.has-bg .page-hero__bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.page-hero .container { position: relative; z-index: 2; width: 100%; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 50px); font-weight: 800; margin-bottom: .3em; }
.page-hero__lead { max-width: 620px; color: #e7eef4; font-weight: 600; font-size: 17px; }
.page-hero .btn { margin-top: 26px; }

/* service selector cards (three graduated columns) */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: -70px; position: relative; z-index: 5; box-shadow: var(--shadow); border-radius: 4px; overflow: hidden; }
.svc-card { padding: 60px 34px; text-align: center; color: #fff; min-height: 240px; display: flex; flex-direction: column; justify-content: center; transition: filter .18s ease; }
.svc-card:hover { filter: brightness(1.12); color:#fff; }
.svc-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 12px; }
.svc-card p { color: rgba(255,255,255,.85); font-size: 15px; margin: 0; }
.svc-card--1 { background: #0e2c43; }
.svc-card--2 { background: #1f5378; }
.svc-card--3 { background: #3a739e; }

/* accordion (boxed, left plus) */
.acc--boxed .faq-item { border: 1px solid #e3e7eb; border-radius: 4px; margin-bottom: 12px; }
.acc--boxed .faq-q { padding: 16px 22px 16px 48px; font-size: 1rem; }
.acc--boxed .faq-q::after { left: 20px; right: auto; content: "+"; }
.acc--boxed .faq-item.open .faq-q::after { content: "\2013"; }
.acc--boxed .faq-a__inner { padding: 0 22px 18px 48px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: #cdd8e2; padding: 56px 0 0; }
.site-footer .logo img { height: 30px; margin-bottom: 26px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 760px; }
.footer-cols a { display: block; color: #cdd8e2; padding: 8px 0; font-size: 15px; }
.footer-cols a:hover { color: var(--blue); }
.footer-bottom {
  margin-top: 44px; background: var(--blue); color: #fff;
  font-size: 13px;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; min-height: 46px; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: #fff; }
.footer-bottom a:hover { color: var(--navy); }

/* ============================================================
   LOGIN MODAL
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.modal.open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(9,24,38,.72); }
.modal__box {
  position: relative; z-index: 1; background: #fff; max-width: 640px;
  margin: 8vh auto 0; border-radius: 6px; padding: 46px 40px; box-shadow: var(--shadow);
  text-align: center;
}
.modal__box h2 { font-size: 1.7rem; }
.modal__box p { color: var(--grey); }
.modal__logins { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.modal__close {
  position: absolute; top: 14px; right: 16px; background: none; border: 0;
  font-size: 26px; line-height: 1; cursor: pointer; color: var(--grey);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .split, .grid-3, .grid-2, .footer-cols,
  .icon-cols, .res-cards, .hero-split, .svc-cards { grid-template-columns: 1fr; }
  .res-split { grid-template-columns: 1fr; }
  .res-split__divider { display: none; }
  .res-split { gap: 48px; }
  .svc-cards { margin-top: -40px; }
  .split { gap: 32px; }
  .page-hero--slant { clip-path: none; padding-bottom: 66px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 84vw);
    background: var(--navy-dark); flex-direction: column; align-items: stretch;
    padding: 80px 26px 30px; gap: 0; transform: translateX(100%);
    transition: transform .25s ease; box-shadow: -8px 0 30px rgba(0,0,0,.3); overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav a { display: block; padding: 14px 4px; }
  .nav .has-sub > a::after { float: right; }
  .nav .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: transparent; padding: 0 0 8px 14px; margin: 0;
  }
  .nav .submenu a { color: #b9c7d4; padding: 8px 4px; }
  .nav-toggle { position: relative; z-index: 1101; }
  body.nav-open { overflow: hidden; }
  .topbar .container { justify-content: center; gap: 18px; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .section { padding: 48px 0; }
  .res-pair { grid-template-columns: 1fr; }
  .topbar a span.label { display: none; }
  .footer-bottom .container { justify-content: center; text-align: center; }
}
