:root {
  --blue: #80A1BA;
  --teal: #91C4C3;
  --green: #B4DEBD;
  --cream: #FFF7DD;
  --ink: #24323d;
  --white: #ffffff;
  --muted: #5f707b;
  --border: rgba(36,50,61,.12);
  --shadow: 0 10px 30px rgba(36,50,61,.08);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--cream), #fff 32%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 24px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,247,221,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0;
}
.brand { font-weight: 800; letter-spacing: .2px; }
.nav { display: none; gap: 14px; font-size: .95rem; }
.nav a, .lang-switch a { padding: 8px 10px; border-radius: 999px; }
.nav a:hover, .lang-switch a:hover { background: rgba(128,161,186,.12); }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: .9rem; }
.hero {
  padding: 24px 0 16px;
}
.hero-card {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.hero h1 { font-size: 2rem; line-height: 1.05; margin: 0 0 12px; }
.hero p { margin: 0 0 18px; max-width: 52ch; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.badge {
  display: inline-flex; background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22); padding: 7px 12px; border-radius: 999px; font-size: .86rem;
}
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: 14px; border: 0; cursor: pointer;
}
.button.secondary { background: var(--white); color: var(--ink); }
.section { padding: 18px 0; }
.section-title { font-size: 1.2rem; margin: 0 0 14px; }
.grid { display: grid; gap: 14px; }
.cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); border: 1px solid var(--border);
}
.card h3, .card h4 { margin-top: 0; margin-bottom: 8px; }
.card p { color: var(--muted); }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.tag {
  background: var(--cream); border: 1px solid var(--border); border-radius: 999px; padding: 5px 10px; font-size: .8rem;
}
.list-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.list-table th, .list-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.form-card { max-width: 520px; margin: 28px auto; }
.input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: #fff; margin-bottom: 12px;
}
textarea { min-height: 120px; resize: vertical; }
.kpis { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.kpi {
  background: linear-gradient(180deg, #fff, #fbfcfd); border: 1px solid var(--border); border-radius: 18px; padding: 16px; box-shadow: var(--shadow);
}
.kpi strong { display: block; font-size: 1.55rem; margin-bottom: 6px; }
.admin-layout { display: grid; gap: 14px; padding: 18px 0; }
.sidebar {
  background: var(--white); border-radius: var(--radius); padding: 16px; border: 1px solid var(--border); box-shadow: var(--shadow);
}
.sidebar a { display: block; padding: 10px 12px; border-radius: 12px; margin-bottom: 6px; }
.sidebar a:hover { background: rgba(145,196,195,.15); }
.content-panel {
  background: var(--white); border-radius: var(--radius); padding: 18px; border: 1px solid var(--border); box-shadow: var(--shadow);
}
.notice { background: rgba(180,222,189,.25); border: 1px solid rgba(180,222,189,.8); padding: 12px 14px; border-radius: 14px; margin-bottom: 14px; }
.footer-grid { display: grid; gap: 10px; padding: 30px 0; }
.site-footer { margin-top: 24px; border-top: 1px solid var(--border); }
.meta { color: var(--muted); font-size: .9rem; }
.search-bar { margin-top: 16px; }

@media (min-width: 720px) {
  .nav { display: flex; }
  .hero-card { padding: 34px; }
  .hero h1 { font-size: 3rem; }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .admin-layout { grid-template-columns: 260px 1fr; }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr; }
}
