/* ==========================================================================
   AMICA Divorce - design system
   Palette: white + sky blue. All color/spacing via :root tokens.
   Contrast note: --sky-500 is 3:1 on white, so it is DECORATIVE only.
   Anything carrying text uses --sky-700 (5.1:1) or darker.
   ========================================================================== */

:root {
  /* brand */
  --sky-50:  #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --sky-800: #075985;
  --sky-900: #0c4a6e;

  /* ink */
  --ink:      #0f172a;
  --body:     #475569;
  --muted:    #94a3b8;
  --line:     #e2e8f0;
  --line-soft:#f1f5f9;
  --white:    #ffffff;

  /* status */
  --ok:      #047857;
  --ok-bg:   #ecfdf5;
  --warn:    #b45309;
  --warn-bg: #fffbeb;
  --err:     #b91c1c;
  --err-bg:  #fef2f2;

  /* type */
  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md:   1.1875rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.125rem;
  --fs-3xl:  2.75rem;
  --fs-4xl:  3.5rem;

  /* spacing - 8px scale */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 2.5rem;
  --s-6: 3rem;
  --s-8: 4rem;
  --s-10: 5rem;
  --s-12: 6rem;
  --s-16: 8rem;

  --section-y: var(--s-8);
  --container: 1180px;
  --container-narrow: 760px;

  --radius:    12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow:    0 4px 16px rgba(15, 23, 42, .07);
  --shadow-lg: 0 18px 48px rgba(12, 74, 110, .12);

  --ring: 0 0 0 3px rgba(2, 132, 199, .35);

  --header-h: 74px;
}

@media (min-width: 768px)  { :root { --section-y: var(--s-12); } }
@media (min-width: 1100px) { :root { --section-y: var(--s-16); } }

/* --- reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

/* --- typography -------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

@media (min-width: 900px) { h1 { font-size: var(--fs-4xl); } }

p { max-width: 68ch; text-wrap: pretty; }
p + p { margin-top: var(--s-2); }

a { color: var(--sky-700); text-underline-offset: 3px; }
a:hover { color: var(--sky-800); }

strong { color: var(--ink); font-weight: 600; }

.lead { font-size: var(--fs-md); color: var(--body); }
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sky-700);
  margin-bottom: var(--s-1);
}

/* --- a11y -------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--sky-700);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: var(--s-2);
  top: -100px;
  z-index: 200;
  background: var(--sky-800);
  color: var(--white);
  padding: var(--s-1) var(--s-2);
  border-radius: var(--radius);
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: var(--s-2); color: var(--white); }

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

/* --- layout ------------------------------------------------------------ */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2.5rem, var(--container-narrow)); margin-inline: auto; }

.section { padding-block: var(--section-y); }
.section-tint { background: var(--sky-50); }
.section-head { max-width: 720px; margin-bottom: var(--s-6); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: var(--s-2); }
.section-head.center p { margin-inline: auto; }

.grid { display: grid; gap: var(--s-3); }
@media (min-width: 640px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid-3 { grid-template-columns: repeat(3, 1fr); }
                             .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* --- header ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: var(--s-2); min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex: 0 0 auto; }
.brand img { height: 38px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-head);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink);
}
.brand-sub {
  font-size: 0.625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.nav { display: none; margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: var(--s-3); list-style: none; padding: 0; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: .5rem 0;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--sky-500);
  transform: scaleX(0);
  transition: transform .18s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--sky-800); }

