/* Site Rebuild Engine template stylesheet.
 * Deliberately plain: system font stack, light background, one accent
 * color unrelated to Nilo's own brand blue, no gradients, no motion.
 * PLAN.md section 3: this should read as "a normal small business site,"
 * not a piece of creative work.
 */

:root {
  --bg: #faf7f2;
  --text: #26221d;
  --muted: #6b6259;
  --accent: #b5502f;
  --accent-contrast: #ffffff;
  --border: #e6ddd0;
  font-size: 16px;
}

* { box-sizing: border-box; }

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

header.hero {
  padding: 32px 20px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

header.hero.has-image {
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}

header.hero.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.45);
}

header.hero.has-image > * {
  position: relative;
  z-index: 1;
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.tel-link {
  display: inline-block;
  margin-bottom: 16px;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid currentColor;
  padding: 6px 14px;
  border-radius: 999px;
}

.tagline {
  max-width: 32em;
  margin: 0 auto 20px;
  font-size: 1.1rem;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.divider {
  height: 1px;
  background: repeating-linear-gradient(
    to right, var(--border) 0, var(--border) 6px, transparent 6px, transparent 12px
  );
  margin: 0 auto;
  max-width: 200px;
}

section {
  padding: 32px 20px;
  max-width: 720px;
  margin: 0 auto;
}

section h2 {
  font-size: 1.3rem;
  margin: 0 0 20px;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 560px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
}

.service-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-text {
  white-space: pre-line;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gallery-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

blockquote {
  margin: 0 0 20px;
  padding: 0 0 0 16px;
  border-left: 3px solid var(--accent);
}

blockquote p {
  margin: 0 0 6px;
}

blockquote cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-lines p {
  margin: 0 0 8px;
  text-align: center;
}

.contact-lines .label::after {
  content: ": ";
}

.contact-lines .label {
  font-weight: 600;
}
