/* ===== BudgetPro Vancouver — Eco-Friendly Minimalist Theme ===== */
:root {
  --primary: #2d8a4e;
  --primary-dark: #1e6b3a;
  --primary-light: #a8e6c3;
  --accent: #f0a500;
  --bg-main: #fafdf7;
  --bg-white: #ffffff;
  --bg-soft: #eef6f0;
  --text-dark: #1a2e1f;
  --text-body: #3d5a45;
  --text-muted: #6b8a73;
  --border: #d4e8d9;
  --radius: 24px;
  --shadow: 0 8px 32px rgba(45, 138, 78, 0.08);
  --transition: .3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-main);
  color: var(--text-body);
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.5px;
}
.topbar a { color: var(--primary-light); }

/* ===== HEADER (Centered Nav) ===== */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 1000;
  transition: var(--transition);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1180px; margin: 0 auto; padding: 14px 20px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo svg { width: 38px; height: 38px; }
.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem; font-weight: 800;
  color: var(--primary);
}

.nav-links {
  display: flex; gap: 28px; list-style: none;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a {
  color: var(--text-body); font-size: 0.92rem;
  font-weight: 500; padding: 8px 0;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--primary);
  border-radius: 2px; transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--primary); color: white !important;
  padding: 10px 22px; border-radius: 50px;
  font-weight: 600; font-size: 0.88rem;
  border: none; cursor: pointer;
  transition: var(--transition); display: inline-block;
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); color: white !important; }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.burger span { width: 22px; height: 2px; background: var(--text-dark); transition: var(--transition); border-radius: 2px; }

