/* =========================================================
   SHARED: variables, reset, utilities (used by every section)
   ========================================================= */
:root {
    --bfi-green:       #1d6c49; /* hero + CTA box */
    --bfi-green-ring:  #237d4e; /* decorative ring in hero */
    --bfi-dark:        #0e281f; /* stats bar + process section */
    --bfi-dark-card:   #16372c; /* process step cards */
    --bfi-footer:      #091c16; /* footer */
    --bfi-lime:        #c9dd6c; /* accent / buttons / lime card */
    --bfi-offwhite:    #f5f7f1; /* light section background */
    --bfi-white:       #ffffff;
    --bfi-ink:         #0e281f; /* dark text */
    --bfi-muted:       #4d5a54; /* body text on light */
    --bfi-line:        #dfe3da; /* borders on light */
    --bfi-orange:      #e8663d; /* quote mark + accent rule */
    --bfi-container:   1140px;
    --bfi-font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Site-wide font: the theme sets font-family directly on body AND h1–h6,
   so headings never inherit from a wrapper. Override both here. */
body,
h1, h2, h3, h4, h5, h6,
.entry-title a, .widget-title a, p.primary,
button, input, select, textarea {
    font-family: var(--bfi-font);
}

.bfi *, .bfi *::before, .bfi *::after { box-sizing: border-box; }
.bfi { font-family: var(--bfi-font); color: var(--bfi-ink); -webkit-font-smoothing: antialiased; }
.bfi h1, .bfi h2, .bfi h3, .bfi p, .bfi ul { margin: 0; }
.bfi ul { padding: 0; list-style: none; }
:where(.bfi) a { color: inherit; text-decoration: none; } /* :where() = zero specificity so button colors win */

.bfi-container { max-width: var(--bfi-container); margin: 0 auto; padding: 0 24px; }

.bfi-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--bfi-green);
}
.bfi-eyebrow--lime { color: var(--bfi-lime); }
.bfi-eyebrow--rule { display: inline-flex; align-items: center; gap: 12px; }
.bfi-eyebrow--rule::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.bfi-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 13px 20px; border-radius: 3px;
    font-size: 14px; font-weight: 700; line-height: 1;
    transition: transform .15s ease, background-color .15s ease;
}
.bfi-btn:hover { transform: translateY(-1px); }
.bfi-btn--lime    { background: var(--bfi-lime); color: var(--bfi-ink); }
.bfi-btn--outline { border: 1px solid rgba(255,255,255,.55); color: var(--bfi-white) !important; }
.bfi-btn--outline:hover { background: rgba(255,255,255,.08); }
.bfi-btn--dark    { background: var(--bfi-dark); color: var(--bfi-white); }

.bfi-split-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /*gap: 48px; */
    align-items: start;
    /*margin-bottom: 48px;*/
}
.bfi-split-head h2 {
    font-size: clamp(36px, 4.4vw, 56px); font-weight: 700; line-height: 1;
    letter-spacing: -.035em; margin-top: 14px;
}
.bfi-split-head p { font-size: 16px; line-height: 1.6; max-width: 460px; padding-top: 6px; }

@media (max-width: 800px) {
    .bfi-split-head { grid-template-columns: 1fr; gap: 20px; }
}


/* =========================================================
   SECTION 1: HERO (green) + STATS BAR (darker green)
   ========================================================= */
.bfi-hero {
    position: relative; overflow: hidden;
    background: var(--bfi-green); color: var(--bfi-white);
    padding: 120px 0 100px;
}
/* decorative ring, top right */
.bfi-hero::before {
    content: ""; position: absolute; top: -260px; right: -170px;
    width: 640px; height: 640px; border-radius: 50%;
    border: 70px solid var(--bfi-green-ring); pointer-events: none;
}
.bfi-hero__grid {
    position: relative;
    display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center;
}
.bfi-hero h1 {
    font-size: clamp(44px, 6.4vw, 82px); font-weight: 700; line-height: .95;
    letter-spacing: -.045em; margin: 22px 0 32px;
}
.bfi-hero h1 span { color: var(--bfi-lime); }
.bfi-hero__lead { font-size: 17px; line-height: 1.6; max-width: 540px; color: rgba(255,255,255,.92); }
.bfi-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 24px; }
.bfi-hero__checks { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12px; color: rgba(255,255,255,.85); }
.bfi-hero__checks li::before { content: "✓"; color: var(--bfi-lime); margin-right: 6px; font-weight: 700; }

