.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-size: 1.45rem;
  color: #fff;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), #ff9d59);
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 10px 26px rgba(255, 106, 19, 0.35);
}

.hazard-stripe {
  position: relative;
  height: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 106, 19, 0.96) 0 50%, rgba(15, 27, 45, 0.96) 50% 100%);
  background-size: 24px 18px;
  animation: stripeSlide 14s linear infinite;
}

.hazard-stripe span {
  display: block;
  height: 100%;
  width: 100%;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.15) 0 14px, transparent 14px 28px);
}

.card-number {
  font-family: var(--font-accent);
  color: var(--accent);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
}

.card-floating,
.floating-panel,
.story-card,
.product-card,
.video-card,
.article-card,
.team-card,
.contact-form-wrap,
.contact-info,
.testimonial-panel {
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  background: rgba(15, 27, 45, 0.7);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}

.story-card,
.product-card,
.video-card,
.article-card,
.team-card,
.contact-form-wrap,
.contact-info,
.testimonial-panel {
  background: var(--panel);
  border-color: var(--line);
  box-shadow: 0 10px 28px rgba(17, 27, 42, 0.06);
}

.contact-form-wrap,
.contact-info {
  padding: 28px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.field label {
  font-weight: 700;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(17, 27, 42, 0.14);
  background: #f8fafc;
  border-radius: 8px;
  min-height: 52px;
  padding: 12px 16px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255, 106, 19, 0.72);
  box-shadow: 0 0 0 4px rgba(255, 106, 19, 0.1);
}

.field.invalid input,
.field.invalid textarea {
  border-color: #d14343;
  animation: shake 0.35s ease;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  font-size: 0.94rem;
}

.form-status.is-error {
  color: #b92d2d;
}

.form-status.is-success {
  color: #1d8b4a;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.submit-btn {
  width: 100%;
  position: relative;
  gap: 10px;
}

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.submit-btn.is-loading .spinner {
  display: inline-block;
}

.submit-btn.is-loading .btn-label {
  opacity: 0.8;
}

.chat-widget {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 94px;
  width: min(390px, calc(100vw - 30px));
  background: rgba(15, 27, 45, 0.96);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px 18px 14px 14px;
  box-shadow: 0 25px 60px rgba(10, 18, 30, 0.45);
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 60;
}

.chat-widget.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255,106,19,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.chat-header strong {
  display: block;
}

.chat-header span {
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
}

.chat-close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.5rem;
}

.chat-body {
  max-height: 360px;
  overflow-y: auto;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.message {
  max-width: 80%;
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 0.94rem;
  line-height: 1.6;
}

.message.user {
  justify-self: end;
  background: rgba(255,106,19,0.18);
  color: #fff;
  border-bottom-left-radius: 6px;
}

.message.bot {
  justify-self: start;
  background: rgba(255,255,255,0.06);
  color: #eff5ff;
  border-bottom-right-radius: 6px;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
}

.quick-reply {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  color: #fff;
  font-size: 0.8rem;
  padding: 8px 12px;
}

.chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.chat-form input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  color: #fff;
  min-height: 42px;
  padding: 10px 14px;
}

.chat-form button {
  min-width: 86px;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.floating-actions {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 50;
}

.fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 30px rgba(37,211,102,0.3);
  font-weight: 800;
  font-size: 0.73rem;
  animation: pulse 2.4s infinite ease-in-out;
}

.fab svg {
  width: 30px;
  height: 30px;
}

.fab.chatbot-toggle svg {
  width: 28px;
  height: 28px;
}

.fab.chatbot-toggle {
  background: var(--accent);
  box-shadow: 0 18px 30px rgba(255,106,19,0.3);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 7, 17, 0.72);
}

.modal-panel {
  position: relative;
  width: min(960px, calc(100vw - 32px));
  background: #fff;
  border-radius: 14px;
  padding: 26px;
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  background: rgba(15,27,45,0.08);
  border-radius: 50%;
  font-size: 1.5rem;
}

.video-modal .modal-panel {
  width: min(920px, calc(100vw - 32px));
  aspect-ratio: 16 / 9;
  padding: 20px;
}

#video-frame {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

#video-player {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: #000;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.product-gallery img {
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
}

.modal-panel h3 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
  color: var(--text);
}

.modal-panel p {
  color: var(--text-soft);
}

@keyframes stripeSlide {
  from { background-position: 0 0; }
  to { background-position: 250px 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-3px); }
}
