/* ========================================================================== 
   Decisorialitis Law Chambers Ltd — Stylesheet
   Palette: Ink #141311 · Parchment #F7F3EC · Signal Orange #E2531D · Ember #8C3410
   Type: Fraunces (display) · Inter (body) · Space Mono (utility)
   ========================================================================== */

:root {
  --ink: #141311;
  --ink-soft: #221f1b;
  --ink-line: rgba(247, 243, 236, 0.14);

  --parchment: #F7F3EC;
  --parchment-dim: #EEE7D8;
  --paper: #FFFDF9;

  --orange: #E2531D;
  --orange-bright: #F1511B;
  --ember: #8C3410;
  --gold-line: #C79A5B;

  --slate: #5B5650;
  --slate-light: #8A8378;
  --line: #DED5C6;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;

  --container: 1220px;
  --radius: 4px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.site-toast {
  position: fixed;
  z-index: 1000;
  right: 24px;
  bottom: 24px;
  width: min(420px, calc(100vw - 32px));
  padding: 15px 18px;
  border-left: 4px solid #e2531d;
  background: #141311;
  color: #fffdf9;
  box-shadow: 0 16px 36px rgba(20, 19, 17, .25);
  font-size: .9rem;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}

.site-toast.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__mark {
  font-family: var(--font-mono);
  color: var(--orange);
  font-size: 14px;
  letter-spacing: 0.4em;
  animation: pulse 1.1s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:.4;} 50%{opacity:1;} }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.eyebrow--light { color: #F0C7AE; }
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 16ch;
}
.section-title--light { color: var(--parchment); }
.section-title em, .hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

.section-head { margin-bottom: 56px; }
.section-head--light { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--light .section-title { max-width: 22ch; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: var(--paper);
}
.btn--primary:hover { background: var(--ember); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  border-color: var(--ink-line);
  color: var(--parchment);
}
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn--lg { padding: 15px 30px; font-size: 0.95rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(20, 19, 17, 0);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.3s var(--ease);
  padding: 22px 0;
}
.site-header.is-scrolled {
  background: rgba(20, 19, 17, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  padding: 14px 0;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 44px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--parchment);
  letter-spacing: 0.01em;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.nav { display: flex; gap: 30px; }
.nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--parchment);
  opacity: 0.82;
  position: relative;
  padding: 4px 0;
  transition: opacity 0.25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--orange);
  transition: width 0.3s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone {
  display: flex; align-items: center; gap: 8px;
  color: var(--parchment);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  opacity: 0.9;
}
.header__phone svg { color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  width: 30px;
}
.nav-toggle span {
  height: 2px; width: 100%; background: var(--parchment);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--parchment);
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0; z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  filter: grayscale(35%) contrast(1.05);
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,19,17,0.55) 0%, rgba(20,19,17,0.55) 30%, rgba(20,19,17,0.88) 100%),
    linear-gradient(100deg, rgba(20,19,17,0.92) 0%, rgba(20,19,17,0.55) 48%, rgba(20,19,17,0.35) 100%);
}
.hero__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: end;
  padding-top: 200px;
  padding-bottom: 70px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.hero__lede {
  max-width: 46ch;
  font-size: 1.06rem;
  color: rgba(247,243,236,0.82);
  margin-bottom: 34px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__services {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(247,243,236,0.55);
  margin-top: 26px;
}

/* Docket card — signature element */
.docket {
  background: rgba(247,243,236,0.06);
  border: 1px solid rgba(247,243,236,0.16);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  padding: 28px 26px 24px;
  position: relative;
  animation: docket-in 1s var(--ease) 0.3s both;
}
@keyframes docket-in { from { opacity:0; transform: translateY(16px);} to {opacity:1; transform:none;} }
.docket__head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(247,243,236,0.55);
  border-bottom: 1px solid rgba(247,243,236,0.16);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.docket__no { color: var(--orange); }
.docket__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.docket__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }
.docket__list li {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.86rem;
  border-bottom: 1px dashed rgba(247,243,236,0.14);
  padding-bottom: 8px;
}
.docket__list li span { color: rgba(247,243,236,0.6); }
.docket__list li b { font-weight: 600; color: var(--parchment); }
.docket__seal {
  position: absolute; top: -18px; right: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  color: var(--orange);
  background: var(--ink);
  transform: rotate(8deg);
}

