/* Cuinaima — site styles */

:root {
  --ink: #1b1b1b;
  --ink-soft: #5e5e5e;
  --paper: #ffffff;
  --paper-alt: #f6f6f6;
  --brand: #506769;
  --brand-dark: #3b4d4f;
  --accent: #c8553d;
  --line: rgba(0, 0, 0, 0.1);
  --radius: 6px;
  --max: 1160px;
  --font-head: "League Spartan", Arial, Helvetica, sans-serif;
  --font-body: "Lato", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

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

a { color: var(--brand); }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
.section--alt { background: var(--paper-alt); }
.section--dark { background: var(--brand-dark); color: #fff; }
.section--dark a { color: #fff; }

.section-title { text-align: center; margin-bottom: 48px; }
.section-title p { color: var(--ink-soft); max-width: 640px; margin: 0 auto; }
.section--dark .section-title p { color: rgba(255, 255, 255, 0.85); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--brand);
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn--light { background: transparent; color: #fff; border-color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--whatsapp { background: #25d366; border-color: #25d366; }
.btn--whatsapp:hover { background: #1da851; border-color: #1da851; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-decoration: none;
}

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: block;
  padding: 8px 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: var(--radius);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); background: var(--paper-alt); }

.nav .has-sub { position: relative; }
.nav .sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.nav .has-sub:hover .sub,
.nav .has-sub:focus-within .sub { display: flex; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; }
  .nav .sub {
    display: flex;
    position: static;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 16px;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
}
.hero .container { position: relative; }
.hero p { font-size: 1.2rem; max-width: 560px; margin: 0 0 28px; }
.hero--page { min-height: 46vh; }

/* Cards */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
}
a.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-body p { color: var(--ink-soft); margin: 0 0 16px; }
.card-link {
  margin-top: auto;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

/* Split text/image */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse > :first-child { order: 0; }
}

.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.prose { max-width: 760px; margin: 0 auto; }

/* Gallery */
.gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

/* Products */
.coffee-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.coffee {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.coffee h3 { display: flex; justify-content: space-between; gap: 8px; }
.coffee h3 small { font-family: var(--font-body); font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; }
.coffee dl { margin: 0 0 12px; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: 0.95rem; }
.coffee dt { color: var(--ink-soft); }
.coffee dd { margin: 0; }
.coffee .score {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border-radius: 99px;
  padding: 2px 10px;
  font-size: 0.85rem;
}
.coffee p { margin: 10px 0 0; font-size: 0.95rem; color: var(--ink-soft); }

.price { font-family: var(--font-head); font-weight: 700; color: var(--accent); white-space: nowrap; }

.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list li { padding: 10px 0; border-bottom: 1px dashed var(--line); }

/* Video */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Partner logos */
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.logos img { height: 64px; width: auto; object-fit: contain; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 0;
  font-size: 0.9rem;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.social { display: flex; flex-wrap: wrap; gap: 16px; }
