:root {
  --ib-bg: #faf7f2;
  --ib-surface: #ffffff;
  --ib-surface-tint: #f4efea;
  --ib-dark: #1b1917;
  --ib-dark-soft: #292524;
  --ib-text: #1c1917;
  --ib-text-muted: #78716c;
  --ib-bronze: #a3704c;
  --ib-bronze-dark: #845534;
  --ib-gold: #c59b63;
  --ib-border: rgba(27, 25, 23, 0.08);
  --ib-border-strong: rgba(27, 25, 23, 0.18);
  --ib-font-heading: "Playfair Display", Georgia, serif;
  --ib-font-body:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --ib-font-mono: "Space Mono", monospace;
}

body {
  background-color: var(--ib-bg);
  color: var(--ib-text);
  font-family: var(--ib-font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ib-font-heading);
  font-weight: 600;
  color: var(--ib-dark);
  letter-spacing: -0.02em;
}

.ib-bg-primary {
  background-color: var(--ib-bg);
}
.ib-bg-surface {
  background-color: var(--ib-surface);
}
.ib-bg-tint {
  background-color: var(--ib-surface-tint);
}
.ib-bg-dark {
  background-color: var(--ib-dark);
  color: #faf7f2;
}

.ib-text-bronze {
  color: var(--ib-bronze);
}
.ib-text-gold {
  color: var(--ib-gold);
}
.ib-text-muted {
  color: var(--ib-text-muted);
}

.ib-border {
  border: 1px solid var(--ib-border);
}
.ib-border-top {
  border-top: 1px solid var(--ib-border);
}
.ib-border-bottom {
  border-bottom: 1px solid var(--ib-border);
}

.ib-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--ib-dark);
  color: #faf7f2;
  padding: 0.85rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--ib-dark);
}

.ib-btn-primary:hover {
  background-color: var(--ib-bronze);
  border-color: var(--ib-bronze);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(163, 112, 76, 0.15);
}

.ib-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: transparent;
  color: var(--ib-dark);
  padding: 0.85rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--ib-border-strong);
}

.ib-btn-outline:hover {
  background-color: var(--ib-dark);
  color: #faf7f2;
  border-color: var(--ib-dark);
  transform: translateY(-2px);
}

.ib-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 9999px;
  background: rgba(163, 112, 76, 0.1);
  color: var(--ib-bronze-dark);
  border: 1px solid rgba(163, 112, 76, 0.2);
}

.ib-section-header {
  margin-bottom: 3.5rem;
}

.ib-section-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.ib-section-header p {
  color: var(--ib-text-muted);
  font-size: 1.125rem;
  max-width: 680px;
  margin: 0 auto;
}

.ib-card {
  background: var(--ib-surface);
  border: 1px solid var(--ib-border);
  border-radius: 8px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.ib-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(27, 25, 23, 0.06);
  border-color: var(--ib-border-strong);
}

.ib-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.ib-bento-grid > * {
  width: auto;
  max-width: none;
  flex: initial;
}

@media (min-width: 992px) {
  .ib-bento-grid .col-lg-12 {
    grid-column: span 12;
  }
  .ib-bento-grid .col-lg-8 {
    grid-column: span 8;
  }
  .ib-bento-grid .col-lg-6 {
    grid-column: span 6;
  }
  .ib-bento-grid .col-lg-4 {
    grid-column: span 4;
  }
  .ib-bento-grid .col-lg-3 {
    grid-column: span 3;
  }
}

.ib-marquee {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  user-select: none;
}

.ib-marquee-inner {
  display: flex;
  gap: 2rem;
  animation: ibMarquee 30s linear infinite;
}

@keyframes ibMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ib-dish-card {
  cursor: pointer;
  border: 1px solid var(--ib-border);
  background: var(--ib-surface);
  border-radius: 8px;
  padding: 1.25rem;
  transition: all 0.25s ease;
}

.ib-dish-card.active,
.ib-dish-card:hover {
  border-color: var(--ib-bronze);
  background: #fffdfc;
  box-shadow: 0 8px 24px rgba(163, 112, 76, 0.08);
}

.ib-dish-preview {
  position: sticky;
  top: 6rem;
  background: var(--ib-surface);
  border: 1px solid var(--ib-border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(27, 25, 23, 0.05);
}

.ib-form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  background: var(--ib-surface);
  border: 1px solid var(--ib-border-strong);
  border-radius: 4px;
  color: var(--ib-dark);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.ib-form-control:focus {
  outline: none;
  border-color: var(--ib-bronze);
  box-shadow: 0 0 0 3px rgba(163, 112, 76, 0.15);
}

.ib-form-control.is-invalid {
  border-color: #dc2626;
  background-color: #fef2f2;
}

.ib-spinner {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: ibSpin 0.8s linear infinite;
}

@keyframes ibSpin {
  to {
    transform: rotate(360deg);
  }
}

.ib-toast {
  display: none;
  padding: 1rem 1.5rem;
  background: #065f46;
  color: #ffffff;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-top: 1rem;
  animation: ibFadeIn 0.3s ease;
}

@keyframes ibFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ib-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ib-border);
}

.ib-header-top {
  background: var(--ib-dark);
  color: rgba(250, 247, 242, 0.8);
  font-size: 0.8rem;
  padding: 0.4rem 0;
}

.ib-nav-link {
  color: var(--ib-dark);
  font-weight: 500;
  font-size: 0.925rem;
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.ib-nav-link:hover,
.ib-nav-link.active {
  color: var(--ib-bronze);
}

.ib-mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--ib-surface);
  z-index: 1100;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.ib-mobile-drawer.active {
  right: 0;
}

.ib-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ib-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.ib-footer {
  background: #141210;
  color: #d6d3d1;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ib-footer a {
  color: #a8a29e;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ib-footer a:hover {
  color: #faf7f2;
}

.ib-cookie-card {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 520px;
  margin-left: auto;
  z-index: 99999;
  background: var(--ib-surface);
  border: 1px solid var(--ib-border-strong);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.ib-tab-btn {
  background: transparent;
  border: 1px solid var(--ib-border-strong);
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ib-text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ib-tab-btn.active,
.ib-tab-btn:hover {
  background: var(--ib-dark);
  color: #ffffff;
  border-color: var(--ib-dark);
}

@media (max-width: 991px) {
  .ib-bento-grid {
    grid-template-columns: 1fr;
  }
  .ib-bento-grid .col-lg-12,
  .ib-bento-grid .col-lg-8,
  .ib-bento-grid .col-lg-6,
  .ib-bento-grid .col-lg-4,
  .ib-bento-grid .col-lg-3 {
    grid-column: span 1;
  }
  html{max-width: 100%; overflow-x:hidden}
}
