/* Evergreen Landscaping — demonstration website
   Palette: moss, sage, terracotta, cream */
:root {
  --moss: #1f3d2b;
  --moss-2: #2c5139;
  --sage: #7a9a5b;
  --sage-soft: #dfe5cf;
  --terra: #c8763e;
  --terra-2: #b0632f;
  --cream: #f6f1e7;
  --paper: #fbf8f2;
  --ink: #1d2a21;
  --muted: #5f6d61;
  --line: rgba(31, 61, 43, .14);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1260px;
  --gutter: clamp(18px, 4.5vw, 48px);
  --section: clamp(80px, 11vw, 140px);
  --ease: cubic-bezier(.22, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--terra); color: #fff; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; font-variation-settings: "opsz" 120; color: var(--moss); }
h1 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem); line-height: 1; }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); line-height: 1.06; text-wrap: balance; }
h3 { font-size: 1.15rem; font-weight: 600; color: var(--moss); }
em { font-style: italic; color: var(--terra); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50% 0; background: var(--terra); transform: rotate(45deg); }
.muted { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 24px; border-radius: 999px; border: 1px solid var(--moss);
  background: var(--moss); color: var(--cream); font: 600 1rem/1.2 var(--sans); cursor: pointer;
  transition: background-color .3s, color .3s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { background: var(--terra); border-color: var(--terra); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(176, 99, 47, .7); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .94rem; }
.btn-line { background: transparent; color: var(--moss); }
.btn-line:hover { background: var(--moss); border-color: var(--moss); color: var(--cream); box-shadow: none; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; gap: 8px; font-weight: 600; color: var(--moss); border-bottom: 1.5px solid var(--terra); padding-bottom: 3px; transition: gap .3s var(--ease); }
.text-link:hover { gap: 14px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 231, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(31, 61, 43, .5); }
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { width: 42px; height: 42px; border-radius: 13px 13px 13px 4px; background: var(--moss); display: grid; place-items: center; }
.logo-mark svg { width: 26px; height: 26px; fill: var(--terra); }
.logo-text { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1; color: var(--moss); letter-spacing: -.01em; }
.logo-text small { display: block; margin-top: 4px; font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { display: flex; gap: 26px; }
.nav ul a { font-weight: 500; font-size: .96rem; color: var(--ink); padding: 6px 0; background: linear-gradient(var(--terra), var(--terra)) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.nav ul a:hover { color: var(--moss); background-size: 100% 1.5px; }
.nav-toggle { display: none; }

/* Hero */
.hero { padding: 18px 0 0; }
.hero-frame { position: relative; border-radius: 32px; overflow: hidden; min-height: min(78vh, 760px); display: flex; align-items: flex-end; padding: clamp(18px, 3vw, 36px); isolation: isolate; }
.hero-frame picture, .hero-frame picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-frame picture img { animation: heroIn 2s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.08); } to { transform: none; } }
.hero-frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 38, 26, 0) 40%, rgba(20, 38, 26, .45) 100%); }
.hero-card { max-width: 640px; padding: clamp(26px, 4vw, 48px); background: var(--paper); border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(20, 38, 26, .55); animation: cardIn 1.1s var(--ease) .3s both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.kicker { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-bottom: 18px; }
.hero h1 { margin-bottom: 20px; text-wrap: balance; }
.lead { font-size: clamp(1.04rem, 1rem + .3vw, 1.2rem); color: var(--muted); margin-bottom: 30px; max-width: 32em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-chips { position: absolute; top: clamp(18px, 3vw, 36px); right: clamp(18px, 3vw, 36px); display: grid; gap: 8px; justify-items: end; }
.hero-chips li { padding: 8px 14px; border-radius: 999px; background: rgba(251, 248, 242, .88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: .86rem; font-weight: 600; color: var(--moss); animation: cardIn .9s var(--ease) both; }
.hero-chips li:nth-child(2) { animation-delay: .5s; }
.hero-chips li:nth-child(3) { animation-delay: .65s; }
.hero-chips li:first-child { animation-delay: .35s; }
.hero-chips span { color: var(--terra); margin-right: 4px; }

/* Ribbon */
.ribbon { margin-top: 40px; overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; }
.ribbon-track { display: flex; gap: 48px; width: max-content; animation: slide 40s linear infinite; }
.ribbon span { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); color: var(--moss); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.ribbon span::after { content: "✿"; font-style: normal; font-size: .7em; color: var(--terra); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Intro */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.intro-copy p { color: var(--muted); margin-bottom: 18px; font-size: 1.06rem; }
.intro-copy .text-link { margin-top: 8px; }

/* Services */
.services { background: var(--paper); border-block: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.head.split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; align-items: end; }
.head.split .muted { justify-self: end; max-width: 24em; }
.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.s-card { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; isolation: isolate; display: flex; align-items: flex-end; }
.s-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.s-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 38, 26, 0) 35%, rgba(20, 38, 26, .9) 100%); }
.s-card:hover img { transform: scale(1.06); }
.s-card-body { padding: clamp(22px, 2.5vw, 32px); color: #eef0e6; }
.s-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--terra); color: #fff; font-size: .82rem; font-weight: 700; margin-bottom: 16px; }
.s-card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 1.1rem + .8vw, 1.8rem); line-height: 1.1; color: #fff; margin-bottom: 10px; }
.s-card p { font-size: .97rem; color: #dfe5d8; }
.mini-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.mini-services li { display: flex; gap: 14px; padding: 22px; border-radius: 20px; background: var(--cream); border: 1px solid var(--line); }
.mini-services svg { flex: none; width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: var(--sage-soft); fill: none; stroke: var(--moss); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mini-services h3 { font-size: 1rem; margin-bottom: 2px; }
.mini-services p { font-size: .9rem; color: var(--muted); }

/* Feature */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--moss); color: #e5eadc; }
.feature-media { min-height: 520px; position: relative; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: clamp(48px, 7vw, 110px) clamp(24px, 6vw, 96px); align-self: center; }
.feature .eyebrow { color: #b7cc9b; }
.feature h2 { color: #fff; margin-bottom: 28px; }
.feature h2 em { color: #f0b78a; }
.ticks { display: grid; gap: 14px; margin-bottom: 34px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--terra) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.feature .btn { background: var(--cream); color: var(--moss); border-color: var(--cream); }
.feature .btn:hover { background: var(--terra); border-color: var(--terra); color: #fff; }

/* Seasons */
.season-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.season { padding: 30px 26px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.season:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(31, 61, 43, .45); }
.season-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 1.5rem; margin-bottom: 22px; }
.spring .season-icon { background: #e7efd8; color: #5d8a3a; }
.summer .season-icon { background: #f8e8c8; color: #c08a1e; }
.fall .season-icon { background: #f3dccb; color: var(--terra-2); }
.winter .season-icon { background: #e1e9ee; color: #4f7287; }
.season h3 { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; line-height: 1; }
.season-sub { font-size: .84rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); margin: 8px 0 18px; }
.season ul { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 18px; }
.season li { font-size: .95rem; color: var(--muted); padding-left: 18px; position: relative; }
.season li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }

/* Gallery */
.gallery { background: var(--paper); border-block: 1px solid var(--line); }
.masonry { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 20vw, 260px); gap: 16px; }
.masonry figure { position: relative; border-radius: 20px; overflow: hidden; }
.masonry .m-tall { grid-row: span 2; }
.masonry .m-wide { grid-column: span 2; }
.masonry img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.masonry figure:hover img { transform: scale(1.06); }
.masonry figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(251, 248, 242, .92); font-size: .82rem; font-weight: 600; color: var(--moss); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px 26px; border-radius: 24px; border: 1px solid var(--line); }
.steps li span { display: block; font-family: var(--serif); font-style: italic; font-size: 3.2rem; line-height: 1; color: var(--terra); margin-bottom: 20px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--serif); font-size: 1.3rem; color: var(--moss); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-soft); font-family: var(--sans); font-size: 1.1rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--terra); color: #fff; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 36em; }

/* Contact */
.contact { background: var(--moss); color: #e5eadc; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact .eyebrow { color: #b7cc9b; }
.contact h2 { color: #fff; margin-bottom: 18px; }
.contact-info > p { color: #c9d3c0; margin-bottom: 30px; font-size: 1.06rem; }
.details { display: grid; border-top: 1px solid rgba(255, 255, 255, .14); }
.details div { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; }
.details dt { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #b7cc9b; padding-top: 3px; }
.details dd { color: #fff; overflow-wrap: anywhere; }
.ph { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .72rem; color: #c9d3c0; vertical-align: 2px; }
.form { padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.form h3 { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; margin-bottom: 22px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form label { display: block; margin-bottom: 16px; font-size: .9rem; font-weight: 600; color: var(--moss); }
.form label span { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid rgba(31, 61, 43, .22); border-radius: 12px; background: #fff; font: inherit; font-weight: 400; color: var(--ink); transition: border-color .3s, box-shadow .3s; }
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px rgba(200, 118, 62, .15); }
.form .btn { margin-top: 6px; }
.form .demo-notice { color: var(--moss-2); background: var(--sage-soft); }
.form .demo-notice a { text-decoration: underline; }

/* Footer */
.footer { background: #142a1d; color: #b8c4b2; padding: 64px 0 28px; font-size: .95rem; }
.footer .logo-text { color: #fff; }
.footer .logo-text small { color: #9fb98a; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-grid > div p { margin-top: 16px; max-width: 22em; }
.footer nav ul { display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.footer-disclaimer { font-size: .88rem; line-height: 1.6; padding: 18px 20px; border: 1px dashed rgba(255, 255, 255, .2); border-radius: 16px; }
.footer-disclaimer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .86rem; }

/* Responsive */
@media (max-width: 1100px) {
  .mini-services, .season-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-disclaimer { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; position: relative; z-index: 2; }
  .bars { position: relative; width: 18px; height: 12px; }
  .bars i { position: absolute; left: 0; width: 100%; height: 1.6px; border-radius: 2px; background: var(--moss); transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
  .bars i:nth-child(1) { top: 0; } .bars i:nth-child(2) { top: 5.2px; } .bars i:nth-child(3) { top: 10.4px; }
  .nav-open .bars i:nth-child(1) { top: 5.2px; transform: rotate(45deg); }
  .nav-open .bars i:nth-child(2) { opacity: 0; }
  .nav-open .bars i:nth-child(3) { top: 5.2px; transform: rotate(-45deg); }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 18px; padding: 16px var(--gutter) 28px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(31, 61, 43, .4); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility 0s linear .3s; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.5rem; background: none; }
  .intro-grid, .contact-grid, .faq-grid, .head.split { grid-template-columns: minmax(0, 1fr); }
  .head.split .muted { justify-self: start; }
  .service-cards { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
  .s-card { aspect-ratio: 4 / 3.4; }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature-media { min-height: 340px; }
  .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 38vw, 260px); }
  .hero-chips { display: none; }
  .hero-frame { min-height: 0; padding-top: 42vw; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-inner { height: 68px; }
  .logo-text { font-size: 1.25rem; }
  .logo-mark { width: 38px; height: 38px; }
  .hero-frame { border-radius: 24px; padding: 60vw 12px 12px; }
  .hero-card { border-radius: 18px; }
  .actions .btn { flex: 1 1 100%; }
  .mini-services, .season-grid, .steps, .form .row { grid-template-columns: minmax(0, 1fr); }
  .masonry .m-wide { grid-column: span 2; }
  .details div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