/* checklist card */
.bfi-closeout {
    position: relative; background: #f7f8f4; color: var(--bfi-ink);
    border-radius: 4px; padding: 26px 22px 22px;
    transform: rotate(1deg);
    box-shadow: 14px 14px 0 var(--bfi-dark);
}
.bfi-closeout__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--bfi-line); }
.bfi-closeout__head h3 { font-size: 16px; font-weight: 700; }
.bfi-closeout__head p  { font-size: 12px; color: var(--bfi-muted); margin-top: 4px; }
.bfi-badge {
    font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: var(--bfi-green); background: #e3efe2; border-radius: 99px; padding: 5px 9px; white-space: nowrap;
}
.bfi-closeout__list li {
    display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center;
    padding: 14px 0;
}
.bfi-closeout__num {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--bfi-dark); color: #fff;
    display: grid; place-items: center; font-size: 9px; font-weight: 700;
}
.bfi-closeout__list strong { display: block; font-size: 14px; font-weight: 600; }
.bfi-closeout__list small  { display: block; font-size: 11px; color: var(--bfi-muted); margin-top: 2px; }
.bfi-closeout__check { color: var(--bfi-green); font-weight: 700; }
.bfi-closeout__goal {
    margin-top: 10px; padding: 14px 16px; font-size: 12px; line-height: 1.5;
    background: #eceee8; border-left: 3px solid var(--bfi-orange);
}

/* stats bar */
.bfi-stats { background: var(--bfi-dark); color: var(--bfi-white); padding: 22px 0; }
.bfi-stats__row { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.15fr; align-items: center; } /* last column a bit wider */
.bfi-stats__intro { font-size: 14px; font-weight: 600; padding-right: 24px; }
/* label size lives on .bfi-stat so a bare text node (no <span>) still gets it */
.bfi-stat {
    border-left: 1px solid rgba(255,255,255,.15); padding: 4px 22px;
    font-size: 11px; line-height: 1.5; color: rgba(255,255,255,.7);
}
.bfi-stat strong { display: block; font-size: 22px; font-weight: 700; color: var(--bfi-lime); letter-spacing: -.01em; }
.bfi-stat span   { display: block; font-size: 11px; color: rgba(255,255,255,.7); margin-top: 2px; }

@media (max-width: 900px) {
    .bfi-hero { padding: 80px 0 70px; }
    .bfi-hero__grid { grid-template-columns: 1fr; gap: 56px; }
    .bfi-closeout { max-width: 440px; }
    .bfi-stats__row { grid-template-columns: 1fr 1fr; gap: 18px 0; }
    .bfi-stats__intro { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
    .bfi-stats__row { grid-template-columns: 1fr; }
}


/* =========================================================
   SECTION 2: WHAT BFI HANDLES (off-white)
   ========================================================= */
.bfi-handles { background: var(--bfi-offwhite); padding: 80px 0 72px; }
.bfi-handles .bfi-split-head p { color: var(--bfi-muted); }

.bfi-services {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--bfi-line); background: var(--bfi-offwhite);
}
/* wpautop leaves stray <p>/<br> between the cards; in a grid they become
   extra items on a new row, so the card borders stop short. Hide them. */
.bfi-services > :not(.bfi-service),
.bfi-steps > :not(.bfi-step) { display: none; }
.bfi-service { padding: 26px 20px 24px; border-left: 1px solid var(--bfi-line); display: flex; flex-direction: column; }
.bfi-service:first-child { border-left: 0; }
.bfi-service .bfi-service__tag { margin: 0; line-height: 1.4; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--bfi-green); }
.bfi-service h3 { font-size: 17px; font-weight: 700; letter-spacing: -.02em; margin: 44px 0 12px; }
.bfi-service p  { font-size: 13px; line-height: 1.6; color: var(--bfi-muted); }
.bfi-service__icon { box-sizing: content-box; width: 20px; height: 20px; color: var(--bfi-green); }
/* push the icon to the bottom of every card so all four line up
   (second selector covers the icon when wpautop wraps it in a <p>) */
.bfi-service > .bfi-service__icon,
.bfi-service > p:has(> .bfi-service__icon) { margin-top: auto; padding-top: 18px; }
.bfi-service > p:has(> .bfi-service__icon) { margin-bottom: 0; line-height: 0; }
.bfi-service > p:has(> .bfi-service__icon) .bfi-service__icon { display: block; }
.bfi-service br { display: none; } /* stray <br> wpautop adds after the svg */

