.rydo-lang-en {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rydo-lang-zh {
  font-family: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

.rydo-lang-ja {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
}

.rydo-site-optimized {
  padding-bottom: max(120px, env(safe-area-inset-bottom));
}

.rydo-site-optimized .site-header,
.rydo-site-optimized header {
  max-width: 100vw;
}

.rydo-site-optimized input,
.rydo-site-optimized select,
.rydo-site-optimized textarea,
.rydo-site-optimized button {
  font-size: 16px;
}

.rydo-site-optimized .floating-whatsapp,
.rydo-site-optimized .whatsapp-floating,
.rydo-site-optimized [href*="wa.me"] {
  z-index: 2147482000;
}

.rydo-site-optimized .rydo-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.rydo-partnership {
  color: #172033;
}

.rydo-partnership-hero,
.rydo-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 20px;
}

.rydo-partnership-hero {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rydo-eyebrow {
  margin: 0 0 12px;
  color: #b78335;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rydo-partnership h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.rydo-partnership h2 {
  margin: 0 0 24px;
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: 0;
}

.rydo-partnership h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.rydo-partnership p {
  max-width: 780px;
  line-height: 1.72;
}

.rydo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rydo-card {
  border: 1px solid rgba(23, 32, 51, .12);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}

.rydo-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.rydo-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid #172033;
  border-radius: 8px;
  color: #172033;
  text-decoration: none;
  font-weight: 700;
}

.rydo-btn.primary {
  background: #172033;
  color: #fff;
}

.rydo-form-section {
  background: #f7f4ef;
  max-width: none;
}

.rydo-form-section > * {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.rydo-b2b-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rydo-b2b-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.rydo-b2b-form input,
.rydo-b2b-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(23, 32, 51, .2);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}

.rydo-b2b-form textarea,
.rydo-b2b-form label:last-of-type {
  grid-column: 1 / -1;
}

.rydo-b2b-form textarea {
  min-height: 130px;
}

.rydo-faq details {
  border-top: 1px solid rgba(23, 32, 51, .16);
  padding: 18px 0;
}

.rydo-faq summary {
  cursor: pointer;
  font-weight: 800;
}

.rydo-chatbot-toggle {
  position: fixed;
  right: 18px;
  bottom: calc(96px + env(safe-area-inset-bottom));
  z-index: 2147482500;
  border: 0;
  border-radius: 999px;
  background: #172033;
  color: #fff;
  min-height: 48px;
  padding: 0 18px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

.rydo-chatbot-panel {
  position: fixed;
  right: 18px;
  bottom: calc(154px + env(safe-area-inset-bottom));
  z-index: 2147482500;
  width: min(360px, calc(100vw - 28px));
  max-height: min(620px, calc(100vh - 190px));
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .26);
  display: none;
}

.rydo-chatbot-panel.is-open {
  display: flex;
  flex-direction: column;
}

.rydo-chatbot-head {
  padding: 14px 16px;
  background: #172033;
  color: #fff;
  font-weight: 800;
}

.rydo-chatbot-body {
  padding: 14px;
  overflow: auto;
}

.rydo-chatbot-actions {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(23, 32, 51, .12);
}

.rydo-chatbot-actions button,
.rydo-chatbot-actions a {
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(23, 32, 51, .18);
  background: #fff;
  color: #172033;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 782px) {
  .rydo-site-optimized {
    padding-bottom: max(150px, calc(150px + env(safe-area-inset-bottom)));
  }

  .rydo-site-optimized .main-navigation,
  .rydo-site-optimized nav {
    min-height: 56px;
  }

  .rydo-site-optimized .language-switcher,
  .rydo-site-optimized [class*="language"] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
  }

  .rydo-card-grid,
  .rydo-b2b-form {
    grid-template-columns: 1fr;
  }

  .rydo-partnership-hero,
  .rydo-section {
    padding: 40px 18px;
  }

  .rydo-chatbot-toggle {
    right: 12px;
    bottom: calc(108px + env(safe-area-inset-bottom));
  }

  .rydo-chatbot-panel {
    right: 10px;
    bottom: calc(166px + env(safe-area-inset-bottom));
    max-height: calc(100vh - 188px);
  }
}
