/* ============================================================
   One Stop Immigration Station — Homepage Redesign
   Design system
   ============================================================ */

:root {
  /* Brand */
  --navy:        #1a4b8c;
  --navy-700:    #163d72;
  --navy-900:    #0f2c54;
  --navy-950:    #0a1f3d;
  --gold:        #c8a85a;
  --gold-600:    #b5944a;
  --gold-200:    #e8d9b0;

  /* Neutrals (warm) */
  --ink:         #1a2230;
  --slate:       #515b6b;
  --slate-300:   #8b94a3;
  --line:        #e4e6ec;
  --line-soft:   #eef0f4;
  --paper:       #ffffff;
  --paper-2:     #f6f7fa;
  --paper-3:     #eef1f6;

  /* Type */
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans:  "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --radius:    14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(15,44,84,.06), 0 2px 8px rgba(15,44,84,.05);
  --shadow:    0 8px 24px rgba(15,44,84,.08), 0 2px 6px rgba(15,44,84,.05);
  --shadow-lg: 0 24px 60px rgba(15,44,84,.16), 0 6px 18px rgba(15,44,84,.08);

  --header-h: 78px;
  --topbar-h: 40px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy-900);
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* Section rhythm */
.section { padding: clamp(64px, 8vw, 116px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }

.section-head { max-width: 660px; }
.section-head--center { margin: 0 auto; text-align: center; }
.section-title {
  font-size: clamp(30px, 4vw, 46px);
}
.section-sub {
  margin-top: 18px;
  color: var(--slate);
  font-size: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--gold {
  background: var(--gold);
  color: var(--navy-950);
  box-shadow: 0 10px 24px rgba(200,168,90,.34);
}
.btn--gold:hover { background: var(--gold-600); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(200,168,90,.42); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: rgba(26,75,140,.35);
}
.btn--outline-navy:hover { border-color: var(--navy); background: rgba(26,75,140,.05); }
.btn--sm { padding: 11px 18px; font-size: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Image placeholder (no real photography in prototype) */
.ph {
  position: relative;
  background-color: var(--paper-3);
  background-image:
    repeating-linear-gradient(135deg, rgba(26,75,140,.07) 0 2px, transparent 2px 11px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(255,255,255,.82);
  padding: 5px 10px;
  margin: 12px;
  border-radius: 5px;
  backdrop-filter: blur(2px);
}

/* hidden helper */
[hidden] { display: none !important; }
