/* ════════════════════════════════════════════════════════════════ */
/* LOGO STYLING — MiraalTech M Hexagon Logo */
/* ════════════════════════════════════════════════════════════════ */

/* Full wordmark image (legacy — unused in header/footer) */
.site-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
}

.site-logo--footer {
  height: 38px;
  max-width: 190px;
}

.logo-mark {
  display: block;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.logo-mark--footer {
  width: 32px;
  height: 32px;
}

.logo--footer {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 14px;
  text-decoration: none;
  color: inherit;
}

.logo--footer .logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  transform: translateY(2px);
}

.logo--footer .logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.15px;
}

.logo--footer .logo-name .dot {
  color: var(--red);
}

.ft-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: inherit;
}

/* Full logo with text */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.85;
}

.logo svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.logo:hover svg {
  transform: scale(1.05);
}

.logo-name {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: var(--red);
  letter-spacing: 0.5px;
}

.logo-name .dot,
.ft-logo-name .dot {
  display: inline;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  animation: none;
  color: var(--red);
  font-weight: 700;
}

/* Logo icon only */
.logo-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

/* Responsive logo sizes */
@media (max-width: 768px) {
  .site-logo {
    height: 36px;
    max-width: min(180px, 48vw);
  }

  .site-logo--footer {
    height: 32px;
    max-width: 160px;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
  }

  .logo-mark--footer {
    width: 28px;
    height: 28px;
  }

  .logo {
    gap: 2px;
  }

  .logo--footer .logo-mark {
    width: 30px;
    height: 30px;
    transform: translateY(1px);
  }

  .logo--footer .logo-name {
    font-size: 20px;
  }

  .ft-logo-link {
    gap: 3px;
  }

  .logo svg {
    width: 40px;
    height: 40px;
  }

  .logo-name {
    font-size: 18px;
  }
}

/* Dark background variant */
.logo.dark-mode {
  color: #2acdcd;
}

.logo.dark-mode .logo-name {
  color: #2acdcd;
}
