@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;1,300&family=Outfit:wght@300;400;500;600&display=swap');

/* ── Variables ──────────────────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:             #F6F5F2;
  --white:          #FFFFFF;
  --surface:        #FFFFFF;
  --surface-2:      #F0EFEC;

  /* Ink */
  --ink:            #0C0B09;
  --ink-2:          #3A3830;
  --ink-3:          #79726A;
  --ink-4:          #B2A99E;

  /* Backward-compat aliases */
  --text:           #0C0B09;
  --text-muted:     #79726A;
  --text-light:     #B2A99E;

  /* Accent — refined champagne */
  --gold:           #C8945A;
  --gold-dark:      #9A6830;
  --gold-2:         #DDB470;
  --gold-pale:      #FAF4EC;
  --gold-pale-2:    #F2E6D0;

  /* Legacy aliases */
  --wine:           #C8945A;
  --wine-dark:      #9A6830;
  --wine-2:         #DDB470;
  --wine-pale:      #FAF4EC;
  --wine-pale-2:    #F2E6D0;

  /* Gradients */
  --grad:           linear-gradient(135deg, #DDB470 0%, #9A6830 100%);
  --grad-soft:      linear-gradient(135deg, #E8C080 0%, #C8945A 100%);
  --grad-hero:      linear-gradient(175deg, #0E0D0B 0%, #060504 100%);

  /* Borders */
  --border:         #E8E3DA;
  --border-dark:    #D4CCBF;
  --border-focus:   #C8945A;

  /* States */
  --success:        #2A5C40;
  --success-bg:     #DAF0E6;
  --error:          #7A2525;
  --error-bg:       #F5E2E2;
  --warn-bg:        #FAF4EC;
  --warn-text:      #7A5010;

  /* Shadows */
  --shadow-sm:      0 1px 4px rgba(0,0,0,.04), 0 2px 12px rgba(0,0,0,.04);
  --shadow-md:      0 4px 24px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg:      0 16px 56px rgba(0,0,0,.12);
  --shadow-card:    0 1px 3px rgba(0,0,0,.04), 0 4px 20px rgba(0,0,0,.05);

  /* Geometry */
  --radius:         20px;
  --radius-md:      12px;
  --radius-sm:      8px;
  --radius-pill:    999px;
  --transition:     .22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

/* Grain overlay — GPU-composited, never on scroll containers */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
img { display: block; max-width: 100%; }

/* ── Page entrance ───────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page .container,
.client-body .container {
  animation: fadeUp 0.52s cubic-bezier(0.16, 1, 0.3, 1) 0.06s both;
}

/* ── Typography ─────────────────────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -.025em;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.625rem; }
h3 { font-size: 1.125rem; }

/* ── Layout ─────────────────────────────────────────────────────────────────── */
.page {
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2.5rem 1.25rem 6rem;
}
.page--centered { align-items: center; padding: 1.5rem; }
.container {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;           /* critical — centers the content */
}
.container--wide { max-width: 1000px; }
.container--narrow { max-width: 400px; }

/* ── Brand (success/login) ───────────────────────────────────────────────────── */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.25rem;
  text-align: center;
}
.brand__name {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.625rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand__tagline {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-top: .4rem;
  font-weight: 400;
}
.brand__rule {
  width: 28px;
  height: 1px;
  background: var(--grad);
  margin: 1rem auto 0;
}

/* ── Card ───────────────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2rem 2.25rem;
}
.card + .card { margin-top: 1rem; }
.card__title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.015em;
  margin-bottom: 1.375rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.card__title-icon {
  width: 30px; height: 30px;
  border-radius: var(--radius-sm);
  background: var(--gold-pale);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.card__subtitle {
  font-size: .875rem;
  color: var(--ink-3);
  margin-top: -.875rem;
  margin-bottom: 1.375rem;
  line-height: 1.55;
}

/* ── Form ───────────────────────────────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.125rem 1.375rem;
}
.form-grid--single { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: .375rem; }
.field--span2 { grid-column: span 2; }
.field--span3 { grid-column: span 3; }
label {
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-family: 'Outfit', sans-serif;
}
label .req { color: var(--gold-2); margin-left: .1em; }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: .8125rem 1.125rem;
  font-family: 'Outfit', sans-serif;
  font-size: .9375rem;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,148,90,.12);
}
input[readonly], input[disabled] {
  background: var(--surface-2);
  color: var(--ink-3);
  cursor: default;
}
textarea { resize: vertical; min-height: 80px; line-height: 1.55; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%23C8945A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
  cursor: pointer;
}
.hint { font-size: .78rem; color: var(--ink-4); }

/* ── Info rows ──────────────────────────────────────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.75rem;
}
.info-item { display: flex; flex-direction: column; gap: .3rem; }
.info-item--wide { grid-column: span 2; }
.info-label {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  color: var(--ink-4);
}
.service-card .info-label { color: rgba(255,255,255,.38); }
.card .info-label { color: var(--ink-4); }
.info-value {
  font-size: .9375rem;
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
}
.service-card .info-value { color: rgba(255,255,255,.88); font-weight: 300; }
.info-value--big {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 300;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.04em;
  line-height: 1;
}

/* ── Badges ─────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .875rem;
  border-radius: var(--radius-pill);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}
.badge--pending   { background: var(--warn-bg);    color: var(--warn-text); }
.badge--completed { background: var(--success-bg); color: var(--success); }
.badge-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 2rem;
  font-family: 'Outfit', sans-serif;
  font-size: .9375rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: .02em;
}
.btn:active { transform: scale(.97); }
.btn--primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(12,11,9,.2);
  font-weight: 500;
}
.btn--primary:hover {
  opacity: .85;
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(12,11,9,.3);
}
.btn--accent {
  background: var(--grad);
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(200,148,90,.25);
  font-weight: 600;
}
.btn--accent:hover {
  opacity: .9;
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(200,148,90,.38);
}
.btn--outline {
  background: var(--white);
  color: var(--ink-2);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-sm);
}
.btn--outline:hover { background: var(--bg); text-decoration: none; border-color: var(--ink-4); }
.btn--ghost {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.15);
  padding: .45rem 1rem;
}
.btn--ghost:hover { background: rgba(255,255,255,.18); color: var(--white); text-decoration: none; }
.btn--danger { background: linear-gradient(135deg,#C03C3C,#8B2020); color: var(--white); box-shadow: 0 4px 16px rgba(139,32,32,.25); }
.btn--danger:hover { opacity: .9; text-decoration: none; }
.btn--large { padding: 1.0625rem 2.5rem; font-size: 1rem; }
.btn--full { width: 100%; }
.btn--sm { padding: .45rem 1rem; font-size: .8125rem; }
.btn-group { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }

/* ── Alert ──────────────────────────────────────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: .875rem;
  margin-bottom: 1.375rem;
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  border: 1px solid transparent;
  font-family: 'Outfit', sans-serif;
}
.alert--error   { background: var(--error-bg);   color: var(--error);   border-color: #E8C4C4; }
.alert--success { background: var(--success-bg); color: var(--success); border-color: #A8DDB8; }
.alert--info    { background: var(--gold-pale);  color: var(--gold-dark); border-color: var(--gold-pale-2); }

/* ── Table ──────────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .875rem; }
thead th {
  padding: .875rem 1.375rem;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-4);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  white-space: nowrap;
}
tbody tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
tbody tr:hover { background: var(--gold-pale); }
tbody td { padding: 1rem 1.375rem; vertical-align: middle; }
tbody tr:last-child { border-bottom: none; }

/* ── Admin nav ──────────────────────────────────────────────────────────────── */
.admin-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.25rem;
  background: var(--ink);
  margin-bottom: 2.5rem;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 0 rgba(255,255,255,.05), 0 4px 32px rgba(0,0,0,.32);
}
.admin-nav__brand {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  font-style: normal;
  color: var(--white);
  letter-spacing: -.02em;
}
.admin-nav__brand span { opacity: .38; font-weight: 300; }
.admin-nav__links { display: flex; align-items: center; gap: .5rem; }

/* ── Divider ────────────────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 1.75rem 0; }
.divider--gold { border-color: var(--gold-pale-2); }

/* ── Copy-link box ──────────────────────────────────────────────────────────── */
.copy-box {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .6875rem 1rem;
  word-break: break-all;
}
.copy-box input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: .8rem;
  color: var(--ink);
  padding: 0;
  cursor: text;
  font-family: monospace;
}
.copy-box input:focus { outline: none; box-shadow: none; }

/* ── Admin 2-column grid ─────────────────────────────────────────────────────── */
.admin-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.375rem;
}

