/* ============================================
   Highway 151 Pop Up Market — Stylesheet
   Palette: Terracotta + Sand + Trust Blue
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Terracotta */
  --terra-50:  #fef7f5;
  --terra-100: #fdeee9;
  --terra-200: #fad7cc;
  --terra-300: #f5b4a2;
  --terra-400: #ed856e;
  --terra-500: #e06048;
  --terra-600: #B85446;
  --terra-700: #9e4438;
  --terra-800: #82372f;
  --terra-900: #6b2f29;
  --terra-950: #3d1914;

  /* Sand */
  --sand-50:   #fefcf9;
  --sand-100:  #fdf6ee;
  --sand-200:  #f9e8d4;
  --sand-300:  #f2d4b0;
  --sand-400:  #e8b984;
  --sand-500:  #dda362;
  --sand-600:  #c8874a;
  --sand-700:  #a66a3a;
  --sand-800:  #855432;
  --sand-900:  #6d452c;
  --sand-950:  #3c2416;

  /* Trust Blue (neutral dark) */
  --blue-800:  #1a2744;
  --blue-900:  #111d35;
  --blue-950:  #0b1221;

  /* Neutrals */
  --neutral-50:  #fafafa;
  --neutral-100: #f4f4f5;
  --neutral-200: #e4e4e7;
  --neutral-300: #d4d4d8;
  --neutral-400: #a1a1aa;
  --neutral-500: #71717a;
  --neutral-600: #52525b;
  --neutral-700: #3f3f46;
  --neutral-800: #27272a;
  --neutral-900: #18181b;
  --neutral-950: #09090b;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl: 0 24px 60px rgba(0,0,0,.18);

  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--neutral-800);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
label { display: block; font-weight: 500; margin-bottom: .35rem; color: var(--neutral-700); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- SECTION UTILITIES ---------- */
.section {
  padding: 6rem 0;
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terra-600);
  margin-bottom: .75rem;
}

.section-label--light { color: var(--sand-300); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue-900);
  margin-bottom: 1rem;
}

.section-title--light { color: #fff; }

.section-title--center { text-align: center; }

.section-desc {
  font-size: 1.0625rem;
  color: var(--neutral-600);
  max-width: 600px;
}

.section-desc--center {
  margin: 0 auto;
  text-align: center;
}

.section-header { text-align: center; margin-bottom: 3.5rem; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .9375rem;
  border-radius: var(--radius-md);
  padding: .8125rem 1.75rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--terra-600);
  color: #fff;
}
.btn--primary:hover {
  background: var(--terra-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-2px);
}

.btn--full { width: 100%; }

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(251,246,240,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand-200);
  transition: box-shadow var(--transition);
}

.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: .625rem;
}

.nav__brand-mark {
  width: 40px;
  height: 40px;
  background: var(--terra-600);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav__brand-line1 {
  font-weight: 700;
  font-size: .9375rem;
  color: var(--blue-900);
}

.nav__brand-line2 {
  font-size: .75rem;
  color: var(--terra-600);
  font-weight: 500;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav__link {
  padding: .5rem .875rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--neutral-600);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover {
  color: var(--terra-600);
  background: var(--terra-50);
}

.nav__link--cta {
  background: var(--terra-600);
  color: #fff;
  margin-left: .5rem;
}
.nav__link--cta:hover {
  background: var(--terra-700);
  color: #fff;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav__burger-line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--neutral-700);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(2) {
  opacity: 0;
}
.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-950);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,18,33,.88) 0%,
    rgba(27,39,68,.72) 50%,
    rgba(61,25,20,.65) 100%
  );
}

.hero__grid {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: center;
  width: 100%;
}

.hero__card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-xl);
  padding: 3rem;
  backdrop-filter: blur(16px);
}

.hero__badge {
  display: inline-block;
  background: var(--terra-600);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .375rem .875rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero__subhead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: .875rem;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  backdrop-filter: blur(12px);
  transition: transform var(--transition), background var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.15);
}

.stat-card--accent {
  background: var(--terra-600);
  border-color: var(--terra-600);
}

.stat-card__number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: .375rem;
}

.stat-card__label {
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.stat-card--accent .stat-card__label {
  color: rgba(255,255,255,.88);
}

/* ---------- ABOUT ---------- */
.about {
  background: var(--sand-50);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__media {
  position: relative;
}

.about__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__image-secondary {
  position: absolute;
  bottom: -2rem;
  right: -1.5rem;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--sand-50);
}

.about__image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__content { max-width: 520px; }

.about__content p {
  color: var(--neutral-600);
  margin-bottom: 1rem;
  font-size: 1.0rem;
}

.about__features {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.about__features li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9375rem;
  color: var(--neutral-700);
}

.about__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--terra-600);
  margin-top: 2px;
}

/* ---------- HOW IT WORKS ---------- */
.how {
  background: var(--blue-900);
}

