/* =========================================================
   Key Reliable Solutions — Shared Stylesheet
   Brand: green #0E5C2C  /  gold #B0892E  /  cream #F2EEE3
   ========================================================= */

:root {
  --green: #0E5C2C;
  --green-dark: #0a4520;
  --gold: #B0892E;
  --gold-light: #c9a040;
  --cream: #F2EEE3;
  --cream-dark: #e7e1d0;
  --ink: #1c2418;
  --muted: #5a6157;
  --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.15; letter-spacing: -0.01em; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--gold); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ====== Top bar ====== */
.topbar {
  background: var(--green-dark);
  color: var(--cream);
  font-size: 0.875rem;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px; padding-bottom: 8px;
  flex-wrap: wrap; gap: 8px;
}
.topbar a { color: var(--cream); }
.topbar a:hover { color: var(--gold-light); }
.topbar .pipe { opacity: 0.4; margin: 0 10px; }

/* ====== Header / Nav ====== */
header.site {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  position: sticky; top: 0; z-index: 50;
}
header.site .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}

.brand { display: flex; align-items: center; }
.brand-logo {
  display: block;
  width: 300px;
  height: auto;
}

nav.site-nav ul {
  list-style: none; display: flex; gap: 28px; align-items: center;
}
nav.site-nav a {
  color: var(--ink); font-weight: 600; font-size: 0.95rem;
  padding: 8px 0; position: relative;
}
nav.site-nav a:hover { color: var(--green); }
nav.site-nav a[aria-current="page"] {
  color: var(--green);
}
nav.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--gold);
}
nav.site-nav a.btn {
  background: var(--green); color: var(--cream);
  padding: 10px 20px; border-radius: 6px;
  transition: background 0.2s;
}
nav.site-nav a.btn:hover { background: var(--gold); color: var(--white); }
nav.site-nav a.btn::after { display: none; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; color: var(--green);
}

/* ====== Hero ====== */
.hero {
  background:
    linear-gradient(135deg, rgba(14,92,44,0.92) 0%, rgba(10,69,32,0.88) 100%),
    radial-gradient(ellipse at 30% 20%, rgba(176,137,46,0.25), transparent 60%);
  color: var(--cream);
  padding: 96px 0 112px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -60px; bottom: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(176,137,46,0.18), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow {
  color: var(--gold-light); font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; font-size: 0.85rem; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900; max-width: 820px;
  color: var(--white); margin-bottom: 20px;
}
.hero h1 .accent { color: var(--gold-light); }
.hero p.lead {
  font-size: 1.15rem; max-width: 640px; color: #e9e3d0;
  margin-bottom: 36px;
}

/* ====== Page hero (subpages) ====== */
.page-hero {
  background:
    linear-gradient(135deg, rgba(14,92,44,0.95) 0%, rgba(10,69,32,0.92) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(176,137,46,0.22), transparent 60%);
  color: var(--cream);
  padding: 72px 0 80px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero .eyebrow {
  color: var(--gold-light); font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; font-size: 0.85rem; margin-bottom: 14px;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900; color: var(--white);
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 1.1rem; color: #e9e3d0; max-width: 640px;
  margin: 0 auto;
}

/* ====== Buttons ====== */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block; padding: 14px 28px;
  border-radius: 6px; font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.02em; transition: transform 0.15s, background 0.2s, color 0.2s;
  cursor: pointer; border: 0;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--cream);
  border: 2px solid var(--cream); padding: 12px 26px;
}
.btn-ghost:hover { background: var(--cream); color: var(--green-dark); }
.btn-green { background: var(--green); color: var(--cream); }
.btn-green:hover { background: var(--green-dark); color: var(--cream); transform: translateY(-1px); }