/* ── Client hero ─────────────────────────────────────────────────────────────── */
.client-hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Ambient glow orbs */
.client-hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.client-hero__orb--1 {
  width: 700px; height: 700px;
  top: -20%; right: -15%;
  background: radial-gradient(ellipse, rgba(200,148,90,.08) 0%, transparent 70%);
}
.client-hero__orb--2 {
  width: 400px; height: 400px;
  bottom: 5%; left: -10%;
  background: radial-gradient(ellipse, rgba(200,148,90,.05) 0%, transparent 70%);
}
.client-hero__orb--3 {
  width: 200px; height: 200px;
  top: 40%; left: 20%;
  background: rgba(255,255,255,.018);
}

.ch-wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2.5rem 5rem;
  position: relative;
  z-index: 1;
}

.client-hero__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.client-hero__brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: .9375rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  letter-spacing: -.01em;
}

.client-hero__brand-sub {
  font-size: .6rem;
  color: rgba(255,255,255,.28);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
}

.client-hero__sup {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  background: rgba(200,148,90,.12);
  border: 1px solid rgba(200,148,90,.25);
  border-radius: 100px;
  padding: .4rem 1rem;
}

.client-hero__h1 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: -.03em;
  margin-bottom: 2.5rem;
  line-height: 1.0;
}
.client-hero__h1 span {
  display: block;
  font-size: .8125rem;
  font-weight: 400;
  color: rgba(255,255,255,.35);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .875rem;
}
.client-hero__h1 em {
  display: block;
  font-style: normal;
  font-weight: 200;
  font-size: clamp(2.75rem, 6.5vw, 4.25rem);
  color: rgba(255,255,255,.92);
  line-height: 1.1;
}

