:root {
  --primary: #e6522c;
  --primary-dark: #c9421f;
  --text: #111111;
  --muted: #6b7280;
  --border: #ececec;
  --surface: #ffffff;
  --surface-alt: #f7f7f7;
  --shadow: 0 20px 45px rgba(17, 17, 17, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
  min-height: 100vh;
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 30px 20px 20px;
  position: relative;
  overflow: hidden;
}

.hero {
  width: min(100%, 900px);
}

.hero-content {
  text-align: center;
  padding: 32px 30px 24px;
  border: 1px solid rgba(236, 236, 236, 0.9);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.eyebrow,
.modal-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin: 0 0 12px;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-copy {
  margin: 8px auto 0;
  max-width: 690px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--muted);
}

.search-card {
  margin: 30px auto 0;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 700px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.04);
}

.search-card input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 10px 8px;
  background: transparent;
  color: var(--text);
}

.search-card input::placeholder {
  color: #9aa2ae;
}

.search-button {
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  padding: 12px 22px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.search-button:hover,
.chip:hover,
.modal-close:hover {
  transform: translateY(-1px);
}

.search-button:hover {
  background: var(--primary-dark);
}

.voiceflow-section {
  width: min(100%, 900px);
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

#voiceflow-chat {
  width: 100%;
  height: 460px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(17, 17, 17, 0.12);
  overflow: hidden;
}

.contact-bar {
  width: min(100%, 900px);
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  padding-top: 8px;
}

.contact-bar p {
  margin: 0;
}

.contact-link {
  color: var(--text);
  text-decoration: none;
}

.contact-link + .contact-link::before {
  content: '·';
  margin: 0 10px;
  color: var(--muted);
}

.instagram-icon {
  display: none;
}

.seo-links {
  margin: 10px auto 0;
  max-width: 760px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
}

.seo-link {
  color: rgba(107, 114, 128, 0.72);
  font-size: 0.82rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
}

.seo-link:hover {
  color: rgba(107, 114, 128, 0.95);
}

.seo-link::after {
  content: '\00b7';
  margin-left: 12px;
  color: rgba(107, 114, 128, 0.45);
}

.seo-link:last-child::after {
  content: '';
  margin-left: 0;
}

.recommended-label {
  margin: 24px 0 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.chip {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.chip:hover {
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.06);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
  z-index: 20;
  animation: fadeIn 0.2s ease;
}

.coupon-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  width: min(92vw, 900px);
  height: min(80vh, 760px);
  max-height: 80vh;
  transform: translate(-50%, -50%) scale(0.96);
  background: var(--surface);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(17, 17, 17, 0.18);
  z-index: 21;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.coupon-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.modal-close {
  border: none;
  background: var(--surface-alt);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.modal-close:hover {
  background: #ececec;
}

.modal-body {
  flex: 1;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
}

#coupon-chat {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: 1px dashed #d4d4d4;
  background: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  body {
    min-height: auto;
    height: auto;
    overflow: visible;
    background: #ffffff;
  }

  .page-shell {
    min-height: auto;
    height: auto;
    overflow: visible;
    padding: 20px 20px 16px;
    gap: 12px;
    justify-content: flex-start;
  }

  .hero-content {
    padding: 28px 16px 20px;
    min-height: auto;
  }

  .search-card {
    flex-direction: column;
    border-radius: 24px;
  }

  .search-card input {
    width: 100%;
  }

  .search-button {
    width: 100%;
  }

  .chip-row {
    gap: 8px;
  }

  .chip {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .chip:nth-child(n+7) {
    display: none;
  }

  .voiceflow-section {
    width: 100%;
    padding: 0;
  }

  #voiceflow-chat {
    height: 340px;
    border-radius: 20px;
  }

  .contact-bar {
    padding: 8px 16px;
    gap: 8px;
    font-size: 0.85rem;
    margin: 0;
  }
}