.header-actions { display: none; gap: var(--s-1); align-items: center; }
.header-phone {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: var(--fs-sm); font-weight: 600;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.header-phone:hover { color: var(--sky-800); }

@media (min-width: 1024px) {
  .nav { display: block; }
  .header-actions { display: flex; margin-left: var(--s-3); }
}

/* mobile toggle */
.nav-toggle {
  margin-left: auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: none; border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block;
  width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(-1px); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.nav a { white-space: nowrap; }

/* mobile drawer */
/* Lives outside <header> on purpose: .site-header has a backdrop-filter,
   which makes it a containing block for position:fixed children and would
   collapse this drawer to the height of the header itself. */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: var(--s-3) 0 var(--s-6);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .25s ease, visibility .25s;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; }
.mobile-nav ul { list-style: none; padding: 0; }
.mobile-nav li + li { border-top: 1px solid var(--line-soft); }
.mobile-nav a {
  display: block;
  padding: var(--s-2) 0;
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.mobile-nav a[aria-current="page"] { color: var(--sky-800); }
.mobile-cta { margin-top: var(--s-3); display: grid; gap: var(--s-1); }
@media (min-width: 1024px) { .mobile-nav { display: none; } }
body.nav-open { overflow: hidden; }

/* --- buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sky-700); color: var(--white); }
.btn-primary:hover { background: var(--sky-800); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--sky-800); border-color: var(--sky-200); }
.btn-secondary:hover { background: var(--sky-50); color: var(--sky-900); border-color: var(--sky-300); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--sky-50); border-color: var(--sky-200); }
.btn-lg { padding: 1.05rem 2rem; font-size: var(--fs-base); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-arrow::after { content: "\2192"; transition: transform .18s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* --- hero -------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 88% 4%, var(--sky-100) 0%, rgba(224,242,254,0) 58%),
    linear-gradient(180deg, var(--sky-50) 0%, var(--white) 78%);
  overflow: hidden;
}
.hero-inner { display: grid; gap: var(--s-5); padding-block: var(--s-8) var(--s-6); align-items: center; }
.hero h1 { margin-bottom: var(--s-3); }
.hero h1 em { font-style: normal; color: var(--sky-700); display: block; }
.hero-lead { font-size: var(--fs-md); max-width: 46ch; }
.hero .btn-row { margin-top: var(--s-4); }
.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 8 / 5;
  object-fit: cover;
  background: var(--sky-100);
}
.hero-note {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: var(--s-3);
  font-size: var(--fs-sm); color: var(--body);
}
.hero-note svg { flex: 0 0 auto; color: var(--sky-700); }

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1.02fr .98fr;
    gap: var(--s-8);
    padding-block: var(--s-12) var(--s-10);
  }
}

/* --- trust bar --------------------------------------------------------- */
.trust { background: var(--sky-900); color: var(--sky-100); padding-block: var(--s-5); }
.trust-grid { display: grid; gap: var(--s-4); }
.trust-item { display: flex; gap: var(--s-2); align-items: flex-start; }
.trust-item svg { flex: 0 0 auto; color: var(--sky-300); margin-top: 2px; }
.trust-item h3 {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  margin-bottom: .15rem;
}
.trust-item p { font-size: var(--fs-xs); color: var(--sky-200); line-height: 1.55; margin: 0; }
@media (min-width: 640px)  { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-3); } }

/* --- cards ------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-3);
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  display: flex;
  flex-direction: column;
}
.card-link { text-decoration: none; color: inherit; }
.card-link:hover {
  border-color: var(--sky-200);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: inherit;
}
.card-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--sky-50);
  color: var(--sky-700);
  margin-bottom: var(--s-2);
}
.card h3 { margin-bottom: .4rem; }
.card p { font-size: var(--fs-sm); margin: 0; }
.card-more {
  margin-top: auto;
  padding-top: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--sky-700);
  display: inline-flex; align-items: center; gap: .35rem;
}
.card-link:hover .card-more { color: var(--sky-800); }
.card-more::after { content: "\2192"; transition: transform .18s ease; }
.card-link:hover .card-more::after { transform: translateX(3px); }

.card ul { margin: var(--s-2) 0 0; padding-left: 1.1rem; font-size: var(--fs-sm); }
.card ul li + li { margin-top: .3rem; }

/* --- process steps ----------------------------------------------------- */
.steps { display: grid; gap: var(--s-4); }
.step-num {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--sky-700);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: var(--s-2);
}
.step h3 { font-size: var(--fs-md); margin-bottom: .35rem; }
.step p { font-size: var(--fs-sm); margin: 0; }
@media (min-width: 700px)  { .steps { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* --- split feature ----------------------------------------------------- */
.split { display: grid; gap: var(--s-5); align-items: center; }
.split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--sky-100);
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .split.reverse .split-media { order: -1; }
}
.tick-list { list-style: none; padding: 0; margin-top: var(--s-3); display: grid; gap: var(--s-2); }
.tick-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-sm); }
.tick-list svg { flex: 0 0 auto; color: var(--sky-700); margin-top: 4px; }

