/* OntarioCustomBuilders.ca — Design System */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --forest: #1B3A2F;
  --forest-mid: #2D5C47;
  --forest-light: #EAF2EE;
  --gold: #C4933F;
  --gold-light: #FDF3E0;
  --gold-dark: #9A7230;
  --cream: #FAF8F4;
  --white: #FFFFFF;
  --charcoal: #1A1A1A;
  --slate: #3D4852;
  --muted: #6B7280;
  --border: #E5DDD3;
  --shadow-xs: 0 1px 3px rgba(0,0,0,.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.14);
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
  --nav-h: 72px;
  --max: 1200px;
  --t: .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select, button { font-family: inherit; }

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 600; }
p { line-height: 1.7; color: var(--slate); }
.lead { font-size: 1.15rem; line-height: 1.7; color: var(--slate); }
.label {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); display: block;
}

/* ── LAYOUT ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ── NAV ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  background: rgba(27,58,47,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: all var(--t);
}
.site-nav.scrolled {
  height: 62px;
  box-shadow: 0 2px 24px rgba(0,0,0,.22);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.nav-logo { display: flex; flex-direction: column; flex-shrink: 0; }
.nav-logo-main {
  font-family: 'Playfair Display', serif; font-size: 1.05rem;
  font-weight: 700; color: #fff; line-height: 1.1;
}
.nav-logo-sub {
  font-size: .6rem; font-weight: 500; color: var(--gold);
  letter-spacing: .05em; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  color: rgba(255,255,255,.82); font-size: .855rem; font-weight: 500;
  padding: 7px 11px; border-radius: var(--r-sm); transition: all var(--t);
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.1); }
.nav-links a.highlight { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important; color: var(--forest) !important;
  font-weight: 700 !important; padding: 8px 16px !important;
  border-radius: var(--r-md) !important; font-size: .8rem !important;
}
.nav-cta:hover { background: #d4a34f !important; box-shadow: 0 4px 12px rgba(196,147,63,.4) !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all var(--t); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--r-md);
  font-size: .92rem; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: all var(--t);
  text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--forest); color: #fff; border-color: var(--forest); }
.btn-primary:hover { background: var(--forest-mid); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(27,58,47,.3); }
.btn-gold { background: var(--gold); color: var(--forest); border-color: var(--gold); font-weight: 700; }
.btn-gold:hover { background: #d4a34f; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(196,147,63,.4); }
.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: #fff; transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-sm { padding: 8px 18px; font-size: .82rem; }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }

/* ── CARDS ── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: all var(--t); box-shadow: var(--shadow-sm);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--forest-light); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 22px 24px; }
.card-title { font-family: 'Playfair Display',serif; font-size: 1.12rem; font-weight: 700; color: var(--forest); margin-bottom: 6px; }
.card-text { font-size: .875rem; color: var(--muted); line-height: 1.6; }
.card-meta { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.card-footer { padding: 14px 24px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }

/* ── BUILDER CARD ── */
.builder-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px;
  transition: all var(--t); box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.builder-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.builder-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(196,147,63,.4); }