.hero__stats {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(247,243,236,0.14);
  background: rgba(20,19,17,0.35);
}
.hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 26px 32px;
}
.stat { display: flex; flex-direction: column; gap: 2px; border-left: 1px solid rgba(247,243,236,0.14); padding-left: 22px; }
.stat:first-child { border-left: none; padding-left: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--orange);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(247,243,236,0.62);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { padding: 140px 0; background: var(--parchment); }
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.about__media { position: relative; }
.about__media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 4px;
  filter: grayscale(15%);
}
.about__media-caption {
  position: absolute; left: -1px; bottom: -1px;
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 12px 18px;
  max-width: 78%;
}
.about__lead {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 22px 0 20px;
}
.about__copy p { color: var(--slate); margin-bottom: 16px; max-width: 56ch; }
.about__motto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--orange);
  border-left: 2px solid var(--orange);
  padding-left: 16px;
  margin-top: 8px;
}
.about__points { margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.about__point { display: flex; gap: 16px; align-items: flex-start; }
.about__point-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--orange);
  line-height: 1;
  padding-top: 2px;
}
.about__point h3 { font-size: 1rem; margin-bottom: 4px; }
.about__point p { color: var(--slate); font-size: 0.92rem; margin: 0; max-width: none; }

/* ==========================================================================
   PRACTICE AREAS
   ========================================================================== */
.practice { padding: 40px 0 140px; background: var(--parchment); }
.practice__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.practice-card {
  background: var(--paper);
  padding: 38px 30px;
  transition: background 0.35s var(--ease);
  position: relative;
}
.practice-card:hover { background: var(--ink); }
.practice-card:hover h3, .practice-card:hover p { color: var(--parchment); }
.practice-card:hover .practice-card__num { color: var(--orange); }
.practice-card__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate-light);
  margin-bottom: 26px;
  transition: color 0.35s var(--ease);
}
.practice-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  margin-bottom: 10px;
  transition: color 0.35s var(--ease);
}
.practice__note {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--slate-light);
  text-align: center;
}
.practice-card p {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.55;
  transition: color 0.35s var(--ease);
}

/* ==========================================================================
   APPROACH
   ========================================================================== */
.approach { background: var(--ink); color: var(--parchment); padding: 130px 0; }
.approach__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 20px;
}
.approach__step {
  border-top: 1px solid rgba(247,243,236,0.2);
  padding-top: 26px;
}
.approach__step-no {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--orange);
  margin-bottom: 14px;
}
.approach__step h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 10px; font-weight: 500; }
.approach__step p { font-size: 0.9rem; color: rgba(247,243,236,0.68); }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team { padding: 140px 0; background: var(--parchment); }
.team__tier-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin: 48px 0 32px;
}
.team__tier-label:first-of-type { margin-top: 0; }
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.team-card__mark {
  width: 74px; height: 74px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.team-card__mark span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--orange);
}
.team-card:hover .team-card__mark { border-color: var(--orange); background: var(--ink); }
.team-card__mark--open { border-style: dashed; }
.team-card__mark--open span { color: var(--slate-light); font-style: normal; font-weight: 300; }
.team-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; margin-bottom: 4px; }
.team-card__role { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--orange); margin-bottom: 12px; }
.team-card__bio { color: var(--slate); font-size: 0.9rem; }
.team-card__phone { margin-top: 12px; }
.team-card__phone a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.team-card__phone a:hover { color: var(--orange); border-color: var(--orange); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials { padding: 0 0 140px; background: var(--parchment); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.testimonial {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  padding: 34px 30px;
}
.testimonial p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.5;
  margin-bottom: 22px;
  color: var(--ink-soft);
}
.testimonial footer { display: flex; flex-direction: column; }
.testimonial footer b { font-size: 0.9rem; }
.testimonial footer span { font-size: 0.8rem; color: var(--slate); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { position: relative; padding: 130px 0; color: var(--parchment); overflow: hidden; }
.cta-band__media { position: absolute; inset: 0; z-index: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(50%); }
.cta-band__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,19,17,0.88), rgba(20,19,17,0.78)); }
.cta-band__inner { position: relative; z-index: 1; text-align: center; max-width: 700px; margin: 0 auto; }
.cta-band__inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 16px;
}
.cta-band__inner p { color: rgba(247,243,236,0.78); margin-bottom: 32px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { padding: 140px 0; background: var(--parchment); }
.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
}
.contact__lede { color: var(--slate); max-width: 46ch; margin: 20px 0 34px; }
.contact__list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.contact__list a { font-weight: 600; }
.contact__list a:hover { color: var(--orange); }
.contact__label { display: block; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-light); margin-bottom: 3px; }
.contact__map-note {
  border-left: 2px solid var(--orange);
  padding-left: 18px;
}
.contact__map-note span { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-light); }
.contact__map-note p { font-family: var(--font-display); font-style: italic; margin-top: 4px; }
.contact__motto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--orange);
  margin-top: 28px;
}

