/* ==========================================================================
   Solvanly — Landscape Design, Built to Last
   ========================================================================== */

:root {
  --pine: #1E4536;
  --pine-dark: #12291F;
  --pine-light: #2E6049;
  --sage: #7FA86F;
  --sage-light: #A3C48B;
  --gold: #C99A3B;
  --gold-light: #E0BD72;
  --cream: #F7F4EC;
  --cream-dark: #EFE9D8;
  --charcoal: #22302A;
  --gray: #5B6660;
  --gray-light: #8B958F;
  --white: #FFFFFF;
  --border: #E1DDCE;
  --danger: #B3432B;

  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 6px 24px rgba(18, 41, 31, 0.10);
  --shadow-lg: 0 18px 48px rgba(18, 41, 31, 0.16);
  --container-w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--pine);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; color: var(--gray); }
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--pine); color: #fff;
  padding: 12px 18px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--pine-dark); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: #fff; color: var(--pine); border-color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(247,244,236,.96);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 24px; }
.logo-link { flex-shrink: 0; }
.logo-img { height: 46px; width: auto; }

.main-nav { flex-shrink: 1; min-width: 0; }
.main-nav ul { display: flex; gap: 0; align-items: center; flex-wrap: nowrap; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block; padding: 10px 11px; font-weight: 600; font-size: .88rem; color: var(--pine);
  border-radius: 8px; transition: .15s; white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active { background: var(--cream-dark); color: var(--pine-dark); }

.has-dropdown .dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 10px;
  border: 1px solid var(--border);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown li a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .92rem; color: var(--charcoal); font-weight: 500; }
.dropdown li a:hover { background: var(--cream); color: var(--pine); }

.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone { font-weight: 700; color: var(--pine); font-size: .85rem; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.phone-icon { color: var(--gold); }
.header-cta .btn { padding: 11px 20px; font-size: .85rem; white-space: nowrap; }
.header-cta-mobile { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--pine); border-radius: 3px; }

/* ==========================================================================
   Hero sections
   ========================================================================== */
.hero {
  position: relative; color: #fff; padding: 120px 0 90px; overflow: hidden;
  background: linear-gradient(135deg, var(--pine) 0%, var(--pine-dark) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(18,41,31,.88), rgba(30,69,54,.72)); }
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block; background: rgba(201,154,59,.18); color: var(--gold-light);
  border: 1px solid rgba(201,154,59,.4); padding: 6px 16px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px;
}
.hero h1 { color: #fff; max-width: 820px; }
.hero p.lead { color: rgba(255,255,255,.88); font-size: 1.15rem; max-width: 640px; }
.hero-actions { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-head); font-size: 2.1rem; color: var(--gold-light); }
.hero-stats div span { font-size: .85rem; color: rgba(255,255,255,.75); }

.page-hero { padding: 76px 0 64px; }
.page-hero h1 { max-width: 760px; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.9); font-weight: 600; }
.breadcrumb span { margin: 0 8px; }

/* ==========================================================================
   Sections / generic blocks
   ========================================================================== */
section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.bg-cream { background: var(--cream); }
.bg-pine { background: var(--pine); color: #fff; }
.bg-pine h2, .bg-pine h3 { color: #fff; }
.bg-pine p { color: rgba(255,255,255,.82); }

.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin: 0 0 44px; text-align: left; }
.eyebrow { display: block; color: var(--gold); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; margin-bottom: 10px; }

.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img, .split .split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { height: 100%; object-fit: cover; }

/* ---- Cards ---- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: .25s; height: 100%; display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-img { aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { flex: 1; }
.card-link { font-weight: 700; color: var(--pine); display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; }
.card-link::after { content: '\2192'; transition: .2s; }
.card:hover .card-link::after { transform: translateX(4px); }

.icon-box {
  width: 56px; height: 56px; border-radius: 14px; background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 18px; color: var(--pine);
}

/* ---- Feature list (checkmarks) ---- */
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--charcoal); }
.check-list li::before {
  content: '\2713'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sage-light); color: var(--pine-dark); font-size: .72rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}

/* ---- Process steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding: 30px 24px 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--pine); color: #fff; font-family: var(--font-head);
  font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.1rem;
}

/* ---- Testimonials ---- */
.testimonial { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; height: 100%; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial-author .avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--sage-light); color: var(--pine-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-head);
}
.testimonial-author strong { display: block; font-size: .92rem; }
.testimonial-author span { font-size: .8rem; color: var(--gray-light); }

/* ---- CTA band ---- */
.cta-band { background: var(--pine); color: #fff; border-radius: var(--radius-lg); padding: 60px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---- Logos / trust strip ---- */
.trust-strip { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; opacity: .75; }
.trust-strip span { font-weight: 800; letter-spacing: 1px; color: var(--gray); text-transform: uppercase; font-size: .85rem; }

/* ==========================================================================
   Services index grid / detail pages
   ========================================================================== */
.service-tag { display: inline-block; background: var(--sage-light); color: var(--pine-dark); font-weight: 700; font-size: .78rem; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.service-detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: .92rem; }
.spec-table th { color: var(--pine); font-family: var(--font-head); }

/* ==========================================================================
   Portfolio
   ========================================================================== */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-bar a { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border); font-weight: 700; font-size: .85rem; color: var(--pine); }
