/* Australia Lucky Queena Pty Ltd — site stylesheet
   Art direction: plum ink + brass, soft shape language, Georgia display over a system sans. */

:root {
  /* Colour */
  --primary: #3A2340;
  --primary-deep: #26162B;
  --primary-soft: #4E3156;
  --primary-tint: #F1EAF2;
  --accent: #C9963A;
  --accent-hover: #D8A84E;
  --accent-strong: #8A5C12;
  --bg: #FAF8F9;
  --surface: #FFFFFF;
  --surface-alt: #F3EEF2;
  --text-dark: #241A27;
  --text-body: #3F3544;
  --text-light: #655A6A;
  --text-on-dark: #F4EEF3;
  --text-on-dark-muted: #CDBFCC;
  --border: #E3DAE2;
  --border-dark: rgba(255, 255, 255, 0.14);
  --nav-bg: rgba(250, 248, 249, 0.84);
  --glow: rgba(201, 150, 58, 0.26);
  --glow-cool: rgba(122, 84, 132, 0.45);
  --dot: rgba(255, 255, 255, 0.08);
  --mask-solid: rgba(0, 0, 0, 1);
  --focus: #8A5C12;

  /* Type */
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --fs-hero: clamp(2.25rem, 5vw, 4rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.4rem);
  --fs-h3: clamp(1.15rem, 1.6vw, 1.3rem);
  --fs-page: clamp(2rem, 4vw, 3rem);
  --fs-lead: clamp(1.05rem, 1.4vw, 1.2rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.78rem;

  /* Spacing */
  --s1: 0.5rem;
  --s2: 0.75rem;
  --s3: 1rem;
  --s4: 1.5rem;
  --s5: 2.5rem;
  --s6: 4rem;
  --s7: 6rem;

  /* Shape, depth, layout */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(38, 22, 43, 0.05);
  --shadow-md: 0 1px 2px rgba(38, 22, 43, 0.04), 0 8px 24px rgba(38, 22, 43, 0.07);
  --shadow-lg: 0 2px 4px rgba(38, 22, 43, 0.06), 0 24px 48px rgba(38, 22, 43, 0.18);
  --container: 1140px;
  --gutter: 1.25rem;
  --measure: 66ch;
  --header-h: 4.5rem;
  --ease: 180ms ease;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg);
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-dark);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s3);
  text-wrap: balance;
}
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s3); max-width: var(--measure); }
ul, ol { margin: 0 0 var(--s3); padding-left: var(--s4); }
li { margin-bottom: var(--s1); }
dl, dd { margin: 0; }
a { color: var(--accent-strong); text-underline-offset: 0.2em; transition: color var(--ease); }
a:hover { color: var(--primary); }
strong { color: var(--text-dark); font-weight: 600; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--radius-sm); }
[id] { scroll-margin-top: calc(var(--header-h) + var(--s4)); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s3); top: calc(-1 * var(--s6)); z-index: 100;
  background: var(--primary); color: var(--text-on-dark);
  padding: var(--s1) var(--s3); border-radius: var(--radius-pill);
  text-decoration: none;
}
.skip-link:focus { top: var(--s3); color: var(--text-on-dark); }

/* ---------- Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4);
  min-height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: var(--s2);
  text-decoration: none; color: var(--text-dark);
}
.brand:hover { color: var(--text-dark); }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 2.5rem; height: 2.5rem; flex: none;
  border-radius: var(--radius-sm);
  background: var(--primary); color: var(--accent);
  font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px var(--glow);
}
.brand-name {
  display: flex; flex-direction: column;
  font-family: var(--font-display); font-size: 1.05rem; line-height: 1.15;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-light);
}
.nav-menu { display: flex; align-items: center; gap: var(--s4); }
.nav-links {
  display: flex; align-items: center; gap: var(--s1);
  list-style: none; margin: 0; padding: 0;
}
.nav-links li { margin: 0; }
.nav-link {
  position: relative; display: block;
  padding: var(--s1) var(--s2);
  color: var(--text-body); text-decoration: none; font-size: 0.95rem;
  border-radius: var(--radius-pill);
  transition: color var(--ease), background-color var(--ease);
}
.nav-link:hover { color: var(--primary); background: var(--primary-tint); }
.nav-link.is-active { color: var(--primary); font-weight: 600; }
.nav-link.is-active::after {
  content: ""; position: absolute; left: var(--s2); right: var(--s2); bottom: 0.2rem;
  height: 2px; border-radius: var(--radius-pill); background: var(--accent);
}
.nav-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem; padding: 0;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  background: var(--surface); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem;
}
.nav-toggle-bar {
  display: block; width: 1.15rem; height: 2px; border-radius: var(--radius-pill);
  background: var(--text-dark); transition: transform var(--ease), opacity var(--ease);
}
.navbar.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(0.4rem) rotate(45deg); }
.navbar.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.navbar.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-0.4rem) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background-color var(--ease), color var(--ease), border-color var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--primary-deep); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); color: var(--primary-deep); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--text-on-dark); }
.btn-outline-light { background: transparent; color: var(--text-on-dark); border-color: var(--text-on-dark-muted); }
.btn-outline-light:hover { background: var(--text-on-dark); color: var(--primary-deep); border-color: var(--text-on-dark); }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* ---------- Sections ---------- */
.section { padding: var(--s7) 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--primary); color: var(--text-on-dark-muted); }
.section-dark h2, .section-dark h3 { color: var(--text-on-dark); }
.section-head { margin-bottom: var(--s5); max-width: 44rem; }
.section-head p { color: var(--text-light); }
.section-dark .section-head p, .section-head .section-dark-copy { color: var(--text-on-dark-muted); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body); font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-strong); margin: 0 0 var(--s2);
}
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--accent); }
.section-title { font-size: var(--fs-h2); }
.lead { font-size: var(--fs-lead); color: var(--text-light); line-height: 1.6; }
.prose ul, .prose ol { padding-left: var(--s4); max-width: var(--measure); }
.prose li { margin-bottom: var(--s1); }

