/* BirDeğersin Derneği – Corporate Professional UI */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  --primary: #0057A0;
  --primary-dark: #003d73;
  --primary-light: #1a6db8;
  --secondary: #2a2a2c;
  --accent: #FCD50C;
  --accent-gold: #E8C000;
  --text: #1c1c1e;
  --text-muted: #5e6470;
  --text-light: #8b919a;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-muted: #eef2f7;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --shadow-sm: 0 1px 3px rgba(0, 40, 80, 0.06);
  --shadow: 0 4px 24px rgba(0, 57, 100, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 57, 100, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --font: 'Quicksand', system-ui, -apple-system, sans-serif;
  --header-h: 84px;
  --topbar-h: 40px;
  --transition: 0.2s ease;
  --container: min(1200px, 92vw);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading { overflow: hidden; }
body.is-loading .topbar,
body.is-loading .site-header,
body.is-loading main,
body.is-loading .site-footer {
  opacity: 0;
}
body.nav-open,
html.nav-open {
  overflow: hidden;
}

body.is-loaded main,
body.is-loaded .site-header,
body.is-loaded .topbar,
body.is-loaded .site-footer {
  animation: pageEnter 0.55s ease forwards;
}

@keyframes pageEnter {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Page loader ── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: #ffffff;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader--done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  width: min(360px, 94vw);
}

.page-loader__ring {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--bg-muted);
  border-top-color: var(--primary);
  border-right-color: var(--accent);
  animation: loaderSpin 0.9s linear infinite;
  pointer-events: none;
}

.page-loader__logo-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0.25rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 87, 160, 0.08);
}

.page-loader__logo {
  display: block;
  width: min(300px, 88vw);
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: none;
  image-rendering: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.page-loader__bar {
  width: min(220px, 70vw);
  height: 4px;
  background: var(--bg-muted);
  border-radius: 999px;
  overflow: hidden;
}

.page-loader__text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  animation: loaderText 1.5s ease-in-out infinite;
}

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

@keyframes loaderBar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

@keyframes loaderText {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.page-loader__bar-fill {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
  animation: loaderBar 1.1s ease-in-out infinite;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal,
.page-hero .reveal {
  transform: translateY(20px);
}

.gallery-item.reveal {
  transform: scale(0.94);
}

.gallery-item.reveal.is-visible {
  transform: scale(1);
}

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

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

.container { width: var(--container); margin-inline: auto; }

/* ── Top bar ── */
.topbar {
  background: var(--secondary);
  color: rgba(255,255,255,0.92);
  font-size: 0.8125rem;
  font-weight: 500;
  border-bottom: 2px solid var(--primary);
  position: relative;
  z-index: 1004;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--topbar-h);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar-email,
.topbar-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.8125rem;
}

.topbar-email:hover,
.topbar-whatsapp:hover { color: var(--accent); }

.topbar-email svg,
.topbar-whatsapp img {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.9;
}

.topbar-whatsapp img {
  filter: brightness(0) invert(1);
}

.topbar-whatsapp:hover img {
  filter: none;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-links li {
  display: flex;
  align-items: center;
  line-height: 0;
}

.social-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  place-content: center;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0;
  line-height: 0;
  text-decoration: none;
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
}

.social-icon img,
.social-icon svg {
  width: 18px;
  height: 18px;
  max-width: none;
  max-height: none;
  display: block;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
}

.social-icon img {
  filter: brightness(0) invert(1);
}

.social-icon:hover {
  transform: translateY(-1px);
}

.social-icon--instagram:hover { background: #E4405F; border-color: #E4405F; }
.social-icon--x:hover { background: #0f1419; border-color: #0f1419; }
.social-icon--youtube:hover { background: #FF0000; border-color: #FF0000; }

@media (min-width: 769px) {
  .social-links,
  .footer-social {
    gap: 0.85rem;
  }

  .social-icon {
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .footer-social .social-icon {
    background: transparent;
    border: none;
  }

  .social-icon img,
  .social-icon svg {
    width: 20px;
    height: 20px;
    opacity: 0.92;
    transition: opacity var(--transition), transform var(--transition);
  }

  .social-icon:hover {
    transform: translateY(-2px);
    background: transparent;
    border: none;
  }

  .social-icon--instagram:hover,
  .social-icon--x:hover,
  .social-icon--youtube:hover {
    background: transparent;
    border: none;
  }

  .social-icon:hover img,
  .social-icon:hover svg {
    opacity: 1;
  }
}

.lang-switch {
  display: flex;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  overflow: hidden;
}

.lang-switch a {
  padding: 0.3rem 0.85rem;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  background: transparent;
}

.lang-switch a.active {
  background: var(--accent);
  color: var(--secondary);
}

.lang-switch a:not(.active):hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

@media (min-width: 769px) {
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(1.75rem, 3vw, 2.75rem);
  }

  .logo {
    flex: 0 0 auto;
    margin-right: 0;
    padding-right: 0.25rem;
  }

  .main-nav {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    padding-inline: 0.5rem;
  }

  .menu-toggle {
    display: none;
  }
}

.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0.625rem 0;
  margin-right: 0.25rem;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
}

.main-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  list-style: none;
}

.nav-list > li { position: relative; flex: 0 0 auto; }

.nav-list > li > a,
.nav-list > li > button {
  display: block;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font);
  position: relative;
  transition: color var(--transition);
  white-space: nowrap;
  text-align: center;
  line-height: 1.25;
}

.nav-list > li > a::after,
.nav-list > li > button::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-list > li > a:hover,
.nav-list > li > a.active,
.nav-list > li > button:hover {
  color: var(--primary);
}

.nav-list > li > a:hover::after,
.nav-list > li > a.active::after,
.nav-list > li > button:hover::after {
  transform: scaleX(1);
}

.nav-list .dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--transition);
  list-style: none;
}

