/* ===== Clifco Landscaping — single-page static site ===== */
:root {
  --green-900: #15351c;
  --green-800: #1d4a26;
  --green-700: #246032;
  --green-600: #2f7d41;
  --green-500: #3a9c52;
  --green-50:  #eef6f0;
  --sand:      #f5efe4;
  --cream:     #fbf8f2;
  --ink:       #15211a;
  --ink-soft:  #43534a;
  --line:      #e3decf;
  --shadow:    0 12px 30px rgba(20, 40, 25, .12);
  --radius:    14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green-700); }

.container { width: min(1160px, 92%); margin: 0 auto; }

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 .4em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 600;
  color: #cfe5d3;
  margin: 0 0 .8rem;
}
.eyebrow-dark { color: var(--green-700); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-size: .95rem;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 1rem 1.5rem; font-size: 1rem; }
.btn-primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 8px 20px rgba(36, 96, 50, .25);
}
.btn-primary:hover { background: var(--green-800); }
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.55);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.22); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,248,242,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--green-800);
}
.brand-logo {
  width: 100px;
  height: 105px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.brand-footer .brand-logo {
  width: 100px;
  height: 105px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  color: var(--ink);
}
.brand-text span {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}
.primary-nav { display: flex; gap: 1.4rem; }
.primary-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem;
}
.primary-nav a:hover { color: var(--green-700); }
.header-cta { white-space: nowrap; }

@media (max-width: 760px) {
  .primary-nav { display: none; }
  .header-cta { padding: .65rem 1rem; font-size: .85rem; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.05);
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,30,18,.55) 0%, rgba(13,30,18,.35) 40%, rgba(13,30,18,.78) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 7rem 0 5rem;
  max-width: 760px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: #f1ece0;
  max-width: 56ch;
  margin: 0 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.5rem; }
.service-pills {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
  align-items: center;
}
.service-pills li {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  padding: .35rem .8rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}
.service-pills li:first-child {
  background: transparent;
  border: none;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  color: #cfe5d3;
  padding-left: 0;
}

/* ===== Sections ===== */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }

/* ===== About ===== */
.about { background: var(--sand); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-media {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  margin: 0 auto;
}
.about-media img {
  width: 100%;
  height: 100%;
  max-width: 320px;
  max-height: 320px;
  object-fit: contain;
  display: block;
}
.about-badge {
  position: absolute;
  bottom: -18px; right: -18px;
  background: var(--green-700);
  color: #fff;
  padding: .9rem 1.1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  text-align: center;
  line-height: 1.1;
}
.about-badge strong { font-family: "Playfair Display", serif; font-size: 1.3rem; }
.about-badge span { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.about-copy p { color: var(--ink-soft); font-size: 1.05rem; }
.check-list {
  list-style: none; padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid; gap: .55rem;
}
.check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(58,156,82,.18);
}

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-badge { right: 12px; bottom: -18px; }
}

/* ===== Ticker ===== */
.ticker {
  display: block;
  background: var(--green-800);
  color: #fff;
  overflow: hidden;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease;
}
.ticker:hover { background: var(--green-700); }
.ticker:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}
.ticker-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: .02em;
}
.ticker-track span:nth-child(even) { color: var(--green-500); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== Services / Cards ===== */
.services { background: var(--cream); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--green-50);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ===== Feature split ===== */
.feature { background: var(--green-900); color: #f1ece0; }
.feature .eyebrow-dark { color: var(--green-500); }
.feature h2 { color: #fff; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 1.5rem;
  align-items: center;
}
.feature-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature-copy { padding: 0 1rem; text-align: center; }
.feature-copy p { color: #cfd9cf; font-size: 1.05rem; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.stats div {
  border: 1px solid rgba(255,255,255,.12);
  padding: 1rem .5rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
}
.stats strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: #fff;
}
.stats span {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #b8c8b9;
}
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-media:nth-child(3) { display: none; }
}

/* ===== Gallery ===== */
.gallery { background: var(--sand); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.g-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ddd;
  box-shadow: var(--shadow);
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.g-item:hover img { transform: scale(1.06); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .g-wide { grid-column: span 2; }
  .g-tall { grid-row: span 2; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .g-wide, .g-tall { grid-column: auto; grid-row: auto; }
}

/* ===== Contact ===== */
.contact {
  background:
    linear-gradient(180deg, var(--green-900) 0%, var(--green-800) 100%);
  color: #f1ece0;
}
.contact h2 { color: #fff; }
.contact .eyebrow { color: var(--green-500); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-info p { color: #cfd9cf; max-width: 50ch; }
.contact-list {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: grid; gap: 1rem;
}
.contact-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: .9rem 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.contact-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.ci-label {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  color: #b8c8b9;
}
.ci-value {
  font-size: 1.05rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.ci-value:hover { color: var(--green-500); }

.contact-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  display: grid;
  gap: .9rem;
}
.contact-form h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin: 0 0 .25rem;
}
.contact-form label {
  display: grid;
  gap: .35rem;
  font-size: .85rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.contact-form label em { color: #c14444; font-style: normal; }
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: .8rem .9rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(47,125,65,.18);
  background: #fff;
}
.form-note { font-size: .85rem; color: var(--ink-soft); margin: .25rem 0 0; }
.form-note a { color: var(--green-700); font-weight: 600; }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: .15rem; }
}

/* ===== Footer ===== */
.site-footer {
  background: #0e1c13;
  color: #cfd9cf;
  padding: 3rem 0 2rem;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.brand-footer { color: #fff; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text span { color: #94a596; }
.brand-footer .brand-mark { background: rgba(255,255,255,.08); color: var(--green-500); }
.footer-tag { margin: .8rem 0 0; color: #94a596; font-size: .92rem; }
.footer-contact {
  display: grid;
  gap: .35rem;
  font-size: .95rem;
}
.footer-contact a {
  color: #fff;
  text-decoration: none;
}
.footer-contact a:hover { color: var(--green-500); }
.copyright {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  color: #7e8d80;
  font-size: .82rem;
}

/* ===== Floating call button ===== */
.floating-call {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green-600);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(36,96,50,.45);
  z-index: 60;
  transition: transform .15s ease, background .15s ease;
}
.floating-call:hover { background: var(--green-700); transform: scale(1.05); }
@media (min-width: 760px) { .floating-call { display: none; } }