.contact__form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: 4px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  margin-bottom: 8px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--parchment);
  color: var(--ink);
  transition: border-color 0.25s var(--ease);
  resize: vertical;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--orange);
  outline: none;
}
.form-row.has-error input, .form-row.has-error textarea { border-color: #C0392B; }
.form-error { display: block; font-size: 0.78rem; color: #C0392B; margin-top: 6px; min-height: 1em; }
.contact__form-note { margin-top: 16px; font-size: 0.88rem; text-align: center; min-height: 1.2em; }
.contact__form-note.is-success { color: #3D7A44; }
.footer__admin-link { color: var(--orange) !important; font-weight: 600; }
.success-page {
  min-height: 100vh; display: grid; place-items: center; padding: 32px;
  background: var(--ink);
}
.success-page__panel {
  width: min(100%, 720px); min-height: 620px; padding: 42px 56px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--paper); border-top: 5px solid var(--orange);
  box-shadow: 0 25px 80px rgba(0,0,0,0.3);
}
.success-page__brand .brand__name { color: var(--ink); }
.success-page__content { max-width: 520px; padding: 70px 0; }
.success-page__mark {
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; margin-bottom: 28px;
  border-radius: 50%; background: #3D7A44; color: #fff; font-size: 30px;
}
.success-page__content h1 {
  margin-bottom: 18px; font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 500; line-height: 1.02;
}
.success-page__content p:not(.eyebrow):not(.success-page__reference) { max-width: 48ch; margin-bottom: 28px; color: var(--slate); }
.success-page__reference { margin: -6px 0 18px; font: 11px var(--font-mono); letter-spacing: .08em; color: var(--orange); text-transform: uppercase; }
.success-page__footer { font-size: .8rem; color: var(--slate); }
.receipt-page { min-height: 100vh; padding: 32px 20px 64px; background: var(--parchment); }
.receipt-toolbar { width: min(100%, 860px); margin: 0 auto 18px; display: flex; justify-content: space-between; align-items: center; }
.receipt-back { color: var(--slate); font-size: .88rem; }
.receipt-back:hover { color: var(--orange); }
.receipt { width: min(100%, 860px); margin: 0 auto; padding: 54px 62px 42px; background: var(--paper); box-shadow: 0 20px 60px rgba(20,19,17,.12); }
.receipt__header, .receipt__intro, .receipt__meta, .receipt__items-head, .receipt__item, .receipt__total { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.receipt__brand .brand__name { color: var(--ink); }
.receipt__label { text-align: right; font-family: var(--font-mono); color: var(--orange); font-size: 10px; letter-spacing: .14em; }
.receipt__label strong { display: block; margin-top: 7px; color: var(--ink); font-size: 15px; letter-spacing: .05em; }
.receipt__rule { height: 1px; margin: 34px 0 42px; background: var(--ink); }
.receipt__intro { align-items: flex-end; }
.receipt__intro h1 { max-width: 12ch; margin-bottom: 16px; font: 500 clamp(2.4rem, 5vw, 4.1rem)/1.04 var(--font-display); }
.receipt__lead { max-width: 48ch; color: var(--slate); }
.receipt__status { min-width: 125px; padding: 16px; border: 1px solid var(--line); text-align: center; color: #3d7a44; }
.receipt__status-mark { display: block; margin-bottom: 8px; font-size: 25px; }
.receipt__status strong, .receipt__status small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; }
.receipt__status small { margin-top: 8px; color: var(--slate); letter-spacing: 0; }
.receipt__meta { margin: 44px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.receipt__meta span, .receipt__items-head { display: block; color: var(--slate-light); font: 10px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.receipt__meta strong { display: block; margin-top: 8px; font-size: .9rem; }
.receipt__details { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; margin-bottom: 44px; }
.receipt__section-label { margin-bottom: 9px; color: var(--orange); font: 10px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.receipt__details p:not(.receipt__section-label) { color: var(--slate); font-size: .9rem; }
.receipt__items { border: 1px solid var(--line); }
.receipt__items-head { padding: 13px 18px; background: var(--parchment); }
.receipt__items-head span:last-child { text-align: right; }
.receipt__item { padding: 20px 18px; align-items: center; }
.receipt__item small { display: block; margin-top: 5px; color: var(--slate); font-size: .78rem; }
.receipt__item > strong { color: #3d7a44; font: 11px var(--font-mono); text-transform: uppercase; }
.receipt__total { padding: 18px; border-top: 1px solid var(--line); background: var(--ink); color: var(--parchment); align-items: center; }
.receipt__total strong { color: #f0c7ae; font-family: var(--font-mono); font-size: .8rem; }
.receipt__footer { display: flex; justify-content: space-between; gap: 30px; margin-top: 42px; color: var(--slate); font-size: .76rem; }
.receipt__footer p:last-child { text-align: right; }
@media print {
  @page { size: A4; margin: 14mm; }
  body { background: #fff; }
  .no-print { display: none !important; }
  .receipt-page { padding: 0; background: #fff; }
  .receipt { width: 100%; padding: 20px 0; box-shadow: none; }
}
.button-spinner {
  display: none;
  width: 17px; height: 17px;
  border: 2px solid rgba(255,255,255,0.38);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: button-spin 0.7s linear infinite;
}
.btn.is-loading .button-spinner { display: inline-block; }
.btn.is-loading { cursor: wait; opacity: 0.82; }
@keyframes button-spin { to { transform: rotate(360deg); } }

.success-modal[hidden] { display: none; }
.success-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.success-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(20,19,17,0.78);
  backdrop-filter: blur(6px);
}
.success-modal__dialog {
  position: relative; width: min(100%, 500px);
  padding: 48px 42px 42px;
  background: var(--paper);
  border-top: 4px solid var(--orange);
  box-shadow: 0 24px 70px rgba(0,0,0,0.35);
  animation: modal-enter 0.4s var(--ease) both;
}
.success-modal__close {
  position: absolute; top: 14px; right: 18px;
  width: 36px; height: 36px;
  border: 0; background: transparent; color: var(--slate);
  font-size: 28px; line-height: 1;
}
.success-modal__close:hover { color: var(--orange); }
.success-modal__mark {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: 24px;
  border-radius: 50%; background: #3D7A44; color: #fff;
  font-size: 25px;
}
.success-modal__dialog .eyebrow { margin-bottom: 12px; }
.success-modal__dialog h2 {
  margin-bottom: 14px;
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 500; line-height: 1.1;
}
.success-modal__dialog p:not(.eyebrow) { margin-bottom: 28px; color: var(--slate); }
@keyframes modal-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--parchment); padding: 90px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(247,243,236,0.12);
}
.footer__mark { width: 56px; margin-bottom: 20px; }
.footer__brand p { color: rgba(247,243,236,0.58); font-size: 0.85rem; max-width: 42ch; }
.footer__services {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(247,243,236,0.4) !important;
  margin-top: 14px;
  max-width: none !important;
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 18px;
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a, .footer__col span { color: rgba(247,243,236,0.75); font-size: 0.9rem; }
.footer__col a:hover { color: var(--orange); }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 0;
  font-size: 0.8rem;
  color: rgba(247,243,236,0.5);
}
.footer__credit a { color: var(--orange); font-weight: 600; }

/* ==========================================================================
   WHATSAPP FAB
   ========================================================================== */
.whatsapp-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 400;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .practice__grid { grid-template-columns: repeat(2, 1fr); }
  .approach__steps { grid-template-columns: repeat(2, 1fr); }
  .team__grid, .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 50px; }
  .about__media img { aspect-ratio: 16/10; }
  .hero__inner { grid-template-columns: 1fr; }
  .docket { max-width: 420px; }
}

@media (max-width: 860px) {
  .nav, .header__phone { display: none; }
  .nav-toggle { display: flex; }
  .header__actions .btn--primary { padding: 10px 16px; font-size: 0.78rem; }
  .brand__name { font-size: 0.92rem; }
  .brand__sub { font-size: 9px; }
  .header__inner { gap: 12px; }
  .brand__mark { width: 36px; }

  .site-header.nav-open .nav {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink);
    padding: 24px 32px 30px;
    gap: 18px;
    box-shadow: 0 20px 30px rgba(0,0,0,0.3);
  }

  .hero__stats-inner { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }

  .practice__grid { grid-template-columns: 1fr; }
  .approach__steps { grid-template-columns: 1fr; gap: 30px; }
  .team__grid, .testimonials__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero__inner { padding-top: 150px; padding-bottom: 40px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .about, .practice, .team, .testimonials, .contact, .approach, .cta-band { padding-top: 80px; padding-bottom: 80px; }
  .contact__form { padding: 26px; }
  .docket__seal { display: none; }
  .header__actions .btn--primary { display: none; }
  .brand__sub { display: none; }
  .whatsapp-fab { width: 48px; height: 48px; bottom: 18px; right: 18px; }
  .success-modal__dialog { padding: 42px 26px 30px; }
  .success-modal__dialog h2 { font-size: 1.9rem; }
  .success-page { padding: 0; }
  .success-page__panel { min-height: 100vh; padding: 28px 24px; }
  .success-page__content { padding: 50px 0; }
  .receipt-page { padding: 18px 12px 40px; }
  .receipt { padding: 32px 22px; }
  .receipt__intro, .receipt__meta, .receipt__footer { display: block; }
  .receipt__status { width: 125px; margin-top: 26px; }
  .receipt__meta > div { margin-top: 18px; }
  .receipt__details { grid-template-columns: 1fr; gap: 24px; }
  .receipt__footer p:last-child { margin-top: 20px; text-align: left; }
  .receipt-toolbar .btn { padding: 10px 12px; font-size: .75rem; }
}
