/* ==========================================================================
   WALL GRAIN — GrainX Command Landing Page
   Scoped under #wallgrain. Hyphenated class names, no BEM.
   Palette sourced from Wall Grain brand color sheet (COLORS.png).
   ========================================================================== */

#wallgrain {
  /* ---- Palette: Yellow ------------------------------------------------ */
  --wg-yellow-light: #fcf8e6;
  --wg-yellow: #deb405;
  --wg-yellow-hover: #c8a205;
  --wg-yellow-active: #b29004;
  --wg-yellow-dark: #a78704;

  /* ---- Palette: Orange (primary brand orange) -------------------------- */
  --wg-orange-light: #fdf1e6;
  --wg-orange: #ee7008;
  --wg-orange-hover: #d66507;
  --wg-orange-active: #be5a06;
  --wg-orange-dark: #b35406;
  --wg-orange-darker: #532703;

  /* ---- Palette: Red ------------------------------------------------- */
  --wg-red-light: #fde6e7;
  --wg-red: #ed0012;
  --wg-red-hover: #d50010;
  --wg-red-active: #be000e;
  --wg-red-dark: #b2000e;

  /* ---- Palette: Brown ------------------------------------------------- */
  --wg-brown-light: #f4e9e6;
  --wg-brown: #8d2607;
  --wg-brown-dark: #6a1d05;
  --wg-brown-darker: #310d02;

  /* ---- Neutrals -------------------------------------------------------- */
  --wg-black: #1a1a1a;
  --wg-charcoal: #2b2b2b;
  --wg-gray-dark: #3f3f3f;
  --wg-gray: #6f6f6f;
  --wg-gray-light: #d9d9d9;
  --wg-gray-lighter: #f2f2f2;
  --wg-white: #ffffff;

  /* ---- Palette: Buttons -------------------------------------------------- */
  --wg-btn-primary-grad-from: #ffd12a;
  --wg-btn-primary-grad-to: #deb405;
  --wg-btn-primary-text: #b35406;
  --wg-btn-primary-hover-shadow: rgba(26, 26, 26, 0.25);

  /* ---- Palette: Forms (Gravity Forms — GrainX Command contact form) ---- */
  --wg-form-label-bg: #fff1bd; /* yellow label bar background */
  --wg-form-label-text: #000000; /* label bar text color */
  --wg-form-field-border: #bbbbbb; /* top border on each input/select/textarea */
  --wg-form-divider: #dddddd; /* grid divider lines + outer form border */
  --wg-form-placeholder: #757575; /* input/textarea placeholder text */
  --wg-form-input-text: #112337; /* input/select/textarea value text */

  /* ---- Gradients (available for reuse in section CSS) ------------------ */
  --wg-gradient-hero: linear-gradient(
    135deg,
    var(--wg-yellow) 0%,
    var(--wg-orange) 55%,
    var(--wg-orange-dark) 100%
  );
  --wg-gradient-cta: linear-gradient(
    100deg,
    var(--wg-yellow) 0%,
    var(--wg-orange) 100%
  );

  /* ---- Type -------------------------------------------------------- */
  --wg-font-display: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --wg-font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* ---- Layout -------------------------------------------------------- */
  --wg-container-width: 1200px;
  --wg-section-spacing: 96px;
  --wg-radius-sm: 4px;
  --wg-radius-md: 8px;
  --wg-form-label-height: 48px; /* keeps paired form labels the same height */

  font-family: var(--wg-font-body);
  color: var(--wg-charcoal);
  background: var(--wg-white);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

#wallgrain {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

#wallgrain * {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  position: relative;
}



#wallgrain h1,
#wallgrain h2,
#wallgrain h3,
#wallgrain h4,
#wallgrain h5,
#wallgrain p,
#wallgrain ul,
#wallgrain figure,
#wallgrain blockquote {
  margin: 0;
}

#wallgrain h1,
#wallgrain h2,
#wallgrain h3,
#wallgrain h4,
#wallgrain h5,
#wallgrain h6 {
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 300;
  text-transform: uppercase;
}

#wallgrain h1 {
  font-size: 61px;
  font-weight: 900;
  line-height: 56.73px; /* 93% */
  letter-spacing: -3.05px;
}

#wallgrain h2 {
  color: #000;
  font-size: 39px;
  font-weight: 300;
  line-height: 41.73px; /* 107% */
  letter-spacing: -2.73px;
  text-transform: uppercase;
}

#wallgrain p {
  margin-bottom: 20px;
  color: #000;
}

#wallgrain p:only-child,
#wallgrain p:last-child {
  margin-bottom: 0;
}

