:root {
  --navy: #061f3d;
  --navy2: #0a315d;
  --red: #e23b2e;
  --orange: #f28c22;
  --blue: #164a9b;
  --white: #fff;
  --muted: #64748b;
  --soft: #f4f7fb;
  --dark: #081a33;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Arial, 'Noto Sans Armenian', 'Segoe UI', sans-serif;
  background: #fff;
  color: var(--dark);
  line-height: 1.55
}

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

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

.container {
  width: min(1180px, 92%);
  margin: auto
}

.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  padding: 8px 0
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center
}

.social {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap
}

.social-btn {
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 800;
  font-size: 12px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  transition: .25s
}

.social-btn:hover {
  background: rgba(255, 255, 255, .18);
  transform: translateY(-1px)
}

.social-icon {
  font-weight: 900;
  font-size: 13px;
  line-height: 1
}

.social-name {
  line-height: 1
}

.social-btn.facebook .social-icon {
  font-family: Arial, sans-serif
}

.social-btn.instagram .social-icon {
  font-size: 14px
}

.social-btn.tiktok .social-icon {
  font-size: 14px
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(6, 31, 61, .08)
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px
}

.brand img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(6, 31, 61, .16);
  background: #fff
}

.brand-text {
  font-weight: 900;
  font-size: 15px;
  line-height: 1.18;
  color: var(--navy);
  text-transform: uppercase
}

.menu {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 800;
  color: var(--navy);
  font-size: 14px;
  white-space: nowrap
}

.menu a {
  position: relative
}

.menu a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  background: var(--red);
  transition: .25s;
  border-radius: 8px
}

.menu a:hover:after {
  width: 100%
}

.join-btn,
.btn {
  border: none;
  cursor: pointer;
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 900;
  letter-spacing: .2px;
  background: linear-gradient(135deg, var(--red), #ff6a2a);
  color: #fff;
  box-shadow: 0 12px 24px rgba(226, 59, 46, .25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px
}

.join-btn {
  padding: 7px 10px;
  font-size: 13px;
  min-width: auto;
  box-shadow: 0 8px 18px rgba(226, 59, 46, .22);
  white-space: nowrap
}

.lang-switch {
  display: flex;
  gap: 5px;
  align-items: center
}

.lang-btn {
  border: 1px solid #d9e2ef;
  background: #fff;
  color: var(--navy);
  border-radius: 6px;
  padding: 6px 8px;
  font-weight: 900;
  font-size: 12px;
  cursor: pointer
}

.lang-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy)
}

.btn.secondary {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: none;
  color: #fff
}

.btn.dark {
  background: var(--navy);
  box-shadow: 0 10px 20px rgba(6, 31, 61, .2)
}

.burger {
  display: none;
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 22px;
  color: var(--navy)
}

.hero {
  min-height: 720px;
  position: relative;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(rgba(6, 31, 61, .44), rgba(6, 31, 61, .76)), radial-gradient(circle at 74% 22%, rgba(255, 255, 255, .58), transparent 18%), linear-gradient(145deg, #76a8cf 0%, #dfeaf4 30%, #7997a7 50%, #233d58 100%)
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 0 42%, rgba(3, 22, 46, .42) 42% 100%), radial-gradient(ellipse at 70% 52%, rgba(255, 255, 255, .26), transparent 30%);
}