@media (max-width: 900px) {
    .bfi-services { grid-template-columns: 1fr 1fr; }
    .bfi-service:nth-child(3) { border-left: 0; }
    .bfi-service:nth-child(n+3) { border-top: 1px solid var(--bfi-line); }
}
@media (max-width: 520px) {
    .bfi-services { grid-template-columns: 1fr; }
    .bfi-service { border-left: 0; }
    .bfi-service:nth-child(n+2) { border-top: 1px solid var(--bfi-line); }
}


/* =========================================================
   SECTION 3: A CONTROLLED EXIT / PROCESS (dark green)
   ========================================================= */
.bfi-process { background: var(--bfi-dark); color: var(--bfi-white); padding: 100px 0 72px; }
.bfi-process .bfi-split-head p { color: rgba(255,255,255,.85); }

.bfi-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bfi-step {
    background: var(--bfi-dark-card); padding: 26px 20px 22px;
    border-top: 2px solid rgba(255,255,255,.06);
    transition: border-color .2s ease;
}
.bfi-step__num {
    font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1;
    color: rgba(255,255,255,.18); transition: color .2s ease;
}
.bfi-step h3 { font-size: 14px; font-weight: 700; margin: 30px 0 10px; }
.bfi-step p  { font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.78); }
/* active / hovered step = lime number + lime top rule */
.bfi-step.is-active, .bfi-step:hover { border-top-color: var(--bfi-lime); }
.bfi-step.is-active .bfi-step__num, .bfi-step:hover .bfi-step__num { color: var(--bfi-lime); }
/* while any step is hovered, the default active step (01) turns off unless it's the one hovered */
.bfi-steps:has(.bfi-step:hover) .bfi-step.is-active:not(:hover) { border-top-color: rgba(255,255,255,.06); }
.bfi-steps:has(.bfi-step:hover) .bfi-step.is-active:not(:hover) .bfi-step__num { color: rgba(255,255,255,.18); }

@media (max-width: 900px) { .bfi-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .bfi-steps { grid-template-columns: 1fr; } }


/* =========================================================
   SECTION 4: LANDFILL AVOIDANCE + QUOTE + CTA (off-white)
   ========================================================= */
.bfi-reuse { background: var(--bfi-offwhite); padding: 72px 0 72px; }
.bfi-reuse__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.bfi-lime-card { background: var(--bfi-lime); border-radius: 4px; padding: 40px 36px 44px; }
.bfi-lime-card h2 {
    font-size: clamp(36px, 4vw, 52px); font-weight: 700; line-height: 1;
    letter-spacing: -.035em; margin: 12px 0 26px;
}
.bfi-lime-card > p { font-size: 14px; line-height: 1.6; margin-bottom: 22px; }
.bfi-lime-card li { border-top: 1px solid rgba(14,40,31,.18); }
.bfi-lime-card li a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0; font-size: 13px; font-weight: 700;
}
.bfi-lime-card li a::after { content: "↗"; font-size: 12px; transition: transform .15s ease; }
.bfi-lime-card li a:hover::after { transform: translate(2px, -2px); }

.bfi-quote__mark { font-size: 64px; line-height: .5; font-weight: 800; color: var(--bfi-orange); display: block; height: 30px; }
.bfi-quote blockquote {
    margin: 30px 0 28px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 500;
    line-height: 1.25; letter-spacing: -.01em; color: var(--bfi-ink);
}
.bfi-quote p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--bfi-muted);
    /*max-width: 380px; */
}

/* CTA box */
.bfi-cta {
    margin-top: 72px; background: var(--bfi-green); color: var(--bfi-white);
    border-radius: 4px; padding: 52px 44px;
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
}
.bfi-cta h2 {
    font-size: clamp(36px, 4.4vw, 56px); font-weight: 700; line-height: 1;
    letter-spacing: -.045em; margin: 10px 0 18px;
}
.bfi-cta__lead { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.92); }
.bfi-cta__card { background: var(--bfi-white); color: var(--bfi-ink); border-radius: 3px; padding: 26px 22px; }
.bfi-cta__card small { display: block; font-size: 12px; color: var(--bfi-muted); }
.bfi-cta__phone { display: block; font-size: 32px; font-weight: 700; letter-spacing: -.01em; margin: 10px 0 16px; }
.bfi-cta__card p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--bfi-muted);
    margin-top: 25px;
}

@media (max-width: 900px) {
    .bfi-reuse__grid, .bfi-cta { grid-template-columns: 1fr; }
    .bfi-cta { padding: 40px 24px; gap: 32px; }
}


/* =========================================================
   SECTION 5: FOOTER (darkest green)
   ========================================================= */
