/* ============================================================
   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: 1140px;
  --topbar-h: 35px;
  --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; }
/* global text typography from the original: Lato 18px / 500 */
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  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 .8em; }   /* Elementor's paragraph spacing = 0.8em (14.4px at 18px) */
ul { margin: 0 0 1.1em; padding-left: 1.2em; }

/* Elementor content width is 1140px with no inner padding at desktop */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; }
@media (max-width: 1180px) { .container { padding: 0 20px; } }
.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 ---------- */
/* Elementor button defaults: Roboto 500 15px, 12/24 padding, line-height 1 */
.btn {
  display: inline-block;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0;
  padding: 12px 24px;
  border-radius: 0;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, color .3s 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; }
/* homepage hero button: navy fill, 2px white frame, blue on hover */
.btn--hero { background: var(--navy); color: #fff; border-color: #fff; }
.btn--hero:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
/* bordered button on a dark background */
.btn--outline { background: transparent; color: #fff; border-color: #fff; }
.btn--outline:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
/* bordered button on a light background */
.btn--blue-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn--blue-outline:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
/* button with a leading Font Awesome icon (e.g. "Order Now" check-circle) */
.btn--icon { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.btn__icon { width: 1em; height: 1em; fill: currentColor; flex: 0 0 auto; }
.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--blue); border-color: var(--blue); color:#fff; }

/* ============================================================
   HEADER  (values taken from the original Elementor source)
   - only the top bar is sticky/fixed; the logo bar scrolls away
   ============================================================ */
body { padding-top: var(--topbar-h); }
.site-header { background: var(--navy); position: relative; z-index: 10; }

/* --- top bar: fixed to viewport (Elementor sticky:top) --- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: var(--navy); height: var(--topbar-h);
}
.topbar .container { display: flex; justify-content: flex-end; align-items: center; height: 100%; }
.topbar a {
  color: var(--white); font-family: var(--font-head); font-size: 11.2px;
  font-weight: 700; line-height: 1.1; letter-spacing: 0; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 5px;   /* button-content-wrapper gap */
  padding: 0 22.4px; height: 100%;          /* 1em 2em at >=901px */
  flex-direction: row-reverse;              /* icon sits AFTER the label */
  transition: background-color .2s ease;
}
/* pointer devices only: on touch, :hover latches after a tap and the blue
   block stays stuck behind whichever link was last pressed */
@media (hover: hover) {
  .topbar a:hover { background-color: var(--blue); color: var(--white); }
}
/* phone link carries two labels: the full number on desktop, "Call Us" on
   mobile (see the 560px block). display:none keeps the hidden one out of the
   accessibility tree, so screen readers only ever announce one. */
.topbar .label--short { display: none; }
/* Font Awesome icons render at 1em square, filled with currentColor */
.topbar svg { width: 1em; height: 1em; fill: currentColor; flex: 0 0 auto; }

/* --- main bar: logo + nav, left aligned --- */
/* nav items (40.4px tall) drive the row height; logo centres within it.
   Section padding is 0 top / 10px bottom => 35 + 40.4 + 10 = 85.4 total header */
.mainbar .container {
  display: flex; align-items: center; justify-content: flex-start; gap: 11.5px;
  padding-top: 0; padding-bottom: 10px;
}
.logo img { width: 228px; height: auto; display: block; }

.nav { display: flex; align-items: center; padding-left: 16px; }  /* widget padding 1em */
.nav > ul { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { display: flex; }
.nav > ul > li > a {
  color: var(--white); font-family: var(--font-head);
  font-size: 14.4px; font-weight: 600; line-height: 1; letter-spacing: 0;
  padding: 13px 15px;      /* 13px vertical = Elementor default; 15px horizontal = theme override */
  position: relative; display: flex; align-items: center;
  white-space: nowrap; transition: color .4s ease;
}
.nav > ul > li > a:hover, .nav > ul > li > a.current { color: var(--blue); }

/* framed pointer, "corners" animation: two 1px L-corners grow into a full frame */
.nav > ul > li > a::before,
.nav > ul > li > a::after {
  content: ""; position: absolute; display: block; background: transparent;
  border-color: var(--white); border-style: solid; width: 3px; height: 3px;
  transition: opacity 2ms, width .4s, height .4s;
  transition-timing-function: cubic-bezier(.58,.3,.005,1);
}
.nav > ul > li > a::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.nav > ul > li > a::after  { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.nav > ul > li > a:not(:hover):not(.current)::before,
.nav > ul > li > a:not(:hover):not(.current)::after { opacity: 0; }
.nav > ul > li > a:hover::before, .nav > ul > li > a:hover::after,
.nav > ul > li > a.current::before, .nav > ul > li > a.current::after { width: 100%; height: 100%; }

.nav .has-sub { position: relative; }
/* sub-arrow: 10px gap + a 1em-wide icon box, chevron centred inside */
.nav .has-sub > a .sub-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14.4px; margin-left: 10px; flex: 0 0 auto;
}
.nav .has-sub > a .sub-arrow::before {
  content: ""; border: 4px solid transparent; border-top-color: currentColor;
  position: relative; top: 2px;
}
.nav .submenu {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: var(--white); box-shadow: var(--shadow);
  list-style: none; margin: 10px 0 0; padding: 0;
  opacity: 0; visibility: hidden; transition: opacity .16s ease, visibility .16s ease;
}
.nav .has-sub:hover .submenu { opacity: 1; visibility: visible; }
.nav .submenu a {
  display: block; color: var(--navy); background: var(--white);
  padding: 15px 10px;      /* desktop dropdown padding from source */
  font-family: var(--font-head); font-size: 14.4px; font-weight: 600;
}
.nav .submenu a:hover, .nav .submenu a.current { color: var(--blue); background: var(--white); }

.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;
}
/* solid black 50% overlay (matches the original's background overlay) */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.5); }
.hero__inner { position: relative; z-index: 2; padding: 16px 0; }
.hero__inner .container { min-height: 50vh; }
/* hero column is 60.789% on desktop (overrides Elementor's col-50 class) */
.hero__content { width: 60.789%; padding: 90px 10px 10px 10px; }  /* col padding 10 + heading padding 80 */
.hero h1, .hero h2 {
  color: #fff; font-family: var(--font-head);
  font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: 0;
  margin: 0 0 20px;
}
.hero p {
  font-family: var(--font-body); font-size: 17.6px; font-weight: 800;
  line-height: 1.5; letter-spacing: -0.1px; color: #fff; margin: 0 0 34px;
  padding-right: 5em;                       /* 5em of 17.6px = 88px */
}
.hero p .accent { color: var(--blue); }
@media (max-width: 900px) {
  .hero__inner { padding: 0 0 48px; }       /* section padding 0 0 3em 0 */
  .hero__content { width: 100%; padding: 64px 0 0 16px; }  /* column padding 4em 0 0 1em */
  .hero h1, .hero h2 { font-size: 32px; }   /* 2em */
  .hero p { font-size: 14.4px; padding-right: 0; }
}