/* Արարատի ուրվագիծ */
.mountain {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 145px;
  height: 360px;
  opacity: .94;
  background: linear-gradient(155deg, transparent 0 44%, rgba(255, 255, 255, .88) 44% 46%, transparent 46%), linear-gradient(25deg, transparent 0 45%, rgba(255, 255, 255, .82) 45% 47%, transparent 47%), linear-gradient(140deg, transparent 0 43%, #153b5c 43% 60%, transparent 60%), linear-gradient(35deg, transparent 0 38%, #244e70 38% 61%, transparent 61%);
  clip-path: polygon(0 100%, 15% 74%, 30% 63%, 48% 22%, 62% 70%, 75% 47%, 100% 91%, 100% 100%)
}

.flag {
  position: absolute;
  right: 6%;
  bottom: 110px;
  width: 330px;
  height: 210px;
  border-radius: 0 12px 12px 0;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  transform: skewY(-8deg) rotate(-2deg)
}

.flag div {
  height: 33.333%
}

.f-red {
  background: #d8212f
}

.f-blue {
  background: #163f96
}

.f-orange {
  background: #f08a21
}

.flag:before {
  content: "";
  position: absolute;
  left: -20px;
  top: -80px;
  width: 8px;
  height: 390px;
  background: #e5edf6;
  border-radius: 20px;
  transform: skewY(8deg)
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  max-width: 680px
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 100px;
  background: rgba(255, 255, 255, .12);
  font-weight: 800;
  margin-bottom: 24px
}

h1 {
  font-size: clamp(44px, 7vw, 74px);
  line-height: 1.05;
  margin: 0 0 24px;
  font-weight: 950;
  letter-spacing: -1px
}

.hero p {
  font-size: 20px;
  max-width: 620px;
  margin: 0 0 34px;
  color: #eef6ff
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.value-strip {
  position: relative;
  z-index: 3;
  margin-top: 80px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 18px 60px rgba(6, 31, 61, .16);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-radius: 4px;
  overflow: hidden
}

.value {
  padding: 30px 20px;
  text-align: center;
  border-right: 1px solid #e5eaf2
}

.value:last-child {
  border-right: none
}

.icon {
  font-size: 34px;
  margin-bottom: 8px
}

.value h3 {
  margin: 0 0 8px;
  font-size: 18px
}

.value p {
  margin: 0;
  color: #5d6e83;
  font-size: 14px
}

section {
  padding: 80px 0
}

.section-title {
  text-align: center;
  margin-bottom: 40px
}

.section-title span {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1.8px
}

.section-title h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.14;
  margin: 8px 0 0;
  color: var(--navy)
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center
}

.about-card {
  background: #fff;
  border: 1px solid #e3e9f1;
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 24px 60px rgba(6, 31, 61, .09)
}

.about-card h2 {
  font-size: 40px;
  line-height: 1.16;
  margin: 0 0 18px;
  color: var(--navy)
}

.about-card p {
  color: #334155;
  font-size: 18px
}

.video-card {
  min-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 26px 70px rgba(6, 31, 61, .18);
  background: linear-gradient(rgba(6, 31, 61, .18), rgba(6, 31, 61, .38)), linear-gradient(135deg, #d9eaf5 0%, #f5f8fb 35%, #11406a 36%, #081f3d 100%)
}

.video-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 28%, #fff 0 3px, transparent 4px), radial-gradient(circle at 35% 42%, #fff 0 3px, transparent 4px), radial-gradient(circle at 58% 35%, #fff 0 3px, transparent 4px), linear-gradient(14deg, transparent 0 45%, rgba(216, 33, 47, .85) 45% 51%, rgba(22, 63, 150, .9) 51% 58%, rgba(240, 138, 33, .9) 58% 65%, transparent 65%);
}

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border: 3px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 42px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px)
}

.stats {
  background: linear-gradient(135deg, var(--navy), #082a52);
  color: #fff;
  padding: 34px 0
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center
}

.stat strong {
  font-size: 38px;
  color: #ff5a35;
  display: block;
  line-height: 1
}

.stat span {
  font-weight: 800;
  color: #eaf2ff
}

.goals {
  background: var(--soft)
}

.goal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.goal {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  min-height: 215px;
  box-shadow: 0 15px 35px rgba(6, 31, 61, .06);
  transition: .25s
}

.goal:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 55px rgba(6, 31, 61, .12)
}

.goal .icon {
  color: var(--red)
}

.goal h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px
}

.goal p {
  color: #506176;
  margin: 0
}

.donation-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px
}

.donation-options .btn {
  width: 100%;
  padding: 11px 10px;
  font-size: 15px;
  text-align: center
}

.donation-options .custom {
  grid-column: 1 / -1;
  background: var(--navy);
  box-shadow: 0 10px 20px rgba(6, 31, 61, .20)
}

@media(max-width:520px) {
  .donation-options {
    grid-template-columns: 1fr 1fr;
    gap: 8px
  }

  .donation-options .btn {
    font-size: 14px;
    padding: 10px 8px
  }
}

.actions {
  background: linear-gradient(135deg, #061f3d, #0a315d);
  color: #fff
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px
}

.action {
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 18px;
  padding: 34px;
  background: rgba(255, 255, 255, .06)
}

.action h3 {
  font-size: 24px;
  margin: 12px 0
}

.action p {
  color: #d8e5f5
}

.forms {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px
}

form,
.discussion {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(6, 31, 61, .08)
}

label {
  display: block;
  font-weight: 800;
  margin: 12px 0 6px;
  color: var(--navy)
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.message {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #edf2f7
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--orange));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  flex: 0 0 auto
}

