:root {
  --background: #f6f7fb;
  --surface: #ffffff;
  --text-primary: #1f2a44;
  --text-secondary: #4f5d75;
  --accent: #2d74ff;
  --border: #e4e8f1;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Lato', 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  padding: 48px 20px;
}

.page {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

header {
  background: linear-gradient(135deg, rgba(45, 116, 255, 0.12), rgba(45, 116, 255, 0.04));
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-avatar {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  object-fit: cover;
  border: 4px solid rgba(45, 116, 255, 0.18);
  background: #fff;
}

.hero-text h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 32px);
}

.hero-text p {
  margin: 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-text .brand-logo {
  width: 22px;
  height: 22px;
  border-radius: 8px;
}

section {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  gap: 12px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 24px);
}

.section-header span {
  color: var(--text-secondary);
  font-size: 14px;
}

p,
li {
  color: var(--text-secondary);
  margin: 0 0 10px;
}

.grid {
  display: grid;
  gap: 16px;
}

.two-col {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f9fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.contact-icons img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.contact-icons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(45, 116, 255, 0.12);
}

.list-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fdfefe;
}

.list-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--text-primary);
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(45, 116, 255, 0.1);
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 8px 12px;
  background: #f1f4fb;
  color: var(--text-primary);
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid var(--border);
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

label {
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: #fdfefe;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 116, 255, 0.18);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 24px rgba(45, 116, 255, 0.25);
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(45, 116, 255, 0.28);
}

button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  box-shadow: none;
}

.status-message {
  font-weight: 700;
  font-size: 14px;
  min-height: 18px;
}

.status-success {
  color: #1f9e45;
}

.status-error {
  color: #d64045;
}

@media (max-width: 640px) {
  header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    justify-content: center;
  }

  body {
    padding: 32px 16px;
  }
}
