/* ============================================================
   Association for Social Rights (ASR)
   Pure static HTML/CSS — no build step
   ============================================================ */

:root {
  --bg-page:        #c5ced6;
  --bg-section:     #edf4f6;
  --bg-section-alt: #eff1ef;
  --accent-teal:    #c9dcdd;
  --slate:          #456074;
  --slate-90:       rgba(69, 96, 116, 0.90);
  --ink:            #121010;
  --coral:          #d9625f;
  --grey-slate:     #5a6b78;
  --grey-line:      #b9c2cb;
  --white:          #ffffff;

  --container: 1370px;

  --font-latin: "Mulish", system-ui, -apple-system, sans-serif;
  --font-ge:    "Noto Sans Georgian", "Mulish", system-ui, sans-serif;

  --radius-sm: 6px;
  --radius:    10px;
  --shadow-card: 0 2px 10px rgba(18, 16, 16, 0.08);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-latin);
  background: var(--bg-page);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

html[data-l="ka"] body { font-family: var(--font-ge); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Language spans */
html[data-l="en"] [lang="ka"],
html[data-l="ka"] [lang="en"] { display: none; }

/* ===== Layout ===== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-light  { background: var(--bg-section); }
.section-alt    { background: var(--bg-section-alt); }
.section-pad    { padding: 56px 0; }
.section-pad-lg { padding: 72px 0; }

/* ===== Top bar ===== */
.topbar { background: var(--bg-page); padding: 10px 0 0; }
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-slate);
}
.topbar-inner a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar-inner a:hover { color: var(--slate); }
.topbar-inner svg { width: 14px; height: 14px; flex-shrink: 0; }
.topbar-rule {
  max-width: var(--container);
  margin: 10px auto 0;
  height: 1px;
  background: var(--grey-line);
}

/* ===== Header ===== */
.header { background: var(--bg-page); padding: 18px 0 22px; }
.header-inner { display: flex; align-items: center; gap: 28px; }
.logo-asr   { width: 200px; flex-shrink: 0; }
.logo-garop { width: 260px; flex-shrink: 0; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav-item { position: relative; }
.nav-link {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink);
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.nav-link:hover { color: var(--slate); }
.nav-link svg { width: 12px; height: 12px; }

.dropdown-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  min-width: 190px;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  opacity: 0; visibility: hidden;
  transition: all .2s;
  z-index: 100;
}
.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block; padding: 10px 22px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.05em;
  color: var(--ink); transition: background .15s, color .15s;
}
.dropdown-menu a:hover { background: var(--accent-teal); color: var(--slate); }

/* Language toggle */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.05em;
  color: var(--slate);
}
.lang-toggle button {
  padding: 2px 6px; font-size: 14px; font-weight: 700;
  color: var(--grey-slate); border-radius: 4px; transition: all .15s;
}
.lang-toggle button.active {
  color: var(--slate);
  text-decoration: underline; text-underline-offset: 3px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 18px; font-weight: 500; padding: 12px 28px;
  border-radius: var(--radius-sm); transition: all .2s;
  text-align: center; line-height: 1.3; cursor: pointer;
}
.btn-primary { background: var(--bg-section); color: var(--ink); border: none; }
.btn-primary:hover { background: var(--accent-teal); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--bg-page); }
.btn-nav { font-size: 16px; font-weight: 500; padding: 10px 22px; }
.btn-sm {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 10px 22px;
}

/* ===== Hero ===== */
.hero {
  position: relative; width: 100%;
  height: clamp(380px, 42vw, 820px);
  overflow: hidden;
  background: var(--slate);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(120, 140, 160, 0.28); }
.hero-box {
  position: absolute;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 0;
  width: clamp(290px, 34vw, 680px);
  background: var(--slate-90);
  padding: 40px 44px;
  color: var(--white);
}
.hero-box h1 {
  font-size: clamp(22px, 2vw, 36px);
  font-weight: 600; line-height: 1.25; margin-bottom: 24px;
}
.hero-box .btn-hero {
  background: var(--bg-section); color: var(--ink);
  padding: 16px 30px; font-size: 16px; font-weight: 600;
  border-radius: var(--radius-sm); transition: background .2s;
  display: inline-flex; align-items: center; justify-content: center;
}
.hero-box .btn-hero:hover { background: var(--accent-teal); }

