/* Elite Surface Solutions - shared styles for every page */
:root {
  --green: #032f1e;
  --green-2: #0b3d2a;
  --gold: #c9a24a;
  --gold-light: #e6c97a;
  --ink: #1d2420;
  --ink-soft: #55605a;
  --paper: #ffffff;
  --cream: #f6f3ec;
  --line: #e4dfd3;
  --radius: 8px;
  --max: 1160px;
  --head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-2); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-cream { background: var(--cream); }
.section-green { background: var(--green); color: #e9efe9; }
.section-green h2, .section-green h3 { color: #fff; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--head); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-green .lead { color: #c9d5cd; }
.gold { color: var(--gold); }

/* Header */
.topbar { background: var(--green); color: #d7e0da; font-size: 0.9rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .social { display: flex; gap: 14px; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green); }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand-name { font-family: var(--head); font-weight: 800; letter-spacing: 0.08em; line-height: 1.05; font-size: 1.05rem; }
.brand-name small { display: block; font-size: 0.62rem; letter-spacing: 0.32em; color: var(--gold); font-weight: 700; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav .btn { color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink);
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; text-align: center; border-bottom: 0; }
  .topbar .hide-sm { display: none; }
}

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  background: var(--gold); color: #fff; font-family: var(--head); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.04em; text-decoration: none; border: 2px solid var(--gold); cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: #b38d36; border-color: #b38d36; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.8); }
.btn-ghost:hover { background: #fff; color: var(--green); border-color: #fff; }
.btn-dark { background: var(--green); border-color: var(--green); }
.btn-dark:hover { background: var(--green-2); border-color: var(--green-2); }

/* Hero */
.hero {
  position: relative; color: #fff; padding: 140px 0 120px;
  background: var(--green) url("/images/projects/kitchen-countertop.jpg") center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(3, 47, 30, 0.92) 0%, rgba(3, 47, 30, 0.75) 45%, rgba(3, 47, 30, 0.25) 100%);
}
.hero .wrap { position: relative; }
.hero h1 { max-width: 760px; }
.hero h1 .gold { display: block; }
.hero .lead { color: #dfe7e1; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.page-hero {
  position: relative; color: #fff; padding: 96px 0 72px;
  background: var(--green) center / cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(3, 47, 30, 0.82); }
.page-hero .wrap { position: relative; }
.page-hero .lead { color: #dfe7e1; }

/* Trust bar */
.trust { background: var(--green-2); color: #fff; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.trust-item { display: flex; align-items: center; gap: 14px; font-family: var(--head); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.trust-item img { width: 40px; height: 40px; object-fit: contain; flex: none; }
@media (max-width: 860px) { .trust .wrap { grid-template-columns: repeat(2, 1fr); } }

/* Services grid */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 22px; }
.card-body p { color: var(--ink-soft); margin: 0; }

/* Service detail rows */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.service:last-child { border-bottom: 0; }
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.service:nth-child(even) .service-media { order: 2; }
.service p { color: var(--ink-soft); }
@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
  .service:nth-child(even) .service-media { order: 0; }
}

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { width: 100%; border-radius: var(--radius); object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.steps { list-style: none; padding: 0; margin: 24px 0 28px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; gap: 14px; align-items: center; padding: 10px 0; font-family: var(--head); font-weight: 600; }
.steps li::before {
  content: counter(step); width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold); color: #fff; font-weight: 700;
}

/* Quote */
.quote { font-family: var(--head); font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 600; line-height: 1.35; max-width: 820px; margin: 0 auto; }
.quote::before { content: "\201C"; display: block; font-size: 4rem; line-height: 0.6; color: var(--gold); margin-bottom: 16px; }

/* Gallery */
.gallery { columns: 3 160px; column-gap: 14px; }
.gallery figure { margin: 0 0 14px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.gallery img { width: 100%; }
.gallery figcaption { padding: 10px 14px; font-size: 0.9rem; color: var(--ink-soft); }

/* Brands */
.brands { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; margin-top: 32px; }
.brands a, .brands span { display: block; opacity: 0.85; transition: opacity 0.15s; }
.brands a:hover { opacity: 1; }
.brands img { height: 40px; width: auto; }

/* CTA band */
.cta { background: var(--gold); color: #fff; padding: 56px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta h2 { margin: 0; color: #fff; }
.cta p { margin: 6px 0 0; color: #fff8e6; }

/* Contact */
.contact-grid { display: grid; gap: 48px; grid-template-columns: 3fr 2fr; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.form label { font-weight: 600; display: block; margin-bottom: 6px; font-size: 0.95rem; }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 14px; font: inherit; border: 1px solid #cfc9bb; border-radius: var(--radius); background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form textarea { min-height: 140px; resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; }
.radio { display: flex; gap: 20px; flex-wrap: wrap; }
.radio label { font-weight: 400; display: flex; gap: 8px; align-items: center; }
.radio input { width: auto; }
.form-status { grid-column: 1 / -1; margin: 0; font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.contact-card { background: var(--green); color: #e9efe9; border-radius: var(--radius); padding: 32px; }
.contact-card h3 { color: #fff; }
.contact-card a { color: #fff; }
.contact-card dl { margin: 0; }
.contact-card dt { font-family: var(--head); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-top: 18px; }
.contact-card dd { margin: 4px 0 0; font-size: 1.05rem; }

/* Legal text */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 40px; }
.legal h3 { font-size: 1.1rem; margin-top: 28px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 0.98rem; }

/* Footer */
.site-footer { background: #021f14; color: #b9c6be; padding: 64px 0 28px; font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-logo { width: 150px; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #173a2c; margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.85rem; }
.topbar .social { align-items: center; }
.topbar .ig { display: inline-flex; align-items: center; color: #fff; }
.topbar .ig:hover { color: var(--gold-light); }

/* Keep phone numbers and email addresses on one line */
a[href^="tel:"], a[href^="mailto:"] { white-space: nowrap; }
