/* Homepage composition: white services, sand quote, charcoal reasons,
   ivory reviews, red final action and dark footer. */
body.alba-front-page { background: #fff; }
.alba-front-page-shell { padding-bottom: 0; }
.alba-front-page-shell .alba-section { padding: clamp(52px, 6vw, 88px) 0; }
.alba-front-page-shell .alba-container,
.alba-front-page .alba-header > .alba-container,
.alba-front-page .alba-footer > .alba-container {
  width: min(1320px, calc(100% - 64px)); max-width: 1320px;
}
.alba-front-page-shell .alba-section-heading { max-width: 760px; margin-bottom: 36px; }
.alba-front-page-shell .alba-section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.13;
  letter-spacing: -.04em; text-wrap: balance;
}
.alba-front-page-shell .alba-section-heading > p:last-child { max-width: 62ch; line-height: 1.7; }
.alba-home-services { background: #fff; }
.alba-home-services .alba-services-grid { gap: 18px; }
.alba-home-services .alba-service-card {
  display: flex; flex-direction: column; min-width: 0;
  background: #fff; border: 1px solid #e7dfda; border-radius: 18px;
  box-shadow: 0 6px 20px rgba(34,24,24,.045);
}
.alba-home-services .alba-service-card__media { aspect-ratio: 1.25; flex-shrink: 0; }
.alba-home-services .alba-service-card__icon { width: 36px; height: 36px; border-radius: 10px; top: 12px; left: 12px; }
.alba-home-services .alba-service-card__index { top: 12px; right: 12px; }
.alba-home-services .alba-service-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 18px; }
.alba-home-services .alba-service-card h3 { font-size: 1.08rem; line-height: 1.28; letter-spacing: -.025em; }
.alba-home-services .alba-service-card h3 a { color: #282328; }
.alba-home-services .alba-service-card__body p { font-size: .88rem; line-height: 1.7; }
.alba-home-services .alba-service-card__body > a { margin-top: auto; font-size: .83rem; }
.alba-front-page-shell .alba-section--form { background: #e9dfd5; border-block: 1px solid #ddd0c4; }
.alba-front-page-shell .alba-quote {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 0; padding: 0; background: #fff; color: #30282a;
  border-radius: 26px; border: 1px solid #d9cbc1;
  box-shadow: 0 16px 42px rgba(60,37,29,.07);
}
.alba-front-page-shell .alba-quote::before { display: none; }
.alba-front-page-shell .alba-quote__intro {
  padding: 40px 32px; background: var(--alba-red); color: #fff;
  max-width: none; container-type: inline-size;
}
.alba-front-page-shell .alba-quote__intro h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.6rem); font-size: clamp(1.8rem, 9cqw, 2.6rem);
  max-width: 17ch; line-height: 1.17; text-wrap: balance; hyphens: none;
}
.alba-front-page-shell .alba-quote__intro p:last-child { margin-top: 24px; line-height: 1.7; }
.alba-front-page-shell .alba-quote__form { padding: 32px; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
.alba-front-page-shell .alba-form-grid { gap: 18px 16px; }
.alba-front-page-shell .alba-form-grid span { color: #393036; font-size: .86rem; }
.alba-front-page-shell .alba-form-grid input,
.alba-front-page-shell .alba-form-grid select,
.alba-front-page-shell .alba-form-grid textarea {
  background: #faf8f6; border: 1px solid #d9cfc8; border-radius: 10px; padding: 12px 14px;
}
.alba-front-page-shell .alba-form-grid :is(input, select, textarea):focus { outline: 2px solid #a6101a; outline-offset: 2px; background: #fff; }
.alba-front-page-shell .alba-form-grid__submit .alba-button { background: var(--alba-red); color: #fff; }
.alba-front-page-shell .alba-form-grid__submit .alba-button span { color: #fff; }
.alba-front-page-shell .alba-form-message.is-success { background: #e8f5ed; color: #185531; }
.alba-front-page-shell .alba-form-message.is-error { background: #fce9e9; color: #8c1420; }
.alba-home-reasons { background: #242326; color: #fff; }
.alba-home-reasons .alba-eyebrow { color: #ffb8b9; }
.alba-home-reasons .alba-section-heading h2 { color: #fff; }
.alba-home-reasons .alba-section-heading > p:last-child { color: #d2cbd0; }
.alba-home-reasons .alba-section-heading h2::after { background: #f27379; }
.alba-home-reasons .alba-reason-card {
  background: #302e32; border: 1px solid #4e454b; border-radius: 18px; box-shadow: none; padding: 28px 24px;
}
.alba-home-reasons .alba-reason-card h3 { color: #fff; max-width: 20ch; line-height: 1.3; font-size: 1.1rem; }
.alba-home-reasons .alba-reason-card p { color: #d2cbd0; font-size: .9rem; line-height: 1.7; }
.alba-home-reasons .alba-reason-card__icon { background: #4b3037; color: #ffc2c3; width: 44px; height: 44px; }
.alba-home-reasons .alba-reason-card__index { color: #a28c94; font-size: 1.7rem; }
.alba-front-page-shell .alba-section--reviews { background: #f7f4f0; border: 0; }
.alba-front-page-shell .alba-reviews-heading { max-width: none; }
.alba-front-page-shell .alba-review-card { grid-template-rows: auto auto 1fr auto; gap: 18px; padding: 26px; }
.alba-front-page-shell .alba-review-card__top { flex-direction: column; align-items: flex-start; gap: 12px; }
.alba-front-page-shell .alba-review-card__source { font-size: .72rem; padding: 6px 10px; }
.alba-front-page-shell .alba-review-card p { margin: 0; font-size: .95rem; line-height: 1.7; }
.alba-front-page-shell .alba-review-card__footer { padding-top: 16px; border-top: 1px solid #eee7e2; }
.alba-front-page-shell .alba-final-cta { background: var(--alba-red); padding: 54px 0; }
.alba-front-page-shell .alba-final-cta h2 { max-width: 25ch; font-size: clamp(2rem, 3vw, 2.7rem); }
.alba-front-page .alba-footer { background: #171719; border-top: 0; padding-bottom: 105px; }
.alba-front-page .alba-quote-prompt { width: auto; max-width: calc(100vw - 110px); right: 24px; padding: 0; border-radius: 999px; }
.alba-front-page .alba-quote-prompt__copy { display: none; }
.alba-front-page .alba-quote-prompt__button { min-height: 52px; padding: 14px 22px; }
@media (max-width: 1100px) {
  .alba-home-services .alba-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .alba-home-reasons .alba-reasons-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alba-front-page-shell .alba-quote { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
  .alba-front-page-shell .alba-quote__intro, .alba-front-page-shell .alba-quote__form { padding: 26px; }
}
@media (max-width: 920px) {
  .alba-front-page-shell .alba-quote { grid-template-columns: minmax(0, 1fr); }
  .alba-front-page-shell .alba-quote__intro h2 { max-width: 28ch; font-size: 2.1rem; }
  .alba-front-page-shell .alba-reviews-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .alba-home-services .alba-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alba-front-page-shell .alba-container, .alba-front-page .alba-header > .alba-container,
  .alba-front-page .alba-footer > .alba-container { width: calc(100% - 32px); }
}
@media (max-width: 520px) {
  .alba-home-services .alba-services-grid, .alba-home-reasons .alba-reasons-grid { grid-template-columns: minmax(0, 1fr); }
  .alba-home-services .alba-service-card__media { aspect-ratio: 1.8; }
  .alba-front-page-shell .alba-quote__intro, .alba-front-page-shell .alba-quote__form { padding: 24px 20px; }
  .alba-front-page-shell .alba-quote__intro h2 { font-size: 1.85rem; }
  .alba-front-page .alba-quote-prompt { right: 12px; }
  .alba-front-page .alba-quote-prompt__button { font-size: .85rem; padding: 12px 16px; }
}

/* Balance the reassurance card against the complete hero text block. */
@media (min-width: 921px) {
  .alba-front-page-shell .alba-hero__card {
    align-self: center;
    justify-self: end;
    width: 100%;
    max-width: 380px;
    margin: 0;
    padding: 30px;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 18px;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(28, 12, 16, .18);
  }
  .alba-front-page-shell .alba-hero__card .alba-icon {
    width: 48px;
    height: 48px;
  }
  .alba-front-page-shell .alba-hero__card-kicker {
    font-size: .68rem;
    margin-bottom: 10px;
  }
  .alba-front-page-shell .alba-hero__card strong {
    font-size: 1.45rem;
    line-height: 1.2;
    text-wrap: balance;
  }
  .alba-front-page-shell .alba-hero__card p {
    margin-top: 14px;
    font-size: .94rem;
    line-height: 1.65;
  }
}
@media (min-width: 921px) and (max-width: 1150px) {
  .alba-front-page-shell .alba-hero__card {
    padding: 24px;
    grid-template-columns: minmax(0, 1fr);
  }
  .alba-front-page-shell .alba-hero__card .alba-icon {
    grid-row: auto;
    margin-bottom: 18px;
  }
  .alba-front-page-shell .alba-hero__card p { grid-column: 1; }
}

/* Brand accent at the boundary between the fixed header and home hero. */
.alba-front-page .alba-header { border-bottom: 0; }
.alba-front-page .alba-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  pointer-events: none;
  background: linear-gradient(90deg,
    var(--alba-red) 0%, #8f0f14 20%, #be1217 42%,
    #ef555b 58%, #f7b0b3 68%, #be1217 82%, var(--alba-red) 100%);
  box-shadow: 0 2px 8px rgba(190, 18, 23, .18);
}
@media (max-width: 640px) {
  .alba-front-page .alba-header::after { height: 3px; }
}
