/* ==========================================================================
   Allutech Systems — components
   Buttons · breadcrumbs · brand · utility bar · header · mega menu · drawer
   · footer · floating rail · back-to-top · toasts
   Cards, forms, tabs and accordions arrive with the sections that use them.
   ========================================================================== */

/* ---- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: var(--hairline);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}

.btn:hover {
  border-color: var(--edge);
  color: var(--edge);
}

.btn--primary {
  background: var(--edge);
  border-color: var(--edge);
  color: var(--pane);
}

.btn--primary:hover,
.btn--primary:active {
  background: var(--edge-deep);
  border-color: var(--edge-deep);
  color: var(--pane);
}

/* For a call to action sitting on --edge or on a photograph, where the primary
   button would be green on green or would lose too much contrast to be the
   obvious thing to press. */
.btn--invert {
  background: var(--pane);
  border-color: var(--pane);
  color: var(--ink);
}

.btn--invert:hover,
.btn--invert:active {
  background: var(--edge-tint);
  border-color: var(--edge-tint);
  color: var(--ink);
}

.btn--ghost { border-color: transparent; padding-inline: 0; }
.btn--ghost:hover { border-color: transparent; }

.btn[disabled],
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.btn .icon { flex: none; }

/* ---- Icons -------------------------------------------------------------- */

.icon {
  display: block;
  flex: none;
  vector-effect: non-scaling-stroke;
}

/* ---- Utility bar (desktop only) ----------------------------------------- */

/* Green strip above the header. */
.utility {
  position: relative;
  z-index: var(--z-base);
  background: var(--edge);
  color: rgba(255, 255, 255, .82);
}

.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--col-gap);
  min-height: 40px;
  padding-block: 8px;
}

.utility__pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: var(--radius-pill);
  color: #fff;
}

.utility__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 28px;
}

.utility__links a,
.utility__phone { text-decoration: none; color: rgba(255, 255, 255, .82); }

.utility__links a:hover,
.utility__phone:hover { color: #fff; }

.utility__links a:focus-visible,
.utility__phone:focus-visible { outline-color: #fff; }

.utility__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, .26);
}

.utility__number { color: #fff; }

/* The strip stays on small screens, carrying the two things worth having there:
   where the company works, and a number to tap. The utility links cannot fit
   beside them at phone width, so the drawer carries those instead. */
@media (max-width: 1023px) {
  .utility__links { display: none; }

  .utility__inner { gap: 12px; padding-block: 7px; }

  .utility__pill {
    padding: 4px 10px;
    font-size: .625rem;
    white-space: nowrap;
  }

  .utility__phone {
    padding-left: 0;
    border-left: 0;
    font-size: .625rem;
    white-space: nowrap;
  }
}

/* Under about 400px even the label and the number together overflow the row. */
@media (max-width: 400px) {
  .utility__phone-label { display: none; }
}

/* ---- Header ------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--pane);
  border-bottom: var(--hairline);
  /* No transform transition: the header no longer moves. It used to slide out
     of view on scroll-down, which took the nav and the estimate button away at
     the moment someone was reading down the page. */
  transition: background-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

/* Once the page has scrolled, the header becomes a pane of glass over the
   content passing beneath it. Solid white is the fallback where
   backdrop-filter is unsupported — never a semi-transparent unblurred bar,
   which would leave the navigation unreadable. */
.site-header.is-stuck { box-shadow: var(--shadow); }

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-stuck {
    background: var(--header-glass);
    -webkit-backdrop-filter: blur(var(--header-blur)) saturate(150%);
    backdrop-filter: blur(var(--header-blur)) saturate(150%);
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--col-gap);
  min-height: 76px;
  padding-block: 12px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---- Brand -------------------------------------------------------------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}

.brand:hover { color: var(--ink); }

/* A window in miniature: a pane split by a mullion in --edge. */
.brand__mark {
  position: relative;
  flex: none;
  width: 26px;
  height: 30px;
  border: 1px solid var(--ink);
  background: var(--pane);
}

.brand__mark::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 1px;
  background: var(--edge);
}

.brand__text { display: flex; flex-direction: column; gap: 3px; }

.brand__name {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' var(--wdth-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -.01em;
  line-height: 1;
  color: var(--ink);
}

.brand__tagline { font-size: .625rem; color: var(--ink-60); }

@media (max-width: 599px) {
  .brand__tagline { display: none; }
}

