/* Bardakçı Eğitim ve Dayanışma Vakfı — VKV-inspired layout, BEDVAK brand */

@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap");

:root {
  --navy: #0f2557;
  --navy-deep: #0a1a3d;
  --navy-soft: #1a3a6e;
  --orange: #e87722;
  --orange-hot: #f08a3a;
  --ink: #1c1c1c;
  --muted: #5a5f6a;
  --line: #d8dce3;
  --paper: #f3f1ec;
  --paper-2: #ebe7df;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(15, 37, 87, 0.08);
  --max: 980px;
  --shell: 1000px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Libre Baskerville", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --page-bg: #d9d5cd;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* VKV-like narrow centered shell */
.site-shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(15, 37, 87, 0.06), 0 18px 50px rgba(15, 37, 87, 0.12);
  min-height: 100vh;
}

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

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

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

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Top bar — VKV utility strip */
.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  flex-wrap: wrap;
  padding: 0.35rem 0;
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.lang a {
  opacity: 0.75;
  letter-spacing: 0.04em;
}

.lang a.is-active,
.lang a:hover {
  opacity: 1;
  color: var(--orange-hot);
}

.lang__sep {
  opacity: 0.45;
}

.topbar__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1rem;
}

.topbar__links a {
  opacity: 0.9;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.topbar__links a:hover {
  color: var(--orange-hot);
  opacity: 1;
}

.topbar__links a.accent {
  color: var(--orange-hot);
  font-weight: 700;
  opacity: 1;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  animation: bv-fade-in 0.55s var(--ease) both;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

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

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.brand__tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
}

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

.main-nav > li {
  position: relative;
}

.main-nav > li > a {
  display: block;
  padding: 0.85rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.2s var(--ease);
}

.main-nav > li > a:hover,
.main-nav > li:focus-within > a,
.main-nav > li.is-open > a {
  color: var(--orange);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 50;
}

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

.dropdown a {
  display: block;
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  border-left: 3px solid transparent;
}

.dropdown a strong,
.side-nav a strong,
.footer-links a strong,
.topbar__links a strong {
  font-weight: 700;
  color: inherit;
}

.dropdown a:hover {
  background: var(--paper);
  border-left-color: var(--orange);
  color: var(--navy);
}

.header-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--paper);
}

.header-search input {
  border: 0;
  background: transparent;
  padding: 0.45rem 0.85rem;
  width: 140px;
  outline: none;
  font-size: 0.88rem;
}

.header-search button {
  border: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}

/* Hero slider — images keep original aspect, no crop */
.hero {
  position: relative;
  background: var(--paper);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(232, 119, 34, 0.08), transparent 45%),
    linear-gradient(180deg, rgba(243, 241, 236, 0.15), rgba(243, 241, 236, 0.55));
  pointer-events: none;
  z-index: 1;
}

.hero__slides {
  position: relative;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 1.75rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: 2rem 0 3.5rem;
  z-index: 0;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 2;
  position: relative;
  pointer-events: auto;
}

.hero__media {
  position: relative;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: auto;
  max-height: min(52vh, 480px);
  object-fit: contain;
  object-position: center;
  display: block;
  filter: saturate(1.02);
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding-right: 1rem;
}

.hero__eyebrow {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero__copy h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 1rem;
}

.hero__copy p {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36ch;
}

.hero__controls {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
}

.hero__btn:hover {
  background: var(--navy);
  color: var(--white);
}

.hero__dots {
  display: flex;
  gap: 0.35rem;
}