.client-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.client-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-pill);
  padding: .5rem 1.125rem;
  font-size: .75rem;
  color: rgba(255,255,255,.68);
  font-weight: 400;
  font-family: 'Outfit', sans-serif;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  letter-spacing: .01em;
}

/* ── Client body ─────────────────────────────────────────────────────────────── */
.client-body {
  background: var(--bg);
  padding: 0 1.5rem 6rem;
}

/* ── Progress steps ──────────────────────────────────────────────────────────── */
.client-lift {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  margin-bottom: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 8px 48px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.05);
  padding: 1.375rem 1.75rem;
}

.progress-steps {
  display: flex;
  align-items: center;
}
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  flex: 0 0 auto;
}
.progress-step__dot {
  width: 28px; height: 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-dark);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink-4);
  transition: all var(--transition);
  font-family: 'Outfit', sans-serif;
}
.progress-step--done .progress-step__dot {
  background: var(--success-bg);
  border-color: var(--success);
  color: var(--success);
}
.progress-step--active .progress-step__dot {
  background: var(--ink);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 3px 12px rgba(12,11,9,.25);
}
.progress-step__label {
  font-size: .63rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-4);
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
}
.progress-step--done .progress-step__label { color: var(--success); }
.progress-step--active .progress-step__label { color: var(--ink-2); }
.progress-step__connector {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin: 0 .75rem;
  margin-bottom: 1.25rem;
}

/* ── Service card (dark) ─────────────────────────────────────────────────────── */
.service-card {
  background: var(--grad-hero);
  background-image:
    radial-gradient(ellipse at 85% 10%, rgba(200,148,90,.1) 0%, transparent 55%),
    linear-gradient(175deg, #0E0D0B 0%, #060504 100%);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 10%, rgba(200,148,90,.05) 0%, transparent 70%);
  pointer-events: none;
}
.service-card .info-label { color: rgba(255,255,255,.32); }
.service-card .info-value { color: rgba(255,255,255,.85); font-weight: 300; }
.service-card__plan {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  font-style: normal;
  color: rgba(255,255,255,.88);
  letter-spacing: -.02em;
  margin-bottom: 1.125rem;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* ── Trust row ───────────────────────────────────────────────────────────────── */
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .73rem;
  color: var(--ink-4);
  font-weight: 400;
  font-family: 'Outfit', sans-serif;
  letter-spacing: .01em;
}
.trust-item svg { flex-shrink: 0; opacity: .55; }

/* ── Payment detail ──────────────────────────────────────────────────────────── */
.payment-detail {
  font-size: .78rem;
  color: var(--ink-3);
  margin-top: 1.375rem;
  line-height: 1.55;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: 'Outfit', sans-serif;
}

/* ── Accept block ────────────────────────────────────────────────────────────── */
.accept-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  margin-top: 1rem;
  box-shadow: var(--shadow-card);
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  cursor: pointer;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--ink-3);
  padding: 1rem 1.125rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color var(--transition), background var(--transition);
  font-family: 'Outfit', sans-serif;
}
.check-label:has(input:checked) {
  border-color: var(--ink);
  background: var(--gold-pale);
}
input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px;
  border: 1.5px solid var(--border-dark);
  border-radius: 4px;
  cursor: pointer;
  accent-color: var(--ink);
  margin-top: .2rem;
}