.nav-list li:hover .dropdown,
.nav-list li:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  border-radius: 6px;
}

.dropdown a::after { display: none; }

.dropdown a:hover,
.dropdown a.active {
  background: var(--bg-soft);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--secondary);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  top: calc(var(--topbar-h) + var(--header-h));
  background: rgba(0, 30, 60, 0.5);
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

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

/* ── Hero ── */
.hero {
  background: var(--primary-dark);
  color: #fff;
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,87,160,0.95) 0%, rgba(0,42,80,0.98) 100%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.02) 40px,
      rgba(255,255,255,0.02) 41px
    );
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(252,213,12,0.06));
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
}

.hero-content { max-width: 720px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-badge::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(1.625rem, 3.2vw, 2.375rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 0.5rem;
}

.stat-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  min-width: 200px;
}

.stat-item strong {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.stat-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

/* ── Banner slider ── */
.banner-slider {
  position: relative;
  min-height: 420px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #004080 100%);
  color: #fff;
  overflow: hidden;
}

.banner-slider__anim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.banner-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  filter: blur(1px);
}

.banner-orb--1 {
  width: 280px;
  height: 280px;
  top: -80px;
  right: 8%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  animation: orbFloat1 14s ease-in-out infinite;
}

.banner-orb--2 {
  width: 200px;
  height: 200px;
  bottom: -60px;
  left: 5%;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%);
  animation: orbFloat2 11s ease-in-out infinite;
}

.banner-orb--3 {
  width: 120px;
  height: 120px;
  top: 40%;
  right: 35%;
  border: 2px solid rgba(252, 213, 12, 0.4);
  background: transparent;
  animation: orbSpin 18s linear infinite;
}

.banner-orb--4 {
  width: 60px;
  height: 60px;
  top: 20%;
  left: 20%;
  background: var(--accent);
  opacity: 0.2;
  animation: orbFloat3 8s ease-in-out infinite;
}

.banner-shape {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  top: 15%;
  right: 12%;
  animation: shapeRotate 22s linear infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 25px) scale(1.08); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -20px); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translateY(0); opacity: 0.2; }
  50% { transform: translateY(-18px); opacity: 0.35; }
}

@keyframes orbSpin {
  to { transform: rotate(360deg); }
}