/* ============================================================
   SECTIONS / COMPONENTS
   ============================================================ */
.section-title { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-bottom: .4em; }
/* headings that use the site's "primary" global typography (Roboto 600) */
/* Roboto 600 32px navy, line-height 1, 20px widget gap */
.heading-primary {
  font-family: "Roboto", sans-serif; font-weight: 600; color: var(--navy);
  font-size: 32px; line-height: 1; margin: 0 0 20px;
}
/* Montserrat 40px/36 w500 #222 — About's section headings */
.heading-40 {
  font-family: var(--font-head); font-size: 40px; font-weight: 500;
  line-height: 36px; color: var(--text); margin: 0 0 20px; padding: 16px;
}
/* the site's recurring lead line: Lato 1.1em / 800 / navy */
.section-sub {
  font-family: var(--font-body); font-size: 17.6px; font-weight: 800;
  line-height: 1.5; letter-spacing: -0.1px; color: var(--navy); margin: 0 0 16px;
}

/* trusted-by: 6 logos across, 20px spacing, continuous autoplay (matches the
   original image carousel: autoplay_speed 0 / speed 5000 = constant scroll) */
.trusted { background: #fff; padding: 16px 0 32px; }
.trusted__heading {
  font-family: var(--font-head); font-size: 46px; font-weight: 800;
  line-height: .9; letter-spacing: .5px; color: var(--text);
  text-align: left; padding: 16px; margin: 0;
}
/* track is contained to the 1140 container: fixed start/end, never pauses */
.trusted__track {
  display: flex; gap: 20px; overflow: hidden;
  margin-top: 20px;                     /* Elementor widget spacing */
  pointer-events: none;                 /* no interaction can stop or drag it */
}
/* linear timing + duration matched to the original swiper
   (speed 5000ms per 193.3px slide => ~38.7px/s; 17 slides = 3286px => ~85s) */
.trusted__row {
  display: flex; align-items: center; gap: 20px; flex: 0 0 auto;
  animation: scrollx 85s linear infinite;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) { .trusted__row { animation: none; } }
.trusted__row img {
  width: 173.3px;            /* (1140 - 5*20) / 6 => exactly 6 slides visible */
  height: 100px;             /* slide box; logos are contained + centred within */
  object-fit: contain; flex: 0 0 auto;
}
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(calc(-100% - 20px)); } }
@media (max-width: 900px) {
  .trusted__heading { font-size: 32px; }
  .trusted__row img { width: calc((100vw - 80px) / 3); }  /* 3 across on mobile */
}

