:root {
  --bg: #f8f4ed;
  --surface: #fffdfa;
  --ink: #1e2b37;
  --muted: #5e6974;
  --brand: #0f4c81;
  --brand-2: #1366ad;
  --line: #e8dfd0;
  --radius: 16px;
  --shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 0, #efe5d3 0, transparent 35%),
    radial-gradient(circle at 95% 10%, #dce9f7 0, transparent 33%),
    var(--bg);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(248, 244, 237, 0.86);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  gap: 1rem;
  min-height: 72px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.brand-logo {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-name {
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
}

.site-menu {
  display: flex;
  gap: 1rem;
}

.site-menu a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
}

.page-content { padding: 2.25rem 0 3rem; }

.hero, .card, .cta {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero {
  background: linear-gradient(145deg, #fff, #f3ecdf);
  padding: 2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--brand);
  font-size: 0.8rem;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0.4rem 0 0.8rem; }
h2 { margin-top: 2rem; }
p, li { color: var(--muted); }

.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light { background: #fff; color: var(--brand); }

.grid { display: grid; gap: 1rem; margin-top: 1rem; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  padding: 1rem;
}

.price {
  color: var(--brand);
  font-weight: 800;
}

.about-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: start;
}

.avatar {
  width: 140px;
  height: 140px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #dce8f5, #f0e7d7);
  color: var(--brand);
  font-size: 2rem;
  font-weight: 800;
}

.cta {
  margin-top: 2rem;
  background: linear-gradient(120deg, #0f4c81, #1366ad);
  color: #fff;
  padding: 1.5rem;
}

.cta p { color: #e7f1fa; }

.form {
  display: grid;
  gap: 0.7rem;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0 2rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}
.flash-stack {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.flash {
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 600;
}

.flash-success {
  border-color: #c7e8cc;
  background: #edf9ef;
  color: #1f6b32;
}

.flash-error {
  border-color: #f0c4c4;
  background: #fff1f1;
  color: #8a1f1f;
}

@media (max-width: 860px) {
  .grid.three, .grid.two, .about-card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-block; }
  .site-menu {
    display: none;
    position: absolute;
    top: 58px;
    right: 4%;
    width: min(280px, 92vw);
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.7rem;
  }
  .site-menu.open { display: flex; }
}