/* KUB Better Than Black Friday landing page - lp.kitchensubuild.com.au/better-than-black-friday
   Offer: 50% off installation, 01-30/11/2026. Black-led campaign look inside the KUB design system:
   black + white surfaces, orange #FF7544 as the ONLY accent, HK Grotesk, square corners. */

/* HK Grotesk - primary typeface, self-hosted */
@font-face { font-family: 'HK Grotesk'; src: url('assets/fonts/HKGrotesk-Light.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'HK Grotesk'; src: url('assets/fonts/HKGrotesk-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'HK Grotesk'; src: url('assets/fonts/HKGrotesk-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'HK Grotesk'; src: url('assets/fonts/HKGrotesk-SemiBold.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'HK Grotesk'; src: url('assets/fonts/HKGrotesk-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --kub-orange: #FF7544;
  --kub-orange-dark: #e65f31;
  --kub-black: #000000;
  --kub-charcoal: #333333;
  --kub-dark: #181818;
  --kub-near-black: #222222;
  --kub-mid: #777777;
  --kub-soft: #999999;
  --kub-line: #dddddd;
  --kub-bg-grey: #f5f5f5;
  --kub-white: #ffffff;
  --kub-cream: #faf7f2;
  --line-dark: rgba(255,255,255,0.16);
  --kub-display: 'HK Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --kub-script: 'Allura', cursive;
  --kub-container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--kub-black); color: var(--kub-charcoal); font-family: var(--kub-display); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4 { font-family: var(--kub-display); color: var(--kub-black); font-weight: 500; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
img { max-width: 100%; display: block; }
p { text-wrap: pretty; margin: 0; }
a { color: var(--kub-orange); } a:hover { color: var(--kub-orange-dark); }

.wrap { max-width: var(--kub-container); margin: 0 auto; padding: 0 32px; }
.light { background: var(--kub-white); }
.dark { background: var(--kub-black); color: rgba(255,255,255,0.78); }
.dark h2, .dark h3 { color: #fff; }
.label { font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--kub-orange); }
.big { font-size: clamp(36px, 4.6vw, 72px); line-height: 1; letter-spacing: -0.035em; }
.big .o { color: var(--kub-orange); }
.kub-script { font-family: var(--kub-script); font-weight: 400; color: var(--kub-orange); letter-spacing: 0; }
#book, #offer, #eligible, #dates, #faq { scroll-margin-top: 80px; }

/* Buttons - square corners */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--kub-display); font-weight: 600; font-size: 16px; padding: 18px 30px; border: 1px solid transparent; border-radius: 0; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-orange { background: var(--kub-orange); color: #fff; }
.btn-orange:hover { background: var(--kub-orange-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: #fff; color: var(--kub-black); }
.btn-black { background: var(--kub-black); color: #fff; }
.btn-black:hover { background: var(--kub-near-black); color: #fff; }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* Ticker */
.ticker { background: var(--kub-orange); color: #fff; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; }
.ticker-track { display: inline-flex; padding: 11px 0; animation: tick 38s linear infinite; }
.ticker-track span { padding: 0 22px; }
.ticker-track span:nth-child(even) { opacity: 0.6; padding: 0; }
.ticker-band .ticker-track { animation-direction: reverse; padding: 14px 0; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--kub-black); border-bottom: 1px solid var(--line-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.site-header .logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a.anchor { color: rgba(255,255,255,0.78); text-decoration: none; font-weight: 500; font-size: 14px; }
.nav a.anchor:hover { color: var(--kub-orange); }
.nav .btn { padding: 12px 22px; font-size: 15px; }

/* Hero */
.hero { background: var(--kub-black); color: #fff; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; }
.hero-copy { padding: 72px 56px 72px max(32px, calc((100vw - var(--kub-container)) / 2 + 32px)); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.hero h1 { color: #fff; line-height: 0.86; margin: 22px 0 36px; }
.hero h1 .l1 { display: block; font-weight: 400; font-size: clamp(40px, 5vw, 80px); letter-spacing: -0.02em; line-height: 1.1; }
.hero h1 .l1 .kub-script { font-size: 1.45em; line-height: 0.5; }
.hero h1 .l2 { display: block; font-weight: 700; font-size: clamp(64px, 9.4vw, 152px); letter-spacing: -0.045em; text-transform: uppercase; white-space: nowrap; }
.hero h1 .l2 + .l2 { margin-top: 0.02em; }
.offer-lock { display: flex; align-items: center; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); margin-bottom: 32px; max-width: 620px; }
.offer-lock .pct { font-weight: 700; font-size: clamp(64px, 7vw, 108px); line-height: 0.85; letter-spacing: -0.05em; color: var(--kub-orange); }
.offer-lock .what { font-size: clamp(20px, 2vw, 28px); line-height: 1.1; color: #fff; font-weight: 500; }
.offer-lock .what small { display: block; font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.65); margin-top: 8px; letter-spacing: 0; }
.hero .sub { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,0.8); max-width: 50ch; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-img { position: relative; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img .tag { position: absolute; z-index: 2; right: 0; bottom: 48px; background: var(--kub-orange); color: #fff; padding: 14px 22px; font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }

/* Project mosaic */
.mosaic { padding: 110px 0; }
.mosaic-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 48px; }
.mosaic-head h2 { max-width: 18ch; }
.mosaic-head .lede { font-size: 18px; line-height: 1.55; color: var(--kub-charcoal); max-width: 52ch; margin-top: 20px; }
.mosaic-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 300px 300px; gap: 12px; }
.mosaic-grid figure { margin: 0; position: relative; overflow: hidden; background: var(--kub-bg-grey); }
.mosaic-grid .m-big { grid-column: span 2; grid-row: span 2; }
.mosaic-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mosaic-grid figure:hover img { transform: scale(1.04); }
.mosaic-grid figcaption { position: absolute; left: 0; bottom: 0; background: var(--kub-black); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 9px 14px; }

/* Eligibility */
.elig { padding: 110px 0; }
.elig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 56px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.path { background: var(--kub-black); padding: 0 0 36px; display: flex; flex-direction: column; }
.path > :not(.path-img) { margin-left: 32px; margin-right: 32px; }
.path-img { height: 260px; overflow: hidden; margin-bottom: 28px; }
.path-img img { width: 100%; height: 100%; object-fit: cover; }
.path.muted .path-img img { filter: grayscale(1) brightness(0.55); }
.path .status { align-self: flex-start; font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; padding: 7px 11px; margin-bottom: 22px; }
.path .status.ok { background: var(--kub-orange); color: #fff; }
.path .status.na { border: 1px solid rgba(255,255,255,0.35); color: rgba(255,255,255,0.6); }
.path h3 { font-size: 40px; letter-spacing: -0.03em; margin-bottom: 12px; }
.path p { font-size: 15px; line-height: 1.6; }
.path.muted h3 { color: rgba(255,255,255,0.45); }
.path .go { margin-top: auto; padding-top: 28px; font-weight: 600; font-size: 15px; color: var(--kub-orange); text-decoration: none; display: inline-flex; gap: 10px; }
.path .go:hover { color: #fff; }

/* Dates */
.dates { padding: 0 0 120px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--line-dark); }
.tl { position: relative; padding-right: 24px; }
.tl .dot { width: 20px; height: 20px; background: var(--kub-black); border: 2px solid var(--kub-orange); margin-bottom: 26px; position: relative; }
.tl.hot .dot { background: var(--kub-orange); }
.tl .d { font-weight: 700; font-size: clamp(30px, 3.2vw, 48px); line-height: 1; color: #fff; letter-spacing: -0.03em; margin-bottom: 10px; }
.tl .t { font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--kub-orange); margin-bottom: 8px; }
.tl p { font-size: 14.5px; line-height: 1.55; max-width: 28ch; }

/* Reviews */
.reviews { padding: 0; }
.reviews-split { display: grid; grid-template-columns: 1fr 1fr; }
.reviews-img { position: relative; min-height: 640px; }
.reviews-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reviews-copy { padding: 96px max(32px, calc((100vw - var(--kub-container)) / 2 + 32px)) 96px 72px; display: flex; flex-direction: column; justify-content: center; }
.lead-quote { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.3; color: var(--kub-black); font-weight: 400; letter-spacing: -0.015em; margin: 28px 0 0; }
.reviews .q { color: var(--kub-orange); font-weight: 700; }
.cite { margin: 20px 0 36px; font-size: 14px; color: var(--kub-mid); }
.cite b { color: var(--kub-black); font-weight: 600; }
.small-quotes { display: flex; flex-direction: column; gap: 0; border-top: 2px solid var(--kub-black); }
.small-quotes figure { margin: 0; padding: 28px 0; border-bottom: 1px solid var(--kub-line); }
.small-quotes blockquote { margin: 0 0 12px; font-size: 16px; line-height: 1.55; color: var(--kub-black); }
.small-quotes figcaption { font-size: 13px; color: var(--kub-mid); }
.small-quotes figcaption b { color: var(--kub-black); font-weight: 600; }

/* Form section */
.book { padding: 110px 0; background: var(--kub-orange); }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.book h2 { color: #fff; font-size: clamp(44px, 5.6vw, 88px); line-height: 0.92; letter-spacing: -0.04em; font-weight: 700; }
.book .lede { color: rgba(255,255,255,0.95); font-size: 18px; line-height: 1.55; margin: 26px 0 30px; max-width: 42ch; }
.book ol { list-style: none; margin: 0; padding: 0; counter-reset: s; display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,0.4); max-width: 480px; }
.book ol li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.4); color: #fff; font-size: 15.5px; }
.book ol li::before { content: '0' counter(s); font-weight: 700; }
.form-card { background: var(--kub-black); color: #fff; padding: 44px 40px 36px; }
.form-card .label { margin-bottom: 10px; }
.form-card h3 { color: #fff; font-size: 30px; line-height: 1.1; margin-bottom: 8px; }
.form-card .intro { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field > span { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.field > span em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 400; color: rgba(255,255,255,0.45); }
.field input, .field select { font: inherit; font-size: 15px; color: #fff; background: var(--kub-near-black); border: 1px solid #3a3a3a; border-radius: 0; padding: 14px; outline: none; width: 100%; transition: border-color .12s ease, box-shadow .12s ease; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { color: #000; }
.field input::placeholder { color: #6f6f6f; }
.field input:focus, .field select:focus { border-color: var(--kub-orange); box-shadow: 0 0 0 3px rgba(255,117,68,0.25); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--kub-orange); }
.field .err { display: none; font-size: 12px; color: var(--kub-orange); }
.field.is-invalid .err { display: block; }
.form-card button[type=submit] { width: 100%; margin-top: 6px; }
.form-card .fine { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 16px; line-height: 1.5; }
.form-card .fine a { color: rgba(255,255,255,0.7); }
#book-success-state p { color: rgba(255,255,255,0.8); font-size: 15px; line-height: 1.6; }

/* FAQ */
.faq { padding: 110px 0; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; margin-top: 56px; border-top: 2px solid var(--kub-black); }
.qa { padding: 28px 0; border-bottom: 1px solid var(--kub-line); }
.qa h3 { font-size: 19px; line-height: 1.3; margin-bottom: 10px; }
.qa p { font-size: 15px; line-height: 1.6; }

/* Showrooms */
.rooms { padding: 72px 0; border-top: 1px solid var(--line-dark); }
.rooms .wrap { display: grid; grid-template-columns: 0.8fr 2fr; gap: 48px; align-items: center; }
.rooms h2 { font-size: 30px; line-height: 1.1; }
.room-list { display: flex; flex-wrap: wrap; gap: 10px; }
.room-list a { color: #fff; text-decoration: none; border: 1px solid var(--line-dark); padding: 12px 18px; font-size: 15px; transition: border-color .15s ease, color .15s ease; }
.room-list a span { color: rgba(255,255,255,0.45); font-size: 12px; margin-left: 6px; }
.room-list a:hover { border-color: var(--kub-orange); color: var(--kub-orange); }

/* Footer */
.site-footer { background: var(--kub-orange); color: rgba(255,255,255,0.92); padding: 56px 0 48px; }
.site-footer .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 32px; font-size: 13px; }
.site-footer .top img { height: 36px; width: auto; }
.site-footer .pathways { font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.site-footer .pathways span { color: var(--kub-black); }
.site-footer h4 { color: #fff; font-weight: 600; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin: 32px 0 20px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.4); }
.terms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.terms-grid p { font-size: 12px; line-height: 1.7; }

/* Mobile sticky CTA */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 56px 32px 48px; }
  .hero-img { height: 420px; }
  .hero h1 .l2 { font-size: clamp(56px, 12.6vw, 140px); }
  .book-grid, .rooms .wrap, .reviews-split { grid-template-columns: 1fr; gap: 40px; }
  .reviews-split { gap: 0; }
  .reviews-img { min-height: 420px; }
  .reviews-copy { padding: 64px 32px; }
  .mosaic-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 380px 240px 240px; }
  .mosaic-grid .m-big { grid-row: span 1; }
  .terms-grid { grid-template-columns: 1fr; gap: 20px; }
  .nav a.anchor { display: none; }
}
@media (max-width: 860px) {
  .elig-grid, .faq-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .timeline::before { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .ticker { font-size: 12px; }
  .site-header .logo img { height: 30px; }
  .nav .btn { padding: 10px 14px; font-size: 14px; }
  .hero-copy { padding: 32px 16px 40px; }
  .hero h1 { margin: 16px 0 26px; }
  .hero h1 .l2 { font-size: 20vw; }
  .offer-lock { gap: 16px; }
  .hero .sub { font-size: 16.5px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-img { height: 300px; }
  .hero-img .tag { bottom: 20px; font-size: 11px; padding: 10px 14px; }
  .mosaic, .elig, .book, .faq { padding: 72px 0; }
  .mosaic-grid { grid-template-rows: 280px 170px 170px; gap: 8px; }
  .reviews-img { min-height: 300px; }
  .reviews-copy { padding: 56px 16px; }
  .path > :not(.path-img) { margin-left: 20px; margin-right: 20px; }
  .path-img { height: 200px; }
  .dates { padding-bottom: 72px; }
  .timeline { grid-template-columns: 1fr; }
  .form-card { padding: 32px 20px 26px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer { padding-bottom: 100px; }
  .mobile-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--kub-black); border-top: 1px solid var(--line-dark); transition: transform .25s ease; }
  .mobile-bar .btn { width: 100%; padding: 15px; }
  .mobile-bar.is-hidden { transform: translateY(110%); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Gravity Forms skin — "Better Than Black Friday 2026 Lead" (live WP build)
   ───────────────────────────────────────────────────────────────────────────
   Makes the GF embed match the handoff's .field / .btn.btn-orange reference
   form on the black card. GF's stylesheets print in wp_head() AFTER this file,
   so every rule is scoped under #book .form-card (an ID) to win on specificity
   regardless of source order. Form-id agnostic on purpose.
   ═══════════════════════════════════════════════════════════════════════════ */
#book .form-card .gform_wrapper { margin: 0; }
#book .form-card .gform_wrapper .gform_heading,
#book .form-card .gform_wrapper .gform_required_legend { display: none; }

/* GF orbital theme tokens (injected inline at 1,2,0) */
#book .form-card .gform_wrapper.gform-theme.gform-theme--orbital {
  --gf-color-primary: var(--kub-orange);
  --gf-color-primary-rgb: 255,117,68;
  --gf-color-primary-contrast: #fff;
  --gf-radius-control: 0;
  --gf-ctrl-label-color-primary: rgba(255,255,255,0.75);
  --gf-ctrl-label-color-secondary: rgba(255,255,255,0.45);
}

/* 2-col: First name + Phone side by side (.kub-half), the rest full width (.form-row / .field) */
#book .form-card .gform_wrapper .gform_fields {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; row-gap: 16px; grid-auto-flow: row dense;
}
#book .form-card .gform_wrapper .gfield { margin: 0; padding: 0; }
#book .form-card .gform_wrapper .gfield.kub-half { grid-column: span 1; }
#book .form-card .gform_wrapper .gfield.kub-full,
#book .form-card .gform_wrapper .gfield--type-hidden,
#book .form-card .gform_wrapper .gform_validation_container { grid-column: 1 / -1; }
#book .form-card .gform_wrapper .gfield--type-hidden { display: none; }

/* Labels — .field > span */
#book .form-card .gform_wrapper .gfield_label {
  display: block; margin: 0 0 7px; padding: 0;
  font-family: var(--kub-display); font-size: 11px; font-weight: 600; line-height: 1.55;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.75);
}
#book .form-card .gform_wrapper .gfield_required { display: none; }
#book .form-card .gform_wrapper .gfield_label em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 400; color: rgba(255,255,255,0.45); }

/* Controls — .field input / .field select */
#book .form-card .gform_wrapper .gfield input[type="text"],
#book .form-card .gform_wrapper .gfield input[type="email"],
#book .form-card .gform_wrapper .gfield input[type="tel"],
#book .form-card .gform_wrapper .gfield select {
  width: 100%; height: auto; min-height: 0; box-sizing: border-box;
  font-family: var(--kub-display); font-size: 15px; line-height: 1.55; color: #fff;
  background-color: var(--kub-near-black); border: 1px solid #3a3a3a; border-radius: 0;
  padding: 14px; outline: none; box-shadow: none;
  transition: border-color .12s ease, box-shadow .12s ease;
}
#book .form-card .gform_wrapper .gfield select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
#book .form-card .gform_wrapper .gfield select option { color: #000; }
#book .form-card .gform_wrapper .gfield input::placeholder { color: #6f6f6f; opacity: 1; }
#book .form-card .gform_wrapper .gfield input:focus,
#book .form-card .gform_wrapper .gfield select:focus {
  border-color: var(--kub-orange); box-shadow: 0 0 0 3px rgba(255,117,68,0.25); outline: none;
}

/* Validation — .field.is-invalid / .err */
#book .form-card .gform_wrapper .gfield_error input,
#book .form-card .gform_wrapper .gfield_error select { border-color: var(--kub-orange); }
#book .form-card .gform_wrapper .gfield_validation_message,
#book .form-card .gform_wrapper .validation_message {
  color: var(--kub-orange); font-size: 12px; margin: 7px 0 0; padding: 0; background: none; border: 0;
}
#book .form-card .gform_wrapper .gfield_error .gfield_label { color: rgba(255,255,255,0.75); }
#book .form-card .gform_wrapper .gform_validation_errors {
  margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--kub-orange); border-radius: 0;
  background: rgba(255,117,68,0.08); box-shadow: none;
}
#book .form-card .gform_wrapper .gform_validation_errors > h2,
#book .form-card .gform_wrapper .gform_validation_errors .gform_submission_error {
  font-family: var(--kub-display); font-size: 13px; font-weight: 500; color: #fff; margin: 0;
}
#book .form-card .gform_wrapper .gform_validation_errors .gform-icon { display: none; }

/* Submit — .btn.btn-orange, full width */
#book .form-card .gform_wrapper .gform_footer,
#book .form-card .gform_wrapper .gform-footer { margin: 6px 0 0; padding: 16px 0 0; }
#book .form-card .gform_wrapper .gform_footer .gform_button,
#book .form-card .gform_wrapper .gform-footer .gform_button {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--kub-display); font-weight: 600; font-size: 16px; line-height: 1.3;
  padding: 18px 30px; min-height: 0; border: 1px solid transparent; border-radius: 0;
  background: var(--kub-orange); color: #fff; cursor: pointer; box-shadow: none;
  transition: background-color .2s ease, transform .2s ease;
}
#book .form-card .gform_wrapper .gform_footer .gform_button:hover,
#book .form-card .gform_wrapper .gform-footer .gform_button:hover {
  background: var(--kub-orange-dark); color: #fff; transform: translateY(-1px);
}
#book .form-card .gform_wrapper .gform_button .arr { transition: transform .2s ease; }
#book .form-card .gform_wrapper .gform_button:hover .arr { transform: translateX(4px); }
#book .form-card .gform_wrapper .gform_ajax_spinner { margin-left: 10px; }

/* AJAX confirmation replaces the form in place — styled like #book-success-state */
#book .form-card .gform_confirmation_message { font-family: var(--kub-display); }
#book .form-card .gform_confirmation_message .label { margin-bottom: 10px; }
#book .form-card .gform_confirmation_message p { color: rgba(255,255,255,0.8); font-size: 15px; line-height: 1.6; margin: 0; }
#book .form-card.is-confirmed #book-form-state > .label,
#book .form-card.is-confirmed #book-form-state > h3,
#book .form-card.is-confirmed #book-form-state > .intro,
#book .form-card.is-confirmed #book-form-state > .fine { display: none; }

@media (max-width: 640px) {
  #book .form-card .gform_wrapper .gform_fields { grid-template-columns: 1fr; }
  #book .form-card .gform_wrapper .gfield.kub-half { grid-column: 1 / -1; }
}
