/* ============================================
   TECHLIFT — Enhanced Design
   Industrial Premium Aesthetic
   ============================================ */

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

:root {
  /* Core palette */
  --bg: #060608;
  --bg-elevated: #0c0c10;
  --fg: #f5f5f3;
  --fg-dim: #a8a8a0;

  /* Primary: warm industrial amber */
  --primary: #d4a012;
  --primary-light: #ecc94b;
  --primary-dark: #b8860b;
  --primary-glow: rgba(212, 160, 18, 0.15);
  --primary-ghost: rgba(212, 160, 18, 0.06);

  /* Surfaces */
  --surface: #111114;
  --surface-hover: #18181c;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(212, 160, 18, 0.12);

  /* Type */
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Radius */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* --- Noise Texture Overlay --- */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* --- Container --- */
.container {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px)  { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }

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

/* --- Shared Typography --- */
.kicker {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.kicker--light {
  color: var(--primary-light);
}

.heading {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 1.15;
}

@media (min-width: 640px) { .heading { font-size: 2.5rem; } }

.heading--dark {
  color: #0f0f0f;
}

.body-text {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--fg-dim);
  line-height: 1.75;
  max-width: 32rem;
  text-wrap: pretty;
}

.body-text--dark {
  color: rgba(0, 0, 0, 0.55);
}

.subtext {
  margin-top: 1rem;
  color: var(--fg-dim);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
}

.accent-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 3px;
  margin-top: 2rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #0a0a00;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  box-shadow: 0 4px 20px var(--primary-glow), 0 1px 2px rgba(0,0,0,0.2);
  transform: translateY(-1px);
}

.btn--glow::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity 0.3s;
}

.btn--glow:hover::after {
  opacity: 0.4;
}

.btn--ghost {
  background: transparent;
  color: var(--fg-dim);
  border: 1px solid var(--border-subtle);
}

.btn--ghost:hover {
  color: var(--fg);
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.03);
}

.btn--sm  { height: 2.5rem; padding: 0 1.25rem; font-size: 0.8rem; }
.btn--lg  { height: 3rem;   padding: 0 2rem; }
.btn--xl  { height: 3.5rem; padding: 0 2.5rem; font-size: 0.9rem; }
.btn--full { width: 100%; }

/* ======================
   HEADER
   ====================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(6, 6, 8, 0.6);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.4s, box-shadow 0.4s;
}

.header.scrolled {
  background: rgba(6, 6, 8, 0.92);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header__inner {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  min-height: 4.25rem;
}

@media (min-width: 640px)  { .header__inner { padding: 0 2rem; } }
@media (min-width: 1024px) { .header__inner { padding: 0 3rem; } }

.header__logo {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0;
}

.header__logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  padding: 8px 0;
}

@media (min-width: 768px) {
  .header__logo-img {
    height: 120px;
    padding: 16px 0;
  }
}

.header__nav {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

@media (min-width: 768px) { .header__nav { display: flex; } }

.header__link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--fg-dim);
  transition: color 0.25s;
  position: relative;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__link:hover,
.header__link.active { color: var(--fg); }
.header__link:hover::after,
.header__link.active::after { width: 100%; }

.header__cta-wrap { display: none; }
@media (min-width: 768px) { .header__cta-wrap { display: block; } }

/* Burger */
.header__burger {
  display: block;
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
}

@media (min-width: 768px) { .header__burger { display: none; } }

.burger-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.burger-lines span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--fg);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.burger-lines span:nth-child(2) {
  width: 65%;
  margin-left: auto;
}

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

/* Mobile menu */
.mobile-menu {
  display: none;
  background: rgba(6, 6, 8, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
  opacity: 0;
}

.mobile-menu.open {
  max-height: 350px;
  opacity: 1;
}

@media (max-width: 767px) { .mobile-menu { display: block; } }

.mobile-menu__inner {
  padding: 1.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-menu__link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg-dim);
  transition: color 0.2s;
  padding: 0.65rem 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-menu__link:hover { color: var(--primary-light); }

/* ======================
   HERO
   ====================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 8, 0.72);
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, transparent 50%),
    linear-gradient(to right, rgba(6,6,8,0.5), transparent 40%);
}

/* Decorative lines */
.hero__deco-line {
  position: absolute;
  background: linear-gradient(180deg, transparent, var(--primary-glow), transparent);
  z-index: 5;
  pointer-events: none;
}

.hero__deco-line--1 {
  width: 1px;
  height: 40%;
  top: 15%;
  left: 10%;
  opacity: 0.5;
}

.hero__deco-line--2 {
  width: 1px;
  height: 30%;
  bottom: 10%;
  right: 12%;
  opacity: 0.35;
}

.hero__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 0.8; transform: translate(-50%, -50%) scale(1.15); }
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 76rem;
  margin: 0 auto;
  padding: 7rem 1.25rem 0;
  text-align: center;
}

