/* ==========================================================================
   Drogheda Roofer — dark rust/terracotta theme
   ========================================================================== */
:root {
  --color-bg:        #18100c;  /* deep rust page background           */
  --color-surface:   #27160e;  /* cards, nav, panels                  */
  --color-text:      #f5ebe0;  /* body text                           */
  --color-muted:     #c9a88e;  /* secondary text                      */
  --color-accent:    #c25a2e;  /* terracotta buttons, highlights      */
  --color-accent-dk: #9a451f;  /* terracotta hover state              */
  --color-border:    #462e24;  /* hairlines, dividers                 */
  --radius:          8px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--color-text); }
p  { margin: 0 0 1em; color: var(--color-muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: .75em 1.4em;
  border-radius: var(--radius);
  background: var(--color-accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--color-accent);
  cursor: pointer;
}
.btn:hover { background: var(--color-accent-dk); border-color: var(--color-accent-dk); }
.btn-outline { background: transparent; color: var(--color-accent); border-color: var(--color-accent); }
.btn-outline:hover { background: var(--color-accent); color: #ffffff; }
.btn-sm { padding: .5em 1em; font-size: .9rem; }

/* ---------- nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.brand { font-weight: 800; font-size: 1.25rem; text-decoration: none; color: var(--color-accent); letter-spacing: .04em; }
.nav-links { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-links a { color: var(--color-text); text-decoration: none; }
.nav-links a:hover { color: var(--color-accent); }

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding: 5rem 1.25rem 4rem;
  background: linear-gradient(180deg, var(--color-surface), var(--color-bg));
  border-bottom: 1px solid var(--color-border);
}
.hero-sub { font-size: 1.1rem; max-width: 700px; margin: 0 auto 1.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- sections ---------- */
main { max-width: 1000px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 3.5rem 0; border-bottom: 1px solid var(--color-border); }
.section-sub { font-size: .95rem; color: var(--color-muted); }

/* ---------- service cards ---------- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.service-card {
  padding: 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.service-card h3 { color: var(--color-accent); }
.service-card p { font-size: .95rem; }

/* ---------- reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.review-card {
  margin: 0;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.review-card blockquote { margin: 0 0 1em; font-style: italic; color: var(--color-text); }
.review-card figcaption { font-weight: 600; color: var(--color-accent); }

/* ---------- quote form ---------- */
.quote-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--color-surface);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.quote-form .form-row {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.quote-form label { font-weight: 600; font-size: .9rem; color: var(--color-text); }
.quote-form input, .quote-form select, .quote-form textarea {
  padding: .65rem .85rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
}
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #666; }
.quote-form button { justify-self: start; }

/* ---------- footer ---------- */
footer { background: var(--color-surface); color: var(--color-text); padding: 3rem 1.25rem 1.5rem; border-top: 1px solid var(--color-border); }
.footer-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
footer h3 { color: var(--color-accent); }
footer address { font-style: normal; margin-bottom: 1em; color: var(--color-text); }
.hours { list-style: none; padding: 0; margin: 0 0 1em; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .2em 0; color: var(--color-muted); }
.copyright { text-align: center; margin-top: 2rem; font-size: .85rem; opacity: .6; }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .nav-inner { gap: .5rem; }
  .hero-actions { flex-direction: column; align-items: center; }
}
