/* =========================================================
   AUSVEG — Shared Styles
   Light, professional theme with red / gold brand accents.
   Hero keeps a dark video treatment for cinematic contrast.
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --black:        #0e0e10;
  --black-soft:   #18181b;
  --black-card:   #1f1f23;
  --red:          #d1001f;
  --red-dark:     #a3001a;
  --gold:         #f2c11c;
  --gold-soft:    #f7d658;
  --white:        #ffffff;
  --off-white:    #f7f6f2;
  --gray-100:     #efeee9;
  --gray-300:     #cfceca;
  --gray-500:     #8a8a8e;
  --text-dark:    #1a1a1c;
  --text-muted:   #6b6b6f;
  --header-bg:    rgba(255, 255, 255, 0.9);

  /* Fixed tokens: never change with theme — used for text/icons that always
     sit on a dark or brand-colored surface (video heroes, gradient icon
     chips), or a surface that itself never inverts (e.g. the glass hero
     panel, which stays light even in dark mode). */
  --on-dark:          #ffffff;
  --ink-fixed:        #1a1a1c;
  --ink-muted-fixed:  #6b6b6f;

  color-scheme: light;

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --white:        #1c1c20;
  --off-white:    #101012;
  --gray-100:     #232327;
  --gray-300:     #37373c;
  --gray-500:     #9a9aa0;
  --text-dark:    #f1f1f2;
  --text-muted:   #adadb3;
  --header-bg:    rgba(16, 16, 18, 0.85);
  --shadow: 0 10px 30px rgba(0,0,0,0.5);
}

body,
.site-header,
.info-card,
.value-card,
.svc-item,
.contact-info-item,
.contact-form,
.nav-dropdown,
.lang-menu,
.main-nav,
.page-hero,
.section-dark,
.form-group input,
.form-group select,
.form-group textarea {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

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

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

@media (max-width: 720px) {
  section { padding: 64px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-title span { color: var(--red); }

.section-lead {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

.section-head {
  text-align: left;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head.center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--red);
  color: var(--on-dark);
  box-shadow: 0 8px 22px rgba(209, 0, 31, 0.28);
}

.btn-primary:hover { background: var(--red-dark); }

.btn-gold {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 8px 22px rgba(242, 193, 28, 0.3);
}

.btn-gold:hover { background: var(--gold-soft); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--on-dark);
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--text-dark);
  color: var(--text-dark);
}

.btn-outline-dark:hover { border-color: var(--red); color: var(--red); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background:
    linear-gradient(90deg, rgba(10,10,12,0.72), rgba(10,10,12,0.55) 55%, rgba(10,10,12,0.72)),
    url('../img/header-bg.jpg') center 32%/cover no-repeat;
  border-bottom: 1px solid rgba(242,193,28,0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  flex-shrink: 0;
  background: rgba(255,255,255,0.94);
  padding: 6px 12px;
  border-radius: 10px;
}

.logo span { color: var(--gold); }

.logo-full-img {
  height: 60px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.footer-brand .logo-full-img { height: 84px; }

.main-nav ul {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active { color: var(--on-dark); }

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.header-cta { flex-shrink: 0; }

/* ---------- Nav dropdown (hover to reveal services) ---------- */

.has-dropdown { position: relative; }

.nav-caret {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 5px;
  vertical-align: -1px;
  transition: transform var(--transition);
}

.has-dropdown:hover .nav-caret,
.has-dropdown:focus-within .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 240px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.28);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 1100;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--white);
  border-radius: 2px;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: background var(--transition), color var(--transition);
}

.nav-dropdown a:hover {
  background: var(--off-white);
  color: var(--red);
}

/* ---------- Language switcher ---------- */

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.95);
  color: var(--ink-fixed);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.lang-current:hover { border-color: var(--red); }

.lang-current .flag-emoji { font-size: 1.05rem; line-height: 1; }

.lang-current svg { transition: transform var(--transition); flex-shrink: 0; }

.lang-switcher.open .lang-current svg { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.2);
  border: 1px solid var(--gray-100);
  padding: 8px;
  min-width: 170px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 1200;
}

.lang-switcher.open .lang-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.lang-option .flag-emoji { font-size: 1.1rem; }

.lang-option:hover { background: var(--off-white); }

.lang-option.active { background: rgba(209,0,31,0.08); color: var(--red); }

/* ---------- Theme toggle (dark / light mode) ---------- */

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.95);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.theme-toggle:hover {
  border-color: var(--gold);
  transform: rotate(-10deg) scale(1.06);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.theme-icon {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: opacity 0.35s ease, transform 0.5s cubic-bezier(.34,1.56,.64,1);
}

.theme-icon-sun {
  color: var(--gold);
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-icon-moon {
  color: var(--gold-soft);
  opacity: 0;
  transform: rotate(-90deg) scale(0.4);
}

[data-theme="dark"] .theme-icon-sun { opacity: 0; transform: rotate(90deg) scale(0.4); }
[data-theme="dark"] .theme-icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }

@media (max-width: 900px) {
  .header-actions { gap: 10px; }
  .lang-current span:not(.flag-emoji) { display: none; }
  .lang-current { padding: 9px 10px; }
  .lang-menu { right: -8px; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--on-dark);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
    box-shadow: 0 16px 30px rgba(0,0,0,0.08);
  }
  .main-nav.open { max-height: 900px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .main-nav li { border-top: 1px solid var(--gray-100); }

  .main-nav .nav-link { color: var(--text-muted); }
  .main-nav .nav-link:hover,
  .main-nav .nav-link.active { color: var(--text-dark); }
  .main-nav a { display: block; padding: 16px 0; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-caret { display: none; }

  .nav-dropdown {
    position: static;
    transform: none;
    width: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    box-shadow: none;
    padding: 0 0 10px 14px;
  }

  .nav-dropdown::before { display: none; }

  .nav-dropdown a {
    color: var(--text-muted);
    padding: 10px 0;
    font-weight: 500;
  }

  .nav-dropdown a:hover { background: none; color: var(--red); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--black);
  color: var(--on-dark);
  padding: 168px 0 110px;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.55), rgba(10,10,12,0.8)),
    radial-gradient(circle at 82% 18%, rgba(242,193,28,0.22), transparent 55%),
    radial-gradient(circle at 8% 88%, rgba(209,0,31,0.3), transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(242,193,28,0.12);
  border: 1px solid rgba(242,193,28,0.35);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
  max-width: 520px;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--gold);
}

.hero-stat span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.hero-panel {
  position: relative;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.hero-panel::before {
  content: '';
  position: absolute;
  top: -14px; left: 28px;
  width: 60px; height: 6px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 4px;
}

.hero-panel-list { display: flex; flex-direction: column; gap: 18px; }

.hero-panel-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-100);
}

.hero-panel-item:last-child { border-bottom: none; padding-bottom: 0; }

.hero-panel-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(209,0,31,0.1);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-panel-item h4 {
  font-size: 0.98rem;
  color: var(--ink-fixed);
  margin-bottom: 4px;
}

.hero-panel-item p {
  font-size: 0.86rem;
  color: var(--ink-muted-fixed);
  margin: 0;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding-top: 128px; }
}

/* ---------- Cards / Grids ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .card-grid { grid-template-columns: 1fr; }
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

.info-card .icon-box {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.info-card .icon-box svg { width: 24px; height: 24px; }

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.info-card a.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--red);
}

/* ---------- Alternate (tinted) section ---------- */

.section-dark {
  background: var(--gray-100);
  color: var(--text-dark);
}

.section-dark .section-lead { color: var(--text-muted); }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--red), var(--red-dark));
  color: var(--on-dark);
  border-radius: var(--radius);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 { font-size: 1.9rem; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 460px; }

/* ---------- Services list (link rows) ---------- */

.svc-accordion { display: flex; flex-direction: column; gap: 14px; }

.svc-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.svc-item:hover {
  border-color: rgba(209,0,31,0.3);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.1);
}

.svc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  color: var(--text-dark);
  font-family: var(--font-body);
}

.svc-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold);
  width: 32px;
  flex-shrink: 0;
}

.svc-label {
  flex: 1;
  font-weight: 700;
  font-size: 1.05rem;
}

.svc-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.svc-icon svg { width: 16px; height: 16px; }

.svc-item:hover .svc-icon {
  transform: translateX(4px);
  background: var(--red);
  color: var(--on-dark);
}

/* ---------- Related service links (pill row) ---------- */

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Article content (individual service pages) ---------- */

.article-content {
  max-width: 760px;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-content p { margin-bottom: 16px; color: var(--text-muted); }
.article-content p:last-child { margin-bottom: 0; }

.article-content h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--text-dark);
  margin: 32px 0 12px;
  padding-left: 16px;
  border-left: 4px solid var(--red);
}
.article-content h3:first-child { margin-top: 0; }

.article-content strong { color: var(--text-dark); }

.article-content ul {
  margin: -4px 0 16px 20px;
}
.article-content ul li {
  list-style: disc;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.article-content .table-wrap {
  overflow-x: auto;
  margin: 0 0 20px;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 560px;
}

.article-content thead th {
  background: var(--gray-100);
  color: var(--text-dark);
  font-family: var(--font-head);
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  white-space: nowrap;
}

.article-content tbody td {
  padding: 12px 16px;
  color: var(--text-muted);
  border-top: 1px solid var(--gray-100);
  white-space: nowrap;
}

.article-content tbody td:first-child,
.article-content thead th:first-child {
  color: var(--text-dark);
  font-weight: 700;
  white-space: normal;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--gray-100);
  color: var(--text-muted);
  padding-top: 72px;
  border-top: 1px solid var(--gray-300);
}

.site-footer.footer-video {
  position: relative;
  isolation: isolate;
  background: var(--black);
  border-top: none;
}

.footer-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.footer-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.footer-video-wrap .footer-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,0.72) 0%, rgba(10,10,12,0.88) 55%, rgba(10,10,12,0.96) 100%);
}

.footer-video > .container { position: relative; z-index: 1; }

.footer-video .footer-brand .logo {
  display: inline-flex;
  background: rgba(255,255,255,0.94);
  padding: 8px 14px;
  border-radius: 10px;
}

.footer-video .footer-brand p { color: rgba(255,255,255,0.75); }
.footer-video .footer-col h4 { color: var(--on-dark); }
.footer-video .footer-col a { color: rgba(255,255,255,0.75); }
.footer-video .footer-col a:hover { color: var(--gold); }
.footer-video .footer-col li svg { color: var(--gold); }

.footer-video .social-links a {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
  color: var(--on-dark);
}
.footer-video .social-links a:hover { background: var(--red); border-color: var(--red); color: var(--on-dark); }

.footer-video .footer-grid { border-bottom-color: rgba(255,255,255,0.15); }
.footer-video .footer-bottom { color: rgba(255,255,255,0.55); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-300);
}

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

.footer-brand p {
  margin: 16px 0 20px;
  font-size: 0.92rem;
  max-width: 280px;
  color: var(--text-muted);
}

.social-links { display: flex; gap: 12px; }

.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.social-links a svg { width: 17px; height: 17px; }

.social-links a:hover { background: var(--red); border-color: var(--red); color: var(--on-dark); }

.footer-col h4 {
  color: var(--text-dark);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-col a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer-col li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }

.footer-col li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--red); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 24px;
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background: var(--gray-100);
  color: var(--text-dark);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(242,193,28,0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(209,0,31,0.1), transparent 55%);
}

.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::before { display: none; }

.page-hero h1 {
  position: relative;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
}

.breadcrumb {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-dark); }
.breadcrumb a:hover { color: var(--red); }

/* ---------- Page hero with video background (matches home hero) ---------- */

.page-hero-video {
  background: var(--black);
  padding: 168px 0 110px;
  isolation: isolate;
}

.page-hero-video::before { display: none; }

.page-hero-video .container { position: relative; z-index: 1; }

.page-hero-video .hero-video { object-position: 50% 62%; }

.page-hero-video--about .hero-video { object-position: 50% 42%; }

.page-hero-video--contact .hero-video { object-position: 50% 48%; }

/* ---------- Page hero with static image background ---------- */

.page-hero-img {
  background-size: cover;
  background-repeat: no-repeat;
  isolation: isolate;
}

.page-hero-img::before { display: none; }

.page-hero-img--ausbildung {
  background-image: url('../img/ausbildung-hero.jpg');
  background-size: 180%;
  background-position: 68% 38%;
}

@media (max-width: 780px) {
  .page-hero-img--ausbildung { background-size: 320%; background-position: 70% 40%; }
}

.page-hero-img--is-proqrami {
  background-image: url('../img/is-proqrami-hero.jpg');
  background-position: center 42%;
}

@media (max-width: 780px) {
  .page-hero-img--is-proqrami { background-size: 220%; background-position: 55% 42%; }
}

.page-hero-img .page-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.68) 0%, rgba(10,10,12,0.55) 45%, rgba(10,10,12,0.85) 100%),
    linear-gradient(155deg, rgba(209,0,31,0.3), rgba(20,20,22,0.35) 70%);
}

.page-hero-img .container { position: relative; z-index: 1; }

