@charset "UTF-8";
/* ===========================================
   LEGAL PAGES — Shared Layout
   =========================================== */

.legal-page {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 80px;
  min-height: 100vh;
}

.legal-page__header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: var(--border-light);
}

.legal-page__title {
  margin-bottom: 12px;
}

.legal-page__meta {
  font-size: var(--text-small);
  color: var(--text-muted);
}

.legal-page__body {
  max-width: 760px;
  margin: 0 auto;
}

.legal-page__body h2 {
  font-size: var(--text-lg);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: var(--border-light);
}

.legal-page__body h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-page__body h3 {
  font-size: 1.1rem;
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-page__body p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: none;
}

.legal-page__body ul,
.legal-page__body ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-page__body ul { list-style: disc; }
.legal-page__body ol { list-style: decimal; }

.legal-page__body li {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-page__body a {
  color: var(--accent-emerald);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--duration-fast);
}
.legal-page__body a:hover {
  color: var(--accent-teal);
}

.legal-page__body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal-page__body .legal-highlight {
  background: var(--bg-soft);
  border-left: 3px solid var(--accent-emerald);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}

.legal-page__body .legal-highlight p {
  margin-bottom: 0;
}

.legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  padding: 12px 24px;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--accent-emerald);
  border: 2px solid var(--accent-emerald);
  border-radius: var(--radius-pill);
  transition: all var(--duration-normal) var(--ease-out);
}
.legal-page__back:hover {
  background: var(--accent-emerald);
  color: #fff;
  transform: translateY(-2px);
}
.legal-page__back svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 767px) {
  .legal-page {
    padding-top: calc(var(--nav-height) + 24px);
    padding-bottom: 48px;
  }
  .legal-page__body h2 {
    margin-top: 32px;
  }
}

/* ===========================================
   CONTACT PAGE — Form & Cards
   =========================================== */

.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.contact-card {
  background: var(--bg-card);
  border: var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: #fff;
}
.contact-card__icon--emerald { background: var(--accent-emerald); }
.contact-card__icon--blue    { background: var(--accent-blue); }
.contact-card__icon--violet  { background: var(--accent-violet); }

.contact-card__icon svg {
  width: 22px;
  height: 22px;
}

.contact-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card__desc {
  font-size: var(--text-small);
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.contact-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: var(--text-small);
  color: var(--accent-emerald);
  transition: color var(--duration-fast);
}
.contact-card__link:hover {
  color: var(--accent-teal);
}
.contact-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-fast);
}
.contact-card__link:hover svg {
  transform: translateX(3px);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form__group {
  margin-bottom: 20px;
}

.contact-form__label {
  display: block;
  font-weight: 600;
  font-size: var(--text-small);
  margin-bottom: 6px;
  color: var(--text-primary);
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-card);
  transition: border-color var(--duration-fast),
              box-shadow var(--duration-fast);
  appearance: none;
}
.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.contact-form__select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form__submit {
  margin-top: 8px;
}

.contact-form__note {
  text-align: center;
  margin-top: 16px;
  font-size: var(--text-xs, 0.8rem);
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .contact-form__row {
    grid-template-columns: 1fr;
  }
  .contact-channels {
    grid-template-columns: 1fr;
  }
}

@media print {
  .legal-page { padding-top: 0; }
  .legal-page__back { display: none; }
  .contact-form { display: none; }
  .contact-card__link::after { content: ' (' attr(href) ')'; font-weight: 400; }
}
