/* ==========================================================================
   Contact page — contact.css
   Nodes: 272:23600 (page), 269:22429 (header), 140:26310 (dist centres),
          140:26311 (contact directly), 269:22099 (FAQ)

   Every number here is read off the node it belongs to, not off a render.
   Where Figma draws a 1px stroke it draws it INSIDE the frame, so a 41px box
   with its text at x=14 becomes `padding: 9px 13px` + a 1px border under
   border-box — 13+1 lands the text on the same pixel Figma puts it.
   ========================================================================== */

/* Two greys the contact header uses that are not in the variable collection:
   the header heading and its supporting line are drawn from the Gray/900 and
   Gray/500 raw styles rather than the Siegel text tokens the rest of the page
   uses. Reproduced as drawn — see the fidelity rule. */
.contact-page {
    --contact-heading-900: #101828;
    --contact-support-500: #667085;
}

/* --------------------------------------------------------------------------
   1. Page-level
   -------------------------------------------------------------------------- */

/* Not in the design — there is no success state drawn — so it uses the palette
   green rather than the off-palette #16a34a it was reaching for. */
.contact-sent-banner {
    background: var(--fig-siegel-green);
    color: var(--fig-siegel-white);
    padding: 16px var(--gutter);
}

.contact-sent-banner__inner {
    max-width: var(--content-w);
    margin-inline: auto;
}

/* Breadcrumbs 279:27782 — the same trail component the PDP uses, and it had no
   rules at all here, so it sat flush left and flush against the header.
   Geometry copied from .pdp-breadcrumb rather than from this node: the file
   draws the contact frame at x=0 where every other page draws it at x=16,
   which would put this one trail 16px left of the rest of the site. Flagged,
   not reproduced.

   The 80px below it is drawn: the breadcrumb row ends at y=176 and the body
   frame starts at y=256. */
.contact-breadcrumb {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: calc(100% - 32px);
    max-width: 1408px;
    height: 20px;
    margin-inline: auto;
    margin-bottom: 80px;
    padding: 0 16px;
}

.contact-breadcrumb__trail {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font: var(--fw-regular) 0.6328125rem/0.759375rem var(--font-body); /* t-body-h5: 10.125/12.15 */
}

.contact-breadcrumb__trail,
.contact-breadcrumb__trail a,
.contact-breadcrumb__sep {
    color: var(--text-link);
    text-decoration: none;
}

.contact-breadcrumb__trail a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   2. Contact header — 269:22429 (1440×945)
      Left Section 269:22430 720×945, py-96, justify-end.
      Right Section 269:22447 720×945, the map, full-bleed to the frame edge.
   -------------------------------------------------------------------------- */

.contact-header {
    display: flex;
    align-items: stretch;
    /* 945, not 858: the frame grew when the Postcode field was added.
       96 top padding + 753 of content + 96 bottom. */
    min-height: 945px;
    background: var(--fig-siegel-white);
}

/* Half the viewport each, not a fixed 720, so the map keeps bleeding to the
   right edge on a wide screen instead of stopping at 1440 and leaving a band
   of white beside it.

   The form is then right-aligned inside its half with 61px to spare, which
   lands its left edge on the site container every time: 61 = the 720 container
   minus its 40 left padding minus the 619 content, so the content sits at
   vw/2 − 680 — and the centred 1360 container's left edge is (vw − 1360)/2,
   the same number. At exactly 1440 that resolves to the drawn x=40, and below
   1440 the 40px padding-left takes over as the gutter and the form shrinks. */
.contact-header__form-section {
    /* border-box, or the 50% basis is measured on the content box and the 101px
       of horizontal padding pushes this column 50px past the halfway line. */
    box-sizing: border-box;
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-block: 96px;
    padding-left: var(--gutter);
    padding-right: 61px;
}

