:root {
  --sage: #2D7D5A;
  --dark: #1C2B2B;
  --warm: #F5F0E8;
  --gold: #C9912A;
  --slate: #4A6572;
  --light: #EAF4EE;
  --border: #C5DDD0;
  --white: #FFFFFF;
  --danger: #C0392B;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--sage);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--dark);
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--sage);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  border: 2px solid var(--sage);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary:hover {
  background-color: #246B4A;
  border-color: #246B4A;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 125, 90, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: transparent;
  color: var(--sage);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  border: 2px solid var(--sage);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn-secondary:hover {
  background-color: var(--sage);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--gold);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn-gold:hover {
  background-color: #B07E22;
  border-color: #B07E22;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 145, 42, 0.3);
}

.btn-gold:active {
  transform: translateY(0);
  box-shadow: none;
}

.card {
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(28, 43, 43, 0.08);
  padding: 24px;
  transition: border-left 0.2s ease, box-shadow 0.2s ease;
  border-left: 3px solid transparent;
}

.card:hover {
  border-left: 3px solid var(--sage);
  box-shadow: 0 4px 20px rgba(28, 43, 43, 0.12);
}

input,
select,
textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  width: 100%;
  background-color: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(45, 125, 90, 0.15);
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--dark);
  margin-bottom: 6px;
}

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

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.0625rem;
}

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2D7D5A 0%, #1C6B4A 100%);
  overflow: hidden;
}

.hero-paws {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 1rem;
}

.hero-headline {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-subhead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-outline {
  border-color: var(--white);
  color: var(--white);
}

.btn-hero-outline:hover {
  background-color: var(--white);
  color: var(--sage);
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 3.5rem;
  }

  .hero-subhead {
    font-size: 1.1875rem;
  }

  .hero-content {
    padding: 6rem 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-headline {
    font-size: 4rem;
  }
}

.trust-bar {
  background-color: var(--light);
  padding: 2rem 0;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: center;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.trust-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--sage);
  line-height: 1.2;
}

.trust-stat-label {
  font-size: 0.9375rem;
  color: var(--slate);
}

@media (min-width: 768px) {
  .trust-bar {
    padding: 2.5rem 0;
  }

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

  .trust-stat-value {
    font-size: 2rem;
  }
}

.section-heading {
  text-align: center;
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 2.5rem;
}

.how-it-works {
  background-color: var(--white);
  padding: 4rem 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
}

.step {
  text-align: center;
  position: relative;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--sage);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--slate);
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .how-it-works {
    padding: 5rem 0;
  }

  .section-heading {
    font-size: 2.25rem;
  }

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

  .steps-grid::before {
    content: '';
    position: absolute;
    top: 72px;
    left: calc(16.67% + 18px);
    right: calc(16.67% + 18px);
    height: 0;
    border-top: 2px dashed var(--border);
    z-index: 0;
  }

  .step {
    position: relative;
    z-index: 1;
  }
}

.services-section {
  background-color: var(--light);
  padding: 4rem 0;
}

.services-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -1rem;
  padding: 0 1rem;
}

.services-scroll::-webkit-scrollbar {
  display: none;
}

.services-grid {
  display: flex;
  gap: 1rem;
  min-width: max-content;
}

.service-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  min-width: 240px;
  flex: 0 0 240px;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-2px);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.service-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .services-section {
    padding: 5rem 0;
  }

  .services-scroll {
    overflow-x: visible;
    margin: 0;
    padding: 0;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    min-width: unset;
  }

  .service-card {
    min-width: unset;
    flex: unset;
  }
}

.meet-vet-section {
  background-color: var(--light);
  padding: 4rem 0;
}

.vet-card {
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(28, 43, 43, 0.1);
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
}

.vet-card-body {
  padding: 2rem;
}

.vet-card-info {
  text-align: center;
}

.vet-card-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.375rem;
}

