/* ============================================================
   ABALAR - Main Stylesheet
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body, h1, h2, h3, h4, p, ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

:root {
  --bg: #fbf6ef;
  --surface: #ffffff;
  --surface-soft: #fffaf3;
  --surface-tint: #f4ecff;
  --line: #eadfce;
  --line-strong: #ddd0bb;
  --purple: #5e28d8;
  --purple-dark: #4318a4;
  --purple-soft: #efe6ff;
  --orange: #f08d24;
  --orange-soft: #fff0dc;
  --green: #88a73a;
  --green-soft: #eef4d8;
  --dark: #19152d;
  --muted: #6f6a80;
  --shadow: 0 24px 55px rgba(25, 21, 45, 0.09);
  --shadow-soft: 0 14px 30px rgba(25, 21, 45, 0.06);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1280px;
  --body-font: "Sora", "Segoe UI", Arial, sans-serif;
  --script-font: "Caveat", "Brush Script MT", cursive;
  --transition: 0.24s ease;
  --white: #ffffff;
  --grey: var(--muted);
  --purple-light: var(--purple-soft);
  --green-dark: #6e8d29;
  --light-bg: #fffaf3;
  --radius: 18px;
}

body {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background:
    radial-gradient(circle at top left, rgba(94, 40, 216, 0.05), transparent 30%),
    radial-gradient(circle at bottom right, rgba(240, 141, 36, 0.05), transparent 24%),
    var(--bg);
  overflow-x: hidden;
}

.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 28px;
}

.hero .container,
.pillars .container,
.projects .container,
.impact .container,
.cta-section .container,
.site-footer .container {
  max-width: var(--container);
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  color: var(--dark);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3.35rem, 7vw, 5.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.05rem);
}

h3 {
  font-size: 1.38rem;
}

h4 {
  font-size: 1rem;
}

p {
  color: var(--muted);
}

strong {
  color: var(--dark);
}

.eyebrow {
  display: inline-block;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}

.eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 14' preserveAspectRatio='none'%3E%3Cpath d='M4 10c10-4 21-6 34-5 12 1 25 2 42-2' fill='none' stroke='%235e28d8' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.italic-accent,
.drawn-accent {
  display: inline-block;
  color: var(--purple);
  font-family: var(--script-font);
  font-size: 1.08em;
  font-weight: 700;
  line-height: 0.92;
}

.drawn-accent {
  position: relative;
  padding-bottom: 16px;
}

.drawn-accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 18' preserveAspectRatio='none'%3E%3Cpath d='M4 12c38-7 75-8 117-5 38 2 74 3 115-4' fill='none' stroke='%23f08d24' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}

.drawn-accent-green::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 18' preserveAspectRatio='none'%3E%3Cpath d='M4 12c38-7 75-8 117-5 38 2 74 3 115-4' fill='none' stroke='%2388a73a' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background-color var(--transition), color var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--surface);
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  box-shadow: 0 16px 30px rgba(94, 40, 216, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 20px 34px rgba(94, 40, 216, 0.24);
}

.btn-outline {
  color: var(--purple);
  border-color: rgba(94, 40, 216, 0.28);
  background: rgba(255, 255, 255, 0.68);
}

.btn-outline:hover {
  border-color: var(--purple);
  background: var(--surface);
}

.btn-white {
  color: var(--purple);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 246, 239, 0.9);
  backdrop-filter: blur(16px);
}

.site-header .container {
  max-width: 1480px;
  padding: 0 32px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 104px;
}

.site-logo,
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img,
.footer-logo-img {
  width: auto;
  height: auto;
}

.site-logo .logo-img {
  width: 166px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-menu li {
  display: flex;
}

.nav-menu a {
  position: relative;
  padding: 7px 7px;
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a,
.nav-menu .current_page_parent > a {
  color: var(--purple);
}

.nav-menu a:hover::after,
.nav-menu a.active::after,
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after,
.nav-menu .current_page_parent > a::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78 10' preserveAspectRatio='none'%3E%3Cpath d='M4 7c11-3 23-4 37-4s24 1 33-2' fill='none' stroke='%235e28d8' stroke-width='3.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}


.nav-language-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 44px;
  min-height: 34px;
  padding: 5px 9px;
  border: 1px solid rgba(94, 40, 216, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--dark);
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(43, 35, 55, 0.06);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.language-toggle:hover,
.language-toggle:focus-visible,
.language-switcher.open .language-toggle {
  color: var(--purple);
  border-color: rgba(94, 40, 216, 0.34);
  background: rgba(255, 255, 255, 0.98);
  outline: none;
}

.language-toggle-flag,
.language-option-flag {
  font-size: 1rem;
  line-height: 1;
}

.language-toggle-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  line-height: 1;
  color: var(--grey);
}

.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1001;
  min-width: 150px;
  padding: 7px;
  border: 1px solid rgba(234, 223, 206, 0.95);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.language-options[hidden] {
  display: none;
}

.language-options li {
  display: block;
}

.nav-menu .language-options a,
.language-options a {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 11px;
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-menu .language-options a::after,
.language-options a::after {
  display: none;
}

.language-options a:hover,
.language-options a:focus-visible,
.language-options a.active {
  color: var(--purple);
  background: rgba(94, 40, 216, 0.08);
  outline: none;
}

.language-options a.active::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--purple);
}


.nav-cta {
  flex-shrink: 0;
  margin-left: 4px;
  padding: 9px 16px;
  font-size: 0.78rem;
}

.nav-cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  align-self: center;
}

.nav-cta-mobile {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--dark);
  transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 24px 0 42px;
  overflow: visible;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  align-items: center;
  gap: 28px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 520px;
  margin-bottom: 24px;
}

.hero-copy p {
  max-width: 500px;
  font-size: 1.04rem;
  line-height: 1.85;
}

.hero-copy p strong {
  color: var(--purple);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.hero-social-proof p {
  font-size: 0.92rem;
  color: var(--dark);
}

.hero-social-proof strong {
  color: var(--dark);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--surface);
  box-shadow: 0 8px 18px rgba(25, 21, 45, 0.12);
  margin-left: -12px;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
}

.hero-photo-frame {
  position: relative;
  width: min(100%, 760px);
  margin: 0 0 0 auto;
  transform: translate(12%, -2%) scale(1.18);
  transform-origin: center right;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
}

.hero-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  filter: none;
}

/* ---------- Pillars ---------- */
.pillars {
  padding: 12px 0 68px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(234, 223, 206, 0.92);
  border-radius: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 24px 26px;
  background: rgba(255, 255, 255, 0.85);
}

