/* Ridgeline Landscape Co. - site styles */
:root {
  --green-950: #0f2a18;
  --green-900: #14361f;
  --green-700: #1f5130;
  --green-500: #2f7a45;
  --green-100: #e4efe3;
  --accent: #d9893a;
  --accent-dark: #b86d22;
  --bg: #ffffff;
  --surface: #f5f7f2;
  --text: #1c2420;
  --muted: #5b6660;
  --border: #dfe5dc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 24, 0.08);
  --max: 1160px;
  --head: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); }
a:hover { color: var(--green-500); }
h1, h2, h3, h4 {
  font-family: var(--head);
  line-height: 1.2;
  color: var(--green-950);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }

.section { padding: 72px 0; }
.section--tint { background: var(--surface); }
.section--dark { background: var(--green-900); color: #e9f1e8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 10px;
}
.section--dark .eyebrow { color: #9fd3a8; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head); font-weight: 700; font-size: 1rem;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); color: #fff; }
.btn--green { background: var(--green-700); color: #fff; }
.btn--green:hover { background: var(--green-900); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--green-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.topbar { background: var(--green-950); color: #cfe2cf; font-size: 0.9rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar__area { display: none; }
@media (min-width: 720px) { .topbar__area { display: block; } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-950); font-family: var(--head); font-weight: 800; font-size: 1.15rem; }
.logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.logo span small { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green-500); }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green-500); }
.nav .btn { color: #fff; padding: 11px 20px; }
@media (min-width: 960px) { .nav { display: block; } .menu-toggle { display: none; } }

.menu-toggle { background: none; border: 0; padding: 8px; cursor: pointer; color: var(--green-950); }
.menu-toggle svg { width: 28px; height: 28px; }
.mobile-nav { display: none; border-top: 1px solid var(--border); background: #fff; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 16px 20px; }
.mobile-nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text); font-weight: 600; }
.mobile-nav .btn { margin-top: 16px; width: 100%; justify-content: center; color: #fff; }
@media (min-width: 960px) { .mobile-nav { display: none !important; } }

/* Hero */
.hero { position: relative; color: #fff; background: var(--green-950); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,42,24,.92) 0%, rgba(15,42,24,.55) 55%, rgba(15,42,24,.15) 100%); }
.hero .container { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 110px; }
.hero--short .container { padding-top: 76px; padding-bottom: 76px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero p { font-size: 1.2rem; max-width: 620px; color: #e3eee2; }
.hero .btn-row { margin-top: 28px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: .95rem; color: #d4e6d3; }
.hero__badges span::before { content: "✓"; color: #9fd3a8; font-weight: 800; margin-right: 8px; }

.breadcrumbs { font-size: .88rem; margin-bottom: 18px; color: #cfe2cf; }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; color: #fff; }

/* Cards / grids */
.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--muted); }
.card__link { margin-top: auto; font-family: var(--head); font-weight: 700; text-decoration: none; }
.card__link::after { content: " →"; }
a.card { text-decoration: none; color: inherit; }

.feature { padding: 4px 0; }
.feature__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; margin-bottom: 14px; }
.feature__icon svg { width: 24px; height: 24px; }
.section--dark .feature__icon { background: rgba(255,255,255,.1); color: #9fd3a8; }
.feature p { color: var(--muted); }
.section--dark .feature p { color: #c8dbc7; }

/* Split layout */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--wide-text { grid-template-columns: 1.3fr 1fr; } }
.split__img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5130' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.checklist--2col { columns: 1; }
@media (min-width: 720px) { .checklist--2col { columns: 2; column-gap: 40px; } .checklist--2col li { break-inside: avoid; } }

.steps { counter-reset: step; display: grid; gap: 20px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green-700); color: #fff; font-family: var(--head); font-weight: 800; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; }

/* Pills (areas) */
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pills a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--border); text-decoration: none; font-weight: 600; color: var(--green-900); }
.pills a:hover { border-color: var(--green-500); color: var(--green-500); }
.section--dark .pills a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }


/* FAQ */
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-family: var(--head); font-weight: 700; list-style: none; position: relative; padding-right: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--green-500); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--green-700), var(--green-900)); color: #fff; border-radius: 20px; padding: 48px 32px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; padding: 56px 56px; } }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #d6e7d5; margin: 0; }

/* Forms */
.form { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.form h3 { margin-bottom: 4px; }
.form .muted { color: var(--muted); font-size: .95rem; }
.form-grid { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #c9d3c6; border-radius: 10px; background: #fff; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(47,122,69,.25); border-color: var(--green-500); }
.field textarea { min-height: 120px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-msg { margin-top: 12px; font-size: .95rem; padding: 12px 14px; border-radius: 10px; display: none; }
.form-msg.is-shown { display: block; background: var(--green-100); color: var(--green-900); }

/* Contact info */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-list strong { display: block; font-family: var(--head); }

/* Prose (blog, long text) */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.post-meta { color: #cfe2cf; font-size: .95rem; }
.post-hero-img { border-radius: var(--radius); aspect-ratio: 16/8; object-fit: cover; width: 100%; margin: -60px 0 40px; position: relative; box-shadow: var(--shadow); }

.layout-sidebar { display: grid; gap: 48px; }
@media (min-width: 960px) { .layout-sidebar { grid-template-columns: 1fr 340px; } }
.sidebar-box { background: var(--surface); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.sidebar-box ul { list-style: none; padding: 0; margin: 0; }
.sidebar-box li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.sidebar-box li:last-child { border-bottom: 0; }
.sidebar-box a { text-decoration: none; font-weight: 600; }
@media (min-width: 960px) { .sticky { position: sticky; top: 96px; } }

/* Footer */
.footer { background: var(--green-950); color: #b9cdb8; padding: 64px 0 28px; font-size: .95rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer a { color: #d9e8d8; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }

.mt-0 { margin-top: 0; }
.center { text-align: center; }
.stack-lg > * + * { margin-top: 32px; }

/* Sidebar call/quote box */
.sidebar-cta { background: var(--green-900); color: #d6e7d5; border-radius: var(--radius); padding: 26px; }
.sidebar-cta h3 { color: #fff; }
.sidebar-cta .btn { width: 100%; justify-content: center; margin-top: 10px; }

/* Home blog previews */
.post-list { display: grid; gap: 28px; }
.post-preview { display: grid; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.post-preview__img img { width: 100%; height: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-preview__body { padding: 24px 24px 28px; }
.post-preview__body h3 { font-size: 1.45rem; }
.post-preview__body h3 a { color: var(--green-950); text-decoration: none; }
.post-preview__body h3 a:hover { color: var(--green-500); }
.post-preview__text p { color: var(--text); }
@media (min-width: 860px) {
  .post-preview { grid-template-columns: 360px 1fr; }
  .post-preview__img img { aspect-ratio: auto; min-height: 100%; }
  .post-preview__body { padding: 30px 34px 32px; }
}

/* Area groups */
.area-group { font-size: 1rem; margin: 22px 0 12px; }
.section--dark .area-group { color: #9fd3a8; }
.area-group-head { margin-bottom: 20px; }
.sidebar-cta + .sidebar-box, .sidebar-box + .sidebar-cta { margin-top: 24px; }
.sidebar-cta { margin-bottom: 24px; }
.form .muted span, label .muted { font-weight: 400; }