.message strong {
  color: var(--navy)
}

.footer {
  background: #03172d;
  color: #dbeafe;
  padding: 44px 0 18px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px
}

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

.foot-brand img {
  width: 86px;
  border-radius: 8px;
  background: #fff
}

.footer h3 {
  color: #fff;
  margin-top: 0
}

.footer a {
  display: block;
  color: #dbeafe;
  margin: 7px 0
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-top: 30px;
  padding-top: 18px;
  text-align: center;
  color: #9fb3cc;
  font-size: 14px
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--navy);
  color: #fff;
  padding: 15px 18px;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
  display: none;
  z-index: 50
}

@media(max-width:900px) {
  .menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 106px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 5%;
    box-shadow: 0 20px 45px rgba(6, 31, 61, .14)
  }

  .menu.open {
    display: flex
  }

  .burger {
    display: block
  }

  .brand {
    min-width: auto
  }

  .brand img {
    width: 64px;
    height: 64px
  }

  .brand-text {
    font-size: 12px
  }

  .hero {
    min-height: 820px
  }

  .hero-content {
    padding-top: 70px
  }

  .flag {
    right: -34px;
    bottom: 155px;
    width: 230px;
    height: 145px;
    opacity: .8
  }

  .value-strip,
  .goal-grid,
  .action-grid,
  .stats-grid,
  .about,
  .forms,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .value {
    border-right: 0;
    border-bottom: 1px solid #e5eaf2
  }

  .topbar .container {
    justify-content: center
  }

  .topbar span:last-child {
    display: none
  }

  .lang-switch {
    margin-left: auto
  }

  .join-btn {
    font-size: 12px;
    padding: 6px 8px
  }
}

@media(max-width:520px) {
  h1 {
    font-size: 42px
  }

  .hero p {
    font-size: 17px
  }

  .btn,
  .join-btn {
    white-space: nowrap
  }

  .join-btn {
    width: auto
  }

  .form-row {
    grid-template-columns: 1fr
  }

  section {
    padding: 58px 0
  }

  .about-card h2 {
    font-size: 30px
  }
}

/* Founder about section update */
.founder-about {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6, 31, 61, .96), rgba(10, 49, 93, .92)),
    radial-gradient(circle at 20% 10%, rgba(242, 140, 34, .18), transparent 34%);
  color: #fff;
  padding: 82px 0;
}

.founder-about:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, .06), transparent 45%, rgba(226, 59, 46, .10));
  pointer-events: none;
}

.founder-layout {
  position: relative;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 42px;
  align-items: start;
  z-index: 1
}

.founder-photo-card {
  background: #fff;
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
  position: sticky;
  top: 92px
}

.founder-photo-card img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  aspect-ratio: 4/5;
  object-position: center top
}

.founder-caption {
  padding: 18px 10px 8px;
  color: var(--navy);
  text-align: center
}

.founder-caption strong {
  display: block;
  font-size: 22px;
  line-height: 1.2
}

.founder-caption span {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-weight: 700;
  font-size: 14px
}

.founder-text-card {
  background: rgba(255, 255, 255, .96);
  color: var(--dark);
  border-radius: 28px;
  padding: 42px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .25)
}

.founder-text-card .section-title {
  text-align: left;
  margin: 0 0 22px
}

.founder-text-card .section-title span {
  color: var(--red)
}

.founder-text-card .section-title h2 {
  color: var(--navy);
  font-size: 34px;
  line-height: 1.2;
  margin: 8px 0 0
}

.founder-letter {
  font-size: 17px;
  line-height: 1.85;
  color: #1e293b
}

.founder-letter p {
  margin: 0 0 18px
}

.founder-highlight {
  font-size: 28px !important;
  line-height: 1.25 !important;
  color: var(--navy) !important;
  font-weight: 900;
  margin: 26px 0 !important;
  padding-left: 18px;
  border-left: 5px solid var(--red)
}

.founder-sign {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  font-weight: 800;
  color: var(--navy)
}

.founder-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px
}

.lang-content {
  display: none
}

.lang-content.active {
  display: block
}

.founder-actions .btn {
  box-shadow: none
}