/* ====== Hero stats ====== */
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 64px; max-width: 720px;
}
.stat .num {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 2rem; color: var(--gold-light);
}
.stat .lbl { font-size: 0.9rem; color: #d8d2c0; }

/* ====== Section base ====== */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow {
  color: var(--gold); font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; font-size: 0.8rem; margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800;
  color: var(--green-dark); margin-bottom: 16px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ====== Services ====== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 10px; padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(14,92,44,0.25);
  border-color: var(--gold);
}
.service-icon {
  width: 56px; height: 56px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 {
  font-size: 1.15rem; font-weight: 700; margin-bottom: 10px;
  color: var(--green-dark);
}
.service-card p { color: var(--muted); font-size: 0.95rem; }
.service-card ul {
  list-style: none; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--cream-dark);
}
.service-card ul li {
  font-size: 0.85rem; color: var(--muted);
  padding-left: 16px; position: relative; margin-bottom: 4px;
}
.service-card ul li::before {
  content: "▸"; position: absolute; left: 0;
  color: var(--gold); font-weight: 700;
}

/* ====== About ====== */
.about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.about-text h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.3rem); color: var(--green-dark);
  margin-bottom: 18px;
}
.about-text .eyebrow {
  color: var(--gold); font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; font-size: 0.8rem; margin-bottom: 12px;
}
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-features { list-style: none; margin-top: 24px; }
.about-features li {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 14px; color: var(--ink); font-weight: 500;
}
.about-features li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='black'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='black'/></svg>") center/contain no-repeat;
}
.about-card {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: 14px; padding: 40px; color: var(--cream);
  position: relative; overflow: hidden;
}
.about-card::before {
  content: ""; position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(176,137,46,0.18);
}
.about-card h3 {
  font-size: 1.4rem; color: var(--gold-light); margin-bottom: 12px;
  position: relative; z-index: 1;
}
.about-card .area-list {
  list-style: none; margin-top: 18px; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px;
}
.about-card .area-list li {
  color: var(--cream); font-size: 0.95rem;
  padding-left: 18px; position: relative;
}
.about-card .area-list li::before {
  content: "•"; color: var(--gold-light); position: absolute; left: 0;
  font-weight: 800;
}

/* ====== Why Us ====== */
.why { background: var(--cream); }
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.why-item { text-align: center; padding: 24px; }
.why-item .num-badge {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border: 2px solid var(--gold); color: var(--green-dark);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.4rem;
  background: var(--white);
}
.why-item h4 { color: var(--green-dark); margin-bottom: 8px; font-size: 1.05rem; }
.why-item p { color: var(--muted); font-size: 0.92rem; }

/* ====== Testimonials ====== */
.testimonials { background: var(--white); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.testimonial {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 32px 28px; border-radius: 8px;
  display: flex; flex-direction: column;
}
.testimonial .quote-mark {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem; line-height: 0.6; color: var(--gold);
  margin-bottom: 16px; height: 24px;
}
.testimonial blockquote {
  color: var(--ink); font-size: 0.98rem; line-height: 1.65;
  font-style: italic; margin-bottom: 24px; flex: 1;
}
.testimonial .author {
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--cream-dark); padding-top: 18px;
}
.testimonial .avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.05rem;
  flex-shrink: 0;
}
.testimonial .author-info strong {
  display: block; color: var(--green-dark); font-size: 0.95rem;
}
.testimonial .author-info span {
  color: var(--muted); font-size: 0.85rem;
}
.stars {
  color: var(--gold); margin-bottom: 14px; font-size: 1rem; letter-spacing: 2px;
}

