/* Budget School Montreal - Cozy Vanilla/Terracotta Theme */
:root {
  --primary: #c97a63; /* terracotta */
  --primary-light: #e8a896;
  --bg-main: #fcf9f2; /* cream */
  --bg-panel: #fff;
  --text-main: #4a403a;
  --text-muted: #8b7d77;
  --font-main: 'Lora', serif;
  --font-alt: 'Nunito', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-alt); background: var(--bg-main); color: var(--text-main); line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-main); color: #3a2e28; margin-bottom: 15px; font-weight: 500; }
a { color: var(--primary); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--primary-light); }
img { max-width: 100%; border-radius: 12px; }
.container { max-width: 900px; margin: 0 auto; padding: 0 25px; }

/* HEADER */
.header { background: var(--bg-panel); padding: 20px 0; box-shadow: 0 4px 15px rgba(0,0,0,0.03); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; max-width: 900px; margin: 0 auto; padding: 0 25px; }
.logo { font-family: var(--font-main); font-size: 1.6rem; color: var(--primary); display: flex; align-items: center; gap: 8px; font-weight: 600; }
.nav-links { list-style: none; display: flex; gap: 25px; }
.nav-links a { color: var(--text-main); font-weight: 600; font-size: 1rem; position: relative; padding-bottom: 5px; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px; background: var(--primary); transition: 0.3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* HERO */
.hero { text-align: center; padding: 80px 0; background: radial-gradient(circle at top, #fff, var(--bg-main)); }
.hero h1 { font-size: 3.2rem; max-width: 700px; margin: 0 auto 20px; line-height: 1.2; }
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 30px; }
.btn { display: inline-block; background: var(--primary); color: #fff; padding: 14px 30px; border-radius: 30px; font-weight: 700; border: none; cursor: pointer; transition: 0.3s; box-shadow: 0 4px 10px rgba(201, 122, 99, 0.3); }
.btn:hover { background: #b0624a; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(201, 122, 99, 0.4); color: white; }
.hero-img-wrap { margin-top: 40px; }
.hero-img-wrap img { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }

/* SECTIONS */
.section { padding: 70px 0; }
.text-center { text-align: center; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.card { background: var(--bg-panel); border-radius: 15px; padding: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.04); text-align: center; transition: 0.3s; border: 1px solid #f0e6dd; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.06); }
.card-icon { font-size: 2.5rem; margin-bottom: 15px; }

/* CONTACT */
.contact-section { background: #fff; padding: 60px; border-radius: 20px; margin: 40px 0; box-shadow: 0 5px 20px rgba(0,0,0,0.03); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.form-input { width: 100%; padding: 12px 15px; border: 1px solid #e0d5cb; border-radius: 8px; margin-bottom: 20px; font-family: var(--font-alt); background: var(--bg-main); transition: 0.3s; }
.form-input:focus { outline: none; border-color: var(--primary); background: #fff; }

/* FOOTER */
.footer { padding: 50px 0; background: #fff; text-align: center; border-top: 1px solid #e0d5cb; margin-top: 40px; }
.footer p { color: var(--text-muted); font-size: 0.95rem; margin-top: 15px; }

/* COOKIE BANNER */
.cookie-banner { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #fff; padding: 20px 30px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); z-index: 1000; display: none; width: 90%; max-width: 400px; text-align: center; border: 1px solid var(--primary-light); }
.cookie-banner.show { display: block; }
.cookie-btn { background: var(--primary); color: white; padding: 8px 20px; border-radius: 20px; border: none; cursor: pointer; margin-top: 15px; font-weight: 600; width: 100%; }

@media (max-width: 768px) {
  .contact-section { grid-template-columns: 1fr; padding: 30px; }
  .nav-links { display: none; }
  .header-inner::after { content: '☰'; font-size: 1.5rem; color: var(--primary); cursor: pointer; }
}