#wallgrain img {
  max-width: 100%;
  display: block;
  width: 100%;
	height:auto;
}

#wallgrain a {
  color: inherit;
  text-decoration: none;
}

#wallgrain ul {
  padding: 0;
}

#wallgrain ul li {
  margin-bottom: 10px;
}

#wallgrain ul li:last-child {
  margin-bottom: 0;
}

#wallgrain .container {
  width: 100%;
  max-width: var(--wg-container-width);
  margin-inline: auto;
  padding-inline: 24px;
}

#wallgrain .wg-container-full {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

#wallgrain .wg-section {
  padding-block: var(--wg-section-spacing);
}

#wallgrain p,
#wallgrain li {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.24px; /* 139% */
  letter-spacing: -0.96px;
}

#wallgrain .wg-section-dark {
  background-color: var(--wg-black);
  color: var(--wg-white);
}

#wallgrain .wg-title-on-dark {
  color: var(--wg-white);
}

#wallgrain .wg-text-on-dark {
  color: var(--wg-gray-light);
}

#wallgrain .wg-section-intro {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--wg-gray);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

#wallgrain .wg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 25px;
  font-family: var(--wg-font-body);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.2px;
  border-radius: 4px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  min-width: 200px;
  line-height: 140%;
}

#wallgrain .wg-btn-primary {
  background: linear-gradient(180deg, var(--wg-btn-primary-grad-from) 0%, var(--wg-btn-primary-grad-to) 100%);
  color: var(--wg-btn-primary-text);
}

#wallgrain .wg-btn-primary:hover,
#wallgrain .wg-btn-primary:focus-visible {
    background: linear-gradient(
        180deg,
        var(--wg-gray-dark) 0%,
        var(--wg-black) 100%
    );
    color: var(--wg-white);
    box-shadow: 0 8px 20px var(--wg-btn-primary-hover-shadow);
}

#wallgrain .wg-btn-primary:active {
    background: linear-gradient(
        180deg,
        var(--wg-charcoal) 0%,
        var(--wg-black) 100%
    );
    transform: translateY(0);
    box-shadow: none;
}

#wallgrain .wg-btn-outline {
  background-color: transparent;
  border-color: var(--wg-white);
  color: var(--wg-white);
}

#wallgrain .wg-btn-outline:hover {
  background-color: var(--wg-white);
  color: var(--wg-black);
}

#wallgrain .wg-btn-small {
  padding: 10px 18px;
  font-size: 13px;
}

#wallgrain .wg-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Header
   ========================================================================== */

#wallgrain .wg-header {
  position: relative;
  z-index: 20;
  background: #231f20;
  padding: 20px 50px;
}

#wallgrain .wg-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#wallgrain .wg-header .container {
  padding: 0;
}

#wallgrain .wg-logo-wrapper img,
#wallgrain .wg-logo-wrapper svg {
  height: auto;
  max-height: 40px;
  width: auto;
}

#wallgrain .wg-header-nav-cta {
  flex-shrink: 0;
}

#wallgrain .wg-header-nav-cta .wg-btn {
  min-width: 0;
  padding: 10px 22px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

#wallgrain .wg-section-faq {
  overflow: hidden;
  background-color: var(--wg-white);
}

#wallgrain .wg-faq-list {
  border-top: 1px solid #000;
}

#wallgrain .wg-faq-item {
  border-bottom: 1px solid #000;
}

#wallgrain .wg-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  color: #000;
  font-family: Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 22.4px; /* 112% */
  letter-spacing: -1.4px;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}

#wallgrain .wg-faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

#wallgrain .wg-faq-icon::before,
#wallgrain .wg-faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #000000;
  transform: translate(-50%, -50%);
}

#wallgrain .wg-faq-icon::before {
  width: 14px;
  height: 2px;
}

#wallgrain .wg-faq-icon::after {
  width: 2px;
  height: 14px;
  transition: transform 0.2s ease;
}

#wallgrain .wg-faq-item-open .wg-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

#wallgrain .wg-faq-answer {
  display: none;
  text-align: left;
  padding-bottom: 20px;
}

#wallgrain .wg-faq-answer p {
  color: #000;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.24px; /* 139% */
  letter-spacing: -0.96px;
}

#wallgrain .wg-faq-item-open .wg-faq-answer {
  display: block;
}

/* ==========================================================================
   Hero
   ========================================================================== */

#wallgrain .wg-section-hero {
  background:
    linear-gradient(
      180deg,
      rgba(255, 209, 42, 0.88) 0%,
      rgba(238, 112, 8, 0.88) 50%,
      rgba(141, 38, 7, 0.88) 100%
    ),
    center center / cover no-repeat;
  color: var(--wg-white);
  text-align: center;
  padding-block: 150px 100px;
}