.pillars-grid > * + * {
  border-left: 1px solid rgba(234, 223, 206, 0.9);
}

.pillar-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 26px;
  height: 26px;
}

.pillar-icon.purple {
  color: var(--purple);
  background: var(--purple-soft);
}

.pillar-icon.green {
  color: var(--green);
  background: var(--green-soft);
}

.pillar-icon.orange {
  color: var(--orange);
  background: var(--orange-soft);
}

.pillar-icon.blue,
.pillar-icon.lilac {
  color: var(--purple);
  background: rgba(94, 40, 216, 0.12);
}

.pillar-copy,
.pillar-text {
  min-width: 0;
}

.pillar-copy h2,
.pillar-text h4 {
  margin-bottom: 8px;
  font-size: 1.04rem;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.pillar-copy p,
.pillar-text p {
  font-size: 0.82rem;
  line-height: 1.75;
}

.pillar-mark,
.pillar-underline {
  display: block;
  width: 40px;
  height: 7px;
  margin-top: 14px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.pillar-mark.purple,
.pillar-underline.purple,
.pillar-underline.blue {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 12' preserveAspectRatio='none'%3E%3Cpath d='M4 8c12-3 26-4 45-3 10 1 18 0 27-2' fill='none' stroke='%235e28d8' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.pillar-mark.green,
.pillar-underline.green {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 12' preserveAspectRatio='none'%3E%3Cpath d='M4 8c12-3 26-4 45-3 10 1 18 0 27-2' fill='none' stroke='%2388a73a' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.pillar-mark.orange,
.pillar-underline.orange {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 12' preserveAspectRatio='none'%3E%3Cpath d='M4 8c12-3 26-4 45-3 10 1 18 0 27-2' fill='none' stroke='%23f08d24' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Projects ---------- */
.projects {
  padding: 34px 0 82px;
}

.projects-layout {
  display: grid;
  grid-template-columns: minmax(270px, 350px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.projects-intro h2 {
  margin-top: 16px;
}

.projects-intro p {
  margin-top: 18px;
  max-width: 320px;
}

.section-link,
.link-arrow,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--purple);
  white-space: nowrap;
  transition: gap var(--transition), color var(--transition);
}

.section-link:hover,
.link-arrow:hover,
.card-link:hover {
  gap: 12px;
}

.card-link-orange,
.link-arrow.orange {
  color: var(--orange);
}

.card-link-green,
.link-arrow.green {
  color: var(--green);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.project-media {
  position: relative;
}

.project-card img {
  width: 100%;
  height: 242px;
  object-fit: cover;
  filter: grayscale(100%);
}

.project-icon {
  position: absolute;
  left: 20px;
  bottom: -23px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  box-shadow: 0 12px 18px rgba(25, 21, 45, 0.12);
}

.project-icon-purple {
  background: var(--purple);
}

.project-icon-orange {
  background: var(--orange);
}

.project-icon-green {
  background: var(--green);
}

.project-card-body {
  padding: 34px 22px 24px;
}

.project-card-body h3 {
  font-size: 1.22rem;
  line-height: 1.2;
}

.project-card-body p {
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.85;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-size: 0.74rem;
  font-weight: 700;
}

.project-tag.purple {
  color: var(--purple);
  background: var(--purple-soft);
}

.project-tag.orange {
  color: var(--orange);
  background: var(--orange-soft);
}

.project-tag.green {
  color: var(--green);
  background: var(--green-soft);
}

/* ---------- Impact ---------- */
.impact {
  padding: 16px 0 74px;
}

.impact-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 34px 38px;
  border-radius: 90px;
  background:
    radial-gradient(circle at left center, rgba(94, 40, 216, 0.08), transparent 42%),
    linear-gradient(135deg, rgba(94, 40, 216, 0.1), rgba(255, 255, 255, 0.55));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.impact-shell::before {
  content: "";
  position: absolute;
  left: 26px;
  bottom: 22px;
  width: 110px;
  height: 36px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 190 48' preserveAspectRatio='none'%3E%3Cpath d='M10 30c26-10 56-14 92-13s57 5 88-3' fill='none' stroke='%235e28d8' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.95;
}

.impact-intro h2 {
  position: relative;
  z-index: 1;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.impact-stats > * + * {
  border-left: 1px dashed rgba(94, 40, 216, 0.24);
}

.stat-item {
  padding: 0 18px;
  text-align: center;
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.stat-icon-purple {
  color: var(--purple);
}

.stat-icon-orange {
  color: var(--orange);
}

.stat-icon-green {
  color: var(--green);
}

.stat-number {
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.stat-number.purple {
  color: var(--purple);
}

.stat-number.orange {
  color: var(--orange);
}

.stat-number.green {
  color: var(--green);
}

.stat-number.dark {
  color: var(--dark);
}

.stat-label {
  margin-top: 10px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--dark);
}

/* ---------- CTA ---------- */
.cta-section {
  padding: 12px 0 10px;
}

.cta-box {
  position: relative;
  display: grid;
  grid-template-columns: 250px minmax(0, 1.05fr) minmax(260px, 0.85fr);
  align-items: center;
  gap: 28px;
  min-height: 280px;
  padding: 22px 38px 22px 24px;
  border-radius: 110px 110px 34px 34px;
  background:
    radial-gradient(circle at 22% 0%, rgba(94, 40, 216, 0.07), transparent 34%),
    linear-gradient(135deg, #f3f6df, #eff2d9 55%, #edf0dd);
  overflow: hidden;
}

.cta-person {
  align-self: end;
}

.cta-person img {
  width: min(100%, 290px);
  margin-top: -58px;
}

.cta-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.cta-action p {
  max-width: 330px;
  margin-bottom: 24px;
  color: var(--dark);
}

.cta-doodle-plane {
  right: 34px;
  bottom: 10px;
  width: 70px;
  color: var(--purple);
  opacity: 0.92;
}

/* ---------- Generic Cards / Shared Components ---------- */
.section-header {
  max-width: 680px;
  margin: 0 auto 54px;
}

.section-header h2 {
  margin-top: 16px;
}

.section-header p {
  margin-top: 16px;
}

.info-box,
.contact-form-wrap,
.partner-logo,
.partner-card,
.big-stat-card,
.participate-card,
.mvv-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(234, 223, 206, 0.92);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.area-card {
  position: relative;
  padding: 28px 24px;
  overflow: hidden;
}

.area-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
}

.area-card.purple::before {
  background: var(--purple);
}

.area-card.orange::before {
  background: var(--orange);
}

.area-card.green::before {
  background: var(--green);
}

.area-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 18px;
  font-size: 1.9rem;
}

.area-card.purple .area-icon {
  background: var(--purple-soft);
}

.area-card.orange .area-icon {
  background: var(--orange-soft);
}

.area-card.green .area-icon {
  background: var(--green-soft);
}

.area-card h3 {
  margin-bottom: 10px;
}

.area-card p {
  font-size: 0.9rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(234, 223, 206, 0.92);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: grayscale(100%);
}

.news-card-body {
  padding: 24px;
}

.news-category {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-card-body h3 {
  font-size: 1.12rem;
  line-height: 1.3;
}

.news-card-body p {
  margin-top: 10px;
  font-size: 0.88rem;
}

.news-date {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--muted);
}

.contact-items {
  display: grid;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--purple);
  background: var(--purple-soft);
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  margin-bottom: 4px;
  color: var(--dark);
  font-size: 0.84rem;
}

.contact-item-text span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

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

.social-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid rgba(234, 223, 206, 0.92);
  color: var(--dark);
  box-shadow: var(--shadow-soft);
  transition: color var(--transition), background-color var(--transition), transform var(--transition);
}

.social-btn:hover {
  color: var(--surface);
  background: var(--purple);
  transform: translateY(-2px);
}

.contact-form-wrap {
  padding: 28px;
}

.contact-form-wrap h3 {
  margin-bottom: 18px;
}

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

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(234, 223, 206, 0.95);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(94, 40, 216, 0.5);
  box-shadow: 0 0 0 4px rgba(94, 40, 216, 0.1);
}

.partner-logo,
.partner-card,
.big-stat-card,
.participate-card {
  padding: 26px 22px;
}

.map-placeholder,
.territories-map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--purple-soft), rgba(136, 167, 58, 0.12));
  box-shadow: var(--shadow-soft);
  color: var(--purple);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 18px 0 30px;
}

.footer-grid,
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: 28px;
  align-items: start;
  padding-top: 12px;
}