.video-message {
  margin-top: 32px;
  background: linear-gradient(135deg, #061f3d, #0a315d);
  color: #fff;
  border-radius: 22px;
  padding: 26px;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 18px;
  align-items: center
}

.video-message .play-round {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55);
  display: grid;
  place-items: center;
  font-size: 28px;
  background: rgba(255, 255, 255, .08)
}

.video-message h3 {
  margin: 0 0 6px;
  font-size: 22px
}

.video-message p {
  margin: 0;
  color: rgba(255, 255, 255, .78)
}

@media(max-width:900px) {
  .founder-about {
    padding: 52px 0
  }

  .founder-layout {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .founder-photo-card {
    position: relative;
    top: auto;
    max-width: 390px;
    margin: 0 auto
  }

  .founder-text-card {
    padding: 26px 20px;
    border-radius: 22px
  }

  .founder-text-card .section-title h2 {
    font-size: 27px
  }

  .founder-letter {
    font-size: 16px;
    line-height: 1.75
  }

  .founder-highlight {
    font-size: 23px !important
  }

  .video-message {
    grid-template-columns: 1fr;
    text-align: center
  }

  .video-message .play-round {
    margin: auto
  }

  .video-message .btn {
    justify-self: center
  }
}


/* Final about-section privacy cleanup */
.founder-layout {
  grid-template-columns: 1fr !important;
  max-width: 980px;
  margin: 0 auto;
}

.founder-photo-card {
  display: none !important;
}

.founder-text-card {
  width: 100%;
}

@media(max-width:900px) {
  .founder-layout {
    grid-template-columns: 1fr !important;
    max-width: 100%;
  }
}

@media(max-width:520px) {
  .social {
    gap: 5px
  }

  .social-btn {
    height: 26px;
    padding: 0 7px;
    font-size: 11px
  }

  .social-name {
    display: none
  }

  .social-btn {
    width: 28px;
    padding: 0
  }

  .topbar .container {
    gap: 10px
  }
}


/* FreeArmenian production interaction additions */
.account-btn {
  border: 1px solid #d9e2ef;
  background: #fff;
  color: var(--navy);
  border-radius: 6px;
  padding: 7px 10px;
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(6, 31, 61, .08)
}

.account-btn:hover {
  background: #f8fafc
}

.notice-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 14px 0;
  font-weight: 700;
  font-size: 14px
}

.form-note {
  color: #64748b;
  font-size: 14px;
  margin-top: 8px
}

.file-name {
  font-size: 13px;
  color: #334155;
  margin-top: 7px;
  font-weight: 700
}

.discussion-board {
  background: var(--soft)
}

.discussion-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 24px;
  align-items: start
}

.topic-panel,
.topic-detail,
.account-modal-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(6, 31, 61, .08)
}

.topic-item {
  border: 1px solid #e5eaf2;
  border-radius: 14px;
  padding: 14px;
  margin: 10px 0;
  cursor: pointer;
  background: #fff;
  transition: .2s
}

.topic-item:hover,
.topic-item.active {
  border-color: var(--red);
  box-shadow: 0 10px 24px rgba(226, 59, 46, .10)
}

.topic-item strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px
}

.topic-item span {
  font-size: 13px;
  color: #64748b
}

.topic-meta {
  font-size: 13px;
  color: #64748b;
  margin: 5px 0 14px
}

.review-list {
  margin: 18px 0
}

.review-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #edf2f7
}

.review-item:last-child {
  border-bottom: none
}

.material-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef2ff;
  color: #1e3a8a;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
  margin-top: 8px
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 23, 45, .70);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px
}

.modal-backdrop.open {
  display: flex
}

.account-modal-card {
  width: min(520px, 100%);
  position: relative
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  background: #f1f5f9;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-weight: 900;
  cursor: pointer;
  color: var(--navy)
}

@media(max-width:1050px) {
  .account-btn {
    font-size: 12px;
    padding: 6px 8px
  }
}

@media(max-width:900px) {
  .discussion-layout {
    grid-template-columns: 1fr
  }

  .account-btn {
    order: 3
  }

  .lang-switch {
    order: 4
  }

  .burger {
    order: 5
  }
}


.legal-support-card {
  background: rgba(255, 255, 255, .06) !important;
  border: 1px solid rgba(255, 255, 255, .15) !important;
  border-left: 1px solid rgba(255, 255, 255, .15) !important;
  color: #fff !important
}

