.newsletter {
  padding: 0 2.5rem;
  position: relative;
  z-index: 1;
}

.newsletter__card {
  position: relative;
  max-width: var(--container-max-width);
  margin: 0 auto;
  height: 25rem;
  border-radius: var(--radius-lg);
  padding: 4rem; /* 64px */
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
}

.newsletter__media {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.newsletter__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.newsletter__person-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.newsletter__person-img {
  position: absolute;
  width: 100%;
  height: 467%;
  top: -211%;
  left: 0;
  object-fit: cover;
}

.newsletter__overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 27, 0.65);
  border-radius: var(--radius-lg);
}

.newsletter__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* 8px */
  color: var(--color-white);
  width: 35%; /* ~469px of 1340px */
}

.newsletter__title {
  font-size: 1.875rem; /* 30px */
  font-weight: var(--font-weight-semibold);
  line-height: 1.167; /* 35px */
  color: var(--color-white);
  margin: 0;
}

.newsletter__subtitle {
  font-size: 0.9375rem; /* 15px */
  font-weight: var(--font-weight-medium);
  line-height: 1.75rem; /* 28px */
  color: var(--color-white);
}

.newsletter__form-group {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* 8px */
  align-items: flex-end;
}

.newsletter__label {
  align-self: flex-start;
  font-size: 0.9375rem; /* 15px */
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  line-height: normal;
}

.newsletter__row {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem; /* 12px */
}

.newsletter__input {
  width: 23.3125rem; /* 373px */
  padding: 1rem 1.0625rem; /* 16px 17px */
  font-family: var(--font-family);
  font-size: 0.9375rem;
  font-weight: var(--font-weight-regular);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  outline: none;
}

.newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter__input:focus {
  border-color: rgba(255, 255, 255, 0.6);
}

.newsletter__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-padding-y) var(--btn-padding-x);
  font-family: var(--font-family);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  background-color: var(--color-secondary);
  border: none;
  border-bottom: var(--btn-border-width) solid var(--color-secondary-dark);
  border-radius: var(--btn-radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.newsletter__btn:hover {
  background-color: var(--color-secondary-hover);
}

/* ── Newsletter Gravity Form ── */
.newsletter__form-group .gform_wrapper {
  width: 100%;
}

.newsletter__form-group .gform_wrapper form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem; /* 12px between input and button */
}

.newsletter__form-group .gform_body {
  flex: 1 1 auto;
  min-width: 0;
}

.newsletter__form-group .gform_fields {
  display: flex !important;
  flex-direction: column;
  gap: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.newsletter__form-group .gfield {
  margin: 0 !important;
  padding: 0 !important;
}

.newsletter__form-group .gfield_label {
  font-size: 0.9375rem !important;
  font-weight: var(--font-weight-semibold) !important;
  color: var(--color-white) !important;
  line-height: normal;
  margin-bottom: 0.5rem !important;
}

.newsletter__form-group .gfield_label .gfield_required {
  display: none;
}

.newsletter__form-group input[type="text"],
.newsletter__form-group input[type="email"] {
  width: 100% !important;
  min-width: 23.3125rem; /* 373px */
  padding: 1rem 1.0625rem !important;
  height: 3.25rem !important; /* match button height */
  font-family: var(--font-family) !important;
  font-size: 0.9375rem !important;
  font-weight: var(--font-weight-regular) !important;
  color: var(--color-white) !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: var(--radius-md) !important;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  outline: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.newsletter__form-group input[type="text"]::placeholder,
.newsletter__form-group input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.newsletter__form-group input[type="text"]:focus,
.newsletter__form-group input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.6) !important;
}