@keyframes shapeRotate {
  to { transform: rotate(360deg); }
}

.banner-slider__track {
  position: relative;
  min-height: 420px;
  z-index: 1;
}

.banner-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(40px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.7s;
  padding: 3.5rem 0 4.5rem;
}

.banner-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.banner-slide.is-exit {
  opacity: 0;
  transform: translateX(-40px);
}

.banner-slide .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

.banner-slide__content {
  max-width: 680px;
}

.banner-slide__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.banner-slide__badge::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.banner-slide h1,
.banner-slide h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.banner-slide p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.75rem;
  max-width: 560px;
}

.banner-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.banner-slide__visual {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 200px;
}

.banner-slide__card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  animation: cardPulse 4s ease-in-out infinite;
}

.banner-slide__card:nth-child(2) { animation-delay: 0.5s; }
.banner-slide__card:nth-child(3) { animation-delay: 1s; }

.banner-slide__card strong {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.banner-slide__card span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
}

@keyframes cardPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.banner-slider__controls {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.banner-slider__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all var(--transition);
  font-size: 1.125rem;
  line-height: 1;
}

.banner-slider__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--secondary);
}

.banner-slider__dots {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

.banner-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all var(--transition);
}

.banner-slider__dot.is-active {
  background: var(--accent);
  width: 28px;
  border-radius: 999px;
}

.banner-slider__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 2;
  width: 0%;
  transition: width 0.1s linear;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--secondary);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--secondary);
  box-shadow: 0 4px 16px rgba(252,213,12,0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.btn-blue {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-blue:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

/* ── Page hero ── */
  .page-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 2.75rem 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
}

.page-hero .container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.page-hero .breadcrumb {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.page-hero .breadcrumb a {
  color: var(--primary);
  font-weight: 600;
}

.page-hero .breadcrumb a:hover { text-decoration: underline; }

/* ── Sections ── */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-soft); }

.section-header {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-header.text-left {
  margin-left: 0;
  text-align: left;
}

.section-header h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.section-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 0.5rem auto 0;
}

.section-header.text-left .section-label::after { margin-left: 0; }

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  overflow: hidden;
}

.card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.card--link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card--link:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.card--link .card-arrow {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
}

.card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-muted);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .card-image img { transform: scale(1.03); }

.card-body { padding: 1.5rem; }

.card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.card-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Akademi / Publications ── */
.akademi-intro { margin-bottom: 2rem; }

.akademi-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.akademi-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--header-height, 72px) + 1rem);
  max-height: calc(100vh - var(--header-height, 72px) - 2rem);
  overflow-y: auto;
}

.akademi-group + .akademi-group {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.akademi-group__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.akademi-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.akademi-list__item {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: var(--bg-soft);
  color: var(--text);
  border-radius: var(--radius);
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: all var(--transition);
}

.akademi-list__item:hover,
.akademi-list__item.is-active {
  border-color: var(--primary-light);
  background: #fff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.akademi-viewer {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-width: 0;
}

.akademi-viewer__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.akademi-viewer__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}

.akademi-viewer__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.akademi-viewer__frame-wrap {
  position: relative;
  width: 100%;
  min-height: 70vh;
  background: var(--bg-muted);
}

.akademi-viewer__frame {
  display: block;
  width: 100%;
  height: 70vh;
  border: 0;
}

.akademi-viewer__hint {
  margin: 0;
  padding: 0.85rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.akademi-viewer__hint a {
  color: var(--primary);
  font-weight: 600;
}

.publication-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.publication-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.publication-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.publication-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.publication-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.publication-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}

.publication-card__link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.publication-card__link:hover { text-decoration: underline; }

.dropdown-label {
  padding: 0.55rem 1rem 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  pointer-events: none;
}

.dropdown--akademi {
  min-width: 220px;
  max-height: 70vh;
  overflow-y: auto;
}

.nav-list > li.has-dropdown:has(.dropdown a.active) > button {
  color: var(--primary);
}

/* ── Feature cards ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: all var(--transition);
  display: block;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-card .card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
}

/* ── Prose ── */
.content-wrap { max-width: 820px; margin: 0 auto; }