/* ---------- Hero ---------- */
.hero, .page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--text-on-dark-muted);
  background:
    radial-gradient(ellipse 60% 70% at 88% 18%, var(--glow), transparent 62%),
    radial-gradient(ellipse 55% 60% at 5% 100%, var(--glow-cool), transparent 70%),
    linear-gradient(160deg, var(--primary) 0%, var(--primary-deep) 100%);
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(100deg, transparent 20%, var(--mask-solid) 75%);
  mask-image: linear-gradient(100deg, transparent 20%, var(--mask-solid) 75%);
}
.hero {
  min-height: 62vh;
  padding: var(--s7) 0 calc(var(--s7) + var(--s5));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4rem), 0 100%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--s6); align-items: center;
}
.hero-copy { min-width: 0; }
.hero-title {
  font-size: var(--fs-hero); color: var(--text-on-dark); line-height: 1.06;
  margin-bottom: var(--s4);
}
.hero-lead { font-size: var(--fs-lead); color: var(--text-on-dark-muted); max-width: 36rem; margin-bottom: var(--s5); }

.hero-visual { position: relative; min-height: 30rem; }
.seal-card {
  position: absolute; top: 0; right: 0; width: 80%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 38%, var(--glow), transparent 60%),
    linear-gradient(180deg, var(--primary-soft), var(--primary));
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s3); padding: var(--s5) var(--s4) var(--s6);
  color: var(--accent);
}
.seal-ring { width: 9.5rem; height: 9.5rem; }
.seal-name {
  font-family: var(--font-display); color: var(--text-on-dark); font-size: 1.1rem; text-align: center;
  margin: 0; line-height: 1.3;
}
.seal-meta { font-size: var(--fs-small); color: var(--text-on-dark-muted); margin: 0; text-align: center; }
.path-card {
  position: absolute; left: 0; bottom: calc(-1 * var(--s3)); width: 64%;
  background: var(--surface); color: var(--text-body);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: var(--s4);
}
.path-title { font-size: var(--fs-small); font-weight: 600; color: var(--text-light); margin: 0 0 var(--s2); }
.path-list { list-style: none; margin: 0; padding: 0; position: relative; }
.path-list::before {
  content: ""; position: absolute; left: 1.2rem; top: 1.2rem; bottom: 1.2rem;
  border-left: 1.5px dashed var(--border);
}
.path-step {
  position: relative; display: flex; align-items: center; gap: var(--s2);
  margin: 0 0 var(--s2); font-size: 0.95rem; color: var(--text-dark);
}
.path-step:last-child { margin-bottom: 0; }

/* Page hero (inner pages) */
.page-hero {
  padding: var(--s6) 0 calc(var(--s6) + var(--s4));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.5rem), 0 100%);
}
.page-title { font-size: var(--fs-page); color: var(--text-on-dark); margin-bottom: var(--s3); max-width: 22ch; }
.page-lead { font-size: var(--fs-lead); color: var(--text-on-dark-muted); max-width: 40rem; margin: 0; }

