/* ========================================
   FIX MY GARAGE CANADA — DESIGN SYSTEM
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary:       #E53E3E;
  --primary-dark:  #C53030;
  --primary-light: #FC8181;
  --primary-bg:    rgba(229,62,62,0.06);
  --accent:        #DD6B20;
  --accent-light:  #ED8936;
  --gradient:      linear-gradient(135deg, #E53E3E 0%, #DD6B20 100%);
  --gradient-soft: linear-gradient(135deg, rgba(229,62,62,0.06) 0%, rgba(221,107,32,0.06) 100%);
  --bg:            #FFFFFF;
  --bg-alt:        #F8F9FB;
  --bg-section:    #F2F4F8;
  --bg-card:       #FFFFFF;
  --bg-dark:       #1A1A2E;
  --bg-dark-alt:   #16213E;
  --text:          #111827;
  --text-muted:    #6B7280;
  --text-light:    #9CA3AF;
  --white:         #FFFFFF;
  --border:        #E5E7EB;
  --border-dark:   #D1D5DB;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:     0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:     0 12px 32px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.04);
  --shadow-primary:0 8px 24px rgba(229,62,62,0.25);
  --radius:        16px;
  --radius-sm:     8px;
  --radius-full:   999px;
  --transition:    all 0.25s cubic-bezier(0.4,0,0.2,1);
  --font:          'Inter', system-ui, -apple-system, sans-serif;
  --max-w:         1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; cursor: pointer; font-family: var(--font); background: transparent; }
input, textarea, select { font-family: var(--font); }

/* Utilities */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.section-label { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; background: var(--primary-bg); border-radius: var(--radius-full); padding: 4px 14px; }
.section-title { font-size: clamp(1.75rem,3.5vw,2.75rem); font-weight: 800; line-height: 1.15; color: var(--text); letter-spacing: -0.025em; }
.section-title span { color: var(--primary); }
.section-desc { font-size: 1rem; color: var(--text-muted); max-width: 560px; line-height: 1.7; margin-top: 12px; }

/* Animations */
@keyframes fadeInUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.5; } }
@keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }
.animate-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ── NAVIGATION ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); transition: var(--transition); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav-left { display: flex; align-items: center; gap: 16px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 50px; width: auto; object-fit: contain; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); padding: 7px 13px; border-radius: var(--radius-sm); transition: var(--transition); }
.nav-link:hover { color: var(--text); background: var(--bg-section); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-cta { background: var(--gradient); color: var(--white) !important; font-weight: 600; padding: 8px 18px; border-radius: var(--radius-full); margin-left: 8px; }
.nav-cta:hover { box-shadow: var(--shadow-primary); transform: translateY(-1px); background: var(--gradient); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.nav-mobile { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 16px 24px; z-index: 999; box-shadow: var(--shadow-lg); flex-direction: column; gap: 4px; }
.nav-mobile a { padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 500; font-size: 0.95rem; color: var(--text-muted); }
.nav-mobile a:hover { background: var(--bg-section); color: var(--text); }
.mobile-cta { background: var(--gradient); color: var(--white) !important; text-align: center; border-radius: var(--radius-full) !important; font-weight: 600 !important; margin-top: 8px; }

@media(max-width:900px) {
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile.open { display: flex; }
}

/* ── HERO ── */
.hero { padding: 140px 0 80px; background: var(--gradient-soft); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(229,62,62,0.08) 0%, transparent 70%); border-radius: 50%; }
.hero::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(221,107,32,0.06) 0%, transparent 70%); border-radius: 50%; }
.hero .container { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-full); padding: 6px 16px; font-size: 0.82rem; font-weight: 600; color: var(--primary); margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.hero-title { font-size: clamp(2.2rem,5vw,3.5rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; max-width: 720px; }
.hero-title span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 1.15rem; color: var(--text-muted); max-width: 560px; margin-top: 20px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: var(--gradient); color: var(--white); font-weight: 700; font-size: 0.95rem; border-radius: var(--radius-full); transition: var(--transition); border: none; cursor: pointer; }
.btn-primary:hover { box-shadow: var(--shadow-primary); transform: translateY(-2px); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: var(--white); color: var(--text); font-weight: 600; font-size: 0.95rem; border-radius: var(--radius-full); border: 1px solid var(--border-dark); transition: var(--transition); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-sm); }

/* ── SECTIONS ── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--white); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-desc { color: rgba(255,255,255,0.6); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header .section-desc { margin: 12px auto 0; }

/* ── CARDS ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: var(--transition); position: relative; overflow: hidden; }
.card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--gradient-soft); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.card-title a { color: var(--text); transition: color 0.2s; }
.card-title a:hover { color: var(--primary); }
.card-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.card-price { display: inline-block; margin-top: 12px; font-size: 0.82rem; font-weight: 700; color: var(--primary); background: var(--primary-bg); padding: 4px 12px; border-radius: var(--radius-full); }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.88rem; font-weight: 600; color: var(--primary); transition: var(--transition); }
.card-link:hover { gap: 10px; }

.card-img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 16px; }

/* ── STATS ── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; text-align: center; }
.stat-item { padding: 24px; }
.stat-number { font-size: 2.5rem; font-weight: 900; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -0.03em; }
.stat-label { font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* ── FEATURES LIST ── */
.features-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 24px 0; }
.feature-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--bg-alt); border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; }
.feature-item::before { content: '✓'; color: var(--primary); font-weight: 800; font-size: 0.85rem; flex-shrink: 0; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; background: var(--primary-bg); border-radius: 50%; }

