/* ---------- Variables (colors matched to logo) ---------- */
:root {
  --color-charcoal: #3a3a3c;
  /* Accessible orange: for text/buttons on light backgrounds (5.2:1 contrast on white) */
  --color-orange: #c2410c;
  --color-orange-dark: #9a3412;
  /* Bright logo orange: decorative use only (bars, borders) or text on dark backgrounds */
  --color-orange-bright: #f47920;
  --color-blue: #1f83c4;
  --color-white: #ffffff;
  /* Warm off-white: used for page/section backgrounds instead of pure white */
  --color-offwhite: #faf7f2;
  --color-light: #f6f2ec;
  /* Deeper warm cream, for sections that want more visual warmth than the base off-white */
  --color-warm: #f9f6f0;
  --color-border: #e2e2df;
  --color-text: #2c2c2e;
  --color-text-muted: #6b6b6d;
  --font-base: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: "Poppins", var(--font-base);
  --max-width: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* ---------- Cursor: default arrow everywhere except the quote form fields ---------- */
body { cursor: default; }
a, button, [role="button"], input[type="submit"], input[type="button"], label, select { cursor: pointer; }
.quote-form input:not([type="submit"]),
.quote-form textarea {
  cursor: text;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view { opacity: 1; transform: none; }

.bento.reveal { transition-delay: 0.1s; }
.process-strip.reveal { transition-delay: 0.18s; }
.filmstrip.reveal { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-content, .hero-image, .hero-image img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

body {
  font-family: var(--font-base);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-offwhite);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { color: var(--color-charcoal); line-height: 1.2; font-family: var(--font-heading); font-weight: 600; }

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 32px;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--color-orange-bright);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  /* Both stops stay dark enough to keep white text at accessible contrast (unlike the bright logo orange) */
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(194, 65, 12, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-orange-dark), #7c2d0c);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(194, 65, 12, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-orange);
  border: 2px solid var(--color-orange);
}

.btn-outline:hover {
  background: var(--color-orange);
  color: var(--color-white);
}

.btn-large { padding: 16px 36px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: var(--color-warm);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-radius: 0 0 16px 16px;
  z-index: 100;
}

.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-orange-bright));
  border-radius: 16px 16px 0 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
}

.brand-logo { height: 52px; width: auto; }

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 44px;
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.site-nav a {
  position: relative;
  font-weight: 600;
  color: var(--color-charcoal);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--color-orange);
  transition: width 0.25s ease;
}

.site-nav a:hover { color: var(--color-orange); }
.site-nav a:hover::after { width: 100%; }

.nav-cta::after { display: none; }

.nav-cta.btn-primary { color: var(--color-white) !important; }

.nav-cta.btn-outline {
  box-shadow: 0 2px 8px rgba(194, 65, 12, 0.15);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav-cta.btn-outline:hover {
  background: rgba(194, 65, 12, 0.12);
  color: var(--color-orange-dark);
  box-shadow: 0 6px 16px rgba(194, 65, 12, 0.3);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 26px;
  background: var(--color-charcoal);
  border-radius: 999px;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--color-warm);
  color: var(--color-text);
  padding: 90px 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  text-align: left;
}

.hero-content {
  flex: 1;
  animation: fadeInUp 0.8s ease both;
}