.contact-header__content {
    flex: 0 1 619px;
    box-sizing: border-box;
    max-width: 619px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* 269:22433 — heading 42 + gap 12 + supporting 21 = 75. */
.contact-header__title-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-header__heading {
    margin: 0;
    color: var(--contact-heading-900);
}

.contact-header__subtitle {
    margin: 0;
    color: var(--contact-support-500);
}

.contact-header__map-section {
    flex: 1 1 50%;
    position: relative;
    overflow: hidden;
}

.contact-header__map,
.contact-header__map-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-header__map-placeholder {
    background: var(--fig-neutral-100);
}

/* The hand-built contact form that used to live here is gone. The form is a
   Gravity Form now - template-parts/contact/header.php renders only
   gravity_form(), with no fallback markup - so all seventeen
   .contact-form__* rules were styling elements the site no longer emits.
   Its Figma reference, 269:22436, belongs to section 3a below: the same
   component, drawn in GF markup. */

/* --------------------------------------------------------------------------
   3a. Gravity Forms implementation — Figma 269:22432

   Gravity Forms owns validation, submissions, notifications and entries. The
   rules below map its native accessible markup back onto the exact 619px Figma
   component without disabling the plugin's behaviour or global styles.
   -------------------------------------------------------------------------- */

.contact-gravity-form,
.contact-gravity-form .gform_wrapper,
.contact-gravity-form .gform_anchor,
.contact-gravity-form .gform-body,
.contact-gravity-form .gform_body {
    width: 100%;
}

.contact-gravity-form .gform_wrapper {
    margin: 0;
}

.contact-gravity-form .gform_wrapper form,
.contact-gravity-form .gform_wrapper form.siegel-contact-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    margin: 0;
}

.contact-gravity-form .gform-body,
.contact-gravity-form .gform_body,
.contact-gravity-form .gform_page,
.contact-gravity-form .gform_page_fields {
    margin: 0;
    padding: 0;
}

.contact-gravity-form .gform_fields {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    column-gap: 32px !important;
    row-gap: 24px !important;
    width: 100%;
}

