/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.65rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.25;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--color-stone-900);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--color-stone-800);
  color: #fff;
}

.btn--accent {
  background: var(--color-accent);
  color: var(--color-stone-900);
}

.btn--accent:hover {
  background: var(--color-accent-hover);
  color: var(--color-stone-900);
}

.btn--light {
  background: #fff;
  color: var(--color-stone-900);
  box-shadow: var(--shadow-md);
}

.btn--light:hover {
  background: var(--color-stone-100);
  color: var(--color-stone-900);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--color-ink-strong);
  border-color: var(--color-border);
}

.btn--outline:hover {
  background: var(--color-stone-50);
  border-color: var(--color-stone-300);
  color: var(--color-ink-strong);
}

.btn--lg {
  padding: 1rem 2rem;
  border-radius: var(--radius-xl);
}

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

.btn--icon {
  padding: 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
}

.btn--icon:hover {
  background: var(--color-stone-50);
  color: var(--color-ink-strong);
}

/* Eyebrow / label */
.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
  margin-bottom: var(--space-3);
}

/* Pills / filters */
.pills {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-4);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pills::-webkit-scrollbar {
  display: none;
}

.pill {
  flex-shrink: 0;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  background: var(--color-stone-50);
  color: var(--color-stone-600);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  white-space: nowrap;
}

.pill:hover {
  background: var(--color-stone-100);
}

.pill.is-active,
.pill[aria-pressed="true"] {
  background: var(--color-stone-900);
  color: #fff;
  border-color: var(--color-stone-900);
  box-shadow: var(--shadow-sm);
}

/* Cards */
.menu-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-stone-100);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-lg);
}

.menu-card__media {
  position: relative;
  height: 14rem;
  overflow: hidden;
}

.menu-card__media img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s var(--ease-out);
}

.menu-card:hover .menu-card__media img {
  transform: scale(1.05);
}

.menu-card__price {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-ink-strong);
  box-shadow: var(--shadow-sm);
}

.menu-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-6);
  gap: var(--space-2);
}

.menu-card__title {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.menu-card__desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  flex: 1;
  margin-bottom: var(--space-4);
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-stone-700);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-size: var(--text-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-stone-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: var(--color-error);
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--color-error);
  display: none;
}

.form-hint.is-visible {
  display: block;
}

.form-textarea {
  min-height: 7rem;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2378716c' stroke-width='1.5'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.custom-checkbox {
  appearance: none;
  width: 1.15em;
  height: 1.15em;
  margin: 0.15em 0 0;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--color-stone-300);
  border-radius: var(--radius-sm);
  display: grid;
  place-content: center;
  transition: var(--transition);
}

.custom-checkbox::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em #fff;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.custom-checkbox:checked {
  background: var(--color-stone-900);
  border-color: var(--color-stone-900);
}

.custom-checkbox:checked::before {
  transform: scale(1);
}