/* ---------- Icons ---------- */
.icon-tile {
  display: inline-grid; place-items: center; flex: none;
  width: 3rem; height: 3rem; border-radius: var(--radius-sm);
  background: var(--primary-tint); color: var(--primary);
}
.icon-tile svg { width: 1.5rem; height: 1.5rem; }
.icon-tile-sm { width: 2.4rem; height: 2.4rem; }
.icon-tile-sm svg { width: 1.25rem; height: 1.25rem; }
.icon-tile-dark { background: var(--primary-soft); color: var(--accent); }
.icon {
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Split bands ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start;
}
.split-center { align-items: center; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.principle { display: flex; gap: var(--s3); margin: 0; }
.principle h3 { margin-bottom: var(--s1); }
.principle p { margin: 0; color: var(--text-light); }

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--s4);
}
.service-card {
  display: flex; flex-direction: column; gap: var(--s3);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s5) var(--s4);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.service-card h3 { margin: 0; }
.service-card p { margin: 0; color: var(--text-light); }
.service-card-link { text-decoration: none; color: inherit; }
.service-card-link:hover { color: inherit; transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary-tint); }
.section-foot { margin-top: var(--s5); }

.service-detail {
  display: grid; grid-template-columns: 4rem 1fr 1fr; gap: var(--s4) var(--s5);
  padding: var(--s5) 0; border-top: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: 1px solid var(--border); }
.service-detail h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-bottom: var(--s2); }
.service-detail p { color: var(--text-light); margin: 0; }
.service-points { margin: 0; padding: 0; list-style: none; }
.service-points li {
  position: relative; padding-left: var(--s4); margin-bottom: var(--s2);
}
.service-points li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 0.5rem; height: 0.5rem; border-radius: var(--radius-pill); background: var(--accent);
}

/* ---------- Steps (real sequence) ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: var(--s4);
  counter-reset: step;
}
.step {
  margin: 0; padding: var(--s4); border-radius: var(--radius);
  background: var(--primary-soft); border: 1px solid var(--border-dark);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: inline-grid; place-items: center;
  width: 2.2rem; height: 2.2rem; margin-bottom: var(--s3);
  border-radius: var(--radius-pill); border: 1.5px solid var(--accent);
  font-family: var(--font-display); color: var(--accent);
}
.step h3 { margin-bottom: var(--s1); }
.step p { margin: 0; color: var(--text-on-dark-muted); font-size: 0.98rem; }
.steps-light .step { background: var(--surface); border-color: var(--border); }
.steps-light .step::before { border-color: var(--accent-strong); color: var(--accent-strong); }
.steps-light .step p { color: var(--text-light); }

/* ---------- Credentials ---------- */
.credentials {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
}
.credential {
  padding: var(--s4); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: var(--s1);
}
.credential:last-child { border-right: 0; }
.credential-label { font-size: var(--fs-small); color: var(--text-light); margin: 0; }
.credential-value {
  font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3; color: var(--text-dark); margin: 0;
  letter-spacing: -0.01em;
}

/* ---------- Details table ---------- */
.details-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s4) var(--s5); box-shadow: var(--shadow-sm);
}
.details-card h2 { font-size: 1.35rem; }
.details-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.details-table th, .details-table td {
  text-align: left; padding: var(--s2) 0; border-bottom: 1px solid var(--border); vertical-align: top;
}
.details-table tr:last-child th, .details-table tr:last-child td { border-bottom: 0; }
.details-table th { font-weight: 500; color: var(--text-light); padding-right: var(--s4); width: 42%; }
.details-table td { color: var(--text-dark); word-break: break-word; }

/* ---------- CTA band ---------- */
.cta-band { padding: var(--s6) 0; }
.cta-inner {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s5); flex-wrap: wrap;
  padding: var(--s5); border-radius: var(--radius);
  background:
    radial-gradient(ellipse 50% 90% at 100% 0%, var(--glow), transparent 70%),
    linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: var(--text-on-dark-muted);
}
.cta-inner h2 { color: var(--text-on-dark); font-size: var(--fs-h2); margin-bottom: var(--s1); }
.cta-inner p { margin: 0; }
.cta-inner .btn { max-width: 100%; word-break: break-word; }
.cta-copy { max-width: 38rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s5); align-items: start; }
.contact-card {
  background: var(--primary); color: var(--text-on-dark-muted);
  border-radius: var(--radius); padding: var(--s5) var(--s4);
}
.contact-card h2 { color: var(--text-on-dark); font-size: 1.5rem; }
.contact-list { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; gap: var(--s4); }
.contact-item { display: flex; gap: var(--s3); margin: 0; }
.contact-item p { margin: 0; min-width: 0; }
.contact-label { display: block; font-size: var(--fs-small); color: var(--text-on-dark-muted); }
.contact-value { color: var(--text-on-dark); font-weight: 600; word-break: break-word; }
.contact-card a { color: var(--accent); }
.contact-card a:hover { color: var(--text-on-dark); }
.contact-note { font-size: var(--fs-small); border-top: 1px solid var(--border-dark); padding-top: var(--s3); margin: 0; }

