/* Ottavi Law Firm Inc. — "Ivoire" theme.
   Light and editorial: ivory background, ink text, plum (#9B3F78) as the single accent.
   Fonts: Fraunces (headings), Inter (text). */
:root {
  --dark: #1F1A1C;
  --dark-2: #2B2327;
  --on-dark: #F4EFEA;
  --on-dark-2: #C9BEC3;
  --plum-on-dark: #D98DBC;
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --tint: #F3EEE6;
  --ink: #1F1A1C;
  --ink-2: #4D4549;
  --ink-3: #6E6569;
  --line: #E6DED3;
  --line-2: #D8CEC1;
  --plum: #9B3F78;
  --plum-dark: #7C2F5F;
  --plum-tint: #F5EAF0;
  --plum-soft: #E8CFDD;
  --footer: #1F1A1C;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(31, 26, 28, .04), 0 8px 24px rgba(31, 26, 28, .06);
  --shadow-lg: 0 2px 4px rgba(31, 26, 28, .04), 0 24px 48px rgba(31, 26, 28, .10);
  --header-h: 72px;
  --section-pad: clamp(64px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--plum-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; letter-spacing: -0.01em; font-variation-settings: 'opsz' 72; }
h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.08; }
h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; }
h3 { font-size: 22px; line-height: 1.3; font-variation-settings: 'opsz' 36; }
h1 em, h2 em { font-style: italic; color: var(--plum); }
p { margin: 0; }
address { font-style: normal; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
/* Keep each element's own shape on focus and tap: no square tap flash on phones. */
a, button, input, summary { -webkit-tap-highlight-color: transparent; }
a:not([class]):focus-visible, .link-arrow:focus-visible { border-radius: 4px; }
.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; }
.muted { color: var(--ink-3); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 12px 18px; background: var(--plum); color: #fff; font-weight: 600; text-decoration: none; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.eyebrow { display: inline-block; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; color: var(--ink-2); }
.fine { font-size: 14px; line-height: 1.55; color: var(--ink-3); }

/* Brand: the logo's double plum rule + wordmark */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand-rule { display: flex; gap: 3px; height: 36px; }
.brand-rule::before, .brand-rule::after { content: ''; width: 2px; background: var(--plum); border-radius: 1px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
.brand-name { font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: .04em; }
.brand-sub { font-size: 10px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-3); }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light .brand-sub { color: #BDB3B7; }
.brand-light .brand-rule::before, .brand-light .brand-rule::after { background: #C77BA9; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary:active { background: var(--plum-dark); }
.btn-outline:active, .btn-ghost:active { border-color: var(--plum); color: var(--plum); background: var(--plum-tint); }
.btn-light:active { background: var(--plum-tint); }
.btn-primary { background: var(--plum); color: #fff; box-shadow: 0 6px 18px rgba(155, 63, 120, .22); }
.btn-primary:hover { background: var(--plum-dark); color: #fff; box-shadow: 0 8px 22px rgba(155, 63, 120, .30); }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--plum); color: var(--plum); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.btn-text { padding: 0 8px; color: var(--plum); }
.btn-text:hover { color: var(--plum-dark); }
.btn-light { background: #fff; color: var(--plum); }
.btn-light:hover { background: var(--plum-tint); color: var(--plum-dark); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 16px; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }
.link-arrow .ico, .btn-text .ico { transition: transform .2s; }
.link-arrow:hover .ico, .btn-text:hover .ico { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(250, 247, 242, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-panel { display: flex; align-items: center; gap: 28px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: var(--tint); }
.nav a[aria-current="page"] { color: var(--plum); background: var(--plum-tint); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.lang a, .lang [aria-current] { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 44px; color: var(--ink-3); text-decoration: none; }
.lang a:hover { color: var(--plum); }
.lang [aria-current] { color: var(--ink); }
.lang .sep { width: 1px; height: 14px; background: var(--line-2); }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 14px var(--sans); cursor: pointer; }
.menu-btn .ico-close { display: none; }
.menu-btn[aria-expanded="true"] .ico-open { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: block; }

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-btn { display: inline-flex; }
  .header-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    display: none;
  }
  .site-header.open .header-panel { display: flex; }
  .nav { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { min-height: 48px; padding: 0 14px; font-size: 17px; border-radius: var(--radius-sm); }
  .header-actions { justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
  .header-actions .btn-sm { min-height: 44px; }
  .lang a, .lang [aria-current] { min-width: 44px; }
  .brand-name { font-size: 22px; }
  .brand-rule { height: 32px; }
}

/* Sections */
.section { padding: var(--section-pad) 0; }
.section.tint { background: var(--tint); }
.section-head { max-width: 680px; display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }

.page-head { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 56px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), var(--tint)); }
.page-head .wrap { display: flex; flex-direction: column; gap: 16px; }
.page-head h1 { max-width: 18ch; }
.page-head .lead { max-width: 640px; }

/* Home hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(1000px 500px at 85% 0%, var(--plum-tint), transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero-text .btn-row { padding-top: 8px; }
.hero-photo { position: relative; justify-self: end; width: 100%; max-width: 440px; }
.hero-photo::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--plum-soft); border-radius: 24px; }
.hero-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 24px; box-shadow: var(--shadow-lg); }
.trust { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; }
.trust li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.trust .ico { flex: 0 0 auto; color: var(--plum); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { justify-self: start; max-width: 300px; }
  .hero-photo::before { inset: 12px -12px -12px 12px; }
  .trust { grid-template-columns: 1fr; }
}

/* "Where to start?" chooser */
.choose { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.choose-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 16px 32px; align-items: center;
  padding: 24px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.choose-row:hover { border-color: var(--plum-soft); box-shadow: var(--shadow); }
.choose-row.featured { border-color: var(--plum); box-shadow: 0 0 0 1px var(--plum) inset; }
.choose-need { font-family: var(--serif); font-size: 20px; line-height: 1.35; font-style: italic; color: var(--ink-2); font-variation-settings: 'opsz' 36; }
.choose-offer { display: flex; flex-direction: column; gap: 4px; }
.choose-offer h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0; }
.choose-offer .price-amount { font-size: 22px; }
.choose-row .btn { min-width: 210px; }
@media (max-width: 860px) {
  .choose-row { grid-template-columns: 1fr; padding: 22px; gap: 12px; }
  .choose-row .btn { width: 100%; min-width: 0; }
}

/* Prices */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.price-amount { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.1; white-space: nowrap; font-variation-settings: 'opsz' 72; }
.price-unit { font-size: 14px; color: var(--ink-3); }
.price-note { flex-basis: 100%; font-size: 14px; color: var(--ink-3); }
.price-was { flex-basis: 100%; font-size: 14px; color: var(--ink-3); text-decoration: line-through; }

/* About (home) */
.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-text { display: flex; flex-direction: column; gap: 18px; }
.about-text p { color: var(--ink-2); }
.about-quote { margin: 0; padding: 36px; background: var(--surface); border-radius: var(--radius); border-left: 4px solid var(--plum); box-shadow: var(--shadow); font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; font-style: italic; font-variation-settings: 'opsz' 72; }
.about-quote cite { display: block; margin-top: 18px; font-family: var(--sans); font-size: 14px; font-style: normal; font-weight: 600; color: var(--plum); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* Ebook */
.ebook-promo, .ebook-detail { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.ebook-detail { align-items: start; }
.ebook-promo > div { display: flex; flex-direction: column; gap: 18px; max-width: 620px; }
.ebook-cover { width: 100%; border-radius: 6px; box-shadow: var(--shadow-lg); transform: rotate(-2deg); transition: transform .3s; }
.ebook-cover:hover { transform: rotate(0); }
.buy-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 28px; }
@media (max-width: 760px) {
  .ebook-promo, .ebook-detail { grid-template-columns: 1fr; }
  .ebook-cover { max-width: 220px; }
}

/* Resources */
.res-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.res-card { display: flex; gap: 24px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.res-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.res-body h3 { font-size: 21px; }
.tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--plum-tint); color: var(--plum); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.res-thumb { flex: 0 0 110px; height: 148px; border-radius: 6px; box-shadow: var(--shadow); }
.res-thumb.guide { display: flex; flex-direction: column; justify-content: space-between; padding: 14px 12px; background: var(--plum); color: #fff; font-family: var(--serif); font-size: 15px; line-height: 1.2; }
.res-thumb.guide small { font-family: var(--sans); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.res-thumb.cv { display: flex; flex-direction: column; gap: 7px; padding: 16px 12px; background: #fff; border: 1px solid var(--line); }
.res-thumb.cv i { display: block; height: 5px; border-radius: 3px; background: var(--line); }
.res-thumb.cv i:first-child { width: 70%; height: 8px; background: var(--ink); }
.res-thumb.cv i:nth-child(2) { width: 45%; background: var(--plum); }
.res-thumb.cv i:nth-child(4) { width: 80%; }
.res-thumb.cv i:nth-child(5) { width: 40%; background: var(--plum); margin-top: 6px; }
.res-thumb.lg { flex-basis: 160px; height: 214px; font-size: 20px; padding: 20px 16px; }
@media (max-width: 860px) { .res-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .res-card { flex-direction: column; padding: 22px; }
  .res-thumb { flex: 0 0 148px; width: 110px; }
}

.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; color: var(--ink-2); }
.checks .ico { flex: 0 0 auto; margin-top: 3px; color: var(--plum); }

/* Newsletter */
.newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: center; padding: clamp(32px, 5vw, 56px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.newsletter > div { display: flex; flex-direction: column; gap: 12px; }
.newsletter h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; }
.newsletter .btn { justify-self: end; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } .newsletter .btn { justify-self: start; } }

/* Services page */
.chips-bar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(250, 247, 242, .95); border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.chips a:hover { border-color: var(--plum); color: var(--plum); }
.chips a[aria-current="true"] { border-color: var(--plum); background: var(--plum); color: #fff; }
/* Jump links stop with the title 24px under the chips bar (65px tall, 69px on touch sizes below), on top of the 16px of the page's scroll padding. */
.page-services .section[id] { scroll-margin-top: calc(73px - var(--section-pad)); }

.offer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.offer-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.mini-title { margin-top: 8px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
.price-card { position: sticky; top: calc(var(--header-h) + 88px); display: flex; flex-direction: column; gap: 18px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.price-card .price-amount { font-size: 44px; }
.callout { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--plum-tint); color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.callout strong { color: var(--ink); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); line-height: 1.5; }
.steps .n { flex: 0 0 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--plum); color: #fff; font-size: 15px; font-weight: 600; }
@media (max-width: 860px) {
  .offer-grid { grid-template-columns: 1fr; }
  .price-card { position: static; }
}

/* Resources page */
.res-info { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: flex-start; }
.res-info > div:last-child { flex: 1 1 280px; max-width: 640px; display: flex; flex-direction: column; gap: 14px; }
.res-info .btn { align-self: flex-start; margin-top: 6px; }

/* Firm page */
.lawyer { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.lawyer-photo { position: sticky; top: calc(var(--header-h) + 24px); }
.lawyer-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 24px; box-shadow: var(--shadow-lg); }
.lawyer-text { display: flex; flex-direction: column; gap: 18px; }
.lawyer-text p { color: var(--ink-2); }
.lawyer-text blockquote { margin: 8px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--plum); font-family: var(--serif); font-size: 22px; font-style: italic; line-height: 1.4; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 8px 14px; border-radius: 999px; background: var(--plum-tint); color: var(--plum-dark); font-size: 14px; font-weight: 500; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.facts > div { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow-wrap: anywhere; }
.facts dt { margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
.facts dd { margin: 0; font-size: 15px; line-height: 1.55; }
@media (max-width: 960px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .lawyer { grid-template-columns: 1fr; }
  .lawyer-photo { position: static; max-width: 360px; }
}
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-book { display: flex; flex-direction: column; gap: 12px; padding: clamp(28px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.book-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.book-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; transition: border-color .2s, background-color .2s; }
.book-item:hover { border-color: var(--plum); background: var(--plum-tint); color: var(--ink); }
.book-item > span { display: flex; flex-direction: column; gap: 2px; }
.book-item strong { font-weight: 600; }
.book-item .price-amount { font-size: 22px; }
.book-item .ico { flex: 0 0 auto; color: var(--plum); }
.contact-ways { display: flex; flex-direction: column; gap: 10px; }
.way { display: flex; align-items: flex-start; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; line-height: 1.5; overflow-wrap: anywhere; }
a.way:hover { border-color: var(--plum); color: var(--ink); }
.way .ico { flex: 0 0 auto; color: var(--plum); margin-top: 2px; }
.way span { display: flex; flex-direction: column; }
.way strong { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Closing call to action */
.final-cta { padding: clamp(56px, 8vw, 96px) 0; background: var(--plum); color: #fff; }
.final-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.final-inner > div:first-child { max-width: 620px; display: flex; flex-direction: column; gap: 12px; }
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255, 255, 255, .88); font-size: 18px; }

/* Footer */
.site-footer { background: var(--footer); color: #D9D2D5; font-size: 15px; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 48px; }
.footer-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr) minmax(0, 1fr); gap: 40px 56px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand p { max-width: 340px; color: #B5ABAF; line-height: 1.6; }
.footer-title { margin-bottom: 6px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #C77BA9; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 2px; }
.site-footer a:not(.brand) { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: #E9E3E6; text-decoration: none; }
.site-footer a:not(.brand):hover { color: #fff; text-decoration: underline; }
.footer-contact .ico { color: #C77BA9; }
.footer-contact address { margin-top: 8px; color: #B5ABAF; line-height: 1.6; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; border-top: 1px solid #3A3236; font-size: 13px; color: #A39A9E; }
@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr; } }

/* Sticky booking bar on phones */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(250, 247, 242, .96); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(31, 26, 28, .06);
  }
  .mobile-bar .btn { min-height: 46px; padding: 0 12px; }
  body { padding-bottom: calc(67px + env(safe-area-inset-bottom)); }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .page-contact .mobile-bar { display: none; }
  body.page-contact { padding-bottom: 0; }
}
/* Phones in landscape: the bar would take too much of the screen. */
@media (max-height: 480px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

/* Touch sizes: 44px tap targets and larger small print, desktop keeps its tighter sizes. */
@media (max-width: 900px) {
  .chips a { min-height: 44px; }
  .page-services .section[id] { scroll-margin-top: calc(77px - var(--section-pad)); }
  .price-card { top: calc(var(--header-h) + 92px); }
  .site-footer a:not(.brand) { min-height: 44px; }
  .footer-bottom a { justify-content: center; min-width: 44px; padding: 0 8px; }
  .facts dd > a { display: inline-flex; align-items: center; min-height: 44px; }
  .fine, .callout, .facts dd, .trust li { font-size: 16px; }
  .brand-sub { font-size: 11px; }
  .res-thumb.guide small { font-size: 11px; letter-spacing: .06em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .ebook-cover { transform: none; }
}

/* Dark accents: inner page title bands, the home "Votre avocate" block, the 1 h consultation */
.section.dark, .page-head {
  background: radial-gradient(900px 420px at 88% 0%, rgba(155, 63, 120, .38), transparent 65%), var(--dark);
  color: var(--on-dark);
}
.page-head { border-bottom: 0; }
.section.dark h1, .section.dark h2, .section.dark h3, .page-head h1 { color: #fff; }
.section.dark .eyebrow, .page-head .eyebrow, .section.dark .mini-title { color: var(--plum-on-dark); }
.section.dark .lead, .page-head .lead, .section.dark p, .about.wrap p { color: var(--on-dark-2); }
.section.dark .link-arrow { color: var(--plum-on-dark); }
.section.dark .link-arrow:hover { color: #fff; }
.section.dark .about-quote { background: var(--dark-2); color: #fff; box-shadow: none; border-left-color: var(--plum-on-dark); }
.section.dark .about-quote cite { color: var(--plum-on-dark); }
.section.dark .price-card { background: var(--dark-2); border-color: #3A3036; box-shadow: none; }
.section.dark .price-card .price-amount { color: #fff; }
.section.dark .price-unit, .section.dark .price-note { color: var(--on-dark-2); }
.section.dark :focus-visible, .page-head :focus-visible { outline-color: var(--plum-on-dark); }
.section.dark + .final-cta, .section.dark + .section.dark { border-top: 1px solid #3A3036; }

.legal { max-width: 760px; }
.legal h2 { margin: 40px 0 12px; font-size: 24px; }
.legal p { margin: 0 0 12px; line-height: 1.65; color: var(--ink-2); overflow-wrap: anywhere; }
.legal .callout { margin-bottom: 8px; }
.legal-todo { padding: 1px 4px; border-radius: 4px; background: #FBE9A7; color: var(--ink); }
.footer-bottom a { color: inherit; }
.embed .site-header, .embed .site-footer, .embed .mobile-bar, .embed .skip { display: none; }
.embed .page-head { padding: 28px 0 20px; }
.embed .section { padding-top: 24px; }
