/* ============================================================
   pages.css — Стили, специфичные для отдельных страниц.
   Подключается опционально (только там, где нужен).
   ============================================================ */

/* ============ ГЛАВНАЯ ============ */
.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 4rem 0;
}
.hero::before {
  content: "❦";
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.hero-content { max-width: 900px; animation: fadeInUp 0.8s ease-out; }
.hero h1 {
  margin-bottom: 1rem;
  font-size: 4.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  line-height: 1.2;
}
.hero .subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--cream);
  opacity: 0.85;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}
.hero-divider {
  width: 120px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 2rem auto;
}
.hero p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: rgba(245, 239, 230, 0.85);
  font-style: italic;
}
.hero-buttons {
  display: flex; gap: 2rem;
  justify-content: center; flex-wrap: wrap;
}

.public-section { padding: 4rem 0 6rem; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 {
  font-size: 2.4rem;
  display: inline-block;
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 0.8rem;
  font-weight: 500;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem; margin-top: 2rem;
}
.card {
  background: rgba(18, 18, 18, 0.7);
  border: 1px solid var(--border-gold);
  padding: 2rem 1.8rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  backdrop-filter: blur(4px);
  position: relative;
}
.card::after {
  content: "";
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 1px solid rgba(201, 162, 39, 0.15);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.card h3 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--gold); }
.card p { font-size: 0.95rem; color: rgba(245, 239, 230, 0.8); margin-bottom: 1.5rem; }
.card .btn { padding: 0.6rem 1.5rem; font-size: 0.75rem; }
a.card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.room-note {
  max-width: 640px;
  margin: 2rem auto 0;
  text-align: center;
}

.person {
  max-width: 880px;
  margin: 0 auto 4rem;
  width: 100%;
}
.person__card {
  background: rgba(18, 18, 18, 0.75);
  border: 1px solid var(--border-gold);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  position: relative;
}
.person__card::after {
  content: "";
  position: absolute;
  top: 10px; left: 10px; right: 10px; bottom: 10px;
  border: 1px solid rgba(201, 162, 39, 0.15);
  pointer-events: none;
}
.person__mark {
  width: 92px;
  height: 92px;
  margin: 0.5rem auto 1.2rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--gold-light);
}
.person__role {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.person h1 { font-size: 3rem; margin-bottom: 0.2rem; }
.person__mail {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: rgba(245, 239, 230, 0.75);
}
.person__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
  text-align: left;
}
.person__grid article {
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid var(--border-gold);
  padding: 1.2rem 1.1rem 1.3rem;
}
.person__grid h2 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}
.person__grid p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: rgba(245, 239, 230, 0.85);
}
@media (max-width: 800px) {
  .person h1 { font-size: 2.2rem; }
  .person__grid { grid-template-columns: 1fr; }
}

/* ============ ЛИЧНЫЙ КАБИНЕТ ============ */
.login-screen {
  max-width: 480px;
  margin: 4rem auto;
  width: 100%;
  background: rgba(18, 18, 18, 0.8);
  border: 1px solid var(--border-gold);
  padding: 3rem 2.5rem;
  backdrop-filter: blur(8px);
  position: relative;
  animation: fadeInUp 0.6s ease-out;
}
.login-screen::after {
  content: "";
  position: absolute;
  top: 10px; left: 10px; right: 10px; bottom: 10px;
  border: 1px solid rgba(201, 162, 39, 0.15);
  pointer-events: none;
}
.login-screen h1 { font-size: 2.4rem; text-align: center; margin-bottom: 0.5rem; }
.login-subtitle {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: rgba(245, 239, 230, 0.7);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}
.form-group { margin-bottom: 1.8rem; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.form-group label .required { color: var(--gold-light); margin-left: 2px; }
.form-group label .hint {
  color: rgba(245, 239, 230, 0.35);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.7rem;
  margin-left: 6px;
  font-style: italic;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-gold);
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.2);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(245, 239, 230, 0.3); }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23c9a227' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input[type="date"] { color-scheme: dark; }

.login-screen .btn { width: 100%; margin-top: 0.5rem; }
.login-footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: rgba(245, 239, 230, 0.5);
}
.login-footer a { color: var(--gold); text-decoration: underline; }

