:root {
  color-scheme: light;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-rendering: optimizeLegibility;
  background: #090607;
  color: #111;
}

body {
  overflow-x: hidden;
  background: white;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
.img-logo {
  display: block;
  max-width: 60%;
  height: auto;
}

.hidden,
.hidden-page {
  display: none !important;
}

.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.topbar {
  display: flex;
  justify-content: center;
  background: black;
  width: 100%;
}

.brand {
  max-width: 260px;
  display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px 0px;
}

.hero-stage {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease both;
      display: flex;
    justify-content: center;
}

.hero-stage img {
  width: 100%;
  height: auto;
}

.status-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  background: black;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}

.status-icon {
  width: 92px;
  min-width: 92px;
}

.status-icon.bounce {
  animation: bounce 0.5s ease;
}

.status-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  overflow: hidden;
  border-right: 2px solid #fff;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  animation: typing 3s steps(30, end), blink-caret 0.75s step-end infinite;
}

.status-text {
  margin: 0;
  color: #d8d8dd;
  line-height: 1.7;
}

@media (max-width: 420px) {
  .status-title {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    border-right-width: 1px;
  }

  .info-card {
    width: min(100%, 320px);
    padding: 1.5rem;
  }

  .modal-gallery {
    grid-template-columns: 1fr;
  }
}

.cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.info-card {
  border: 12px solid #10111a;
  border-radius: 28px;
  background: #ffffff;
  width: clamp(220px, 45vw, 260px);
  min-height: 180px;
  padding: 1.25rem;
  display: grid;
  place-items: center;
  gap: 0.75rem;
  text-align: center;
  color: #111;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  animation: card-pop 0.35s ease both;
}

.info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(47, 125, 237, 0.15), transparent 38%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.info-card:hover,
.info-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.14);
  border-color: #151821;
}

.info-card:hover::before,
.info-card:focus-visible::before {
  opacity: 1;
}

.card-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.info-card p {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}

.page-footer {
  margin-top: auto;
  padding: 1rem 0;
  text-align: center;
  background: black;
  color: white;
  font-size: 0.95rem;
  width: 100%;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 13, 21, 0.9);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: min(920px, 100%);
  max-height: calc(100vh - 3rem);
  overflow: auto;
  background: #ffffff;
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  position: relative;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.modal-backdrop.visible .modal-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-card.closing {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: transparent;
  color: #111;
  font-size: 2rem;
  cursor: pointer;
}

.modal-card h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: #111;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 22px;
  background: #111;
  display: grid;
  place-items: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-image.placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.modal-caption {
  margin: 1.25rem 0 0;
  color: #444;
  line-height: 1.75;
}

.chat-widget {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  z-index: 30;
  display: grid;
  gap: 0.75rem;
  align-items: end;
}

.chat-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #ff4500, #ffa500);
  background-size: 200% 200%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
  animation: gradient-shift 3s ease-in-out infinite;
}

.chat-button:hover {
  transform: translateY(-3px);
}

.chat-panel {
  width: min(320px, calc(100vw - 2rem));
  background: #11131b;
  border-radius: 28px;
  padding: 1rem;
  color: #f5f5f7;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.3);
}

.chat-panel.hidden {
  display: none;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.chat-header strong {
  font-size: 1rem;
}

.chat-close {
  border: none;
  background: transparent;
  color: #f5f5f7;
  font-size: 1.5rem;
  cursor: pointer;
}

.chat-panel label {
  display: block;
  margin-bottom: 0.5rem;
  color: #c7c7d1;
  font-size: 0.95rem;
}

.chat-panel textarea {
  width: 100%;
  min-height: 110px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #f4f4f8;
  padding: 0.95rem 1rem;
  resize: vertical;
  font: inherit;
}

.send-button {
  width: 100%;
  margin-top: 0.9rem;
  padding: 0.95rem 1rem;
  border: none;
  border-radius: 18px;
  background: linear-gradient(135deg, #22c55e, #0d9488);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.send-button:hover {
  opacity: 0.95;
}

.loader-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #090607, #05040a 85%);
  display: grid;
  place-items: center;
  z-index: 40;
}

.loader-card {
  width: min(420px, 92vw);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 2rem;
  text-align: center;
  color: #f8fafc;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
}

.loader-label {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.truck-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.truck-icon {
  font-size: 2.4rem;
}

.loader-track {
  flex: 1;
  min-width: 0;
}

.progress-bar {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  position: relative;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff4500, #ff8c00, #ffd700);
  transition: width 0.2s ease;
}

.loader-progress {
  margin-top: 0.85rem;
  font-size: 1rem;
  color: #d2d7e1;
}

.loader-copy {
  margin: 1rem 0 0;
  color: #b8bfd2;
  font-size: 0.95rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: #fff;
  }
}

@keyframes gradient-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes card-pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 768px) {
  .main-container {
    padding: 1rem 0.85rem 2.25rem;
  }

  .status-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .status-icon {
    margin: 0 auto;
  }

  .cards-grid {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 520px) {
  .cards-grid {
    flex-direction: column;
    align-items: center;
  }

  .info-card {
    width: min(100%, 300px);
  }

  .modal-gallery {
    grid-template-columns: 1fr;
  }

  .chat-widget {
    right: 0.9rem;
    left: 0.9rem;
    bottom: 1rem;
  }

  .chat-button {
    width: 56px;
    height: 56px;
  }
}