.prose h2, .prose h3, .prose h4 {
  color: var(--primary-dark);
  font-weight: 700;
  margin: 2rem 0 0.85rem;
  letter-spacing: -0.01em;
}

.prose h2 { font-size: 1.375rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--bg-muted); }
.prose h3 { font-size: 1.125rem; }
.prose h4 { font-size: 1rem; }

.prose p { margin-bottom: 1rem; color: var(--text); font-size: 0.9375rem; }
.prose ul, .prose ol { margin: 1rem 0 1rem 1.5rem; }
.prose li { margin-bottom: 0.4rem; font-size: 0.9375rem; }

.prose img {
  border-radius: var(--radius-lg);
  margin: 1.5rem auto;
  border: 1px solid var(--border);
}

.prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { text-decoration: none; }

.prose blockquote {
  border-left: 3px solid var(--primary);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.highlight-box {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 2rem 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.highlight-box h2 {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.highlight-box p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  margin: 0;
}

/* ── Team ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.team-section {
  margin-top: 2.75rem;
}

.team-section__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--accent);
}

.team-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: box-shadow var(--transition);
}

.team-card:hover { box-shadow: var(--shadow); }

.team-card--featured {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem;
  margin-bottom: 0.5rem;
}

.team-card--featured img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0;
  border: 3px solid var(--bg-muted);
}

.team-card--featured .team-card__body .role {
  text-align: left;
}

.team-card--featured h3 {
  text-align: left;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.team-card--featured p:last-child {
  margin: 0;
}

.team-card--compact {
  padding: 1.15rem 1rem;
  text-align: center;
  height: auto;
}

.team-card--compact .role {
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.team-card--compact h3 {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.team-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--bg-muted);
  display: block;
}

.team-card .role {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 0.35rem;
}

.team-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.85rem;
  color: var(--primary-dark);
}

.team-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Focus area pages ── */
.area-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.area-intro__icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.area-intro__icon svg {
  width: 34px;
  height: 34px;
  color: var(--primary);
}

.area-intro__content .section-label {
  display: block;
  text-align: left;
}

.area-intro__content .section-label::after {
  margin-left: 0;
}

.area-lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  margin: 0.75rem 0 0;
}

.area-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.area-highlight {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.area-highlight:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.area-highlight h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.65rem;
}

.area-highlight p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.area-related {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.area-related h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
}

.area-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.area-related__card {
  display: block;
  padding: 0.9rem 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-align: center;
  transition: all var(--transition);
}

.area-related__card:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

/* ── Partners ── */
.partners-intro {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.partner-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.partner-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.partner-card img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  display: block;
}

/* ── Completed Projects ── */
.projects-intro {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.project-section {
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.project-section:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.project-section__header {
  margin-bottom: 1.25rem;
}

.project-section__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.project-section__desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 820px;
}

.project-section__gallery {
  margin-top: 0.25rem;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-soft);
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

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

.contact-icon--whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.35);
}

.contact-icon--whatsapp img {
  width: 20px;
  height: 20px;
  filter: none;
}

.contact-info-item h4 {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.contact-info-item p a.contact-whatsapp {
  color: #128C7E;
  font-weight: 700;
}

.contact-info-item p a.contact-whatsapp:hover {
  color: var(--primary);
}

.contact-info-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.contact-form iframe {
  width: 100%;
  min-height: 620px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.form-demo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.8125rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9375rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,87,160,0.12);
}

/* ── Footer ── */
.site-footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.82);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 1.25rem;
  border-radius: 4px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 0;
}

.footer-social .social-icon {
  vertical-align: middle;
}

@media (max-width: 768px) {
  .footer-social .social-icon {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
  }
}

