/* The Ark Newcastle — Feedback Form (vanilla) */
:root {
  --bg: #2C2C2C;
  --card: #1F1F1F;
  --foreground: #FFFFFF;
  --muted: #CFCFCF;
  --gold: #EAD6AA;
  --gold-2: #D8C08A;
  --border: rgba(234, 214, 170, 0.25);
  --border-soft: rgba(234, 214, 170, 0.20);
  --input-bg: #171717;
  --red: #F87171;
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0
}

body {
  background: var(--bg);
  color: var(--foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  margin: 0
}

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

button {
  font-family: inherit
}

/* Utilities */
.hidden {
  display: none !important
}

.mx-auto {
  margin-left: auto;
  margin-right: auto
}

.flex-1 {
  flex: 1
}

.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent)
}

.gold-gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Animations */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes fade-in {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.fade-up {
  animation: fade-up .8s ease both
}

.fade-in {
  animation: fade-in .9s ease both
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, .7) 50%, var(--bg))
}

.hero-inner {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 6rem;
  text-align: center
}

.logo {
  margin: 0 auto;
  height: 5rem;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(234, 214, 170, .25))
}

.eyebrow {
  margin: 1.5rem 0 0;
  font-size: .75rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(216, 192, 138, .9)
}

.hero-title {
  margin-top: 1rem;
  font-size: 2.5rem;
  line-height: 1.1
}

.hero-sub {
  margin: 1.25rem auto 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7
}

@media(min-width:640px) {
/*   .hero-inner {
    padding: 5rem 1.5rem 8rem
  } */

  .logo {
    height: 6rem
  }

  .hero-title {
    font-size: 3.75rem
  }

  .hero-sub {
    font-size: 1.125rem
  }
}

/* CARD */
.card-wrap {
  position: relative;
  margin-top: -4rem;
  padding: 0 1rem 6rem
}

@media(min-width:640px) {
  .card-wrap {
    margin-top: -5rem;
    padding: 0 1.5rem 6rem
  }
}

.card {
  max-width: 48rem;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
  overflow: hidden;
}

#feedbackForm {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem
}

@media(min-width:640px) {
  #feedbackForm {
    padding: 2.5rem
  }
}

/* Section header */
.form-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem
}

.section-number {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.125rem;
  letter-spacing: .2em
}

.section-title {
  font-size: 1.5rem;
  color: var(--foreground);
  white-space: nowrap
}

@media(min-width:640px) {
  .section-title {
    font-size: 1.875rem
  }
}

.section-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem
}

/* Field */
.field {
  display: block
}

.field-label {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: .5rem;
  font-weight: 500;
  letter-spacing: .02em
}

.field-label .req {
  color: var(--red)
}

.field-label .hint {
  color: rgba(207, 207, 207, .6);
  font-weight: 400
}

.field-hint {
  margin: .5rem 0 0;
  font-size: .75rem;
  color: rgba(207, 207, 207, .7);
  font-style: italic
}

.field-error {
  margin: .5rem 0 0;
  font-size: .75rem;
  color: var(--red);
  min-height: 0;
  display: none
}

.field.has-error .field-error {
  display: block
}

/* Inputs */
.input-luxury {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid rgba(234, 214, 170, .2);
  color: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-body);
  transition: all .25s ease;
  outline: none;
}

.input-luxury::placeholder {
  color: rgba(207, 207, 207, .5)
}

.input-luxury:hover {
  border-color: rgba(234, 214, 170, .4);
  background: #1a1a1a
}

.input-luxury:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(234, 214, 170, .15);
  background: #1a1a1a
}

input[type="date"].input-luxury {
  color-scheme: dark
}

.field.has-error .input-luxury {
  border-color: rgba(248, 113, 113, .55)
}

.input-icon-wrap {
  position: relative
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  pointer-events: none;
  display: inline-flex
}

.input-icon svg {
  width: 16px;
  height: 16px
}

.input-luxury.has-icon {
  padding-left: 2.75rem
}

.textarea-wrap {
  position: relative
}

.textarea {
  resize: none;
  padding-bottom: 2rem
}

.char-counter {
  position: absolute;
  bottom: .5rem;
  right: .75rem;
  font-size: .75rem;
  color: rgba(207, 207, 207, .7)
}

/* Card group (selectable) */
.card-group {
  display: grid;
  gap: .75rem
}

.card-group.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.card-group.cols-5 {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

@media(min-width:640px) {
  .card-group.cols-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

@media(min-width:768px) {
  .card-group.cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr))
  }
}

