/* ===========================
   i2 Communications — Cinematic Redesign V2
   Clean White & Professional Orange
   =========================== */



/* ─── DESIGN TOKENS ─── */
:root {
  --bg:          #ffffff;
  --bg-alt:      #f8f8f6;
  --accent:      #E8590C;
  --accent-dark: #C44B09;
  --accent-light:#FFF0E8;
  --text:        #1a1a1a;
  --text-muted:  #6b6b6b;
  --border:      #e8e4df;
  --nav-h:       80px;
  --radius:      16px;
  --shadow:      0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.12);

  /* Navigation theme tokens */
  --nav-bg: rgba(255, 255, 255, 0.75);
  --nav-border: rgba(26, 26, 26, 0.05);
  --nav-bg-scrolled: rgba(255, 255, 255, 0.95);
  --nav-border-scrolled: rgba(26, 26, 26, 0.08);
  --hero-gradient: linear-gradient(135deg, #fff9f5 0%, #f5f3f0 100%);
  --menu-bg: rgba(255, 255, 255, 0.98);
  --footer-bg: #111111;
  --toggle-bg: rgba(255, 255, 255, 0.6);
  --hero-bg: #f5f3f0;
  --hero-overlay-bg: linear-gradient(135deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.75) 100%);
  --bg-warm: #fff8f3;
}

.dark-mode {
  --bg:          #0c0c0b;
  --bg-alt:      #141413;
  --accent:      #E8590C;
  --accent-dark: #ff7629;
  --accent-light:rgba(232, 89, 12, 0.12);
  --text:        #f5f4f0;
  --text-muted:  #a3a099;
  --border:      #262421;
  --shadow:      0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.6);

  /* Navigation theme tokens - dark */
  --nav-bg: rgba(12, 12, 11, 0.75);
  --nav-border: rgba(255, 255, 255, 0.08);
  --nav-bg-scrolled: rgba(12, 12, 11, 0.95);
  --nav-border-scrolled: rgba(255, 255, 255, 0.12);
  --hero-gradient: linear-gradient(135deg, #181816 0%, #0c0c0b 100%);
  --menu-bg: rgba(12, 12, 11, 0.98);
  --footer-bg: #070707;
  --toggle-bg: rgba(26, 26, 26, 0.6);
  --hero-bg: #0c0c0b;
  --hero-overlay-bg: linear-gradient(135deg, rgba(12,12,11,.92) 0%, rgba(12,12,11,.75) 100%);
  --bg-warm: #181410;
}

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

/* ─── No-JS fallback ───────────────────────────────────── */
.noscript-banner {
  background: #E8590C;
  color: #fff;
  text-align: center;
  padding: 0.75rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

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

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 1200px);
  max-width: 1200px;
  height: 70px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0 2.5rem;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--nav-border);
  border-radius: 100px;
  box-shadow: var(--shadow);
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  
  /* Design engineering animations */
  animation: navSlideDown 600ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: 50ms;
}

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.nav.scrolled {
  background: var(--nav-bg-scrolled);
  box-shadow: var(--shadow-lg);
  border-color: var(--nav-border-scrolled);
}

/* Nav Actions Flex Wrapper */
.nav-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.8rem;
}

/* Theme Toggle Button */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 1rem;
  transition: all 160ms cubic-bezier(0.23, 1, 0.32, 1);
  outline: none;
  
  /* Design engineering entrance */
  animation: toggleEnter 500ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: 650ms;
  opacity: 0;
}

@keyframes toggleEnter {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.theme-toggle:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
  transform: scale(1.1);
}
.theme-toggle:active {
  transform: scale(0.95);
}
.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; }

.dark-mode .theme-toggle .sun-icon { display: block; }
.dark-mode .theme-toggle .moon-icon { display: none; }

/* ── Nav logo: coin-spin lockup ─────────────────────── */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  animation: logoEnter 600ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: 150ms;
  opacity: 0;
}

@keyframes logoEnter {
  to { opacity: 1; }
}

/* Lockup base */
.nav-lock {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .035em;
  line-height: 1;
  white-space: nowrap;
}