.hero__dots button {
  width: 12px;
  height: 12px;
  border: 1px solid var(--navy);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.hero__dots button.is-active {
  background: var(--orange);
  border-color: var(--orange);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  font-weight: 650;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

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

.btn--primary {
  background: var(--orange);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--orange-hot);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn--ghost:hover {
  background: var(--navy);
  color: var(--white);
}

/* Home split: pillars + news */
.home-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pillars {
  background: var(--white);
  padding: 2.75rem 0 3rem;
}

.pillars__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.pillar {
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-top: 4px solid var(--navy);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.pillar:nth-child(even) {
  padding-left: 1.5rem;
  border-right: 0;
}

.pillar:nth-child(n + 3) {
  border-bottom: 0;
}

.pillar.is-visible {
  opacity: 1;
  transform: none;
}

.pillar:nth-child(2) {
  border-top-color: #6b7280;
}

.pillar:nth-child(3) {
  border-top-color: var(--orange);
}

.pillar:nth-child(4) {
  border-top-color: #2f6f8f;
}

.pillar__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.pillar h2 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pillar p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.pillar a.more {
  color: var(--orange);
  font-weight: 650;
  font-size: 0.9rem;
}

.news-col {
  background: var(--paper);
  padding: 2.75rem 0 3rem;
  border-left: 1px solid var(--line);
}

.news-col__inner {
  padding: 0 1.75rem;
}

.news-col h2 {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  color: var(--navy);
  font-family: var(--display);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.news-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.9rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.news-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.news-item img {
  width: 88px;
  height: 72px;
  object-fit: contain;
  object-position: center;
  background: var(--paper-2);
}

.news-item h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--navy);
}

.news-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item:hover h3 {
  color: var(--orange);
}

/* About strip */
.about-strip {
  background:
    linear-gradient(120deg, rgba(15, 37, 87, 0.92), rgba(15, 37, 87, 0.78)),
    url("../img/slider/25041.jpg") center/cover;
  color: var(--white);
  padding: 3.5rem 0;
}

.about-strip h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
}

.about-strip p {
  margin: 0 0 1.4rem;
  max-width: 68ch;
  opacity: 0.92;
  font-size: 1.05rem;
}

/* CTA band */
.cta-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy-deep);
  color: var(--white);
}

.cta-band a {
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.25s var(--ease);
}

.cta-band a:last-child {
  border-right: 0;
}

.cta-band a:hover {
  background: rgba(232, 119, 34, 0.18);
}

.cta-band strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--orange-hot);
}

.cta-band span {
  font-size: 0.92rem;
  opacity: 0.85;
}

/* Refs */
.refs {
  padding: 3rem 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.refs h2 {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  color: var(--navy);
}

.refs__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.refs__track img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.25s, opacity 0.25s;
}

.refs__track img:hover {
  filter: none;
  opacity: 1;
}

/* Page hero / inner */
.page-hero {
  background:
    linear-gradient(100deg, var(--navy) 0%, var(--navy-soft) 70%),
    var(--navy);
  color: var(--white);
  padding: 2.75rem 0 2.4rem;
}

.page-hero__crumb {
  font-size: 0.82rem;
  opacity: 0.75;
  margin-bottom: 0.65rem;
}

.page-hero__crumb a:hover {
  color: var(--orange-hot);
}

.page-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
}

.page-body {
  padding: 2.75rem 0 4rem;
  background: var(--paper);
}

.page-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 920px;
}

.page-body > .container > .page-panel {
  max-width: none;
}

.page-panel h2 {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 1.35rem;
}

.page-panel p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.page-panel p:last-child {
  margin-bottom: 0;
}

.page-panel ul.content-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  list-style: disc;
  color: var(--muted);
}

.page-panel ul.content-list li {
  margin-bottom: 0.45rem;
}

.page-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.side-nav {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 0;
  position: sticky;
  top: 100px;
}

.side-nav h3 {
  margin: 0 1rem 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.side-nav a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  border-left: 3px solid transparent;
}

.side-nav a:hover,
.side-nav a.is-active {
  background: var(--paper);
  border-left-color: var(--orange);
  font-weight: 650;
}

.side-nav a.is-active strong {
  color: var(--orange);
}

.page-panel strong,
.page-panel b {
  font-weight: 700;
  color: var(--navy);
}

/* Forms */
.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid.two {
  grid-template-columns: 1fr 1fr;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.7rem 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}

.field input[type="file"] {
  padding: 0.55rem 0.65rem;
  background: var(--paper);
  cursor: pointer;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy);
}

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

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  padding-top: 0.45rem;
}

.radio,
.check {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.radio input,
.check input {
  width: auto;
  margin-top: 0.2rem;
}

.field--check {
  margin-top: 0.35rem;
}

.form-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}

.form-info {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 1rem 1.1rem;
}

.form-info h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--navy);
}

.form-info p {
  margin: 0 !important;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-info--warn {
  border-color: rgba(232, 119, 34, 0.45);
  background: #fff7f0;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 1rem;
}

.iban-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
}

.iban-box {
  background: var(--paper);
  border-left: 4px solid var(--orange);
  padding: 1rem 1.15rem;
  margin: 0;
}

.iban-box p {
  margin: 0 0 0.4rem !important;
}

.iban-box p:last-child {
  margin-bottom: 0 !important;
}

.iban-box__label {
  color: var(--navy) !important;
  font-weight: 700 !important;
  font-size: 0.95rem;
  margin-bottom: 0.65rem !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.iban-box strong {
  color: var(--navy);
}

.iban-box__num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
  word-break: break-all;
}

