/* ============================================================
   THE APEX GROUP — PRIVACY POLICY
   Corporate Document Stylesheet
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 1.125rem;       /* 18px */
  line-height: 1.8;
  color: #1a1a1a;
  background: #ffffff;
}

a { color: inherit; text-decoration: none; }
img { display: block; }
ul, ol { list-style: none; }
strong { font-weight: 600; }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  border-bottom: 1px solid #e0e0e0;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.logo-name {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #1a1a1a;
}

.logo-sub {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #888;
}

/* ============================================================
   PAGE HERO (photo banner)
   ============================================================ */
.page-hero {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  background-image: url('hero-bg.png');
  background-size: cover;
  background-position: center 30%;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(24, 56, 120, 0.75), rgba(10, 24, 56, 0.85));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

/* Breadcrumb inside hero */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.bc-link {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 120ms;
}
.bc-link:hover { color: rgba(255,255,255,0.9); }

.bc-sep {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.bc-current {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.page-title {
  font-size: 2.25rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.page-meta {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ============================================================
   MAIN LAYOUT
   ============================================================ */
.main {
  padding: 5rem 2rem 6rem;
}

.content {
  max-width: 1050px;
  margin: 0 auto;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 3.5rem 0;
}

.section-divider {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 0;
}

/* Section headings */
.section-heading {
  font-size: 1.875rem; /* 30px */
  font-weight: 600;
  color: #111;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #111;
  display: inline-block;
}

/* Subsection headings */
.subsection-heading {
  font-size: 1.375rem; /* 22px */
  font-weight: 600;
  color: #222;
  letter-spacing: 0.01em;
  margin: 2rem 0 1rem;
  text-transform: none;
}

/* Body paragraphs */
.section p {
  color: #333;
  margin-bottom: 1rem;
  max-width: 72ch;
}

.section p:last-child { margin-bottom: 0; }

/* Inline links */
.text-link {
  color: #8a6d3b;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(138, 109, 59, 0.35);
  transition: color 120ms, text-decoration-color 120ms;
}
.text-link:hover {
  color: #6b5230;
  text-decoration-color: #6b5230;
}

/* ============================================================
   CONTENT LIST
   ============================================================ */
.content-list {
  margin: 0.5rem 0 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.content-list li {
  font-size: 1.125rem;
  color: #333;
  line-height: 1.8;
  padding-left: 1.25rem;
  position: relative;
}

.content-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: #999;
}

/* ============================================================
   DATA TABLE (Cookies)
   ============================================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 1.25rem 0 1.25rem;
  border: 1px solid #ddd;
}

.data-table thead tr {
  background: #f3f3f3;
  border-bottom: 1px solid #ddd;
}

.data-table thead th {
  padding: 0.7rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  color: #333;
  letter-spacing: 0.02em;
}

.data-table tbody td {
  padding: 0.7rem 1rem;
  color: #444;
  border-bottom: 1px solid #ebebeb;
  line-height: 1.6;
  vertical-align: top;
}

.data-table tbody tr:last-child td { border-bottom: none; }

.data-table tbody tr:nth-child(even) { background: #fafafa; }

/* ============================================================
   NOTE BLOCK
   ============================================================ */
.note-block {
  background: #f7f7f7;
  border-left: 3px solid #8a6d3b;
  padding: 0.85rem 1.1rem !important;
  border-radius: 0 2px 2px 0;
  font-size: 0.875rem !important;
  color: #444 !important;
  margin: 1.5rem 0 0 !important;
  max-width: 100% !important;
}

/* ============================================================
   CONTACT GRID
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid #ddd;
  border-radius: 2px;
  margin: 1.5rem 0 0;
  overflow: hidden;
}

.contact-block {
  padding: 1.25rem 1.4rem;
  border-right: 1px solid #ddd;
}

.contact-block:last-child { border-right: none; }

.contact-label {
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em;
  color: #888 !important;
  text-transform: uppercase;
  margin-bottom: 0.6rem !important;
}

.contact-line {
  font-size: 0.875rem !important;
  color: #333 !important;
  line-height: 1.6 !important;
  margin-bottom: 0.1rem !important;
}

.contact-line:last-child { margin-bottom: 0 !important; }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid #e0e0e0;
  background: #f7f7f7;
  padding: 2rem 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.footer-name {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #222;
}

.footer-sub {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #999;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-link {
  font-size: 0.8rem;
  color: #666;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: transparent;
  transition: color 120ms, text-decoration-color 120ms;
}
.footer-link:hover { color: #222; text-decoration-color: #222; }

.footer-copy {
  font-size: 0.75rem;
  color: #999;
  letter-spacing: 0.01em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .main { padding: 2rem 1.25rem 4rem; }
  .page-hero-content,
  .header-inner,
  .footer-inner { padding: 0 1.25rem; }

  .page-hero { height: 240px; }
  .page-title { font-size: 1.65rem; }

  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-block {
    border-right: none;
    border-bottom: 1px solid #ddd;
  }
  .contact-block:last-child { border-bottom: none; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .footer-right { align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer-links { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header { position: relative; }
  .site-footer { display: none; }
  .section-divider { border-color: #ccc; }
  .data-table { border: 1px solid #aaa; }
  .note-block { background: none; border-left: 2px solid #aaa; }
  a { text-decoration: underline; color: #000; }
} 