/* TLO Basic Site Kit — minimal mobile-first styles.
   No web fonts, no external CSS, no tracking. Kept small on purpose. */

:root {
  --color-primary: #1b6f3c;
  --color-secondary: #0f3d22;
  --color-ink: #1a1a1a;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f6f4;
  --radius: 10px;
  --max-width: 760px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
}

h1, h2 { line-height: 1.2; margin: 0 0 .5rem; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.4rem; margin-top: 0; }

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

.hero {
  background: var(--color-primary);
  color: #fff;
}
.hero .wrap { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.hero h1, .hero .tagline { color: #fff; }
.hero .tagline { opacity: .92; margin-bottom: 1.25rem; }

.cta { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  color: #fff;
}
.btn-whatsapp { background: #25D366; color: #0b3d19; }
.btn-call { background: var(--color-secondary); }

section { padding: 0; }
#services, #hours-location { background: var(--color-bg-alt); }

.services-list, .hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.services-list li, .hours-list li {
  padding: .5rem 0;
  border-bottom: 1px solid #e3e4e1;
}
.services-list li:last-child, .hours-list li:last-child { border-bottom: none; }

/* Products/services with prices — build-time from site.json, refreshed at
   runtime by script.js via /api/items. */
.items-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.item-card {
  border: 1px solid #e3e4e1;
  border-radius: var(--radius);
  padding: 1rem;
  background: #fff;
}
.item-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: .5rem;
}
.item-name { margin: 0 0 .25rem; font-size: 1.05rem; line-height: 1.3; }
.item-price { margin: 0 0 .25rem; font-weight: 600; color: var(--color-primary); }
.item-desc { margin: 0; font-size: .95rem; }

@media (min-width: 640px) {
  .items-grid { grid-template-columns: repeat(2, 1fr); }
}

form { display: flex; flex-direction: column; gap: 1rem; max-width: 480px; }
label { display: flex; flex-direction: column; gap: .35rem; font-size: .95rem; }
input, textarea {
  font: inherit;
  padding: .6rem .7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}
textarea { min-height: 120px; resize: vertical; }

/* Honeypot field: visually hidden, still in the tab/DOM flow for bots that fill every input */
.hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

button[type="submit"] {
  align-self: flex-start;
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}
button[type="submit"]:disabled { opacity: .6; cursor: not-allowed; }

#form-status { font-size: .9rem; min-height: 1.2em; }
#form-status[data-state="ok"] { color: #1b6f3c; }
#form-status[data-state="error"] { color: #b3261e; }

footer {
  text-align: center;
  font-size: .85rem;
  color: #555;
  padding-top: 1rem;
  padding-bottom: 2rem;
}
footer .privacy { max-width: 36rem; margin: .5rem auto 0; }

@media (min-width: 640px) {
  h1 { font-size: 2.4rem; }
}
