@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --ink: #1e2a2f;
  --deep: #16323d;
  --sea: #1f4a5c;
  --coral: #d96b4e;
  --coral-dark: #b85036;
  --sand: #f4ede2;
  --sand-2: #e9dfd0;
  --sage: #6b8f7e;
  --white: #fdfbf7;
  --muted: #6d7a7e;
  --border: rgba(30, 42, 47, 0.12);
  --shadow: 0 18px 48px rgba(22, 50, 61, 0.10);
  --radius: 18px;
  --radius-sm: 10px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--deep);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1.1em; }

.wrap { width: min(1180px, 92%); margin-inline: auto; }
.wrap-narrow { width: min(760px, 92%); margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-dark); }
.btn-ghost { border-color: var(--deep); color: var(--deep); background: transparent; }
.btn-ghost:hover { background: var(--deep); color: var(--white); }
.btn-sand { background: var(--sand); color: var(--deep); }
.btn-sand:hover { background: var(--sand-2); }
.btn[disabled] { opacity: .4; pointer-events: none; }

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.9rem 0;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--deep);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.logo span { font-family: var(--font-sans); font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--coral); }
.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a { font-size: .88rem; font-weight: 500; color: var(--ink); position: relative; padding: .3em 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--coral); transition: width .25s ease; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 0.8rem; }
.cart-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  background: var(--deep);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: .65em 1.1em;
  font-size: .85rem;
  font-weight: 600;
}
.cart-count {
  position: absolute;
  top: -7px;
  right: -6px;
  background: var(--coral);
  color: #fff;
  font-size: .65rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
}
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--deep); }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 6rem 0 4rem;
  overflow: hidden;
  background: var(--deep);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,50,61,.18) 0%, rgba(22,50,61,.82) 78%, var(--deep) 100%),
    url('../img/bg.jpg') center/cover no-repeat;
}
.hero-inner { position: relative; z-index: 2; color: var(--white); max-width: 760px; }
.hero-inner h1 { color: var(--white); }
.hero-inner p { font-size: 1.12rem; color: rgba(253,251,247,.82); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  border: 1px solid rgba(253,251,247,.25);
  border-radius: 999px;
  padding: .45em 1em;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  color: var(--sand);
}

/* Sections */
.section { padding: 6rem 0; }
.section-tight { padding: 4rem 0; }
.section-sand { background: var(--sand); }
.section-deep { background: var(--deep); color: var(--white); }
.section-deep h2, .section-deep h3 { color: var(--white); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-body h2 { margin-bottom: .5em; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { height: 220px; object-fit: cover; width: 100%; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; }
.card-body h3 { font-size: 1.25rem; margin-bottom: .4em; }
.card-body p { font-size: .93rem; color: var(--muted); margin-bottom: 0; }

/* Menu */
.menu-section { padding: 4rem 0; }
.menu-category { margin-bottom: 4rem; }
.menu-category h2 { border-bottom: 2px solid var(--coral); padding-bottom: .4em; display: inline-block; }
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.4rem;
  padding: 1.2rem 0;
  border-bottom: 1px dashed var(--border);
}
.menu-item-info { flex: 1; }
.menu-item-info h3 { font-size: 1.1rem; margin-bottom: .2em; }
.menu-item-info p { font-size: .88rem; color: var(--muted); margin: 0; }
.menu-item-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.menu-price { font-weight: 600; color: var(--deep); font-size: .98rem; white-space: nowrap; }
.add-btn {
  background: var(--deep);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: .55em 1.1em;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background .2s ease;
}
.add-btn:hover { background: var(--coral); }

/* Cart drawer */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(22,50,61,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  z-index: 90;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: var(--white);
  box-shadow: -20px 0 60px rgba(22,50,61,.18);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--border);
}
.cart-head h3 { margin: 0; font-size: 1.15rem; }
.cart-close { background: none; border: none; font-size: 1.4rem; color: var(--muted); }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }
.cart-empty { text-align: center; color: var(--muted); padding: 3rem 1rem; font-size: .95rem; }
.cart-line { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--border); }
.cart-line-info { flex: 1; }
.cart-line-info strong { display: block; font-size: .92rem; }
.cart-line-info small { color: var(--muted); font-size: .78rem; }
.qty-controls { display: flex; align-items: center; gap: .5rem; margin-top: .4rem; }
.qty-controls button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border); background: var(--white); font-size: .9rem; line-height: 1; }
.qty-controls span { font-size: .85rem; min-width: 18px; text-align: center; }
.cart-line-price { font-weight: 600; font-size: .92rem; white-space: nowrap; }
.cart-foot { padding: 1.2rem 1.4rem 1.6rem; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 1rem; }
.cart-foot .btn { width: 100%; justify-content: center; }

/* Forms */
.form-grid { display: grid; gap: 1.2rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .4em; letter-spacing: .03em; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .85em 1em;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--coral); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .78rem; color: var(--muted); }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1.2rem; bottom: 1.2rem;
  max-width: 380px;
  background: var(--deep);
  color: var(--white);
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 120;
  font-size: .82rem;
  line-height: 1.5;
  transform: translateY(140%);
  transition: transform .4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { margin: 0 0 .8rem; color: rgba(253,251,247,.8); }
.cookie-banner .btn { font-size: .78rem; padding: .5em 1.1em; }

/* Footer */
.site-footer { background: var(--deep); color: rgba(253,251,247,.75); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .logo { color: var(--white); margin-bottom: .8rem; }
.footer-brand p { font-size: .86rem; max-width: 280px; }
.footer-col h4 { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); margin-bottom: 1.1em; }
.footer-col a { display: block; font-size: .86rem; padding: .28em 0; color: rgba(253,251,247,.68); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(253,251,247,.12); margin-top: 3rem; padding-top: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .75rem; }

/* Page hero */
.page-hero {
  background: var(--deep);
  color: var(--white);
  padding: 5rem 0 3.5rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: .3em; }
.page-hero p { color: rgba(253,251,247,.72); max-width: 620px; margin-inline: auto; }

/* Legal / prose */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose p, .prose li { color: #3d4a4f; }

/* Order confirmed */
.confirm-box {
  max-width: 620px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.confirm-number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--coral);
  margin: .4em 0 .2em;
}

@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split.reverse .split-media { order: 0; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: .5rem 5%;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 30px rgba(22,50,61,.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .9rem 0; width: 100%; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: none; }
  .menu-toggle { display: block; }
  .header-actions .btn-ghost { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .menu-item { flex-direction: column; gap: .6rem; }
  .menu-item-actions { width: 100%; justify-content: space-between; }
  .cookie-banner { left: .8rem; right: .8rem; bottom: .8rem; max-width: none; }
}