/* ====== Photo Gallery ====== */
.gallery { background: var(--cream); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.gallery-item {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -18px rgba(14,92,44,0.25);
}
.gallery-photo {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, var(--gold) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
}
.gallery-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-photo .photo-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12); border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
}
.gallery-photo .photo-icon svg { width: 28px; height: 28px; }
.gallery-photo .ba-pair {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr;
}
.gallery-photo .ba-pair .ba {
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  position: relative;
}
.gallery-photo .ba-pair .before {
  background: linear-gradient(135deg, #6b5e3f 0%, #463a23 100%);
}
.gallery-photo .ba-pair .after {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
}
.gallery-photo .ba-pair .ba::before {
  content: ""; position: absolute; inset: 12px;
  border: 2px dashed rgba(255,255,255,0.3); border-radius: 4px;
}
.gallery-photo .ba-pair .ba span { position: relative; z-index: 1; }
.gallery-info { padding: 20px 22px; }
.gallery-info .tag {
  display: inline-block; background: var(--green-dark); color: var(--gold-light);
  padding: 4px 10px; border-radius: 4px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 10px;
}
.gallery-info h4 { color: var(--green-dark); font-size: 1.05rem; margin-bottom: 6px; }
.gallery-info p { color: var(--muted); font-size: 0.88rem; }

/* ====== Contact / Bid ====== */
.contact {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--cream);
}
.contact .section-head h2 { color: var(--white); }
.contact .section-head p { color: #d8d2c0; }
.contact .section-head .eyebrow { color: var(--gold-light); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start;
}
.contact-info h3 { color: var(--gold-light); margin-bottom: 16px; font-size: 1.2rem; }
.contact-info .info-row {
  display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start;
}
.contact-info .info-icon {
  flex: 0 0 40px; height: 40px; border-radius: 8px;
  background: rgba(176,137,46,0.2); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
}
.contact-info .info-icon svg { width: 20px; height: 20px; }
.contact-info .info-row strong { display: block; color: var(--white); margin-bottom: 2px; font-size: 0.95rem; }
.contact-info .info-row span { color: #d8d2c0; font-size: 0.9rem; }
form.bid-form {
  background: var(--white); border-radius: 12px; padding: 36px;
  color: var(--ink);
}
form.bid-form h3 { color: var(--green-dark); margin-bottom: 8px; }
form.bid-form .lead { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px;
}
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.85rem; color: var(--ink); font-weight: 600; margin-bottom: 6px;
}
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px; border: 1px solid var(--cream-dark); border-radius: 6px;
  font-family: inherit; font-size: 0.95rem; background: var(--cream);
  transition: border-color 0.15s, background 0.15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--green); background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 120px; }
form.bid-form .submit-row { margin-top: 8px; }
form.bid-form button { width: 100%; }

/* ====== CTA strip ====== */
.cta-strip {
  background: var(--gold);
  padding: 56px 0; color: var(--white);
}
.cta-strip .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cta-strip h3 {
  font-size: 1.6rem; color: var(--white);
  font-weight: 800; margin-bottom: 6px;
}
.cta-strip p { color: rgba(255,255,255,0.85); font-size: 0.98rem; }
.cta-strip .btn-green { background: var(--green-dark); }
.cta-strip .btn-green:hover { background: var(--green); }

/* ====== Footer ====== */
footer.site {
  background: #0a3a1c; color: #cdd5c8; padding: 56px 0 24px;
  font-size: 0.92rem;
}
footer.site .footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 36px;
}
footer.site h4 {
  color: var(--gold-light); font-size: 0.95rem; margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
footer.site ul { list-style: none; }
footer.site ul li { margin-bottom: 8px; }
footer.site a { color: #cdd5c8; }
footer.site a:hover { color: var(--gold-light); }
footer.site .footer-brand { margin-bottom: 14px; }
footer.site .footer-logo {
  display: block;
  width: 260px;
  height: auto;
}
footer.site .footer-social {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin: 6px 0 22px;
}
footer.site .footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px !important; height: 38px !important;
  min-width: 38px; min-height: 38px;
  border-radius: 50%;
  background: rgba(176, 137, 46, 0.18);
  color: var(--gold-light);
  text-decoration: none;
  flex: 0 0 auto;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
footer.site .footer-social a:hover,
footer.site .footer-social a:focus-visible {
  background: var(--gold);
  color: #ffffff;
  transform: translateY(-2px);
  outline: none;
}
footer.site .footer-social a svg {
  width: 18px !important; height: 18px !important;
  display: block;
  fill: currentColor;
}
footer.site .footer-social a svg path {
  fill: currentColor;
}
footer.site .copyright {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px;
  text-align: center; color: #8a9484; font-size: 0.85rem;
}

/* ====== Responsive ====== */
@media (max-width: 960px) {
  .services-grid, .testimonials-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  footer.site .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-strip .container { text-align: center; justify-content: center; }
}
@media (max-width: 640px) {
  .hero { padding: 72px 0 80px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .services-grid, .testimonials-grid, .gallery-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  nav.site-nav ul { display: none; }
  nav.site-nav.open ul {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: 20px 24px;
    border-bottom: 1px solid var(--cream-dark); gap: 16px;
  }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .brand-logo { width: 230px; }
  footer.site .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .topbar .container { justify-content: center; text-align: center; }
}