.bfi-footer { background: var(--bfi-footer); color: var(--bfi-white); padding: 38px 0; }
.bfi-footer__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.bfi-footer strong { font-size: 16px; font-weight: 700; }
.bfi-footer p {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255,255,255,.55);
    max-width: 300px;
    margin: 6px 0 0;
}
.bfi-footer nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
}

.bfi-footer nav a {
   color: var(--bfi-white) !important;
}
.bfi-footer nav a:hover { color: var(--bfi-lime) !important; } /* needs !important to beat the base rule's !important */
#cta,
footer.site-footer {
    display: none !important;
}

body,
header.site-header{
    background: var(--bfi-offwhite);
}
header.site-header {
    box-shadow: unset !important;
}
main#genesis-content > div:first-of-type {
    display: none;
}
.site-inner .row:not(.title-row):not(.main-content):not(.style-light):not(.style-dark):not(.page-title):before {
    border-top: unset !important;
}
.site-inner {
    margin-top: 0px !important;
}
.row {
    width: 100%;
    padding: 90px 0% !important;
    position: relative;
}
.row-inner {
    max-width: unset !important;
}
#top-bar.row {
    padding: 0px !important;
}

.bfi-topbar {
    position: sticky; top: 0; z-index: 1000;
    background: var(--bfi-dark); color: rgba(255,255,255,.85);
}
.bfi-topbar__row {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    min-height: 34px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.bfi-topbar__phone { color: var(--bfi-lime); }
.bfi-topbar__phone:hover { text-decoration: underline; }
@media (max-width: 520px) {
    .bfi-topbar__row { justify-content: center; }
    .bfi-topbar__loc { display: none; }
}
nav.nav-primary .menu li.nav-cta>a {
    background: var(--bfi-dark) !important;
}

header.site-header {
    padding: 0 max(24px, calc((100% - 1140px) / 2 + 24px));
}
.white-heading {
    color: var(--bfi-white) !important;
}
.yellow-heading {
    color: var(--bfi-lime) !important;
}
.bfi-closeout__head h3,
.bfi-closeout__head p {
    margin-bottom: 5px;
}
ol.bfi-closeout__list > li {
    margin-bottom: 3px;
    padding: 5px 0px;
}
.bfi-container.bfi-stats__row p.bfi-stats__intro {
    padding-bottom: 0px;
    margin-bottom: 0px;
}
.row:has(.bfi-hero),
.row:has(.f-text){
    padding-bottom: 20px !important;
    padding-top: 20px !important;
}
.bfi-service p {
    margin-bottom: 3px;
}
.bfi-steps h3 {
    color: var(--bfi-white) !important;
}
.bfi-quote blockquote p {
    font-size: 35px;
    font-style: normal;
    font-weight: bold;
}
.bfi-lime-card > ul > li {
    list-style: none;
}
.bfi-lime-card > ul {
    padding-left: 0px;
}
#contact p.bfi-eyebrow.bfi-eyebrow--lime.bfi-eyebrow--rule {
    margin-bottom: 0px;
}
.bfi-cta__card p.small-talk {
    font-size: 12px;
    color: var(--bfi-green-ring);
    margin-top: 0px;
    margin-bottom: 0px;
}
a.bfi-cta__phone,
p.phone-links {
    margin: 12px 0 12px;
}
.light-green-text {
    color: var(--bfi-green-ring) !important;
}
a.bfi-btn.bfi-btn--dark:hover,
.nav-primary .menu li.nav-cta>a:hover {
    color: var(--bfi-lime) !important;
}
.genesis-nav-menu a:hover {
    color: var(--bfi-green-ring) !important;
}
a.bfi-topbar__phone:hover {
    color: var(--bfi-orange) !important;
}
@media only screen and (max-width: 959px) {
    header.site-header {
        margin-top: 34px !important;
    }
}


/* =========================================================
   CONTACT FORM ROW (Gravity Form in the ACF "form" layout)
   ========================================================= */
.row.form {
    background: var(--bfi-offwhite);
    padding: 20px 0 80px !important;
}
.row.form .row-inner {
    box-sizing: border-box;
    max-width: var(--bfi-container) !important;
    margin: 0 auto;
    padding: 0 24px;
}
/* dark green card (like the process section), same width as the green CTA box above it */
.row.form .form-wrap {
    box-sizing: border-box;
    max-width: none;
    margin: 0;
    background: var(--bfi-dark);
    color: var(--bfi-white);
    border-radius: 4px;
    padding: 48px 44px;
    color-scheme: dark; /* light native select arrow + dropdown list */
}