/* --- CTA band ---------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--sky-800) 0%, var(--sky-900) 100%);
  color: var(--sky-100);
  border-radius: var(--radius-lg);
  padding: var(--s-6) var(--s-4);
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: var(--s-2); }
.cta-band p { color: var(--sky-200); margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: var(--s-4); }
.cta-band .btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.6); }
@media (min-width: 768px) { .cta-band { padding: var(--s-8) var(--s-6); } }

/* --- forms ------------------------------------------------------------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-3);
  box-shadow: var(--shadow);
}
@media (min-width: 768px) { .form-card { padding: var(--s-5); } }

.field { margin-bottom: var(--s-3); }
.field label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .4rem;
}
.field .hint { display: block; font-size: var(--fs-xs); color: var(--muted); font-weight: 400; margin-top: .15rem; }
.req { color: var(--err); }

.input, .select, .textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: var(--fs-base);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--sky-300); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--sky-600);
  box-shadow: var(--ring);
}
.textarea { min-height: 140px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.field-row { display: grid; gap: var(--s-2); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; gap: var(--s-3); } }

.check { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-sm); line-height: 1.55; }
.check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin-top: 2px;
  accent-color: var(--sky-700);
  cursor: pointer;
}

/* honeypot - must stay hidden and must stay in the markup */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: var(--s-2); font-size: var(--fs-sm); font-weight: 500; }
.form-status.ok  { color: var(--ok); }
.form-status.err { color: var(--err); }

