@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');

:root {
  --plum: #421448;
  --wine: #64266f;
  --violet: #8c399b;
  --gold: #c89d5e;
  --ink: #3c3042;
  --muted: #66546c;
  --paper: #fffafd;
  --lilac: #f6ecf8;
  --line: #e6d0ea;
  --smooth: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 12% 0%, #f5e2fa 0%, #fffafd 48%, #f5eaf9 100%);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #ba70d2;
  outline-offset: 3px;
}

.wrap { width: min(1140px, calc(100% - 48px)); margin: auto; }

.header {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 99;
  background: #fffafbe8;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #d6beda73;
  transition: box-shadow .3s ease;
}
.header.scrolled { box-shadow: 0 8px 30px #59265e18; }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.05em;
  color: var(--plum);
}
.brand svg { width: 35px; height: 35px; color: #9d4aa3; flex: none; }
.navlinks { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.navlinks a { font-size: 12px; font-weight: 700; color: #59455d; transition: color .2s; white-space: nowrap; }
.navlinks a:hover, .navlinks a[aria-current="page"] { color: #8c399b; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid #a269a8;
  background: #fff;
  color: var(--plum);
  transition: transform .3s var(--smooth), box-shadow .3s;
  cursor: pointer;
}
.pill:hover { transform: translateY(-3px); box-shadow: 0 9px 18px #712d772d; }
.pill.primary {
  background: linear-gradient(110deg, #86358f, #5c2266);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 9px 23px #702e7536;
}
.menu { display: none; background: none; border: 0; color: var(--plum); font-size: 26px; cursor: pointer; }
.scroll-meter {
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, #d8a862, #a453a6);
  width: 0%;
  transition: width .1s linear;
}

.page-hero {
  padding: 64px 0 42px;
  border-bottom: 1px solid #ead7ef;
  background: linear-gradient(135deg, #fffafd 0%, #f8ecfb 100%);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .21em;
  text-transform: uppercase;
  color: #8d5b88;
}
.eyebrow::after { content: ""; width: 64px; height: 1.5px; background: var(--gold); }
.page-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.08;
  color: var(--plum);
  margin: 16px 0 14px;
}
.page-hero h1 em { color: #a343a6; font-style: italic; }
.page-hero p { max-width: 680px; font-size: 16px; color: var(--muted); margin: 0; }
.meta-note { margin-top: 14px; font-size: 12px; font-weight: 700; color: #7c5882; }

.content-section { padding: 52px 0 72px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 36px; }
.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.info-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 12px 32px #693a7014;
  transition: transform .4s var(--smooth), box-shadow .4s var(--smooth), border-color .3s ease;
}
.info-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px #693a7022; border-color: #cda3d4; }
.info-card h2, .info-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--plum);
  margin: 0 0 10px;
  letter-spacing: -.03em;
}
.info-card h2 { font-size: 26px; }
.info-card h3 { font-size: 22px; }
.info-card p, .info-card li { font-size: 14px; color: var(--muted); }
.info-card ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: start; }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 16px 40px #693a7018;
}
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 12px; font-weight: 700; color: var(--plum); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dcc4e2;
  border-radius: 12px;
  background: #fffcff;
  color: var(--ink);
  font-size: 14px;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #f5e6f8;
  color: var(--plum);
  font-size: 13px;
  font-weight: 600;
}
.form-status[hidden] { display: none; }

footer { background: #230e2b; color: #ead4e9; padding: 36px 0; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer .brand { color: #fff; font-size: 25px; }
footer .brand svg { color: #e5aadf; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer a, footer span { font-size: 11px; color: #e9d5e5; }
footer a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 900px) {
  .card-grid, .doc-grid, .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .wrap { width: min(100% - 36px, 700px); }
  .header { height: 64px; }
  .navlinks {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff9fc;
    padding: 20px 24px;
    flex-direction: column;
    align-items: start;
    box-shadow: 0 24px 36px #4b205029;
  }
  .navlinks.open { display: flex; }
  .menu { display: block; margin-left: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .brand { view-transition-name: belzuna-brand; }
  ::view-transition-old(root) { animation: belzuna-cam-out .48s cubic-bezier(.16,1,.3,1) both; }
  ::view-transition-new(root) { animation: belzuna-cam-in .58s cubic-bezier(.16,1,.3,1) both; }
  @keyframes belzuna-cam-out { from { opacity: 1; transform: scale(1); filter: blur(0); } to { opacity: 0; transform: scale(.96); filter: blur(4px); } }
  @keyframes belzuna-cam-in { from { opacity: 0; transform: scale(1.035); filter: blur(5px); } to { opacity: 1; transform: scale(1); filter: blur(0); } }
  .page-hero h1, .page-hero p, .info-card, .form-card { animation: legal-rise .75s var(--smooth) backwards; }
  @keyframes legal-rise { from { opacity: 0; transform: translate3d(0, 20px, 0) scale(.985); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
