/* Amar Légal: incorporation landing page
   Brand colours taken from amarlegal.ca (black / off-white / warm tan accent). */

:root {
  --black: #0f0f0f;
  --ink: #1c1c1c;          /* amarlegal.ca "darkAccent" */
  --ink-2: #2a2a2a;
  --paper: #ffffff;
  --tint: #f9f9f9;         /* amarlegal.ca "accent" */
  --line: #e4e1dc;
  --muted: #5d5d5d;
  --muted-light: #b9b9b9;
  --accent: #c5a788;       /* amarlegal.ca "lightAccent" */
  --accent-dark: #a9875f;
  --error: #b3261e;
  --radius: 2px;
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.accent { color: var(--accent); }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.eyebrow--dark { color: var(--accent-dark); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 15px 28px; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 .9rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--black); }
.btn--accent:hover { background: #d4b99d; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-light { color: #fff; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }

/* Top bar */
.topbar { background: var(--black); color: var(--muted-light); font-size: .8rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__item { text-decoration: none; letter-spacing: .04em; }
.topbar__item:hover { color: #fff; }
.lang-toggle {
  background: none; border: 1px solid #555; color: #fff; border-radius: var(--radius);
  font: 600 .72rem/1 var(--font); letter-spacing: .1em; padding: 6px 9px; cursor: pointer;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid #2f2f2f; }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.header__logo img { height: 34px; width: auto; }
.header__nav { display: flex; gap: 30px; }
.header__nav a { color: #ddd; text-decoration: none; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.header__nav a:hover { color: var(--accent); }
.header__phone { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; color: #fff; line-height: 1.2; }
.header__phone-label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.header__phone-number { font-size: 1.2rem; font-weight: 700; letter-spacing: .02em; }

/* Hero */
.hero {
  position: relative; color: #fff;
  background:
    linear-gradient(100deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.82) 48%, rgba(10,10,10,.55) 100%),
    url("assets/office.webp") center/cover no-repeat, var(--ink);
}
.hero__inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding-top: 72px; padding-bottom: 80px;
}
.hero__lead { font-size: 1.15rem; color: #d6d6d6; max-width: 34em; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }

.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Form card */
.form-card {
  background: var(--paper); color: var(--ink); padding: 34px 32px 28px;
  border-top: 4px solid var(--accent); border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.form-card__title { font-size: 1.5rem; margin-bottom: .3em; }
.form-card__sub { color: var(--muted); font-size: .95rem; margin-bottom: 1.3em; }
.form-card__micro { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 14px 0 0; font-size: .78rem; color: var(--muted); }
.form-card__micro li::before { content: "✓ "; color: var(--accent-dark); font-weight: 700; }

.lead-form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .03em; margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: 400 1rem/1.3 var(--font); color: var(--ink);
  background: #fff; border: 1px solid #cfcac3; border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231c1c1c' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(197,167,136,.35); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--error); }
.field__error { color: var(--error); font-size: .78rem; margin-top: 4px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); line-height: 1.45; cursor: pointer; }
.consent input { margin-top: 2px; accent-color: var(--ink); width: 16px; height: 16px; flex: none; }
.consent.is-invalid { color: var(--error); }
.hp { position: absolute !important; left: -9999px !important; }

.form-success { text-align: center; padding: 24px 6px; }
.form-success__icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-size: 1.6rem; color: var(--black); }
.form-success h3 { font-size: 1.4rem; }
.form-success p { color: var(--muted); }
.form-error-msg { color: var(--error); font-size: .88rem; text-align: center; margin: 0; }

/* Trust strip */
.strip { background: var(--black); color: #fff; border-top: 1px solid #262626; }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { padding: 26px 20px; border-left: 1px solid #262626; display: flex; flex-direction: column; }
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__item strong { font-size: 1.05rem; letter-spacing: .02em; }
.strip__item span { color: var(--muted-light); font-size: .88rem; }

/* Sections */
.section { padding: 72px 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section__head p:last-child { color: var(--muted); font-size: 1.08rem; }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center; gap: 28px; }
.package {
  display: flex; flex-direction: column; padding: 38px 34px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.package--featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.package__tag { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: .4em; }
.package--featured .package__tag { color: var(--accent); }
.package h3 { font-size: 1.7rem; }
.package__price { font-size: 1.6rem; font-weight: 700; margin-bottom: .6em; }
.package__price small { display: block; font-size: .85rem; font-weight: 400; color: var(--muted); }
.package--featured .package__price small, .package--featured .package__desc { color: #bdbdbd; }
.package__desc { color: var(--muted); font-size: .95rem; }
.package .btn { margin-top: auto; }
.ticks { list-style: none; padding: 0; margin: 4px 0 30px; display: grid; gap: 9px; font-size: .95rem; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 700; }
.package--featured .ticks li::before { color: var(--accent); }
.packages__note { text-align: center; color: var(--muted); margin-top: 32px; }
.packages__note a { color: var(--ink); font-weight: 600; }

/* Cards */
.cards { display: grid; gap: 24px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card__num { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--accent-dark); margin-bottom: 18px; }
.card--plain { border-left: 3px solid var(--accent); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: none; }
.step { position: relative; }
.step__num {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px;
  border: 1px solid var(--accent); color: var(--accent-dark); font-weight: 700; font-size: 1.3rem;
}
.step p { color: var(--muted); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; left: 74px; right: -20px; height: 1px; background: var(--line);
}

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--accent-dark); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* Final CTA */
.final {
  color: #fff; padding: 96px 0;
  background: linear-gradient(rgba(15,15,15,.92), rgba(15,15,15,.92)), url("assets/office.webp") center/cover no-repeat, var(--ink);
}
.final__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.final__copy > p:not(.eyebrow) { color: #cfcfcf; font-size: 1.1rem; }
.final__contact { display: grid; gap: 8px; margin-top: 30px; padding-top: 26px; border-top: 1px solid #333; }
.final__contact a { text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.final__contact a:hover { color: var(--accent); }
.final__contact address { font-style: normal; color: var(--muted-light); font-size: .95rem; margin-top: 6px; }

/* Footer */
.footer { background: var(--black); color: var(--muted-light); padding: 48px 0 40px; font-size: .82rem; }
.footer__inner { display: grid; gap: 18px; justify-items: start; }
.footer__inner img { height: 28px; width: auto; }
.footer__disclaimer { max-width: 760px; margin: 0; }
.footer__copy { margin: 0; }

/* Mobile sticky bar */
.mobile-bar { display: none; }

/* Responsive */
/* Included-in-both strip (packages) */
.package__best { font-weight: 600; font-size: .95rem; margin: .4em 0 .2em; }
.package--featured .package__best { color: #fff; }
.included-strip {
  margin-top: 40px; padding: 36px 40px;
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius);
}
.included-strip h3 { font-size: 1.1rem; text-align: center; margin-bottom: 22px; }
.ticks--grid { grid-template-columns: repeat(4, 1fr); gap: 12px 28px; margin-bottom: 0; }
.included-strip__note { color: var(--muted); font-size: .9rem; text-align: center; margin: 24px 0 0; }
.packages__note--lead { font-size: 1.02rem; margin-top: 36px; }
.packages__note--lead strong { color: var(--ink); }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.team__photo {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top;
  filter: grayscale(.15); border-radius: var(--radius); margin-bottom: 20px;
}
.team__name { font-size: 1.25rem; font-weight: 700; margin-bottom: .1em; }
.team__role {
  color: var(--accent-dark); font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 1em;
}
.team__bio { color: var(--muted); font-size: .95rem; }
.team__cta { text-align: center; margin-top: 36px; }

@media (max-width: 1024px) {
  .header__nav { display: none; }
  .hero__inner, .final__inner { grid-template-columns: 1fr; gap: 40px; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .ticks--grid { grid-template-columns: repeat(2, 1fr); }
  .team { gap: 24px; }
  .included-strip { padding: 30px 24px; }
  .included { grid-template-columns: 1fr; }
  .included__media { min-height: 260px; }
  .included__body { padding: 64px 24px; max-width: none; }
  .lawyer__inner { grid-template-columns: 320px 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .container { padding: 0 16px; }
  .topbar__item:first-child { display: none; }
  .topbar__inner { justify-content: flex-end; }
  .header__inner { min-height: 64px; }
  .header__logo img { height: 26px; }
  .header__phone-label { display: none; }
  .header__phone-number { font-size: 1rem; }
  .hero__inner { padding-top: 44px; padding-bottom: 48px; }
  .form-card { padding: 26px 20px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .strip__inner { grid-template-columns: 1fr 1fr; }
  .strip__item { padding: 18px 12px; border-left: 0; border-top: 1px solid #262626; }
  .strip__item:first-child { padding-left: 12px; }
  .section, .final { padding: 52px 0; }
  .section__head { margin-bottom: 36px; }
  .packages, .cards--4, .cards--3, .steps { grid-template-columns: 1fr; }
  .ticks--grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; gap: 40px; }
  .team__photo { max-width: 320px; }
  .steps { gap: 28px; }
  .step::after { display: none; }
  .included__list { grid-template-columns: 1fr; }
  .lawyer__inner { grid-template-columns: 1fr; }
  .lawyer__photo { max-width: 340px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -6px 20px rgba(0,0,0,.25);
  }
  .mobile-bar a {
    display: grid; place-items: center; height: 56px; text-decoration: none;
    font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  }
  .mobile-bar__call { background: var(--ink); color: #fff; }
  .mobile-bar__cta { background: var(--accent); color: var(--black); }
}