/* ===== HERO (Split Layout) ===== */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 90vh; align-items: center;
}
.hero-text { padding: 60px 60px 60px 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-soft); color: var(--primary);
  padding: 6px 16px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600;
  margin-bottom: 20px;
}
.hero-badge svg { width: 16px; height: 16px; }
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}
.hero h1 .highlight {
  background: linear-gradient(120deg, var(--primary-light) 0%, rgba(168, 230, 195, 0.3) 100%);
  padding: 2px 8px; border-radius: 6px;
}
.hero p { font-size: 1.1rem; margin-bottom: 30px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--primary); color: white;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: var(--transition); display: inline-block;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); color: white; }
.btn-secondary {
  background: var(--bg-soft); color: var(--primary);
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: var(--transition); display: inline-block;
}
.btn-secondary:hover { background: var(--primary-light); color: var(--primary-dark); }
.hero-image {
  height: 100%; position: relative;
  overflow: hidden;
  border-radius: 0 0 0 60px;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-trust {
  display: flex; gap: 32px; margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.trust-item { text-align: center; }
.trust-num {
  display: block; font-family: 'Outfit', sans-serif;
  font-size: 1.8rem; font-weight: 800; color: var(--primary);
}
.trust-label { font-size: 0.82rem; color: var(--text-muted); }

/* ===== SECTIONS ===== */
section.sec { padding: 90px 0; }
.sec-label {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-soft); color: var(--primary);
  padding: 5px 14px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 14px;
}
.sec-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.sec-desc { color: var(--text-muted); font-size: 1.05rem; max-width: 580px; margin-bottom: 44px; }
.sec-desc.center { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* ===== WORKSHOPS CARDS (Horizontal) ===== */
.workshops-list { display: flex; flex-direction: column; gap: 20px; }
.workshop-card {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 24px;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 32px;
  transition: var(--transition);
}
.workshop-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
  border-color: var(--primary-light);
}
.workshop-icon {
  width: 52px; height: 52px;
  background: var(--bg-soft); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.workshop-icon svg { width: 26px; height: 26px; stroke: var(--primary); fill: none; }
.workshop-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.workshop-card p { color: var(--text-muted); font-size: 0.92rem; }
.workshop-arrow {
  width: 40px; height: 40px;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); color: var(--primary);
}
.workshop-card:hover .workshop-arrow {
  background: var(--primary); color: white;
  border-color: var(--primary);
}

/* ===== WHY (Bento Grid) ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.bento-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: var(--transition);
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento-card.wide { grid-column: span 2; }
.bento-card.tall { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
.bento-card .icon-wrap {
  width: 44px; height: 44px; background: var(--bg-soft);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.bento-card .icon-wrap svg { width: 22px; height: 22px; stroke: var(--primary); fill: none; }
.bento-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.bento-card p { color: var(--text-muted); font-size: 0.92rem; }
.bento-img { border-radius: 16px; overflow: hidden; margin-top: 20px; }
.bento-img img { width: 100%; height: 200px; object-fit: cover; }

/* ===== TESTIMONIALS (Horizontal Scroll) ===== */
.testimonials-scroll {
  display: flex; gap: 20px; overflow-x: auto;
  padding: 0 20px 20px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none; scrollbar-width: none;
}
.testimonials-scroll::-webkit-scrollbar { display: none; }
.testimonial-item {
  min-width: 340px; max-width: 380px;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  scroll-snap-align: start; flex-shrink: 0;
}
.testimonial-item .stars { color: var(--accent); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-item blockquote { font-size: 0.95rem; margin-bottom: 16px; font-style: italic; color: var(--text-body); }
.testimonial-item .author { display: flex; align-items: center; gap: 10px; }
.testimonial-item .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary-light); display: flex; align-items: center;
  justify-content: center; font-weight: 700; color: var(--primary-dark);
  font-size: 0.9rem;
}
.testimonial-item .name { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.testimonial-item .role { font-size: 0.78rem; color: var(--text-muted); }

/* ===== CONTACT ===== */
.contact-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.contact-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
}
.contact-row { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-row:last-child { margin-bottom: 0; }
.contact-row .ic {
  width: 44px; height: 44px; background: var(--bg-soft);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.contact-row .ic svg { width: 20px; height: 20px; stroke: var(--primary); fill: none; }
.contact-row h4 { font-size: 0.95rem; margin-bottom: 2px; }
.contact-row p { color: var(--text-muted); font-size: 0.92rem; }
.contact-row a { color: var(--primary); }
.map-frame {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); height: 380px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ===== FORM ===== */
.form-sec { background: var(--bg-soft); }
.form-box {
  max-width: 600px; margin: 0 auto;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; margin-bottom: 5px;
  font-weight: 600; font-size: 0.85rem; color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px;
  background: var(--bg-main); border: 1px solid var(--border);
  border-radius: 14px; color: var(--text-dark);
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 138, 78, 0.1);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-submit-btn { width: 100%; margin-top: 8px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--text-dark); color: #c5d8ca; padding: 56px 0 20px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px; margin-bottom: 36px;
}
.footer-brand p { margin-top: 14px; font-size: 0.9rem; color: #8aa690; }
.footer-brand .logo-text { color: var(--primary-light); }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; color: var(--primary-light); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #8aa690; font-size: 0.9rem; }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px; display: flex;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: #6b8a73; }
.footer-phone { color: var(--primary-light) !important; font-weight: 600; }

/* ===== COOKIE ===== */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px;
  max-width: 420px; width: calc(100% - 40px);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px; z-index: 9999;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-accept { background: var(--primary); color: white; border: none; padding: 8px 20px; border-radius: 50px; font-weight: 600; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; }
.cookie-decline { background: var(--bg-soft); color: var(--text-muted); border: none; padding: 8px 20px; border-radius: 50px; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; }

/* ===== BLOG ===== */
.blog-masonry { columns: 2; column-gap: 20px; }
.blog-item {
  break-inside: avoid; margin-bottom: 20px;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition);
}
.blog-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-item img { width: 100%; height: auto; }
.blog-item-body { padding: 24px; }
.blog-item-date { font-size: 0.78rem; color: var(--primary); font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.blog-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.blog-item p { color: var(--text-muted); font-size: 0.9rem; }

/* ===== ARTICLE ===== */
.article-hero { padding: 120px 0 50px; text-align: center; background: var(--bg-soft); }
.article-hero h1 { max-width: 740px; margin: 0 auto 14px; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.article-meta { color: var(--text-muted); font-size: 0.88rem; }
.article-body { max-width: 720px; margin: 0 auto; padding: 50px 20px 80px; }
.article-body p { margin-bottom: 18px; font-size: 1.05rem; }
.article-body h2 { margin: 36px 0 14px; font-size: 1.5rem; }
.article-body h3 { margin: 28px 0 10px; font-size: 1.2rem; }
.article-body ul, .article-body ol { margin: 14px 0; padding-left: 22px; }
.article-body li { margin-bottom: 6px; }

/* ===== PAGE ===== */
.page-header { padding: 120px 0 50px; background: var(--bg-soft); text-align: center; }
.page-body { padding: 50px 0 80px; }
.page-body .container { max-width: 760px; }
.page-body p { margin-bottom: 14px; font-size: 1rem; }
.page-body h2 { margin: 32px 0 14px; font-size: 1.4rem; }
.page-body ul { margin: 10px 0; padding-left: 22px; }
.page-body li { margin-bottom: 6px; }

/* ===== THANK YOU ===== */
.ty-hero { padding: 120px 0 50px; text-align: center; background: var(--bg-soft); }
.ty-check {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--primary-light); display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.ty-check svg { width: 36px; height: 36px; stroke: var(--primary-dark); fill: none; }
.ty-content { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; }
.ty-content h2 { margin: 28px 0 14px; }
.ty-content p { margin-bottom: 14px; font-size: 1rem; }
.ty-content ul { margin: 10px 0; padding-left: 22px; }
.ty-content li { margin-bottom: 8px; }
.ty-box {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; margin-top: 32px;
  text-align: center;
}

/* ===== DETAIL ===== */
.detail-hero { padding: 120px 0 50px; background: var(--bg-soft); }
.detail-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.detail-img { border-radius: var(--radius); overflow: hidden; }
.detail-img img { width: 100%; height: 320px; object-fit: cover; }

/* ===== FADE ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 100px 20px 40px; order: 2; }
  .hero-image { height: 50vh; border-radius: 0; order: 1; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-card.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-split, .detail-split { grid-template-columns: 1fr; }
  .nav-links { position: static; transform: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta.desktop { display: none; }
  .burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--bg-white); padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.wide, .bento-card.tall { grid-column: auto; grid-row: auto; }
  .workshop-card { grid-template-columns: 1fr; }
  .workshop-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; gap: 16px; }
  .blog-masonry { columns: 1; }
  .cookie-banner { max-width: 90%; width: 90%; left: 5%; }
}