#wallgrain .wg-section-hero ul {
  list-style: none;
  margin-top: 24px;
}

#wallgrain .wg-section-hero .wg-hero-subtitle {
  max-width: 670px;
  margin: 0 auto;
  margin-top: 55px;
}

#wallgrain .wg-hero-actions {
  justify-content: center;
  margin: 45px 0 90px;
}

#wallgrain .wg-hero-brand-row {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

#wallgrain .wg-hero-brand-row .wg-hero-brand-divider {
  width: 1px;
  background: #fff;
  align-self: stretch;
  flex-shrink: 0;
}

#wallgrain .wg-hero-brand-logo img,
#wallgrain .wg-hero-brand-logo svg,
#wallgrain .wg-hero-brand-badge img {
  width: 100%;
  max-width: 300px;
  height: auto;
 max-height:80px
}

/* ==========================================================================
   Why / Integrated — shared two-column layout
   ========================================================================== */

#wallgrain .wg-section-why {
  background: linear-gradient(180deg, #f3f2f0 0%, #b1b1ad 100%);
  padding: 0;
}

#wallgrain .wg-section-integrated {
  padding: 0;
  background: linear-gradient(180deg, #f3f2f0 0%, #b1b1ad 100%);
}

#wallgrain .wg-why-media,
#wallgrain .wg-integrated-media {
  position: relative;
  overflow: hidden;
}

#wallgrain .overlay-gradient {
  background: linear-gradient(180deg, #ffd12a 0%, #ee7008 50%, #8d2607 100%);
  mix-blend-mode: hard-light;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9;
}

#wallgrain .two-col {
  display: flex;
  gap: 50px;
  align-items: center;
}

#wallgrain .two-col .wg-col {
  width: 50%;
}

#wallgrain .wg-section-why .col1 {
  background: #fff;
  box-shadow: 28.291px 38.276px 46.929px 6.657px rgba(0, 0, 0, 0.09);
}

#wallgrain .wg-section-why .col2 {
  max-width: 516px;
  margin: 0 auto;
  width: 100%;
	padding:50px 0;
	padding-right:50px;
}

#wallgrain .wg-why-media img , #wallgrain  .wg-integrated-media  img { min-height:600px; object-fit:cover }

#wallgrain .wg-section-why .wg-section-title {
  margin-bottom: 17px;
}

#wallgrain .wg-section-why .wg-btn-primary {
  margin-top: 20px;
}

#wallgrain .wg-section-integrated .col2 {
box-shadow: 28.291px 38.276px 46.929px 6.657px rgba(0, 0, 0, 0.09);
}

#wallgrain .wg-section-integrated .col1 {
  max-width: 516px;
  margin: 0 auto;
  width: 100%;
	padding:50px 0; 
 padding-left:50px;
}

#wallgrain .wg-section-integrated .wg-section-title {
  margin-bottom: 30px;
}

#wallgrain .wg-section-integrated .wg-btn-primary {
  margin-top: 20px;
}

/* ==========================================================================
   How GrainX Command works
   ========================================================================== */

#wallgrain .wg-section-how {
  background:
    linear-gradient(
      180deg,
      rgba(70, 70, 68, 0.73) 0%,
      rgba(36, 36, 36, 0.73) 100%
    ),
    center center / cover no-repeat;
}

#wallgrain p.light {
  color: #fff;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.24px; /* 139% */
  letter-spacing: -0.96px;
}

#wallgrain .light , #wallgrain .light p {
  color: #fff;
}

#wallgrain .wg-how-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

#wallgrain .wg-how-table th,
#wallgrain .wg-how-table td {
  border: 1px solid #000;
}

#wallgrain .wg-how-table th {
  padding: 25px 20px;
  background: #fff1bd;
  color: #000;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 22.24px;
  text-transform: uppercase;
  vertical-align: middle;
}

#wallgrain .wg-how-table td {
  padding: 15px 25px;
  background: rgba(255, 255, 255, 0.8);
  color: #000;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  vertical-align: top;
  text-align: left;
}

#wallgrain .small-container {
  text-align: center;
  margin-inline: auto;
  max-width: 950px;
}

#wallgrain .medium-container {
  max-width: 1100px;
}

#wallgrain .wg-results-in-bin {
  margin-top: 40px;
  text-align: left;
}

#wallgrain .wg-results-in-bin .wg-results-in-bin-title {
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 22.24px; /* 139% */
  letter-spacing: -0.96px;
}

