/* Palette and type taken from the original GoDaddy theme */
:root {
  --text: rgb(27, 27, 27);
  --muted: rgb(89, 89, 89);
  --green: #508539;
  --green-dark: #3b6629;
  --border: rgb(226, 226, 226);
  --alt-bg: #f6f7f3;
  --footer-bg: rgb(22, 22, 22);
  --footer-text: rgb(219, 219, 219);
  --sans: 'League Spartan', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
a { color: var(--green-dark); }

.container { width: min(1160px, 100% - 3rem); margin-inline: auto; }

/* Header */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 1rem 1.5rem;
  text-align: center;
  font-weight: 600;
}
.brand { color: var(--green); font-size: 1.35rem; text-decoration: none; }
.header-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.25rem; }
.header-contact a { color: var(--green); text-decoration: none; font-size: 1.1rem; }
.header-contact a:hover, .brand:hover { text-decoration: underline; }

/* Hero */
.hero {
  position: relative;
  min-height: min(80vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero picture { display: contents; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 65%, rgba(0,0,0,0)); }
.hero-content { position: relative; z-index: 1; width: min(1160px, 100% - 3rem); margin-inline: auto; padding: 3rem 0; }
.tagline { font-size: clamp(1.05rem, 2vw, 1.3rem); letter-spacing: .04em; margin: 0 0 .5rem; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 14ch; margin-bottom: 1.75rem; text-shadow: 0 2px 12px rgba(0,0,0,.45); }

/* Buttons */
.btn {
  display: inline-block;
  font: 600 .9rem/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--green);
  border: 2px solid var(--green);
  padding: 1rem 2.25rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--green-dark); border-color: var(--green-dark); }
.btn-light { background: #fff; color: var(--text); border-color: #fff; }
.btn-light:hover, .btn-light:focus-visible { background: transparent; color: #fff; border-color: #fff; }
.btn-outline { background: transparent; color: var(--green-dark); }
.btn-outline:hover, .btn-outline:focus-visible { color: #fff; }
.btn:disabled { opacity: .6; cursor: wait; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--alt-bg); }
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--green);
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.section-title.left { text-align: left; margin-bottom: 1rem; }
.section-lead { text-align: center; color: var(--muted); margin: -1.5rem 0 2.5rem; }

.cards { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 1.25rem; }
.card h3 { font-size: 1.45rem; font-weight: 600; margin-bottom: .6rem; }
.card p { margin: 0; color: var(--muted); }

/* Gallery */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) {
  .gallery { gap: .75rem; grid-template-columns: repeat(4, 1fr); }
  .gallery li:nth-child(-n+2) { grid-column: span 2; grid-row: span 2; }
  .gallery li:nth-child(-n+2) .g-item, .gallery li:nth-child(-n+2) img { height: 100%; }
}
.g-item { display: block; overflow: hidden; background: #ddd; }
.g-item img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.04); }
.g-item:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(94vw, 1600px); max-height: 86vh; object-fit: contain; }
.lightbox button { position: fixed; background: rgba(0,0,0,.45); color: #fff; border: 0; font-size: 2.6rem; line-height: 1; width: 3.2rem; height: 3.2rem; cursor: pointer; border-radius: 50%; }
.lightbox button:hover, .lightbox button:focus-visible { background: var(--green); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }
.lb-count { position: fixed; bottom: .75rem; left: 0; right: 0; text-align: center; color: #ddd; margin: 0; font-size: .95rem; }

/* Contact */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.form-title { font-size: 1.35rem; font-weight: 500; margin-bottom: 1.5rem; }
.contact-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .3rem; }
.field span { font-size: .95rem; color: var(--muted); }
.field input, .field textarea { font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 1px solid var(--border); border-bottom-color: #8a8a8a; padding: .85rem 1rem; width: 100%; border-radius: 0; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 0; }
.contact-form .btn { justify-self: stretch; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.6em; text-align: center; }
.form-status.ok { color: var(--green-dark); }
.form-status.err { color: rgb(183, 28, 28); }
.contact-info h3 { font-size: 1.3rem; font-weight: 600; margin: 1.75rem 0 .4rem; }
.contact-info h3:first-child { margin-top: .4rem; }
.contact-info p { margin: 0; color: var(--muted); }
.hours { border-collapse: collapse; color: var(--muted); }
.hours th { text-align: left; font-weight: 400; padding: .1rem 1.5rem .1rem 0; }
.map { display: block; width: 100%; height: 260px; border: 0; margin: 1.75rem 0 1rem; background: #eee; }

/* Quote CTA + page */
.btn-sm { padding: .7rem 1.4rem; font-size: .8rem; margin-top: .6rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.quote-cta p { color: var(--muted); margin: 0 0 1.5rem; }
.quote-cta .or-call { margin-top: 1rem; }
.quote-wrap { width: min(820px, 100% - 3rem); }
.back { margin: 0 0 1rem; }
.back a { text-decoration: none; font-weight: 500; }
.quote-wrap .section-title { margin-bottom: 1rem; }
.quote-wrap .section-lead { margin: 0 0 2.5rem; }
.quote-form fieldset { border: 0; background: #fff; padding: 1.75rem clamp(1rem, 4vw, 2rem); margin: 0; display: grid; gap: 1.1rem; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.quote-form legend { float: left; width: 100%; font-size: 1.3rem; font-weight: 600; color: var(--green); padding: 0; margin-bottom: .25rem; }
.quote-form .row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.field select { font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 1px solid var(--border); border-bottom-color: #8a8a8a; padding: .8rem 1rem; width: 100%; border-radius: 0; }
.field select:focus { outline: 2px solid var(--green); outline-offset: 0; }
.field small { font-size: .85rem; }
.checks { display: grid; gap: .35rem 1.25rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: .2rem; }
.checks label { display: flex; gap: .55rem; align-items: center; cursor: pointer; }
.checks input { width: 1.15rem; height: 1.15rem; accent-color: var(--green); }
.field.invalid > input, .field.invalid > .checks { outline: 2px solid rgb(183, 28, 28); outline-offset: 2px; }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-text); text-align: center; padding: 3rem 0; }
.footer-name { font-size: 1.25rem; margin: 0 0 .4rem; color: #fff; font-weight: 600; }
.copyright { margin: 0; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .g-item img { transition: none; } }