/* 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; }
/* true 50/50 Elementor columns: text col padding 2em, media col padding 1em + centred */
.split--5050 { grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.split--5050 > .split__text { padding: 32px; }
.split--5050 > .split__media { padding: 16px; display: flex; align-items: center; }
.split--5050 > .split__media img { max-height: none; }
@media (max-width: 900px) {
  .split--5050 > .split__text, .split--5050 > .split__media { padding: 16px 0; }
}

/* 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; }
/* icon is a flex item so it sits on the first line of the title, never centred
   against a wrapped 2-line heading */
.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 0; line-height: 1.35;
  display: flex; align-items: flex-start; gap: 12px;
}
.faq-q::before {
  content: "+"; flex: 0 0 auto; width: 14px; text-align: center;
  color: var(--blue); font-weight: 400; line-height: inherit;
}
.faq-item.open > .faq-q { color: var(--blue); }
.faq-item.open > .faq-q::before { 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: accordion is 660px wide, centred; section padding 90px 0 */
.faq-section { padding: 90px 0; background: #fff; }
.faq-section .container { max-width: 660px; }
.faq-list .faq-item:last-child { margin-bottom: 0; }
.acc--boxed .faq-item.open > .faq-q { color: var(--blue); }
/* contact: hero has no top padding, 48px bottom; lead is Lato 18/27 w500 */
.page-hero--contact { padding: 0 0 48px; }
.page-hero--contact .page-hero__content { padding-top: 90px; }
.page-hero--contact .page-hero__lead {
  font-size: 18px; font-weight: 500; line-height: 1.5; letter-spacing: normal; padding: 0;
}
.contact-info { padding: 36px 0 0 18px; }
.contact-info p { color: #000; }

/* ---- About page sections (2 x 570 columns, no column padding) ---- */
/* image columns are vertically centred against the text column */
.cols-570 { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center; }
.cols-570 img { width: 100%; height: auto; display: block; }
.about-text { padding: 36px 36px 72px; }
/* The original's Dedication text block also contains an empty leftover <h2>,
   adding ~69px of blank space below the paragraph. Reproduced so the section
   height (and everything below it) matches. Safe to drop to 72px if unwanted. */
.about-text--ded { padding-bottom: 141px; }
.about-text p { color: #000; margin: 0 0 1em; }
.about-text p:last-child { margin-bottom: 0; }
.about-text ul.plain { margin: 0; }
/* About's Trusted-by band sits in a single 1140 column with 10px padding */
.trusted--about .container > * { margin-left: 10px; margin-right: 10px; }
@media (max-width: 900px) {
  .cols-570 { grid-template-columns: 1fr; }
  .about-text { padding: 24px 0 32px; }
  .trusted--about .container > * { margin-left: 0; margin-right: 0; }
}

/* 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: 26px; }
.uad-badge svg { width: 14px; height: 14px; fill: currentColor; flex: 0 0 auto; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 40px 0 56px; }
/* caps at 40px on desktop; <=900px is overridden to 32px by .page-hero h1,
   and the 32px floor here means there's no jump across that breakpoint */
.hero-split h1 { font-size: clamp(32px, 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 — 666px column, 80px section padding */
.terms-section { padding: 80px; }
.terms-section .container { max-width: 666px; }
.prose { max-width: 666px; margin: 0 auto; }
/* body copy matches the site default: Lato 18/27 w500 #222 */
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose p { color: var(--text); font-size: 18px; line-height: 27px; }


/* ---- page hero (inner pages) — values taken from the original ----
   section padding 16px 0; content column 60.789% with 10px column padding;
   heading widget adds 80px top padding; Elementor widget spacing is 20px. */
.page-hero { background: var(--navy); color: #fff; padding: 16px 0; position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 2; width: 100%; }
.page-hero--40vh .container { min-height: 40vh; display: flex; align-items: center; }
.page-hero--50vh .container { min-height: 50vh; display: flex; align-items: center; }
.page-hero--60vh .container { min-height: 60vh; display: flex; align-items: center; }
/* overlay opacity varies per page in the original */
.page-hero.has-bg::after { content:""; position:absolute; inset:0; background: rgba(0,0,0,.31); z-index:1; }
.page-hero--ov20.has-bg::after { background: rgba(0,0,0,.2); }
.page-hero--ov30.has-bg::after { background: rgba(0,0,0,.3); }
.page-hero--overlay-50.has-bg::after { background: rgba(0,0,0,.5); }
.page-hero.has-bg .page-hero__bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.page-hero__content { width: 60.789%; padding: 90px 10px 10px 10px; }
.page-hero__content--50 { width: 50%; }
.page-hero h1 {
  color: #fff; font-family: var(--font-head);
  font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: 0; margin: 0 0 20px;
}
.page-hero h1:last-child { margin-bottom: 0; }   /* no widget gap when it's the only widget */
.page-hero__lead {
  font-family: var(--font-body); font-size: 17.6px; font-weight: 800;
  line-height: 1.5; letter-spacing: -0.1px; color: #fff;
  padding: 0 88px 35.2px 0; margin: 0;
}
.page-hero .btn { margin-top: 20px; }
@media (max-width: 900px) {
  .page-hero__content, .page-hero__content--50 { width: 100%; padding: 64px 0 0 16px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero__lead { font-size: 14.4px; padding-right: 0; }
  .page-hero--50vh .container { min-height: 0; display: block; }
}

/* ---- service flip cards ----
   Elementor flip-box set to the "fade" effect: the back layer fades in over the
   front on hover (opacity 0 -> 1, .6s ease-in-out). No 3D transform. */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); }   /* 3 x 380 = 1140 */
.flip { display: block; height: 50vh; overflow: hidden; margin-bottom: 20px; }
/* plain boxes: content top-aligned at 2rem so all three start at the same height */
.flip__layer {
  display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start;
  height: 100%; padding: 2rem 35px 35px; text-align: left; color: #fff;
}
.flip__title {
  font-family: var(--font-head); font-size: 24px; font-weight: 600;
  line-height: 1.3; color: #fff; margin: 0 0 14px;
}
.flip__desc {
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
  line-height: 1.6; color: #fff; margin: 0 0 22px;
}
/* text link with arrow, sits at the bottom of the card */
.flip__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 15px; font-weight: 600; line-height: 1; color: #fff;
}
.flip__link svg { width: 15px; height: 15px; fill: currentColor; transition: transform .25s ease; }
.flip:hover .flip__link { color: var(--blue-light); }
.flip:hover .flip__link svg { transform: translateX(5px); }
.flip--1 .flip__front { background: #10212E; }
.flip--2 .flip__front { background: #2D5877; }
.flip--3 .flip__front { background: #417BA6; }
@media (max-width: 900px) {
  .svc-cards { grid-template-columns: 1fr; }
  .flip { height: auto; }
  .flip__layer { height: auto; padding: 2rem 24px; }
}

/* "Our services include" — 50/50 columns, 32px padding */
.svc-include { padding: 0; }
.svc-include .split { grid-template-columns: 1fr 1fr; gap: 0; align-items: start; }
.svc-include .split > div { padding: 32px; }
.svc-include h2 {
  font-family: var(--font-head); font-size: 40px; font-weight: 500;
  line-height: .9; color: var(--navy); margin: 0 0 20px;
}
/* 41px bottom gap reproduces the original list block height (Elementor leaves
   whitespace line-boxes around the <ul>, making the widget 284px vs the ul's 243px) */
.svc-include ul { padding-left: 40px; list-style: disc; margin: 0 0 41px; }
.svc-include li { margin: 0; }
.svc-include p { margin: 0 0 20px; }

/* ---- lending-valuations accordion (Elementor accordion widget) ----
   item border 1px #D5D8DC, title Roboto 600 16px navy, icon left, padding 15px 20px */
.acc--boxed .faq-item { border: 1px solid #d5d8dc; border-radius: 0; margin: 0 0 -1px; }
.acc--boxed .faq-q {
  font-family: "Roboto", sans-serif; font-size: 16px; font-weight: 600; line-height: 1.35;
  color: var(--navy); padding: 15px 20px; gap: 10px;
}
.acc--boxed .faq-q::before { color: var(--navy); font-size: 16px; font-weight: 700; }
.acc--boxed .faq-item.open > .faq-q::before { content: "\2013"; }
.acc--boxed .faq-a__inner {
  padding: 15px 20px; font-family: var(--font-body); font-size: 18px;
  font-weight: 500; line-height: 1.5; color: var(--text);
  border-top: 1px solid #d5d8dc;
}

/* ---- UAD 3.6 accordion: same Elementor widget, borderless (item border-width:0),
   single hairline above the list ---- */
.acc--plain { border-top: 1px solid #d4dff2; }
.acc--plain .faq-item { border: 0; }
.acc--plain .faq-q {
  font-family: "Roboto", sans-serif; font-size: 16px; font-weight: 600; line-height: 1.35;
  color: var(--navy); padding: 15px 20px; gap: 10px;
}
.acc--plain .faq-q::before { color: var(--navy); font-size: 16px; font-weight: 700; }
.acc--plain .faq-item.open > .faq-q,
.acc--plain .faq-item.open > .faq-q::before { color: var(--blue); }
.acc--plain .faq-item.open > .faq-q::before { content: "\2013"; }
.acc--plain .faq-a__inner {
  padding: 0 20px 18px 46px; font-family: var(--font-body); font-size: 16px;
  font-weight: 400; line-height: 1.6; color: var(--text);
}

/* section rule (Elementor divider widget) */
.rule { border: 0; border-top: 1px solid #d8dee4; margin: 56px 0 0; }

/* free-quote form column: 800px, centred; section padding 48/80 */
.fq-form { padding: 48px 0 80px; background: #fff; }
.fq-form .container { max-width: 800px; }
.fq-form .container > div { padding: 32px; }

/* ============================================================
   FOOTER
   ============================================================ */
/* ---- footer (values from the original) ----
   logo band: FULL-WIDTH container, 30px padding, 256px logo inset 20px
   links band: 1140 container, 3 columns 285/281/570, 40px bottom padding
   bottom bar: 50px tall, accent blue, 1140 container */
.site-footer { background: var(--navy); color: #fff; }

.footer-logo { padding: 30px 0; }
.footer-logo img { width: 256px; height: auto; display: block; margin-left: 20px; }

.footer-links { padding: 0 0 40px; }
.footer-cols { display: grid; grid-template-columns: 285px 281px 570px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols > div:nth-child(1), .footer-cols > div:nth-child(2) { padding-left: 32px; }
.footer-cols > div:nth-child(3) { padding-right: 30px; }
.footer-cols li { margin-bottom: 15px; }
.footer-cols li:last-child { margin-bottom: 0; }
.footer-cols a {
  display: block; font-family: var(--font-head); font-size: 14px; font-weight: 600;
  line-height: 1; color: #fff; padding: 10px 0;
}
.footer-cols a:hover { color: var(--blue); }

.footer-bottom { background: var(--blue); height: 50px; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.footer-bottom span, .footer-bottom a {
  font-family: var(--font-body); font-size: 14px; font-weight: 400; line-height: 1; color: #fff;
}
.footer-bottom a:hover { color: var(--navy); }
@media (max-width: 900px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-cols > div:nth-child(1), .footer-cols > div:nth-child(2) { padding-left: 0; }
  .footer-cols > div:nth-child(3) { padding-right: 0; }
  .footer-logo img { margin-left: 0; width: 200px; }
  .footer-bottom { height: auto; padding: 14px 0; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }
}

/* ============================================================
   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; }
  /* needs the same specificity as .svc-include .split to win */
  .svc-include .split { grid-template-columns: 1fr; }
  .svc-include .split > div { padding: 32px 16px; }
  .res-split { grid-template-columns: 1fr; }
  .res-split__divider { display: none; }
  .res-split { gap: 48px; }
  .split { gap: 32px; }
  .page-hero--slant { clip-path: none; padding-bottom: 66px; }
  .nav-toggle { display: block; position: relative; z-index: 1101; }
  .mainbar .container { justify-content: space-between; }
  .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; transform: translateX(100%);
    transition: transform .25s ease; box-shadow: -8px 0 30px rgba(0,0,0,.3); overflow-y: auto;
    z-index: 1100;
  }
  .nav.open { transform: translateX(0); }
  .nav > ul { flex-direction: column; align-items: stretch; width: 100%; }
  .nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.1); display: block; }
  .nav > ul > li > a { display: block; padding: 14px 4px; }
  /* no framed pointer in the mobile drawer */
  .nav > ul > li > a::before, .nav > ul > li > a::after { display: none; }
  .nav .has-sub > a .sub-arrow { float: right; }
  .nav .submenu {
    position: static; opacity: 1; visibility: visible; box-shadow: none;
    background: transparent; padding: 0 0 8px 14px; margin: 0; min-width: 0;
  }
  .nav .submenu a { color: #b9c7d4; background: transparent; padding: 8px 4px; }
  .nav .submenu a:hover, .nav .submenu a.current { background: transparent; }
  body.nav-open { overflow: hidden; }
  /* original drops the button padding to 1em below 901px, but keeps the row
     right-aligned (flex-end) at every width — so no justify-content override
     here; the base rule stands. The <=560px block takes it to space-between. */
  .topbar a { padding: 0 11.2px; }
}
@media (max-width: 560px) {
  .section { padding: 48px 0; }
  .res-pair { grid-template-columns: 1fr; }
  /* Keep all four labels at full size — the original never shrinks the type
     (font-size:0.7em is set at base with no mobile override). The row is a
     tight width budget: ~242px of text+icons, so the per-link padding is the
     only real lever. 12px each side puts the row at ~338px, which clears a
     360px phone with room to spare.
     The bar grows 35px -> 51px (8px breathing room above and below) so the
     links are a comfortable tap target and clear the logo. --topbar-h also
     feeds body{padding-top}, so the fixed bar still can't overlap content. */
  :root { --topbar-h: 51px; }
  /* no container gutters: the links carry their own padding, so the blue
     hover area runs cleanly to the screen edge */
  .topbar .container { justify-content: space-between; padding: 0; }
  .topbar a { padding: 0 12px; white-space: nowrap; }
  /* swap the full number for "Call Us" — the tel: link is unchanged */
  .topbar .label--full { display: none; }
  .topbar .label--short { display: inline; }
  .footer-bottom .container { justify-content: center; text-align: center; }
}