/* Brand orange */
.nav-lock .lb { color: #E8590C; }

/* Separator */
.nav-lock .ls {
  color: var(--text-secondary, #64748b);
  padding: 0 .14em;
  font-weight: 400;
  font-size: .9em;
}

/* Primary text */
.nav-lock .lw { color: var(--text); }

/* Globe icon wrapper */
.nav-lock .go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  position: relative;
  top: .02em;
  margin: 0 .05em;
  flex-shrink: 0;
  vertical-align: middle;
}
.nav-lock .go svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Coin-spin animation (Option A) — nav + footer */
.nav-lock .gA,
.footer-lock .gA {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: kA 5s linear infinite;
}

@keyframes kA {
  0%   { transform: scaleX(1); }
  24%  { transform: scaleX(.04); }
  25%  { transform: scaleX(-.04); }
  49%  { transform: scaleX(-1); }
  51%  { transform: scaleX(-1); }
  74%  { transform: scaleX(-.04); }
  75%  { transform: scaleX(.04); }
  100% { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .nav-lock .gA,
  .footer-lock .gA { animation: none !important; }
}

/* Nav active indicator (legacy fallback, clean style) */
.nav-indicator {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  position: relative;
}
.nav-links li {
  display: flex;
  align-items: center;
  
  /* Design engineering stagger */
  animation: linkSlideIn 500ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
  opacity: 0;
}

/* Staggered delays for each link */
.nav-links li:nth-child(1) { animation-delay: 250ms; }
.nav-links li:nth-child(2) { animation-delay: 300ms; }
.nav-links li:nth-child(3) { animation-delay: 350ms; }
.nav-links li:nth-child(4) { animation-delay: 400ms; }
.nav-links li:nth-child(5) { animation-delay: 450ms; }
.nav-links li:nth-child(6) { animation-delay: 500ms; }
.nav-links li:nth-child(7) { animation-delay: 550ms; }
.nav-links li:has(.nav-cta) {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

@keyframes linkSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nav-links a {
  text-decoration: none;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: .5rem 1.1rem;
  border-radius: 50px;
  transition: all 160ms cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(232, 89, 12, 0.05);
  border-radius: 50px;
  z-index: -1;
  opacity: 0;
  transform: scale(0.92);
  transition: all 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.nav-links a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}
.nav-links a:hover::after {
  opacity: 1;
  transform: scale(1);
}
.nav-links a:active {
  transform: scale(0.97);
}
.nav-links a.active {
  color: var(--accent);
  background: rgba(232, 89, 12, 0.08);
  font-weight: 700;
}
.nav-links a.active::after {
  display: none;
}

.nav-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  background: var(--accent) !important;
  color: #fff !important;
  padding: .55rem 1.4rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  box-shadow: 0 4px 14px rgba(232, 89, 12, 0.15) !important;
  transition: all 160ms cubic-bezier(0.23, 1, 0.32, 1) !important;
  opacity: 1 !important;
  transform: none !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(232, 89, 12, 0.3) !important;
}
.nav-cta:active {
  transform: scale(0.97) !important;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--hero-bg);
  margin-top: var(--nav-h);
}
.hero-explode {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay-bg);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 2rem;
}
.hero-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text);
}
.hero-title span { color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── SECTION WRAPPER ─── */
.section { padding: 7rem 5%; }
.section-alt { background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: .75rem;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: .75rem;
  max-width: 640px;
  margin-left: auto; margin-right: auto;
}
.accent-line {
  width: 60px; height: 3px;
  background: var(--accent);
  margin: 1.2rem auto 0;
  border-radius: 2px;
}

/* ─── ORANGE ACCENT BUTTON ─── */
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--accent);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: .85rem 2rem;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s, transform .2s, box-shadow .25s;
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(232,89,12,.3);
  color: #fff;
}
.btn-accent.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: none;
}
.btn-accent.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(232,89,12,.2);
}