.footer-col h4 {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.footer-bottom__meta {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
  justify-self: start;
}

.footer-bottom__copy {
  min-width: 0;
  line-height: 1.45;
}

.footer-whatsapp-btn {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.25rem;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.28);
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.footer-whatsapp-btn img {
  width: 18px;
  height: 18px;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-whatsapp-btn:hover {
  background: #1fb855;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.footer-credit {
  text-align: left;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  line-height: 1.45;
}

.footer-credit a {
  color: rgba(255,255,255,0.72);
  font-weight: 600;
  transition: color var(--transition);
}

.footer-credit a:hover {
  color: var(--accent);
}

/* ── CTA ── */
.cta-strip {
  background: var(--primary);
  padding: 3rem 0;
  text-align: center;
  border-top: 4px solid var(--accent);
}

.cta-strip h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.cta-strip p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.cta-strip .btn-primary { margin-top: 0; }

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-soft);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
}

.empty-state .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--bg-muted);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-light);
}

.empty-state h3 {
  font-size: 1.125rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.empty-state p { color: var(--text-muted); font-size: 0.9375rem; }

/* ── Responsive ── */
@media (max-width: 1200px) {
  :root {
    --container: min(1140px, 94vw);
  }

  .header-inner {
    gap: 1.5rem;
  }

  .logo img {
    height: 50px;
    max-width: 190px;
  }

  .nav-list {
    gap: 0.35rem;
  }

  .nav-list > li > a,
  .nav-list > li > button {
    padding: 0.45rem 0.55rem;
    font-size: 0.68rem;
  }

  .nav-list > li > a::after,
  .nav-list > li > button::after {
    left: 0.55rem;
    right: 0.55rem;
  }
}

@media (max-width: 992px) {
  :root {
    --header-h: 76px;
  }

  .logo img {
    height: 50px;
    max-width: min(210px, 38vw);
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .stat-item {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .team-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .akademi-layout {
    grid-template-columns: 1fr;
  }

  .akademi-sidebar {
    position: static;
    max-height: none;
  }

  .publication-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card--featured {
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .team-card--featured img {
    width: 120px;
    height: 120px;
  }

  .area-intro {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.5rem;
  }

  .area-intro__icon {
    margin: 0 auto;
  }

  .area-intro__content .section-label {
    text-align: center;
  }

  .area-intro__content .section-label::after {
    margin-left: auto;
    margin-right: auto;
  }

  .area-highlights {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 68px;
    --topbar-h: 38px;
    --container: min(100%, 94vw);
  }

  body { font-size: 14px; }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1002;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h));
    left: 0;
    bottom: 0;
    right: auto;
    width: min(320px, 88vw);
    max-width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 2rem;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.32s;
    overflow-y: auto;
    overflow-x: hidden;
    border-right: 1px solid var(--border);
    z-index: 1003;
    -webkit-overflow-scrolling: touch;
    box-shadow: 8px 0 36px rgba(0, 40, 80, 0.16);
    visibility: hidden;
    pointer-events: none;
  }

  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid var(--border);
  }

  .mobile-nav-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0;
  }

  .mobile-nav-close {
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: border-color var(--transition), background-color var(--transition);
  }

  .mobile-nav-close span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--secondary);
    border-radius: 1px;
  }

  .mobile-nav-close span:first-child {
    transform: rotate(45deg);
  }

  .mobile-nav-close span:last-child {
    transform: rotate(-45deg);
  }

  .mobile-nav-close:hover {
    border-color: var(--primary);
    background: var(--bg-soft);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.25rem;
  }

  .nav-list > li > a,
  .nav-list > li > button {
    padding: 0.9rem 0.75rem;
    font-size: 0.875rem;
    width: 100%;
    text-align: left;
    min-height: 44px;
  }

  .nav-list > li > a::after { display: none; }

  .nav-list > li.has-dropdown > button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 2.25rem;
  }

  .nav-list > li.has-dropdown > button::after {
    display: block;
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    left: auto;
    bottom: auto;
    width: 8px;
    height: 8px;
    background: none;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.2s ease;
  }

  .nav-list > li.has-dropdown.dropdown-open > button::after {
    transform: translateY(-35%) rotate(-135deg);
  }

  .nav-list > li:not(.has-dropdown) > button::after { display: none; }

  .nav-list .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-soft);
    margin: 0.25rem 0 0.5rem 0.5rem;
    padding: 0.35rem;
    display: none;
  }

  .nav-list li.dropdown-open .dropdown { display: block; }

  .dropdown a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .logo {
    padding: 0.5rem 0;
    margin-right: 0;
  }

  .logo img {
    height: 44px;
    max-width: min(170px, 54vw);
  }

  .topbar .container {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .topbar-right {
    gap: 0.65rem;
    flex-shrink: 0;
  }

  .topbar-email span.email-text { display: none; }

  .topbar-whatsapp .whatsapp-label { display: none; }

  .lang-switch a {
    padding: 0.35rem 0.65rem;
    min-width: 36px;
    text-align: center;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .hero {
    padding: 2.75rem 0 2.25rem;
  }

  .banner-slider,
  .banner-slider__track {
    min-height: 380px;
  }

  .banner-slide {
    padding: 2.5rem 0 4rem;
  }

  .banner-slide .container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .banner-slide__visual {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }

  .banner-slide__card {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 140px;
  }

  .banner-slide h1,
  .banner-slide h2 {
    font-size: clamp(1.25rem, 5vw, 1.625rem);
  }

  .banner-slide__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .banner-slide__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .banner-slider__controls {
    bottom: 1rem;
  }

  .banner-shape,
  .banner-orb--3 {
    display: none;
  }

  .hero h1 {
    font-size: clamp(1.375rem, 5.5vw, 1.875rem);
  }

  .hero p {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .stat-item {
    flex: 1 1 100%;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .publication-grid {
    grid-template-columns: 1fr;
  }

  .akademi-viewer__frame-wrap {
    display: none;
  }

  .akademi-viewer__hint {
    padding: 1.5rem 1.25rem;
    text-align: center;
    font-size: 0.9375rem;
  }

  .akademi-viewer__actions {
    width: 100%;
  }

  .akademi-viewer__actions .btn {
    flex: 1;
    justify-content: center;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand img {
    margin-inline: auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-col {
    text-align: center;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.1rem 0 1.35rem;
  }

  .footer-bottom__meta {
    grid-column: 1;
    align-items: center;
    justify-self: center;
    gap: 0.4rem;
    width: 100%;
  }

  .footer-bottom__copy,
  .footer-credit {
    text-align: center;
    white-space: normal;
  }

  .footer-whatsapp-btn {
    grid-column: 1;
    justify-self: center;
    width: min(100%, 280px);
    margin-top: 0.35rem;
  }

  .footer-col h4 {
    display: block;
  }

  .page-hero {
    padding: 2rem 0;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  .highlight-box {
    padding: 1.5rem;
  }

  .highlight-box p {
    font-size: 0.9375rem;
  }

  .contact-form iframe {
    min-height: 480px;
  }

  .contact-info-card {
    padding: 1.5rem;
  }

  .cta-strip {
    padding: 2.25rem 0;
  }

  .cta-strip h2 {
    font-size: 1.2rem;
  }

  .prose img {
    width: 100%;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .team-card--featured {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-card--featured img {
    margin: 0 auto;
  }

  .team-card--featured .team-card__body .role,
  .team-card--featured h3 {
    text-align: center;
  }

  .team-card--compact {
    padding: 1rem 0.75rem;
  }

  .team-card img {
    width: 100px;
    height: 100px;
  }

  .page-loader__logo {
    width: min(260px, 90vw);
  }

  .page-loader__ring {
    width: 40px;
    height: 40px;
  }

  .banner-slider,
  .banner-slider__track {
    min-height: 340px;
  }

  .banner-slide__visual {
    flex-direction: column;
  }

  .banner-slide__card {
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  :root {
    --container: min(100%, 92vw);
  }

  .topbar {
    font-size: 0.75rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.8125rem;
  }

  .feature-card {
    padding: 1.35rem 1.15rem;
  }

  .card-body {
    padding: 1.25rem;
  }

  .empty-state {
    padding: 2.5rem 1.25rem;
  }
}

@media (max-width: 360px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .lang-switch a {
    padding: 0.3rem 0.5rem;
    font-size: 0.6875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .page-loader { display: none !important; }

  body.is-loading { overflow: auto; }
}