/* ---- Primary nav -------------------------------------------------------- */

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__item { position: static; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: var(--fs-small);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}

.nav__link:hover,
.nav__link.is-active,
.nav__link[aria-expanded="true"] {
  color: var(--edge);
  border-bottom-color: var(--edge);
}

.nav__chev {
  display: inline-flex;
  transition: transform var(--dur-fast) var(--ease-out);
}

.nav__link[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }

@media (max-width: 1023px) {
  .nav { display: none; }
}

/* ---- Mega panel --------------------------------------------------------- */

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--pane);
  border-block: var(--hairline);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}

.nav__item.is-open .mega { opacity: 1; transform: none; }

.mega__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 5vw, 72px);
  padding-block: 44px 48px;
}

.mega__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px var(--col-gap);
}

.mega__col-title {
  color: var(--ink-60);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: var(--hairline);
}

.mega__links { display: flex; flex-direction: column; gap: 2px; }

.mega__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  font-size: var(--fs-small);
  color: var(--ink-60);
  text-decoration: none;
}

.mega__link:hover { color: var(--edge); }

.mega__link--strong { color: var(--ink); margin-top: 6px; }

.mega__link-arrow {
  display: inline-flex;
  transition: transform var(--dur-fast) var(--ease-out);
}

.mega__link:hover .mega__link-arrow { transform: translateX(3px); }

.mega__feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: clamp(24px, 3vw, 40px);
  border-left: var(--hairline);
  text-decoration: none;
  color: var(--ink-60);
}

.mega__feature-media {
  display: block;
  overflow: hidden;
  margin-bottom: 6px;
  background: var(--mist);
}

/* Fixed ratio so a real photograph and a generated placeholder occupy the same
   box — the panel height never shifts when one is swapped for the other. */
.mega__feature-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  transition: transform var(--dur-med) var(--ease-out);
}

.mega__feature:hover .mega__feature-media img { transform: scale(1.03); }

.mega__feature-title {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' var(--wdth-display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: var(--ls-display);
  line-height: 1.2;
  color: var(--ink);
}

.mega__feature-line { font-size: var(--fs-small); }

.mega__feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--edge);
}

@media (max-width: 1199px) {
  .mega__inner { grid-template-columns: minmax(0, 1fr); }
  .mega__feature { display: none; }
}

/* ---- Menu toggle -------------------------------------------------------- */

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: var(--hairline);
  border-radius: var(--radius);
  color: var(--ink);
  background: transparent;
  transition: border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}

.nav-toggle:hover { border-color: var(--edge); color: var(--edge); }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 599px) {
  .site-header__cta { display: none; }
}

/* ---- Mobile drawer ------------------------------------------------------ */

html.drawer-open { overflow: hidden; }

.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
}

.drawer__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(20, 24, 27, .38);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
  cursor: default;
}

.drawer.is-open .drawer__scrim { opacity: 1; }

.drawer__panel {
  position: absolute;
  inset-block: 0;
  right: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(420px, 92vw);
  background: var(--pane);
  border-left: var(--hairline);
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease-sash);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer.is-open .drawer__panel { transform: none; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px var(--gutter);
  border-bottom: var(--hairline);
}

.drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: var(--hairline);
  border-radius: var(--radius);
  color: var(--ink);
}

.drawer__close:hover { border-color: var(--edge); color: var(--edge); }

.drawer__nav { flex: 1 1 auto; padding: 8px var(--gutter) 24px; }

.drawer__item { border-bottom: var(--hairline); }

.drawer__trigger,
.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' var(--wdth-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: var(--ls-display);
  color: var(--ink);
  text-align: left;
  text-decoration: none;
}

.drawer__chev { display: inline-flex; transition: transform var(--dur-fast) var(--ease-out); }
.drawer__trigger.is-open .drawer__chev { transform: rotate(180deg); }
.drawer__trigger:hover,
.drawer__link:hover { color: var(--edge); }

.drawer__sub { padding-bottom: 20px; }

.drawer__sub-all {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--edge);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
}

.drawer__sub-title {
  color: var(--ink-60);
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: var(--hairline);
}

.drawer__sub-list { margin-bottom: 20px; }

.drawer__sub-list a {
  display: block;
  padding: 9px 0;
  font-size: var(--fs-small);
  color: var(--ink-60);
  text-decoration: none;
}

.drawer__sub-list a:hover { color: var(--edge); }

.drawer__foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px var(--gutter) 32px;
  border-top: var(--hairline);
  background: var(--mist);
}