.how .section-label { color: var(--sand-400); }
.how .section-title { color: #fff; }
.how .section-desc { color: rgba(255,255,255,.65); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  transition: transform var(--transition), background var(--transition);
}

.step:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.10);
}

.step__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--terra-600);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: .85;
}

.step__title {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem;
}

.step__content p {
  font-size: .9375rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
}

/* ---------- VENDORS ---------- */
.vendors {
  background: var(--sand-100);
}

.vendor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.vendor-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--sand-200);
  transition: transform var(--transition), box-shadow var(--transition);
}

.vendor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.vendor-card__img-wrap {
  overflow: hidden;
  height: 220px;
}

.vendor-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.vendor-card:hover .vendor-card__img-wrap img {
  transform: scale(1.05);
}

.vendor-card__body {
  padding: 1.75rem;
}

.vendor-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: .5rem;
}

.vendor-card__body p {
  font-size: .9375rem;
  color: var(--neutral-600);
  line-height: 1.65;
}

/* ---------- VISIT ---------- */
.visit {
  background: var(--sand-50);
}

.visit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.visit__info {
  background: var(--blue-900);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.visit__info .section-title { color: #fff; }

.visit__details {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.visit__detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.visit__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--terra-400);
  margin-top: 2px;
}

.visit__detail strong {
  display: block;
  color: #fff;
  font-size: .9375rem;
  margin-bottom: .125rem;
}

.visit__detail p,
.visit__detail a {
  font-size: .9375rem;
  color: rgba(255,255,255,.70);
  line-height: 1.6;
}

.visit__detail a:hover { color: var(--terra-300); }

.visit__map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 400px;
}

.visit__map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* ---------- CTA / CONTACT ---------- */
.cta {
  background: linear-gradient(145deg, var(--terra-900) 0%, var(--blue-950) 100%);
}

.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.cta__desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.70);
  line-height: 1.7;
  margin-top: 1rem;
}

.cta__form-wrap { position: relative; }

.cta__form {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__group { margin-bottom: 1.125rem; }

.form__label {
  color: rgba(255,255,255,.78);
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.form__input {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: .9375rem;
  color: #fff;
  font-family: var(--font-body);
  transition: border-color var(--transition), background var(--transition);
}

.form__input::placeholder { color: rgba(255,255,255,.35); }

.form__input:focus {
  outline: none;
  border-color: var(--terra-400);
  background: rgba(255,255,255,.12);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff80' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form__select option { background: var(--blue-900); color: #fff; }

.form__textarea {
  resize: vertical;
  min-height: 100px;
}

.form__note {
  font-size: .8125rem;
  color: rgba(255,255,255,.42);
  margin-top: .75rem;
  text-align: center;
}

.cta__form-success {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  text-align: center;
  padding: 2rem;
}

.cta__success-icon {
  width: 56px;
  height: 56px;
  color: var(--terra-400);
}

.cta__form-success h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
}

.cta__form-success p {
  font-size: .9375rem;
  color: rgba(255,255,255,.70);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--neutral-950);
  color: rgba(255,255,255,.60);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: 1rem;
}

.footer__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--terra-600);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__logo-text {
  font-weight: 700;
  font-size: .9375rem;
  color: #fff;
  line-height: 1.25;
}

.footer__brand p {
  font-size: .875rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer__col-title {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.125rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.footer__links a {
  font-size: .9375rem;
  color: rgba(255,255,255,.60);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--terra-400); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .875rem;
  line-height: 1.6;
}

.footer__contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--terra-500);
  margin-top: 3px;
}

.footer__contact a {
  color: rgba(255,255,255,.60);
  transition: color var(--transition);
}

.footer__contact a:hover { color: var(--terra-300); }

.footer__bar {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  text-align: center;
  font-size: .8125rem;
  color: rgba(255,255,255,.35);
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    padding-top: 7rem;
  }

  .hero__stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-card { flex: 1; min-width: 140px; }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__image-secondary { display: none; }

  .steps {
    grid-template-columns: 1fr;
  }

  .vendor-grid {
    grid-template-columns: 1fr;
  }

  .visit__grid {
    grid-template-columns: 1fr;
  }

  .cta__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  .nav__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(251,246,240,.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--sand-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .nav__menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    width: 100%;
    padding: .75rem .5rem;
  }

  .nav__link--cta {
    margin-left: 0;
    text-align: center;
    margin-top: .5rem;
  }

  .nav__burger { display: flex; }

  .hero { min-height: auto; padding-bottom: 3rem; }

  .hero__card { padding: 2rem 1.5rem; }

  .hero__actions { flex-direction: column; }

  .hero__actions .btn { width: 100%; }

  .form__row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero__card { padding: 1.5rem 1.25rem; }
  .stat-card { min-width: 100%; }
}
