/* THEVORA — STATIC PAGES (terms, contact, faq) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background: #fff7f6;
  color: #392b31;
  font-family: system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
}

/* -------------------------
   HEADER
------------------------- */

.site-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid #f0dce1;
  position: sticky;
  top: 0;
  z-index: 100;
}

.back-btn {
  background: none;
  border: none;
  color: #a84f6a;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px 4px 0;
  line-height: 1;
  flex-shrink: 0;
}

.back-btn:hover { opacity: 0.75; }

.logo-link {
  text-decoration: none;
  flex-shrink: 0;
}

.logo-text {
  font-size: 18px;
  font-weight: 900;
  color: #a84f6a;
  letter-spacing: -0.5px;
}

.header-actions {
  margin-left: auto;
}

.header-home-btn {
  font-size: 13px;
  font-weight: 600;
  color: #a84f6a;
  text-decoration: none;
  padding: 6px 14px;
  border: 1.5px solid #a84f6a;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.header-home-btn:hover {
  background: #a84f6a;
  color: #fff;
}

/* -------------------------
   MAIN
------------------------- */

.static-main {
  max-width: 740px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px 64px;
  flex: 1;
}

.static-main h1 {
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 900;
  color: #392b31;
  margin-bottom: 8px;
}

.static-subtitle {
  font-size: 15px;
  color: #786970;
  margin-bottom: 36px;
}

/* -------------------------
   SECTION (terms)
------------------------- */

.static-section {
  margin-bottom: 32px;
}

.static-section h2 {
  font-size: 16px;
  font-weight: 800;
  color: #a84f6a;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.static-section p,
.static-section li {
  font-size: 14px;
  line-height: 1.75;
  color: #4d3b43;
}

.static-section ul,
.static-section ol {
  padding-left: 20px;
  margin-top: 8px;
}

.static-section li { margin-bottom: 4px; }

.static-section a {
  color: #a84f6a;
  font-weight: 600;
  text-decoration: underline;
}

/* -------------------------
   CONTACT CARDS
------------------------- */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.contact-card {
  background: #fff;
  border: 1.5px solid #f0dce1;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contact-card:hover {
  border-color: #a84f6a;
  box-shadow: 0 4px 20px rgba(168, 79, 106, 0.12);
}

.contact-card-icon {
  font-size: 34px;
}

.contact-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #786970;
}

.contact-card-value {
  font-size: 16px;
  font-weight: 800;
  color: #a84f6a;
}

.contact-card-note {
  font-size: 12px;
  color: #786970;
  line-height: 1.5;
}

.contact-card-btn {
  margin-top: 4px;
  background: #a84f6a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 9px;
  padding: 8px 18px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.15s;
}

.contact-card-btn:hover { opacity: 0.85; }

.contact-note-box {
  background: #fff0f3;
  border: 1px solid #f0dce1;
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 14px;
  color: #4d3b43;
  line-height: 1.7;
}

.contact-note-box a {
  color: #a84f6a;
  font-weight: 700;
  text-decoration: underline;
}

/* -------------------------
   FAQ
------------------------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1.5px solid #f0dce1;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: #a84f6a;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #392b31;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 400;
  color: #a84f6a;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #4d3b43;
}

.faq-item a {
  color: #a84f6a;
  font-weight: 600;
  text-decoration: underline;
}

/* -------------------------
   FOOTER
------------------------- */

.site-footer {
  background: #fff;
  border-top: 1px solid #f0dce1;
  padding: 20px 24px;
  text-align: center;
  font-size: 12px;
  color: #786970;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer nav a {
  color: #a84f6a;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
}

.site-footer nav a:hover { text-decoration: underline; }

/* -------------------------
   RESPONSIVE
------------------------- */

@media (max-width: 500px) {
  .static-main { padding: 28px 16px 48px; }
  .contact-cards { grid-template-columns: 1fr; }
}