.dashboard { display: none; animation: fadeInUp 0.6s ease-out; }
.dashboard.visible { display: block; }
.login-screen.hidden { display: none; }

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem 0 2.5rem;
  border-bottom: 1px solid var(--border-gold);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.avatar-large {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700;
  color: var(--black);
  border: 2px solid var(--gold-light);
  overflow: hidden; position: relative; flex-shrink: 0;
  cursor: pointer;
}
.avatar-large img { width: 100%; height: 100%; object-fit: cover; }
.avatar-large .upload-hint {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--gold-light);
  font-size: 0.6rem;
  text-align: center;
  padding: 4px;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.3s;
}
.avatar-large:hover .upload-hint { opacity: 1; }
.dashboard-header-info h2 { font-size: 2.2rem; margin-bottom: 0.3rem; }
.dashboard-header-info .role {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}
.dashboard-header-info .member-since {
  font-size: 0.8rem;
  color: rgba(245, 239, 230, 0.5);
  margin-top: 0.3rem;
  letter-spacing: 0.05em;
}
.header-actions { margin-left: auto; display: flex; gap: 1rem; }

.tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-gold);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.tab-btn {
  background: transparent;
  border: none;
  color: rgba(245, 239, 230, 0.6);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 1.8rem;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab-btn:hover { color: var(--gold-light); }
.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  font-weight: 500;
}
.tab-panel { display: none; animation: fadeIn 0.4s ease-out; }
.tab-panel.active { display: block; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.5rem;
}
.form-grid .full-width { grid-column: 1 / -1; }

.kinship-list { margin-top: 1rem; }
.kinship-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(18, 18, 18, 0.6);
  border: 1px solid var(--border-gold);
  margin-bottom: 0.8rem;
  transition: border-color 0.2s;
  flex-wrap: wrap;
}
.kinship-item:hover { border-color: var(--gold); }
.kinship-item .kin-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  min-width: 160px;
}
.kinship-item .kin-relation {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: rgba(245, 239, 230, 0.7);
  flex: 1;
  font-size: 0.95rem;
}
.kinship-item .kin-remove {
  background: none;
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: rgba(245, 239, 230, 0.5);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: all 0.2s;
  flex-shrink: 0;
}
.kinship-item .kin-remove:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
}
.add-kinship-form {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.add-kinship-form .form-group { margin-bottom: 0; flex: 1; min-width: 160px; }

.storage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.storage-header h3 { font-size: 1.8rem; }
.storage-stats {
  display: flex;
  gap: 2rem;
  font-size: 0.8rem;
  color: rgba(245, 239, 230, 0.6);
  letter-spacing: 0.05em;
}
.storage-stats .gold { color: var(--gold); }
.folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.folder-card {
  background: rgba(18, 18, 18, 0.7);
  border: 1px solid var(--border-gold);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}
.folder-card::after {
  content: "";
  position: absolute;
  top: 6px; left: 6px; right: 6px; bottom: 6px;
  border: 1px solid rgba(201, 162, 39, 0.1);
  pointer-events: none;
}
.folder-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.folder-icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 0.8rem; opacity: 0.8; }
.folder-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.folder-card p { font-size: 0.75rem; color: rgba(245, 239, 230, 0.5); letter-spacing: 0.05em; }
.file-list { margin-top: 2.5rem; }
.file-list h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-gold);
}
.file-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(18, 18, 18, 0.5);
  border: 1px solid rgba(201, 162, 39, 0.2);
  margin-bottom: 0.6rem;
  transition: border-color 0.2s;
}
.file-item:hover { border-color: var(--gold); }
.file-icon { font-size: 1.3rem; color: var(--gold); width: 30px; text-align: center; }
.file-name { flex: 1; font-size: 0.9rem; }
.file-size { font-size: 0.75rem; color: rgba(245, 239, 230, 0.5); }

