/* Layout shared by the AI homepage, B300 page and enquiry receipts. */
:root {
  --site-width: 1200px;
  --page-gutter: 32px;
  --header-height: 84px;
  --section-space: 96px;
  --hero-space: 64px;
  --card-padding: 32px;
  --brand-action: #bf420d;
}
html { scroll-padding-top: calc(var(--header-height) + 16px); }
.wrap { width: min(var(--site-width), calc(100% - 2 * var(--page-gutter))); margin-inline: auto; }
.skip { position: absolute; top: -80px; left: 16px; z-index: 99; padding: 12px; background: white; color: #201c19; }
.skip:focus { top: 12px; }
.header {
  position: sticky;
  inset-block-start: 0;
  z-index: 20;
  border-bottom: 1px solid #40372f;
  background: #191613;
  color: #f7f7f5;
}
.nav { display: flex; align-items: center; gap: 34px; min-height: var(--header-height); }
.brand { display: inline-flex; flex: none; text-decoration: none; }
.brand img { display: block; width: 120px; height: 44px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; color: #dedbd6; font-size: .875rem; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.nav-links .nav-phone, .nav-toggle { display: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
.btn-primary { background: var(--brand-action); color: #fff; }
.btn-primary:hover { background: #8e2d09; color: #fff; }
.btn:disabled { opacity: .62; cursor: wait; }
.nav > .btn { flex: none; min-height: 44px; padding: 10px 16px; font-size: .8125rem; }
.header :focus-visible { outline: 2px solid #ff9f70; outline-offset: 3px; }
.hero { padding-top: var(--hero-space); }
.hero-copy { min-width: 0; align-self: start; }
.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, calc(1.55rem + 3.45vw), 4.75rem);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -.045em;
}
.hero h1 span { color: #ef6024; }
.hero .hero-description { max-width: 56ch; margin: 24px 0 28px; font-size: 1.125rem; line-height: 1.6; color: #dedbd6; }
.enquiry-section { padding-block: var(--section-space); background: #fff; }
.enquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(36px, 6vw, 90px);
}
.enquiry-layout > * { min-width: 0; }
.enquiry-layout h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; line-height: 1.08; letter-spacing: -.045em; }
.enquiry-card {
  min-width: 0;
  padding: var(--card-padding);
  border: 1px solid #dedbd6;
  border-radius: 18px;
  background: white;
  box-shadow: 0 14px 55px rgb(32 28 25 / 4%);
}
.enquiry-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); gap: 16px; }
.enquiry-fields > * { min-width: 0; }
.enquiry-fields .wide, .enquiry-fields .full { grid-column: 1 / -1; }
.enquiry-fields label { font-size: .875rem; font-weight: 650; line-height: 1.5; }
.enquiry-card :is(input:not([type=radio], [type=checkbox], [type=hidden]), select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #aaa39c;
  border-radius: 6px;
  background: #fff;
  color: #201c19;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}
.enquiry-card textarea { min-height: 76px; resize: vertical; }
.enquiry-card :is(input, select, textarea):focus { border-color: var(--brand-action); }
.enquiry-card :is(input, select, textarea):focus-visible { outline: 2px solid var(--brand-action); outline-offset: 2px; }
.enquiry-card input:disabled { background: #f1eeeb; color: #746f69; }
.enquiry-card :is(input[type=radio], input[type=checkbox]) { flex: none; width: 17px; height: 17px; accent-color: var(--brand-action); }
.enquiry-card .consent { display: flex; align-items: flex-start; gap: 9px; margin: 20px 0; color: #59524e; font-size: .8125rem; font-weight: 400; line-height: 1.5; }
.enquiry-card .consent input { margin: 2px 0 0; }
.enquiry-card button[type=submit] { width: 100%; margin: 0; }
.enquiry-card .delivery-note { margin: 10px 0 0; color: #59524e; font-size: .8125rem; line-height: 1.5; text-align: center; }
.delivery-note a { color: #923309; text-underline-offset: 3px; }
.enquiry-card [role=status]:empty { display: none; }
.footer { padding: 32px 0 24px; border-top: 1px solid #40372f; background: #15120f; color: #bdb5ae; font-size: .8125rem; line-height: 1.55; }
.footer-main, .footer-note { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.footer img { display: block; width: 95px; height: 35px; object-fit: contain; }
.footer-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; }
.footer-contact a { color: #dedbd6; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-note { margin-top: 24px; padding-top: 20px; border-top: 1px solid #40372f; }
.footer-note p { margin: 0; }
.copyright { white-space: nowrap; }
.mobile-cta { display: none; }
[hidden] { display: none !important; }

@media (max-width: 1000px) {
  :root { --page-gutter: 24px; --section-space: 72px; --hero-space: 50px; --card-padding: 24px; }
  .nav { gap: 20px; }
  .nav-links { gap: 18px; }
}
@media (max-width: 880px) {
  :root { --header-height: 70px; --section-space: 56px; --hero-space: 42px; }
  .brand img { width: 100px; height: 36px; }
  .nav { flex-wrap: wrap; gap: 0; }
  .nav > .btn { display: none; }
  .nav-links { flex: 1 0 100%; flex-wrap: wrap; gap: 0 18px; padding-block: 4px; }
  .menu-ready .nav { flex-wrap: nowrap; }
  .menu-ready .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 8px 12px; min-height: 44px;
    border: 1px solid #6b625b; border-radius: 6px; background: transparent; color: #fff; font: inherit; font-size: .875rem;
  }
  .menu-ready .nav-links {
    display: none; position: absolute; inset: 100% 0 auto; max-height: calc(100dvh - var(--header-height)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--page-gutter) 12px;
    background: #211c18; border-bottom: 1px solid #40372f;
  }
  .menu-ready .nav-links.is-open, .nav-links .nav-phone { display: flex; }
  .header:not(.menu-ready):has(.nav-links) { position: static; }
  .header:not(.menu-ready) ~ .mobile-cta { display: none; }
  .hero .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 26px; }
  .hero .hero-description { margin: 19px 0 24px; font-size: 1rem; }
  .enquiry-layout { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .footer { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .footer-main, .footer-note { flex-direction: column; gap: 16px; }
  .mobile-cta {
    position: fixed; inset: auto 0 0; z-index: 15; display: flex; align-items: center; gap: 12px;
    padding: 8px var(--page-gutter) calc(8px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #dedbd6;
    background: #fff; color: #201c19; box-shadow: 0 -5px 20px rgb(32 28 25 / 4%);
  }
  .mobile-cta .btn { flex: 1; min-height: 44px; padding: 9px 12px; font-size: .875rem; }
  .mobile-cta .call-team { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; font-size: .8125rem; text-decoration: none; white-space: nowrap; }
}
@media (max-width: 760px) {
  :root { --page-gutter: 18px; --card-padding: 20px; }
}
@media (max-width: 550px) {
  .enquiry-fields { grid-template-columns: minmax(0, 1fr); }
  .footer-contact { gap: 8px 16px; }
}
@media (max-width: 380px) {
  :root { --card-padding: 15px; }
  .enquiry-card button[type=submit] { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media print {
  .header, .mobile-cta { display: none; }
  .hero h1, .hero h1 span, .hero .hero-description { color: #15120f; }
  .enquiry-section, .footer { padding-block: 16px; }
  .enquiry-card { box-shadow: none; }
  .footer { background: white; color: #201c19; }
}