.vet-card-role {
  font-size: 0.9375rem;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.vet-card-credentials {
  font-size: 0.8125rem;
  color: var(--slate);
  margin-bottom: 1rem;
}

.vet-card-bio {
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.vet-card-stars {
  font-size: 1.25rem;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
}

.vet-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.vet-badge {
  display: inline-block;
  background-color: var(--light);
  color: var(--sage);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .meet-vet-section {
    padding: 5rem 0;
  }

  .vet-card-body {
    padding: 2.5rem;
  }

  .vet-card-name {
    font-size: 1.75rem;
  }
}

.section-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.as-seen-on {
  background-color: var(--white);
  padding: 0;
}

.as-seen-inner {
  text-align: center;
  padding: 2.5rem 0;
}

.as-seen-label {
  font-size: 0.875rem;
  color: var(--slate);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.as-seen-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.as-seen-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--dark);
  letter-spacing: 0.02em;
  background-color: var(--white);
}

.testimonials-section {
  background-color: var(--light);
  padding: 4rem 0;
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  font-size: 1.125rem;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.testimonial-quote {
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 1rem;
  flex: 1;
}

.testimonial-author {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate);
}

.testimonial-author span {
  font-weight: 400;
}

@media (min-width: 768px) {
  .testimonials-section {
    padding: 5rem 0;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .as-seen-inner {
    padding: 3rem 0;
  }
}

.section-subheading {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--slate);
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
}

.markets-section {
  background-color: var(--white);
  padding: 4rem 0;
}

.market-active-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-left: 3px solid var(--sage);
  margin-bottom: 2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.market-card-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.market-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
}

.market-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

.market-status-active {
  background-color: var(--light);
  color: var(--sage);
}

.market-status-soon {
  background-color: rgba(201, 145, 42, 0.12);
  color: var(--gold);
}

.markets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.market-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.waitlist-form {
  margin-top: 0.25rem;
}

.waitlist-input-group {
  display: flex;
  gap: 0.5rem;
}

