/* ============ Base ============ */
:root{
  --brand-blue-1:#1a73e8;
  --brand-blue-2:#0b5394;
  --brand-yellow:#ffb200;
  --bg:#f7f9fc;
  --text:#1f2933;
  --muted:#6b7280;
  --card:#ffffff;
  --shadow:0 4px 12px rgba(15,23,42,0.06);
  --radius:12px;
}

*{ box-sizing:border-box; }
body{
  font-family: Arial, sans-serif;
  margin:0;
  background:var(--bg);
  color:var(--text);
}

.container{
  max-width:960px;
  margin:0 auto;
  padding:30px 20px;
}

h2{ margin-top:0; color:var(--brand-blue-2); }

/* ============ Header (home) ============ */
header{
  background:linear-gradient(135deg, var(--brand-blue-1), var(--brand-blue-2));
  color:#fff;
  padding:40px 20px;
  text-align:center;
}

/* Header layout with side logo */
header .hero{
  max-width:960px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
header .hero .hero-text{ flex:1; text-align:center; }
header .hero .hero-logo{
  width:160px;
  max-width:30vw;
  max-height:140px;
  height:auto;
  display:block;
}

@media (max-width: 700px){
  header .hero{ flex-direction:column; }
  header .hero .hero-text{ text-align:center; }
}
header h1{ margin:0 0 10px; font-size:2.5rem; }
header p{ margin:0 0 20px; font-size:1.1rem; }

/* Buttons */
.btn-primary,
.btn{
  display:inline-block;
  background:var(--brand-yellow);
  color:var(--text);
  padding:12px 24px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  border:0;
  cursor:pointer;
}

/* ============ Cards/Grid ============ */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:20px;
}
.card{
  background:var(--card);
  border-radius:10px;
  padding:20px;
  box-shadow:var(--shadow);
}
.tag{
  display:inline-block;
  background:#e0ecff;
  color:var(--brand-blue-1);
  padding:4px 10px;
  border-radius:999px;
  font-size:0.8rem;
  margin-bottom:8px;
}

/* ============ Footer ============ */
footer{
  text-align:center;
  padding:20px;
  font-size:0.9rem;
  color:var(--muted);
}

/* ============ Form page ============ */
.page{
  padding:32px 20px;
}
.wrap{
  max-width:520px;
  margin:0 auto;
}
.page-title{ margin:0 0 8px; }
.page-subtitle{ margin:0 0 20px; opacity:0.85; }

label{
  display:block;
  font-weight:600;
  margin:14px 0 6px;
}
input, textarea{
  width:100%;
  padding:10px 12px;
  font-size:16px;
  border:1px solid #ccc;
  border-radius:10px;
}
textarea{ min-height:120px; resize:vertical; }
.back{
  display:inline-block;
  margin-top:18px;
  text-decoration:none;
  color:var(--brand-blue-2);
}
.hp{ display:none; }