.notice {
  border-radius: var(--radius);
  padding: var(--s-2);
  font-size: var(--fs-sm);
  border: 1px solid;
  display: flex; gap: .7rem; align-items: flex-start;
}
.notice svg { flex: 0 0 auto; margin-top: 3px; }
.notice p { margin: 0; max-width: none; }
.notice-info { background: var(--sky-50); border-color: var(--sky-200); color: var(--sky-900); }
.notice-warn { background: var(--warn-bg); border-color: #fde68a; color: #78350f; }
.notice-ok   { background: var(--ok-bg); border-color: #a7f3d0; color: #065f46; }
.notice-err  { background: var(--err-bg); border-color: #fecaca; color: #7f1d1d; }

/* --- page hero (inner pages) ------------------------------------------- */
.page-hero {
  background: linear-gradient(180deg, var(--sky-50) 0%, var(--white) 100%);
  padding-block: var(--s-6) var(--s-5);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 { font-size: var(--fs-2xl); }
@media (min-width: 900px) {
  .page-hero { padding-block: var(--s-8) var(--s-6); }
  .page-hero h1 { font-size: var(--fs-3xl); }
}
.breadcrumb { font-size: var(--fs-xs); color: var(--muted); margin-bottom: var(--s-2); }
.breadcrumb a { color: var(--body); text-decoration: none; }
.breadcrumb a:hover { color: var(--sky-800); text-decoration: underline; }
.breadcrumb span { margin-inline: .4rem; }

/* --- prose (legal pages) ----------------------------------------------- */
.prose h2 { font-size: var(--fs-xl); margin-top: var(--s-5); margin-bottom: var(--s-2); }
.prose h3 { font-size: var(--fs-md); margin-top: var(--s-4); margin-bottom: var(--s-1); }
.prose p, .prose li { font-size: var(--fs-base); }
.prose ul, .prose ol { margin: var(--s-2) 0; padding-left: 1.3rem; }
.prose li + li { margin-top: .45rem; }
.prose > *:first-child { margin-top: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: var(--s-3) 0; font-size: var(--fs-sm); }
.prose th, .prose td { text-align: left; padding: .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; background: var(--sky-50); }
.updated { font-size: var(--fs-sm); color: var(--muted); }

/* --- accordion (FAQ) --------------------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: var(--s-2) 2.5rem var(--s-2) 0;
  font-weight: 600;
  color: var(--ink);
  font-size: var(--fs-base);
  position: relative;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  position: absolute; right: .5rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--sky-700);
  line-height: 1;
}
.accordion details[open] summary::after { content: "\2013"; }
.accordion details > div { padding-bottom: var(--s-2); }
.accordion p { font-size: var(--fs-sm); }

/* --- footer ------------------------------------------------------------ */
.site-footer {
  background: var(--ink);
  color: #cbd5e1;
  padding-block: var(--s-5) var(--s-3);
  font-size: var(--fs-sm);
}
.footer-grid { display: grid; gap: var(--s-4); }
@media (min-width: 700px)  { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-5); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; } }

.site-footer h3 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--s-2);
}
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer p { font-size: var(--fs-sm); color: #94a3b8; }
.footer-brand p { max-width: 34ch; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: #64748b; }
.footer-bottom {
  margin-top: var(--s-2);
  padding-top: var(--s-2);
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: #64748b;
}
.footer-bottom a { color: #94a3b8; }
.site-footer .nowrap { white-space: nowrap; }
.footer-reach { color: #64748b; font-size: var(--fs-xs); }
.footer-legal {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid #1e293b;
  max-width: none;
  font-size: var(--fs-xs);
  color: #64748b;
  line-height: 1.55;
}

/* --- utilities --------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--s-2); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-1 { margin-top: var(--s-1); }
.mb-3 { margin-bottom: var(--s-3); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-5 { margin-bottom: var(--s-5); }
.badge {
  display: inline-block;
  padding: .25rem .7rem;
  border-radius: var(--radius-pill);
  background: var(--sky-100);
  color: var(--sky-900);
  font-size: var(--fs-xs);
  font-weight: 600;
}

@media print {
  .site-header, .site-footer, .mobile-nav, .btn, .cta-band { display: none !important; }
  body { font-size: 11pt; color: #000; }
}

/* --- service banner ----------------------------------------------------- */
.service-banner {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--s-4);
  background: var(--sky-100);
  box-shadow: var(--shadow-sm);
}
.aside-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--sky-100);
  box-shadow: var(--shadow);
  margin-bottom: var(--s-3);
}

/* --- service detail cards ---------------------------------------------- */
.service-card h3 { font-size: var(--fs-md); }
.service-card p { font-size: var(--fs-sm); }
.service-for {
  display: flex; gap: .5rem; align-items: flex-start;
  margin-top: var(--s-2);
  padding: .6rem .8rem;
  background: var(--sky-50);
  border-radius: var(--radius);
  color: var(--sky-900);
  font-size: var(--fs-xs) !important;
  line-height: 1.5;
}
.service-for svg { flex: 0 0 auto; margin-top: 2px; color: var(--sky-700); }
.service-inc-title {
  margin-top: var(--s-2);
  font-size: var(--fs-xs) !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.service-note {
  display: flex; gap: .5rem; align-items: flex-start;
  margin-top: var(--s-2);
  font-size: var(--fs-xs) !important;
  color: var(--warn);
  line-height: 1.5;
}
.service-note svg { flex: 0 0 auto; margin-top: 2px; }

/* --- client portal call-to-action, contact page ------------------------- */
.portal-cta {
  background: var(--sky-50);
  border: 1px solid var(--sky-200);
  border-radius: var(--radius-lg);
  padding: var(--s-3);
}
.portal-cta h2 { font-size: var(--fs-md); margin-top: var(--s-2); }
.portal-cta p { font-size: var(--fs-sm); }

/* --- client login, header --------------------------------------------- */
.header-login {
  display: none;                      /* room only appears at 1080px+ */
  align-items: center;
  gap: .35rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--sky-800);
  text-decoration: none;
  padding: .5rem .7rem;
  border-radius: var(--radius);
  white-space: nowrap;
}
.header-login:hover { background: var(--sky-50); color: var(--sky-900); }
.header-login svg { color: var(--sky-600); }
@media (min-width: 1080px) { .header-login { display: inline-flex; } }

/* --- pricing -------------------------------------------------------------
   Two readings of the same list: three headline cards for somebody deciding
   where to start, then a full table for somebody comparing. Every figure comes
   from amica_services(), so this page cannot drift from the service pages.
   ------------------------------------------------------------------------- */

/* ---- the three headline cards ---- */
.price-hero { display: flex; flex-direction: column; text-align: center; }
.price-hero.is-feature {
  border-color: var(--sky-400);
  box-shadow: 0 10px 30px rgba(2, 132, 199, .12);
}
.price-hero .price-strap {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--sky-700);
}
.price-hero .price-figure {
  font-family: var(--font-head); font-size: var(--fs-3xl); font-weight: 600;
  color: var(--ink); line-height: 1.1; margin-top: var(--s-2);
}
.price-hero .price-name { font-size: var(--fs-md); font-weight: 650; color: var(--ink); margin-top: var(--s-1); }
.price-hero .price-sub  { font-size: var(--fs-xs); color: var(--muted); }
.price-hero .btn { margin-top: auto; }