.form-row {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Glass panels */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

/* Theme toggle */
.nav__theme {
  position: relative;
  padding: 0.5rem;
  color: var(--color-stone-600);
  border-radius: var(--radius-full);
  transition: color var(--transition), background var(--transition);
}

.nav__theme:hover {
  color: var(--color-ink-strong);
  background: var(--color-stone-100);
}

[data-theme="dark"] .nav__theme:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav__theme .theme-icon-moon {
  display: none;
}

[data-theme="dark"] .nav__theme .theme-icon-sun {
  display: none;
}

[data-theme="dark"] .nav__theme .theme-icon-moon {
  display: block;
}

[data-theme="dark"] .nav__theme {
  color: var(--color-stone-300);
}

/* Dark surfaces */
[data-theme="dark"] body {
  background: var(--color-bg);
  color: var(--color-ink);
}

[data-theme="dark"] .menu-section {
  background: var(--color-bg);
}

[data-theme="dark"] .menu-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .panel,
[data-theme="dark"] .order-summary,
[data-theme="dark"] .faq-item {
  background: var(--color-surface);
  border-color: var(--color-border);
}

[data-theme="dark"] .menu-card__price {
  background: rgba(28, 25, 23, 0.92);
  color: var(--color-ink-strong);
}

[data-theme="dark"] .pill:not(.is-active):not([aria-pressed="true"]) {
  background: var(--color-surface);
  color: var(--color-muted);
  border-color: var(--color-border);
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-textarea {
  background: #141210;
  border-color: var(--color-border);
  color: var(--color-ink-strong);
}

[data-theme="dark"] .payment-box,
[data-theme="dark"] .info-strip {
  background: #141210;
  border-color: var(--color-border);
}

[data-theme="dark"] .testimonial {
  background: #1a1715;
  border-color: var(--color-border);
}

[data-theme="dark"] .btn--outline {
  color: var(--color-ink-strong);
  border-color: var(--color-border);
}

[data-theme="dark"] .btn--outline:hover {
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .btn--primary {
  background: var(--color-accent);
  color: var(--color-stone-900);
}

[data-theme="dark"] .btn--primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-stone-900);
}

[data-theme="dark"] .nav__brand {
  color: var(--color-ink-strong);
}

[data-theme="dark"] .nav__links a {
  color: var(--color-stone-400);
}

[data-theme="dark"] .nav__links a:hover,
[data-theme="dark"] .nav__links a[aria-current="page"] {
  color: var(--color-ink-strong);
}

[data-theme="dark"] .mobile-nav {
  background: rgba(20, 18, 16, 0.98);
}

[data-theme="dark"] .mobile-nav a:hover,
[data-theme="dark"] .mobile-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .story,
[data-theme="dark"] .story__text p {
  color: var(--color-muted);
}

[data-theme="dark"] .custom-checkbox {
  background: #141210;
  border-color: var(--color-border);
}

/* Cart / confirmation helpers */
.fulfillment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.fulfillment__option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.fulfillment__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fulfillment__option.is-active,
.fulfillment__option:has(input:checked) {
  border-color: var(--color-stone-900);
  background: var(--color-stone-900);
  color: #fff;
}

[data-theme="dark"] .fulfillment__option.is-active,
[data-theme="dark"] .fulfillment__option:has(input:checked) {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-stone-900);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0.15rem;
}

.qty-control button {
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-ink);
}

.qty-control button:hover {
  background: var(--color-stone-100);
}

[data-theme="dark"] .qty-control button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.qty-control span {
  min-width: 1.25rem;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 500;
}

.cart-empty {
  text-align: center;
  padding: var(--space-16) var(--space-6);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-2xl);
  background: var(--color-surface);
}

.cart-empty h2 {
  font-size: var(--text-2xl);
  margin: var(--space-4) 0;
}

.cart-empty p {
  color: var(--color-muted);
  margin-bottom: var(--space-6);
}

.confirm-card {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-3xl);
  padding: var(--space-10) var(--space-8);
  box-shadow: var(--shadow-md);
}

.confirm-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto var(--space-6);
  border-radius: var(--radius-full);
  background: var(--color-accent-soft);
  color: var(--color-accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-card__code {
  display: inline-block;
  margin: var(--space-4) 0 var(--space-6);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--color-stone-100);
  font-family: ui-monospace, monospace;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
}

[data-theme="dark"] .confirm-card__code {
  background: #141210;
}

.confirm-details {
  text-align: left;
  margin: var(--space-6) 0;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.confirm-details div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-sm);
  padding: var(--space-2) 0;
}

.confirm-details dt {
  color: var(--color-muted);
}

.confirm-details dd {
  margin: 0;
  font-weight: 500;
  color: var(--color-ink-strong);
  text-align: right;
}

.order-line__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
}

.btn--danger-ghost {
  color: var(--color-error);
  font-size: var(--text-xs);
  padding: 0.25rem;
}

.btn--danger-ghost:hover {
  opacity: 0.8;
}

.success-banner {
  display: none;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-xl);
  background: var(--color-accent-soft);
  color: var(--color-accent-deep);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}

.success-banner.is-visible {
  display: block;
}

[data-theme="dark"] .success-banner {
  color: var(--color-accent-muted);
}

/* Nav */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: var(--space-4);
}

.nav__brand {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--color-ink-strong);
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-8);
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-stone-600);
  transition: color var(--transition);
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--color-ink-strong);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__cart {
  position: relative;
  padding: 0.5rem;
  color: var(--color-stone-600);
}

.nav__cart:hover {
  color: var(--color-ink-strong);
}

.nav__badge {
  position: absolute;
  top: 0.25rem;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  font-size: 0.625rem;
  font-weight: 500;
  color: #fff;
  background: var(--color-accent-deep);
  border-radius: var(--radius-full);
  border: 2px solid #fff;
}

.nav__cta {
  display: none;
}