.contact-gravity-form .gfield {
    grid-column: 1 / -1 !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.contact-gravity-form .gfield.siegel-gf-first-name,
.contact-gravity-form .gfield.siegel-gf-last-name {
    grid-column: span 6 !important;
}

.contact-gravity-form .gfield_label,
.contact-gravity-form .gform-field-label:not(.gform-field-label--type-inline) {
    display: block;
    margin: 0 0 6px;
    color: var(--text-heading-primary);
    font: var(--fw-bold) .75rem/1rem var(--font-heading);
    letter-spacing: .6px;
    text-transform: uppercase;
}

.contact-gravity-form .gfield_required,
.contact-gravity-form .gform_required_legend {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.contact-gravity-form .ginput_container {
    margin: 0;
}

.contact-gravity-form input[type="text"],
.contact-gravity-form input[type="email"],
.contact-gravity-form input[type="tel"],
.contact-gravity-form textarea,
.contact-gravity-form select {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 41px !important;
    height: 41px !important;
    margin: 0 !important;
    padding: 9px 13px !important;
    border: 1px solid var(--fig-neutral-100) !important;
    border-radius: var(--r-sm) !important;
    background: var(--fig-siegel-white) !important;
    color: var(--text-heading-primary) !important;
    box-shadow: none !important;
    font: var(--fw-regular) 1rem/1.2625rem var(--font-body) !important;
    transition: border-color var(--dur-fast) linear;
    -webkit-appearance: none;
    appearance: none;
}

.contact-gravity-form input::placeholder,
.contact-gravity-form textarea::placeholder {
    color: var(--text-body-primary);
    opacity: 1;
}

.contact-gravity-form input:focus-visible,
.contact-gravity-form textarea:focus-visible,
.contact-gravity-form select:focus-visible {
    border-color: var(--fig-red-600);
    outline: 2px solid var(--btn-stroke-focused);
    outline-offset: 1px;
}

.contact-gravity-form .siegel-gf-message textarea {
    display: block;
    width: 100% !important;
    height: 138px !important;
    min-height: 138px !important;
    padding: 9px 13px !important;
    resize: vertical;
}

/* A single 41px bordered control containing the custom country selector and
   Gravity Forms' native phone input. The selected dial code is prepended to
   the stored entry by inc/gravity-forms.php. */
.contact-gravity-form .siegel-gf-phone-control {
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
    width: 100%;
    min-height: 41px;
    overflow: hidden;
    border: 1px solid var(--fig-neutral-100);
    border-radius: var(--r-sm);
    background: var(--fig-siegel-white);
}

.contact-gravity-form .siegel-gf-phone-control:focus-within {
    border-color: var(--fig-red-600);
    outline: 2px solid var(--btn-stroke-focused);
    outline-offset: 1px;
}

.contact-gravity-form .siegel-gf-phone-code {
    position: relative;
    flex: 0 0 69px !important;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 69px !important;
    min-width: 69px !important;
}

.contact-gravity-form .siegel-gf-phone-code select {
    width: 69px !important;
    min-height: 39px !important;
    height: 39px !important;
    padding: 9px 32px 9px 13px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--text-heading-primary) !important;
    font: var(--fw-bold) 1rem/1.2625rem var(--font-body) !important;
    cursor: pointer;
}

.contact-gravity-form .siegel-gf-phone-code select:focus-visible {
    border: 0;
    outline: 0;
}

.contact-gravity-form .siegel-gf-phone-code img {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.contact-gravity-form .siegel-gf-phone-control > .ginput_container_phone {
    flex: 1 1 auto;
    min-width: 0;
}

.contact-gravity-form .siegel-gf-phone-control input[type="tel"] {
    width: 100% !important;
    min-height: 39px !important;
    height: 39px !important;
    padding: 9px 13px 9px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
}

.contact-gravity-form .siegel-gf-privacy .gfield_label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
}

.contact-gravity-form .siegel-gf-privacy .gfield_checkbox,
.contact-gravity-form .siegel-gf-privacy .gchoice {
    margin: 0;
    padding: 0;
}

/* .gform_fields is in the selector to win, not for tidiness. Gravity Forms'
   theme framework lays this row out itself - measured on the live page as
   display:grid with grid-template-columns:20px 421px and column-gap:0 - and
   it beat the two-class rule that was here, so the box sat flush against the
   sentence with no space at all. Reported by the client. */
.contact-gravity-form .gform_fields .siegel-gf-privacy .gchoice {
    display: flex;
    align-items: flex-start;
    column-gap: 12px;
    row-gap: 0;
}

/* The tick box is drawn in assets/css/forms.css, with the checkout ones. */

.contact-gravity-form .gform_fields .siegel-gf-privacy .gform-field-label--type-inline {
    flex: 1 1 auto;
    margin: 0;
    color: var(--text-body-primary);
    font: var(--fw-regular) .901rem/1.08125rem var(--font-body);
    cursor: pointer;
}

/* The words are a link now (inc/gravity-forms.php). Red and underlined, the
   same treatment the privacy and terms links get at checkout, so it reads as
   something to click rather than as emphasis. */
.contact-gravity-form .siegel-gf-privacy-link {
    color: var(--fig-siegel-red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-gravity-form .siegel-gf-privacy-link:focus-visible {
    outline: 2px solid var(--btn-stroke-focused);
    outline-offset: 2px;
}

.contact-gravity-form .gform_footer,
.contact-gravity-form .gform-page-footer {
    position: relative;
    display: flex;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.contact-gravity-form .gform_footer input[type="submit"],
.contact-gravity-form .gform_footer button,
.contact-gravity-form .gform_button {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100% !important;
    min-height: 46px !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 13px 14px !important;
    border: 1px solid var(--fig-red-600) !important;
    border-radius: var(--r-sm) !important;
    background: var(--fig-red-600) !important;
    color: var(--fig-siegel-white) !important;
    font: var(--fw-extrabold) .901rem/1.08125rem var(--font-body) !important;
    cursor: pointer;
    transition: background var(--dur-fast) linear, border-color var(--dur-fast) linear;
}

@media (hover: hover) and (pointer: fine) {
    /* The base rule above is all !important (Gravity Forms' own button styles
       need beating), so the hover has to be too or nothing happens - the
       button has never darkened. --btn-primary-hover, the same darkening
       every other button on the site uses. */
    .contact-gravity-form .gform_footer input[type="submit"]:hover,
    .contact-gravity-form .gform_footer button:hover,
    .contact-gravity-form .gform_button:hover {
        border-color: var(--btn-primary-hover) !important;
        background: var(--btn-primary-hover) !important;
    }
}

/* See enquiry.css - GF's own hover turns the button label #515151. */
.contact-gravity-form .gform_footer input[type="submit"]:hover,
.contact-gravity-form .gform_footer input[type="submit"]:focus,
.contact-gravity-form .gform_footer input[type="submit"]:active,
.contact-gravity-form .gform_footer button:hover,
.contact-gravity-form .gform_footer button:focus,
.contact-gravity-form .gform_footer button:active,
.contact-gravity-form .gform_button:hover,
.contact-gravity-form .gform_button:focus,
.contact-gravity-form .gform_button:active {
    color: var(--fig-siegel-white);
}

.contact-gravity-form .gform_ajax_spinner {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0;
}

.contact-gravity-form .gfield_validation_message,
.contact-gravity-form .validation_message {
    margin: 6px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--fig-red-600);
    font: var(--fw-regular) .875rem/1.25rem var(--font-body);
}

.contact-gravity-form .gfield_error input,
.contact-gravity-form .gfield_error textarea,
.contact-gravity-form .gfield_error .siegel-gf-phone-control {
    border-color: var(--fig-red-600);
}

.contact-gravity-form .gform_validation_errors,
.contact-gravity-form .gform_confirmation_message {
    margin: 0 0 24px;
    padding: 16px;
    border: 1px solid var(--fig-neutral-100);
    border-radius: var(--r-sm);
    background: var(--fig-neutral-50);
    color: var(--text-heading-primary);
    box-shadow: none;
    font: var(--fw-regular) 1rem/1.2625rem var(--font-body);
}

.contact-gravity-form .gform_confirmation_message {
    border-color: var(--fig-green-600);
}

.contact-gravity-form__notice {
    margin: 0;
    padding: 16px;
    border: 1px solid var(--fig-red-600);
    color: var(--text-heading-primary);
    font: var(--fw-regular) 1rem/1.2625rem var(--font-body);
}

/* --------------------------------------------------------------------------
   4. Distribution Centres — 140:26310 (1440×475)
      py-96, container px-40, three flex-1 columns, gap-64 → 410.667 each.
   -------------------------------------------------------------------------- */

.contact-dist {
    background: var(--fig-neutral-50);
    padding-block: 96px;
}

.contact-dist__inner {
    max-width: var(--content-w);
    margin-inline: auto;
    padding-inline: var(--gutter);
    box-sizing: content-box;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px;
    align-items: start;
}

.contact-dist__heading-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-dist__heading {
    margin: 0;
    color: var(--text-heading-primary);
}

.contact-dist__subtitle {
    margin: 0;
    color: var(--text-body-primary);
}

/* The intro is two paragraphs of supplied copy, not one line. */
.contact-dist__subtitle p {
    margin: 0 0 16px;
}

.contact-dist__subtitle p:last-child {
    margin-bottom: 0;
}

.contact-dist__city-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-dist__city {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-dist__city-name {
    margin: 0;
    color: var(--text-heading-primary);
}

.contact-dist__city-body {
    margin: 0;
    color: var(--text-body-primary);
}

/* --------------------------------------------------------------------------
   5. Contact Us Directly — 140:26311 (1440×520)
      pt-96 pb-48, gap-32 between the centred header (768) and the card row.
      Row is 1100 wide: two 534 cards + 32. Card radius is 2, not 4.
   -------------------------------------------------------------------------- */

.contact-directly {
    background: var(--fig-siegel-white);
    padding-block: 96px 48px;
}

/* 768 and 1100 are the drawn widths of the content itself, not of a padded
   container — putting a gutter inside them shrinks the cards to 494. Below
   the width where a gutter is needed, min() hands it back. */
.contact-directly__header {
    box-sizing: border-box;
    width: min(768px, 100% - var(--gutter) * 2);
    margin-inline: auto;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.contact-directly__heading {
    margin: 0;
    color: var(--text-heading-primary);
}

.contact-directly__subtitle {
    margin: 0;
    color: var(--text-body-primary);
}

.contact-directly__cards {
    box-sizing: border-box;
    width: min(1100px, 100% - var(--gutter) * 2);
    margin-inline: auto;
    display: flex;
    align-items: stretch;
    gap: 32px;
}

.contact-directly__card {
    box-sizing: border-box;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 64px;
    padding: 24px;
    border-radius: var(--r-sm);
    background: var(--fig-red-100);
}

.contact-directly__card-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: var(--r-sm);
    background: var(--fig-red-600);
    color: var(--fig-siegel-white);
}

.contact-directly__card-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.contact-directly__card-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-directly__card-title {
    margin: 0;
    color: var(--contact-heading-900);
}

.contact-directly__card-subtitle {
    margin: 0;
    color: var(--text-body-primary);
}

.contact-directly__card-contact {
    color: var(--text-heading-primary);
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .contact-directly__card-contact:hover {
        text-decoration: underline;
    }
}

/* --------------------------------------------------------------------------
   6. FAQ — 269:22099 (1440×709)
      Container 1360, justify-between: left 448 + right 720 leaves 192 between
      them. That is a derived gap, not an itemSpacing — space-between owns it.
      Items are borderless with gap-32; icon 24 in a 24-gap column, pt-2.
   -------------------------------------------------------------------------- */

.contact-faq {
    background: var(--fig-siegel-white);
    padding-block: 96px;
}

.contact-faq__inner {
    max-width: var(--content-w);
    margin-inline: auto;
    padding-inline: var(--gutter);
    box-sizing: content-box;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-faq__left {
    flex: 0 0 448px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-faq__heading {
    margin: 0;
    color: var(--text-heading-primary);
}

.contact-faq__subtitle {
    margin: 0;
    color: var(--text-body-primary);
}

.contact-faq__right {
    flex: 0 0 720px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* No rules, no left bar, no padding — the design separates items by space
   alone. Overrides accordion.css, which draws a bordered list. */
.contact-faq__right .accordion__item {
    border: 0;
    padding: 0;
}

.contact-faq__trigger {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    color: var(--text-heading-primary);
    cursor: pointer;
}

.contact-faq__trigger-text {
    flex: 1 1 auto;
    min-width: 0;
}

.contact-faq__trigger:focus-visible {
    outline: 2px solid var(--btn-stroke-focused);
    outline-offset: 4px;
}

/* Icon wrap 1358:191633 — pt-2 nudges the 24px glyph onto the cap line of a
   24px-leading question. */
.contact-faq__trigger-icon {
    flex: 0 0 auto;
    position: relative;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.contact-faq__icon-plus,
.contact-faq__icon-minus {
    position: absolute;
    inset: 0;
    display: block;
    width: 24px;
    height: 24px;
    transition: opacity var(--dur-fast) linear;
}

/* Keyed off the trigger's aria-expanded, not an --open class: accordion.js
   toggles aria-expanded and the panel's data-open and never touches the item's
   class, so keying the swap to .accordion__item--open left every icon frozen
   on its initial state — minus stuck on item 1 after it had closed. */
.contact-faq__icon-minus,
.contact-faq__trigger[aria-expanded="true"] .contact-faq__icon-plus {
    opacity: 0;
}

.contact-faq__trigger[aria-expanded="true"] .contact-faq__icon-minus {
    opacity: 1;
}

.contact-faq__right .accordion__panel {
    display: grid;
    grid-template-rows: 1fr;
    overflow: hidden;
    transition: grid-template-rows var(--dur-base) ease-out;
}

.contact-faq__right .accordion__panel:not([data-open]) {
    grid-template-rows: 0fr;
}

.contact-faq__right .accordion__panel-inner {
    min-height: 0;
    overflow: hidden;
}

/* gap-8 between the question and its answer. This sits on the answer, not on
   .accordion__panel-inner: overflow:hidden clips an element's children, never
   its own padding, so 8px on the clipping box itself would survive the collapse
   and the panel would start every open 8px tall instead of zero. */
.contact-faq__right .contact-faq__answer {
    padding-top: 8px;
}

/* The answer stops short of the icon column, exactly as the question does:
   720 - 24 gap - 24 icon = 672, the same measure the question wraps to. */
.contact-faq__answer {
    padding-right: 48px;
    color: var(--text-body-primary);
}

/* The field is a WYSIWYG, so the answer arrives wrapped in <p>. Its default
   16px margins added 32 to every open item and pushed the whole section 31.6
   past its drawn height — the gap belongs to the panel, not the paragraph. */
.contact-faq__answer > p {
    margin: 0;
}

.contact-faq__answer > p + p {
    margin-top: 20px;
}

/* --------------------------------------------------------------------------
   7. Responsive — 1440 and 393 are drawn; everything between is fluid.
   -------------------------------------------------------------------------- */

@media (max-width: 1439px) {
    .contact-faq__left,
    .contact-faq__right {
        flex: 1 1 0;
        min-width: 0;
    }
    .contact-faq__inner {
        gap: 96px;
    }
}

@media (max-width: 1023px) {
    .contact-header {
        flex-direction: column;
        min-height: 0;
    }
    .contact-header__form-section,
    .contact-header__map-section {
        flex: none;
    }
    .contact-header__form-section {
        justify-content: flex-start;
        padding-block: 64px;
        padding-right: var(--gutter);
    }
    .contact-header__map-section {
        height: 400px;
    }
    .contact-dist,
    .contact-faq {
        padding-block: 64px;
    }
    .contact-directly {
        padding-block: 64px 40px;
    }
    .contact-dist__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    .contact-dist__heading-col {
        grid-column: 1 / -1;
    }
    .contact-faq__inner {
        flex-direction: column;
        gap: 48px;
    }
    .contact-faq__left,
    .contact-faq__right {
        flex: none;
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   Contact Mobile — 269:22224 (394 frame, 393 content)

   Its own drawn frame, not a squeeze of the desktop. Three things change
   wholesale: the gutter is 16 not 40, every section is py-64 with a 48px step
   between its heading container and its content container, and the headings
   move to the mobile type ramp. The name fields stack, and the map is gone.
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {

    /* Breadcrumb 275:23801 — 393×40, padding 12/16, and no 80px drop: the
       header section carries its own py-64 here. */
    .contact-breadcrumb {
        width: 100%;
        max-width: none;
        height: 40px;
        margin-bottom: 0;
        padding: 12px 16px;
    }

    /* Header 272:23297 — py-64, gap-48 between heading and form.
       THERE IS NO MAP on the mobile frame. Hidden rather than shrunk, because
       the design removes it rather than resizing it. Flagged for review: it is
       the only place the office location appears. */
    .contact-header {
        flex-direction: column;
        min-height: 0;
    }

    .contact-header__form-section {
        flex: none;
        display: block;
        padding: 64px 16px;
    }

    .contact-header__content {
        width: auto;
        max-width: none;
        margin-inline: 0;
    }

    .contact-header__map-section {
        display: none;
    }

    .contact-header__title-block {
        gap: 16px;
    }

    /* 36/44 with -0.72px is off the type scale and drawn that way. Used as-is
       rather than pulled toward .t-m-h2. */
    .contact-header__heading {
        font: var(--fw-bold) 2.25rem/2.75rem var(--font-heading);
        letter-spacing: -0.045rem;
    }

    /* Aktiv Grotesk Medium 18/28 — the one place on this page where supporting
       copy is set in the heading family instead of Lato. */
    .contact-header__subtitle {
        font: var(--fw-medium) 1.125rem/1.75rem var(--font-heading);
    }

    .contact-gravity-form .gform_fields {
        grid-template-columns: 1fr !important;
        column-gap: 0 !important;
        row-gap: 24px !important;
    }

    .contact-gravity-form .gfield,
    .contact-gravity-form .gfield.siegel-gf-first-name,
    .contact-gravity-form .gfield.siegel-gf-last-name {
        grid-column: 1 !important;
    }

    /* The country label is Aktiv Grotesk Regular 16/24 here, not Lato Bold
       16/20.2, which is why the phone field is 66 tall on mobile and 63 on
       desktop — the box grows from 41 to 44. */
    .contact-gravity-form .siegel-gf-phone-control {
        min-height: 44px;
    }

    .contact-gravity-form .siegel-gf-phone-code select {
        min-height: 42px !important;
        height: 42px !important;
        font: var(--fw-regular) 1rem/1.5rem var(--font-heading) !important;
    }

    .contact-gravity-form .siegel-gf-phone-control input[type="tel"] {
        min-height: 42px !important;
        height: 42px !important;
    }

    /* Distribution 269:22226 — py-64, gap-48, one column of six, gap-24.
       display:contents dissolves the two desktop columns so all six cities
       become siblings in a single 24px rhythm; the heading's own 24 tops that
       up to the drawn 48. */
    .contact-dist {
        padding-block: 64px;
    }

    .contact-dist__inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-inline: 16px;
    }

    .contact-dist__heading-col {
        gap: 16px;
        margin-bottom: 24px;
    }

    .contact-dist__city-col {
        display: contents;
    }

    .contact-dist__city {
        gap: 4px;
    }

    .contact-dist__heading,
    .contact-faq__heading {
        font: var(--fw-bold) 1.875rem/2.375rem var(--font-heading);
    }

    .contact-dist__city-name {
        font: var(--fw-bold) 1.375rem/1.5rem var(--font-heading);
        letter-spacing: var(--ls-tight);
    }

    /* Contact Us Directly 272:23144 — py-64, gap-48, cards stacked with a 12
       gap (not the desktop 32) and the same 64 inside each card. */
    .contact-directly {
        padding-block: 64px;
    }

    .contact-directly__header {
        width: auto;
        margin-inline: 16px;
        margin-bottom: 48px;
        gap: 16px;
    }

    .contact-directly__heading {
        font: var(--fw-bold) 2rem/2.125rem var(--font-heading);
        letter-spacing: var(--ls-tight);
    }

    .contact-directly__subtitle {
        color: var(--contact-support-500);
    }

    .contact-directly__cards {
        width: auto;
        margin-inline: 16px;
        flex-direction: column;
        gap: 12px;
    }

    /* FAQ 269:21419 — py-64, gap-48, items still gap-32 and the question moves
       to Mobile/H3. The file sets this heading in Inter Semi Bold; that is a
       stray from an untouched UI kit layer, so it takes Aktiv Grotesk Bold at
       the same 30/38 the distribution heading uses. */
    .contact-faq {
        padding-block: 64px;
    }

    .contact-faq__inner {
        padding-inline: 16px;
        gap: 48px;
    }

    .contact-faq__left {
        gap: 16px;
    }

    .contact-faq__trigger-text {
        font: var(--fw-bold) 1.375rem/1.5rem var(--font-heading);
        letter-spacing: var(--ls-tight);
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-faq__icon-plus,
    .contact-faq__icon-minus,
    .contact-faq__right .accordion__panel {
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   Distribution-centre map (140:26093 right half)
   The JS map replaces the single embed iframe; it needs a painted box before
   the API answers or the section collapses while the script is in flight.
   -------------------------------------------------------------------------- */

.contact-header__map.js-contact-map {
    width: 100%;
    height: 100%;
    min-height: 480px;
    background: var(--fig-neutral-100);
}

/* Google injects its own absolutely-positioned chrome; the section is already
   the positioning context, so the map must establish its own. */
.contact-header__map.js-contact-map > div { position: relative; }

.contact-map__info { max-width: 240px; }
.contact-map__info strong {
    display: block;
    margin-bottom: 4px;
    color: #333;
    font: var(--fw-bold) 1rem/1.25rem var(--font-heading);
}
.contact-map__info p {
    margin: 0;
    color: #6b6d6f;
    font: 400 0.8125rem/1.125rem var(--font-body);
}

.contact-header__map-fallback {
    margin: 0;
    padding: 24px;
    list-style: none;
    color: #6b6d6f;
    font: 400 0.875rem/1.25rem var(--font-body);
}