.builder-card:hover::before { transform: scaleX(1); }
.builder-logo {
  width: 52px; height: 52px; border-radius: 10px; background: var(--forest-light);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display',serif; font-size: 1.1rem; font-weight: 700; color: var(--forest); flex-shrink: 0;
}
.builder-name { font-family: 'Playfair Display',serif; font-size: 1.1rem; font-weight: 700; color: var(--forest); margin-bottom: 3px; }
.builder-location { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 4px; margin-bottom: 12px; }
.builder-desc { font-size: .875rem; color: var(--slate); line-height: 1.65; margin-bottom: 14px; }
.builder-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tag { font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: .03em; text-transform: uppercase; }
.tag-green { background: var(--forest-light); color: var(--forest); }
.tag-gold { background: var(--gold-light); color: var(--gold-dark); }
.tag-slate { background: #EEF2F5; color: var(--slate); }
.builder-stats { display: flex; gap: 14px; padding-top: 14px; border-top: 1px solid var(--border); align-items: center; }
.builder-stat-item { flex: 1; }
.builder-stat-num { font-size: 1.05rem; font-weight: 700; color: var(--forest); font-family: 'Playfair Display',serif; }
.builder-stat-lbl { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; background: var(--forest);
}
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,58,47,.9) 0%, rgba(27,58,47,.65) 55%, rgba(0,0,0,.4) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero .lead { color: rgba(255,255,255,.88); margin-bottom: 32px; max-width: 580px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(196,147,63,.15); border: 1px solid rgba(196,147,63,.4);
  color: var(--gold); font-size: .75rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 18px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

/* ── SEARCH BAR ── */
.search-bar {
  background: var(--white); border-radius: var(--r-lg);
  padding: 7px; display: flex; align-items: center; gap: 6px;
  box-shadow: var(--shadow-lg); max-width: 680px;
}
.search-bar input {
  flex: 1; border: none; outline: none;
  padding: 10px 14px; font-size: .92rem; color: var(--charcoal); background: transparent;
}
.search-bar select {
  border: none; outline: none; padding: 10px 12px;
  font-size: .85rem; color: var(--slate); background: var(--cream);
  border-radius: 8px; cursor: pointer;
}

/* ── STATS ── */
.stats-bar { background: var(--forest); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat-num {
  font-family: 'Playfair Display',serif; font-size: 2.1rem;
  font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 6px;
}
.stat-lbl { font-size: .8rem; color: rgba(255,255,255,.7); letter-spacing: .03em; }

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 52px; }
.section-header .label { margin-bottom: 10px; }
.section-header h2 { color: var(--forest); margin-bottom: 14px; }
.section-header p { color: var(--slate); max-width: 540px; margin: 0 auto; font-size: 1.05rem; }

/* ── VIDEO PLACEHOLDER ── */
.video-placeholder {
  position: relative; background: linear-gradient(135deg,#0d1f18 0%,#1B3A2F 50%,#2D5C47 100%);
  border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
}
.vp-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(196,147,63,.1) 0%,transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(27,58,47,.3) 0%,transparent 60%);
}
.vp-content { text-align: center; z-index: 1; position: relative; padding: 24px; }
.play-btn {
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(196,147,63,.18); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; cursor: pointer; transition: all var(--t); position: relative;
}
.play-btn:hover { background: rgba(196,147,63,.32); transform: scale(1.08); }
.play-btn svg { margin-left: 4px; }
.vp-label { color: rgba(255,255,255,.65); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.vp-title { font-family: 'Playfair Display',serif; font-size: 1.5rem; font-weight: 600; color: #fff; margin-bottom: 10px; }
.vp-sub { font-size: .88rem; color: rgba(255,255,255,.5); line-height: 1.6; }
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.6); opacity: 0; }
}
.pulse-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(196,147,63,.25); animation: pulse-ring 2s ease infinite;
}

