/* ---------- Brand tokens ---------- */
:root {
  --blue: #1e8fcf;
  --blue-dark: #186a9a;
  --green: #8cc63f;
  --green-dark: #6ea52d;
  --charcoal: #2a2a2a;
  --grey-50: #f4f6f8;
  --grey-200: #dde3e8;
  --white: #ffffff;
  --max-w: 1180px;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(0,0,0,0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

body {
  font-family: var(--font);
  color: var(--charcoal);
  line-height: 1.55;
  background: var(--white);
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--blue-dark); }
h3 { font-size: 1.25rem; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }
.section--alt { background: var(--grey-50); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: background 0.15s;
}
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-dark); text-decoration: none; }
.btn--secondary { background: var(--blue); color: var(--white); }
.btn--secondary:hover { background: var(--blue-dark); text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  position: sticky; top: 0; z-index: 10;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.75rem; padding-bottom: 0.75rem;
}
.site-header .logo img { height: 52px; width: auto; }
.site-nav ul {
  display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  color: var(--charcoal); font-weight: 500;
}
.site-nav a.active { color: var(--blue); }
.nav-toggle {
  display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer;
}
.header-phone { color: var(--charcoal); font-weight: 600; margin-left: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 460px;
  display: flex; align-items: center;
  background: linear-gradient(rgba(30,143,207,0.55), rgba(140,198,63,0.55)),
              url('assets/hero-placeholder.jpg') center/cover no-repeat;
  color: var(--white);
}
.hero .container { padding: 4rem 1.25rem; }
.hero h1 { color: var(--white); max-width: 720px; }
.hero p { font-size: 1.15rem; max-width: 640px; margin-bottom: 1.5rem; }
.hero .btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---------- Feature tiles ---------- */
.tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.tile {
  background: var(--white); border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow);
}
.tile h3 { color: var(--blue); }

/* ---------- Range gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.gallery figure {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--white);
}
.gallery figcaption { padding: 0.75rem 1rem; font-weight: 600; }

/* ---------- Testimonials ---------- */
.quotes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.quote {
  background: var(--white); border-left: 4px solid var(--green);
  padding: 1.25rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow);
}
.quote cite { display: block; margin-top: 0.5rem; color: var(--blue-dark); font-style: normal; font-weight: 600; }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.contact-grid form { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-grid input,
.contact-grid textarea {
  font: inherit; padding: 0.75rem; border: 1px solid var(--grey-200);
  border-radius: var(--radius); width: 100%;
}
.contact-grid textarea { min-height: 140px; resize: vertical; }
.contact-details p { margin: 0.25rem 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal); color: var(--white); padding: 2.5rem 0 1.5rem;
}
.site-footer a { color: var(--green); }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; margin-bottom: 1.5rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem; font-size: 0.9rem; opacity: 0.85;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0.75rem; padding: 1rem 0; }
  .site-header .container { flex-wrap: wrap; }
  .header-phone { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}