.drawer__cta { width: 100%; }

.drawer__contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-60);
  text-decoration: none;
}

.drawer__contact:hover { color: var(--edge); }

/* The utility strip's links, rehoused. They have nowhere else to go once the
   strip is down to a location and a phone number. */
.drawer__util {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: var(--hairline);
}

.drawer__util a { color: var(--ink-60); text-decoration: none; }
.drawer__util a:hover { color: var(--edge); }

/* ---- Breadcrumbs -------------------------------------------------------- */

.breadcrumbs {
  position: relative;
  z-index: var(--z-base);
  border-bottom: var(--hairline);
  background: var(--mist);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 10px;
  padding-block: 14px;
  color: var(--ink-60);
}

.breadcrumbs__item { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumbs__item a { text-decoration: none; }
.breadcrumbs__item [aria-current="page"] { color: var(--ink); }
.breadcrumbs__sep { color: var(--aluminium); }

/* ---- Footer ------------------------------------------------------------- */

.site-footer {
  position: relative;
  z-index: var(--z-base);
  background: var(--footer-bg);
  color: rgba(255, 255, 255, .72);
}

.site-footer__main { padding-block: clamp(48px, 6vw, 80px); }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 40px var(--col-gap);
}

.footer-brand { display: flex; flex-direction: column; gap: 24px; }

.footer-address { font-style: normal; display: flex; flex-direction: column; gap: 10px; }

.footer-address__label { color: var(--ink-60); margin-bottom: 4px; }

.footer-address__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-small);
}

.footer-address__row a { text-decoration: none; }
.footer-address__icon { color: var(--edge); padding-top: 2px; }

.footer-social { display: flex; gap: 10px; }

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: var(--hairline);
  border-radius: var(--radius);
  color: var(--ink-60);
  transition: border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}

.footer-social__link:hover { border-color: var(--edge); color: var(--edge); }

.footer-col__title {
  color: var(--ink-60);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: var(--hairline);
}

.footer-col__links a {
  display: block;
  padding: 6px 0;
  font-size: var(--fs-small);
  color: var(--ink-60);
  text-decoration: none;
}

.footer-col__links a:hover { color: var(--edge); }

.site-footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px var(--col-gap);
  padding-block: 24px;
  border-top: var(--hairline);
  color: var(--ink-60);
}

.footer-legal__links { display: flex; gap: 24px; }
.footer-legal__links a { text-decoration: none; }

@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 599px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Footer on dark -----------------------------------------------------
   Placed AFTER every footer rule on purpose. The base rules above set ink and
   ink-60 text for a light background; several of them are more specific than a
   plain `.site-footer a`, so overriding by specificity alone silently failed —
   "Planning a project?" rendered near-black on near-black. Source order settles
   it. --edge is too dark to read as an accent here, so accents use --edge-tint
   and every hairline becomes a white alpha.                                  */

.site-footer a,
.site-footer .footer-col__links a,
.site-footer .footer-address__row a,
.site-footer .footer-legal__links a { color: rgba(255, 255, 255, .8); }

