:root {
  --cream: #fbf4ea;
  --cream-2: #f5e9d9;
  --sand: #ecdcc6;
  --brown: #6b4228;
  --brown-deep: #3d2718;
  --brown-900: #2b1d14;
  --caramel: #c47a3d;
  --caramel-soft: #e0a468;
  --text: #3a2a1e;
  --muted: #8a7261;
  --white: #fffdf9;
  --radius: 18px;
  --shadow: 0 18px 44px -22px rgba(61, 39, 24, 0.45);
  --container: 1180px;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--brown-deep);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 0.9rem;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section__head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.section__lead {
  color: var(--muted);
  margin-top: 0.9rem;
  font-size: 1.05rem;
}

.muted {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.85em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}

.btn--primary {
  background: var(--brown);
  color: var(--white);
  box-shadow: 0 12px 24px -12px rgba(107, 66, 40, 0.8);
}

.btn--primary:hover {
  background: var(--brown-deep);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--brown);
  border-color: rgba(107, 66, 40, 0.35);
}

.btn--ghost:hover {
  background: var(--brown);
  color: var(--white);
  border-color: var(--brown);
}

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

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 244, 234, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(107, 66, 40, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--brown);
  font-weight: 800;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brown);
  color: var(--caramel-soft);
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.logo--light {
  color: var(--cream);
}

.logo--light .logo__mark {
  background: var(--caramel);
  color: var(--brown-900);
}

.nav {
  display: flex;
  gap: 1.9rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a {
  position: relative;
  color: var(--text);
  padding-block: 0.3rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--caramel);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(107, 66, 40, 0.25);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--brown-deep);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0 1.25rem 1.4rem;
  border-bottom: 1px solid rgba(107, 66, 40, 0.1);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid rgba(107, 66, 40, 0.08);
  font-weight: 600;
}

.mobile-nav .btn {
  margin-top: 0.9rem;
  border-bottom: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% 18%, rgba(224, 164, 104, 0.5), transparent 60%),
    radial-gradient(800px 480px at 8% 92%, rgba(236, 220, 198, 0.9), transparent 65%),
    linear-gradient(160deg, #fdf8f1 0%, #f6e8d5 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 7vw, 6rem);
}

.hero__content h1 em {
  font-style: italic;
  color: var(--caramel);
}

.hero__lead {
  max-width: 40ch;
  margin-top: 1.3rem;
  font-size: 1.08rem;
  color: #5c4635;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.2rem);
  margin-top: 2.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(107, 66, 40, 0.16);
}

.hero__stats dt {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--brown);
}

.hero__stats dd {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero__art {
  display: grid;
  place-items: center;
  min-height: 320px;
}

/* CSS coffee cup */
.cup {
  position: relative;
  width: min(320px, 68vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: float 6s ease-in-out infinite;
}

.cup__body {
  position: absolute;
  top: 33%;
  left: 50%;
  transform: translateX(-50%);
  width: 62%;
  height: 42%;
  background: linear-gradient(150deg, #fffdf9 0%, #efe0cb 100%);
  border-radius: 14% 14% 46% 46% / 12% 12% 78% 78%;
  box-shadow: inset -14px -14px 30px rgba(107, 66, 40, 0.16), var(--shadow);
}

.cup__body::before {
  content: "";
  position: absolute;
  top: 6%;
  left: 8%;
  right: 8%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #7a4a2c 0%, #4d2d1a 72%);
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.35), 0 0 0 5px #f7ecdd;
}

.cup__handle {
  position: absolute;
  top: 42%;
  left: 78%;
  width: 17%;
  height: 21%;
  border: 12px solid #f2e4d2;
  border-left: none;
  border-radius: 0 60% 60% 0 / 0 50% 50% 0;
  box-shadow: 4px 6px 12px rgba(107, 66, 40, 0.12);
}

.cup__saucer {
  position: absolute;
  top: 73%;
  left: 50%;
  transform: translateX(-50%);
  width: 86%;
  height: 12%;
  border-radius: 50%;
  background: linear-gradient(180deg, #fdf7ee 0%, #e3cfb4 100%);
  box-shadow: 0 22px 28px -16px rgba(61, 39, 24, 0.55);
}

.cup__steam {
  position: absolute;
  top: 13%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
}

.cup__steam span {
  width: 10px;
  height: 62px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(196, 122, 61, 0) 0%, rgba(196, 122, 61, 0.4) 60%, rgba(196, 122, 61, 0) 100%);
  filter: blur(2px);
  animation: steam 3.4s ease-in-out infinite;
}

.cup__steam span:nth-child(2) {
  animation-delay: 0.7s;
  height: 76px;
}

.cup__steam span:nth-child(3) {
  animation-delay: 1.4s;
}

@keyframes steam {
  0% { transform: translateY(10px) scaleX(1); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translateY(-26px) scaleX(1.5); opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Menu ---------- */
.menu {
  background: var(--cream);
}

.menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.card {
  position: relative;
  padding: 1.8rem 1.7rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(107, 66, 40, 0.1);
  box-shadow: 0 14px 34px -26px rgba(61, 39, 24, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 164, 104, 0.25), transparent 70%);
  transition: transform 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(196, 122, 61, 0.5);
}

.card:hover::after {
  transform: scale(1.25);
}

.card__icon {
  font-size: 1.7rem;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--cream-2);
  margin-bottom: 1.2rem;
}

.card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--caramel);
  white-space: nowrap;
}

.card p {
  font-size: 0.95rem;
  color: var(--muted);
}

.tag {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.28rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown);
  background: var(--sand);
  border-radius: 999px;
}