/* ── Success page ────────────────────────────────────────────────────────────── */
.success-icon {
  width: 68px; height: 68px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(12,11,9,.22);
}
.next-steps { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-top: 1.25rem; }
.next-steps li {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  font-size: .875rem;
  color: var(--ink-3);
  font-family: 'Outfit', sans-serif;
}
.step-num {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  font-size: .7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .05rem;
  font-family: 'Outfit', sans-serif;
}

/* ── Login ───────────────────────────────────────────────────────────────────── */
.page--login {
  background: var(--grad-hero);
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
}
.page--login::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  top: -15%; right: -15%;
  background: radial-gradient(ellipse, rgba(200,148,90,.07) 0%, transparent 70%);
  pointer-events: none;
}
.login-card {
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 32px 96px rgba(0,0,0,.45), 0 8px 24px rgba(0,0,0,.15);
  padding: 3rem 2.75rem;
  width: 100%;
  max-width: 400px;
  position: relative;
  z-index: 1;
}
.login-brand {
  text-align: center;
  margin-bottom: 2.5rem;
}
.login-brand__name {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.875rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.login-brand__rule {
  width: 24px; height: 1px;
  background: var(--grad);
  margin: .875rem auto 0;
}

/* ── Empty state ─────────────────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 4rem 1.5rem; color: var(--ink-3); }
.empty-state__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--gold);
  opacity: .7;
}
.empty-state h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-style: normal;
  color: var(--ink-3);
  font-weight: 400;
  margin-bottom: .5rem;
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.page-footer {
  text-align: center;
  padding: 1.75rem;
  font-size: .75rem;
  color: var(--ink-4);
  border-top: 1px solid var(--border);
  margin-top: 3.5rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: .02em;
}

/* ── Crew counter ────────────────────────────────────────────────────────────── */
.crew-grid { display: flex; gap: .875rem; flex-wrap: wrap; margin-top: .5rem; }
.crew-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  min-width: 110px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.crew-item:hover { border-color: var(--ink-4); box-shadow: var(--shadow-sm); }
.crew-label {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-4);
  text-align: center;
  font-family: 'Outfit', sans-serif;
}
.crew-counter { display: flex; align-items: center; gap: .625rem; }
.crew-btn {
  width: 28px; height: 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-dark);
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  flex-shrink: 0;
  font-weight: 500;
}
.crew-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.crew-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.375rem;
  font-weight: 300;
  min-width: 1.5ch;
  text-align: center;
  letter-spacing: -.02em;
  color: var(--ink);
}
.crew-preview { margin-top: .375rem; font-size: .8rem; color: var(--ink-3); font-family: 'Outfit', sans-serif; }

/* ── Admin search ────────────────────────────────────────────────────────────── */
.admin-search {
  position: relative;
  max-width: 280px;
}
.admin-search__icon {
  position: absolute;
  left: .875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-4);
  pointer-events: none;
}
.admin-search input {
  padding-left: 2.5rem;
  font-size: .875rem;
  border-radius: var(--radius-sm);
  height: 40px;
}

/* ── Hint box ────────────────────────────────────────────────────────────────── */
.hint-box {
  font-size: .8rem;
  color: var(--ink-3);
  padding: .75rem 1rem;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold-pale-2);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-family: 'Outfit', sans-serif;
  line-height: 1.5;
}

/* ── Saldo warning ───────────────────────────────────────────────────────────── */
#saldo-warn { color: var(--error); font-weight: 500; }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .admin-2col { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .field--span2,
  .form-grid .field--span3 { grid-column: span 1; }
  .info-grid { grid-template-columns: 1fr; }
  .info-item--wide { grid-column: span 1; }
  .card { padding: 1.5rem 1.375rem; }
  .service-card { padding: 1.5rem 1.375rem; }
  .accept-block { padding: 1.5rem 1.375rem; }
  .btn-group { flex-direction: column; align-items: stretch; }
  h1 { font-size: 2rem; }
  .client-hero { min-height: 100dvh; }
  .client-hero__h1 em { font-size: clamp(3.5rem, 16vw, 5rem); }
  .client-hero__h1 span { font-size: 1.125rem; }
  .ch-wrap { padding: 2rem 1.5rem 4rem; }
  .client-hero__topbar { margin-bottom: 3rem; }
  .admin-nav { padding: .875rem 1.25rem; }
  .crew-grid { gap: .625rem; }
  .progress-steps { padding: 1rem; }
  .progress-step__label { display: none; }
  .trust-row { gap: 1rem; }
  .login-card { padding: 2.25rem 1.75rem; }
}