.hero-image {
  flex-shrink: 0;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.hero-image img {
  width: 380px;
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  animation: float 5s ease-in-out 1s infinite;
}

.hero h1 {
  color: var(--color-charcoal);
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.hero-tagline {
  max-width: 480px;
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.hero-area {
  color: var(--color-orange);
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

/* ---------- Showcase (Construction / Landscaping) ---------- */
.showcase { padding: 100px 0; position: relative; overflow: hidden; }

.showcase-dark {
  background: linear-gradient(160deg, #34383d, #0e2d42);
  color: var(--color-white);
}

.showcase-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 42px);
  pointer-events: none;
}

.showcase .container { position: relative; z-index: 1; }

.showcase-head { max-width: 640px; margin-bottom: 48px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-orange-bright);
}

.showcase-dark .kicker { color: var(--color-orange-bright); }

.showcase-title {
  text-align: left;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.showcase-title::after { display: none; }

.showcase-dark .showcase-title { color: var(--color-white); }

.showcase-lede { font-size: 1.05rem; color: var(--color-text-muted); }

.showcase-dark .showcase-lede { color: #d8d8d8; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag-list li {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.showcase-dark .tag-list li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--color-white);
}


/* Bento photo grids */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bento-5 {
  grid-template-rows: repeat(2, 200px);
  grid-template-areas:
    "feature feature b c"
    "feature feature d e";
}

.bento-3 {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 245px);
  grid-template-areas:
    "feature feature b"
    "feature feature c";
}

.bento-feature { grid-area: feature; }
.bento-b { grid-area: b; }
.bento-c { grid-area: c; }
.bento-d { grid-area: d; }
.bento-e { grid-area: e; }

.bento-item {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.bento-item picture,
.process-photo picture,
.filmstrip-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.obj-bottom { object-position: center 82% !important; }
.obj-mid-low { object-position: center 60% !important; }

.bento-item:hover img { transform: scale(1.06); }

.bento-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.bento-item:hover figcaption,
.bento-item:focus-within figcaption { opacity: 1; transform: none; }

@media (hover: none) {
  .bento-item figcaption { opacity: 1; transform: none; }
}

/* Construction process strip */
.process-strip {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.process-photo {
  flex: 1;
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.process-photo img { width: 100%; height: 100%; object-fit: cover; }

.process-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.85rem;
}

.process-arrow {
  font-size: 1.8rem;
  color: var(--color-orange-bright);
  font-weight: 700;
  flex-shrink: 0;
}

/* Landscaping lawn-care filmstrip */
.filmstrip { margin-top: 20px; }

.filmstrip-label {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 14px;
}

.filmstrip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.filmstrip-photo {
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.filmstrip-photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.filmstrip-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }

/* ---------- About ---------- */
.about {
  padding: 90px 0;
  background: var(--color-warm);
}

.about-inner {
  max-width: 760px;
  text-align: center;
}

.about p { color: var(--color-text-muted); font-size: 1.05rem; }

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 36px;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-charcoal);
  font-weight: 600;
  font-size: 0.9rem;
}

.trust-badge svg {
  width: 40px;
  height: 40px;
  padding: 10px;
  color: var(--color-orange);
  background: var(--color-light);
  border-radius: 50%;
  box-sizing: content-box;
}

.testimonials {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
}

.testimonials-title {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
}

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.testimonial-stars {
  color: var(--color-orange-bright);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial-card blockquote {
  margin: 0 0 16px;
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.6;
}

.testimonial-card figcaption {
  font-weight: 600;
  color: var(--color-charcoal);
  font-size: 0.9rem;
}

.testimonial-card figcaption span { color: var(--color-border); margin: 0 4px; }

@media (max-width: 640px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact { padding: 90px 0; background: linear-gradient(135deg, var(--color-charcoal), var(--color-orange-dark)); color: var(--color-white); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact h2 { text-align: left; color: var(--color-white); }
.contact h2::after { margin-left: 0; }

.contact-info p { color: #d8d8d8; margin-bottom: 12px; }

.contact-detail { color: var(--color-white) !important; }

.contact-detail a { color: var(--color-orange-bright); }

.quote-form {
  background: var(--color-offwhite);
  color: var(--color-text);
  padding: 32px;
  border-radius: 16px;
}

.form-row { margin-bottom: 18px; }

.form-row-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.required { color: var(--color-orange); margin-left: 2px; }
.optional { color: var(--color-text-muted); font-weight: 400; }

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(31, 131, 196, 0.15);
}

.quote-form .btn { width: 100%; }

.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}

.form-status.success { color: #2f9e44; }
.form-status.error { color: #d9480f; }

/* ---------- Footer ---------- */
.site-footer {
  background: #26262a;
  color: #b8b8ba;
  padding: 40px 0;
  text-align: center;
}

.footer-logo {
  height: 40px;
  margin: 0 auto 16px;
}

.footer-inner p { font-size: 0.9rem; margin-top: 6px; }

.footer-inner a { color: var(--color-orange-bright); }

/* ---------- Lightbox ---------- */
.bento-item img,
.process-photo img,
.filmstrip-photo img {
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 18, 16, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 1000;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  position: relative;
  max-width: 50vw;
  max-height: 50vh;
  transform: scale(0.94);
  transition: transform 0.25s ease;
}

.lightbox.open .lightbox-inner { transform: scale(1); }

.lightbox-inner img {
  display: block;
  max-width: 50vw;
  max-height: 50vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--color-white);
  color: var(--color-charcoal);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.lightbox-close:hover { transform: scale(1.08); }

@media (max-width: 720px) {
  .lightbox-inner, .lightbox-inner img { max-width: 84vw; max-height: 60vh; }
  .lightbox-close { top: -12px; right: -6px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; }
  .hero-inner { gap: 32px; }
  .hero-image img { width: 300px; }

  .bento-5 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 180px);
    grid-template-areas:
      "feature feature"
      "b c"
      "d e";
  }

  .bento-3 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 220px 180px;
    grid-template-areas:
      "feature feature"
      "b c";
  }

  .filmstrip-row { grid-template-columns: repeat(2, 1fr); }
}

/* Header stays inline (no hamburger) down to 720px, but a "half screen"
   desktop window is too narrow for the full-width centered nav spacing.
   Flatten nav/links/ctas into header-inner's flex row so the logo, every
   link, and both buttons are distributed as one evenly-spaced group. */
@media (max-width: 1024px) and (min-width: 721px) {
  .site-nav, .nav-links, .nav-ctas {
    display: contents;
  }

  .header-inner { justify-content: space-between; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-warm);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0 0 16px 16px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
  }

  .site-nav.open {
    max-height: 400px;
    opacity: 1;
    padding: 16px 24px;
    pointer-events: auto;
  }

  .nav-links {
    flex: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    gap: 16px;
  }

  .nav-ctas { flex-direction: column; width: 100%; gap: 16px; }
  .nav-cta { width: 100%; text-align: center; }

  .hero-inner { flex-direction: column; text-align: center; gap: 32px; }
  .hero-tagline { margin: 0 auto 12px; }
  .hero-image img { width: 270px; }
  .hero h1 { font-size: 2rem; }

  .showcase { padding: 72px 0; }
  .showcase-head { text-align: center; margin-left: auto; margin-right: auto; }
  .kicker { justify-content: center; }
  .tag-list { justify-content: center; }

  .bento-5 {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas:
      "feature"
      "b"
      "c"
      "d"
      "e";
  }

  .bento-3 {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas:
      "feature"
      "b"
      "c";
  }

  .bento-5 .bento-item, .bento-3 .bento-item { height: 220px; }

  .process-strip { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); }

  .filmstrip-row { grid-template-columns: repeat(2, 1fr); }

  .trust-badges { gap: 24px; }
}

@media (max-width: 480px) {
  .filmstrip-row { grid-template-columns: 1fr; }
}