#wallgrain .wg-results-in-bin .wg-results-in-bin-list {
  column-count: 3;
  column-gap: 40px;
  margin-bottom: 50px;
}

#wallgrain .wg-results-in-bin .wg-results-in-bin-list li {
  margin-left: 15px;
  margin-bottom: 10px;
  break-inside: avoid;
}

#wallgrain .wg-section-how .wg-btn-group {
  justify-content: center;
}

/* ==========================================================================
   Basic monitoring vs autonomous conditioning
   ========================================================================== */

#wallgrain .wg-section-basic-monitor {
  position: relative;
  overflow: hidden;
  background: #fff;
}

#wallgrain .white-overlay {
  position: absolute;
  inset: 0;
  background: bottom -300px center / cover no-repeat;
  opacity: 0.17;
  z-index: 0;
  pointer-events: none;
}

#wallgrain .wg-section-basic-monitor .container,
#wallgrain .wg-section-faq .container {
  position: relative;
  z-index: 1;
}

#wallgrain .wg-section-basic-monitor p {
  color: #000;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.24px; /* 139% */
  letter-spacing: -0.96px;
}

#wallgrain .wg-comparison-table {
  position: relative;
  z-index: 1;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

#wallgrain .wg-comparison-table th,
#wallgrain .wg-comparison-table td {
  border: 1px solid #999;
  padding: 22px 20px;
  text-align: left;
  vertical-align: middle;
}

#wallgrain .wg-comparison-table th {
  background: #fff1bd;
  color: #000;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 22.24px; /* 139% */
  text-transform: uppercase;
}

#wallgrain .wg-comparison-table td {
  padding: 15px 25px;
  color: #000;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.24px; /* 139% */
  letter-spacing: -0.96px;
}

#wallgrain .wg-section-basic-monitor .wg-comparison-actions {
  margin-top: 50px;
}

/* ==========================================================================
   Proven results / reviews
   ========================================================================== */

#wallgrain .wg-section-reviews {
  background:
    linear-gradient(
      180deg,
      rgba(70, 70, 68, 0.73) 0%,
      rgba(36, 36, 36, 0.73) 100%
    ),
    center center / cover no-repeat;
}

#wallgrain .wg-section-reviews .wg-reviews-container {
  text-align: center;
}

#wallgrain .wg-section-reviews .wg-reviews-container p {
  color: #fff;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.24px; /* 139% */
  letter-spacing: -0.96px;
}

#wallgrain .wg-review-slider {
  overflow: hidden;
  margin-top: 20px;
}

#wallgrain .wg-review-track {
  display: flex;
  transition: transform 0.35s ease;
}

#wallgrain .wg-section-reviews .wg-review-card {
  display: flex;
  align-items: stretch;
  flex: 0 0 100%;
  min-width: 0;
  border: 1px solid #999;
  background: rgba(255, 255, 255, 0.8);
}

#wallgrain .wg-review-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

#wallgrain .wg-review-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--wg-yellow);
  border-radius: 50%;
  background: transparent;
  color: var(--wg-yellow);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

#wallgrain .wg-review-arrow:hover {
  background-color: var(--wg-yellow);
  color: var(--wg-black);
}

#wallgrain .wg-review-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

#wallgrain .wg-review-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--wg-yellow);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

#wallgrain .wg-review-dot-active {
  background: var(--wg-yellow);
}

#wallgrain .wg-section-reviews .wg-review-label {
  flex: 0 0 90px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  border-right: 1px solid #bbb;

  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.96px;
  text-align: center;
  white-space: nowrap;
}

#wallgrain .wg-section-reviews .wg-review-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#wallgrain .wg-section-reviews .wg-review-quote {
  margin: 0;
  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.24px;
  letter-spacing: -0.96px;
  text-align: left;
}

#wallgrain .wg-section-reviews .wg-review-author {
  display: block;
  margin-top: 20px;

  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 22.24px;
  letter-spacing: -0.96px;
  text-align: right;
  font-style: normal;
}

/* ==========================================================================
   Start form / final CTA
   ========================================================================== */

#wallgrain .wg-section-form {
  background: linear-gradient(180deg, #f3f2f0 0%, #b1b1ad 100%);
  box-shadow: 0 7px 5.8px 0 rgba(0, 0, 0, 0.43);
}

#wallgrain .wg-section-form .wg-section-header {
  text-align: center;
}

#wallgrain .wg-section-form p {
  color: #000;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.24px; /* 139% */
  letter-spacing: -0.96px;
}

#wallgrain .wg-section-form .button-wrapper {
  margin-top: 40px;
}

#wallgrain .wg-section-header {
  margin-bottom: 40px;
}

