:root {
  --green-dark: #3f5147;
  --green-soft: #9ab0a4;
  --black: #000000;
  --white: #ffffff;
  --border-soft: rgba(0,0,0,0.37);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: var(--black);
  background: var(--white);
}

a { text-decoration: none; color: inherit; }

img { display: block; max-width: 100%; }

/* ---------- HEADER ---------- */
header {
  width: 100%;
  height: 64px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 32px;
  height: 38px;
  object-fit: contain;
}

.brand-text {
  max-width: 220px;
  color: var(--green-dark);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 400;
}

nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

nav a {
  font-size: 15px;
  font-weight: 400;
  color: var(--black);
  transition: color 0.2s ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--green-dark);
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

/* ---------- MAIN ---------- */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 40px 50px;
}

.profile-card {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 32px;
  margin-bottom: 20px;
}

.avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.avatar svg {
  width: 100%;
  height: 100%;
}

.profile-info h1 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 6px;
}

.profile-info p {
  font-size: 14px;
  font-weight: 400;
  color: #333;
}

.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 17px 32px;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.accordion-btn:hover,
.accordion-btn:focus-visible {
  background: #f7f9f8;
  border-color: var(--green-dark);
}

.accordion-btn:last-of-type {
  margin-bottom: 0;
}

.accordion-panel {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-top: none;
  border-radius: 0 0 20px 20px;
  padding: 14px 32px;
  margin-top: -16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #555;
}

.accordion-panel:last-of-type {
  margin-bottom: 0;
}

/* ---------- FOOTER ---------- */
footer {
  width: 100%;
  background: var(--green-soft);
  padding: 40px 40px 22px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  padding-bottom: 22px;
}

.footer-brand {
  display: flex;
  gap: 16px;
}

.footer-brand img {
  width: 78px;
  height: 95px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.15;
  margin-bottom: 12px;
}

.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--black);
  margin-top: 8px;
  max-width: 340px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-links h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 300;
}

.footer-links li a:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 8px;
}

.social-icons a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: opacity 0.2s ease;
}

.social-icons a:hover {
  opacity: 0.8;
}

.social-icons svg {
  width: 14px;
  height: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.25);
  padding-top: 14px;
  font-size: 13px;
  color: var(--black);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  header { flex-wrap: wrap; height: auto; padding: 12px 18px; gap: 12px; }
  nav { order: 3; width: 100%; justify-content: space-between; gap: 14px; }
  nav a { font-size: 13px; }
  main { padding: 22px 18px 40px; }
  .profile-card { flex-direction: column; text-align: center; padding: 22px 18px; }
  .accordion-btn { padding: 14px 18px; font-size: 14px; }
  footer { padding: 28px 18px 18px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { flex-direction: column; align-items: center; text-align: center; }
  .footer-contact { justify-content: center; }
}