.legal-support-card h3 {
  color: #fff !important
}

.legal-support-card p {
  color: #d8e5f5 !important
}

.translate-link {
  display: inline-flex;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
  border: 1px solid #d7e1ee;
  border-radius: 999px;
  padding: 5px 9px;
  background: #fff
}

.topic-item strong {
  display: block
}


/* Final mobile stability fixes */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden
}

.nav {
  min-width: 0
}

.menu {
  min-width: 0
}

.brand-text {
  max-width: 180px
}

.lang-switch {
  position: relative;
  z-index: 40;
  flex: 0 0 auto
}

.lang-btn {
  min-width: 42px;
  line-height: 1;
  touch-action: manipulation
}

.account-btn,
.join-btn {
  flex: 0 0 auto
}

.action-grid {
  align-items: stretch
}

.action {
  display: flex;
  flex-direction: column;
  justify-content: flex-start
}

.action .btn {
  margin-top: auto;
  align-self: flex-start
}

@media(max-width:900px) {
  .nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 8px 0
  }

  .brand {
    min-width: 0;
    gap: 8px
  }

  .brand img {
    width: 58px;
    height: 58px
  }

  .brand-text {
    font-size: 11px;
    max-width: 135px;
    overflow-wrap: normal
  }

  .account-btn {
    grid-column: 2;
    justify-self: end;
    font-size: 11px;
    padding: 7px 9px;
    max-width: 118px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
  }

  .lang-switch {
    grid-column: 1 / span 2;
    grid-row: 2;
    justify-self: start;
    margin-left: 0;
    gap: 6px
  }

  .lang-btn {
    padding: 8px 10px;
    font-size: 12px;
    min-width: 44px
  }

  .burger {
    grid-column: 3;
    grid-row: 1 / span 2;
    justify-self: end;
    padding: 8px 10px
  }

  .menu {
    top: 118px;
    z-index: 30
  }

  .hero {
    min-height: 760px
  }

  .hero-content {
    padding-top: 46px
  }

  .hero p {
    max-width: 100%
  }

  .hero-actions {
    gap: 10px
  }

  .btn {
    padding: 10px 13px;
    font-size: 14px
  }

  .action-grid {
    grid-template-columns: 1fr
  }

  .action,
  .legal-support-card {
    min-height: 220px
  }
}

@media(max-width:420px) {
  .container {
    width: min(94%, 420px)
  }

  .brand-text {
    max-width: 118px;
    font-size: 10.5px
  }

  .account-btn {
    max-width: 104px;
    font-size: 10.5px;
    padding: 7px 8px
  }

  .flag {
    width: 200px;
    height: 126px
  }

  .value {
    padding: 22px 14px
  }
}


/* Header desktop alignment fix */
@media (min-width:901px) {
  .nav {
    display: grid;
    grid-template-columns: minmax(205px, 240px) minmax(430px, 1fr) auto auto auto;
    align-items: center;
    column-gap: 8px;
    padding: 8px 0 14px;
  }

  .brand {
    min-width: 0;
    gap: 9px
  }

  .brand img {
    width: 68px;
    height: 68px
  }

  .brand-text {
    font-size: 13px;
    line-height: 1.14
  }

  .menu {
    justify-content: center;
    gap: 10px;
    font-size: 12.2px;
    min-width: 0;
  }

  .menu a {
    white-space: nowrap
  }

  .join-btn {
    padding: 6px 9px;
    font-size: 12px;
    justify-self: end;
  }

  .account-btn {
    padding: 6px 9px;
    font-size: 12px;
    justify-self: end;
  }

  .lang-switch {
    justify-self: end;
    transform: translateY(13px);
    gap: 4px;
  }

  .lang-btn {
    padding: 5px 7px;
    font-size: 11.5px;
  }
}

@media (min-width:901px) and (max-width:1120px) {
  .nav {
    grid-template-columns: minmax(175px, 205px) minmax(390px, 1fr) auto auto auto;
    column-gap: 6px
  }

  .brand img {
    width: 58px;
    height: 58px
  }

  .brand-text {
    font-size: 11.5px
  }

  .menu {
    gap: 7px;
    font-size: 11px
  }

  .join-btn,
  .account-btn {
    padding: 5px 7px;
    font-size: 11px
  }

  .lang-btn {
    padding: 4px 6px;
    font-size: 10.5px
  }
}