.footer-grid > *,
.footer-top > * {
  min-width: 0;
}

.footer-grid > * + *,
.footer-top > * + * {
  padding-left: 28px;
  border-left: 1px solid rgba(234, 223, 206, 0.92);
}

.footer-brand {
  padding-right: 12px;
}

.footer-logo-img {
  width: 148px;
}

.footer-brand-tagline,
.footer-tagline {
  margin-top: 10px;
  max-width: 250px;
  color: var(--dark);
  font-size: 0.78rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(25, 21, 45, 0.14);
  color: var(--dark);
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

.footer-social:hover {
  color: var(--surface);
  background: var(--purple);
  border-color: var(--purple);
  transform: translateY(-2px);
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-col p {
  font-size: 0.84rem;
  line-height: 1.7;
}

.footer-col ul,
.footer-contact-list {
  display: grid;
  gap: 10px;
}

.footer-col a,
.footer-contact-list a,
.footer-col li,
.footer-contact-list li {
  color: var(--dark);
  font-size: 0.84rem;
  line-height: 1.7;
}

.footer-col a:hover,
.footer-contact-list a:hover {
  color: var(--purple);
}


.footer-meta,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(234, 223, 206, 0.92);
}

.footer-meta p,
.footer-bottom p,
.footer-links a {
  color: rgba(25, 21, 45, 0.62);
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--purple);
}

