/* Sol Scapes — Design System
   Colors: green #10b981 / #059669, dark #0f172a, neutral #f8fafc
   Font: Inter (Google Fonts)                                      */

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

:root {
  --green: #10b981;
  --green-dark: #059669;
  --green-darker: #047857;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06);
  --shadow-lg: 0 4px 24px rgba(0,0,0,.1);
  --max-w: 1200px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--dark); line-height: 1.6; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green-darker); }

/* ── Layout ─────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--gray-100); }
.section-dark { background: var(--dark); color: var(--white); }
.text-center { text-align: center; }

/* ── Typography ─────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 16px; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
p { margin-bottom: 16px; color: var(--gray-600); }
.section-subtitle { max-width: 640px; margin: 0 auto 48px; color: var(--gray-400); font-size: 1.1rem; }
.section-dark .section-subtitle { color: var(--gray-300); }

/* ── Buttons ────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 1rem; cursor: pointer; border: none; transition: all .2s; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--dark); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--dark-light); color: var(--white); }

/* ── Navigation ─────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--gray-200); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--dark); letter-spacing: -0.03em; }
.logo span { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a { padding: 8px 16px; border-radius: 6px; font-weight: 500; font-size: .95rem; color: var(--gray-600); transition: all .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--dark); background: var(--gray-100); }
.nav-cta { background: var(--green) !important; color: var(--white) !important; }
.nav-cta:hover { background: var(--green-dark) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 28px; height: 28px; stroke: var(--dark); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: '▾'; margin-left: 4px; font-size: .7em; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 8px 0; min-width: 240px; box-shadow: var(--shadow-lg); z-index: 200; }
.dropdown-menu a { display: block; padding: 10px 20px; font-size: .9rem; white-space: nowrap; }
.dropdown-menu a:hover { background: var(--gray-100); }
.nav-dropdown:hover .dropdown-menu { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 16px; gap: 4px; box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .dropdown-menu { position: static; border: none; box-shadow: none; padding-left: 16px; }
  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
}

/* ── Hero ───────────────────────────────────────── */
.hero { padding: 100px 0 80px; background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%); color: var(--white); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2310b981' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: .6; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.5rem); margin-bottom: 20px; max-width: 700px; }
.hero p { font-size: 1.2rem; color: var(--gray-300); max-width: 560px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(16,185,129,.15); color: var(--green); padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 20px; }

/* ── Service Cards ──────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.service-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 32px; transition: all .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.service-card-icon { width: 48px; height: 48px; background: rgba(16,185,129,.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.service-card-icon svg { width: 24px; height: 24px; stroke: var(--green); fill: none; stroke-width: 2; }
.service-card h3 { font-size: 1.15rem; }
.service-card p { font-size: .95rem; color: var(--gray-600); margin-bottom: 16px; }
.service-card .card-link { font-weight: 600; color: var(--green-dark); font-size: .9rem; }

/* ── Trust / Stats ──────────────────────────────── */
.stats-row { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; padding: 48px 0; }
.stat-item { text-align: center; }
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--green); display: block; }
.stat-label { font-size: .9rem; color: var(--gray-400); }

/* ── Testimonials ───────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; }
.testimonial-card .stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-card blockquote { font-size: .95rem; color: var(--gray-700); font-style: italic; margin-bottom: 16px; line-height: 1.7; }
.testimonial-card .author { font-weight: 600; font-size: .9rem; color: var(--dark); }
.testimonial-card .location { font-size: .85rem; color: var(--gray-400); }

/* ── Areas Grid ─────────────────────────────────── */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.area-chip { display: flex; align-items: center; gap: 8px; padding: 14px 20px; background: var(--dark-light); border-radius: 8px; color: var(--gray-300); font-weight: 500; font-size: .95rem; transition: all .15s; }
.area-chip:hover { background: var(--green); color: var(--white); }
.area-chip svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Gallery Grid ───────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; background: var(--gray-200); aspect-ratio: 4/3; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: var(--white); padding: 24px 16px 16px; font-size: .9rem; }