.nav__toggle {
  display: inline-flex;
  padding: 0.5rem;
  color: var(--color-stone-600);
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }

  .nav__cta {
    display: inline-flex;
  }

  .nav__toggle {
    display: none;
  }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 40;
  background: rgba(250, 250, 249, 0.98);
  backdrop-filter: blur(12px);
  padding: var(--space-8);
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  transform: translateY(-0.5rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.mobile-nav.is-open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav a {
  display: block;
  padding: var(--space-4);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-stone-700);
  border-radius: var(--radius-lg);
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  background: var(--color-stone-100);
  color: var(--color-ink-strong);
}

body.nav-open {
  overflow: hidden;
}

/* Section helpers */
.section {
  padding: var(--space-24) 0;
}

.section--tight {
  padding: var(--space-20) 0;
}

.section--surface {
  background: var(--color-surface);
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto var(--space-16);
}

.section-head h2 {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  margin-bottom: var(--space-4);
}

.section-head p {
  color: var(--color-muted);
  font-size: var(--text-base);
}

/* Special / featured band */
.special {
  background: var(--color-stone-900);
  color: var(--color-stone-50);
  padding: var(--space-20) 0;
}

.special__card {
  position: relative;
  display: grid;
  background: var(--color-stone-800);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .special__card {
    grid-template-columns: 1fr 1fr;
  }
}

.special__content {
  position: relative;
  z-index: 1;
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .special__content {
    padding: var(--space-16);
  }
}

.special__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.special__content h3 {
  color: #fff;
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  margin-bottom: var(--space-4);
}

.special__content p {
  color: var(--color-stone-400);
  margin-bottom: var(--space-8);
  max-width: 28rem;
}

.special__price {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.special__price span {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: #fff;
}

.special__media {
  position: relative;
  min-height: 16rem;
}

.special__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  grid-auto-rows: 12.5rem;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.gallery-item--lg {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

/* Testimonial */
.testimonial {
  background: var(--color-stone-100);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  padding: var(--space-24) 0;
}

.testimonial__quote-icon {
  color: var(--color-accent-muted);
  margin: 0 auto var(--space-6);
}

.testimonial blockquote {
  margin: 0 auto var(--space-8);
  max-width: 56rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--color-ink-strong);
}

.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 0.15rem;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.testimonial__author {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-ink-strong);
}

.testimonial__role {
  font-size: var(--text-xs);
  color: var(--color-muted);
}

/* Footer */
.site-footer {
  background: var(--color-stone-950);
  color: var(--color-stone-400);
  padding: var(--space-20) 0 var(--space-10);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-8);
  }
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #fff;
  display: block;
  margin-bottom: var(--space-6);
}

.footer-about {
  font-size: var(--text-sm);
  max-width: 24rem;
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-4);
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-stone-400);
  transition: var(--transition);
}

.footer-social a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-stone-400);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-stone-500);
}

.footer-bottom a {
  color: var(--color-stone-400);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Toast */
.toast-wrap {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 16rem;
  max-width: 22rem;
  padding: var(--space-4) var(--space-5);
  background: var(--color-stone-900);
  color: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  font-size: var(--text-sm);
  transform: translateY(0.5rem);
  opacity: 0;
  animation: toast-in 0.35s var(--ease-out) forwards;
}

.toast--success {
  border-left: 3px solid var(--color-accent);
}

.toast--error {
  border-left: 3px solid #f87171;
}

@keyframes toast-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(12, 10, 9, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-height: 90vh;
  max-width: 100%;
  border-radius: var(--radius-lg);
}

.lightbox__close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  color: #fff;
  padding: var(--space-2);
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--nav-h) + var(--space-16)) 0 var(--space-16);
  background: var(--color-stone-900);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero--image {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-stone-900), rgba(28, 25, 23, 0.5));
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: var(--space-4);
}

.page-hero p {
  color: var(--color-stone-300);
  max-width: 36rem;
  margin: 0 auto;
  font-weight: 300;
  font-size: var(--text-lg);
}

/* Blog */
.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-stone-100);
  transition: box-shadow 0.3s ease;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
}

.blog-card__media {
  height: 14rem;
  overflow: hidden;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s var(--ease-out);
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.04);
}