/* ---------- Utilities ---------- */
.text-center {
  text-align: center;
}

.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-menu,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  body {
    overflow-x: hidden;
  }

  .nav-menu.open {
    position: fixed;
    top: 88px;
    left: 18px;
    right: 18px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: auto;
    max-width: calc(100vw - 36px);
    max-height: calc(100vh - 112px);
    padding: 18px;
    overflow-y: auto;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    border: 1px solid rgba(234, 223, 206, 0.92);
  }

  .nav-menu.open li {
    display: block;
  }

  .nav-menu.open a {
    display: block;
    padding: 12px 10px;
  }

  .nav-menu.open a::after {
    display: none;
  }

  .nav-menu.open .language-switcher {
    margin: 4px 0 8px;
    width: max-content;
  }

  .nav-menu.open .language-options {
    left: 0;
    right: auto;
  }

  .nav-menu.open .language-options a {
    display: flex;
  }

  .nav-menu.open .nav-cta-mobile {
    display: inline-flex;
    margin-top: 10px;
  }

  .hero-layout,
  .projects-layout,
  .impact-shell,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 28px;
  }

  .hero-photo-frame {
    width: min(100%, 680px);
    margin: 0 auto;
    transform: none;
  }

  .projects-grid,
  .news-grid,
  .areas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impact-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .impact-stats > * + * {
    border-left: 0;
  }

  .cta-box {
    padding: 32px 30px;
    border-radius: 58px 58px 26px 26px;
  }

  .cta-person {
    justify-self: center;
  }

  .cta-person img {
    margin-top: 0;
  }

  .footer-grid,
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .container {
    padding: 0 20px;
  }

  h1 {
    font-size: clamp(2.9rem, 12vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .hero {
    padding-top: 8px;
  }

  .hero-copy,
  .projects-intro,
  .impact-intro,
  .cta-copy,
  .cta-action {
    text-align: center;
  }

  .hero-copy h1,
  .hero-copy p,
  .projects-intro p,
  .cta-action p {
    max-width: none;
  }

  .hero-buttons,
  .hero-social-proof {
    justify-content: center;
  }

  .pillars-grid,
  .projects-grid,
  .news-grid,
  .areas-grid,
  .footer-grid,
  .footer-top,
  .form-row {
    grid-template-columns: 1fr;
  }

  .pillars-grid > * + *,
  .footer-grid > * + *,
  .footer-top > * + * {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(234, 223, 206, 0.92);
    padding-top: 22px;
  }

  .impact-shell {
    border-radius: 42px;
    padding: 28px 22px;
  }

  .impact-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    padding: 0 8px;
  }

  .cta-box {
    text-align: center;
  }

  .cta-doodle-plane {
    display: none;
  }

  .footer-meta,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .navbar {
    min-height: 88px;
  }

  .site-logo .logo-img {
    width: 138px;
  }

  .hero-buttons .btn,
  .btn {
    width: 100%;
  }

  .impact-stats {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap,
  .info-box,
  .partner-logo,
  .partner-card,
  .big-stat-card,
  .participate-card {
    padding: 22px 18px;
  }
}

.footer-address {
  color: var(--dark);
}