/* ---------- About ---------- */
.about {
  background:
    radial-gradient(700px 400px at 85% 10%, rgba(224, 164, 104, 0.25), transparent 60%),
    var(--cream-2);
}

.about__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about__art {
  position: relative;
  aspect-ratio: 1;
  border-radius: 28px;
  background:
    radial-gradient(circle at 35% 30%, #fff6e8, transparent 55%),
    linear-gradient(145deg, #d9b48a, #8a5a38);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.bean {
  position: absolute;
  width: 74px;
  height: 100px;
  border-radius: 50% / 42%;
  background: linear-gradient(150deg, #4a2c1a, #2b1a10);
  box-shadow: inset -6px -8px 16px rgba(0, 0, 0, 0.45);
}

.bean::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  width: 4px;
  height: 84%;
  transform: translateX(-50%) rotate(6deg);
  border-radius: 4px;
  background: #a06e45;
  opacity: 0.65;
}

.bean--1 { top: 18%; left: 20%; transform: rotate(-24deg); }
.bean--2 { top: 44%; left: 46%; transform: rotate(18deg) scale(1.15); }
.bean--3 { top: 62%; left: 22%; transform: rotate(-8deg) scale(0.85); }

.about__list {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.7rem;
}

.about__list li {
  position: relative;
  padding-left: 1.9rem;
  font-weight: 500;
}

.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--caramel);
  box-shadow: 0 0 0 4px rgba(196, 122, 61, 0.2);
}

/* ---------- Booking ---------- */
.booking {
  background: var(--cream);
}

.booking__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}

.booking__info {
  margin-top: 2rem;
  display: grid;
  gap: 1.1rem;
}

.booking__info li {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(107, 66, 40, 0.14);
  font-weight: 600;
}

.booking__info li span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.form {
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border-radius: 24px;
  background: var(--white);
  border: 1px solid rgba(107, 66, 40, 0.1);
  box-shadow: var(--shadow);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brown-deep);
}

.field input,
.field select {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border: 1.5px solid rgba(107, 66, 40, 0.22);
  background: var(--cream);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  width: 100%;
}

.field input::placeholder {
  color: #b09a86;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--caramel);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(196, 122, 61, 0.16);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: #c0392b;
}

.error {
  min-height: 1rem;
  font-size: 0.78rem;
  color: #c0392b;
  font-weight: 600;
}

.form__note {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.form__success {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: #e8f3e4;
  color: #34572a;
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--brown-900);
  color: #e9dccd;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.9fr;
  gap: 2.2rem;
  padding-bottom: 2.5rem;
}

.footer__brand p {
  margin-top: 1rem;
  max-width: 26ch;
  color: #b9a693;
  font-size: 0.95rem;
}

.footer__col h3 {
  color: var(--caramel-soft);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__col p,
.footer__col address {
  font-style: normal;
  color: #cbb9a6;
  font-size: 0.95rem;
  line-height: 1.9;
}

.footer__col a:hover {
  color: var(--caramel-soft);
}

.footer__social {
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #cbb9a6;
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.footer__social-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: inherit;
}

.footer__social-icon svg {
  display: block;
}

.footer__social a:hover {
  color: var(--caramel-soft);
}

.footer__social a:focus-visible {
  outline: 2px solid var(--caramel-soft);
  outline-offset: 3px;
  color: var(--caramel-soft);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(233, 220, 205, 0.14);
  font-size: 0.85rem;
  color: #a3907e;
}

.footer__bottom a:hover {
  color: var(--caramel-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .menu__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav,
  .header__cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__actions,
  .hero__stats {
    justify-content: center;
  }

  .hero__art {
    order: -1;
    min-height: 260px;
  }

  .cup {
    width: min(240px, 60vw);
  }

  .about__inner,
  .booking__inner {
    grid-template-columns: 1fr;
  }

  .about__art {
    max-width: 380px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 1.6rem, var(--container));
  }

  .menu__grid {
    grid-template-columns: 1fr;
  }

  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .hero__stats {
    gap: 1.4rem 2rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- 404 page ---------- */
.error-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.error-page__main {
  flex: 1 0 auto;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% 18%, rgba(224, 164, 104, 0.5), transparent 60%),
    radial-gradient(800px 480px at 8% 92%, rgba(236, 220, 198, 0.9), transparent 65%),
    linear-gradient(160deg, #fdf8f1 0%, #f6e8d5 100%);
}

.error-page__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: clamp(420px, 62vh, 620px);
  padding-block: clamp(3rem, 8vw, 6rem);
  text-align: center;
}

.error-page__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 18vw, 11rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--brown);
  opacity: 0.9;
}

.error-page__content h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.7rem);
  margin-top: 0.6rem;
}

.error-page__lead {
  max-width: 44ch;
  margin: 1.1rem auto 0;
  font-size: 1.05rem;
  color: #5c4635;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.error-page__art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0.5;
}

.error-page__bean {
  width: clamp(260px, 44vw, 420px);
  aspect-ratio: 1 / 1.35;
  border-radius: 50% / 42%;
  background: linear-gradient(150deg, rgba(196, 122, 61, 0.18), rgba(107, 66, 40, 0.12));
  transform: rotate(24deg);
}

.error-page__bean::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  width: 4px;
  height: 84%;
  transform: translateX(-50%) rotate(6deg);
  border-radius: 4px;
  background: rgba(196, 122, 61, 0.35);
}

.error-page__footer {
  grid-template-columns: 1.4fr 1fr 1fr;
}

@media (max-width: 640px) {
  .error-page__inner {
    min-height: 52vh;
    padding-block: 2.5rem;
  }

  .error-page__actions .btn {
    width: 100%;
  }

  .error-page__lead {
    font-size: 0.98rem;
  }
}