/* ── Quote Form ─────────────────────────────────── */
.quote-section { background: linear-gradient(135deg, var(--green-darker), var(--green-dark)); color: var(--white); }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 640px; margin: 0 auto; }
.quote-form .full { grid-column: 1 / -1; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; padding: 14px 16px; border: 2px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(255,255,255,.1); color: var(--white); font-size: 1rem; font-family: inherit; transition: border-color .15s; }
.quote-form input::placeholder, .quote-form select::placeholder, .quote-form textarea::placeholder { color: rgba(255,255,255,.5); }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--white); background: rgba(255,255,255,.15); }
.quote-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.quote-form select option { color: var(--dark); }
.quote-form textarea { resize: vertical; min-height: 100px; }
.quote-form button[type="submit"] { grid-column: 1 / -1; padding: 16px; background: var(--white); color: var(--green-darker); font-size: 1.05rem; font-weight: 700; border: none; border-radius: 8px; cursor: pointer; transition: all .2s; }
.quote-form button[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.form-success { text-align: center; padding: 32px 0; }
.form-success h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 8px; }
.form-success p { color: rgba(255,255,255,.8); }

@media (max-width: 600px) {
  .quote-form { grid-template-columns: 1fr; }
}

/* ── FAQ ────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question { width: 100%; background: none; border: none; padding: 20px 0; text-align: left; font-size: 1.05rem; font-weight: 600; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--green); transition: transform .2s; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding-bottom: 20px; }

/* ── Footer ─────────────────────────────────────── */
.site-footer { background: var(--dark); color: var(--gray-300); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: .9rem; color: var(--gray-400); max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--gray-400); font-size: .9rem; padding: 4px 0; transition: color .15s; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid var(--dark-light); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--gray-400); flex-wrap: wrap; gap: 12px; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Page Hero (interior pages) ─────────────────── */
.page-hero { padding: 64px 0; background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%); color: var(--white); }
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: var(--gray-300); max-width: 600px; font-size: 1.1rem; }
.breadcrumb { font-size: .85rem; margin-bottom: 16px; color: var(--gray-400); }
.breadcrumb a { color: var(--gray-300); }
.breadcrumb a:hover { color: var(--green); }

/* ── Service Detail Page ────────────────────────── */
.service-content { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.service-content h2 { margin-top: 32px; }
.service-content p { font-size: 1.02rem; }
.service-content ul { padding-left: 20px; margin-bottom: 20px; }
.service-content li { margin-bottom: 8px; color: var(--gray-600); }
.service-sidebar { position: sticky; top: 96px; }
.sidebar-card { background: var(--gray-100); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; }
.sidebar-card h3 { font-size: 1rem; margin-bottom: 12px; }
.sidebar-card .btn { width: 100%; justify-content: center; }

/* related services */
.related-link { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--gray-200); font-weight: 500; color: var(--dark); }
.related-link:last-child { border-bottom: none; }
.related-link:hover { color: var(--green-dark); }

@media (max-width: 768px) {
  .service-content { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
}

/* ── Blog ───────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.blog-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: all .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img { background: var(--gray-200); aspect-ratio: 16/9; }
.blog-card-body { padding: 24px; }
.blog-card-body .tag { display: inline-block; background: rgba(16,185,129,.1); color: var(--green-dark); font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 4px; margin-bottom: 12px; }
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.blog-card-body h3 a { color: var(--dark); }
.blog-card-body h3 a:hover { color: var(--green-dark); }
.blog-card-body p { font-size: .9rem; color: var(--gray-600); }

.article-body { max-width: 760px; margin: 0 auto; font-size: 1.05rem; line-height: 1.8; }
.article-body h2 { margin-top: 40px; font-size: 1.5rem; }
.article-body h3 { margin-top: 28px; font-size: 1.2rem; }
.article-body p { color: var(--gray-700); }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; color: var(--gray-700); }
.article-body li { margin-bottom: 8px; }
.article-body .callout { background: rgba(16,185,129,.08); border-left: 4px solid var(--green); padding: 20px 24px; border-radius: 0 8px 8px 0; margin: 24px 0; }
.article-body .callout p { color: var(--gray-700); margin: 0; }
.article-meta { max-width: 760px; margin: 0 auto 32px; font-size: .9rem; color: var(--gray-400); display: flex; gap: 16px; }

/* ── CTA Banner ─────────────────────────────────── */
.cta-banner { background: var(--dark); color: var(--white); text-align: center; padding: 64px 24px; }
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { color: var(--gray-300); margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-banner .btn { font-size: 1.1rem; padding: 16px 36px; }

/* ── Utility ────────────────────────────────────── */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }
