/* ==========================================================================
   TKQ An-Naurah Islamic School — style.css
   Token dasar → reset → layout global → komponen → section → responsive
   ========================================================================== */

:root {
  /* Warna */
  --color-ink: #1e3a34;
  --color-primary: #4f7a5d;
  --color-primary-dark: #34513e;
  --color-primary-light: #e7efe5;
  --color-gold: #e3a63e;
  --color-gold-dark: #b77f22;
  --color-paper: #f6f5ee;
  --color-white: #ffffff;
  --color-blush: #f4e6d6;
  --color-text: #23342e;
  --color-text-muted: #5c6f68;
  --color-border: #e1dfd2;

  /* Tipografi */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-hand: "Caveat", cursive;

  /* Ukuran & irama */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(30, 58, 52, 0.06);
  --shadow-md: 0 12px 32px rgba(30, 58, 52, 0.1);
  --wrap: 1180px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 0.85, 0.32, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

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

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

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--color-ink);
  font-weight: 600;
}
p {
  margin: 0;
}
button {
  font-family: inherit;
  cursor: pointer;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2.5px solid var(--color-gold);
  outline-offset: 3px;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Botones / Chips comunes
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
}
.btn--gold {
  background: var(--color-gold);
  color: var(--color-ink);
}
.btn--gold:hover {
  background: var(--color-gold-dark);
  color: #fff;
}
.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(246, 245, 238, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    height 0.3s var(--ease);
}
.navbar.is-scrolled {
  height: 64px;
  border-color: var(--color-border);
  box-shadow: 0 4px 20px rgba(30, 58, 52, 0.05);
}
.navbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  display: inline-flex;
  flex-shrink: 0;
}
.brand__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
}
.footer__brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__brand-row .brand__logo {
  width: 52px;
  height: 52px;
  background: var(--color-white);
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-ink);
}
.brand__text em {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.brand__text--footer strong {
  color: #fff;
  font-size: 1.3rem;
}
.brand__text--footer em {
  color: var(--color-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--color-gold);
  transition: right 0.28s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.is-active::after {
  right: 0;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 3px;
}
.lang-btn {
  border: none;
  background: transparent;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  color: var(--color-text-muted);
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}
.lang-btn.is-active {
  background: var(--color-ink);
  color: #fff;
}

.nav-cta {
  white-space: nowrap;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 0;
  overflow: hidden;
  color: #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__photo-placeholder {
  position: absolute;
  inset: 0;
}
.hero__photo-placeholder svg {
  width: 100%;
  height: 100%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 38, 33, 0.55) 0%,
    rgba(20, 38, 33, 0.72) 60%,
    var(--color-paper) 100%
  );
}

.hero__petal {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50% 0 50% 50%;
  background: var(--color-gold);
  opacity: 0.55;
  animation: drift 9s ease-in-out infinite;
}
.hero__petal--1 {
  top: 22%;
  left: 12%;
  animation-delay: 0s;
}
.hero__petal--2 {
  top: 40%;
  left: 82%;
  width: 10px;
  height: 10px;
  animation-delay: 2.4s;
}
.hero__petal--3 {
  top: 65%;
  left: 30%;
  width: 8px;
  height: 8px;
  animation-delay: 4.8s;
}
@keyframes drift {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-24px) rotate(25deg);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-top: 30px;
  padding-bottom: 90px;
}
.eyebrow {
  font-family: var(--font-hand);
  font-size: 2.35rem;
  color: var(--color-gold-dark);
  margin-bottom: 6px;
  display: inline-block;
}
.eyebrow--light {
  color: var(--color-gold);
}

.hero__title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  color: #fff;
  line-height: 1.14;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--color-white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-md);
  padding: 30px 24px;
  gap: 18px;
  transform: translateY(0);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--color-primary);
  font-weight: 600;
}
.stat__label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Sections general
   ========================================================================== */
.section {
  padding: 40px 0;
}
.section--tinted {
  background: var(--color-blush);
  background: linear-gradient(
    180deg,
    var(--color-paper),
    #f1eada 50%,
    var(--color-paper)
  );
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  position: relative;
  padding-bottom: 18px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 78px;
  height: 10px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--color-gold) 0 8px,
    transparent 8px 14px
  );
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: 0 5px;
}
.section-sub {
  margin-top: 14px;
  color: var(--color-text-muted);
  font-size: 1rem;
}
.subsection-title {
  font-size: 1.25rem;
  margin: 44px 0 20px;
}

/* ---------- Profil ---------- */
.profil-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.profil-text p {
  margin-bottom: 16px;
  color: var(--color-text);
}
.profil-text p:last-child {
  margin-bottom: 0;
}

.profil-media {
  position: relative;
}
.media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-white);
  cursor: pointer;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.media-card:hover,
.media-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg, var(--shadow-md));
  outline: none;
}
.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 52, 0);
  transition: background 0.25s var(--ease);
  pointer-events: none;
}
.media-card:hover::after,
.media-card:focus-visible::after {
  background: rgba(30, 58, 52, 0.08);
}
.media-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 400 / 460;
  object-fit: cover;
  display: block;
}
.notebook-lines {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 90px;
  height: 90px;
  background-image: repeating-linear-gradient(
    180deg,
    var(--color-primary) 0 2px,
    transparent 2px 16px
  );
  opacity: 0.35;
  z-index: -1;
}

/* ---------- Visi Misi ---------- */
.vm-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
}
.vm-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.vm-card--visi {
  background: var(--color-primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.vm-card--visi .vm-card__label {
  color: var(--color-gold);
}
.vm-card--visi .vm-card__text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.4;
}
.vm-card__label {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--color-gold-dark);
  display: block;
  margin-bottom: 14px;
}
.misi-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: misi;
}
.misi-list li {
  position: relative;
  padding-left: 40px;
  counter-increment: misi;
  color: var(--color-text);
}
.misi-list li::before {
  content: counter(misi);
  position: absolute;
  left: 0;
  top: -2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Sejarah / timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 40px;
  padding-left: 34px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 0;
  border-left: 2px dashed var(--color-primary);
  opacity: 0.5;
}
.timeline__item {
  position: relative;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid var(--color-paper);
  box-shadow: 0 0 0 2px var(--color-primary);
}
.timeline__year {
  font-family: var(--font-hand);
  color: var(--color-primary-dark);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 4px;
}
.timeline__item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.timeline__item p {
  color: var(--color-text-muted);
  max-width: 560px;
}

/* ---------- Program ---------- */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.chip-grid li {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.94rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.chip-grid li::before {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50% 50% 50% 0;
  background: var(--color-primary);
  transform: rotate(45deg);
}
.chip-grid--gold li::before {
  background: var(--color-gold);
}
.chip-grid li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--color-primary);
}

/* ---------- Fasilitas ---------- */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
}
.facility-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 0.96rem;
}
.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.facility-card__icon {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
}

/* ---------- Kegiatan / Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.gallery-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  cursor: pointer;
}
.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.gallery-card__cover {
  aspect-ratio: 4/3;
  background: var(--color-primary-light);
  overflow: hidden;
  position: relative;
}
.gallery-card__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 52, 0);
  transition: background 0.25s var(--ease);
}
.gallery-card:hover .gallery-card__cover::after {
  background: rgba(30, 58, 52, 0.08);
}
.gallery-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-card.is-empty .gallery-card__cover img {
  display: none;
}
.gallery-card.is-empty {
  cursor: default;
}
.gallery-card.is-empty:hover {
  transform: none;
  box-shadow: none;
}
.gallery-card__title {
  padding: 18px 20px 22px;
  font-size: 1.08rem;
  text-align: center;
}
.gallery-note {
  margin-top: 30px;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* ---------- Lightbox galeri kegiatan ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(20, 38, 33, 0.92);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s var(--ease),
    visibility 0.3s var(--ease);
  padding: 24px;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: min(880px, 86vw);
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}
.lightbox__title {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.1rem;
  text-align: center;
}
.lightbox__counter {
  font-family: var(--font-hand);
  color: var(--color-gold);
  font-size: 1.05rem;
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease);
}
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.12);
}
.lightbox__nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease);
}
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- Kontak ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: stretch;
}
.contact-info {
  background: var(--color-ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-item__label {
  font-family: var(--font-hand);
  color: var(--color-gold);
  font-size: 1.15rem;
  display: block;
  margin-bottom: 6px;
}
.contact-item p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}
.text-link {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(227, 166, 62, 0.4);
  padding-bottom: 2px;
}
.text-link:hover {
  border-color: var(--color-gold);
}
.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: auto;
}
.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.social-icon:hover {
  background: var(--color-gold);
  color: var(--color-ink);
  transform: translateY(-3px);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__brand p {
  margin-top: 14px;
  max-width: 320px;
}
.footer__naungan {
  margin-top: 10px !important;
  font-size: 0.85rem;
  color: var(--color-gold);
}
.footer__links,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 4px;
}
.footer__links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}
.footer__links a:hover {
  color: var(--color-gold);
}
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s var(--ease);
}
.footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-gold);
}
.footer__contact-item:hover {
  color: var(--color-gold);
}
.footer__bottom {
  padding: 22px 24px;
  font-size: 0.82rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-ink);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    background 0.3s var(--ease);
  z-index: 90;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--color-primary);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .navbar.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 4px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  .navbar.is-open .nav-links a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-cta {
    display: none;
  }

  .profil-grid,
  .vm-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .profil-media {
    order: -1;
    max-width: 340px;
    margin-inline: auto;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding-inline: 18px;
  }
  .section {
    padding: 32px 0;
  }
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__content {
    padding-bottom: 70px;
  }
  .lang-switch {
    order: -1;
  }
  .navbar__actions {
    gap: 8px;
  }
  .lightbox {
    gap: 6px;
    padding: 14px;
  }
  .lightbox__nav {
    width: 38px;
    height: 38px;
  }
  .lightbox__close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }
  .lightbox__stage img {
    max-height: 62vh;
  }
}