/* ===== Page banner ===== */
.page-banner {
  position: relative; width: 100%;
  height: clamp(220px, 28vw, 440px);
  overflow: hidden;
  background: var(--slate);
}
.page-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.page-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(69,96,116,.55) 0%, rgba(69,96,116,.15) 55%, rgba(69,96,116,0) 100%);
  display: flex; align-items: center;
}
.page-banner h1 {
  color: var(--white);
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 700; letter-spacing: 0.02em;
}

/* ===== Intro ===== */
.intro { max-width: 860px; margin: 0 auto; }
.intro p { font-size: 16px; line-height: 1.7; color: var(--ink); }
.intro p + p { margin-top: 16px; }
.member-line { text-align: center; font-size: 15px; color: var(--grey-slate); margin-top: 24px; }
.member-line strong { color: var(--slate); }

/* ===== Section heading ===== */
.section-heading {
  text-align: center;
  font-size: 26px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 40px; color: var(--ink);
}

/* ===== Accordions ===== */
.accordions { max-width: var(--container); margin: 0 auto; }
.accordion { border-bottom: 1px solid var(--grey-line); }
.accordion:first-child { border-top: 1px solid var(--grey-line); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 24px 8px;
  font-size: 22px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink); text-align: left; transition: color .2s;
}
.accordion-trigger:hover { color: var(--slate); }
.accordion-chevron {
  width: 24px; height: 24px; flex-shrink: 0;
  transition: transform .3s ease; color: var(--slate);
}
.accordion.open .accordion-chevron { transform: rotate(180deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion-panel-inner {
  padding: 0 8px 28px;
  font-size: 15px; line-height: 1.7; max-width: 900px; color: var(--grey-slate);
}

/* ===== News cards ===== */
.news-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.news-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform .2s, box-shadow .2s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 6px 22px rgba(18,16,16,.14); }
.news-card-img { width: 100%; height: 180px; object-fit: cover; background: var(--accent-teal); }
.news-card-body { padding: 20px 22px 24px; }
.news-card .date { font-size: 13px; color: var(--grey-slate); font-weight: 600; letter-spacing: 0.04em; }
.news-card h3 { font-size: 18px; font-weight: 700; color: var(--coral); margin: 8px 0 10px; line-height: 1.3; }
.news-card p  { font-size: 14px; color: var(--grey-slate); line-height: 1.6; }
.learn-more {
  display: inline-block; margin-top: 12px;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--slate); border-bottom: 2px solid var(--slate); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.learn-more:hover { color: var(--coral); border-color: var(--coral); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }

/* ===== Team ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}
.team-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.team-card-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center top; background: var(--accent-teal); }
.team-card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.team-card h3 { font-size: 20px; font-weight: 700; }
.team-card .role { font-size: 14px; font-weight: 600; color: var(--slate); margin-bottom: 12px; }
.team-card .bio { font-size: 14px; color: var(--grey-slate); line-height: 1.6; }
.bio-extra { display: none; margin-top: 8px; }
.bio.expanded .bio-extra { display: block; }
.team-card-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 18px; }
.read-more {
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--slate); border-bottom: 2px solid var(--slate); padding-bottom: 2px; transition: color .2s;
}
.read-more:hover { color: var(--coral); border-color: var(--coral); }
.linkedin-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--slate); transition: color .2s; }
.linkedin-link:hover { color: var(--ink); }
.linkedin-link svg { width: 16px; height: 16px; }

/* ===== News list ===== */
.news-list { display: flex; flex-direction: column; gap: 32px; max-width: 900px; margin: 0 auto; }
.news-item {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.news-item-img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; background: var(--accent-teal); }
.news-item-body { padding: 24px 28px 26px; max-width: 860px; }
.news-item .date { font-size: 13px; color: var(--grey-slate); font-weight: 600; }
.news-item h2 { font-size: 22px; font-weight: 700; color: var(--coral); margin: 6px 0 10px; line-height: 1.3; }
.news-item p  { font-size: 15px; color: var(--grey-slate); line-height: 1.6; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-row svg { width: 20px; height: 20px; color: var(--slate); flex-shrink: 0; margin-top: 2px; }
.contact-row .label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-slate); }
.contact-row .value { font-size: 15px; color: var(--ink); margin-top: 2px; }
.contact-legal { margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--grey-line); font-size: 13px; color: var(--grey-slate); }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.contact-map iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ===== Footer ===== */
.footer { background: var(--slate); color: var(--white); padding: 44px 0 26px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.footer-brand { max-width: 340px; }
.footer-brand h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.footer-brand p { font-size: 14px; opacity: 0.8; line-height: 1.6; }
.footer-logo-box {
  background: var(--white); border-radius: var(--radius);
  padding: 14px 20px; display: inline-block; margin-bottom: 16px;
}
.footer-logo-box img { width: 220px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 14px; opacity: 0.85; transition: opacity .2s; }
.footer-links a:hover { opacity: 1; }
.footer-bottom {
  margin-top: 32px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 13px; opacity: 0.7; text-align: center;
}

/* ===== Hamburger ===== */
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.menu-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .logo-asr   { width: 160px; }
  .logo-garop { width: 200px; }
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; top: 0; right: -100%;
    width: min(320px, 85vw); height: 100vh;
    background: var(--bg-page);
    flex-direction: column; align-items: flex-start; gap: 22px;
    padding: 80px 28px 28px;
    box-shadow: -4px 0 24px rgba(0,0,0,.16);
    transition: right .3s ease; z-index: 200; overflow-y: auto;
  }
  .nav.open { right: 0; }
  .nav-link { font-size: 17px; }
  .dropdown-menu {
    position: static; transform: none;
    opacity: 1; visibility: visible;
    box-shadow: none; background: transparent;
    padding: 0 0 0 20px;
  }
  .dropdown-menu a { color: var(--grey-slate); font-size: 15px; }
  .hero-box { right: 24px; left: 24px; width: auto; padding: 28px 26px; }
  .contact-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .news-item-img { min-height: 200px; }
  .news-item-body { padding: 22px 24px 24px; }
}

