/* =========================================================
   Prime Vending — styles.css
   Mobile-first, dark/premium design
   ========================================================= */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2?v=20260627p2') format('woff2');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2?v=20260627p2') format('woff2');
}

/* ---------------------------------------------------------
   1. Design Tokens
   --------------------------------------------------------- */
:root {
  --color-charcoal: #2b2e32;
  --color-charcoal-deep: #1d2023;
  --color-charcoal-soft: #383d42;

  --color-white: #ffffff;
  --color-off-white: #f5f7f4;
  --color-muted-text: #b8bdb7;
  --color-border: rgba(255, 255, 255, 0.14);

  --color-green: #538a66;
  --color-green-soft: #6fa47f;
  --color-green-dark: #3f6d50;

  --color-orange: #f36d26;
  --color-orange-soft: #ff8a50;
  --color-orange-dark: #c95318;

  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.28);
  --shadow-btn: 0 2px 10px rgba(83, 138, 102, 0.25);

  --transition: 180ms ease;

  --container-max: 1160px;
  --container-pad: 1.25rem;

  --section-pad: 5rem 0;
  --hero-machine-max-height: min(72vh, 560px);
}

/* ---------------------------------------------------------
   2. Reset & Base
   --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-charcoal);
  color: var(--color-white);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------------------------------------------------------
   3. Container
   --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ---------------------------------------------------------
   4. Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.625rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 3px;
}

.btn--primary {
  background-color: var(--color-green);
  color: var(--color-white);
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover {
  background-color: var(--color-green-soft);
  box-shadow: 0 4px 18px rgba(83, 138, 102, 0.38);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
  background-color: var(--color-green-dark);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 1.5px solid var(--color-border);
}

.btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background-color: rgba(255, 255, 255, 0.06);
}

.btn--submit {
  width: 100%;
}

@media (min-width: 480px) {
  .btn--submit {
    width: auto;
  }
}

/* ---------------------------------------------------------
   5. Navigation
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-charcoal-deep);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 64px;
}

/* Logo */
.nav__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  user-select: none;
  flex-shrink: 0;
}

.site-logo {
  display: block;
  width: clamp(110px, 10vw, 140px);
  height: auto;
}

.footer__logo .site-logo {
  width: 130px;
}

/* Hamburger */
.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition);
}

.nav__toggle:hover {
  background-color: rgba(255, 255, 255, 0.07);
}

.nav__toggle:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

.nav__toggle span {
  display: block;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu */
.nav__menu {
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background-color: var(--color-charcoal-deep);
  border-bottom: 1px solid var(--color-border);
  padding: 0.5rem 0 1rem;
}

.nav__menu.is-open {
  display: flex;
}

.nav__link {
  display: block;
  padding: 0.625rem var(--container-pad);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-muted-text);
  transition: color var(--transition);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--color-white);
  outline: none;
}

.nav__link--cta {
  color: var(--color-green-soft);
}

.nav__link--cta:hover {
  color: var(--color-white);
}

@media (min-width: 768px) {
  .nav__toggle {
    display: none;
  }

  .nav__menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    position: static;
    background: none;
    border: none;
    padding: 0;
  }

  .nav__link {
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--color-muted-text);
  }

  .nav__link:hover {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.06);
  }

  .nav__link--cta {
    margin-left: 0.5rem;
    padding: 0.45rem 1rem;
    background-color: var(--color-green);
    color: var(--color-white);
    border-radius: var(--radius-full);
  }

  .nav__link--cta:hover {
    background-color: var(--color-green-soft);
    color: var(--color-white);
  }
}

/* ---------------------------------------------------------
   6. Hero
   --------------------------------------------------------- */