/* ---- the full list ---- */
.pricetable {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg, 16px); overflow: hidden;
  margin-bottom: var(--s-4); box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}
.pricetable-head {
  padding: var(--s-3); background: var(--sky-50);
  border-bottom: 1px solid var(--line);
}
.pricetable-head h2 { font-size: var(--fs-lg); }
.pricetable-head p { font-size: var(--fs-sm); color: var(--body); margin-top: .3rem; max-width: 62ch; }

.pricerows { list-style: none; margin: 0; padding: 0; }
.pricerows > li + li { border-top: 1px solid var(--line-soft); }

.pricerow { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-3); }
.pricerow-main { min-width: 0; flex: 1; }
.pricerow-main h3 { font-size: var(--fs-md); }
.pricerow-main > p { font-size: var(--fs-sm); margin-top: .3rem; max-width: 62ch; }

.pricerow-more {
  display: inline-block; margin-top: var(--s-2);
  font-size: var(--fs-xs); font-weight: 600; text-decoration: none;
}
.pricerow-more:hover { text-decoration: underline; }

/* a service priced at two levels, e.g. forms with or without filing */
.pricetiers { list-style: none; margin: var(--s-2) 0 0; padding: 0; max-width: 30rem; }
.pricetiers li {
  display: flex; justify-content: space-between; gap: var(--s-2);
  padding: .45rem .7rem; font-size: var(--fs-sm);
  background: var(--sky-50); border-radius: 8px; margin-bottom: .35rem;
}
.pricetiers strong { color: var(--ink); white-space: nowrap; }

.pricerow-fee { flex: 0 0 auto; text-align: right; min-width: 8.5rem; }
.pricerow-amount {
  font-family: var(--font-head); font-size: var(--fs-lg); font-weight: 600;
  color: var(--ink); line-height: 1.2; white-space: nowrap;
}
.pricerow-hst,
.pricerow-unit { font-size: var(--fs-xs); color: var(--muted); margin-top: .2rem; }

/* ---- what is and is not included ---- */
.price-inc { list-style: none; margin: 0; padding: 0; }
.price-inc li {
  position: relative; padding-left: 1.6rem; font-size: var(--fs-sm);
}
.price-inc li + li { margin-top: .55rem; }
.price-inc li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--ok);
}
.price-exc li::before { background: var(--muted); }

@media (max-width: 700px) {
  .pricerow { flex-direction: column; gap: var(--s-2); }
  .pricerow-fee { text-align: left; min-width: 0; }
  .pricetiers li { flex-wrap: wrap; }
}

.service-top { display: flex; gap: var(--s-2); align-items: baseline; justify-content: space-between; }
.service-top h3 { min-width: 0; }
.service-price {
  flex: 0 0 auto; white-space: nowrap; text-decoration: none;
  font-size: var(--fs-sm); font-weight: 650; color: var(--sky-800);
  background: var(--sky-50); border: 1px solid var(--sky-200);
  border-radius: 999px; padding: .15rem .6rem;
}
.service-price:hover { background: var(--sky-100); border-color: var(--sky-400); }
