:root {
  --bg: #f5efe5;
  --bg-strong: #fcfaf6;
  --paper: rgba(255, 250, 242, 0.78);
  --card: rgba(34, 26, 18, 0.9);
  --text: #24160f;
  --muted: #6c5646;
  --accent: #bf5f36;
  --accent-soft: #ffd3ad;
  --line: rgba(52, 36, 23, 0.12);
  --white: #fffaf4;
  --shadow: 0 24px 80px rgba(66, 36, 13, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 214, 168, 0.72), transparent 32%),
    radial-gradient(circle at right 20%, rgba(194, 112, 64, 0.2), transparent 25%),
    linear-gradient(135deg, #f4ebdd, #f8f4ec 42%, #efe4d2);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
  padding: 28px;
}

.hero,
.section,
.footer,
.login-card,
.editor-card,
.dashboard-header,
.alert {
  backdrop-filter: blur(18px);
}

.hero {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-link {
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  margin-top: 56px;
}

.hero-copy h1,
.section-heading h2,
.dashboard-header h1,
.login-card h1 {
  margin: 0;
  font-family: "Outfit", "Noto Sans SC", sans-serif;
}

.hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.98;
}

.hero-copy p,
.section-text,
.info-card p,
.testimonial-card p,
.contact-card span,
.login-card p,
.dashboard-header p,
label span {
  color: var(--muted);
}

.hero-copy p {
  max-width: 58ch;
  margin: 20px 0 0;
  font-size: 1.06rem;
  line-height: 1.9;
}

.badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(191, 95, 54, 0.1);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-actions,
.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, #b6532a, #d98943);
  box-shadow: 0 14px 30px rgba(191, 95, 54, 0.28);
}

.button-secondary,
.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.button-block,
.button-save {
  width: 100%;
}

.hero-card {
  display: grid;
  gap: 16px;
}

.metric-card,
.info-card,
.testimonial-card,
.contact-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 252, 247, 0.8);
}

.metric-card {
  background:
    linear-gradient(160deg, rgba(36, 22, 15, 0.9), rgba(78, 47, 25, 0.92));
  color: var(--white);
}

.metric-card strong,
.contact-card strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 1.6rem;
}

.metric-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 250, 244, 0.76);
}

.section {
  margin-top: 26px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 251, 246, 0.7);
  box-shadow: var(--shadow);
}

.section-heading span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
}

.section-text {
  max-width: 72ch;
  margin: 20px 0 0;
  line-height: 1.9;
}

.cards-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.info-card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.highlight-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.highlight-list li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 22px;
  line-height: 1.8;
}

.highlight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.testimonial-stack {
  display: grid;
  gap: 16px;
}

.testimonial-card {
  margin: 0;
}

.testimonial-card footer {
  margin-top: 16px;
  color: var(--accent);
  font-weight: 700;
}

.footer {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 251, 246, 0.76);
  color: var(--muted);
  text-align: center;
}

.admin-body {
  min-height: 100vh;
  padding: 24px;
}

.login-shell,
.dashboard-shell {
  max-width: 1100px;
  margin: 0 auto;
}

.login-shell {
  display: grid;
  min-height: calc(100vh - 48px);
  place-items: center;
}

.login-card,
.editor-card,
.dashboard-header,
.alert {
  border: 1px solid var(--line);
  background: rgba(255, 251, 246, 0.84);
  box-shadow: var(--shadow);
}

.login-card {
  width: min(100%, 440px);
  padding: 28px;
  border-radius: 28px;
}

.login-card form,
.editor-grid {
  display: grid;
}

.dashboard-header,
.editor-card,
.alert {
  border-radius: 24px;
}

.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
}

.editor-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.editor-card {
  padding: 24px;
}

.editor-card-wide {
  grid-column: 1 / -1;
}

.editor-card h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(77, 53, 37, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
}

.alert {
  margin-top: 18px;
  padding: 14px 16px;
  color: #8b3a1b;
}

.alert-success {
  color: #165c40;
}

.button-save {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .page-shell,
  .admin-body {
    padding: 16px;
  }

  .hero-grid,
  .cards-grid,
  .contact-grid,
  .section-split,
  .editor-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .dashboard-header {
    flex-direction: column;
  }
}