.hero {
  background-color: var(--color-charcoal-deep);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.hero__content {
  max-width: 640px;
  text-align: center;
}

.hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.hero__subheading {
  font-size: 1.05rem;
  color: var(--color-muted-text);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 540px;
  margin-inline: auto;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__machine-card {
  width: min(100%, 420px);
  max-height: 620px;
  min-height: var(--hero-machine-max-height);
  padding: clamp(1rem, 3vw, 1.75rem);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.hero__machine-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: var(--hero-machine-max-height);
  object-fit: contain;
  filter: drop-shadow(10px 20px 25px rgba(0, 0, 0, 0.45));
  margin-top: 0;
}

@media (max-width: 768px) {
  .hero__machine-card {
    width: min(100%, 340px);
    max-height: 460px;
    min-height: 380px;
    padding: 1rem;
    filter: drop-shadow(0px 5px 7px rgba(0, 0, 0, 0.45));
  }

  .hero__machine-image {
    max-height: 420px;
  }
}

@media (min-width: 900px) {
  /* .hero {
    padding: 5.5rem 0 5rem;
  } */

  .hero__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 4rem;
  }

  .hero__content {
    text-align: left;
    flex: 1;
  }

  .hero__subheading {
    margin-inline: 0;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .hero__visual {
    flex-shrink: 0;
  }
}

/* ---------------------------------------------------------
   7. Sections
   --------------------------------------------------------- */
.section {
  padding: var(--section-pad);
  background-color: var(--color-charcoal);
}

.section--dark {
  background-color: var(--color-charcoal-deep);
}

.section__header {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.section__intro {
  font-size: 1.05rem;
  color: var(--color-muted-text);
  line-height: 1.75;
}

.section__note {
  font-size: 0.95rem;
  color: var(--color-muted-text);
  margin-top: 0.75rem;
  opacity: 0.8;
}

.section__cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ---------------------------------------------------------
   8. Card Grid
   --------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.125rem;
}

@media (min-width: 540px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background-color: var(--color-charcoal-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.625rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.section--dark .card {
  background-color: var(--color-charcoal);
}

.card:hover {
  border-color: rgba(83, 138, 102, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}

.card--accent {
  border-color: rgba(83, 138, 102, 0.3);
}

.card__icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--color-green);
  flex-shrink: 0;
}

.card__icon svg {
  width: 100%;
  height: 100%;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.35;
}

.card__body {
  font-size: 0.925rem;
  color: var(--color-muted-text);
  line-height: 1.7;
}

/* ---------------------------------------------------------
   9. Steps (How It Works)
   --------------------------------------------------------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin-inline: auto;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 1.375rem;
  top: 2.5rem;
  bottom: 2.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-green), transparent);
  opacity: 0.35;
}

@media (min-width: 600px) {
  .steps::before {
    left: 1.625rem;
  }
}

.step {
  display: flex;
  gap: 1.75rem;
  padding: 2rem 0;
  position: relative;
}

.step+.step {
  border-top: 1px solid var(--color-border);
}

.step__number {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--color-green);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--color-charcoal-deep);
}

.step__content {
  flex: 1;
  padding-top: 0.35rem;
}

.step__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.6rem;
}

.step__body {
  font-size: 0.95rem;
  color: var(--color-muted-text);
  line-height: 1.75;
}

/* ---------------------------------------------------------
   10. Machines Section
   --------------------------------------------------------- */
.machine-feature {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--color-charcoal-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: 1.5rem;
}

.machine-feature__visual {
  display: flex;
  justify-content: center;
}

.machine-feature__image {
  width: min(100%, 360px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(8px 16px 20px rgba(0, 0, 0, 0.4));
}

.machine-feature__title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.machine-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.machine-benefit-card {
  background-color: var(--color-charcoal);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  row-gap: 0.4rem;
}

.machine-benefit-card__icon {
  width: 1.9rem;
  height: 1.9rem;
  color: var(--color-green);
  margin-top: 0.1rem;
}

.machine-benefit-card__icon svg {
  width: 100%;
  height: 100%;
}

.machine-benefit-card__title {
  font-family: var(--font-heading);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.35;
}

.machine-benefit-card__body {
  grid-column: 2;
  font-size: 0.9rem;
  color: var(--color-muted-text);
  line-height: 1.7;
}

.machine-secondary-grid {
  display: grid;
  gap: 1rem;
}

.machine-locker {
  background: linear-gradient(165deg, rgba(243, 109, 38, 0.12), rgba(243, 109, 38, 0.04));
  border: 1px solid rgba(243, 109, 38, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.machine-locker__badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background-color: rgba(243, 109, 38, 0.2);
  color: #ffd5c0;
  border: 1px solid rgba(243, 109, 38, 0.38);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.machine-locker__title,
.machine-highlight__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.6rem;
}

.machine-locker__body,
.machine-highlight__body {
  font-size: 0.92rem;
  color: var(--color-muted-text);
  line-height: 1.7;
}

.machine-locker__examples {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  margin: 0.85rem 0;
}

.machine-locker__examples li {
  color: var(--color-white);
  font-size: 0.88rem;
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}

.machine-locker__examples li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.53rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background-color: var(--color-orange-soft);
}

.machine-highlight {
  background-color: var(--color-charcoal-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.machine-facts {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.machine-facts__item {
  padding: 0.38rem 0.78rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--color-muted-text);
  font-family: var(--font-heading);
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.35;
  position: relative;
  padding-left: 1.45rem;
}

.machine-facts__item::before {
  content: '';
  position: absolute;
  left: 0.62rem;
  top: 50%;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background-color: var(--color-green-soft);
  transform: translateY(-50%);
}

@media (min-width: 640px) {
  .machine-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .machine-benefit-card__body {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .machine-feature {
    flex-direction: row;
    align-items: center;
    gap: 2.25rem;
  }

  .machine-feature__visual {
    flex: 0 0 min(35%, 320px);
  }

  .machine-feature__content {
    flex: 1;
  }

  .machine-secondary-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
  }
}

/* ---------------------------------------------------------
   11. Location Grid
   --------------------------------------------------------- */
.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 600px) {
  .location-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .location-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.location-card {
  background-color: var(--color-charcoal);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  text-align: center;
  transition: border-color var(--transition), background-color var(--transition);
}

.location-card:hover {
  border-color: rgba(83, 138, 102, 0.4);
  background-color: var(--color-charcoal-soft);
}

.location-card__icon {
  width: 2rem;
  height: 2rem;
  color: var(--color-green);
}

.location-card__icon svg {
  width: 100%;
  height: 100%;
}

.location-card__label {
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.35;
}

/* ---------------------------------------------------------
  12. Service Area Pills
   --------------------------------------------------------- */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 0;
}

.area-pill {
  padding: 0.5rem 1.25rem;
  background-color: var(--color-charcoal-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.01em;
}

/* ---------------------------------------------------------
  13. Contact Section
   --------------------------------------------------------- */
.section--contact {
  border-top: 1px solid var(--color-border);
}

.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 860px) {
  .contact-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }

  .contact-info {
    flex: 0 0 340px;
    position: sticky;
    top: 80px;
  }

  .contact-form-wrap {
    flex: 1;
  }
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-detail__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-detail__value {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-green-soft);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-detail__value:hover {
  color: var(--color-white);
}

/* ---------------------------------------------------------
  14. Contact Form
   --------------------------------------------------------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 560px) {
  .form-row--half {
    flex-direction: row;
  }

  .form-row--half .form-group {
    flex: 1;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.01em;
}

.required {
  color: var(--color-orange);
  font-weight: 700;
}

.form-control {
  width: 100%;
  padding: 0.725rem 1rem;
  background-color: var(--color-charcoal-soft);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-control::placeholder {
  color: var(--color-muted-text);
  opacity: 0.7;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(83, 138, 102, 0.2);
}

.form-control:focus-visible {
  border-color: var(--color-green);
}

.form-control.is-invalid {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(243, 109, 38, 0.18);
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23b8bdb7'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.2em;
  padding-right: 2.5rem;
  cursor: pointer;
}

select.form-control option {
  background-color: var(--color-charcoal-soft);
  color: var(--color-white);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Inline field errors */
.field-error {
  font-size: 0.8rem;
  color: var(--color-orange-soft);
  margin-top: 0.2rem;
  display: none;
}

.form-group.has-error .field-error {
  display: block;
}

.field-helper {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--color-muted-text);
}

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 480px) {
  .form-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.form-required-note {
  font-size: 0.8rem;
  color: var(--color-muted-text);
}

/* Form messages */
.form-message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.form-message a {
  color: var(--color-green-soft);
  text-decoration: underline;
}

.form-message--success {
  background-color: rgba(83, 138, 102, 0.15);
  border: 1px solid rgba(83, 138, 102, 0.4);
  color: var(--color-off-white);
}

.form-message--error {
  background-color: rgba(243, 109, 38, 0.12);
  border: 1px solid rgba(243, 109, 38, 0.35);
  color: var(--color-off-white);
}

/* ---------------------------------------------------------
   14. Footer
   --------------------------------------------------------- */
.footer {
  background-color: var(--color-charcoal-deep);
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--color-muted-text);
  margin-top: 0.25rem;
}

.footer__logo {
  align-self: flex-start;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__nav a {
  font-size: 0.875rem;
  color: var(--color-muted-text);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--color-white);
}

.footer__nav a:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__contact a {
  font-size: 0.875rem;
  color: var(--color-muted-text);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__contact a:hover {
  color: var(--color-green-soft);
}

.footer__contact a:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 0;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--color-muted-text);
  opacity: 0.75;
  text-align: center;
}

/* ---------------------------------------------------------
   15. Focus & Accessibility
   --------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

/* ---------------------------------------------------------
   16. Back to Top Button
   --------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background-color: var(--color-charcoal);
  border: 2px solid var(--color-orange);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  z-index: 999;
  text-decoration: none;
  cursor: pointer;
}

.back-to-top:hover {
  background-color: var(--color-green);
  border-color: var(--color-green);
  color: var(--color-charcoal);
}

.back-to-top:focus-visible {
  background-color: var(--color-green);
  border-color: var(--color-green);
  color: var(--color-charcoal);
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}