.photo-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.photo-select-item {
  position: relative;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(18, 18, 18, 0.6);
}
.photo-select-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s;
}
.photo-select-item:hover img { transform: scale(1.05); }
.photo-select-item.selected {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.4);
}
.photo-select-item .check-indicator {
  position: absolute;
  top: 8px; right: 8px;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(10, 10, 10, 0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: transparent;
  transition: all 0.2s;
}
.photo-select-item.selected .check-indicator {
  background: var(--gold);
  color: var(--black);
}
.photo-select-item .photo-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  padding: 1.5rem 0.8rem 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--cream);
}
.photo-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.photo-actions .selected-count {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* ============ ЗАПРОС ПРИГЛАШЕНИЯ ============ */
.page-header {
  text-align: center;
  padding: 3rem 0 2rem;
  position: relative;
}
.page-header::before {
  content: "❦";
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0.3;
  display: block;
  margin-bottom: 1rem;
}
.page-header h1 { font-size: 3rem; margin-bottom: 0.8rem; }
.page-header .subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: rgba(245, 239, 230, 0.75);
  letter-spacing: 0.05em;
  max-width: 700px;
  margin: 0 auto;
}
.divider {
  width: 120px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 1.5rem auto;
}
.application-container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  animation: fadeInUp 0.7s ease-out;
}
.form-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.progress-step {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.4);
}
.progress-step .step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  color: var(--gold);
  transition: all 0.3s;
}
.progress-step.active { color: var(--gold-light); }
.progress-step.active .step-num {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.progress-line {
  width: 60px; height: 1px;
  background: var(--border-gold);
  margin: 0 1rem;
}
.form-section {
  background: rgba(18, 18, 18, 0.7);
  border: 1px solid var(--border-gold);
  padding: 2.5rem 2.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  backdrop-filter: blur(6px);
}
.form-section::after {
  content: "";
  position: absolute;
  top: 10px; left: 10px; right: 10px; bottom: 10px;
  border: 1px solid rgba(201, 162, 39, 0.1);
  pointer-events: none;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-gold);
}
.section-heading .section-icon { font-size: 1.5rem; color: var(--gold); opacity: 0.8; }
.section-heading h2 { font-size: 1.6rem; font-weight: 500; }
.section-heading .section-note {
  margin-left: auto;
  font-size: 0.7rem;
  color: rgba(245, 239, 230, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dynamic-list { margin-top: 1.5rem; }
.dynamic-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.2rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(201, 162, 39, 0.25);
  margin-bottom: 1rem;
  transition: border-color 0.2s;
  flex-wrap: wrap;
  position: relative;
}
.dynamic-item:hover { border-color: var(--gold); }
.dynamic-item .item-fields {
  display: flex; gap: 1rem; flex: 1; flex-wrap: wrap;
}
.dynamic-item .item-fields .field { flex: 1; min-width: 140px; }
.dynamic-item .item-fields .field label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(201, 162, 39, 0.8);
  margin-bottom: 0.3rem;
}
.dynamic-item .item-fields .field input,
.dynamic-item .item-fields .field select {
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
}
.dynamic-item .item-remove {
  background: none;
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: rgba(245, 239, 230, 0.5);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: all 0.2s;
  flex-shrink: 0;
  align-self: center;
}
.dynamic-item .item-remove:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
}
.add-btn-row { display: flex; justify-content: flex-start; margin-top: 1rem; }
.add-btn {
  background: transparent;
  border: 1px dashed var(--border-gold);
  color: var(--gold);
  padding: 0.7rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.add-btn:hover {
  border-style: solid;
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.08);
  color: var(--gold-light);
}
.add-btn .plus { font-size: 1.1rem; line-height: 1; }
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1rem 0 2rem;
}
.form-footer .note {
  font-size: 0.75rem;
  color: rgba(245, 239, 230, 0.45);
  max-width: 400px;
  font-style: italic;
}
.form-footer .actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- Модальное окно ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
  padding: 1.5rem;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-card {
  background: var(--black-soft);
  border: 1px solid var(--gold);
  padding: 3rem 2.5rem;
  max-width: 520px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(201, 162, 39, 0.15);
  animation: fadeInUp 0.4s ease-out;
}
.modal-card::after {
  content: "";
  position: absolute;
  top: 10px; left: 10px; right: 10px; bottom: 10px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  pointer-events: none;
}
.modal-card .modal-icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.modal-card h2 { font-size: 2rem; margin-bottom: 1rem; }
.modal-card p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(245, 239, 230, 0.8);
  margin-bottom: 2rem;
  line-height: 1.5;
}
.modal-card .btn { min-width: 200px; }

/* ---- Адаптив для страниц ---- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.4rem; }
  .hero p { font-size: 1.1rem; }
  .dashboard-header { flex-direction: column; text-align: center; gap: 1.5rem; }
  .header-actions { margin-left: 0; }
  .tabs { justify-content: center; }
  .tab-btn { padding: 0.8rem 1rem; font-size: 0.75rem; }
  .add-kinship-form { flex-direction: column; }
  .add-kinship-form .form-group { width: 100%; }
  .page-header h1 { font-size: 2.2rem; }
  .page-header .subtitle { font-size: 1.05rem; }
  .form-progress { gap: 0.5rem; }
  .progress-line { width: 30px; margin: 0 0.5rem; }
  .progress-step .step-label { display: none; }
  .form-footer { flex-direction: column; align-items: stretch; }
  .form-footer .actions { justify-content: stretch; }
  .form-footer .actions .btn { flex: 1; text-align: center; }
  .section-heading .section-note { display: none; }
  .form-section { padding: 2rem 1.5rem; }
}