.page-hero-img .eyebrow { color: var(--gold); }
.page-hero-img h1 { color: var(--on-dark); }
.page-hero-img .breadcrumb { color: rgba(255,255,255,0.65); }
.page-hero-img .breadcrumb a { color: var(--on-dark); }
.page-hero-img .breadcrumb a:hover { color: var(--gold); }

/* ---------- Page hero with scrolling image strip background ---------- */

.page-hero-marquee {
  background: var(--black);
  isolation: isolate;
  padding-top: 190px;
  padding-bottom: 90px;
}

.page-hero-marquee::before { display: none; }

.hero-marquee {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-marquee-track {
  display: flex;
  align-items: center;
  gap: 18px;
  animation: heroMarquee 50s linear infinite;
  will-change: transform;
}

.hero-marquee-track img {
  height: 360px;
  width: auto;
  max-width: none;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

@keyframes heroMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-marquee-track { animation: none; }
}

@media (max-width: 780px) {
  .hero-marquee-track img { height: 240px; }
}

@media (max-width: 500px) {
  .hero-marquee-track img { height: 180px; }
}

.page-hero-marquee .container { position: relative; z-index: 1; }

.page-hero-marquee .eyebrow { color: var(--gold); }
.page-hero-marquee h1 { color: var(--on-dark); }
.page-hero-marquee .breadcrumb { color: rgba(255,255,255,0.65); }
.page-hero-marquee .breadcrumb a { color: var(--on-dark); }
.page-hero-marquee .breadcrumb a:hover { color: var(--gold); }

/* ---------- Section heading with video background ---------- */

.video-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 110px 40px;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-head .about-video { object-position: 50% 42%; }

.video-head-content { position: relative; z-index: 3; }

.video-head-content .section-title { color: var(--on-dark); margin-bottom: 14px; }
.video-head-content .section-title span { color: var(--gold); }
.video-head-content .section-lead { color: rgba(255,255,255,0.78); margin-bottom: 0; }

@media (max-width: 620px) {
  .video-head { padding: 72px 24px; min-height: 560px; }
}

.page-hero-video .eyebrow { color: var(--gold); }
.page-hero-video h1 { color: var(--on-dark); }
.page-hero-video .breadcrumb { color: rgba(255,255,255,0.65); }
.page-hero-video .breadcrumb a { color: var(--on-dark); }
.page-hero-video .breadcrumb a:hover { color: var(--gold); }

/* ---------- Values / stats ---------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 780px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-box strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--red);
}

.stat-box span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- Timeline (about page) ---------- */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
}

.timeline-item {
  position: relative;
  padding: 0 0 40px 44px;
  border-left: 2px solid var(--gray-300);
}

.timeline-item:last-child { border-color: transparent; padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -9px; top: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--red);
}

.timeline-item h4 { font-size: 1.05rem; margin-bottom: 6px; }
.timeline-item p { color: var(--text-muted); font-size: 0.94rem; }

/* ---------- Values grid (about) ---------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.value-card {
  display: flex;
  gap: 18px;
  padding: 26px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}

.value-card .icon-box {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-card .icon-box svg { width: 22px; height: 22px; }

.value-card h4 { margin-bottom: 6px; font-size: 1.02rem; }
.value-card p { color: var(--text-muted); font-size: 0.92rem; }

/* two-col layout */

.two-col {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

.about-photo-block {
  position: relative;
  background: var(--black);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--on-dark);
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

@media (max-width: 860px) {
  .about-photo-block { min-height: 380px; }
}

.about-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.about-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.1) 0%, rgba(10,10,12,0.35) 55%, rgba(10,10,12,0.88) 100%),
    linear-gradient(155deg, rgba(209,0,31,0.35), rgba(20,20,22,0.45) 75%);
  z-index: 1;
}

.about-photo-content {
  position: relative;
  z-index: 3;
}

.video-mute-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(10,10,12,0.55);
  backdrop-filter: blur(4px);
  color: var(--on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.video-mute-btn:hover {
  background: rgba(209,0,31,0.65);
  border-color: var(--gold);
  transform: scale(1.06);
}

.video-mute-btn .icon-unmuted { display: none; }
.video-mute-btn.is-unmuted .icon-muted { display: none; }
.video-mute-btn.is-unmuted .icon-unmuted { display: block; }

.about-photo-block::before {
  content: '';
  position: absolute;
  top: 20px; right: 20px;
  width: 90px; height: 90px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  opacity: 0.5;
  z-index: 2;
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

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

.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }

.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-100);
  align-items: flex-start;
}

.contact-info-item .icon-box {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.contact-info-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { color: var(--text-muted); font-size: 0.92rem; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

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

@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--gray-300);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--off-white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

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

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 14px;
}

