/* ==========================================================================
   Hualaibien — packaging supplier (Greater Montreal)
   Fresh, cozy, family-run look. Soft green cream + forest green + sage.
   ========================================================================== */

:root {
  --cream:      #f4f8ef;
  --cream-2:    #e7efdc;
  --kraft:      #4a7c48;
  --kraft-dk:   #396239;
  --green:      #6f9c5f;
  --green-dk:   #3f6b3a;
  --ink:        #2b322a;
  --ink-soft:   #556150;
  --line:       #d8e4c9;
  --white:      #ffffff;
  --shadow:     0 2px 10px rgba(45, 75, 40, 0.08);
  --shadow-lg:  0 8px 28px rgba(45, 75, 40, 0.14);
  --radius:     10px;
  --maxw:       1120px;
  --serif:      Georgia, "Times New Roman", "Songti SC", serif;
  --sans:       -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}

/* Language toggle -------------------------------------------------------- */
body.lang-en .fr,
body.lang-fr .en { display: none; }

/* Layout ----------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.25; color: var(--ink); }
h1 { font-size: 2.5rem; margin: 0 0 .5em; }
h2 { font-size: 1.9rem; margin: 0 0 .6em; }
h3 { font-size: 1.25rem; margin: 0 0 .35em; }
p  { margin: 0 0 1em; color: var(--ink-soft); }
a  { color: var(--kraft-dk); }

.section { padding: 64px 0; }
.section.alt { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700;
           color: var(--green-dk); margin: 0 0 .5em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 40px;
  font-weight: 700; text-decoration: none; font-size: 1rem; cursor: pointer;
  border: 2px solid transparent; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--kraft); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--kraft-dk); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--kraft-dk); border-color: var(--kraft); }
.btn-ghost:hover { background: rgba(74, 124, 72, .10); }
.btn-lg { padding: 15px 34px; font-size: 1.08rem; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.center .btn-row { justify-content: center; }

/* Header / nav ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 248, 239, .95); backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand .mark {
  width: 40px; height: 40px; border-radius: 9px; background: var(--kraft);
  display: grid; place-items: center; color: #fff; flex: none; box-shadow: var(--shadow);
}
.brand .name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: .01em; }
.brand .name small { display: block; font-family: var(--sans); font-weight: 500; font-size: .68rem;
                     letter-spacing: .12em; text-transform: uppercase; color: var(--green-dk); }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-weight: 600; padding: 9px 14px; border-radius: 8px;
  font-size: .98rem;
}
.nav-links a:hover, .nav-links a.active { background: var(--cream-2); color: var(--kraft-dk); }

.lang-toggle {
  margin-left: 8px; border: 1px solid var(--line); border-radius: 40px; background: var(--white);
  overflow: hidden; display: inline-flex; font-size: .82rem; font-weight: 700;
}
.lang-toggle button { border: 0; background: transparent; padding: 7px 13px; cursor: pointer; color: var(--ink-soft); }
.lang-toggle button.active { background: var(--kraft); color: #fff; }

.nav-toggle { display: none; border: 1px solid var(--line); background: var(--white); border-radius: 8px;
              width: 42px; height: 42px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; }

/* Hero ------------------------------------------------------------------- */
.hero { background:
    radial-gradient(1200px 400px at 80% -10%, rgba(95,125,85,.12), transparent 60%),
    linear-gradient(180deg, var(--cream-2), var(--cream));
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: center;
              padding: 74px 0 80px; }
.hero h1 { font-size: 2.9rem; }
.hero .lead { font-size: 1.22rem; }
.hero-art { display: grid; place-items: center; }
.hero-art svg { width: 100%; max-width: 420px; height: auto; filter: drop-shadow(var(--shadow-lg)); }

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge { display: inline-flex; align-items: center; gap: 7px; background: var(--white);
         border: 1px solid var(--line); border-radius: 40px; padding: 7px 15px; font-size: .9rem;
         font-weight: 600; color: var(--ink-soft); box-shadow: var(--shadow); }
.badge svg { color: var(--green-dk); }

/* Feature / value cards -------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.value .icon, .prod .icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: var(--cream-2); color: var(--kraft-dk);
}

/* Product cards ---------------------------------------------------------- */
.prod .thumb {
  height: 150px; border-radius: 8px; margin-bottom: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cream-2), #d6e6c2); border: 1px solid var(--line);
}
.prod .thumb svg { width: 76px; height: 76px; color: var(--kraft); }
.spec { list-style: none; margin: 12px 0 0; padding: 0; }
.spec li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0;
           border-top: 1px dashed var(--line); font-size: .92rem; }
.spec li span:first-child { color: var(--ink-soft); }
.spec li span:last-child { font-weight: 600; color: var(--ink); }
.tag { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase;
       letter-spacing: .06em; color: var(--green-dk); background: rgba(95,125,85,.12);
       padding: 3px 9px; border-radius: 20px; margin-bottom: 12px; }

/* Callout band ----------------------------------------------------------- */
.band { background: var(--kraft); color: #fff; border: 0; }
.band h2, .band p { color: #fff; }
.band p { color: rgba(255,255,255,.9); }
.band .btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.band .btn-ghost:hover { background: rgba(255,255,255,.14); }
.band .btn-primary { background: var(--white); color: var(--kraft-dk); }
.band .btn-primary:hover { background: var(--cream-2); }

/* Contact / forms -------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; background: var(--white); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--kraft); box-shadow: 0 0 0 3px rgba(74,124,72,.18);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .86rem; color: var(--ink-soft); }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ic { width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--cream-2);
                 display: grid; place-items: center; color: var(--kraft-dk); }
.info-list a { text-decoration: none; font-weight: 700; }
.info-list .big { font-size: 1.15rem; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #cdd6c4; padding: 48px 0 28px; margin-top: 0; }
.site-footer a { color: #dcebcd; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h4 { font-family: var(--serif); color: #fff; margin: 0 0 12px; font-size: 1.05rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.foot-brand .mark { width: 38px; height: 38px; border-radius: 9px; background: var(--kraft);
                    display: grid; place-items: center; color: #fff; }
.foot-brand .name { font-family: var(--serif); font-size: 1.25rem; color: #fff; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 20px;
         font-size: .85rem; color: #aaa197; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Page hero (inner pages) ----------------------------------------------- */
.page-head { background: var(--cream-2); border-bottom: 1px solid var(--line); padding: 52px 0; }
.page-head h1 { margin-bottom: .25em; }

/* Utility ---------------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 14px; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  h1 { font-size: 2rem; } .hero h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; background: var(--cream);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 14px 16px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; border-radius: 8px; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}