/* ── BREADCRUMBS ── */
.breadcrumbs { padding: 100px 0 0; }
.breadcrumbs-inner { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.82rem; color: var(--text-light); padding: 12px 0; }
.breadcrumbs-inner a { color: var(--text-muted); font-weight: 500; transition: color 0.2s; }
.breadcrumbs-inner a:hover { color: var(--primary); }
.breadcrumbs-inner .sep { color: var(--border-dark); }

/* ── FAQ ACCORDION ── */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.faq-item.open { border-color: var(--primary-light); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; font-weight: 600; font-size: 0.95rem; cursor: pointer; background: var(--white); transition: var(--transition); }
.faq-q:hover { background: var(--bg-alt); }
.faq-q .faq-arrow { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.3s; color: var(--text-muted); }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 20px 18px; font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ── CTA BANNER ── */
.cta-banner { padding: 80px 0; background: var(--gradient); color: var(--white); text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.cta-banner h2 { font-size: clamp(1.6rem,3vw,2.25rem); font-weight: 800; margin-bottom: 12px; }
.cta-banner p { font-size: 1rem; opacity: 0.85; max-width: 500px; margin: 0 auto 28px; }
.cta-banner .btn-primary { background: var(--white); color: var(--primary); }
.cta-banner .btn-primary:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ── PROVINCE/CITY GRID ── */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.city-chip { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.city-chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.city-chip .chip-pop { font-size: 0.75rem; color: var(--text-light); margin-left: auto; }

/* ── FOOTER ── */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-brand .footer-logo { display: flex; align-items: center; margin-bottom: 12px; }
.footer-logo img { height: 60px; width: auto; object-fit: contain; border-radius: 8px; }
.footer-tagline { font-size: 0.88rem; line-height: 1.7; margin-bottom: 16px; }
.footer-contact { font-size: 0.88rem; display: flex; flex-direction: column; gap: 6px; }
.footer-contact a { color: var(--primary-light); transition: color 0.2s; }
.footer-contact a:hover { color: var(--white); }
.footer h4 { color: var(--white); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; flex-wrap: wrap; gap: 12px; }

@media(max-width:900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.8rem; }
  .card-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── INNER PAGE HERO ── */
.inner-hero { padding: 120px 0 48px; background: var(--gradient-soft); position: relative; }
.inner-hero h1 { font-size: clamp(1.8rem,4vw,2.75rem); font-weight: 900; letter-spacing: -0.025em; line-height: 1.15; }
.inner-hero h1 span { color: var(--primary); }
.inner-hero .hero-desc { margin-top: 12px; }

.hero-image-bg { background-size: cover !important; background-position: center !important; color: var(--white); }
.hero-image-bg::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(26, 26, 46, 0.75); z-index: 0; }
.hero-image-bg .container { position: relative; z-index: 1; }
.hero-image-bg .hero-title { color: var(--white); }
.hero-image-bg .hero-desc { color: rgba(255, 255, 255, 0.9); }
.hero-image-bg .section-label { background: rgba(255, 255, 255, 0.15); color: var(--white); backdrop-filter: blur(4px); border-color: rgba(255, 255, 255, 0.2); }
.hero-image-bg .btn-outline { color: var(--white); border-color: rgba(255, 255, 255, 0.3); background: transparent; }
.hero-image-bg .btn-outline:hover { background: var(--white); color: var(--text); }

/* ── CONTENT SECTION ── */
.content-section { padding: 48px 0; }
.content-section h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.content-section h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.content-section p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; max-width: 720px; }
.content-section ul { margin: 16px 0; padding-left: 0; }
.content-section ul li { padding: 6px 0 6px 24px; position: relative; color: var(--text-muted); font-size: 0.95rem; }
.content-section ul li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon { font-size: 1.5rem; background: var(--primary-bg); padding: 10px; border-radius: 8px; flex-shrink: 0; }
.contact-item h4 { font-weight: 700; margin-bottom: 4px; }
.contact-item p { color: var(--text-muted); font-size: 0.95rem; }
.contact-item a { color: var(--primary); }
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md); }
.contact-form h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); }
.form-input { width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; transition: var(--transition); }
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-bg); }
textarea.form-input { resize: vertical; min-height: 100px; }

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

/* ── RELATED LINKS ── */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.related-link { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.related-link:hover { border-color: var(--primary); color: var(--primary); }
.related-link .r-icon { font-size: 1.1rem; }
