/* 54smiles — logo-blue.png with transparent background (logo-transparent.png) */

.brand-logo__img {
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
}

.brand-logo__img--hero { height: 80px; }
.brand-logo__img--loader { height: 88px; }
.brand-logo__img--section { height: 52px; }
.brand-logo__img--chip { height: 42px; }
.brand-logo__img--footer { height: 60px; }

/* Header logo zone */
header .logo-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-width: 0;
  margin-right: 1rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-group__brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.logo-group__logo {
  height: 38px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

header .logo-tagline {
  padding-left: 2.85rem;
  max-width: 210px;
  font-size: 0.55rem;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.logo-tagline {
  font-size: 0.58rem;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.25;
  max-width: 220px;
}

/* Loader */
.brand-logo--loader {
  margin-bottom: 1.5rem;
  animation: loaderPulse 1.2s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.92; transform: scale(0.98); }
}

/* Hero badge — white logo directly on photo, no chip */
.hero-brand-badge--dark {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 5;
  line-height: 0;
  background: none;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
}

/* Invite panel — white logo on cyan, no background box */
.invite-brand {
  margin-bottom: 1.5rem;
  line-height: 0;
  position: relative;
  z-index: 1;
}

/* Partner lockup */
.partner-lockup {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e6f7fd 100%);
  border: 1px solid rgba(0, 180, 240, 0.15);
  border-radius: 14px;
}

.partner-lockup__logo {
  flex-shrink: 0;
  line-height: 0;
}

.partner-lockup__text {
  flex: 1;
  min-width: 0;
}

.partner-lockup-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.2;
}

.partner-lockup-title sup { font-size: 0.65em; }

.partner-lockup-tag {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.section-brand-chip {
  display: block;
  margin-bottom: 1rem;
  line-height: 0;
}

.footer-logo {
  display: block;
  margin-bottom: 0.5rem;
  text-decoration: none;
  line-height: 0;
}

.footer-brand .logo-tagline {
  font-size: 0.65rem;
  color: #ffffff;
}

@media (max-width: 900px) {
  header .logo-group {
    min-width: 0;
    margin-right: 0.75rem;
  }

  .logo-group__logo {
    height: 34px;
    max-width: 148px;
  }

  header .logo-tagline {
    display: none;
  }

  /* Header already shows brand — hide overlapping hero badge on mobile */
  .hero-brand-badge--dark {
    display: none;
  }
}

@media (max-width: 768px) {
  .brand-logo__img--loader {
    height: 72px;
  }

  .partner-lockup {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .brand-logo__img--hero {
    height: 46px;
  }
}

.contact-intro {
  text-align: center;
  color: #64748b;
  font-size: 1rem;
  margin: -0.5rem auto 2rem;
  max-width: 520px;
}
.hero-supporting {
  margin: 1rem 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.5;
  color: #475569;
  max-width: 28rem;
}

.hero-tagline {
  margin: 0.5rem 0 1rem;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #00b4f0;
  max-width: 28rem;
}

.hero-label__short {
  display: none;
}

@media (max-width: 900px) {
  .hero-label__full {
    display: none;
  }

  .hero-label__short {
    display: inline;
  }

  .hero-tagline {
    font-size: 0.9rem;
    margin: 0.15rem 0 0.35rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  }

  .hero-supporting {
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0.15rem 0 0.5rem;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .hero-content {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.88);
  }
}

@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  .hero-content {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: transparent;
  }
}