/* ─── FEATURE CARDS ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--accent);
  transition: height .4s;
}
.feature-card:hover::before { height: 100%; }
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.feature-card .icon {
  width: 52px; height: 52px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .6rem;
  color: var(--text);
}
.feature-card p, .feature-card ul {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.feature-card ul { list-style: none; }
.feature-card ul li::before { content: '→ '; color: var(--accent); }

/* ─── STAT STRIP ─── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  background: var(--accent);
  color: #fff;
}
.stat-item {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .85;
  margin-top: .4rem;
}

/* ─── TEAM CARDS ─── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.team-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.team-card img {
  width: 100%; height: 280px;
  object-fit: cover;
  object-position: top;
}
.team-info {
  padding: 1.5rem;
}
.team-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .3rem;
}
.team-info .role {
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .6rem;
}
.team-info p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.badge-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.badge {
  background: var(--accent-light);
  color: var(--accent);
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 50px;
}

/* ─── PROJECT CARDS ─── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--text);
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.project-card:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.project-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s;
}
.project-card:hover .project-bg { transform: scale(1.08); }
.project-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,.95) 0%, rgba(26,26,26,.2) 60%);
}
.project-info {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  width: 100%;
}
.project-client {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .4rem;
  display: block;
}
.project-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .4rem;
}
.project-regions {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
}
.project-arrow {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: .9rem;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .3s, transform .3s;
}
.project-card:hover .project-arrow { opacity: 1; transform: scale(1); }

.modal-link {
  color: var(--accent);
  text-decoration: underline;
}

.modal-link:hover {
  color: var(--accent-dark);
  text-decoration: none;
}

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--bg);
  border-radius: 24px;
  padding: 3rem;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(40px) scale(.96);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.modal-close:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.modal-client {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
  display: block;
}
.modal-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: var(--text);
}
.modal-box p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.modal-box .regions h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: .6rem;
  margin-top: 1.5rem;
}
.region-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.region-tag {
  background: var(--accent-light);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .9rem;
  border-radius: 50px;
}

/* ─── CONTACT FORM ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .9rem 1.2rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color .25s, box-shadow .25s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,89,12,.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ─── LOCATION CARDS ─── */
.location-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow .3s, border-color .3s;
}
.location-card:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.location-card .head {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .8rem;
}
.location-card .head i { color: var(--accent); font-size: 1.2rem; }
.location-card p, .location-card a {
  color: var(--text-muted);
  font-size: .95rem;
  text-decoration: none;
}
.country-flag { font-size: 1.2rem; }
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: .6rem;
  margin-top: 1rem;
}
.country-chip {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .5rem .8rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}

/* ─── MAP ─── */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 420px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ─── INFO CARDS ─── */
.info-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .6rem;
  transition: box-shadow .3s;
}
.info-card:hover { box-shadow: var(--shadow); }
.info-card i {
  font-size: 1.5rem;
  color: var(--accent);
}
.info-card .label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
}
.info-card .value {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

/* ─── TIMELINE APPROACH ─── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 28px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-step {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 0;
  position: relative;
}
.timeline-num {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
}
.timeline-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .3rem;
  margin-top: .8rem;
  color: var(--text);
}
.timeline-content p { font-size: .9rem; color: var(--text-muted); }

/* ─── PURPOSE CARDS ─── */
.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 640px) { .purpose-grid { grid-template-columns: 1fr; } }
.purpose-card {
  border-radius: var(--radius);
  padding: 2.5rem;
  border-left: 4px solid var(--accent);
  background: var(--accent-light);
}
.purpose-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: .8rem;
}
.purpose-card p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ─── CONTENT SPLIT ─── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
@media (max-width: 768px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.split img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.split p { font-size: 1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }

/* ─── WHY US ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}
.why-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.why-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.7; }

/* ─── SERVICE CATEGORY ─── */
.service-category { margin-bottom: 4rem; }
.service-category-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.service-category-sub {
  font-size: .95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,.8);
  padding: 5rem 5% 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p {
  font-size: .9rem;
  line-height: 1.75;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,.6);
}
.social-links { display: flex; gap: 1rem; }
.social-links a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s;
}
.social-links a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.2rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .88rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-contact { list-style: none; }
.footer-contact li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  margin-bottom: .8rem;
}
.footer-contact i { color: var(--accent); margin-top: .2rem; flex-shrink: 0; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: var(--accent); }

/* ─── SCROLL-TO-TOP ─── */
.scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  z-index: 800;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  box-shadow: 0 4px 16px rgba(232,89,12,.4);
}
.scroll-top.show { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--accent-dark); }

