/* ============================================
   PAGES.CSS — Shared styles for inner pages
   about, contact, privacy, sitemap
   ============================================ */

/* ---- PAGE HERO ---- */
.page-hero {
  position: relative;
  background: var(--black);
  padding: 140px 0 80px;
  overflow: hidden;
}
.page-hero--compact { padding: 120px 0 60px; }

.page-hero__breadcrumb {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 20px;
}
.page-hero__breadcrumb a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}
.page-hero__breadcrumb a:hover { color: var(--accent); }
.page-hero__breadcrumb::after { content: ''; }

.page-hero__title {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.page-hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--gray-400);
  max-width: 520px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* Active nav link */
.nav__links a.active { color: var(--white); }

/* ---- ABOUT PAGE ---- */
.founder {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: start;
}

.founder__card {
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 88px;
  text-align: left;
}

.founder__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  border: 4px solid rgba(255,92,0,0.4);
  box-shadow: 0 0 0 1px rgba(255,92,0,0.15), 0 8px 24px rgba(0,0,0,0.3);
}

.founder__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder__name { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.founder__title { font-size: 13px; color: var(--gray-400); margin-bottom: 8px; }
.founder__location { font-size: 13px; color: var(--gray-600); display: flex; align-items: center; gap: 4px; }

.founder__story h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}
.founder__story h3 {
  font-size: 20px;
  font-weight: 800;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text);
}
.founder__story p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 18px;
}
.founder__story p strong { color: var(--text); font-weight: 700; }
.founder__story p em { color: var(--accent); font-style: normal; font-weight: 600; }

/* VALUES */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.value-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: border-color 0.2s;
}
.value-card:hover { border-color: rgba(255,92,0,0.3); }
.value-card__num {
  font-size: 40px;
  font-weight: 900;
  color: rgba(255,92,0,0.25);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.value-card h3 { font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--gray-400); line-height: 1.65; }

/* CTA SECTION */
.cta-section { background: var(--gray-100); }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin-bottom: 8px; }
.cta-inner p { color: var(--gray-600); font-size: 16px; }

/* ---- CONTACT PAGE ---- */
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(255,92,0,0.1);
  border: 1px solid rgba(255,92,0,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-item__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.contact-info-item__value {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

/* FAQ MINI */
.faq-mini { margin-top: 8px; }
.faq-mini__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:last-child { border-bottom: none; }
.faq-item__q {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.faq-item__a {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 16px;
}
.form-note a { color: var(--accent); text-decoration: none; }
.form-note a:hover { text-decoration: underline; }

/* ---- PRIVACY PAGE ---- */
.legal-body {
  max-width: 760px;
}

.legal-intro {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  padding: 24px 28px;
  background: var(--gray-100);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 48px;
}

.legal-body h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 40px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}
.legal-body h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.legal-body h3 { font-size: 16px; font-weight: 700; color: var(--text); margin: 20px 0 8px; }

.legal-body p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-body p strong { color: var(--text); font-weight: 700; }
.legal-body p a { color: var(--accent); text-decoration: none; }
.legal-body p a:hover { text-decoration: underline; }

.legal-body ul {
  margin: 8px 0 20px 20px;
}
.legal-body ul li {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-contact {
  margin-top: 8px;
  padding: 24px 28px;
  background: var(--gray-100);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 2;
  color: var(--gray-600);
}
.legal-contact strong { color: var(--text); }
.legal-contact a { color: var(--accent); text-decoration: none; }

/* ---- SITEMAP PAGE ---- */
.sitemap-container { max-width: 860px; }

.sitemap-group {
  margin-bottom: 56px;
}

.sitemap-group__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-200);
}
.sitemap-group__icon { font-size: 22px; }
.sitemap-group__header h2 { font-size: 20px; font-weight: 800; color: var(--text); margin: 0; }

.sitemap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sitemap-list--anchors .sitemap-link {
  padding: 12px 16px;
}

.sitemap-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--gray-100);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  border: 1px solid transparent;
  gap: 16px;
}
.sitemap-link:hover {
  background: var(--white);
  border-color: rgba(255,92,0,0.25);
  box-shadow: var(--shadow);
}

.sitemap-link__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}
.sitemap-link:hover .sitemap-link__name { color: var(--accent); }

.sitemap-link__url {
  font-size: 12px;
  color: var(--gray-400);
  font-family: monospace;
}

.sitemap-link__desc {
  font-size: 13px;
  color: var(--gray-600);
  margin: 6px 20px 12px;
  line-height: 1.5;
}

.sitemap-xml-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255,92,0,0.06);
  border: 1px solid rgba(255,92,0,0.2);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--gray-600);
  margin-top: 16px;
}
.sitemap-xml-note span { font-size: 20px; flex-shrink: 0; }
.sitemap-xml-note strong { color: var(--text); display: block; margin-bottom: 4px; }
.sitemap-xml-note a { color: var(--accent); text-decoration: none; font-family: monospace; }

/* ---- RESPONSIVE — INNER PAGES ---- */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .founder { grid-template-columns: 1fr; gap: 36px; }
  .founder__card { position: static; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .sitemap-link { flex-direction: column; align-items: flex-start; gap: 4px; }
  .sitemap-link__url { font-size: 11px; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
}