#wallgrain .wg-section-form .form-wrapper .gform_wrapper {
  text-align: left;
}

/* ==========================================================================
   Gravity Forms — "Start Your GrainX Command Setup" contact form
   Scoped under #wallgrain .form-wrapper, the wrapper the theme already
   renders around the form. Layout-critical rules use !important to
   guarantee they win over Gravity Forms' own "Orbital" theme CSS, which
   ships its own flexbox-based .gform_fields / .gfield layout.
   ========================================================================== */

#wallgrain .form-wrapper .gform_wrapper {
  width: 100%;
}

#wallgrain .form-wrapper .gform_heading,
#wallgrain .form-wrapper .gfield_required,
#wallgrain .form-wrapper .gform_validation_errors {
  display: none;
}

#wallgrain .form-wrapper .gform_body {
  border: 1px solid var(--wg-form-divider);
  background: var(--wg-white);
}

/* Force a strict 2-column grid regardless of Gravity Forms' own theme CSS */
#wallgrain .form-wrapper .gform_fields {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-auto-rows: auto;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
}

#wallgrain .form-wrapper .gfield {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--wg-form-divider);
  grid-column: auto;
}

/* Full-width fields (the textarea, or anything explicitly full width) span
   both columns */
#wallgrain .form-wrapper .gfield--width-full,
#wallgrain .form-wrapper .gfield--type-textarea {
  grid-column: 1 / -1 !important;
}

/* Vertical divider between the two columns */
#wallgrain .form-wrapper .gfield--width-half:nth-child(odd) {
  border-right: 1px solid var(--wg-form-divider);
}

#wallgrain .form-wrapper .gform_fields > .gfield:last-child {
  border-bottom: none;
}

/* Collapse any empty description/validation spacer elements Gravity Forms
   reserves room for even when there's no content, so rows don't grow an
   extra gap under the input */
#wallgrain .form-wrapper .gfield_description:empty,
#wallgrain .form-wrapper .gfield_validation_message:empty,
#wallgrain .form-wrapper .instruction:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ---- Label — fixed height so paired fields in the same row always
   match, regardless of how much label/required text each one has ---- */

#wallgrain .form-wrapper .gfield_label,
#wallgrain .form-wrapper .gform-field-label {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  align-self: stretch;
  width: 100%;
  min-height: var(--wg-form-label-height);
  padding: 9.5px 21px 7.89px 21px;
  background: var(--wg-form-label-bg);
  margin: 0 !important;

  color: var(--wg-form-label-text);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

#wallgrain .form-wrapper .gfield_required_custom {
  display: block;
  color: var(--wg-form-placeholder);
  font-weight: 400;
  text-transform: none;
  font-size: 12px;
  letter-spacing: 0;
  margin-top: 2px;
}

/* ---- Field (input / select / textarea) ---- */

#wallgrain .form-wrapper .ginput_container {
  width: 100%;
  margin: 0 !important;
}

#wallgrain .form-wrapper .ginput_container input[type="text"],
#wallgrain .form-wrapper .ginput_container input[type="email"],
#wallgrain .form-wrapper .ginput_container input[type="tel"],
#wallgrain .form-wrapper .ginput_container input[type="number"],
#wallgrain .form-wrapper .ginput_container input[type="url"],
#wallgrain .form-wrapper .ginput_container select,
#wallgrain .form-wrapper .ginput_container textarea {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  align-self: stretch;
  width: 100%;
  height: 52px;
  padding: 15.5px 21px;
  border: none;
  border-top: 1px solid var(--wg-form-field-border);
  border-radius: 0;
  background: var(--wg-white);
  box-shadow: none;
  outline: none;
  margin: 0;

  color: var(--wg-form-input-text);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.96px;
}

#wallgrain .form-wrapper .ginput_container textarea {
  display: block;
  height: 100%;
  max-height: 120px;
  resize: vertical;
  line-height: 1.5;
  padding-top: 15.5px;
}

/* Placeholder styling */
#wallgrain .form-wrapper .ginput_container input::placeholder,
#wallgrain .form-wrapper .ginput_container textarea::placeholder {
  color: var(--wg-form-placeholder);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.96px;
  opacity: 1;
}

#wallgrain .form-wrapper .ginput_container input:-ms-input-placeholder,
#wallgrain .form-wrapper .ginput_container textarea:-ms-input-placeholder {
  color: var(--wg-form-placeholder);
}

#wallgrain .form-wrapper .ginput_container input:focus,
#wallgrain .form-wrapper .ginput_container select:focus,
#wallgrain .form-wrapper .ginput_container textarea:focus {
  outline: none;
  box-shadow: none;
}

/* ---- Select dropdown — custom chevron ---- */