/* ─── RESPONSIVE NAV ─── */
.nav-toggle {
  display: none;
  background: var(--toggle-bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  z-index: 1101;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(8px);
}
.nav-toggle:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: scale(1.05);
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Asymmetric premium lengths */
.nav-toggle span:nth-child(1) { width: 20px; }
.nav-toggle span:nth-child(2) { width: 14px; }
.nav-toggle span:nth-child(3) { width: 20px; }

/* Hover micro-interactions */
.nav-toggle:hover span:nth-child(2) {
  width: 20px;
}

/* Open/Active state morphing */
.nav-toggle.open {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(232, 89, 12, 0.25);
  transform: scale(1.05);
}
.nav-toggle.open span {
  background: #ffffff;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Active navigation backdrop */
.nav.menu-open {
  background: var(--menu-bg) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom-color: var(--border) !important;
  box-shadow: var(--shadow) !important;
}

@media (max-width: 900px) {
  .nav {
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: var(--nav-h) !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid transparent !important;
    padding: 0 5% !important;
    background: rgba(255,255,255,0) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    animation: none !important;
    overflow: visible !important;
  }
  .nav.scrolled {
    background: var(--nav-bg-scrolled) !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: var(--shadow) !important;
  }
  .nav-toggle { display: flex; }
  .nav-lock { font-size: 1.05rem; }
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    height: 100vh;
    background: var(--menu-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 8rem 12% 4rem;
    transform: translateY(-20px) scale(1.02);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
    z-index: 999;
    list-style: none;
    counter-reset: menu-counter;
  }
  .nav-links.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links li {
    width: 100%;
    max-width: 480px;
    counter-increment: menu-counter;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s;
  }
  .nav-links.open li {
    transform: translateY(0);
    opacity: 1;
  }
  .nav-links.open li:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.16s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.22s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.28s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.34s; }

  .nav-links a {
    display: flex;
    align-items: baseline;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 6vw, 2.6rem);
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: -0.01em;
    color: var(--text);
    padding: 0.4rem 0;
    width: 100%;
    border-bottom: none;
    transition: color 0.3s, transform 0.3s;
  }
  .nav-links a::before {
    content: "0" counter(menu-counter);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-right: 1.2rem;
    letter-spacing: 0.1em;
    position: relative;
    top: -4px;
    transition: color 0.3s;
  }
  .nav-links a:hover, .nav-links a.active {
    color: var(--accent) !important;
    background: transparent !important;
  }
  .nav-links a:hover {
    transform: translateX(10px);
  }
  .nav-links a::after {
    display: none !important;
  }

  .nav-links li:has(.nav-cta) {
    margin-top: 1.5rem;
  }
  .nav-links .nav-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff !important;
    background: var(--accent);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    width: auto;
    max-width: 100%;
    transform: none;
    box-shadow: 0 4px 15px rgba(232, 89, 12, 0.15);
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  }
  .nav-links .nav-cta::before {
    display: none;
  }
  .nav-links .nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 89, 12, 0.3);
  }

  .nav-links::after {
    content: "info@i2C-Global.com  \2022  +233 24 883 8540";
    display: block;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    width: 100%;
    max-width: 320px;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s;
    transition-delay: 0.4s;
  }
  .nav-links.open::after {
    opacity: 0.7;
    transform: translateY(0);
  }

  body.menu-open {
    overflow: hidden;
  }
  html.menu-lock {
    overflow: hidden;
  }
}

/* ─── VIEW TRANSITIONS ─── */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: fade-out .25s ease; }
::view-transition-new(root) { animation: fade-in .25s ease; }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes fade-in  { from { opacity: 0; } to { opacity: 1; } }

/* ═══════════════════════════════════════════════════════════
   COMPREHENSIVE RESPONSIVE OPTIMIZATION
   Mobile-first breakpoints: 480px, 768px, 1024px, 1200px
   ═══════════════════════════════════════════════════════════ */

/* ─── PERFORMANCE: Reduce motion for accessibility ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-row { animation: none !important; }
  .scroll-line { animation: none !important; }
}

/* ─── TABLET (max-width: 1024px) ─── */
@media (max-width: 1024px) {
  :root { --nav-h: 70px; }
  .section { padding: 5rem 4%; }
  .split { gap: 3rem; }
  .stat-num { font-size: 2.5rem; }
  .stat-item { padding: 2rem 1.5rem; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
  .project-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .card-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .why-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .timeline::before { left: 24px; }
  .timeline-num { width: 48px; height: 48px; font-size: 1rem; }
}

/* ─── MOBILE LANDSCAPE / SMALL TABLET (max-width: 768px) ─── */
@media (max-width: 768px) {
  :root { --nav-h: 64px; --radius: 12px; }
  .section { padding: 4rem 5%; }
  .section-header h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split img { order: -1; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); padding: 1.5rem 1rem; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.15); }
  .stat-num { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 220px; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .map-wrap { height: 300px; }
  .modal-box { padding: 2rem; border-radius: 16px; }
  .modal-box h2 { font-size: 1.4rem; }
  .purpose-grid { grid-template-columns: 1fr; }
  .team-card img { height: 220px; }
  .info-card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta-row { flex-direction: column; align-items: center; }
  .hero-cta-row .btn-accent { width: 100%; max-width: 280px; justify-content: center; }
  .btn-accent { padding: .75rem 1.5rem; font-size: .85rem; }
  .c-cursor { display: none !important; }
  body { cursor: auto; }
}