.waitlist-input-group input {
  flex: 1;
  min-width: 0;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.waitlist-success {
  display: none;
  color: var(--sage);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .markets-section {
    padding: 5rem 0;
  }

  .markets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .markets-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-header {
  background: linear-gradient(135deg, var(--light) 0%, #dce8d8 100%);
  padding: 3rem 0;
  text-align: center;
}

.page-title {
  font-size: 2rem;
  color: var(--dark);
}

.page-subtitle {
  color: var(--slate);
  font-size: 1.0625rem;
  margin-top: 0.5rem;
}

.content-section {
  padding: 3rem 0;
}

.content-narrow {
  max-width: 720px;
  margin: 0 auto;
}

.content-narrow h2 {
  font-size: 1.375rem;
  color: var(--dark);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content-narrow p,
.content-narrow li {
  color: var(--slate);
  line-height: 1.7;
}

.content-narrow ul {
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

.content-narrow ul li {
  margin-bottom: 0.5rem;
}

.form-section {
  padding: 3rem 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(45, 125, 90, 0.1);
}

.form-success {
  display: none;
  color: var(--sage);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 1rem;
  text-align: center;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.faq-question {
  font-size: 1.0625rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: var(--slate);
  line-height: 1.7;
}

.hiw-steps-section {
  padding: 3rem 0;
}

.hiw-step-row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hiw-step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hiw-step-content h2 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.375rem;
}

.hiw-step-content p {
  color: var(--slate);
  line-height: 1.6;
}

.service-detail-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.services-detail-section {
  padding: 3rem 0;
}

.service-detail-card h2 {
  font-size: 1.25rem;
  color: var(--dark);
}

.service-detail-card p {
  color: var(--slate);
  line-height: 1.6;
}

.provider-feature-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.provider-avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.provider-info h2 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.provider-role {
  color: var(--sage);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.provider-bio {
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.provider-location {
  color: var(--slate);
  font-size: 0.875rem;
  font-weight: 600;
}

.providers-section {
  padding: 3rem 0;
}

.providers-cta-block {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.providers-cta-block h3 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.providers-cta-block p {
  color: var(--slate);
  margin-bottom: 1.5rem;
}

.fp-section {
  padding: 3rem 0;
}

.fp-apply-section {
  background-color: var(--light);
}

.fp-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.fp-step {
  text-align: center;
}

.fp-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.fp-step h3 {
  font-size: 1.0625rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.fp-step p {
  color: var(--slate);
  font-size: 0.9375rem;
  line-height: 1.6;
}

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

  .form-section {
    padding: 4rem 0;
  }

  .hiw-steps-section {
    padding: 4rem 0;
  }

  .services-detail-section {
    padding: 4rem 0;
  }

  .providers-section {
    padding: 4rem 0;
  }

  .fp-section {
    padding: 4rem 0;
  }

  .fp-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.markets-page-section {
  padding: 3rem 0;
}

.markets-coming-section {
  background-color: var(--light);
}

.markets-section-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.market-active-lg {
  border-left: 4px solid var(--sage);
  max-width: 640px;
}

.market-active-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.market-active-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}

.market-services-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.market-services-list li {
  font-size: 0.9375rem;
  color: var(--slate);
  padding-left: 1.25rem;
  position: relative;
}

.market-services-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}

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

.market-page-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.market-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.market-waitlist-count {
  font-size: 0.8125rem;
  color: var(--slate);
}

@media (min-width: 768px) {
  .page-header {
    padding: 4rem 0;
  }

  .page-title {
    font-size: 2.5rem;
  }

  .markets-page-section {
    padding: 4rem 0;
  }

  .market-services-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .markets-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .markets-page-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cta-section {
  background: linear-gradient(135deg, #2D7D5A 0%, #1C6B4A 100%);
  padding: 4rem 0;
  text-align: center;
}

.cta-heading {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 5rem 0;
  }

  .cta-heading {
    font-size: 2.25rem;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(28, 43, 43, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.5rem;
}

.logo {
  color: var(--sage);
  font-weight: 700;
  font-size: 28px;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}

.logo:hover {
  color: var(--sage);
}

.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  color: var(--slate);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--sage);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

.market-select {
  width: auto;
  min-width: 160px;
  padding: 8px 12px;
  font-size: 0.8125rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: var(--white);
  color: var(--dark);
  cursor: pointer;
}

.market-select:focus {
  box-shadow: 0 0 0 3px rgba(45, 125, 90, 0.15);
  border-color: var(--sage);
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background-color: var(--white);
  z-index: 200;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--dark);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.drawer-nav a {
  display: block;
  padding: 1rem 0;
  color: var(--dark);
  font-weight: 600;
  font-size: 1.125rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color 0.2s ease;
}

.drawer-nav a:hover {
  color: var(--sage);
}

.drawer-market {
  margin-top: 1.5rem;
}

.drawer-market label {
  margin-bottom: 8px;
}

.drawer-cta {
  margin-top: 1.5rem;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(28, 43, 43, 0.5);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 900px) {
  .header-nav {
    display: flex;
  }

  .header-actions {
    display: flex;
  }

  .hamburger {
    display: none;
  }
}

.site-main {
  min-height: calc(100vh - 68px);
}

.site-footer {
  background-color: var(--dark);
  color: var(--warm);
  padding: 3rem 0 0;
}

.footer-top {
  margin-bottom: 2.5rem;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  color: var(--warm);
  font-weight: 700;
  font-size: 1.75rem;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-logo:hover {
  color: var(--white);
}

.footer-tagline {
  color: var(--warm);
  font-size: 0.9375rem;
  opacity: 0.8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(245, 240, 232, 0.15);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--warm);
  font-size: 0.875rem;
  opacity: 0.75;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  opacity: 0.6;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--warm);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-legal a:hover {
  opacity: 1;
  color: var(--white);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-brand {
    text-align: left;
  }
}