#wallgrain .form-wrapper .ginput_container select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 24px;
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cg clip-path='url(%23clip0_24_259)'%3E%3Cpath d='M1 1.49463L6 6.49463L11 1.49463' stroke='black' stroke-width='1.5'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_24_259'%3E%3Crect width='12' height='8' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

#wallgrain .form-wrapper .ginput_container select::-ms-expand {
  display: none;
}

/* ---- Validation states ---- */

#wallgrain .form-wrapper .gfield_error .ginput_container input,
#wallgrain .form-wrapper .gfield_error .ginput_container select,
#wallgrain .form-wrapper .gfield_error .ginput_container textarea {
  box-shadow: inset 0 0 0 1px var(--wg-red);
}

#wallgrain .form-wrapper .validation_message {
  margin-top: 6px;
  padding: 0 21px 10px;
  color: var(--wg-red);
  font-size: 13px;
  font-weight: 400;
}

/* ---- Submit button — matches .wg-btn.wg-btn-primary exactly, same tokens ---- */

#wallgrain .form-wrapper .gform_footer {
  padding: 24px 0 0;
  display: flex;
  justify-content: center;
}

#wallgrain .form-wrapper .gform_button,
#wallgrain .form-wrapper input[type="submit"].gform_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 25px;
  min-width: 200px;
  border: none;
  border-radius: 4px;
  cursor: pointer;

  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0.2px;

  background: linear-gradient(180deg, var(--wg-btn-primary-grad-from) 0%, var(--wg-btn-primary-grad-to) 100%);
  color: var(--wg-btn-primary-text);

  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#wallgrain .form-wrapper .gform_button:hover,
#wallgrain .form-wrapper .gform_button:focus-visible {
  background: linear-gradient(180deg, var(--wg-gray-dark) 0%, var(--wg-black) 100%) !important;
  color: var(--wg-white) !important;
  box-shadow: 0 8px 20px var(--wg-btn-primary-hover-shadow);
  outline: none;
}

#wallgrain .form-wrapper .gform_button:active {
  background: linear-gradient(180deg, var(--wg-charcoal) 0%, var(--wg-black) 100%) !important;
  transform: translateY(0);
  box-shadow: none;
}

#wallgrain .form-wrapper .gform_ajax_spinner {
  margin-left: 12px;
}

/* Gravity Forms confirmation message, in case it renders inline */
#wallgrain .form-wrapper .gform_confirmation_message {
  padding: 24px 21px;
  border: 1px solid var(--wg-form-divider);
  background: var(--wg-form-label-bg);
  color: var(--wg-form-input-text);
  font-size: 16px;
}

/* ---- Gravity Forms responsive ---- */

@media (max-width: 900px) {
  #wallgrain .form-wrapper {
    --wg-form-label-height: 56px;
  }

  #wallgrain .form-wrapper .gfield_label,
  #wallgrain .form-wrapper .gform-field-label {
    font-size: 12px;
  }

  #wallgrain .form-wrapper .ginput_container input,
  #wallgrain .form-wrapper .ginput_container select,
  #wallgrain .form-wrapper .ginput_container textarea {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  #wallgrain .form-wrapper {
    --wg-form-label-height: 40px;
  }

  #wallgrain .form-wrapper .gform_fields {
    grid-template-columns: 1fr !important;
  }

  #wallgrain .form-wrapper .gfield--width-half:nth-child(odd) {
    border-right: none;
  }

  #wallgrain .form-wrapper .gfield--width-full,
  #wallgrain .form-wrapper .gfield--type-textarea {
    grid-column: 1 !important;
  }

  #wallgrain .form-wrapper .gform_footer {
    justify-content: stretch;
  }

  #wallgrain .form-wrapper .gform_button,
  #wallgrain .form-wrapper input[type="submit"].gform_button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  #wallgrain .form-wrapper .gfield_label,
  #wallgrain .form-wrapper .gform-field-label {
    padding: 9px 16px 7px 16px;
  }

  #wallgrain .form-wrapper .ginput_container input,
  #wallgrain .form-wrapper .ginput_container select,
  #wallgrain .form-wrapper .ginput_container textarea {
    padding: 13px 16px;
    height: auto;
    min-height: 48px;
    font-size: 14px;
    letter-spacing: -0.5px;
  }
}

#wallgrain .wg-section-cta {
  background:
    linear-gradient(
      180deg,
      rgba(255, 209, 42, 0.88) 0%,
      rgba(238, 112, 8, 0.88) 50%,
      rgba(141, 38, 7, 0.88) 100%
    ),
    center / cover no-repeat;
}