/* ─── MOBILE (max-width: 480px) ─── */
@media (max-width: 480px) {
  :root { --nav-h: 60px; --radius: 10px; }
  body { font-size: 15px; }
  .section { padding: 3rem 4%; }
  .section-header { margin-bottom: 2.5rem; }
  .section-header p { font-size: .95rem; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 1.8rem; }
  .stat-label { font-size: .7rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer { padding: 3rem 5% 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .8rem; }
  .social-links { justify-content: center; }
  .feature-card { padding: 1.5rem; }
  .feature-card .icon { width: 44px; height: 44px; font-size: 1.2rem; }
  .card-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .info-card-grid { grid-template-columns: 1fr; }
  .country-grid { grid-template-columns: 1fr 1fr; }
  /* Move scroll-top to right side on mobile */
  .scroll-top { width: 40px !important; height: 40px !important; bottom: 1.5rem !important; right: 1.2rem !important; left: auto !important; }
  .c-cursor { display: none !important; }
  body { cursor: auto; }
}

@media (max-width: 400px) {
  .stat-strip {
    grid-template-columns: 1fr;
  }
}

.pb-0 {
  padding-bottom: 0 !important;
}

/* ─── LOADER SCREEN ─── */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
  opacity: 1;
  visibility: visible;
}
.loader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-svg {
  width: 200px;
  height: auto;
  overflow: visible;
}
.loader-svg .loader-draw {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: loaderDrawIn 2s ease forwards 0.3s;
}
.loader-svg .loader-fill {
  fill: var(--accent);
  opacity: 0;
  animation: loaderFillIn 0.6s ease forwards 2.3s;
}
.loader-svg .loader-text-draw {
  fill: none;
  stroke: var(--text);
  stroke-width: 1.2;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: loaderTextDraw 1.8s ease forwards 0.6s;
}
.loader-svg .loader-text-fill {
  fill: var(--text);
  opacity: 0;
  animation: loaderFillIn 0.6s ease forwards 2.5s;
}

@keyframes loaderDrawIn {
  to { stroke-dashoffset: 0; }
}
@keyframes loaderTextDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes loaderFillIn {
  to { opacity: 1; }
}

/* --- Gallery Section --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  grid-column: span 4;
  height: 400px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s;
  filter: grayscale(60%) brightness(0.8) contrast(1.1);
}
.gallery-item:hover img {
  transform: scale(1.03);
  filter: grayscale(0%) brightness(1) contrast(1);
}
.gallery-item:nth-child(6n+1) { grid-column: span 8; height: 500px; }
.gallery-item:nth-child(6n+2) { grid-column: span 4; height: 500px; }
.gallery-item:nth-child(6n+3) { grid-column: span 4; height: 400px; }
.gallery-item:nth-child(6n+4) { grid-column: span 4; height: 400px; }
.gallery-item:nth-child(6n+5) { grid-column: span 4; height: 400px; }
.gallery-item:nth-child(6n)   { grid-column: span 12; height: 500px; }

@media (max-width: 900px) {
  .gallery-item:nth-child(n) { grid-column: span 12; height: 350px; }
}

/* --- Lightbox Modal --- */
.lightbox {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 10, 10, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-close {
  position: absolute;
  top: 2rem; right: 2rem;
  background: none; border: none;
  color: #fff; font-size: 2.5rem;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s;
}
.lightbox-close:hover {
  color: var(--color-accent);
}
.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lightbox.active .lightbox-content {
  transform: scale(1);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 1rem;
  cursor: pointer;
  z-index: 10002;
  transition: background 0.3s, color 0.3s;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.8);
  color: var(--color-accent);
}
.lightbox-prev {
  left: 1rem;
}
.lightbox-next {
  right: 1rem;
}
.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background: rgba(0,0,0,0.6);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    bottom: 1.5rem;
    top: auto;
    transform: none;
  }
  .lightbox-prev { left: 50%; transform: translateX(calc(-100% - 0.5rem)); }
  .lightbox-next { left: 50%; transform: translateX(0.5rem); }
  .lightbox-caption {
    bottom: 5.5rem;
    font-size: 0.82rem;
    padding: 0.6rem 1rem;
    flex-direction: column;
    gap: 0.4rem;
  }
}
.gallery-item {
  cursor: pointer;
}
.gallery-item:focus-visible {
  outline: 3px solid var(--accent, #e8590c);
  outline-offset: 3px;
  border-radius: 12px;
}

