/* ============================================
   Reliable Back Office — Brand Stylesheet
   People First → Excellence → Systems
   ============================================ */

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

/* Design Tokens — Blue/Orange Palette */
:root {
  --ink: #142742;
  --heading: #0F2040;
  --body: #475569;
  --muted: #64748B;
  --light: #94A3B8;
  --border: #E2E8F0;
  --surface: #F0F6FF;
  --cream: #F0F6FF;
  --white: #ffffff;
  --accent: #1B6FBF;
  --accent-hover: #155A9C;
  --accent-soft: #E8F1FB;
  --warm: #E07A2F;
  --warm-soft: #FFF4EB;
  --warm-hover: #C96A22;
  --dark: #0C2340;
  --dark-surface: #163256;
  --dark-muted: #8BA3C4;
  --dark-light: #C8D6E5;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --max-w: 1100px;
  --transition: 0.2s ease;
}

/* Base */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  color: var(--heading);
  line-height: 1.25;
  font-weight: 600;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }

img { max-width: 100%; display: block; }

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--heading);
  text-decoration: none;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo:hover { color: var(--heading); }
.nav-logo-icon {
  width: 32px;
  height: 37px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  letter-spacing: 0.1px;
  position: relative;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--heading);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--warm);
  border-radius: 1px;
}

.nav-cta {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--accent);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
  background: var(--accent-hover) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--heading);
  margin: 5px 0;
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 1px;
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px 40px 80px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  max-width: 780px;
  margin: 0 auto 28px;
  letter-spacing: -0.5px;
}

.hero .subtitle {
  font-size: 18px;
  color: var(--body);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-label {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--warm);
  margin-bottom: 20px;
}

/* Page heroes (About, Services) */
.page-hero {
  background: var(--dark);
  color: var(--white);
  padding: 100px 40px 80px;
  text-align: center;
}
.page-hero .hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-hero h1 {
  color: var(--white);
  font-size: 44px;
  max-width: 700px;
  margin: 0 auto 24px;
}
.page-hero .subtitle {
  color: var(--dark-light);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}
.page-hero .hero-label {
  color: var(--warm);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27, 111, 191, 0.25);
}

.btn-warm {
  background: var(--warm);
  color: var(--white);
}
.btn-warm:hover {
  background: var(--warm-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(224, 122, 47, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--heading);
}
.btn-white:hover {
  background: var(--surface);
  color: var(--heading);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 100px 40px;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-white { background: var(--white); }
.section-cream { background: var(--cream); }
.section-dark {
  background: var(--dark);
  color: var(--white);
}
.section-dark h2,
.section-dark h3 { color: var(--white); }
.section-dark p { color: var(--dark-light); }
.section-dark .section-label { color: var(--warm); }

.section-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--warm);
  margin-bottom: 16px;
}

.section-heading {
  font-size: 38px;
  max-width: 600px;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.section-subtext {
  font-size: 17px;
  color: var(--body);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 56px;
}

.text-center { text-align: center; }
.text-center .section-heading,
.text-center .section-subtext {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FOUNDATION PILLARS (3-column)
   ============================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar {
  padding: 36px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pillar:hover {
  border-color: var(--warm);
  box-shadow: 0 4px 20px rgba(224, 122, 47, 0.08);
}

.pillar-number {
  font-family: 'Lora', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--warm);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pillar-number::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.pillar h3 {
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.pillar p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================
   FEATURE CARDS (2-column)
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.feature-card {
  padding: 36px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(27, 111, 191, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--warm-soft);
  color: var(--warm);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  font-family: 'Lora', serif;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.feature-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================
   SPLIT SECTIONS (text + visual)
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.split-content p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.split-content p:last-of-type {
  margin-bottom: 32px;
}

/* ============================================
   VALUE LIST
   ============================================ */
.value-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.value-marker {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--warm-soft);
  color: var(--warm);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  font-family: 'Lora', serif;
}

.value-item h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.value-item p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* Dark variant */
.section-dark .value-marker {
  background: rgba(224, 122, 47, 0.15);
}
.section-dark .value-item p {
  color: var(--dark-muted);
}

/* ============================================
   SERVICES DETAIL (Services Page)
   ============================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }

.service-detail-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--warm);
  margin-bottom: 12px;
}

.service-detail h3 {
  font-size: 28px;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.service-detail p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
}

.service-detail-points {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-detail-points li {
  font-size: 15px;
  color: var(--body);
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}
.service-detail-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warm);
  opacity: 0.6;
}

/* ============================================
   ABOUT PAGE — CULTURE CARDS
   ============================================ */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.culture-card {
  padding: 36px 32px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
}

.culture-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.culture-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================
   ABOUT PAGE — QUOTE/MISSION BLOCK
   ============================================ */
.mission-block {
  background: var(--warm-soft);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  border: 1px solid rgba(224, 122, 47, 0.15);
}

.mission-block blockquote {
  font-family: 'Lora', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.4;
  max-width: 640px;
  margin: 0 auto;
  font-style: italic;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 40px;
  text-align: center;
}

.cta-section .cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 38px;
  max-width: 600px;
  margin: 0 auto 20px;
}

.cta-section p {
  font-size: 17px;
  color: var(--body);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

/* Warm background CTA */
.cta-warm {
  background: var(--warm-soft);
  border-top: 1px solid rgba(224, 122, 47, 0.12);
  border-bottom: 1px solid rgba(224, 122, 47, 0.12);
}

/* ============================================
   TEASER LINK
   ============================================ */
.teaser-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  margin-top: 12px;
}
.teaser-link:hover {
  gap: 12px;
  color: var(--accent-hover);
}
.teaser-link::after {
  content: '\2192';
  transition: transform var(--transition);
}
.teaser-link:hover::after {
  transform: translateX(4px);
}

/* ============================================
   WARM DIVIDER
   ============================================ */
.warm-divider {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.warm-divider hr {
  border: none;
  border-top: 1px solid var(--border);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--dark);
  color: var(--dark-light);
  padding: 60px 40px 40px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .nav-logo {
  color: var(--white);
  font-size: 19px;
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-size: 14px;
  color: var(--dark-muted);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--dark-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--dark-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .service-detail { grid-template-columns: 1fr; gap: 24px; }
  .culture-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
    z-index: 99;
  }
  .nav-toggle { display: block; }

  .hero { padding: 60px 24px 50px; }
  .hero h1 { font-size: 34px; }
  .hero .subtitle { font-size: 16px; }

  .page-hero { padding: 60px 24px 50px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero .subtitle { font-size: 16px; }

  .section { padding: 60px 24px; }
  .section-heading { font-size: 30px; }

  .cta-section { padding: 60px 24px; }
  .cta-section h2 { font-size: 30px; }

  .mission-block { padding: 40px 28px; }
  .mission-block blockquote { font-size: 22px; }

  .site-footer { padding: 48px 24px 32px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .page-hero h1 { font-size: 28px; }
  .section-heading { font-size: 26px; }
  .cta-section h2 { font-size: 26px; }
  .btn-group { flex-direction: column; align-items: center; }
  .btn { width: 100%; text-align: center; }
}