@media (min-width: 640px)  { .hero__content { padding: 5rem 2rem 0; } }
@media (min-width: 1024px) { .hero__content { padding: 0 3rem; } }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: var(--primary-ghost);
  border: 1px solid var(--border-accent);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .hero__badge {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    padding: 0.5rem 1.25rem;
    margin-bottom: 2rem;
  }
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--fg);
  max-width: 52rem;
  margin: 0 auto;
}

@media (min-width: 640px)  { .hero__title { font-size: 2.5rem; line-height: 1.05; } }
@media (min-width: 1024px) { .hero__title { font-size: 3.5rem; } }

.hero__title-accent {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--fg-dim);
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .hero__subtitle {
    margin-top: 1.75rem;
    font-size: 1.1rem;
    line-height: 1.7;
  }
}

.hero__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions .btn {
  width: 100%;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 2.75rem;
    gap: 1.25rem;
    max-width: none;
  }
  .hero__actions .btn { width: auto; }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50%  { opacity: 0.3; transform: scaleY(0.4); transform-origin: top; }
  100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ======================
   SECTIONS (shared)
   ====================== */
.section {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.section--white { background: #fafaf8; }
.section--dark  { background: var(--bg); }

.section--gallery { padding: 7rem 0; }
.section--mission { padding: 5rem 0; }
.section--cta     { padding: 8rem 0; position: relative; }

/* Angled section divider */
.section__angle {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 60px;
  overflow: hidden;
}

.section__angle--top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);
}

/* --- Grid Layouts --- */
.grid-2col {
  display: grid;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 768px) { .grid-2col { grid-template-columns: 1fr 1fr; } }

.grid-2col--reverse > :first-child { order: 2; }
.grid-2col--reverse > :last-child  { order: 1; }

@media (min-width: 768px) {
  .grid-2col--reverse > :first-child { order: 1; }
  .grid-2col--reverse > :last-child  { order: 2; }
}

/* ======================
   CHECKLIST
   ====================== */
.checklist__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 1.75rem;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.checklist__item > span:last-child {
  color: #1a1a1a;
  line-height: 1.65;
  font-size: 0.95rem;
}

.checklist__check {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,160,18,0.12), rgba(212,160,18,0.06));
  border: 1px solid rgba(212,160,18,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* ======================
   SEGMENTS
   ====================== */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
}

@media (min-width: 1024px) {
  .segments-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

.segment-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border-subtle);
  transition: border-color 0.3s, transform 0.3s;
  overflow: hidden;
}

.segment-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.segment-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--primary-glow), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.segment-card:hover .segment-card__glow { opacity: 1; }

.segment-card__icon {
  margin: 0 auto 1.25rem;
  color: var(--primary-light);
  transition: transform 0.3s, color 0.3s;
}

.segment-card:hover .segment-card__icon {
  transform: scale(1.15);
  color: var(--primary-light);
}

.segment-card__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg);
}

/* ======================
   GALLERY
   ====================== */
.gallery-carousel-wrap {
  position: relative;
}

.gallery-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(6, 6, 8, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--fg);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.gallery-arrow:hover {
  background: rgba(6, 6, 8, 0.9);
  color: var(--primary-light);
  border-color: var(--border-accent);
}

.gallery-arrow--prev { left: -0.5rem; }
.gallery-arrow--next { right: -0.5rem; }

@media (min-width: 640px) {
  .gallery-arrow { display: none; }
}
.gallery-grid {
  display: flex;
  gap: 0.75rem;
  margin-top: 4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 1rem;
}

.gallery-grid::-webkit-scrollbar { display: none; }

@media (min-width: 640px) {
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }
}

@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  flex: 0 0 85%;
  scroll-snap-align: center;
}

@media (min-width: 640px) {
  .gallery-item {
    flex: none;
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s;
  filter: saturate(0.85);
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 8, 0);
  transition: background 0.35s;
  color: var(--fg);
}

.gallery-item__overlay svg {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s;
}

