/* =============================================================
   All Floors & Bathrooms — main stylesheet
   Translated from the Claude Design handoff (mobile breakpoint 860px)
   ============================================================= */

:root {
  --blue: #1554d6;
  --blue-dark: #0e3ea8;
  --navy: #0b2559;
  --navy-footer: #081b40;
  --ink: #101828;
  --body: #1c2b3d;
  --gray: #475467;
  --gray-mid: #667085;
  --gray-soft: #98a2b3;
  --blue-light: #eef4ff;
  --border: #dbe8ff;
  --yellow: #ffc93c;
  --hero-sub: #c9d9f7;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Work Sans', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  background: #f4f7fc;
  font-family: var(--font-body);
  color: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

::selection { background: #bcd4fb; }

a { color: var(--blue); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--blue-dark); }

input, select, textarea { font-size: 16px; }

img { max-width: 100%; height: auto; display: block; }

.afb-container { max-width: 1160px; margin: 0 auto; }

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Image placeholders (used until photos are set) ---------- */
.afb-img-slot {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #dbe8ff 0%, #eef4ff 100%);
  display: flex; align-items: center; justify-content: center;
  color: #7b93bd; font-size: 12.5px; font-weight: 600; text-align: center;
  padding: 12px;
}
.afb-img-slot img, .afb-img-cover {
  width: 100%; height: 100%; object-fit: cover;
}

/* =================== HEADER =================== */
.afb-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(21, 84, 214, 0.03);
}
.afb-header__row {
  max-width: 1160px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.afb-header__brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: inherit; }
.afb-header__logo {
  width: 36px; height: 36px; border-radius: 8px; background: var(--blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.afb-header__name {
  font-family: var(--font-head); font-weight: 700; font-size: 16.5px;
  color: var(--ink); letter-spacing: -0.005em; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.afb-nav { display: flex; align-items: center; gap: 22px; }
.afb-nav a { color: var(--ink); font-weight: 600; font-size: 14.5px; }
.afb-nav a:hover { color: var(--blue); }
.afb-header__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.afb-header__tel {
  display: flex; align-items: center; gap: 7px;
  color: var(--blue); font-weight: 700; font-size: 14.5px;
}
.afb-header__tel-icon {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--border); flex-shrink: 0;
}
.afb-btn-quote-header {
  background: var(--blue); color: #fff; font-weight: 700; font-size: 14px;
  padding: 11px 20px; border-radius: 7px; white-space: nowrap; border: none; cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.afb-btn-quote-header:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(21, 84, 214, 0.28); }
.afb-btn-quote-header:active { transform: translateY(0) scale(0.96); }
.afb-hamburger {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 8px; background: transparent;
  border: 1px solid var(--border); cursor: pointer; flex-shrink: 0;
}
.afb-mobile-nav {
  display: none; flex-direction: column;
  padding: 6px 20px 16px; gap: 2px; border-top: 1px solid var(--border);
}
.afb-mobile-nav.is-open { display: flex; }
.afb-mobile-nav a {
  color: var(--ink); font-weight: 600; font-size: 15.5px;
  padding: 11px 4px; border-bottom: 1px solid var(--blue-light);
}
.afb-mobile-nav a:last-child { border-bottom: none; }

/* =================== HERO =================== */
.afb-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0b2559 0%, #123a8f 55%, #1554d6 100%);
}
.afb-hero__bg { position: absolute; inset: 0; opacity: 0.18; }
.afb-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.afb-hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, #0b2559 30%, rgba(11, 37, 89, 0.55) 70%, rgba(21, 84, 214, 0.25) 100%);
}
.afb-hero__container {
  position: relative; max-width: 1160px; margin: 0 auto;
  padding: 80px 20px 52px; display: flex; flex-direction: column; gap: 56px;
}
.afb-hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start;
}
.afb-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.afb-badge {
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22);
  color: #eaf1ff; font-weight: 600; font-size: 12.5px; padding: 6px 12px; border-radius: 100px;
}
.afb-badge--insured {
  display: flex; align-items: center; gap: 6px;
  background: var(--yellow); border: none; color: var(--ink); font-weight: 800;
  box-shadow: 0 2px 8px rgba(255, 201, 60, 0.35);
}
.afb-hero__kicker {
  color: var(--yellow); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px;
}
.afb-hero__h1 {
  font-family: var(--font-head); font-weight: 800; font-size: 54px; line-height: 1.1;
  color: #fff; margin: 0 0 20px; letter-spacing: -0.01em; max-width: 760px;
}
.afb-hero__sub { font-size: 18px; color: var(--hero-sub); margin: 0 0 30px; max-width: 520px; font-weight: 400; }
.afb-hero__cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.afb-btn-hero-primary {
  background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 15.5px;
  padding: 16px 28px; border-radius: 8px; text-align: center; border: none; cursor: pointer;
  font-family: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.afb-btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255, 201, 60, 0.35); }