.row.form .gform_wrapper .gform_fields { row-gap: 22px; }

/* #contact anchor (added in client-functions.php): the form card lands with its
   top edge 40px below the fixed top bar + header */
.bfi-anchor {
    display: block;
    position: relative;
    top: -48px;                 /* undo the card's 48px top padding: anchor = top edge of the card */
    /* --bfi-fixed-top = real height of the fixed bars, measured by client-scripts.js
       (it changes with screen width); 150px is the fallback. Change 40px to move the card. */
    scroll-margin-top: calc(var(--bfi-fixed-top, 150px) + 40px);
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* "Your Information" / "Company Information" = eyebrow label with a rule */
.row.form .form-banner {
    display: flex; align-items: center; gap: 12px;
    margin: 0;
    font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--bfi-lime);
}
.row.form .form-banner::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.row.form .form-banner::after  { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.12); }
.row.form .gfield_html + .gfield ~ .gfield_html { margin-top: 18px; } /* space before the 2nd banner */

/* labels */
.row.form .gform_wrapper .gfield_label {
    margin: 0 0 8px;
    font-size: 14px; font-weight: 700;
    color: var(--bfi-white);
}
.row.form .gform_wrapper .gfield_required_text {
    margin-left: 4px;
    font-size: 11px; font-weight: 600; font-style: normal;
    color: var(--bfi-orange);
}
.row.form .gform_wrapper .gform-field-label--type-sub {
    padding-top: 6px;
    font-size: 12px;
    color: rgba(255,255,255,.6);
}

/* inputs */
.row.form .gform_wrapper input[type="text"],
.row.form .gform_wrapper input[type="tel"],
.row.form .gform_wrapper input[type="email"],
.row.form .gform_wrapper select,
.row.form .gform_wrapper textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    font-family: var(--bfi-font);
    font-size: 15px;
    color: var(--bfi-white);
    background: var(--bfi-dark-card);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 3px;
    box-shadow: none;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.row.form .gform_wrapper textarea { height: 160px; min-height: 160px; resize: vertical; }
.row.form .gform_wrapper ::placeholder { color: rgba(255,255,255,.4); }
.row.form .gform_wrapper input:focus,
.row.form .gform_wrapper select:focus,
.row.form .gform_wrapper textarea:focus {
    outline: none;
    background: #1b4135;
    border-color: var(--bfi-lime);
    box-shadow: 0 0 0 3px rgba(201,221,108,.18);
}
.row.form .gform_wrapper select option { background: var(--bfi-dark-card); color: var(--bfi-white); }

/* address block: Gravity uses a negative left margin for its gutters, which pushes
   it 10px past the other fields; line it up and use a gap instead */
.row.form .gform_wrapper .ginput_container_address {
    width: 100%; margin: 0 0 -8px !important;
    column-gap: 20px; /* same gutter as First/Last name */
}
.row.form .gform_wrapper .ginput_container_address > .gform-grid-col { padding: 0; }
.row.form .gform_wrapper .ginput_container_address > .ginput_full { flex: 0 0 100%; }
.row.form .gform_wrapper .ginput_container_address > .ginput_left,
.row.form .gform_wrapper .ginput_container_address > .ginput_right { flex: 0 0 calc(50% - 10px); }

/* submit = lime button from the hero */
.row.form .gform_wrapper .gform_footer { margin: 28px 0 0; padding: 0; }
.row.form .gform_wrapper .gform_button {
    display: inline-flex; align-items: center;
    margin: 0;
    padding: 15px 28px;
    font-family: var(--bfi-font);
    font-size: 15px; font-weight: 700; line-height: 1;
    color: var(--bfi-ink);
    background: var(--bfi-lime);
    border: 0;
    border-radius: 3px;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease;
}
.row.form .gform_wrapper .gform_button:hover {
    transform: translateY(-1px);
    background: #bdd25e;
}

/* validation */
.row.form .gform_wrapper .gfield_error input,
.row.form .gform_wrapper .gfield_error select,
.row.form .gform_wrapper .gfield_error textarea { border-color: var(--bfi-orange); }
.row.form .gform_wrapper .validation_message { font-size: 12px; color: var(--bfi-orange); }

@media (max-width: 640px) {
    .row.form { padding: 12px 0 56px !important; }
    .row.form .form-wrap { padding: 28px 20px; }
    .row.form .gform_wrapper .gfield--width-half { grid-column: span 12; } /* stack phone + email */
}