.site-footer a:hover,
.site-footer .footer-col__links a:hover { color: #fff; }

.site-footer a:focus-visible { outline-color: var(--edge-tint); }

.site-footer .brand,
.site-footer .brand:hover,
.site-footer .brand__name { color: #fff; }

.site-footer .brand__tagline { color: rgba(255, 255, 255, .5); }

.site-footer .brand__mark {
  border-color: rgba(255, 255, 255, .45);
  background: transparent;
}

.site-footer .brand__mark::before { background: var(--edge-tint); }

.site-footer .footer-address__label,
.site-footer .footer-col__title { color: rgba(255, 255, 255, .6); }

.site-footer .footer-col__title { border-bottom-color: rgba(255, 255, 255, .18); }

.site-footer .footer-address__icon { color: var(--edge-tint); }

.site-footer .footer-social__link {
  border-color: rgba(255, 255, 255, .26);
  color: rgba(255, 255, 255, .8);
}

.site-footer .footer-social__link:hover {
  border-color: var(--edge-tint);
  color: var(--edge-tint);
}

.site-footer .site-footer__legal {
  border-top-color: rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .5);
}

.site-footer .site-footer__sep { background: rgba(255, 255, 255, .22); }

/* ---- Floating actions ---------------------------------------------------
   Exactly two: WhatsApp and back-to-top, stacked in the bottom-right corner.
   Kept small and out of the content column — the previous four-item rail sat
   over the right-hand edge of every section.                                */

.float-actions {
  position: fixed;
  right: clamp(16px, 1.8vw, 28px);
  bottom: clamp(16px, 1.8vw, 28px);
  z-index: var(--z-rail);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: var(--hairline);
  border-radius: var(--radius-pill);
  background: var(--pane);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}

.float-btn:hover { transform: translateY(-2px); }

.float-btn--wa {
  background: var(--edge);
  border-color: var(--edge);
  color: var(--pane);
}

.float-btn--wa:hover { background: var(--edge-deep); border-color: var(--edge-deep); color: var(--pane); }
.float-btn--top:hover { border-color: var(--edge); color: var(--edge); }

@media (max-width: 599px) {
  .float-btn { width: 46px; height: 46px; }
}
/* ---- Toasts ------------------------------------------------------------- */

/* Stacked above the two floating buttons so a toast never covers them. */
.toasts {
  position: fixed;
  right: clamp(16px, 1.8vw, 28px);
  bottom: calc(clamp(16px, 1.8vw, 28px) + 128px);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

@media (max-width: 599px) {
  .toasts { left: 16px; right: 16px; width: auto; bottom: 124px; }
}

.toast {
  pointer-events: auto;
  padding: 16px 18px;
  border: var(--hairline);
  border-left: 2px solid var(--edge);
  border-radius: var(--radius);
  background: var(--pane);
  box-shadow: var(--shadow);
  font-size: var(--fs-small);
}

.toast--error { border-left-color: #A8322B; }

.toast__title { display: block; color: var(--ink); font-weight: 500; }

/* Toasts arrive and leave under their own steam; forms.js only adds the class. */
.toast { animation: toast-in 260ms var(--ease-out) both; }
.toast.is-leaving { animation: toast-out 300ms var(--ease-out) both; }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@keyframes toast-out {
  from { opacity: 1; transform: none; }
  to   { opacity: 0; transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .toast,
  .toast.is-leaving { animation: none; }
}

/* ---- Forms -------------------------------------------------------------- */

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.field--wide { grid-column: 1 / -1; }

/* Off-screen rather than display:none — some bots skip anything not rendered,
   and this one needs to look fillable. aria-hidden keeps it off the AT tree. */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field { display: flex; flex-direction: column; gap: 7px; }

.field__label {
  font-size: var(--fs-small);
  color: var(--ink-60);
}

.field__input {
  width: 100%;
  padding: 12px 14px;
  border: var(--hairline);
  border-radius: var(--radius);
  background: var(--pane);
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-body);
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.field__input:hover { border-color: var(--ink-60); }

.field__input:focus {
  outline: none;
  border-color: var(--edge);
  box-shadow: 0 0 0 3px var(--edge-tint);
}

.field__input--area { resize: vertical; min-height: 84px; }

.field__input::placeholder { color: var(--ink-60); opacity: .7; }

/* Empty until forms.js writes into it, so it must not hold a line of space. */
.field__error {
  display: none;
  font-size: var(--fs-small);
  color: #A8322B;
}

.field.has-error .field__error { display: block; }
.field.has-error .field__input { border-color: #A8322B; }
.field.has-error .field__input:focus { box-shadow: 0 0 0 3px rgba(168, 50, 43, .16); }

.form__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 20px;
}

.form__submit[disabled] { opacity: .6; cursor: not-allowed; }

.form__status {
  font-size: var(--fs-small);
  color: var(--ink-60);
}

/* Denser rhythm, same fields. For slots whose height is set by something else
   sitting beside the form — see .centre in sections.css. Lives here because the
   .form block belongs to this file; reaching in from sections.css is what the
   BEM ownership audit exists to catch. */
.form--tight .form__grid { gap: 12px 16px; }
.form--tight .field { gap: 5px; }
.form--tight .field__input { padding: 10px 12px; }
.form--tight .field__input--area { height: 58px; min-height: 58px; }
.form--tight .form__foot { margin-top: 16px; }

@media (max-width: 599px) {
  /* Two per row, not one. Name/phone and email/city are short paired values and
     stacking all four turned the form into a column of near-empty boxes that
     pushed the submit button off the screen. */
  .form__grid { gap: 12px 10px; }
  .field__label { font-size: .75rem; }
  .field__input { padding: 10px 11px; font-size: var(--fs-small); }
  .form__submit { width: 100%; justify-content: center; }
}
