:root {
  --bg: #fbf7f1;
  --surface: #ffffff;
  --surface-soft: #f5eadf;
  --text: #28211b;
  --muted: #74685f;
  --accent: #b96f52;
  --accent-dark: #7f3f2d;
  --green: #365c49;
  --green-dark: #284637;
  --heart-red: #b84d42;
  --line: rgba(40, 33, 27, 0.12);
  --shadow: 0 24px 70px rgba(80, 49, 35, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --max-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(185, 111, 82, 0.18), transparent 32rem),
    linear-gradient(180deg, #fffaf5 0%, var(--bg) 48%, #fff 100%);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.section-pad { padding: 96px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 241, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-heart {
  color: var(--heart-red);
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover {
  background: rgba(185, 111, 82, 0.1);
  color: var(--accent-dark);
}

.nav-toggle { display: none; }

.hero { padding-top: 70px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 420px;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--accent-dark);
}

h1, h2, h3 { line-height: 1.05; letter-spacing: -0.055em; margin: 0; color: var(--green); }
h1 { font-size: clamp(52px, 8vw, 94px); max-width: 880px; }
h2 { font-size: clamp(34px, 4.4vw, 58px); }
h3 { font-size: 28px; }

.hero-text {
  max-width: 650px;
  margin: 28px 0 0;
  font-size: clamp(18px, 2vw, 23px);
  color: var(--muted);
}

.hero-actions, .contact-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover { transform: translateY(-2px); }
.btn.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 32px rgba(54, 92, 73, 0.22);
}
.btn.primary:hover { background: var(--green-dark); }
.btn.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.62);
  border-color: var(--line);
}
.btn.large { min-height: 58px; padding-inline: 26px; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.trust-row span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.profile-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.7);
}

.profile-image-wrap {
  position: relative;
  aspect-ratio: 4 / 4.8;
  background: var(--surface-soft);
}

