:root {
  --color-bg: #faf6f0;
  --color-ink: #2b2420;
  --color-brand: #6b7f4a;   /* leafy green, "blooms" */
  --color-accent: #a9713f;  /* roasted brown, "beans" */
  --color-card: #ffffff;
  --color-border: #e7ddcf;
  --radius: 14px;
  --max-width: 960px;
  font-size: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: "Segoe UI", "Tahoma", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
}

.site-header {
  padding: 2rem 1.5rem 1rem;
  text-align: center;
}

.site-header .logo {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-brand);
  margin: 0;
}

.site-header .logo span {
  color: var(--color-accent);
}

.site-header .tagline {
  margin: 0.25rem 0 0;
  color: #6b6259;
  font-size: 0.95rem;
}

.lang-switch {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.lang-switch a {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-ink);
  font-size: 0.85rem;
}

.lang-switch a[aria-current="true"] {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
}

.intro {
  max-width: 640px;
  margin: 0.5rem auto 2rem;
  text-align: center;
  color: #4a423a;
  font-size: 1rem;
}

.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.value-prop {
  text-align: center;
  padding: 0.75rem;
}

.value-prop h4 {
  margin: 0 0 0.3rem;
  color: var(--color-brand);
  font-size: 0.95rem;
}

.value-prop p {
  margin: 0;
  font-size: 0.85rem;
  color: #6b6259;
}

.branch-teaser {
  margin-top: 0.5rem !important;
  font-style: italic;
}

.branch-card-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
}

.section-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-ink);
  margin: 2rem 0 1rem;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.branch-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  position: relative;
}

.branch-card:hover {
  box-shadow: 0 6px 18px rgba(43, 36, 32, 0.08);
  transform: translateY(-2px);
}

.branch-card h3 {
  margin: 0 0 0.35rem;
  color: var(--color-brand);
}

.branch-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #6b6259;
}

.brand-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  font-size: 0.85rem;
}

.brand-links a {
  color: #6b6259;
  text-decoration: none;
}

.brand-links a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: #9b8f80;
}

[dir="rtl"] .lang-switch,
[dir="rtl"] .brand-links {
  direction: rtl;
}

.menu-section {
  margin-bottom: 2rem;
}

.menu-section h3 {
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.4rem;
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.menu-item:not(:last-child) {
  border-bottom: 1px dashed var(--color-border);
}

.menu-item-name {
  font-weight: 600;
}

.menu-item-desc {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: #6b6259;
  margin-top: 0.15rem;
}

.menu-item-price {
  white-space: nowrap;
  color: var(--color-brand);
  font-weight: 600;
}

/* Contact form */
.contact-form {
  max-width: 480px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #4a423a;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-card);
  color: var(--color-ink);
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-brand);
  outline-offset: 1px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  background: var(--color-brand);
  color: #fff;
  border: none;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

[dir="rtl"] .contact-form button {
  justify-self: end;
}

.contact-form button:hover {
  opacity: 0.9;
}

.contact-form button:disabled {
  opacity: 0.6;
  cursor: default;
}

.contact-form-error {
  color: #b3432b;
  font-size: 0.85rem;
  display: none;
}

.contact-success {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
  display: none;
}

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

.contact-success .checkmark-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bb-pop 0.4s ease;
}

.contact-success .checkmark-circle svg {
  width: 30px;
  height: 30px;
}

.contact-success .checkmark-circle path {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: bb-draw 0.35s ease 0.25s forwards;
}

.contact-success p {
  color: #4a423a;
}

@keyframes bb-pop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes bb-draw {
  to { stroke-dashoffset: 0; }
}

/* 404 page */
.not-found {
  text-align: center;
  padding: 2rem 1rem 1rem;
}

.not-found .not-found-code {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-brand);
  margin: 0;
}

.not-found p {
  color: #6b6259;
}
