/* ===========================================================================
   Ticket Busters Ltd. — "Rosé Noir" design system
   Near-black plum ink + confident rose + champagne gold on warm cream.
   Editorial, premium, "boss-lady" law-firm energy.
   =========================================================================== */

:root {
  /* Palette */
  --ink:        #1C1620;   /* near-black plum — headings, dark sections */
  --ink-soft:   #2A2230;   /* lifted dark surface */
  --ink-2:      #3A2F40;   /* hover on dark */
  --rose:       #C8456B;   /* primary / CTA */
  --rose-deep:  #A8395A;   /* hover */
  --rose-soft:  #E58AA6;   /* highlight on dark */
  --blush:      #F7DCE4;   /* soft section bg */
  --blush-2:    #FBEAF0;   /* lighter blush */
  --gold:       #C9A24B;   /* hairlines, accents */
  --gold-deep:  #A9842F;
  --cream:      #FBF6F4;   /* page background */
  --cream-2:    #F3EBE7;   /* alt section */
  --white:      #FFFFFF;
  --text:       #271F2B;   /* body text */
  --muted:      #7A6E78;   /* muted text */
  --line:       #ECDDE2;   /* borders on light */
  --line-dark:  rgba(255,255,255,.14);
  --danger:     #B4242B;

  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 1px 2px rgba(28,22,32,.04), 0 14px 40px -18px rgba(28,22,32,.28);
  --shadow-lg:  0 30px 70px -30px rgba(28,22,32,.45);
  --container:  1140px;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; }
a { color: var(--rose-deep); text-decoration: none; }
a:hover { color: var(--rose); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Eyebrow / kicker */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep);
  margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.eyebrow.light { color: var(--gold); }

/* ── Buttons ─────────────────────────────────────────────────────────────*/
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .18s ease; text-align: center; line-height: 1;
}
.btn-primary { background: var(--rose); color: #fff; box-shadow: 0 10px 26px -10px rgba(200,69,107,.6); }
.btn-primary:hover { background: var(--rose-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-deep); color: var(--ink); }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* ── Header / nav ────────────────────────────────────────────────────────*/
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,246,244,.88); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 52px; width: auto; display: block; }
@media (max-width: 680px) { .brand-logo { height: 42px; } }
.brand-mark {
  font-family: var(--serif); font-weight: 600; color: #fff; background: var(--ink);
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  font-size: 1.15rem; border: 1px solid var(--gold);
}
.brand-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.brand-name b { color: var(--rose); }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  color: var(--ink); font-weight: 500; font-size: .95rem; padding: 9px 13px;
  border-radius: 8px; transition: all .15s;
}
.primary-nav a:hover { color: var(--rose); background: var(--blush-2); }
.primary-nav a.active { color: var(--rose); }
.nav-dashboard {
  margin-left: 8px; background: var(--ink); color: #fff !important;
  border-radius: 999px !important; padding: 10px 20px !important;
  font-weight: 600 !important; letter-spacing: .04em; text-transform: uppercase; font-size: .8rem !important;
  border: 1px solid var(--ink);
}
.nav-dashboard:hover { background: var(--rose) !important; border-color: var(--rose); }

/* Resources dropdown */
.nav-item.has-dropdown { position: relative; display: inline-flex; align-items: center; }
.dropdown-toggle {
  background: none; border: 0; cursor: pointer; color: var(--ink); font-size: .72rem;
  padding: 9px 7px; border-radius: 8px; line-height: 1;
}
.dropdown-toggle:hover { color: var(--rose); background: var(--blush-2); }
.dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 120;
}
.dropdown-menu a {
  display: block; padding: 9px 12px; border-radius: 8px; font-size: .92rem;
  color: var(--ink); font-weight: 500; white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--blush-2); color: var(--rose); }