.blog-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.blog-card__meta {
  font-size: var(--text-xs);
  color: var(--color-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-card__title {
  font-size: var(--text-xl);
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-muted);
  flex: 1;
}

.prose {
  max-width: 42rem;
  margin: 0 auto;
}

.prose h2 {
  font-size: var(--text-2xl);
  margin: var(--space-10) 0 var(--space-4);
}

.prose p {
  margin-bottom: var(--space-6);
  color: var(--color-stone-600);
  line-height: 1.75;
}

.prose ul {
  margin: 0 0 var(--space-6);
  padding-left: var(--space-6);
  list-style: disc;
  color: var(--color-stone-600);
}

.prose li {
  margin-bottom: var(--space-2);
}

.prose img {
  width: 100%;
  border-radius: var(--radius-2xl);
  margin: var(--space-8) 0;
}

/* FAQ */
.faq-list {
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.faq-item summary {
  padding: var(--space-5) var(--space-6);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: var(--text-xl);
  color: var(--color-muted);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item__body {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.7;
}

/* Stars row */
.stars {
  display: inline-flex;
  color: var(--color-accent);
  gap: 0.1rem;
}

/* Info strip */
.info-strip {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  background: var(--color-stone-50);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
}

@media (min-width: 640px) {
  .info-strip {
    flex-direction: row;
    justify-content: space-between;
  }
}

.info-strip__item h4 {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.info-strip__item h4 .icon {
  color: var(--color-accent-deep);
}

.info-strip__item p {
  font-size: var(--text-sm);
  color: var(--color-stone-600);
}

/* Map */
.map-frame {
  position: relative;
  flex: 1;
  min-height: 16rem;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--color-stone-200);
  border: 1px solid var(--color-border);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.15);
  opacity: 0.85;
}

.map-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-6);
  text-align: center;
  background:
    linear-gradient(135deg, var(--color-stone-200) 25%, transparent 25%) -50px 0,
    linear-gradient(225deg, var(--color-stone-200) 25%, transparent 25%) -50px 0,
    linear-gradient(315deg, var(--color-stone-200) 25%, transparent 25%),
    linear-gradient(45deg, var(--color-stone-200) 25%, transparent 25%);
  background-size: 100px 100px;
  background-color: var(--color-stone-100);
  color: var(--color-stone-600);
  font-size: var(--text-sm);
}

/* Order summary */
.order-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 1024px) {
  .order-summary {
    position: sticky;
    top: calc(var(--nav-h) + var(--space-8));
    padding: var(--space-8);
  }
}

.order-line {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.order-line__thumb {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-stone-100);
}

.order-line__thumb img {
  width: 100%;
  height: 100%;
}

.order-line__meta {
  flex: 1;
}

.order-line__meta h4 {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
}

.order-line__meta p {
  font-size: var(--text-xs);
  color: var(--color-muted);
}

.order-line__price {
  text-align: right;
  font-size: var(--text-sm);
  font-weight: 500;
}

.order-totals {
  border-top: 1px solid var(--color-stone-100);
  padding-top: var(--space-4);
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.order-totals div {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.order-totals__grand {
  border-top: 1px solid var(--color-stone-100);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-totals__grand span:first-child {
  font-weight: 600;
  color: var(--color-ink-strong);
}

.order-totals__grand span:last-child {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-ink-strong);
}

.payment-box {
  background: var(--color-stone-50);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
}

.payment-box__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
}

/* Avatar stack */
.avatar-stack {
  display: flex;
}

.avatar-stack img,
.avatar-stack span {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 2px solid #fff;
  margin-left: -0.75rem;
}

.avatar-stack img:first-child,
.avatar-stack span:first-child {
  margin-left: 0;
}

.avatar-stack span {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-stone-100);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-stone-600);
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  border-left: 2px solid var(--color-border);
  padding-left: var(--space-6);
  margin-top: var(--space-8);
}

.timeline__item {
  position: relative;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1.5rem - 5px);
  top: 0.35rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  border: 2px solid var(--color-bg);
}

.timeline__year {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
  margin-bottom: var(--space-1);
}

.timeline__item h3 {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.timeline__item p {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* Values */
.values-grid {
  display: grid;
  gap: var(--space-8);
}

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

.value-card h3 {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 600;
  margin: var(--space-4) 0 var(--space-2);
}

.value-card p {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.value-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-lg);
  background: var(--color-accent-soft);
  color: var(--color-accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 404 */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + var(--space-16)) var(--space-4) var(--space-16);
}

.error-page__code {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 500;
  color: var(--color-stone-200);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.error-page h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.error-page p {
  color: var(--color-muted);
  margin-bottom: var(--space-8);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

/* Fade-in for hero */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .animate-up {
    animation: fade-in-up 0.8s var(--ease-out) both;
  }

  .delay-1 { animation-delay: 0.1s; }
  .delay-2 { animation-delay: 0.2s; }
  .delay-3 { animation-delay: 0.3s; }
  .delay-4 { animation-delay: 0.4s; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