#wallgrain .wg-section-cta .wg-section-title {
  margin-bottom: 30px;
  text-align: center;
}

#wallgrain .wg-section-cta .text-wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align:center;	
}

#wallgrain .wg-section-cta .wg-btn-group {
  justify-content: center;
  margin-top: 40px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

#wallgrain .wg-footer {
  background: linear-gradient(180deg, #464644 0%, #242424 100%);
}

#wallgrain .wg-footer ul {
  list-style: none;
}

#wallgrain .wg-footer ul li {
  margin-bottom: 0;
}

#wallgrain .wg-footer-container {
  padding-inline: 50px;
}

#wallgrain .wg-footer-main {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  padding-top: 80px;
  padding-bottom: 40px;
}

#wallgrain .wg-footer-logo {
  margin-bottom: 23px;
}

#wallgrain .wg-footer-logo img {
  width: auto;
  max-height: 40px;
}

#wallgrain .wg-footer-address {
  display: block;
  color: var(--wg-yellow);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.39;
  letter-spacing: -0.96px;
}

#wallgrain .wg-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
}

#wallgrain .wg-footer-contact a {
  color: var(--wg-yellow);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.39;
  letter-spacing: -0.64px;
  text-transform: capitalize;
}

#wallgrain .wg-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#wallgrain .wg-footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#wallgrain .wg-footer-col-title {
  display: block;
  color: var(--wg-yellow);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.39;
  letter-spacing: -0.64px;
  text-transform: capitalize;
  margin-bottom: 16px;
}

#wallgrain .wg-footer-col a {
  color: var(--wg-yellow);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.31;
  letter-spacing: -0.56px;
}

#wallgrain .wg-footer-col a:hover , #wallgrain .wg-footer-brand a:hover , #wallgrain .wg-footer-bottom a:hover { color:var(--wg-yellow-light); }

#wallgrain .wg-footer-bottom {
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--wg-yellow);
}

#wallgrain .wg-footer-bottom p {
  color: var(--wg-yellow);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.31;
  letter-spacing: -0.56px;
}

#wallgrain .wg-footer-bottom p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#wallgrain .wg-footer-bottom-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

#wallgrain .wg-footer-bottom-nav a {
  color: var(--wg-yellow);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.31;
  letter-spacing: -0.56px;
}

/* ==========================================================================
   404 / Thank You pages (share the wallgrain scope, simple centered layout)
   ========================================================================== */

#wallgrain .wg-section-status {
  text-align: center;
  padding-block: 140px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 209, 42, 0.88) 0%,
      rgba(238, 112, 8, 0.88) 50%,
      rgba(141, 38, 7, 0.88) 100%
    ),
    center center / cover no-repeat;
  color: var(--wg-white);
}

#wallgrain .wg-section-status h1,
#wallgrain .wg-section-status .wg-section-title,
#wallgrain .wg-section-status .wg-section-intro,
#wallgrain .wg-section-status p {
  color: var(--wg-white);
}

#wallgrain .wg-status-image {
  max-width: 320px;
  margin: 0 auto 40px;
}

#wallgrain .wg-status-links {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  list-style: none;
}

#wallgrain .wg-status-search {
  display: none;
}

#wallgrain .wg-status-search input[type="search"] {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--wg-gray-light);
  border-radius: 4px;
  font-family: Inter, sans-serif;
}



@media (max-width: 1200px) {
  #wallgrain .container {
    padding-inline: 20px;
  }
	
	#wallgrain  .wg-container-full { padding-inline: 0 }

  #wallgrain .wg-footer-container {
    padding-inline: 30px;
  }
}

@media (max-width: 1024px) {
  #wallgrain h1 {
    font-size: 48px;
    line-height: 1.05;
    letter-spacing: -2px;
  }

  #wallgrain h2 {
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -1.6px;
  }

  #wallgrain .wg-section-hero {
    padding-block: 120px 80px;
  }

  #wallgrain .wg-footer-main {
    grid-template-columns: repeat(3,1fr);
    row-gap: 40px;
  }

  #wallgrain .wg-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 880px) {
  #wallgrain .wg-section {
    padding-block: 64px;
  }

  #wallgrain .two-col {
    flex-direction: column;
    gap: 32px;
  }

  #wallgrain .two-col .wg-col {
    width: 100%;
  }

  #wallgrain .wg-section-why .col1,
  #wallgrain .wg-section-why .col2,
  #wallgrain .wg-section-integrated .col1,
  #wallgrain .wg-section-integrated .col2 {
    max-width: 100%;
  }

  #wallgrain .wg-section-integrated .wg-integrated-media {
    order: -1;
  }

  #wallgrain .wg-results-in-bin .wg-results-in-bin-list {
    column-count: 2;
  }

  #wallgrain .wg-header {
    padding: 16px 24px;
  }

  #wallgrain .wg-header-container {
    justify-content: center;
  }
	#wallgrain .wg-section-why .col2 , #wallgrain .wg-section-integrated .col1 { padding:0 }
	#wallgrain .wg-why-media img , #wallgrain  .wg-integrated-media  img  { min-height:auto }
	#wallgrain  .wg-container-full { padding-inline: 20px }
	
	#wallgrain .wg-hero-actions { margin: 20px 0 30px}
}