.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(34,150,80,0.1);
  color: #1f7a45;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-success.show { display: block; }

.map-embed {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  height: 320px;
}

.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Contact video banner ---------- */

.contact-video-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 40px auto 0;
  border-radius: var(--radius);
  max-width: 420px;
  aspect-ratio: 9 / 16;
  display: flex;
  align-items: flex-end;
  background: var(--black);
}

.contact-video-banner .about-video {
  object-fit: cover;
  object-position: 50% 50%;
}

.contact-video-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 36px;
}

.contact-video-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

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

.contact-video-content h3 {
  color: var(--on-dark);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.contact-video-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  font-weight: 600;
}

@media (max-width: 620px) {
  .contact-video-banner { max-width: 100%; }
  .contact-video-content { padding: 24px; }
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Floating WhatsApp button ---------- */

.wa-float-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: linear-gradient(135deg, #2ee06a, #1da851);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 8px 24px rgba(29,168,81,0.35), 0 2px 10px rgba(0,0,0,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s ease, bottom 0.2s ease;
}

.wa-float-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(46,224,106,0.55);
  z-index: -1;
  animation: waPulseRing 3.5s ease-out infinite;
  will-change: transform, opacity;
}

.wa-float-btn:hover,
.wa-float-btn:focus-visible {
  transform: scale(1.1);
  box-shadow: 0 14px 34px rgba(29,168,81,0.5), 0 4px 14px rgba(0,0,0,0.25);
}

.wa-float-btn:focus-visible {
  outline: 3px solid rgba(29,168,81,0.55);
  outline-offset: 4px;
}

.wa-float-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: waFloatBounce 3s ease-in-out infinite;
}

.wa-float-icon {
  width: 30px;
  height: 30px;
  fill: #fff;
}

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

@keyframes waPulseRing {
  0% { transform: scale(1); opacity: 0.55; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}

.wa-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: rgba(18,18,20,0.95);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  font-family: var(--font-body);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: rgba(18,18,20,0.95);
}

.wa-float-btn:hover .wa-tooltip,
.wa-float-btn:focus-visible .wa-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 640px) {
  .wa-float-btn { right: 16px; bottom: 16px; width: 54px; height: 54px; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .wa-float-icon { width: 26px; height: 26px; }
  .wa-tooltip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float-btn, .wa-float-inner, .wa-float-btn::before {
    animation: none;
  }
}

/* ---------- Floating Gmail button ---------- */

.gmail-float-btn {
  position: fixed;
  right: 24px;
  bottom: 100px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: linear-gradient(135deg, #ffffff, #f2f2f3);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 24px rgba(234,67,53,0.25), 0 2px 10px rgba(0,0,0,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s ease, bottom 0.2s ease;
}

.gmail-float-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(234,67,53,0.4);
  z-index: -1;
  animation: gmailPulseRing 3.5s ease-out infinite;
  animation-delay: 1.75s;
  will-change: transform, opacity;
}

.gmail-float-btn:hover,
.gmail-float-btn:focus-visible {
  transform: scale(1.1);
  box-shadow: 0 14px 34px rgba(234,67,53,0.35), 0 4px 14px rgba(0,0,0,0.2);
}

.gmail-float-btn:focus-visible {
  outline: 3px solid rgba(234,67,53,0.5);
  outline-offset: 4px;
}

.gmail-float-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: waFloatBounce 3s ease-in-out infinite;
  animation-delay: 0.3s;
}

.gmail-float-icon { width: 26px; height: 26px; }

@keyframes gmailPulseRing {
  0% { transform: scale(1); opacity: 0.5; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}

.gmail-float-btn:hover .wa-tooltip,
.gmail-float-btn:focus-visible .wa-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 640px) {
  .gmail-float-btn { right: 16px; bottom: 86px; width: 54px; height: 54px; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .gmail-float-icon { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .gmail-float-btn, .gmail-float-inner, .gmail-float-btn::before {
    animation: none;
  }
}

/* ---------- Qəbullarımız gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.16);
}

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

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.35) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after { opacity: 1; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8,8,10,0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 32px;
}

.lightbox.open { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: min(90vw, 560px);
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.lightbox-close:hover,
.lightbox-nav:hover { background: var(--red); transform: scale(1.08); }

.lightbox-close svg,
.lightbox-nav svg { width: 20px; height: 20px; }

.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.08); }

@media (max-width: 620px) {
  .lightbox { padding: 16px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
}
