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

.gw-footer {
  --gw-footer-red: #ce0026;
  --gw-footer-green: #48a55d;
  --gw-footer-width: 1100px;

  background: #000;
  color: #bcbcbc;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

.gw-footer,
.gw-footer *,
.gw-footer *::before,
.gw-footer *::after {
  box-sizing: border-box;
}

.gw-footer-container {
  width: min(var(--gw-footer-width), calc(100% - 40px));
  margin-inline: auto;
  padding: 54px 46px 28px;
}

.gw-footer a {
  color: inherit;
  text-decoration: none;
}

.gw-footer a:hover {
  color: #fff;
}

.gw-footer a:focus-visible,
.gw-footer button:focus-visible,
.gw-footer input:focus-visible,
.gw-footer textarea:focus-visible,
.gw-footer select:focus-visible {
  outline: 3px solid #ffdc73;
  outline-offset: 3px;
}

.gw-footer h2 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.gw-footer p {
  margin: 0;
}

/* ---------- Three-column layout ---------- */

.gw-footer-grid {
  display: grid;
  grid-template-columns: 2fr 0.95fr 1fr;
  align-items: start;
  gap: 32px;
  padding-bottom: 42px;
}

.gw-footer-grid > * {
  min-width: 0;
}

/* ---------- News / recipes ---------- */

.gw-footer-news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gw-footer-news-list li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0;
  padding: 0 0 10px;
}

.gw-footer-chevron {
  color: #666;
  font-size: 22px;
  line-height: 1;
}

.gw-footer-news-list a:hover {
  text-decoration: underline;
}

/* ---------- Form placeholder ---------- */

.gw-footer-form-placeholder {
  padding: 20px 16px;
  border: 1px dashed #555;
  color: #ccc;
}

.gw-footer-form-placeholder p {
  margin-bottom: 6px;
  color: #fff;
}

.gw-footer-form-placeholder small {
  display: block;
  font-size: 12px;
}

/* ---------- Enquiry form styling ---------- */
/* Applies once your actual form is inserted into this section. */

.gw-footer-enquiry form {
  margin: 0;
}

.gw-footer-enquiry label {
  display: block;
  margin-bottom: 6px;
  color: #bcbcbc;
  font-size: 13px;
  font-weight: 700;
}

.gw-footer-enquiry form p,
.gw-footer-enquiry .gw-form-field {
  margin: 0 0 20px;
}

.gw-footer-enquiry input[type="text"],
.gw-footer-enquiry input[type="email"],
.gw-footer-enquiry input[type="tel"],
.gw-footer-enquiry select,
.gw-footer-enquiry textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 6px 0 0;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
  color: #222;
  font: inherit;
  line-height: 1.4;
  box-shadow: none;
}

.gw-footer-enquiry input[type="text"],
.gw-footer-enquiry input[type="email"],
.gw-footer-enquiry input[type="tel"],
.gw-footer-enquiry select {
  min-height: 34px;
}

.gw-footer-enquiry textarea {
  min-height: 85px;
  resize: vertical;
}

.gw-footer-enquiry button[type="submit"],
.gw-footer-enquiry input[type="submit"] {
  display: inline-block;
  width: auto;
  min-height: 38px;
  margin: 0;
  padding: 9px 18px;
  border: 0;
  border-radius: 0;
  background: var(--gw-footer-red);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.gw-footer-enquiry button[type="submit"]:hover,
.gw-footer-enquiry input[type="submit"]:hover {
  background: #ae001f;
}

/* ---------- Contact details ---------- */

.gw-footer-enquiries {
  text-transform: uppercase;
}

.gw-footer-contact address {
  margin: 0;
  font-style: normal;
}

.gw-footer-company {
  display: block;
  font-weight: 700;
}

.gw-footer-phone {
  display: inline-block;
  margin: 21px 0 15px;
  color: #fff !important;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.3;
}

.gw-footer-contact-extra > span {
  display: block;
}

.gw-footer-contact-extra a {
  color: var(--gw-footer-green);
  overflow-wrap: anywhere;
}

.gw-footer-contact-extra a:hover {
  color: #75c688;
  text-decoration: underline;
}

/* ---------- Bottom bar ---------- */

.gw-footer-bottom {
  position: relative;
  padding: 27px 32px 20px;
  border-top: 2px solid var(--gw-footer-red);
  text-align: center;
  font-size: 12px;
}

.gw-footer-credit {
  margin-top: 5px !important;
}

.gw-footer-credit a {
  color: var(--gw-footer-green);
}

/* Hidden until the accompanying JavaScript initializes it. */
.gw-back-to-top {
  position: absolute;
  right: 0;
  bottom: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: #aaa;
  cursor: pointer;
}

.gw-back-to-top.is-ready {
  display: inline-flex;
}

.gw-back-to-top:hover {
  color: #fff;
}

.gw-back-to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

/* ---------- Responsive ---------- */

@media (max-width: 1050px) {
  .gw-footer-container {
    padding-inline: 28px;
  }

  .gw-footer-grid {
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 24px;
  }

  .gw-footer-phone {
    font-size: 22px;
  }
}

@media (max-width: 800px) {
  .gw-footer-container {
    padding: 38px 20px 20px;
  }

  .gw-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .gw-footer-news {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .gw-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .gw-footer-news {
    grid-column: auto;
  }

  .gw-footer-bottom {
    padding: 24px 25px 38px;
  }

  .gw-back-to-top {
    right: calc(50% - 18px);
    bottom: 0;
  }
}

@media (max-width: 420px) {
  .gw-footer-container {
    width: calc(100% - 24px);
    padding-inline: 12px;
  }
}