.gallery-item:hover .gallery-item__overlay {
  background: rgba(6, 6, 8, 0.4);
}

.gallery-item:hover .gallery-item__overlay svg {
  opacity: 1;
  transform: scale(1);
}

/* Gallery hidden items — mobile: all visible in carousel */
.gallery-item--hidden {
  display: block;
}

@media (min-width: 640px) {
  .gallery-item--hidden {
    display: none;
  }
  .gallery-grid.gallery--expanded .gallery-item--hidden {
    display: block;
  }
}

/* Gallery toggle button — hidden on mobile (carousel shows all) */
.gallery-toggle-wrap {
  display: none;
  justify-content: center;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .gallery-toggle-wrap { display: flex; }
}

.gallery-toggle {
  color: var(--fg-dim);
  border-color: var(--border-subtle);
  gap: 0.5rem;
}

.gallery-toggle:hover {
  color: var(--primary-light);
  border-color: var(--border-accent);
  background: var(--primary-ghost);
}

.gallery-toggle__icon {
  transition: transform 0.3s ease;
}

.gallery--expanded ~ .gallery-toggle-wrap .gallery-toggle__icon {
  transform: rotate(180deg);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 8, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--primary-light);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lightbox__nav:hover {
  background: rgba(255,255,255,0.1);
  color: var(--primary-light);
}

.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

@media (max-width: 640px) {
  .lightbox__nav--prev { left: 0.75rem; }
  .lightbox__nav--next { right: 0.75rem; }
  .lightbox__nav { width: 44px; height: 44px; }
}

.lightbox__img {
  max-width: calc(100% - 120px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  transition: transform 0.35s;
}

.lightbox__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
}

/* ======================
   MISSION
   ====================== */
.mission-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) { .mission-grid { grid-template-columns: repeat(3, 1fr); } }

.mission-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.mission-card__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(212, 160, 18, 0.08);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.04em;
}

.mission-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.mission-card__text {
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.75;
  font-size: 0.875rem;
}

/* ======================
   LOCALIZAÇÃO
   ====================== */
.grid-2col--location {
  align-items: center;
}

.location-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .location-links { flex-direction: row; }
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.location-map iframe {
  display: block;
  width: 100%;
  min-height: 350px;
}

/* ======================
   CTA
   ====================== */
.cta__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.6;
}

.cta__title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 1.1;
  position: relative;
}

@media (min-width: 640px)  { .cta__title { font-size: 2.75rem; } }
@media (min-width: 1024px) { .cta__title { font-size: 3.5rem; } }

.cta__title-accent {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta__subtitle {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--fg-dim);
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta__action {
  margin-top: 3rem;
  position: relative;
}

/* ======================
   FOOTER
   ====================== */
.footer {
  background: var(--bg-elevated);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 2rem; } }

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
  align-self: flex-start;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--fg-dim);
  line-height: 1.7;
  max-width: 320px;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  color: var(--fg-dim);
  transition: all 0.25s;
}

.footer__social-link:hover {
  color: var(--primary-light);
  border-color: var(--primary);
  background: var(--primary-ghost);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.footer__link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--fg-dim);
  transition: color 0.25s;
  padding: 0.4rem 0;
}

.footer__link:hover { color: var(--primary-light); }

.footer__link svg {
  color: var(--primary);
  flex-shrink: 0;
}

.footer__bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.75rem;
  color: rgba(168, 168, 160, 0.4);
  letter-spacing: 0.03em;
}

/* ======================
   ANIMATIONS
   ====================== */
.anim-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.anim-fade-in {
  opacity: 0;
  animation: fadeIn 0.7s ease forwards;
}

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

/* Scroll-triggered reveals */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ======================
   SCROLL OFFSET
   ====================== */
[id] {
  scroll-margin-top: 5rem;
}

/* ======================
   SELECTION COLOR
   ====================== */
/* ======================
   FOCUS VISIBILITY
   ====================== */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.header__link:focus-visible,
.header__link:focus {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

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

/* ======================
   SELECTION COLOR
   ====================== */
::selection {
  background: rgba(212, 160, 18, 0.25);
  color: var(--fg);
}

/* ======================
   FLOATING WHATSAPP
   ====================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5), 0 2px 4px rgba(0,0,0,0.2);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 2px 4px rgba(0,0,0,0.2); }
  50%      { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6), 0 2px 4px rgba(0,0,0,0.2); }
}