.profile-image-wrap img,
.profile-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-fallback {
  display: none;
  place-items: center;
  font-size: 86px;
  font-weight: 800;
  color: var(--accent-dark);
  background: linear-gradient(145deg, #f5eadf, #fff6ee);
}

.profile-card-content { padding: 28px; }
.card-label {
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
}
.profile-card p:last-child { color: var(--muted); margin-bottom: 0; }

.two-col {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.intro-copy {
  font-size: 18px;
  color: var(--muted);
}
.intro-copy p:first-child { margin-top: 0; }

.info-strip {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.info-strip div {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}
.info-strip strong, .info-strip span { display: block; }
.info-strip strong { color: var(--text); margin-bottom: 4px; }
.info-strip span { color: var(--muted); font-size: 14px; }

.section-heading.center {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}
.section-intro { color: var(--muted); font-size: 18px; margin: 18px 0 0; }

.service-focus {
  max-width: 980px;
  margin: 0 auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 100%;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(80, 49, 35, 0.08);
}

.service-card-featured {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px 28px;
  padding: clamp(30px, 5vw, 58px);
}

.service-card-featured .icon { margin-bottom: 0; }

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 28px;
  background: var(--surface-soft);
  color: var(--accent-dark);
  font-size: 26px;
  font-weight: 800;
}

.service-description { color: var(--muted); margin: 14px 0 22px; }
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.service-list-wide {
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px !important;
  margin-top: 8px !important;
}
.service-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 15px;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 36px;
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow);
}
.contact-card h2 { color: #fff; }
.contact-card .eyebrow { color: #f0b79d; }
.contact-card p { max-width: 680px; color: rgba(255,255,255,0.72); }
.contact-card .btn.primary { background: #fff; color: var(--green); box-shadow: none; }
.contact-card .btn.primary:hover { background: #f5eadf; }
.small-note { margin: 10px 0 0; font-size: 13px; text-align: center; }

.footer { padding: 30px 0; border-top: 1px solid var(--line); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}
.footer p { margin: 0; }
.footer a { font-weight: 700; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 650ms ease, transform 650ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 920px) {
  .section-pad { padding: 72px 0; }
  .hero-grid, .two-col, .contact-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; }
  .profile-card { max-width: 520px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card-featured { grid-template-columns: 1fr; }
  .service-list-wide { grid-column: 1; grid-template-columns: 1fr; }
  .contact-actions { margin-top: 8px; }
}

@media (max-width: 700px) {
  .container, .nav { width: min(100% - 28px, var(--max-width)); }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,0.72);
  }
  .nav-toggle span:not(.sr-only) {
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--text);
    border-radius: 2px;
  }
  .nav-links {
    position: absolute;
    top: 76px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px; }
  h1 { font-size: clamp(46px, 14vw, 72px); }
  .info-strip { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.lang-btn {
  appearance: none;
  border: 0;
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.lang-btn:hover { transform: translateY(-1px); color: var(--accent-dark); }
.lang-btn.is-active { background: var(--green); color: #fff; }

@media (max-width: 700px) {
  .language-switcher {
    width: 100%;
    justify-content: space-between;
    margin: 6px 0 0;
    background: var(--surface-soft);
  }
  .lang-btn { flex: 1; }
}

/* v4 responsive text-safety refinements for longer EN/FR translations */
.hero-copy,
.section-heading,
.intro-copy,
.profile-card,
.profile-card-content,
.service-card,
.service-card > div,
.contact-card > div,
.footer-inner,
.nav,
.nav-links,
.brand {
  min-width: 0;
}

h1, h2, h3,
.hero-text,
.section-intro,
.intro-copy p,
.service-description,
.service-card li,
.contact-card p,
.btn,
.brand span:last-child,
.nav-links a {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

h1, h2, .section-intro { text-wrap: balance; }

.btn {
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}

.nav-links a,
.lang-btn {
  white-space: nowrap;
}

.brand span:last-child {
  display: inline-block;
  max-width: min(34vw, 260px);
  line-height: 1.1;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px);
}

.two-col {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.contact-card {
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
}

.service-card-featured {
  grid-template-columns: 72px minmax(0, 1fr);
}

.service-list-wide {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

/* Slightly softer scale for longer translated lines */
html[lang="en"] h1,
html[lang="fr"] h1 {
  font-size: clamp(42px, 6.8vw, 82px);
}

html[lang="en"] h2,
html[lang="fr"] h2 {
  font-size: clamp(32px, 4vw, 52px);
}

html[lang="fr"] .hero-text,
html[lang="fr"] .section-intro,
html[lang="en"] .hero-text,
html[lang="en"] .section-intro {
  font-size: clamp(17px, 1.65vw, 21px);
}

html[lang="fr"] .service-card li,
html[lang="en"] .service-card li {
  font-size: 14.5px;
  line-height: 1.5;
}

@media (max-width: 1080px) {
  .nav { gap: 14px; }
  .nav-links { gap: 4px; }
  .nav-links a { padding: 9px 10px; font-size: 13px; }
  .brand span:last-child { max-width: 210px; }
  .hero-grid { gap: 42px; }
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .service-card-featured { grid-template-columns: 1fr; }
  .service-list-wide {
    grid-column: 1;
    grid-template-columns: 1fr;
  }
  .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .service-list-wide { grid-template-columns: 1fr; }
  .service-card-featured { padding: 30px 24px; }
  .contact-card { padding: 30px 24px; }
  .hero-actions, .contact-actions { align-items: stretch; }
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
  html[lang="en"] h1,
  html[lang="fr"] h1,
  h1 { font-size: clamp(39px, 12vw, 62px); }
  html[lang="en"] h2,
  html[lang="fr"] h2,
  h2 { font-size: clamp(30px, 9vw, 46px); }
}

@media (max-width: 700px) {
  .brand span:last-child { max-width: calc(100vw - 140px); }
  .nav-links a { white-space: normal; }
  .language-switcher { flex-wrap: nowrap; }
}

@media (max-width: 420px) {
  .container, .nav { width: min(100% - 22px, var(--max-width)); }
  .service-card-featured { padding: 26px 20px; }
  .profile-card-content { padding: 22px; }
  .contact-card { padding: 28px 20px; }
  .trust-row span { width: 100%; text-align: center; }
  .info-strip div { padding: 16px; }
}

/* v6: mobile reading flow and consistent heart-word styling */
.heart-word {
  color: var(--heart-red);
}

@media (max-width: 920px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 700px) {
  .intro .section-heading {
    width: 100%;
  }

  .intro .section-heading h2 {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
  }

  .intro-copy {
    width: 100%;
    font-size: 17px;
    line-height: 1.7;
  }

  .intro-copy p {
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }

  .section-heading .eyebrow {
    margin-bottom: 12px;
  }
}

@media (max-width: 420px) {
  .intro .section-heading h2 {
    font-size: clamp(32px, 9.6vw, 40px);
  }

  .intro-copy {
    font-size: 16px;
  }
}

/* Accessibility and local service area */
:root { --muted: #62564e; --heart-red: #a13d35; }
.brand-mark { background: var(--accent-dark); }
.service-area { color: var(--green-dark); font-weight: 600; font-size: 15px; }
.contact-card p { color: #fff; }
.contact-card .eyebrow { color: #f8d4c3; }
.contact-card .heart-word { color: #f8d4c3; }
:focus-visible { outline: 3px solid #7f3f2d; outline-offset: 4px; }
.lang-btn { text-align: center; }

.service-groups{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;width:100%;margin-top:12px}.service-group{border-top:1px solid #d8c9be;padding-top:18px;min-width:0}.service-group h4{font-size:18px;color:var(--green-dark);margin:0 0 14px;line-height:1.3}.service-group ul{display:grid;gap:12px;margin:0}.service-group li{color:var(--green-dark)}.area-section{background:#f5ede4}.faq-list{margin-top:26px;max-width:900px}.faq-list details{border-bottom:1px solid #d8c9be;padding:18px 0;color:var(--green-dark)}.faq-list summary{cursor:pointer;font-weight:600;line-height:1.5}.faq-list p{color:var(--muted);margin:12px 0 0}.privacy-note{font-size:13px;padding-top:12px;padding-bottom:12px}.privacy-note summary{cursor:pointer}.trust-row span:first-child{font-weight:700;border-color:var(--green)}@media(max-width:760px){.service-groups{grid-template-columns:1fr;gap:18px}}