/* ── HOW IT WORKS ── */
.how-works { background: var(--forest); }
.step-card { text-align: center; padding: 32px 20px; }
.step-num {
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(196,147,63,.14); border: 2px solid var(--gold);
  color: var(--gold); font-family: 'Playfair Display',serif; font-size: 1.25rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.step-title { font-family: 'Playfair Display',serif; font-size: 1.1rem; color: #fff; margin-bottom: 10px; }
.step-text { font-size: .875rem; color: rgba(255,255,255,.68); line-height: 1.7; }

/* ── REBATE BANNER ── */
.rebate-banner {
  background: linear-gradient(135deg,#FDF3E0 0%,#FAF8F4 100%);
  border: 2px solid rgba(196,147,63,.28); border-radius: var(--r-xl);
  padding: 56px 48px; text-align: center; position: relative; overflow: hidden;
}
.rebate-banner::before {
  content: '$'; position: absolute; right: -20px; top: -50px;
  font-family: 'Playfair Display',serif; font-size: 22rem; font-weight: 700;
  color: rgba(196,147,63,.05); line-height: 1; pointer-events: none;
}

/* ── REGION CARDS ── */
.region-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  cursor: pointer; display: block; text-decoration: none;
}
.region-bg { width: 100%; height: 100%; transition: transform .4s ease; }
.region-card:hover .region-bg { transform: scale(1.04); }
.region-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27,58,47,.85) 0%, transparent 60%);
}
.region-label { position: absolute; bottom: 18px; left: 20px; right: 20px; }
.region-name { font-family: 'Playfair Display',serif; font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.region-count { font-size: .75rem; color: rgba(255,255,255,.72); }

/* ── TESTIMONIALS ── */
.testimonial {
  background: var(--white); border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.stars { color: var(--gold); font-size: .9rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text { font-size: .95rem; font-style: italic; color: var(--slate); line-height: 1.7; margin-bottom: 18px; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--forest-light);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display',serif; font-size: .9rem; font-weight: 700; color: var(--forest); flex-shrink: 0;
}
.t-name { font-weight: 600; font-size: .88rem; color: var(--forest); }
.t-loc { font-size: .75rem; color: var(--muted); }

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
  padding: 100px 0 64px; position: relative; overflow: hidden;
}
.page-header::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 56px; background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-header h1 { color: #fff; margin-bottom: 14px; }
.page-header .lead { color: rgba(255,255,255,.75); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--gold); }

/* ── FILTER BAR ── */
.filter-bar {
  background: var(--white); border-radius: var(--r-lg); padding: 18px 22px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  margin-bottom: 32px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.filter-label { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 4px; }
.filter-chip {
  padding: 5px 15px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  cursor: pointer; border: 1.5px solid var(--border); color: var(--slate);
  background: var(--cream); transition: all var(--t);
}
.filter-chip:hover, .filter-chip.active { background: var(--forest); color: #fff; border-color: var(--forest); }

/* ── FORMS ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .84rem; font-weight: 600; color: var(--slate); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--r-md); font-size: .92rem; color: var(--charcoal);
  background: var(--white); transition: border-color var(--t), box-shadow var(--t); outline: none;
}
.form-control:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(27,58,47,.1); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-box {
  background: var(--white); border-radius: var(--r-xl); padding: 48px;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
}

/* ── BADGES ── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}
.badge-green { background: #DCFCE7; color: #166534; }
.badge-gold { background: var(--gold-light); color: var(--gold-dark); }
.badge-blue { background: #EFF9FE; color: #0288C4; }

/* ── FOOTER ── */
.site-footer { background: var(--charcoal); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { font-family: 'Playfair Display',serif; font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-tagline { font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.55); margin-bottom: 20px; }
.footer-col-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.6); transition: color var(--t); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-bottom a { color: var(--gold); }
.footer-hst {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(196,147,63,.12); border: 1px solid rgba(196,147,63,.25);
  border-radius: var(--r-md); padding: 10px 16px;
  font-size: .8rem; color: var(--gold); font-weight: 500; transition: all var(--t);
}
.footer-hst:hover { background: rgba(196,147,63,.22); }

/* ── PROFILE PAGE ── */
.profile-hero {
  background: var(--forest); height: 320px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
}
.profile-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.profile-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,58,47,.95) 0%, rgba(27,58,47,.3) 100%); }
.profile-hero-content { position: relative; z-index: 1; padding: 32px 0; width: 100%; }
.profile-avatar {
  width: 80px; height: 80px; border-radius: 16px; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display',serif; font-size: 1.6rem; font-weight: 700;
  color: var(--forest); margin-bottom: 16px; box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.gallery-item { aspect-ratio: 4/3; border-radius: var(--r-md); overflow: hidden; background: var(--forest-light); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* ── CALC ── */
.calc-box {
  background: linear-gradient(135deg,#1B3A2F 0%,#2D5C47 100%);
  border-radius: var(--r-xl); padding: 48px; color: #fff;
}
.calc-result {
  font-family: 'Playfair Display',serif; font-size: 3rem; font-weight: 700;
  color: var(--gold); line-height: 1; margin: 12px 0 6px;
}
.calc-result-lbl { font-size: .8rem; color: rgba(255,255,255,.65); letter-spacing: .06em; text-transform: uppercase; }
.calc-control {
  width: 100%; padding: 13px 16px; border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--r-md); font-size: 1rem; color: #fff; background: rgba(255,255,255,.1);
  outline: none; transition: border-color var(--t);
}
.calc-control:focus { border-color: var(--gold); }
.calc-control::placeholder { color: rgba(255,255,255,.4); }
option { background: var(--forest); }

/* ── BLOG ── */
.blog-card { display: grid; grid-template-columns: 280px 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: all var(--t); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card-img { overflow: hidden; background: var(--forest-light); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 28px 32px; }
.blog-cat { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--gold); margin-bottom: 8px; }
.blog-title { font-family: 'Playfair Display',serif; font-size: 1.2rem; font-weight: 700; color: var(--forest); margin-bottom: 10px; line-height: 1.35; }
.blog-excerpt { font-size: .88rem; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.blog-date { font-size: .78rem; color: var(--muted); }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: .1s; }
.fade-up.d2 { transition-delay: .2s; }
.fade-up.d3 { transition-delay: .3s; }
.fade-up.d4 { transition-delay: .4s; }
.fade-up.d5 { transition-delay: .5s; }
.fade-in { opacity: 0; transition: opacity .7s ease; }
.fade-in.visible { opacity: 1; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(7px)} }

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-card { grid-template-columns: 220px 1fr; }
}
@media(max-width:768px) {
  :root { --nav-h: 62px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .hero h1 { font-size: 2rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--forest); padding: 16px;
    border-top: 1px solid rgba(255,255,255,.1); gap: 4px;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 56px 0; }
  .form-box, .calc-box { padding: 28px 22px; }
  .rebate-banner { padding: 36px 22px; }
  .blog-card { grid-template-columns: 1fr; }
  .blog-card-img { height: 200px; }
  .page-header { padding: 90px 0 50px; }
  .profile-hero { height: 260px; }
}
@media(max-width:480px) {
  .hero-actions { flex-direction: column; }
  .search-bar { flex-direction: column; }
  .search-bar input, .search-bar select { width: 100%; }
}