/* Remove duplicated large black "Appeal/Обращение/Ուղերձ" title */
.founder-text-card .section-title h2[data-i18n="founder_title"] {
  display: none !important;
}

.founder-text-card .section-title {
  margin-bottom: 18px !important;
}



/* Final desktop header positioning: account/join above language buttons */
@media (min-width:901px) {
  .nav {
    display: grid !important;
    grid-template-columns: minmax(205px, 240px) minmax(460px, 1fr) auto auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    column-gap: 10px !important;
    row-gap: 4px !important;
    padding: 8px 0 10px !important;
  }

  .brand {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    min-width: 0 !important;
  }

  .menu {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    justify-content: center !important;
    align-self: center !important;
    gap: 10px !important;
    font-size: 12px !important;
    min-width: 0 !important;
  }

  .join-btn {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: end !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
  }

  .account-btn {
    grid-column: 4 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: end !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
  }

  .lang-switch {
    grid-column: 3 / 5 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    align-self: start !important;
    transform: none !important;
    margin: 0 !important;
    gap: 5px !important;
    z-index: 5 !important;
  }

  .lang-btn {
    padding: 5px 9px !important;
    font-size: 11.5px !important;
    line-height: 1 !important;
  }
}

@media (min-width:901px) and (max-width:1120px) {
  .nav {
    grid-template-columns: minmax(165px, 195px) minmax(360px, 1fr) auto auto !important;
    column-gap: 6px !important;
  }

  .brand img {
    width: 56px !important;
    height: 56px !important
  }

  .brand-text {
    font-size: 11px !important;
    max-width: 140px !important
  }

  .menu {
    gap: 6px !important;
    font-size: 10.5px !important
  }

  .join-btn,
  .account-btn {
    padding: 5px 7px !important;
    font-size: 10.5px !important
  }

  .lang-btn {
    padding: 4px 7px !important;
    font-size: 10px !important
  }
}


/* Diaspora catalog */
.diaspora {
  background: var(--soft)
}

.dsp-intro {
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
  color: #506176;
  font-size: 17px
}

.dsp-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto 14px;
  max-width: 820px
}

.dsp-field {
  flex: 1 1 200px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left
}

.dsp-field label {
  font-weight: 800;
  color: var(--navy);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px
}

.dsp-filters select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--navy);
  font-weight: 700
}

.dsp-countbar {
  text-align: center;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: .6px
}

.dsp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.dsp-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 15px 35px rgba(6, 31, 61, .06);
  display: flex;
  flex-direction: column;
  transition: .25s
}

.dsp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 55px rgba(6, 31, 61, .12)
}

.dsp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px
}

.dsp-country {
  font-weight: 900;
  color: var(--navy);
  font-size: 14px
}

.dsp-verified {
  background: #e7f6ec;
  color: #1a7f43;
  border: 1px solid #b7e4c7;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap
}

.dsp-name {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.25
}

.dsp-cat {
  align-self: flex-start;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 12px
}

.dsp-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14px;
  color: #506176;
  margin-bottom: 16px
}

.dsp-lines a {
  color: var(--blue);
  font-weight: 700;
  word-break: break-word
}

.dsp-lines a:hover {
  text-decoration: underline
}

.dsp-muted {
  color: var(--muted)
}

.dsp-addr {
  color: #64748b;
  font-size: 13px;
  line-height: 1.4
}

.dsp-contact {
  color: #64748b;
  font-size: 13px
}

.dsp-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.dsp-btn {
  padding: 9px 14px;
  font-size: 13px
}

.dsp-none {
  text-align: center;
  color: var(--muted);
  grid-column: 1/-1;
  padding: 30px 0
}

.dsp-add {
  margin-top: 30px;
  background: linear-gradient(135deg, var(--navy), #0a315d);
  color: #fff;
  border-radius: 20px;
  padding: 34px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(6, 31, 61, .14)
}

.dsp-add h3 {
  margin: 0 0 10px;
  font-size: 24px
}

.dsp-add p {
  margin: 0 auto 18px;
  max-width: 620px;
  color: #d8e5f5
}

@media(max-width:960px) {
  .dsp-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:620px) {
  .dsp-grid {
    grid-template-columns: 1fr
  }

  .dsp-field {
    max-width: none;
    flex-basis: 100%
  }
}