.filter-bar a.active, .filter-bar a:hover { background: var(--pine); color: #fff; border-color: var(--pine); }
.portfolio-grid { columns: 3; column-gap: 24px; }
.portfolio-item { break-inside: avoid; margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.portfolio-item img { width: 100%; }
.portfolio-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; background: linear-gradient(0deg, rgba(18,41,31,.85), transparent); color: #fff; }
.portfolio-cap strong { display: block; font-family: var(--font-head); }
.portfolio-cap span { font-size: .8rem; color: var(--gold-light); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 30px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--gold); box-shadow: var(--shadow-lg); position: relative; transform: translateY(-10px); }
.price-card.featured::before {
  content: 'MOST POPULAR'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--pine-dark); font-size: .72rem; font-weight: 800; padding: 6px 16px; border-radius: 999px; letter-spacing: 1px;
}
.price-amount { font-family: var(--font-head); font-size: 2.4rem; color: var(--pine); margin: 10px 0 4px; }
.price-amount span { font-size: 1rem; color: var(--gray-light); font-family: var(--font-body); font-weight: 600; }
.price-card ul { margin: 24px 0; flex: 1; }
.price-card ul li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: .92rem; }
.price-card ul li::before { content: '\2713'; position: absolute; left: 0; color: var(--sage); font-weight: 900; }
.price-note { text-align: center; color: var(--gray); margin-top: 30px; font-size: .9rem; }

/* ==========================================================================
   FAQ accordion (native details/summary)
   ========================================================================== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 6px 0; }
.faq-item summary {
  cursor: pointer; font-weight: 700; font-family: var(--font-head); font-size: 1.08rem; color: var(--pine);
  padding: 18px 36px 18px 0; position: relative; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 0; top: 14px; font-size: 1.6rem; color: var(--gold); font-weight: 400;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding-bottom: 20px; margin: 0; }
.faq-cat-title { margin-top: 48px; margin-bottom: 8px; }

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-meta { font-size: .78rem; color: var(--gold); font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 10px; }
.post-body { max-width: 760px; margin: 0 auto; }
.post-body h2 { margin-top: 1.4em; }
.post-body p, .post-body li { color: var(--charcoal); font-size: 1.05rem; }
.post-body img { border-radius: var(--radius); margin: 30px 0; }
.post-hero-img { border-radius: var(--radius-lg); overflow: hidden; margin: -30px 0 40px; box-shadow: var(--shadow); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 7px; color: var(--pine); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: 10px; font-family: var(--font-body);
  font-size: .95rem; background: var(--cream); color: var(--charcoal);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 2px solid var(--sage); background: #fff; }
.form-group textarea { resize: vertical; min-height: 130px; }
.required { color: var(--danger); }
.form-note { font-size: .82rem; color: var(--gray-light); margin-top: 6px; }
.alert { padding: 16px 20px; border-radius: 10px; margin-bottom: 24px; font-weight: 600; }
.alert-success { background: #E4F1E0; color: #285A2B; border: 1px solid #BEDCB6; }
.alert-error { background: #FBE6E1; color: #8A2E1D; border: 1px solid #F0BCAD; }

/* ==========================================================================
   Service area list
   ========================================================================== */
.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.region-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.region-card h3 { color: var(--pine); border-bottom: 2px solid var(--gold); padding-bottom: 10px; margin-bottom: 14px; }
.region-card ul li { padding: 5px 0; color: var(--gray); font-size: .92rem; }

/* ==========================================================================
   Table of contents / legal pages
   ========================================================================== */
.legal-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 100px; background: var(--cream); border-radius: var(--radius); padding: 22px; }
.legal-toc h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--pine); margin-bottom: 12px; }
.legal-toc li { margin-bottom: 9px; }
.legal-toc a { font-size: .86rem; color: var(--gray); }
.legal-toc a:hover { color: var(--pine); }
.legal-body h2 { margin-top: 2em; padding-top: .3em; font-size: 1.5rem; }
.legal-body h3 { font-size: 1.15rem; }
.legal-body p, .legal-body li { color: var(--charcoal); }
.legal-body ul, .legal-body ol { margin: 0 0 1.2em; padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.updated-badge { display: inline-block; background: var(--cream-dark); color: var(--pine); font-weight: 700; font-size: .82rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }

/* ==========================================================================
   404
   ========================================================================== */
.error-page { text-align: center; padding: 140px 0; }
.error-page .error-code { font-family: var(--font-head); font-size: 7rem; color: var(--sage-light); line-height: 1; }

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-card img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; margin-bottom: 16px; }
.team-card h3 { margin-bottom: 2px; font-size: 1.1rem; }
.team-card span { color: var(--gold); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .5px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--pine-dark); color: rgba(255,255,255,.78); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 56px; }
.footer-logo { height: 50px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,.65); font-size: .9rem; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: flex;
  align-items: center; justify-content: center; font-size: .72rem; font-weight: 800;
}
.footer-social a:hover { background: var(--gold); color: var(--pine-dark); border-color: var(--gold); }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: .9rem; color: rgba(255,255,255,.68); }
.footer-col a:hover { color: var(--gold-light); }
.footer-col address { font-style: normal; font-size: .9rem; color: rgba(255,255,255,.68); margin-bottom: 10px; }
.footer-hours { font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; }
.footer-bottom p { color: rgba(255,255,255,.55); margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .region-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .portfolio-grid { columns: 2; }
}

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 10px 24px 20px;
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .main-nav.open ul { flex-direction: column; align-items: stretch; }
  .main-nav.open .header-cta-mobile { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
  .has-dropdown .dropdown { display: block; position: static; box-shadow: none; border: none; padding-left: 14px; }
  .split, .service-detail-grid, .legal-wrap { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .legal-toc { position: static; margin-bottom: 30px; }
  .grid-2, .grid-3, .blog-grid, .region-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner { flex-direction: column; }
  section { padding: 56px 0; }
  .hero { padding: 90px 0 60px; }
  .portfolio-grid { columns: 1; }
  .cta-band { padding: 40px 24px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .grid-4 { grid-template-columns: 1fr; }
}