.newsletter__form-group .gform_footer,
.newsletter__form-group .gform_page_footer {
  flex-shrink: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.newsletter__form-group input[type="submit"],
.newsletter__form-group button[type="submit"],
.newsletter__form-group .gform_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem !important;
  height: 3.25rem !important; /* match input height */
  font-family: var(--font-family) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--font-weight-bold) !important;
  color: var(--color-white) !important;
  background-color: var(--color-secondary) !important;
  border: none !important;
  border-bottom: var(--btn-border-width) solid var(--color-secondary-dark) !important;
  border-radius: var(--btn-radius) !important;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease;
  box-sizing: border-box !important;
}

.newsletter__form-group input[type="submit"]:hover,
.newsletter__form-group button[type="submit"]:hover,
.newsletter__form-group .gform_button:hover {
  background-color: var(--color-secondary-hover) !important;
}

.newsletter__form-group .gform_wrapper .gform_validation_errors,
.newsletter__form-group .gfield_validation_message {
  color: var(--color-white) !important;
}

.newsletter__form-group .gform_confirmation_message {
  color: var(--color-white);
  font-size: 0.9375rem;
}

/* ── Footer ── */
.footer {
  background: transparent;
  position: relative;
  z-index: 2;
  margin-top: -10rem; /* overlap newsletter bottom by wave height */
}

.footer__wave {
  height: 10rem; /* 160px — matches SVG viewBox */
  line-height: 0;
  overflow: visible;
}

.footer__wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.footer__body {
  background: #141838;
  padding: 3rem 2.5rem 3.25rem; /* 48px top (after wave), 52px bottom */
}

.footer__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  gap: 1.25rem; /* 20px */
}

.footer__col {
  flex: 1 0 0;
  min-width: 0;
}

.footer__heading {
  font-size: 1rem; /* 16px */
  font-weight: var(--font-weight-semibold);
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.5rem; /* 24px */
  margin-bottom: 0.8125rem; /* 13px — gap to first link */
}

.footer__heading--white {
  color: var(--color-white);
  margin-top: 1rem;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.footer__links a {
  text-decoration: none;
  font-size: 0.9375rem; /* 15px */
  font-weight: var(--font-weight-regular);
  color: var(--color-white);
  line-height: 1.75rem; /* 28px */
  transition: opacity 0.15s ease;
}

.footer__links a:hover {
  opacity: 0.7;
}

.footer__links--contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links--contact a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.625rem; /* 10px — space between icon and text */
}

.footer__links--contact i,
.footer__links--contact svg {
  width: 1rem;
  font-size: 0.9375rem;
  flex-shrink: 0;
}

.footer__subheading {
  font-size: 0.9375rem; /* 15px */
  font-weight: var(--font-weight-bold);
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.75rem; /* 28px */
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.footer__address {
  font-size: 0.9375rem; /* 15px */
  font-weight: var(--font-weight-regular);
  font-style: normal;
  color: var(--color-white);
  line-height: 1.75rem; /* 28px */
  margin-bottom: 0;
}

.footer__hours {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
}

.footer__hours li {
  font-size: 0.9375rem; /* 15px */
  color: var(--color-white);
  line-height: 1.75rem; /* 28px */
  display: flex;
  gap: 0.375rem;
}

.footer__hours-day {
  font-weight: var(--font-weight-regular);
  min-width: 7rem;
}

.footer__hours-time {
  font-weight: var(--font-weight-bold);
}

.footer__logos {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* 12px */
  margin-top: 1.75rem;
}

.footer__logo {
  width: 2.5625rem; /* 41px */
  height: 2.0625rem; /* 33px */
  object-fit: contain;
  opacity: 0.6;
}

/* ── Footer Bottom Bar ── */
.footer__bottom {
  background-color: #141838;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 2.5rem;
}

.footer__bottom-inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0; /* 12px */
  font-size: 0.8125rem; /* 13px */
  font-weight: var(--font-weight-regular);
  color: var(--color-white);
  line-height: 1.75rem;
}

.footer__bottom-inner a {
  color: var(--color-white);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.footer__bottom-inner a:hover {
  opacity: 0.7;
}
