:root {
  --coffee-950: #0e0a08;
  --coffee-900: #17100c;
  --coffee-800: #2a1a11;
  --coffee-700: #4e321f;
  --coffee-500: #b07a48;
  --coffee-300: #d2b28f;
  --sand-100: #f3eee8;
  --sand-200: #e9dfd4;
  --sand-300: #ded2c4;
  --text-900: #1f1611;
  --text-700: #5d4b3d;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--text-900);
  background: var(--sand-100);
}

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

.container {
  width: min(1240px, 94vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 6, 4, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.brand-mark {
  width: 150px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.brand strong {
  display: block;
  font-size: 30px;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.brand small {
  font-size: 10px;
  letter-spacing: 0.18em;
  opacity: 0.85;
}

.main-nav {
  display: flex;
  gap: 34px;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Segoe UI", Arial, sans-serif;
}

.main-nav a { font-size: 16px; }
.main-nav a:hover { color: var(--coffee-300); }

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header-login {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
}

.header-login.alt {
  border-color: rgba(176, 122, 72, 0.8);
  background: rgba(176, 122, 72, 0.2);
}

.icon-btn {
  min-width: 88px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  position: relative;
  padding: 0 10px;
}

.icon-btn.cart span {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--coffee-500);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: calc(100vh - 88px);
  background: #0f0906 url('/assets/mockup3.png') center 12% / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 3, 2, 0.92) 0%, rgba(10, 6, 4, 0.65) 46%, rgba(10, 6, 4, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 78px;
  padding-bottom: 24px;
}

.hero-text {
  width: min(560px, 95%);
}

.eyebrow {
  margin: 0 0 16px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  letter-spacing: 0.2em;
  color: var(--coffee-300);
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 4.7vw, 74px);
  line-height: 1.02;
  font-weight: 500;
}

.hero h1 span { color: var(--coffee-500); }

.hero p {
  margin: 26px 0 0;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(18px, 1.35vw, 29px);
  line-height: 1.34;
  color: rgba(255, 255, 255, 0.93);
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 28px;
  border-radius: 10px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--coffee-500);
  color: #fff;
}

.btn-primary:hover { background: #9b683e; }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--coffee-500);
}

.hero-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 26px;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
}

.strip-item span {
  width: 30px;
  height: 30px;
  border: 1px solid var(--coffee-500);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--coffee-300);
}

.strip-item strong {
  display: block;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 20px;
}

.strip-item small {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
}

.page-main {
  background: var(--sand-100);
  padding: 60px 0;
}

.section { margin-bottom: 64px; }

.section h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(44px, 3.8vw, 70px);
  font-weight: 500;
}

.heading-line {
  margin: 16px auto 26px;
  width: 66px;
  height: 3px;
  background: var(--coffee-500);
  border-radius: 99px;
}

.cards-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.flavor-card {
  background: #efe8df;
  border: 1px solid var(--sand-300);
  border-radius: 14px;
  padding: 34px 30px;
  text-align: center;
}

.bean {
  margin: 0 auto 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 6px 14px rgba(57, 37, 23, 0.14);
}

.flavor-card h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
}

.flavor-card p {
  margin: 14px 0;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  color: var(--text-700);
  line-height: 1.42;
}

.flavor-card a {
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  color: var(--coffee-700);
  font-size: 17px;
}

.features-band {
  background: linear-gradient(90deg, #093329, #0a2c1f 30%, #0f2c22 60%, #05231a);
  border-radius: 12px;
  padding: 26px 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  color: #fff;
}

.features-band article {
  padding: 10px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.features-band article:last-child { border-right: 0; }

.features-band h4 {
  margin: 0 0 10px;
  font-size: 27px;
  font-weight: 600;
  color: #f1c895;
  font-family: "Segoe UI", Arial, sans-serif;
}

.features-band p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  font-family: "Segoe UI", Arial, sans-serif;
  color: rgba(255, 255, 255, 0.9);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  background: #f5eee6;
  border: 1px solid var(--sand-300);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #dacaba;
}

.product-card h4 {
  margin: 12px 0 6px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 500;
}

.product-card p {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text-700);
  font-size: 15px;
}

.product-card strong {
  margin-top: 12px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 42px;
  color: var(--text-900);
}

.product-card .btn {
  margin-top: 14px;
  width: 100%;
  text-align: center;
  font-size: 16px;
  padding: 12px;
}

.newsletter {
  background: #110b08 url('/assets/mockup3.png') center / cover no-repeat;
  padding: 38px 0;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(245, 194, 138, 0.5);
  border-radius: 14px;
  padding: 20px;
  background: rgba(14, 8, 5, 0.75);
}

.newsletter h3 {
  margin: 0;
  color: #fff;
  font-size: 53px;
  font-weight: 500;
}

.newsletter p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  min-width: 44%;
}

.newsletter-form input,
.newsletter-form button {
  border: 0;
  padding: 14px 16px;
  font-size: 16px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.newsletter-form input {
  flex: 1;
  border-radius: 8px 0 0 8px;
}

.newsletter-form button {
  border-radius: 0 8px 8px 0;
  background: var(--coffee-500);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 1220px) {
  .main-nav { display: none; }
  .brand strong { font-size: 25px; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-three { grid-template-columns: 1fr; }
  .features-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-band article:nth-child(2n) { border-right: 0; }
}

@media (max-width: 840px) {
  .hero { min-height: 560px; background-position: center top; }
  .header-login { display: none; }
  .hero-strip { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .features-band { grid-template-columns: 1fr; }
  .features-band article { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .features-band article:last-child { border-bottom: 0; }
  .newsletter-inner { flex-direction: column; align-items: stretch; }
  .newsletter-form { min-width: 0; width: 100%; }
}
