/* MadeBySarz — Global Styles (coloured concepts)
   Clean, minimal studio + cozy café + hard gym
-------------------------------------------------- */
:root {
  --bg: #02010a;
  --bg-soft: #050816;
  --panel: #020617;
  --panel-soft: #020314;
  --accent: #2563eb;

  --ink: #f9fafb;
  --muted: #9ca3af;
  --muted-soft: #6b7280;
  --border-subtle: rgba(31, 41, 55, 0.9);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.95);

  /* Concept accents */
  --cafe-bg: radial-gradient(circle at top left, #2b1b1a 0, #0d080a 40%, #05030a 100%);
  --cafe-panel: rgba(20, 12, 15, 0.96);
  --cafe-border: rgba(248, 250, 252, 0.18);
  --cafe-accent: #fbbf24;
  --cafe-soft: rgba(248, 250, 252, 0.06);

  --gym-bg: radial-gradient(circle at top left, #111827 0, #020617 45%, #02010a 100%);
  --gym-panel: rgba(10, 16, 30, 0.98);
  --gym-border: rgba(34, 197, 94, 0.5);
  --gym-accent: #22c55e;
  --gym-accent-secondary: #ef4444;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout */

.container {
  width: min(1120px, 100% - 2.6rem);
  margin-inline: auto;
}

.section {
  padding: 4.4rem 0;
}

.section--tight {
  padding-block: 2.6rem;
}

.section__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.section__title {
  font-size: clamp(1.9rem, 1.8rem + 0.6vw, 2.4rem);
  margin: 0.65rem 0 0.4rem;
  letter-spacing: -0.03em;
}

.section__lead {
  margin: 0.3rem 0 0;
  font-size: 0.96rem;
  color: var(--muted);
  max-width: 36rem;
}

.section__note {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--muted-soft);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

@media (max-width: 820px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Header & nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background:
    linear-gradient(to bottom, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.94), transparent);
  border-bottom: 1px solid rgba(15, 23, 42, 0.95);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.9rem 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-lockup__mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background-color: #020617;
  border: 1px solid rgba(37, 99, 235, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #bfdbfe;
}

.brand-lockup__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-lockup__name {
  font-size: 0.98rem;
  font-weight: 600;
}

.brand-lockup__tagline {
  font-size: 0.78rem;
  color: var(--muted-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
}

.site-nav__link {
  text-decoration: none;
  color: var(--muted);
  padding: 0.35rem 0.76rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease;
}

.site-nav__link:hover {
  color: var(--ink);
  border-color: rgba(51, 65, 85, 0.95);
  background-color: rgba(3, 7, 18, 0.98);
}

.site-nav__link--current {
  border-color: rgba(37, 99, 235, 0.85);
  color: #dbeafe;
  background-color: rgba(15, 23, 42, 0.98);
}

.site-nav__link--outline {
  border-color: rgba(37, 99, 235, 0.85);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
  flex-direction: column;
  gap: 0.18rem;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background-color: #e5e7eb;
}

@media (max-width: 780px) {
  .site-header__inner {
    padding-block: 0.8rem;
  }

  .site-nav {
    position: fixed;
    inset: 56px 1.2rem auto;
    padding: 0.9rem;
    border-radius: 18px;
    background-color: rgba(3, 7, 18, 0.98);
    border: 1px solid rgba(31, 41, 55, 0.95);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* Buttons */

.btn {
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  padding: 0.64rem 1.25rem;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  background: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease,
    border-color 0.12s ease,
    color 0.12s ease;
}

.btn--primary {
  background-color: var(--accent);
  color: #020617;
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 1);
}

.btn--ghost {
  border-color: rgba(55, 65, 81, 1);
  background-color: rgba(3, 7, 18, 0.98);
}

.btn--ghost:hover {
  border-color: rgba(129, 140, 248, 0.9);
}

/* Hero */

.hero {
  padding-top: 3.2rem;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.8fr);
  gap: 2.4rem;
  align-items: center;
}

.hero__kicker {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.hero__title {
  font-size: clamp(2.3rem, 2.2rem + 0.9vw, 3rem);
  margin: 0.8rem 0 0.45rem;
  letter-spacing: -0.04em;
}

.hero__lead {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.hero__meta {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--muted-soft);
}

.hero__meta strong {
  color: #e5e7eb;
}

@media (max-width: 820px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }
}

/* Hero card */

.hero-card {
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  background-color: var(--panel);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.4rem 1.3rem;
}

.hero-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.22rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-card__pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.hero-card__title {
  margin: 0.7rem 0 0.35rem;
  font-size: 0.98rem;
}

.hero-card__body {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-card__status-label {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-soft);
}

.hero-card__status-value {
  margin-top: 0.3rem;
  font-size: 0.9rem;
}

/* Cards */

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background-color: var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.9);
  padding: 1.4rem 1.4rem 1.2rem;
}

.card--soft {
  background-color: var(--panel-soft);
}

.card__title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.card__body {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.card__price {
  margin-top: 0.6rem;
  font-size: 1.1rem;
}

.card__price span {
  font-size: 0.8rem;
  color: var(--muted-soft);
}

/* Lists */

.bullet-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.bullet-list li + li {
  margin-top: 0.24rem;
}

/* Forms */

.form {
  margin-top: 1.6rem;
  padding: 1.5rem 1.5rem 1.3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background-color: var(--panel);
  box-shadow: var(--shadow-soft);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.form__field:first-of-type {
  margin-top: 0;
}

.form label {
  font-size: 0.82rem;
  color: var(--muted-soft);
}

input,
textarea,
select {
  border-radius: 0.9rem;
  border: 1px solid rgba(55, 65, 81, 0.95);
  background-color: rgba(3, 7, 18, 0.98);
  color: var(--ink);
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.6);
  background-color: rgba(15, 23, 42, 0.98);
}

.form__note {
  margin: 0.9rem 0 0.7rem;
  font-size: 0.8rem;
  color: var(--muted-soft);
}

@media (max-width: 780px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  padding: 1.5rem 0 2.4rem;
  margin-top: 2.4rem;
  font-size: 0.8rem;
  color: var(--muted-soft);
}

.site-footer a {
  color: #bfdbfe;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Admin panel */

.admin-main {
  padding-top: 3rem;
}

.admin-panel {
  max-width: 640px;
  margin-inline: auto;
}

.admin-panel__card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background-color: var(--panel);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.5rem 1.3rem;
}

.admin-panel__card h1 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
}

.admin-panel__card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.admin-panel__error {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #fecaca;
}

.admin-panel__group {
  margin-top: 1rem;
}

.admin-panel__label {
  font-size: 0.8rem;
  color: var(--muted-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.admin-panel__textarea {
  margin-top: 0.4rem;
}

[data-status-editor] {
  display: none;
}

[data-admin-panel].is-auth [data-password-block] {
  display: none;
}

[data-admin-panel].is-auth [data-status-editor] {
  display: block;
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Concept page theming
   ----------------------------------------- */

/* Café — cozy, warm, softer contrast */
.page--cafe {
  background: var(--cafe-bg);
}

.page--cafe .site-header {
  background:
    linear-gradient(to bottom, rgba(24, 16, 30, 0.96), rgba(10, 6, 15, 0.96), transparent);
  border-bottom-color: rgba(55, 30, 45, 0.9);
}

.page--cafe .brand-lockup__mark {
  background: radial-gradient(circle at top left, #fef3c7 0, #7c2d12 70%);
  border-color: rgba(248, 250, 252, 0.4);
  color: #fef3c7;
}

.page--cafe .brand-lockup__tagline {
  color: #fcd34d;
}

.page--cafe .card {
  background: var(--cafe-panel);
  border-color: var(--cafe-border);
  box-shadow: 0 24px 70px rgba(15, 10, 15, 0.9);
}

.page--cafe .card__title {
  color: #fde68a;
}

.page--cafe .card__body,
.page--cafe .bullet-list {
  color: #e5e7eb;
}

.page--cafe .section__eyebrow {
  color: #f97316;
}

.page--cafe .section__title {
  color: #fef3c7;
}

.page--cafe .section__lead {
  color: #e5e7eb;
}

.page--cafe .btn--primary {
  background: linear-gradient(to right, #f97316, #facc15);
  color: #1f2933;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.9);
}

.page--cafe .btn--primary:hover {
  box-shadow: 0 28px 80px rgba(0, 0, 0, 1);
}

.page--cafe .form {
  background-color: rgba(20, 12, 15, 0.98);
  border-color: rgba(251, 191, 36, 0.4);
}

/* Gym — hard, neon, more aggressive */
.page--gym {
  background: var(--gym-bg);
}

.page--gym .site-header {
  background:
    linear-gradient(to bottom, rgba(8, 16, 32, 0.98), rgba(5, 9, 20, 0.96), transparent);
  border-bottom-color: rgba(30, 64, 175, 0.9);
}

.page--gym .brand-lockup__mark {
  background: radial-gradient(circle at top left, #22c55e 0, #0f172a 70%);
  border-color: rgba(56, 189, 248, 0.6);
  color: #ecfdf5;
}

.page--gym .brand-lockup__tagline {
  color: #22c55e;
}

.page--gym .card {
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.08), transparent 55%),
              var(--gym-panel);
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.95);
}

.page--gym .card__title {
  color: #bbf7d0;
}

.page--gym .card__body,
.page--gym .bullet-list {
  color: #e5e7eb;
}

.page--gym .section__eyebrow {
  color: #22c55e;
}

.page--gym .section__title {
  color: #f9fafb;
}

.page--gym .section__lead {
  color: #cbd5f5;
}

.page--gym .btn--primary {
  background: linear-gradient(to right, #22c55e, #16a34a);
  color: #020617;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 1);
}

.page--gym .btn--primary:hover {
  box-shadow: 0 32px 90px rgba(0, 0, 0, 1);
}

.page--gym .btn--ghost {
  border-color: rgba(239, 68, 68, 0.9);
}

.page--gym .form {
  background-color: rgba(7, 12, 26, 0.98);
  border-color: rgba(34, 197, 94, 0.5);
}
