/* ══════════════════════════════════════
   OTIUM TALENT CORP — SHARED STYLES
   Used across all pages
══════════════════════════════════════ */

:root {
  --brand:       #2D6A4F;
  --brand-mid:   #40916C;
  --brand-light: #74C69D;
  --brand-pale:  #D8F3DC;
  --accent:      #B7600A;
  --accent-mid:  #D4780F;
  --accent-pale: #FFF0DC;

  --bg:          #F8F7F4;
  --bg2:         #FFFFFF;
  --bg3:         #F0EFEB;
  --border:      #E2E0DA;
  --border2:     #CCC9C1;
  --text:        #1C1C1C;
  --text2:       #3D3D3D;
  --text3:       #717171;
  --text4:       #9A9A9A;
  --nav-bg:      rgba(248,247,244,0.96);
  --shadow:      0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:   0 6px 28px rgba(0,0,0,0.10);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.13);
  --card-hover:  rgba(45,106,79,0.04);
}

[data-theme="dark"] {
  --bg:          #161A18;
  --bg2:         #1E2420;
  --bg3:         #242C28;
  --border:      #2E3830;
  --border2:     #3A4640;
  --text:        #EDECEA;
  --text2:       #C8C6C2;
  --text3:       #8A9490;
  --text4:       #5A6460;
  --nav-bg:      rgba(22,26,24,0.97);
  --shadow:      0 2px 12px rgba(0,0,0,0.3);
  --shadow-md:   0 6px 28px rgba(0,0,0,0.4);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.5);
  --card-hover:  rgba(64,145,108,0.07);
  --brand-pale:  rgba(45,106,79,0.18);
  --accent-pale: rgba(183,96,10,0.15);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  transition: background 0.3s, color 0.3s;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Lora', serif;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(34px, 4.5vw, 58px); font-weight: 600; }
h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; }
h4 { font-size: 17px; font-weight: 600; }

.label {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-mid); margin-bottom: 12px;
}

/* LAYOUT */
.container { max-width: 1120px; margin: 0 auto; padding: 0 40px; }
section { padding: 80px 0; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 6px;
  font-family: 'Mulish', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: 0.03em; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.btn-green { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-green:hover { background: var(--brand-mid); border-color: var(--brand-mid); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(45,106,79,0.3); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand-pale); transform: translateY(-1px); }
.btn-amber { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-amber:hover { background: var(--accent-mid); border-color: var(--accent-mid); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(183,96,10,0.3); }
.btn-white { background: #fff; color: var(--brand); border-color: #fff; }
.btn-white:hover { background: var(--brand-pale); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* NAV */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: background 0.3s, border-color 0.3s;
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 40px;
  height: 68px; display: flex; align-items: center;
  justify-content: space-between; gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: 'Lora', serif; font-size: 16px; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
.logo-sub { font-size: 9.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text3); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; flex: 1; justify-content: center; }
.nav-links a {
  display: block; padding: 6px 14px; border-radius: 6px;
  font-size: 14px; font-weight: 500; color: var(--text2);
  text-decoration: none; transition: background 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--bg3); color: var(--brand); }
.nav-links a.active { font-weight: 700; }
.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.theme-toggle {
  width: 44px; height: 26px; background: var(--border2);
  border-radius: 13px; position: relative; cursor: pointer;
  border: none; transition: background 0.3s; flex-shrink: 0;
}
[data-theme="dark"] .theme-toggle { background: var(--brand); }
.theme-toggle::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: white; transition: transform 0.3s;
}
[data-theme="dark"] .theme-toggle::after { transform: translateX(18px); }
.toggle-icons { display: flex; align-items: center; gap: 6px; }
.toggle-label { font-size: 12px; color: var(--text3); font-weight: 500; }

/* MOBILE NAV */
.mobile-toggle {
  display: none; background: transparent; border: none;
  color: var(--text); font-size: 24px; cursor: pointer;
}

/* PAGE HEADER (for inner pages) */
.page-header {
  padding: 120px 0 60px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-header .label { color: var(--accent); }
.page-header h1 { margin-bottom: 14px; }
.page-header h1 em { font-style: italic; color: var(--brand); }
.page-header p { font-size: 17px; color: var(--text2); max-width: 620px; margin: 0 auto; font-weight: 300; }

/* TRUST BAR (reusable) */
.trust-bar { background: var(--brand); padding: 18px 0; }
.trust-bar-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 40px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item svg { width: 18px; height: 18px; color: var(--brand-light); flex-shrink: 0; }
.trust-item span { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.92); }

/* CTA BAND (reusable) */
.cta-band { background: var(--brand); padding: 72px 0; }
.cta-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 40px;
  display: flex; justify-content: space-between;
  align-items: center; gap: 48px; flex-wrap: wrap;
}
.cta-text h2 { font-family: 'Lora', serif; color: #fff; margin-bottom: 10px; }
.cta-text p { font-size: 16px; color: rgba(255,255,255,0.78); max-width: 440px; font-weight: 300; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* FOOTER */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 56px 0 0; }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 0 40px; }
.footer-top {
  display: grid; grid-template-columns: 280px repeat(3, 1fr);
  gap: 48px; margin-bottom: 40px;
}
.footer-brand .fl-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: var(--text3); line-height: 1.7; }
.license-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 8px 12px;
  background: var(--brand-pale); border-radius: 6px;
  font-size: 11px; font-weight: 700;
  color: var(--brand); letter-spacing: 0.04em;
}
.license-badge svg { width: 14px; height: 14px; }
.fc-title { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text3); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 14px; color: var(--text2); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--brand); }
.footer-bottom {
  padding: 20px 0; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--text3); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--text3); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* CARDS & UTILITIES */
.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--text2); max-width: 580px; font-weight: 300; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* RESPONSIVE */
@media (max-width: 1020px) {
  .nav-links { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--border); flex-direction: column; padding: 20px 40px; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; width: 100%; }
  .mobile-toggle { display: block; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-text p { max-width: 100%; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  section { padding: 60px 0; }
  .trust-bar-inner { padding: 0 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-inner { padding: 0 20px; }
  .page-header { padding: 96px 0 48px; }
  .nav-right .toggle-label { display: none; }
}
