/* =====================================================================
   Bubs V2 homepage hero (ported from approved home-hero-direction.html,
   deployed 2026-07-30). Owns: .bubs-hh hero, quote form skin, service cards.
   ===================================================================== */

/* White, not off-white: the product cutouts have pure white baked in, so the
   section matches them exactly (Jack 2026-07-30). */
.bubs-hh { padding: 54px 40px 30px; text-align: center; position: relative; overflow: hidden; background: #fff; font-family: Montserrat, sans-serif; }
.bubs-hh-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--bubs-orange-deep, #c9461a); }
.bubs-hh h1 { font-family: Anton, sans-serif; font-weight: 400; font-size: clamp(38px, 5vw, 62px); line-height: 1.04; color: var(--bubs-navy, #3b4d62); margin: 12px auto 14px; max-width: 20ch; }
.bubs-hh h1 em { font-style: normal; color: var(--bubs-orange, #f15922); }
.bubs-hh-sub { font-size: 17px; line-height: 1.6; color: #4a5866; max-width: 58ch; margin: 0 auto; }
.bubs-hh-proof { display: inline-flex; align-items: center; gap: 8px; margin: 12px auto 2px; font-size: 13px; font-weight: 700; color: #4a5866; text-decoration: none; background: #fff; border: 1px solid #e6e1d5; border-radius: 30px; padding: 7px 15px; box-shadow: 0 1px 2px rgba(42,58,77,.06), 0 10px 28px rgba(42,58,77,.10); }
.bubs-hh-proof .stars { color: var(--bubs-orange, #f15922); letter-spacing: 2px; }
.bubs-hh-proof:hover { border-color: var(--bubs-orange, #f15922); color: var(--bubs-navy, #3b4d62); }
/* submit press feedback: spinner while FluentForm works */
.bubs-hh-form .ff-working .ff-btn-submit { pointer-events: none; opacity: .85; position: relative; padding-right: 52px !important; }
.bubs-hh-form .ff-working .ff-btn-submit::after { content: ''; position: absolute; right: 22px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: bubs-spin .7s linear infinite; }
@keyframes bubs-spin { to { transform: rotate(360deg); } }
.bubs-hh-lineup { margin: 8px auto 0; max-width: 1330px; }
.bubs-hh-lineup img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }
.bubs-hh-lineup-m img { mix-blend-mode: multiply; }
.bubs-hh-lineup-m { display: none; }

/* ---- quote form (FluentForm 3 wearing the approved navy skin) ---- */
.bubs-hh-form { background: var(--bubs-navy-deep, #2a3a4d); border-radius: 16px; padding: 18px 18px 6px; margin: 22px auto 0; max-width: 1080px; box-shadow: 0 2px 4px rgba(42,58,77,.08), 0 22px 48px rgba(42,58,77,.16); position: relative; overflow: hidden; text-align: center; }
/* Deterministic grid on the FIELDSET (FluentForm nests everything inside
   <form><fieldset>...). Row 1: name / email / phone. Row 2: service / address.
   Then description, consent, button - each on its own full row. */
.bubs-hh-form .frm-fluent-form fieldset { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.bubs-hh-form .frm-fluent-form fieldset > legend { grid-column: 1 / -1; }
.bubs-hh-form fieldset > .ff-el-group,
.bubs-hh-form fieldset > .ff-field_container { margin: 0 !important; grid-column: span 2; }
.bubs-hh-form fieldset > .ff-el-group:has(select[name="service"]),
.bubs-hh-form fieldset > .ff-el-group:has(input[name="address"]) { grid-column: span 3; }
.bubs-hh-form fieldset > .ff-el-group:has(textarea),
.bubs-hh-form fieldset > .ff-el-group:has(input[name="marketing_consent"]),
.bubs-hh-form fieldset > .ff_submit_btn_wrapper { grid-column: 1 / -1; }
.bubs-hh-form fieldset > .ff-hpsf-container { position: absolute !important; }
/* turnstile row (the group just before the submit button): centered, no dead
   space around the widget */
.bubs-hh-form fieldset > .ff-el-group:has(+ .ff_submit_btn_wrapper) { grid-column: 1 / -1; display: flex; justify-content: center; margin: 0 !important; min-height: 0; }
.bubs-hh-form fieldset > .ff-el-group:has(+ .ff_submit_btn_wrapper) > * { margin: 0 !important; padding: 0 !important; }
.bubs-hh-form .ff-t-container { display: block; }
.bubs-hh-form .ff-t-container .ff-el-group, .bubs-hh-form .ff-t-cell .ff-el-group { margin: 0 !important; }
.bubs-hh-form textarea.ff-el-form-control { min-height: 66px; resize: vertical; line-height: 1.5; }
.bubs-hh-form .fluentform .ff_submit_btn_wrapper { display: flex; justify-content: center; margin-top: 2px; }
/* consent checkbox: quiet, left-aligned, orange check */
.bubs-hh-form .fluentform .ff-el-group:has(input[name="marketing_consent"]) { text-align: left; }
.bubs-hh-form .fluentform .ff-el-group:has(input[name="marketing_consent"]) label,
.bubs-hh-form .fluentform .ff-el-group:has(input[name="marketing_consent"]) div { color: #b8c4d0; font-size: 12.5px; line-height: 1.5; }
.bubs-hh-form input[type="checkbox"] { accent-color: var(--bubs-orange, #f15922); width: 16px; height: 16px; }
/* legal line under the button */
.bubs-hh-legal { text-align: center; color: #8fa0b3; font-size: 11.5px; margin: 6px 0 12px; padding: 0 48px; line-height: 1.55; }
.bubs-hh-legal a { color: #b8c4d0; text-decoration: underline; }
.bubs-hh-legal a:hover { color: #ffb08e; }
.bubs-hh-form .ff-el-input--label { display: none; }
.bubs-hh-form .ff-el-form-control { width: 100%; padding: 13px 15px; border-radius: 10px; border: none; font-family: Montserrat, sans-serif; font-size: 14px; color: var(--bubs-navy-deep, #2a3a4d); background: #fff; }
.bubs-hh-form .ff-el-form-control:focus { outline: 3px solid var(--bubs-orange, #f15922); outline-offset: 1px; }
.bubs-hh-form .ff-btn-submit { background: var(--bubs-orange, #f15922) !important; border: none !important; color: #fff !important; font-weight: 800; font-size: 15.5px; padding: 14px 44px !important; border-radius: 10px; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.bubs-hh-form .ff-btn-submit:active { transform: translateY(1px); }
.bubs-hh-form .ff-btn-submit:hover { background: var(--bubs-orange-deep, #c9461a) !important; }
.bubs-hh-form .ff-el-is-error .text-danger, .bubs-hh-form .error { color: #ffb08e; font-size: 12px; }
.bubs-hh-form .ff-message-success { color: #fff; background: rgba(255,255,255,.08); border: none; padding: 12px; border-radius: 10px; }
.bubs-hh-tag { text-align: center; color: #b8c4d0; font-size: 12.5px; margin: 10px 0 12px; padding: 0 48px; }
.bubs-hh-mark { position: absolute; right: 14px; bottom: 10px; width: clamp(28px, 3vw, 38px); opacity: .6; pointer-events: none; }

/* ---- four service cards ---- */
.bubs-hh-svc4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 34px 0 18px; max-width: 1400px; margin: 0 auto; }
a.bubs-hh-svc { background: #fff; border: 1px solid #e6e1d5; border-radius: 16px; padding: 26px 24px 22px; text-align: left; transition: transform .25s ease, box-shadow .25s ease; box-shadow: 0 1px 2px rgba(42,58,77,.06), 0 10px 28px rgba(42,58,77,.10); display: flex; flex-direction: column; text-decoration: none; }
a.bubs-hh-svc:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(42,58,77,.08), 0 22px 48px rgba(42,58,77,.16); }
.bubs-hh-svc img.ic { height: 46px; width: auto; align-self: flex-start; margin-bottom: 14px; }
.bubs-hh-svc h2, .bubs-hh-svc h3 { font-family: Anton, sans-serif; font-weight: 400; font-size: 21px; letter-spacing: .02em; color: var(--bubs-navy, #3b4d62); margin: 0 0 8px; }
.bubs-hh-svc p { font-size: 13.5px; line-height: 1.6; color: #4a5866; flex: 1; margin: 0; }
.bubs-hh-svc .go { margin-top: 16px; font-weight: 800; font-size: 13px; color: var(--bubs-orange-deep, #c9461a); }
.bubs-hh-svc .go::after { content: " \2192"; }
a.bubs-hh-svc.alt { background: var(--bubs-navy-deep, #2a3a4d); border-color: var(--bubs-navy-deep, #2a3a4d); }
.bubs-hh-svc.alt h2, .bubs-hh-svc.alt h3 { color: #fff; }
.bubs-hh-svc.alt p { color: #b8c4d0; }
.bubs-hh-svc.alt .go { color: #ffb08e; }

/* ---- mobile short copy rule (sitewide pattern) ---- */
.bubs-hh .short-copy { display: none; }

/* ---- responsive ---- */
@media (max-width: 1020px) {
  .bubs-hh-svc4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .bubs-hh-mark { display: none; }
  .bubs-hh-tag { padding: 0; }
}
/* =====================================================================
   Living-gradient background block (bubs-gradient.js): add
   data-bubs-gradient to any section. Canvas sits behind the content;
   the section's own background is the fallback.
   ===================================================================== */
[data-bubs-gradient] { position: relative; }
[data-bubs-gradient] > *:not(.bubs-grad-canvas) { position: relative; z-index: 1; }
.bubs-grad-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* =====================================================================
   "Everything we rent" icon band (reworked 2026-07-30: SVG icon tiles,
   no repeat of the hero's lineup image)
   ===================================================================== */
.bubs-ewr { background: #fff; padding: 64px 20px 56px; text-align: center; font-family: Montserrat, sans-serif; }
.bubs-ewr .in { max-width: 1250px; margin: 0 auto; }
.bubs-ewr-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 34px; }
a.bubs-ewr-tile { border: 1px solid #e6e1d5; border-radius: 16px; padding: 28px 18px 22px; text-decoration: none; background: #fff; display: flex; flex-direction: column; align-items: center; transition: transform .25s ease, box-shadow .25s ease; box-shadow: 0 1px 2px rgba(42,58,77,.06), 0 10px 28px rgba(42,58,77,.10); }
a.bubs-ewr-tile:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(42,58,77,.08), 0 22px 48px rgba(42,58,77,.16); }
.bubs-ewr-tile img { height: 54px; width: auto; margin-bottom: 14px; }
.bubs-ewr-tile b { font-family: Anton, sans-serif; font-weight: 400; font-size: 17px; letter-spacing: .03em; color: var(--bubs-navy, #3b4d62); margin-bottom: 6px; }
.bubs-ewr-tile .sub { font-size: 12.5px; color: #4a5866; line-height: 1.5; flex: 1; }
.bubs-ewr-tile .go { margin-top: 12px; font-weight: 800; font-size: 12.5px; color: var(--bubs-orange-deep, #c9461a); }
@media (max-width: 1020px) {
  .bubs-ewr-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .bubs-ewr-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bubs-ewr-grid .bubs-ewr-tile:last-child { grid-column: span 2; }
}

@media (max-width: 700px) {
  /* NO horizontal scroll, ever: the wide lineup is desktop-only.
     Mobile stacks three product images full width instead. */
  .bubs-hh-lineup { display: none; }
  .bubs-hh-lineup-m { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
  .bubs-hh-lineup-m img { width: 100%; height: auto; display: block; }
  .bubs-hh .full-copy { display: none; }
  .bubs-hh .short-copy { display: inline; }
  .bubs-hh .bubs-hh-sub { font-size: 15px; }
  .bubs-hh { padding: 34px 16px 24px; }
  /* form: single column stack on phones */
  .bubs-hh-form fieldset > .ff-el-group,
  .bubs-hh-form fieldset > .ff-field_container { grid-column: 1 / -1 !important; }
}
@media (max-width: 560px) {
  .bubs-hh-svc4 { grid-template-columns: 1fr; gap: 12px; padding: 24px 0 14px; }
  .bubs-hh-form { padding: 14px 14px 4px; }
}