.afb-btn-hero-primary:active { transform: translateY(0) scale(0.97); }
.afb-hero__secondary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: #fff; font-weight: 600; font-size: 15.5px; padding: 16px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4); border-radius: 0;
  transition: opacity 0.2s ease;
}
.afb-hero__secondary:hover { opacity: 0.75; color: #fff; }

/* Hero form card */
.afb-hero__form-card {
  background: #fff; border-radius: 14px; padding: 28px;
  box-shadow: 0 20px 44px rgba(4, 14, 38, 0.35);
}
.afb-hero__form-title { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 19px; margin-bottom: 4px; }
.afb-hero__form-sub { color: var(--gray-mid); font-size: 13px; margin-bottom: 18px; }
.afb-form { display: flex; flex-direction: column; gap: 12px; }
.afb-input {
  border: 1px solid #d0d9e8; border-radius: 6px; padding: 12px 13px;
  font-family: inherit; font-size: 14.5px; width: 100%; background: #fff; color: #344054;
}
.afb-btn-submit {
  background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; padding: 14px;
  border: none; border-radius: 7px; cursor: pointer; font-family: inherit;
  transition: transform 0.15s ease;
}
.afb-btn-submit:hover { transform: translateY(-1px); }
.afb-btn-submit:active { transform: scale(0.97); }
.afb-btn-submit[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.afb-form__note { text-align: center; color: var(--gray-soft); font-size: 11.5px; margin-top: 12px; }
.afb-form__error { color: #b42318; font-size: 13px; display: none; }
.afb-form__error.is-visible { display: block; }

/* Form success state */
.afb-form-success { text-align: center; padding: 22px 6px; display: none; flex-direction: column; align-items: center; gap: 10px; }
.afb-form-success.is-visible { display: flex; }
.afb-form-success__icon {
  width: 46px; height: 46px; border-radius: 100px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
}
.afb-form-success__title { font-weight: 700; color: var(--ink); font-size: 17px; font-family: var(--font-head); }
.afb-form-success__sub { color: var(--gray); font-size: 13.5px; }

/* Hero trust row */
.afb-hero__trust {
  display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between;
  padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.afb-trust__item { display: flex; flex-direction: column; gap: 4px; }
.afb-trust__value { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 26px; }
.afb-trust__label { color: #a9c2ef; font-size: 12px; font-weight: 600; letter-spacing: 0.01em; max-width: 150px; }

/* =================== STICKY MOBILE BAR =================== */
.afb-sticky-bar { display: none; }

/* =================== SECTIONS =================== */
.afb-section--white { padding: 90px 20px; background: #fff; }
.afb-section--light { padding: 90px 20px; background: var(--blue-light); }
.afb-section--dark { padding: 90px 20px; background: var(--navy); }

.afb-section__intro { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.afb-eyebrow {
  color: var(--blue); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px;
}
.afb-eyebrow--light { color: var(--yellow); }
.afb-h2 {
  font-family: var(--font-head); font-weight: 800; font-size: 36px; color: var(--ink);
  margin: 0 0 14px; letter-spacing: -0.01em; line-height: 1.2;
}
.afb-h2--light { color: #fff; }
.afb-lead { color: var(--gray); font-size: 15.5px; margin: 0; }

/* Reveal animation */
.afb-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.afb-reveal.is-revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .afb-reveal { opacity: 1; transform: none; transition: none; }
}

/* =================== PROMISE =================== */
.afb-promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); }
.afb-promise-card {
  padding: 28px 24px 0; border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
}
.afb-promise-card:last-child { border-right: none; }
.afb-promise-card__num { font-family: var(--font-head); font-weight: 800; color: var(--blue); font-size: 22px; }
.afb-promise-card__title { font-weight: 700; color: var(--ink); font-size: 17px; font-family: var(--font-head); }
.afb-promise-card__desc { color: var(--gray); font-size: 14px; }

/* =================== SERVICES =================== */
.afb-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.afb-service-card {
  background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(16, 40, 90, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.afb-service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(16, 40, 90, 0.12); }
.afb-service-card__media { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.afb-service-card__media img { transition: transform 0.4s ease; }
.afb-service-card:hover .afb-service-card__media img { transform: scale(1.04); }
.afb-service-card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 11px; }
.afb-service-card__title { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--ink); margin: 0; }
.afb-chip {
  display: inline-block; background: var(--blue-light); color: var(--blue);
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 5px; width: fit-content;
}
.afb-service-card__blurb { color: var(--gray); font-size: 14.5px; margin: 0; }
.afb-service-card__points {
  margin: 4px 0 0; padding: 0 0 0 18px; color: var(--body); font-size: 13.5px;
  display: flex; flex-direction: column; gap: 6px;
}
.afb-service-card__cta {
  margin-top: 8px; color: var(--blue); font-weight: 700; font-size: 13.5px;
  background: none; border: none; padding: 0; text-align: left; cursor: pointer; font-family: inherit;
  transition: color 0.15s ease;
}
.afb-service-card__cta:hover { color: var(--blue-dark); }

/* =================== HOW IT WORKS (roadmap) =================== */
.afb-roadmap { position: relative; max-width: 680px; margin: 0 auto; padding-left: 64px; }
.afb-roadmap__line { position: absolute; left: 23px; top: 6px; bottom: 6px; width: 1px; background: var(--border); }
.afb-roadmap__fill {
  position: absolute; left: 23px; top: 6px; width: 1px; background: var(--blue);
  height: 0%; transition: height 0.15s linear;
}
.afb-step { position: relative; margin-bottom: 44px; padding-left: 12px; }
.afb-step:last-child { margin-bottom: 0; }
.afb-step__marker {
  position: absolute; left: -64px; top: 0; width: 46px; height: 46px; border-radius: 8px;
  background: #fff; color: var(--gray-soft); font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head);
  border: 1px solid var(--border); box-shadow: 0 0 0 4px #fff; transition: all 0.2s ease;
}
.afb-step.is-lit .afb-step__marker { background: var(--blue); color: #fff; border-color: var(--blue); }
.afb-step__title { font-weight: 700; color: var(--ink); font-size: 17px; font-family: var(--font-head); margin-bottom: 5px; }
.afb-step__desc { color: var(--gray); font-size: 14px; }

/* =================== GALLERY =================== */
.afb-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.afb-gallery-item {
  border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; position: relative;
  border: 1px solid var(--border);
}
.afb-gallery-item img { transition: transform 0.4s ease; }
.afb-gallery-item:hover img { transform: scale(1.05); }

/* =================== AREAS =================== */
.afb-areas-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; align-items: start; }
.afb-areas__intro-copy { color: #b9cdf2; font-size: 15.5px; margin: 0 0 22px; }
.afb-btn-yellow {
  display: inline-block; background: var(--yellow); color: var(--ink);
  font-weight: 800; font-size: 14.5px; padding: 13px 24px; border-radius: 8px;
  border: none; cursor: pointer; font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.afb-btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(255, 201, 60, 0.3); }
.afb-btn-yellow:active { transform: translateY(0) scale(0.97); }
.afb-area-groups { display: flex; flex-direction: column; gap: 24px; }
.afb-area-group__heading {
  color: #eaf1ff; font-family: var(--font-head); font-weight: 700; font-size: 16px; margin: 0 0 12px;
}
.afb-area-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.afb-area-chip {
  border: 1px solid rgba(143, 180, 247, 0.28); border-radius: 6px; padding: 11px 14px;
  color: #d7e4fb; font-weight: 600; font-size: 13.5px;
}

/* =================== ABOUT =================== */
.afb-about-grid {
  max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr;
  gap: 54px; align-items: center;
}
.afb-about__media { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--border); }
.afb-lead--about { margin-bottom: 26px; }
.afb-why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.afb-why-item { display: flex; gap: 11px; align-items: flex-start; }
.afb-why-item__check {
  width: 20px; height: 20px; border-radius: 5px; background: var(--blue-light);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.afb-why-item__title { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.afb-why-item__desc { color: var(--gray); font-size: 13px; }

/* =================== REVIEWS =================== */
.afb-review-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(143, 180, 247, 0.3); border-radius: 100px; padding: 9px 18px;
}
.afb-review-pill__stars { color: var(--yellow); font-size: 14px; }
.afb-review-pill__text { font-weight: 700; color: #eaf1ff; font-size: 13.5px; }
.afb-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.afb-review-card {
  background: rgba(143, 180, 247, 0.06); border: 1px solid rgba(143, 180, 247, 0.16);
  border-radius: 10px; padding: 30px 26px; position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.afb-review-card:hover { transform: translateY(-4px); border-color: rgba(143, 180, 247, 0.4); }
.afb-review-card__mark {
  font-family: var(--font-head); font-weight: 800; color: #3d6bd4; font-size: 44px;
  line-height: 1; position: absolute; top: 16px; right: 24px; opacity: 0.5;
}
.afb-review-card__stars { color: var(--yellow); font-size: 14px; margin-bottom: 16px; }
.afb-review-card__text { color: #e4ecfb; font-size: 15px; margin: 0 0 22px; line-height: 1.7; }
.afb-review-card__footer { border-top: 1px solid rgba(143, 180, 247, 0.16); padding-top: 14px; }
.afb-review-card__name { font-weight: 700; color: #eaf1ff; font-size: 14px; }
.afb-review-card__loc { color: #8ba3c9; font-size: 12.5px; }

/* =================== JOURNAL CARDS (front page) =================== */
.afb-journal-card {
  text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 9px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.afb-journal-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(16, 40, 90, 0.1); color: inherit; }
.afb-journal-card__cat {
  color: var(--blue); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.afb-journal-card__title { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); }
.afb-journal-card__more { color: var(--blue); font-weight: 700; font-size: 13.5px; }
.afb-journal-more-wrap { text-align: center; margin-top: 32px; }
.afb-btn-outline {
  display: inline-block; border: 1.5px solid var(--blue); color: var(--blue);
  font-weight: 700; font-size: 14.5px; padding: 12px 24px; border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.afb-btn-outline:hover { background: var(--blue); color: #fff; }

/* =================== FAQ =================== */
.afb-faq-wrap { max-width: 740px; margin: 0 auto; }
.afb-faq-list { display: flex; flex-direction: column; gap: 10px; }
.afb-faq-item { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.afb-faq-item__q {
  width: 100%; text-align: left; background: #fff; border: none; cursor: pointer;
  padding: 17px 20px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; font-family: inherit; transition: background 0.15s ease;
}
.afb-faq-item__q:hover { background: #f7faff; }
.afb-faq-item__q-text { font-weight: 700; color: var(--ink); font-size: 15px; }
.afb-faq-item__icon { color: var(--blue); font-size: 20px; flex-shrink: 0; font-family: var(--font-head); }
.afb-faq-item__a { padding: 0 20px 20px; color: var(--gray); font-size: 14.5px; display: none; }
.afb-faq-item.is-open .afb-faq-item__a { display: block; }
.afb-faq__cta { text-align: center; margin-top: 36px; }
.afb-faq__cta-note { color: var(--gray-mid); font-size: 14.5px; margin: 0 0 14px; }
.afb-btn-primary {
  display: inline-block; background: var(--blue); color: #fff; font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: 8px; border: none; cursor: pointer; font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.afb-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(21, 84, 214, 0.25); }
.afb-btn-primary:active { transform: translateY(0) scale(0.97); }

/* =================== CONTACT =================== */
.afb-contact-grid {
  max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 54px;
}
.afb-contact__copy { color: #b9cdf2; font-size: 15.5px; margin: 0 0 28px; }
.afb-contact__channels { display: flex; flex-direction: column; gap: 18px; }
.afb-contact__channel { display: flex; align-items: center; gap: 12px; color: #eaf1ff; font-weight: 700; font-size: 15.5px; }
.afb-contact__channel:hover { color: #fff; }
.afb-contact__channel-icon {
  width: 38px; height: 38px; border-radius: 8px; border: 1px solid rgba(143, 180, 247, 0.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.afb-contact__response { color: #7b93bd; font-size: 12.5px; margin: 24px 0 0; }
.afb-contact-card { background: #fff; border-radius: 12px; padding: 36px; box-shadow: 0 12px 32px rgba(6, 20, 52, 0.28); }
.afb-contact-card__title { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 22px; margin-bottom: 8px; }
.afb-contact-card__sub { color: var(--gray); font-size: 14.5px; margin: 0 0 22px; }
.afb-contact-card__btn {
  display: block; width: 100%; background: var(--blue); color: #fff; font-weight: 800;
  font-size: 15.5px; padding: 15px; border-radius: 8px; text-align: center; border: none;
  cursor: pointer; font-family: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.afb-contact-card__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(21, 84, 214, 0.28); }
.afb-contact-card__btn:active { transform: translateY(0) scale(0.97); }
.afb-contact-card__points { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.afb-contact-card__point { display: flex; align-items: center; gap: 9px; color: #344054; font-size: 13.5px; font-weight: 600; }

/* =================== FOOTER =================== */
.afb-footer { background: var(--navy-footer); padding: 48px 20px 28px; }
.afb-footer__grid {
  max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 38px;
  padding-bottom: 26px; border-bottom: 1px solid rgba(143, 180, 247, 0.14);
}
.afb-footer__brand { font-family: var(--font-head); font-weight: 700; font-size: 16.5px; color: #eaf1ff; margin-bottom: 10px; }
.afb-footer__desc { color: #8ba3c9; font-size: 13px; margin: 0 0 14px; max-width: 320px; }
.afb-footer__heading {
  color: #b9cdf2; font-weight: 700; font-size: 12.5px; letter-spacing: 0.03em;
  text-transform: uppercase; margin-bottom: 14px;
}
.afb-footer__links { display: flex; flex-direction: column; gap: 9px; }
.afb-footer__links a { color: #8ba3c9; font-size: 13px; }
.afb-footer__links a:hover { color: #d7e4fb; }
.afb-footer__areas { color: #8ba3c9; font-size: 13px; margin: 0; }
.afb-footer__bottom {
  max-width: 1160px; margin: 0 auto; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between;
}
.afb-footer__copyright { color: #7b93bd; font-size: 12px; }
.afb-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.afb-footer__legal a { color: #7b93bd; font-size: 12px; }
.afb-footer__legal a:hover { color: #d7e4fb; }

/* =================== COOKIE BANNER =================== */
.afb-cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  background: var(--navy); border-top: 1px solid rgba(143, 180, 247, 0.16);
  padding: 18px 24px; display: none; align-items: center; gap: 20px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.3);
}
.afb-cookie-banner.is-visible { display: flex; }
.afb-cookie-banner__text { color: #e4ecfb; font-size: 13.5px; flex: 1; }
.afb-cookie-banner__text a { color: #8fb4f7; }
.afb-cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.afb-cookie-decline {
  background: transparent; border: 1px solid rgba(143, 180, 247, 0.3); color: #e4ecfb;
  font-weight: 600; font-size: 13.5px; padding: 10px 16px; border-radius: 6px; cursor: pointer; font-family: inherit;
}
.afb-cookie-accept {
  background: var(--blue); border: none; color: #fff; font-weight: 700; font-size: 13.5px;
  padding: 10px 18px; border-radius: 6px; cursor: pointer; font-family: inherit;
}

/* =================== QUOTE MODAL =================== */
.afb-modal-overlay {
  position: fixed; inset: 0; z-index: 120; background: rgba(8, 20, 48, 0.6);
  display: none; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(2px);
}
.afb-modal-overlay.is-open { display: flex; }
.afb-modal {
  background: #fff; border-radius: 14px; padding: 32px; width: 100%; max-width: 560px;
  max-height: 92vh; overflow-y: auto; position: relative; animation: modalIn 0.2s ease;
}
.afb-modal__close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 100px;
  border: 1px solid #e4e7ec; background: #f9fafb; color: var(--gray); font-size: 14px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.afb-modal__close:hover { background: #eef1f5; }
.afb-modal__title { font-weight: 800; color: var(--ink); font-size: 20px; font-family: var(--font-head); margin-bottom: 4px; }
.afb-modal__sub { color: var(--gray-mid); font-size: 13.5px; margin-bottom: 18px; }
.afb-modal__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.afb-modal__form .afb-field--full { grid-column: 1 / -1; }
.afb-field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: #344054; }
.afb-modal__form .afb-btn-submit { grid-column: 1 / -1; font-size: 15.5px; padding: 15px; border-radius: 6px; }
.afb-modal__form .afb-form__privacy { grid-column: 1 / -1; text-align: center; color: var(--gray-soft); font-size: 12.5px; }
.afb-modal .afb-form-success { padding: 36px 10px 10px; }

/* Honeypot */
.afb-hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

/* =================== BLOG / JOURNAL PAGES =================== */
.afb-blog-body { background: #fff; color: var(--ink); line-height: 1.55; }
.afb-blog-hero { background: var(--navy); padding: 56px 20px; }
.afb-blog-hero__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.afb-blog-hero__eyebrow {
  color: var(--yellow); font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px;
}
.afb-blog-hero__title {
  font-family: var(--font-head); font-weight: 600; font-size: 32px; color: #fff;
  margin: 0 0 14px; letter-spacing: -0.01em;
}
.afb-blog-hero__sub { color: var(--hero-sub); font-size: 16px; margin: 0; }
.afb-blog-grid-wrap { padding: 48px 20px 70px; background: #fff; }
.afb-blog-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px;
}
.afb-blog-card {
  text-decoration: none; color: inherit; border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column; background: #fff;
}
.afb-blog-card:hover { color: inherit; }
.afb-blog-card:hover .afb-blog-card__title { color: var(--blue); }
.afb-blog-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.afb-blog-card__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.afb-blog-card__cat { color: var(--blue); font-weight: 700; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; }
.afb-blog-card__title { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); }
.afb-blog-card__excerpt { color: var(--gray); font-size: 13.5px; flex: 1; }
.afb-blog-card__more { color: var(--blue); font-weight: 700; font-size: 13.5px; }

/* Single post / page article */
.afb-article-wrap { background: #fff; }
.afb-breadcrumb { max-width: 760px; margin: 0 auto; padding: 18px 20px 0; font-size: 13px; color: #7b93bd; }
.afb-breadcrumb a { color: #7b93bd; }
.afb-breadcrumb a:hover { color: var(--blue); }
.afb-article { max-width: 760px; margin: 0 auto; padding: 24px 20px 60px; line-height: 1.65; }
.afb-article__cat { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.afb-article__title {
  font-family: var(--font-head); font-weight: 600; font-size: 34px; line-height: 1.2;
  color: var(--ink); margin: 0 0 14px; letter-spacing: -0.01em;
}
.afb-article__meta { color: var(--gray); font-size: 14px; margin: 0 0 26px; }
.afb-article__hero { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 28px; }
.afb-article .entry-content > p:first-of-type { font-size: 17px; color: var(--body); }
.afb-article .entry-content p { color: var(--body); font-size: 16px; margin: 0 0 18px; }
.afb-article .entry-content h2 {
  font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--ink); margin: 32px 0 12px;
}
.afb-article .entry-content ul {
  color: var(--body); font-size: 16px; padding-left: 20px; margin: 0 0 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.afb-article .entry-content .afb-post-cta {
  background: var(--blue-light); border: 1px solid var(--border); border-radius: 10px;
  padding: 26px; margin: 36px 0;
}
.afb-article .entry-content .afb-post-cta h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); margin: 0 0 8px;
}
.afb-article .entry-content .afb-post-cta p { color: var(--gray); font-size: 15px; margin: 0 0 16px; }
.afb-article .entry-content .afb-post-cta a {
  display: inline-block; background: var(--blue); color: #fff; font-weight: 700; font-size: 15px;
  padding: 12px 20px; border-radius: 8px;
}
.afb-related { border-top: 1px solid var(--border); padding-top: 24px; margin-top: 36px; }
.afb-related__heading { font-weight: 700; color: var(--ink); font-size: 14px; margin-bottom: 12px; }
.afb-related__links { display: flex; flex-direction: column; gap: 8px; }
.afb-related__links a { color: var(--blue); font-size: 14.5px; font-weight: 600; }

/* Legal / default page */
.afb-page-article { max-width: 760px; margin: 0 auto; padding: 44px 20px 70px; line-height: 1.65; }
.afb-page-article h1 { font-family: var(--font-head); font-weight: 600; font-size: 30px; color: var(--ink); margin: 0 0 8px; }
.afb-page-article .entry-content p { font-size: 15.5px; color: var(--body); }
.afb-page-article .entry-content h2 { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--ink); margin: 28px 0 10px; }

/* Simple footer for blog/legal pages */
.afb-footer--simple { text-align: center; padding: 36px 20px 24px; }
.afb-footer--simple .afb-footer__brand { font-size: 15px; margin-bottom: 8px; }
.afb-footer--simple .afb-footer__desc { margin: 0 auto 16px; }
.afb-footer--simple .afb-footer__home-link { color: var(--yellow); font-size: 13.5px; font-weight: 600; }
.afb-footer--simple .afb-footer__copyright { margin-top: 20px; display: block; }

/* =================== MOBILE (≤860px) =================== */
@media (max-width: 860px) {
  .afb-header__row { padding: 10px 16px; }
  .afb-header__name { font-size: 14.5px; }
  .afb-nav { display: none; }
  .afb-header__tel { display: none; }
  .afb-header__tel-icon { display: flex; }
  .afb-btn-quote-header { font-size: 13px; padding: 10px 12px; }
  .afb-hamburger { display: flex; }

  .afb-hero__container { padding: 32px 18px 36px; gap: 32px; }
  .afb-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .afb-hero__h1 { font-size: 34px; }
  .afb-hero__sub { font-size: 16px; }
  .afb-hero__cta-row { flex-direction: column; align-items: stretch; }
  .afb-btn-hero-primary, .afb-hero__secondary { width: 100%; }
  .afb-hero__form-card { padding: 22px; }
  .afb-hero__trust { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; padding-top: 26px; }
  .afb-trust__value { font-size: 22px; }

  .afb-sticky-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--border);
    box-shadow: 0 -6px 18px rgba(16, 40, 90, 0.1);
  }
  .afb-sticky-bar__call {
    flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: 6px;
    border: 1.5px solid var(--blue); color: var(--blue); font-weight: 700; font-size: 14.5px;
    padding: 12px 16px; border-radius: 7px;
  }
  .afb-sticky-bar__quote {
    flex: 1; text-align: center; background: var(--blue); color: #fff; font-weight: 700;
    font-size: 14.5px; padding: 12px 16px; border-radius: 7px; border: none; cursor: pointer;
    font-family: inherit;
  }
  body { padding-bottom: 64px; }

  .afb-section--white, .afb-section--light, .afb-section--dark { padding: 48px 18px; }
  .afb-section__intro { margin-bottom: 32px; }
  .afb-h2 { font-size: 26px; }

  .afb-promise-grid { grid-template-columns: 1fr; gap: 18px; border-top: none; }
  .afb-promise-card { padding: 20px; border-top: 1px solid var(--border); border-right: none; }

  .afb-services-grid { grid-template-columns: 1fr; gap: 16px; }

  .afb-roadmap { padding-left: 48px; }
  .afb-roadmap__line, .afb-roadmap__fill { left: 15px; }
  .afb-step { margin-bottom: 32px; }
  .afb-step__marker { left: -48px; width: 40px; height: 40px; font-size: 14px; }

  .afb-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .afb-areas-grid { grid-template-columns: 1fr; gap: 30px; }
  .afb-area-chips { grid-template-columns: repeat(2, 1fr); }

  .afb-about-grid { grid-template-columns: 1fr; gap: 28px; }
  .afb-about__media { aspect-ratio: 16 / 10; }
  .afb-why-grid { gap: 16px; }

  .afb-reviews-grid { grid-template-columns: 1fr; gap: 16px; }

  .afb-contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .afb-contact-card { padding: 26px; }

  .afb-footer { padding: 36px 18px; }
  .afb-footer__grid { grid-template-columns: 1fr; gap: 26px; }

  .afb-cookie-banner { flex-direction: column; align-items: stretch; padding: 16px; gap: 12px; }

  .afb-modal-overlay { align-items: flex-end; padding: 0; }
  .afb-modal { border-radius: 16px 16px 0 0; padding: 24px 20px 28px; max-width: 100%; }
}