@media (max-width: 768px) {
  #wallgrain h1 {
    font-size: 38px;
    letter-spacing: -1.4px;
  }

  #wallgrain h2 {
    font-size: 26px;
    letter-spacing: -1px;
  }

  #wallgrain .wg-section-hero {
    padding-block: 100px 60px;
  }

  #wallgrain .wg-hero-brand-row {
    gap: 20px;
  }

  #wallgrain .wg-faq-question {
    padding: 18px 0;
    gap: 12px;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -0.6px;
  }

  #wallgrain .wg-faq-icon {
    width: 14px;
    height: 14px;
  }

  #wallgrain .wg-faq-answer {
    padding-bottom: 16px;
  }

  #wallgrain .wg-how-table thead,
  #wallgrain .wg-comparison-table thead {
    display: none;
  }

  #wallgrain .wg-how-table,
  #wallgrain .wg-how-table tbody,
  #wallgrain .wg-how-table tr,
  #wallgrain .wg-how-table td,
  #wallgrain .wg-comparison-table,
  #wallgrain .wg-comparison-table tbody,
  #wallgrain .wg-comparison-table tr,
  #wallgrain .wg-comparison-table td {
    display: block;
    width: 100%;
  }

  #wallgrain .wg-how-table tr,
  #wallgrain .wg-comparison-table tr {
    margin-bottom: 16px;
    border: 1px solid #999;
  }

  #wallgrain .wg-how-table td,
  #wallgrain .wg-comparison-table td {
    border: none;
    border-bottom: 1px solid #ddd;
  }

  #wallgrain .wg-how-table td::before,
  #wallgrain .wg-comparison-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
    color: var(--wg-gray);
  }

  #wallgrain .wg-how-table td:last-child,
  #wallgrain .wg-comparison-table td:last-child {
    border-bottom: none;
  }

  #wallgrain .wg-section-reviews .wg-review-card {
    flex-direction: column;
  }

  #wallgrain .wg-section-reviews .wg-review-label {
    flex: none;
    justify-content: flex-start;
    border-right: none;
    border-bottom: 1px solid #bbb;
  }

  #wallgrain .wg-section-reviews .wg-review-author {
    text-align: left;
  }

  #wallgrain .wg-footer-main {
    grid-template-columns: 1fr;
	  gap:20px;
  }

  #wallgrain .wg-footer-brand {
    grid-column: auto;
  }

  #wallgrain .wg-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  #wallgrain .wg-section-hero .wg-hero-subtitle {
    margin-top: 20px;
  }
	
	#wallgrain [aria-label="Legal"] a { font-size:12px }
	#wallgrain .wg-footer-bottom-nav ul { gap:10px;}
	#wallgrain .wg-footer-col-title { margin-bottom:5px}
	#wallgrain .wg-footer-main { padding-top:50px; }
}

@media (max-width: 480px) {
  #wallgrain h1 {
    font-size: 30px;
  }

  #wallgrain h2 {
    font-size: 22px;
  }

  #wallgrain .wg-section {
    padding-block: 50px;
  }

  #wallgrain .wg-section-hero {
    padding-block: 50px 40px;
  }

  #wallgrain .wg-btn-group {
    flex-direction: column;
  }

  #wallgrain .wg-btn {
    width: 100%;
    min-width: 0;
  }

  #wallgrain .wg-results-in-bin .wg-results-in-bin-list {
    column-count: 1;
	  margin-bottom:20px
  }

  #wallgrain .wg-header {
    padding: 14px 20px;
  }

  #wallgrain .wg-footer-container {
    padding-inline: 20px;
  }

  #wallgrain .wg-faq-question {
    padding: 16px 0;
    gap: 10px;
    font-size: 14px;
    letter-spacing: -0.3px;
  }

  #wallgrain .wg-faq-icon {
    width: 12px;
    height: 12px;
  }

  #wallgrain .wg-faq-icon::before {
    width: 12px;
  }

  #wallgrain .wg-faq-icon::after {
    height: 12px;
  }
}