:root {
  --coffee: #3a2116;
  --espresso: #160d09;
  --dark: #101010;
  --cream: #fffaf0;
  --warm: #f4ead9;
  --latte: #d8b77e;
  --gold: #d5a93d;
  --gold-light: #eadca9;
  --text: #241913;
  --muted: #705f55;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(35, 20, 12, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 7vw;
  background: rgba(255, 250, 240, 0.97);
  color: var(--coffee);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-bottom: 4px solid var(--gold);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 66px; height: 66px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1; }
.brand-title, h1, .page-header h1, .outline-title {
  font-family: Impact, Haettenschweiler, 'Arial Black', sans-serif;
  letter-spacing: 0.035em; text-transform: uppercase;
}
.brand-title {
  font-size: 1.55rem;
  -webkit-text-stroke: 1px var(--dark);
  color: transparent;
}
.brand-subtitle {
  font-size: 0.78rem; font-weight: 900; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--coffee);
}
.nav-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-weight: 900; color: var(--coffee);
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.92rem;
}
.nav-links a:hover { color: var(--gold); }
.nav-toggle { display: none; background: none; color: var(--coffee); border: 0; font-size: 28px; }

.hero {
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: 92px 7vw;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(22,13,9,.92), rgba(22,13,9,.62) 48%, rgba(22,13,9,.28)),
    url('../img/coffee-hero.jpg') center/cover no-repeat;
  color: var(--white);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0;
  height: 140px;
  background: linear-gradient(transparent, rgba(22,13,9,.72));
  pointer-events: none;
}
.hero-content { max-width: 820px; position: relative; z-index: 1; }
.hero-logo {
  display: block; width: min(560px, 100%); margin: 0 0 28px; padding: 18px;
  border-radius: 28px; background: rgba(255,255,255,0.94); box-shadow: var(--shadow);
}
.eyebrow {
  margin: 0 0 10px; color: var(--gold-light); font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.82rem;
}
h1, h2 { line-height: 1.08; margin: 0 0 16px; }
h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  color: var(--cream); text-shadow: 0 5px 0 rgba(0,0,0,.22);
}
h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.hero-text { max-width: 670px; font-size: 1.2rem; color: #f7ead6; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  display: inline-flex; justify-content: center; align-items: center; min-height: 48px;
  padding: 12px 24px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; font-weight: 900; cursor: pointer;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.btn.primary { background: var(--gold); color: var(--espresso); }
.btn.secondary { border-color: var(--gold-light); color: var(--cream); }
.btn.dark { background: var(--coffee); color: var(--cream); }
.btn:hover { transform: translateY(-1px); }

.image-marquee {
  background: var(--espresso);
  border-top: 5px solid var(--gold);
  border-bottom: 5px solid var(--gold);
  overflow: hidden;
  padding: 22px 0;
}
.marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: scrollGallery 38s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-track img {
  width: 360px; height: 230px; object-fit: cover;
  border-radius: 24px; border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
  filter: saturate(.92) contrast(1.05);
}
@keyframes scrollGallery {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 11px)); }
}

.section { padding: 72px 7vw; }
.section-intro { max-width: 760px; margin-bottom: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card, .service-item, .contact-form {
  background: var(--white); border-radius: 26px; padding: 30px;
  box-shadow: var(--shadow); border: 1px solid rgba(58,33,22,.08);
}
.card.image-card { padding: 0; overflow: hidden; }
.card.image-card img { width: 100%; height: 220px; object-fit: cover; }
.card.image-card div { padding: 26px; }
.card h2, .service-item h2 {
  color: var(--coffee); font-family: Impact, Haettenschweiler, 'Arial Black', sans-serif;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.split {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 34px; align-items: center;
  background:
    linear-gradient(120deg, rgba(22,13,9,.92), rgba(58,33,22,.88)),
    url('../img/coffee-beans.jpg') center/cover no-repeat;
  color: var(--cream); border-top: 5px solid var(--gold);
}

.page-header {
  padding: 82px 7vw 48px;
  background:
    linear-gradient(120deg, rgba(22,13,9,.92), rgba(58,33,22,.78)),
    url('../img/espresso-machine.jpg') center/cover no-repeat;
  color: var(--white);
}
.page-header p { max-width: 720px; color: #f5e7d2; }
.page-header h1 { color: var(--cream); }
.services-list { display: grid; gap: 22px; }
.service-item { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.service-item img { width: 220px; height: 150px; object-fit: cover; border-radius: 20px; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; align-items: start; }
.contact-logo { width: 150px; max-width: 100%; display: block; margin-bottom: 16px; }
.contact-card-photo { margin-top: 22px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.contact-card-photo img { width: 100%; height: 260px; object-fit: cover; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 16px; font-weight: 800; }
input, textarea { width: 100%; border: 1px solid #d8c6b5; border-radius: 14px; padding: 13px 14px; font: inherit; }
.form-note, .site-footer p { color: var(--muted); }
.site-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 34px 7vw; background: var(--coffee); color: var(--cream);
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 74px; height: 74px; object-fit: contain; background: var(--cream); border-radius: 18px; padding: 6px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--latte); }

@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }
@media (max-width: 900px) {
  .grid-3, .split, .contact-grid { grid-template-columns: 1fr; }
  .service-item { grid-template-columns: 1fr; }
  .service-item img { width: 100%; height: 220px; }
}
@media (max-width: 800px) {
  .brand-logo { width: 54px; height: 54px; }
  .brand-title { font-size: 1.2rem; }
  .brand-subtitle { font-size: .65rem; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 82px; left: 0; right: 0; flex-direction: column;
    padding: 22px 7vw; background: var(--cream); border-bottom: 3px solid var(--gold);
  }
  .nav-open .nav-links { display: flex; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .marquee-track img { width: 280px; height: 185px; }
}