.opt-card {
  background: var(--input-bg);
  border: 1px solid rgba(234, 214, 170, .2);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, .9);
  cursor: pointer;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.opt-card:hover {
  border-color: rgba(234, 214, 170, .5)
}

.opt-card .opt-icon {
  width: 20px;
  height: 20px;
  color: rgba(234, 214, 170, .7);
  transition: color .3s
}

.opt-card:hover .opt-icon {
  color: var(--gold)
}

.opt-card span {
  font-size: .875rem;
  font-weight: 500
}

.opt-card.active {
  background: rgba(234, 214, 170, .08);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(234, 214, 170, .12);
}

.opt-card.active .opt-icon,
.opt-card.active span {
  color: var(--gold)
}

.field.has-error .card-group {
  outline: 1px solid rgba(248, 113, 113, .35);
  outline-offset: 2px;
  border-radius: 14px
}

/* Ratings */
.ratings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem
}

@media(min-width:640px) {
  .ratings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

.rating-row {
  background: var(--input-bg);
  border: 1px solid rgba(234, 214, 170, .2);
  border-radius: 12px;
  padding: 1rem;
  transition: border-color .3s;
}

.rating-row.has-error {
  border-color: rgba(229, 72, 77, .5)
}

.rating-row .row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem
}

.rating-row .row-label {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .9)
}

.rating-row .row-label .req {
  color: var(--red);
  margin-left: .25rem
}

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

.star-btn {
  background: none;
  border: 0;
  padding: .25rem;
  cursor: pointer;
  line-height: 0;
  transition: transform .2s
}

.star-btn:hover {
  transform: scale(1.1)
}

.star-btn svg {
  width: 20px;
  height: 20px;
  color: rgba(234, 214, 170, .25);
  fill: transparent;
  transition: color .15s, fill .15s
}

.star-btn.filled svg,
.star-btn.hovered svg {
  color: var(--gold);
  fill: var(--gold)
}

.rating-row .row-error {
  margin: .5rem 0 0;
  font-size: .75rem;
  color: var(--red);
  display: none
}

.rating-row.has-error .row-error {
  display: block
}

/* Grid 2 col */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem
}

@media(min-width:640px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

/* Submit */
.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #EAD6AA 0%, #D8C08A 100%);
  color: #1F1F1F;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .05em;
  padding: 18px 24px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 10px 30px -10px rgba(234, 214, 170, .4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(234, 214, 170, .55);
  filter: brightness(1.05)
}

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

.submit-btn.as-link {
  margin-top: 1.25rem
}

.submit-desktop {
  display: none;
  padding-top: .5rem
}

@media(min-width:640px) {
  .submit-desktop {
    display: block
  }
}

/* Mobile sticky submit */
.mobile-submit {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  border-top: 1px solid var(--border);
  background: rgba(31, 31, 31, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: .75rem;
}

@media(min-width:640px) {
  .mobile-submit {
    display: none
  }
}

/* Thank you */
.thank-you {
  padding: 2rem;
  text-align: center;
  animation: fade-up .8s ease both
}

@media(min-width:640px) {
  .thank-you {
    padding: 3.5rem
  }
}

.thanks-badge {
  margin: 0 auto;
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  border: 1px solid rgba(234, 214, 170, .4);
  background: radial-gradient(circle at center, rgba(234, 214, 170, .15), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.thanks-title {
  margin-top: .75rem;
  font-size: 1.875rem
}

@media(min-width:640px) {
  .thanks-title {
    font-size: 3rem
  }
}

.thanks-sub {
  margin: 1.25rem auto 0;
  max-width: 32rem;
  color: var(--muted);
  line-height: 1.7
}

.thanks-cta {
  margin: 2.5rem auto 0;
  max-width: 32rem
}

.thanks-box {
  border-radius: 12px;
  padding: 1.5rem;
  background: rgba(234, 214, 170, .04);
  border: 1px solid rgba(234, 214, 170, .25);
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.7;
}

.thanks-box.positive {
  background: rgba(234, 214, 170, .06);
  border-color: rgba(234, 214, 170, .3);
  text-align: left
}

.thanks-box p {
  margin: 0
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(234, 214, 170, .15);
  padding: 2.5rem 1.5rem 6rem;
  text-align: center;
  color: var(--muted);
}

@media(min-width:640px) {
  .site-footer {
    padding-bottom: 2.5rem
  }
}

.footer-logo {
  margin: 0 auto;
  height: 2.5rem;
  width: auto;
  opacity: .8
}

.site-footer p {
  margin: 1rem 0 0;
  font-size: .875rem
}

.site-footer .muted-small {
  font-size: .75rem;
  color: rgba(207, 207, 207, .7);
  margin-top: .25rem
}

