/* Kanyon Corporate — compact shell */

*,
*::before,
*::after {
  box-sizing: border-box;
}

.corp-body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #1a1a1a;
  background: #fff;
}

.corp-body a {
  color: inherit;
}

.corp-header {
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

.corp-header__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.625rem 1rem;
}

.corp-header__brand {
  flex-shrink: 0;
}

.corp-header__brand img {
  display: block;
  height: 28px;
  width: auto;
}

.corp-header__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  flex: 1 1 auto;
  min-width: 0;
}

.corp-header__nav a {
  text-decoration: none;
  font-size: 0.8125rem;
  color: #333;
  white-space: nowrap;
}

.corp-header__nav a:hover {
  color: #000;
  text-decoration: underline;
}

.corp-header__lang {
  flex-shrink: 0;
  padding: 0.2rem 0.5rem;
  border: 1px solid #ddd;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: #333;
}

.corp-footer {
  border-top: 1px solid #e5e5e5;
  background: #f9f9f9;
  margin-top: 1.5rem;
  padding: 1rem;
}

.corp-footer__nav,
.corp-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  max-width: 1080px;
  margin: 0 auto 0.5rem;
}

.corp-footer__nav a,
.corp-footer__social a {
  text-decoration: none;
  font-size: 0.75rem;
  color: #555;
}

.corp-footer__nav a:hover,
.corp-footer__social a:hover {
  color: #000;
  text-decoration: underline;
}

.corp-footer__social a {
  text-transform: capitalize;
}

.corp-footer__copy {
  max-width: 1080px;
  margin: 0.5rem auto 0;
  color: #888;
  font-size: 0.75rem;
}

/* Cookie */

#cookiebanner-exp {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 140;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid #e5e5e5;
  background: #fff;
  font-size: 0.8125rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

#cookiebanner-exp.is-hidden {
  display: none !important;
}

#cookiebanner-exp h3 {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
}

#cookiebanner-exp p {
  margin: 0;
  color: #555;
}

.cookie-banner-content {
  flex: 1 1 200px;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.cookie-button {
  padding: 0.35rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}

.cookie-button-primary {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 0.75rem;
}

.cookie-modal.is-hidden {
  display: none;
}

body.cookie-modal-open {
  overflow: hidden;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.cookie-modal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 640px);
  max-height: 88vh;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  font-size: 0.8125rem;
}

.cookie-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cookie-modal-close svg {
  width: 1.125rem;
  height: 1.125rem;
}

#cookie-modal-title {
  margin: 0 1.5rem 0.75rem 0;
  font-size: 1rem;
  font-weight: 600;
}

.cookie-modal-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.cookie-modal-tab {
  padding: 0.25rem 0.6rem;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}

.cookie-modal-tab.is-active {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.cookie-modal-pane {
  display: none;
}

.cookie-modal-pane.is-active {
  display: block;
}

.cookie-modal-pane[hidden] {
  display: none !important;
}

.cookie-modal-tab-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.cookie-check-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.cookie-check-row input {
  position: absolute;
  opacity: 0;
}

.cookie-check-switch {
  position: relative;
  display: block;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: #ccc;
  cursor: pointer;
}

.cookie-check-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.cookie-check-row input:checked + .cookie-check-switch {
  background: #1a1a1a;
}

.cookie-check-row input:checked + .cookie-check-switch::after {
  transform: translateX(16px);
}

.cookie-check-copy h4 {
  margin: 0 0 0.15rem;
  font-size: 0.8125rem;
}

.cookie-check-copy p {
  margin: 0;
  font-size: 0.75rem;
  color: #666;
}

.cookies-settings-wrapper p {
  margin: 0 0 0.5rem;
}

.cookie-notice-scroll {
  max-height: 36vh;
  overflow: auto;
}

.cookie-modal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}

.cookie-modal-table th,
.cookie-modal-table td {
  padding: 0.35rem 0.5rem;
  border: 1px solid #eee;
  text-align: left;
}

.cookie-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eee;
}

.cookie-inline-button {
  padding: 0.35rem 0.75rem;
  border: 0;
  border-radius: 3px;
  background: #1a1a1a;
  color: #fff;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .corp-header__inner {
    flex-wrap: wrap;
  }

  .corp-header__nav {
    order: 3;
    width: 100%;
  }
}
