* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: #eeebe4;
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #2b2924;
}
a { text-decoration: none; color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.logo {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900; font-size: 18px;
  letter-spacing: 0.3px; color: #1f1e1c;
}
.navbar-logo { height: 26px; display: block; }
nav { display: flex; gap: 28px; }
nav a { font-size: 14.5px; color: #6b6558; transition: color 0.15s; }
nav a:hover { color: #1f1e1c; }
.header-btn {
  background: #1f1e1c; color: #fbfaf7;
  padding: 9px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 500;
  transition: opacity 0.15s;
}
.header-btn:hover { opacity: 0.85; }

/* ===== HERO ===== */
.hero {
  text-align: center; padding: 90px 0 70px;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fbfaf7; border: 1px solid #ddd7c9;
  border-radius: 999px; padding: 6px 14px;
  font-size: 13px; color: #a29c8e; margin-bottom: 24px;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #b8a988; }
.hero h1 {
  font-size: 54px; font-weight: 600; letter-spacing: -1.5px;
  line-height: 1.15; color: #1f1e1c; max-width: 760px;
  margin: 0 auto 18px;
}
.hero h1 .accent { color: #a9835a; font-family: 'Unbounded', sans-serif; font-weight: 700; }
.hero p {
  font-size: 17px; color: #8a8375; max-width: 520px;
  margin: 0 auto 34px; line-height: 1.6;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; }
.btn-primary {
  background: #1f1e1c; color: #fbfaf7;
  padding: 13px 26px; border-radius: 12px;
  font-size: 15px; font-weight: 500;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.85; }
.btn-secondary {
  background: #fbfaf7; color: #2b2924; border: 1px solid #ddd7c9;
  padding: 13px 26px; border-radius: 12px;
  font-size: 15px; font-weight: 500;
  transition: background 0.15s;
}
.btn-secondary:hover { background: #fff; }

/* ===== HERO PREVIEW CARD ===== */
.preview {
  margin: 60px auto 0; max-width: 820px;
  background: #fbfaf7; border: 1px solid #e4e0d6;
  border-radius: 24px; padding: 22px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 20px 50px rgba(90,60,20,0.08);
}
.preview-bar { display: flex; gap: 6px; margin-bottom: 16px; }
.preview-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e4e0d6; }
.preview-body {
  background: #eeebe4; border-radius: 14px;
  padding: 40px 24px; text-align: center;
  font-size: 14px; color: #a29c8e;
}

/* ===== FEATURES ===== */
.features { padding: 90px 0; }
.section-label {
  text-align: center; font-size: 13px; letter-spacing: 1px;
  text-transform: uppercase; color: #a29c8e; margin-bottom: 10px;
}
.section-title {
  text-align: center; font-size: 32px; font-weight: 600;
  letter-spacing: -0.6px; color: #1f1e1c; margin-bottom: 50px;
}
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.feature-card {
  background: #fbfaf7; border: 1px solid #e4e0d6;
  border-radius: 18px; padding: 26px;
}
.feature-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: #eeebe4; border: 1px solid #ddd7c9;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: #1f1e1c; }
.feature-card p { font-size: 14px; color: #8a8375; line-height: 1.6; }

/* ===== SERVICES ===== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  background: #fbfaf7; border: 1px solid #e4e0d6;
  border-radius: 20px; padding: 30px;
  display: flex; flex-direction: column; gap: 14px;
  transition: box-shadow 0.15s;
}
.service-card:hover { box-shadow: 0 10px 30px rgba(90,60,20,0.06); }
.service-top { display: flex; align-items: center; gap: 12px; }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #eeebe4; border: 1px solid #ddd7c9;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.service-icon img { width: 100%; height: 100%; object-fit: cover; }
.service-name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900; font-size: 19px;
  letter-spacing: 0.2px; color: #1f1e1c;
}
.service-tag {
  font-size: 12.5px; color: #a29c8e;
  background: #eeebe4; border: 1px solid #ddd7c9;
  border-radius: 999px; padding: 3px 10px;
  display: inline-block; width: fit-content;
}
.service-card p.desc { font-size: 14px; color: #8a8375; line-height: 1.6; }
.service-link {
  font-size: 14px; font-weight: 500; color: #1f1e1c;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 4px;
}
.service-link:hover { opacity: 0.7; }

/* ===== TEAM ===== */
.team { padding: 0 0 90px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.team-card {
  background: #fbfaf7;
  border: 1px solid #e4e0d6;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: box-shadow 0.15s;
}
.team-card:hover { box-shadow: 0 10px 30px rgba(90,60,20,0.06); }
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e4e0d6;
  background: #eeebe4;
}
.team-name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #1f1e1c;
}
.team-role {
  font-size: 13px;
  color: #a29c8e;
  background: #eeebe4;
  border: 1px solid #ddd7c9;
  border-radius: 999px;
  padding: 3px 12px;
}

/* ===== CTA ===== */
.cta {
  margin: 40px auto 90px; max-width: 1080px;
  background: #1f1e1c; border-radius: 28px;
  padding: 60px 24px; text-align: center;
}
.cta h2 {
  font-size: 30px; font-weight: 600; color: #fbfaf7;
  letter-spacing: -0.5px; margin-bottom: 12px;
}
.cta p { color: #a29c8e; font-size: 15px; margin-bottom: 28px; }

/* ===== FOOTER ===== */
footer {
  padding: 60px 0 30px; border-top: 1px solid #e4e0d6;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px;
  padding-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand-logo { height: 28px; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 13.5px; color: #a29c8e; line-height: 1.6; max-width: 220px; }
.footer-col h4 {
  font-size: 13px; font-weight: 600; color: #1f1e1c;
  margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.4px;
}
.footer-col a {
  display: block; font-size: 14px; color: #8a8375;
  margin-bottom: 10px; transition: color 0.15s;
}
.footer-col a:hover { color: #1f1e1c; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid #e4e0d6;
  font-size: 13px; color: #a29c8e;
}
.footer-socials { display: flex; gap: 14px; }
.footer-socials a {
  width: 32px; height: 32px; border-radius: 8px;
  background: #fbfaf7; border: 1px solid #e4e0d6;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #6b6558; transition: background 0.15s;
}
.footer-socials a:hover { background: #fff; }

/* ===== AUTH PAGES ===== */
.auth-body {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.auth-card {
  width: 100%; max-width: 400px;
  background: #fbfaf7; border: 1px solid #e4e0d6;
  border-radius: 24px; padding: 32px 30px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 20px 50px rgba(90,60,20,0.06);
}
.auth-card .navbar-logo { height: 24px; margin-bottom: 22px; }
.auth-card h1 { font-size: 24px; font-weight: 600; letter-spacing: -0.4px; margin-bottom: 4px; }
.auth-card .subtitle { font-size: 14px; color: #a29c8e; margin-bottom: 22px; }
.auth-card form { display: flex; flex-direction: column; gap: 14px; }
.auth-card label { font-size: 13.5px; color: #6b6558; display: flex; flex-direction: column; gap: 6px; }
.auth-card input {
  font-family: inherit; font-size: 14.5px; color: #2b2924;
  background: #eeebe4; border: 1px solid #ddd7c9; border-radius: 10px;
  padding: 11px 13px; outline: none;
}
.auth-card input:focus { border-color: #b8a988; }
.btn-block { width: 100%; border: none; cursor: pointer; text-align: center; margin-top: 4px; }
.auth-switch { margin-top: 20px; text-align: center; font-size: 14px; color: #8a8375; }
.auth-switch a { color: #1f1e1c; font-weight: 500; }
.alert {
  font-size: 13.5px; border-radius: 10px; padding: 10px 13px; margin-bottom: 14px;
}
.alert-error { background: #f6e3dc; color: #9a4a2c; border: 1px solid #eccab8; }
.nav-user { font-size: 14.5px; color: #6b6558; }

/* ===== ADMIN ===== */
.admin-body { background: #eeebe4; font-family: 'Onest', sans-serif; margin: 0; color: #2b2924; }
.admin-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; background: #fbfaf7; border-bottom: 1px solid #e4e0d6;
}
.admin-wrap { max-width: 960px; margin: 0 auto; padding: 30px 24px 60px; }
.admin-title { font-size: 26px; font-weight: 600; margin-bottom: 4px; }
.admin-sub { font-size: 14px; color: #a29c8e; margin-bottom: 26px; }
.admin-table {
  width: 100%; border-collapse: collapse;
  background: #fbfaf7; border: 1px solid #e4e0d6; border-radius: 16px; overflow: hidden;
}
.admin-table th, .admin-table td {
  text-align: left; padding: 12px 16px; font-size: 14px; border-bottom: 1px solid #e4e0d6;
}
.admin-table th { color: #a29c8e; font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.4px; }
.admin-table tr:last-child td { border-bottom: none; }
.role-badge {
  display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px;
  background: #eeebe4; border: 1px solid #ddd7c9; color: #6b6558;
}
.role-badge.admin { background: #1f1e1c; color: #fbfaf7; border-color: #1f1e1c; }
.admin-stats { display: flex; gap: 14px; margin-bottom: 26px; }
.stat-card {
  flex: 1; background: #fbfaf7; border: 1px solid #e4e0d6; border-radius: 16px; padding: 18px 20px;
}
.stat-card .num { font-size: 26px; font-weight: 600; color: #1f1e1c; }
.stat-card .label { font-size: 13px; color: #a29c8e; margin-top: 2px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 720px) {
  .services { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; align-items: flex-start; }
  nav { display: none; }
  .hero h1 { font-size: 36px; }
  .grid { grid-template-columns: 1fr; }
}