@media (max-width: 780px) {
  .iban-grid,
  .form-info-grid {
    grid-template-columns: 1fr;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.contact-card h2 {
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-size: 1.15rem;
}

.contact-card p {
  margin: 0 0 0.5rem;
  color: var(--muted);
}

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

.gallery-grid figure {
  margin: 0;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.gallery-thumb {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.gallery-thumb:hover {
  opacity: 0.92;
  transform: scale(1.01);
}

.gallery-thumb:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  object-position: center;
}

/* Lightbox gallery */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(8, 14, 28, 0.92);
  backdrop-filter: blur(4px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox__inner {
  position: relative;
  width: min(100%, 1100px);
  max-height: calc(100vh - 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.lightbox__img-wrap {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 7rem);
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.lightbox__caption {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  text-align: center;
  max-width: 40rem;
}

.lightbox__counter {
  position: absolute;
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  z-index: 2;
  pointer-events: none;
}

.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 2;
}

.lightbox__btn:hover {
  background: rgba(232, 119, 34, 0.35);
  border-color: var(--orange);
}

.lightbox__btn--prev {
  left: 0.75rem;
}

.lightbox__btn--next {
  right: 0.75rem;
}

.lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 3;
  display: grid;
  place-items: center;
}

.lightbox__close:hover {
  background: rgba(232, 119, 34, 0.35);
  border-color: var(--orange);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 780px) {
  .lightbox__btn--prev {
    left: 0.35rem;
  }

  .lightbox__btn--next {
    right: 0.35rem;
  }

  .lightbox__btn,
  .lightbox__close {
    width: 38px;
    height: 38px;
  }
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 1.25rem 0 1.5rem;
}

.video-card {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  background: #000;
}

.video-card figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.video-card figcaption a:hover {
  color: var(--orange);
}

.video-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

.media-frame {
  margin: 0 0 1.25rem;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-frame--after {
  margin: 1.5rem 0 0;
}

.media-frame img {
  width: 100%;
  height: auto;
  max-height: min(70vh, 640px);
  object-fit: contain;
  object-position: center;
}

.alert {
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.alert--ok {
  border-color: #86b38a;
  background: #eef7ef;
  color: #1f4d24;
}

.alert--err {
  border-color: #d4a0a0;
  background: #fbf0f0;
  color: #6b2020;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.88);
  padding: 3rem 0 1.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h3 {
  margin: 0 0 1rem;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.site-footer p {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  opacity: 0.85;
}

.site-footer a:hover {
  color: var(--orange-hot);
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a {
  font-size: 0.92rem;
  opacity: 0.85;
}

.footer-brand > img {
  width: 52px;
  margin-bottom: 0.85rem;
  background: var(--white);
  padding: 0.35rem;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.social--top {
  margin-top: 0;
}

.social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.social--top a {
  width: 28px;
  height: 28px;
  border-color: rgba(255, 255, 255, 0.35);
}

.social a:hover {
  border-color: var(--orange);
  background: rgba(232, 119, 34, 0.2);
  transform: translateY(-1px);
}

.social img {
  width: 16px;
  height: 16px;
  display: block;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.social--top img {
  width: 14px;
  height: 14px;
}

.footer-social-label {
  margin: 1rem 0 0 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7 !important;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 0.25rem;
}

.certificate-grid figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.55rem 0.55rem 0.7rem;
  transition: border-color 0.2s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.certificate-grid a {
  display: block;
  background: #fff;
}

.certificate-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.certificate-grid figcaption {
  margin-top: 0.55rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.certificate-grid figure:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.social-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.25rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  font-weight: 650;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.social-card img {
  width: 28px;
  height: 28px;
  filter: brightness(0) saturate(100%);
  opacity: 0.85;
}

.social-card:hover {
  border-color: var(--orange);
  background: #fff;
  transform: translateY(-2px);
  color: var(--orange);
}

.social-card:hover img {
  filter: brightness(0) saturate(100%) invert(52%) sepia(79%) saturate(1478%) hue-rotate(352deg) brightness(97%) contrast(92%);
  opacity: 1;
}

@media (max-width: 780px) {
  .social-cards {
    grid-template-columns: 1fr 1fr;
  }

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

  .topbar__right {
    width: 100%;
    justify-content: space-between;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  opacity: 0.75;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.footer-credit a {
  color: var(--orange-hot);
  font-weight: 650;
  opacity: 1;
}

.footer-credit a:hover {
  color: #fff;
}

/* Motion helpers — corporate, calm, purposeful */
@keyframes bv-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes bv-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bv-soft-zoom {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

@keyframes bv-slide-in-left {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: none; }
}

.brand {
  animation: bv-slide-in-left 0.65s var(--ease) both;
}

.hero__slide.is-active .hero__media img {
  animation: bv-soft-zoom 6.5s var(--ease) both;
}

.hero__slide.is-active .hero__eyebrow,
.hero__slide.is-active .hero__copy h1,
.hero__slide.is-active .hero__copy p,
.hero__slide.is-active .hero__copy .btn {
  animation: bv-fade-up 0.7s var(--ease) both;
}

.hero__slide.is-active .hero__eyebrow { animation-delay: 0.08s; }
.hero__slide.is-active .hero__copy h1 { animation-delay: 0.18s; }
.hero__slide.is-active .hero__copy p { animation-delay: 0.3s; }
.hero__slide.is-active .hero__copy .btn { animation-delay: 0.42s; }

.hero__controls {
  animation: bv-fade-in 0.8s var(--ease) 0.35s both;
}

.reveal,
.pillar,
.news-item,
.cta-band a,
.page-hero,
.page-panel,
.side-nav,
.gallery-grid figure,
.certificate-grid figure,
.video-card,
.contact-card,
.form-info {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-visible,
.pillar.is-visible,
.news-item.is-visible,
.cta-band a.is-visible,
.page-hero.is-visible,
.page-panel.is-visible,
.side-nav.is-visible,
.gallery-grid figure.is-visible,
.certificate-grid figure.is-visible,
.video-card.is-visible,
.contact-card.is-visible,
.form-info.is-visible {
  opacity: 1;
  transform: none;
}

.pillar {
  transition-property: opacity, transform, box-shadow, border-color;
}

.pillar.is-visible:hover {
  transform: translateY(-4px);
}

.news-item {
  transition-property: opacity, transform, background, border-color;
}

.news-item.is-visible:hover {
  transform: translateX(4px);
}

.cta-band a {
  transition-property: opacity, transform, background, filter;
}

.cta-band a.is-visible:hover {
  transform: translateY(-3px);
}

.page-hero h1 {
  position: relative;
}

.page-hero.is-visible h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 0.85rem;
  background: linear-gradient(90deg, var(--orange), transparent);
  animation: bv-fade-in 0.7s var(--ease) 0.25s both;
}

.refs__track img {
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease), opacity 0.35s;
  filter: grayscale(0.35);
  opacity: 0.85;
}

.refs__track img:hover {
  transform: translateY(-3px) scale(1.03);
  filter: grayscale(0);
  opacity: 1;
}

.gallery-thumb:hover img,
.certificate-grid figure:hover img {
  transform: scale(1.02);
  transition: transform 0.45s var(--ease);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22), transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease);
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(120%);
}

.footer-grid > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.footer-grid.is-visible > * {
  opacity: 1;
  transform: none;
}

.footer-grid.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.footer-grid.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.footer-grid.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.footer-grid.is-visible > *:nth-child(4) { transition-delay: 0.26s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .pillar,
  .news-item,
  .cta-band a,
  .page-hero,
  .page-panel,
  .side-nav,
  .gallery-grid figure,
  .certificate-grid figure,
  .video-card,
  .contact-card,
  .form-info,
  .footer-grid > * {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero__slide {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.75rem 0 4rem;
  }

  .hero__media img {
    height: auto;
    max-height: min(42vh, 360px);
  }

  .home-split,
  .page-layout,
  .contact-grid,
  .form-grid.two,
  .cta-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .news-col {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .cta-band a {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .header-search {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 1rem;
    display: none;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > li > a {
    padding: 0.85rem 1.25rem;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--line);
    margin: 0 1.25rem 0.5rem;
    display: none;
    min-width: 0;
  }

  .main-nav > li.is-open > .dropdown {
    display: block;
  }

  .site-header__inner {
    position: relative;
    min-height: 72px;
  }

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

  .pillar,
  .pillar:nth-child(even) {
    padding: 1.4rem 0;
    border-right: 0;
  }

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

  .side-nav {
    position: static;
  }
}

@media (max-width: 560px) {
  .topbar__links {
    gap: 0.35rem 0.75rem;
  }

  .brand__tag {
    display: none;
  }

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

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

  .news-col__inner {
    padding: 0;
  }

  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .site-shell {
    box-shadow: none;
  }
}

@media (max-width: 1020px) {
  .site-shell {
    width: 100%;
  }
}