.dropdown-menu a:first-child {
  color: var(--gold-deep); border-bottom: 1px solid var(--line);
  border-radius: 8px 8px 0 0; margin-bottom: 4px;
}
.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown.open .dropdown-menu { display: block; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ── Flash messages ──────────────────────────────────────────────────────*/
.flash-stack { margin-top: 18px; display: grid; gap: 10px; }
.flash { padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 500; border: 1px solid; }
.flash-success { background: #ECF8F0; border-color: #BBE6CB; color: #1C6A3E; }
.flash-error, .flash-danger { background: #FCEDED; border-color: #F2C7C7; color: var(--danger); }
.flash-info { background: var(--blush-2); border-color: var(--line); color: var(--ink); }

/* ── Sections ────────────────────────────────────────────────────────────*/
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-cream2 { background: var(--cream-2); }
.section-blush { background: var(--blush); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink h1, .section-ink h2, .section-ink h3 { color: #fff; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.lead { font-size: 1.18rem; color: var(--muted); }
.page-hero { background: var(--ink); color: #fff; padding: 70px 0 64px; text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 80% 0%, rgba(200,69,107,.3), transparent 60%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 60ch; margin: 0 auto; font-size: 1.1rem; }

/* ── Hero ────────────────────────────────────────────────────────────────*/
.hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  padding: 96px 0 104px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 78% 10%, rgba(200,69,107,.34), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(201,162,75,.16), transparent 55%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--rose-soft); font-style: italic; }
.hero-sub { font-size: 1.2rem; color: rgba(255,255,255,.82); max-width: 46ch; }
.hero-list { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 11px; max-width: 32ch; }
.hero-list li { position: relative; padding-left: 30px; color: rgba(255,255,255,.92); font-weight: 500; }
.hero-list li::before {
  content: "✓"; position: absolute; left: 0; top: -1px; color: var(--ink);
  background: var(--gold); width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: .72rem; font-weight: 700;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; font-size: .9rem; color: rgba(255,255,255,.6); }

/* phone pill */
.phone-pill {
  display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600;
  border: 1px solid var(--line-dark); padding: 8px 16px; border-radius: 999px; font-size: .92rem;
}
.phone-pill b { color: var(--gold); }

/* ── Quote / lead form card ──────────────────────────────────────────────*/
.quote-card {
  background: var(--white); color: var(--text); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--rose);
}
.quote-card h3 { font-size: 1.5rem; margin-bottom: .15em; }
.quote-card .form-note { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.field input[type=text], .field input[type=email], .field input[type=tel],
.field input[type=file], .field textarea, .field select, .d-input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: .98rem; color: var(--text); background: var(--cream);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus, .d-input:focus {
  outline: 0; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(200,69,107,.14); background: #fff;
}
.field textarea { resize: vertical; }
.field .errorlist { color: var(--danger); font-size: .82rem; list-style: none; padding: 0; margin: 4px 0 0; }
.field .helptext { font-size: .8rem; color: var(--muted); display: block; margin-top: 4px; }
.honeypot { position: absolute; left: -9999px; }
.field-file input { padding: 9px; background: var(--white); font-size: .9rem; }

/* ── Service cards ───────────────────────────────────────────────────────*/
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.s-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: all .2s; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.s-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blush); }
.s-card.featured { border-top: 4px solid var(--gold); }
.s-icon { font-size: 1.9rem; margin-bottom: 14px; line-height: 1; }
.s-card h3 { color: var(--ink); margin-bottom: .35em; }
.s-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.s-card .s-more { margin-top: 16px; font-weight: 600; color: var(--rose); font-size: .92rem; }
.s-card .s-more::after { content: " →"; }

/* small inline tag */
.tag { display: inline-block; background: var(--blush); color: var(--rose-deep); font-size: .74rem;
  font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.tag-gold { background: rgba(201,162,75,.16); color: var(--gold-deep); }

/* ── Steps (How it works) ────────────────────────────────────────────────*/
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.step-num {
  font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--rose);
  background: var(--blush); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.2rem; margin-bottom: .3em; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ── Testimonials ────────────────────────────────────────────────────────*/
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 30px; box-shadow: var(--shadow);
}
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.review p { font-style: italic; color: var(--text); }
.review .who { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 600; color: var(--ink); }
.review .who span { font-weight: 400; color: var(--muted); font-size: .85rem; }
.avatar-init {
  width: 38px; height: 38px; border-radius: 50%; background: var(--rose); color: #fff;
  display: grid; place-items: center; font-size: .85rem; font-weight: 700; font-family: var(--sans);
}

/* ── Team cards ──────────────────────────────────────────────────────────*/
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.member { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.member-photo { aspect-ratio: 4/5; background: var(--blush); display: grid; place-items: center; overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-init { font-family: var(--serif); font-size: 3rem; color: var(--rose); }
.member-body { padding: 22px 24px; }
.member-body h3 { margin-bottom: .1em; }
.member-role { color: var(--rose); font-weight: 600; font-size: .9rem; }
.member-prov { color: var(--muted); font-size: .85rem; margin: 4px 0 10px; }
.member-bio { color: var(--muted); font-size: .95rem; margin: 0; }

/* ── Warnings / considerations box ───────────────────────────────────────*/
.warn-box {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm); padding: 30px 34px; box-shadow: var(--shadow);
}
.warn-box h3 { color: var(--ink); }
.warn-box ul { padding-left: 20px; margin: 12px 0; }
.warn-box li { margin-bottom: 8px; color: var(--text); }

/* ── Prose (article / resource body) ─────────────────────────────────────*/
.prose { max-width: 760px; }
.prose p { margin-bottom: 1.2rem; }
.prose h2 { margin-top: 1.6em; }
.prose img { border-radius: var(--radius); margin: 1.4rem 0; }

/* split image+text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ── CTA band ────────────────────────────────────────────────────────────*/
.cta-band { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.cta-band .bg { position: absolute; inset: 0; opacity: .22; object-fit: cover; width: 100%; height: 100%; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,22,32,.95), rgba(28,22,32,.6)); }
.cta-band .container { position: relative; z-index: 2; text-align: center; padding: 76px 24px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 56ch; margin: 0 auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* ── Newsletter list ─────────────────────────────────────────────────────*/
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: all .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card .date { color: var(--gold-deep); font-size: .82rem; font-weight: 600; }
.post-card h3 { margin: 8px 0; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--rose); }
.post-card p { color: var(--muted); font-size: .96rem; }

/* ── Footer ──────────────────────────────────────────────────────────────*/
.site-footer { background: var(--ink); color: rgba(255,255,255,.74); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-bottom: 12px; }
.footer-brand b { color: var(--rose-soft); }
.site-footer .muted { color: rgba(255,255,255,.55); }
.footer-h { color: #fff; font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-nav a, .site-footer a { color: rgba(255,255,255,.74); }
.footer-nav a:hover, .site-footer a:hover { color: var(--rose-soft); }
.footer-socials { display: flex; gap: 12px; margin-top: 14px; }
.footer-pay { margin-top: 16px; }
.footer-socials a { border: 1px solid var(--line-dark); padding: 7px 14px; border-radius: 999px; font-size: .85rem; }
.footer-disclaimer {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-dark);
  font-size: .82rem; color: rgba(255,255,255,.5); max-width: 760px;
}
.footer-bottom { margin-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; }

/* ===========================================================================
   Dashboard
   =========================================================================== */
.dash-wrap { display: grid; grid-template-columns: 244px 1fr; min-height: 100vh; }
.dash-side { background: var(--ink); color: rgba(255,255,255,.8); padding: 26px 18px; }
.dash-side .brand-name { color: #fff; font-size: 1.15rem; }
.dash-side .brand-name b { color: var(--rose-soft); }
.dash-nav { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 3px; }
.dash-nav a { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.72); padding: 11px 14px; border-radius: 9px; font-weight: 500; font-size: .94rem; }
.dash-nav a:hover { background: var(--ink-soft); color: #fff; }
.dash-nav a.active { background: var(--rose); color: #fff; }
.dash-side .dash-foot { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.dash-main { padding: 32px 40px; background: var(--cream); }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; gap: 16px; flex-wrap: wrap; }
.dash-head h1 { font-size: 2rem; margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.stat .n { font-family: var(--serif); font-size: 2.1rem; color: var(--ink); line-height: 1; }
.stat .l { color: var(--muted); font-size: .85rem; margin-top: 6px; }

/* Manage-your-site cards */
.manage-h { font-size: 1.3rem; margin: 4px 0 16px; }
.manage-h span { font-family: var(--sans); font-size: .9rem; font-weight: 400; color: var(--muted); }
.manage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 30px; }
.manage-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.manage-card:hover { box-shadow: var(--shadow-lg); }
.mc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mc-icon { font-size: 1.6rem; line-height: 1; }
.mc-count { font-family: var(--serif); font-size: 1.7rem; color: var(--rose); line-height: 1; }
.manage-card h3 { margin: 0 0 .25em; }
.manage-card p { font-size: .9rem; flex: 1; margin-bottom: 16px; }
.mc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 24px; }
.panel-head { padding: 18px 22px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.d-table { width: 100%; border-collapse: collapse; }
.d-table th, .d-table td { text-align: left; padding: 13px 22px; border-bottom: 1px solid var(--line); font-size: .94rem; }
.d-table th { font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.d-table tr:last-child td { border-bottom: 0; }
.d-table a { font-weight: 600; }
.empty { padding: 40px 22px; text-align: center; color: var(--muted); }
.badge { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.badge-new { background: var(--blush); color: var(--rose-deep); }
.badge-quoted { background: rgba(201,162,75,.18); color: var(--gold-deep); }
.badge-retained { background: #E7F6EC; color: #1C6A3E; }
.badge-closed { background: #ECE7EE; color: var(--muted); }
.badge-converted { background: rgba(201,162,75,.18); color: var(--gold-deep); }
.badge-on { background: #E7F6EC; color: #1C6A3E; }
.badge-off { background: #ECE7EE; color: var(--muted); }
.dash-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); max-width: 760px; }
.dash-form .field { margin-bottom: 18px; }
.dash-form label { font-size: .85rem; }
.row-actions { display: flex; gap: 10px; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-danger { background: #fff; color: var(--danger); border-color: #E6C2C2; }
.btn-danger:hover { background: var(--danger); color: #fff; }

/* login */
.login-wrap { min-height: 100vh; display: grid; place-items: center; background: var(--ink); padding: 24px; }
.login-card { background: var(--white); border-radius: var(--radius); padding: 40px; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--rose); }
.login-card h1 { font-size: 1.7rem; text-align: center; }
.login-card .sub { text-align: center; color: var(--muted); margin-bottom: 24px; }

/* ── Responsive ──────────────────────────────────────────────────────────*/
@media (max-width: 940px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .card-grid, .card-grid.cols-2, .steps, .reviews, .team-grid, .post-grid, .stat-grid, .manage-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash-wrap { grid-template-columns: 1fr; }
  .dash-side { padding: 16px 20px; }
  .dash-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 14px; }
  .dash-nav a { padding: 8px 12px; font-size: .88rem; }
  .dash-side .dash-foot { margin-top: 16px; padding-top: 14px; }
}
/* Collapse the full horizontal nav before it gets crowded (7 links + button). */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute; top: 74px; left: 0; right: 0; background: var(--cream);
    flex-direction: column; align-items: stretch; padding: 14px 20px 22px; gap: 4px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none;
  }
  .primary-nav.open { display: flex; }
  .nav-dashboard { margin: 8px 0 0; text-align: center; }
  /* dropdown becomes an inline indented list in the stacked mobile menu */
  .nav-item.has-dropdown { flex-direction: column; align-items: stretch; }
  .dropdown-toggle { display: none; }
  .dropdown-menu {
    position: static; display: block; box-shadow: none; border: 0;
    padding: 0 0 0 14px; min-width: 0; background: transparent;
  }
  .dropdown-menu a:first-child { border-bottom: 0; margin-bottom: 0; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .card-grid, .card-grid.cols-2, .steps, .reviews, .team-grid, .post-grid, .stat-grid, .footer-grid, .manage-grid { grid-template-columns: 1fr; }
}