.form-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s5) var(--s4); box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: 1.5rem; margin-bottom: var(--s2); }
.form-card > .form-note { margin-bottom: var(--s4); }
.form { display: grid; gap: var(--s3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.form-field { display: flex; flex-direction: column; gap: var(--s1); }
.form-field label { font-size: 0.92rem; font-weight: 600; color: var(--text-dark); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font: inherit; color: var(--text-dark);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: var(--s2) var(--s3);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-field textarea { min-height: 9rem; resize: vertical; }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint);
}
.form-note { font-size: var(--fs-small); color: var(--text-light); margin: 0; }

/* ---------- Legal ---------- */
.legal-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: var(--s6); align-items: start; }
.legal-toc {
  position: sticky; top: calc(var(--header-h) + var(--s4));
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s4);
}
.legal-toc h2 { font-family: var(--font-body); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0; color: var(--text-light); margin-bottom: var(--s2); }
.legal-toc ol { margin: 0; padding-left: var(--s4); font-size: 0.92rem; }
.legal-toc li { margin-bottom: 0.3rem; }
.legal-toc a { color: var(--text-body); text-decoration: none; }
.legal-toc a:hover { color: var(--accent-strong); text-decoration: underline; }
.legal-body h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: var(--s5); }
.legal-body h2:first-of-type { margin-top: var(--s3); }
.legal-meta { font-size: var(--fs-small); color: var(--text-light); }

/* ---------- Footer ---------- */
.footer {
  background: var(--primary-deep); color: var(--text-on-dark-muted);
  border-top: 1px solid var(--border-dark);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: var(--s5);
  padding-top: var(--s6); padding-bottom: var(--s5);
}
.footer-col { min-width: 0; }
.footer-col p { margin: 0 0 var(--s2); word-break: break-word; }
.footer .brand { color: var(--text-on-dark); margin-bottom: var(--s3); }
.footer .brand-sub { color: var(--text-on-dark-muted); }
.footer-heading {
  font-family: var(--font-body); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-on-dark); margin-bottom: var(--s3);
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: var(--s1); }
.footer a { color: var(--text-on-dark-muted); text-decoration: none; }
.footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-reg { font-size: var(--fs-small); }
.footer-bottom { background: var(--primary); border-top: 1px solid var(--border-dark); }
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s4);
  padding-top: var(--s3); padding-bottom: var(--s3); font-size: var(--fs-small);
}
.footer-bottom-inner p { margin: 0; max-width: none; }
.footer-legal { display: flex; gap: var(--s4); list-style: none; margin: 0; padding: 0; }
.footer-legal li { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 0.8fr; gap: var(--s5); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .credentials { grid-template-columns: repeat(2, 1fr); }
  .credential:nth-child(2) { border-right: 0; }
  .credential:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .service-detail { grid-template-columns: 4rem 1fr; }
  .service-detail .service-points { grid-column: 2; }
  .nav-menu { gap: var(--s2); }
  .nav-link { padding: var(--s1); }
}

@media (max-width: 768px) {
  .section { padding: var(--s6) 0; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: var(--s3);
    margin: 0 var(--gutter); padding: var(--s3);
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
  }
  .navbar.is-open .nav-menu { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { padding: var(--s2) var(--s3); border-radius: var(--radius-sm); }
  .nav-link.is-active { background: var(--primary-tint); }
  .nav-link.is-active::after { left: 0; right: auto; top: var(--s2); bottom: var(--s2); width: 3px; height: auto; }
  .nav-menu .btn { width: 100%; }

  .hero { min-height: 0; padding: var(--s6) 0 calc(var(--s6) + var(--s4)); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), 0 100%); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .page-hero { padding: var(--s5) 0 calc(var(--s5) + var(--s3)); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.5rem), 0 100%); }

  .split, .contact-grid, .legal-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .legal-toc { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .credentials { grid-template-columns: 1fr; }
  .credential, .credential:nth-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--border); }
  .credential:last-child { border-bottom: 0; }
  .service-detail { grid-template-columns: 1fr; gap: var(--s3); }
  .service-detail .service-points { grid-column: auto; }
  .cta-inner { padding: var(--s5) var(--s4); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s4); padding-top: var(--s5); }
  .details-card { padding: var(--s4); }
  .details-table th { width: auto; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 0.95rem; }
  .btn-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .btn:hover, .service-card-link:hover { transform: none; }
}