@media (max-width: 600px) {
  .container, .topbar-inner, .topbar-rule { padding-left: 18px; padding-right: 18px; }
  .topbar-inner { flex-wrap: wrap; gap: 12px; font-size: 12px; }
  .header-inner { gap: 14px; flex-wrap: wrap; }
  .logo-asr   { width: 130px; }
  .logo-garop { width: 150px; }
  .hero-box   { padding: 24px 20px; }
  .btn { font-size: 16px; padding: 12px 22px; }
  .section-pad    { padding: 40px 0; }
  .section-pad-lg { padding: 52px 0; }
  .section-heading { font-size: 22px; margin-bottom: 28px; }
  .accordion-trigger { padding: 20px 4px; font-size: 19px; }
  .team-grid { gap: 22px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

@media (max-width: 390px) {
  .container, .topbar-inner, .topbar-rule { padding-left: 14px; padding-right: 14px; }
  .topbar-inner { font-size: 11px; gap: 8px; }
  .logo-asr   { width: 110px; }
  .logo-garop { width: 120px; }
  .hero-box   { padding: 20px 16px; right: 14px; left: 14px; }
  .hero-box h1 { font-size: 19px; }
}

/* Georgian temporarily disabled: remove this line to show the EN/GE switch again */
.lang-toggle { display: none !important; }

/* about page text blocks */
.about-sec { max-width: 860px; margin-left: auto; margin-right: auto; }
.about-sec p { margin: 0 0 14px; line-height: 1.7; }
.about-sec ul { margin: 0 0 14px; padding-left: 22px; line-height: 1.7; }
.about-sec li { margin-bottom: 6px; }
.about-sec .section-heading { margin-bottom: 14px; }
.accordion-panel-inner p { margin: 0 0 12px; }
