/* ============================================
   True Value Consultants — Design Tokens
   Theme: the study-abroad journey as a passport,
   each destination a stamp earned along the way.
   ============================================ */

:root {
  --ink: #16232B;          /* charcoal-navy, primary text */
  --paper: #F1EAD9;        /* warm parchment background */
  --paper-deep: #E7DCC3;   /* slightly deeper paper for panels */
  --navy: #123B44;         /* deep teal-navy, headers/nav */
  --navy-deep: #0C2A31;
  --stamp-red: #A3402A;    /* visa-stamp ink red, primary accent */
  --stamp-gold: #B5842A;   /* secondary stamp ink, gold/ochre */
  --line: rgba(22, 35, 43, 0.18);
  --line-strong: rgba(22, 35, 43, 0.35);

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "IBM Plex Sans", -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy);
  color: var(--paper);
  border-bottom: 1px solid rgba(241,234,217,0.15);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px dashed rgba(241,234,217,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.02em;
  transform: rotate(-8deg);
  flex-shrink: 0;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

nav.main-nav a {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  opacity: 0.85;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: opacity 0.15s, border-color 0.15s;
}

nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  opacity: 1;
  border-color: var(--stamp-gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--stamp-red);
  color: var(--paper);
}
.btn-primary:hover { background: #8a3421; }

.btn-ghost-light {
  border-color: rgba(241,234,217,0.5);
  color: var(--paper);
}
.btn-ghost-light:hover { border-color: var(--paper); }

.btn-ghost-dark {
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost-dark:hover { border-color: var(--ink); }

/* ---------- Typography ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stamp-red);
  margin: 0 0 14px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 18px;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; }
.lede {
  font-size: 1.15rem;
  color: rgba(22,35,43,0.78);
  max-width: 620px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 76px 0 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-stamps {
  position: relative;
  height: 320px;
}

/* ---------- Passport stamp badges (signature element) ---------- */

.stamp {
  --tilt: -6deg;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed var(--stamp-red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(var(--tilt));
  color: var(--stamp-red);
  background: rgba(163,64,42,0.04);
  padding: 10px;
}

.stamp .code {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

.stamp .sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.85;
}

.stamp.gold {
  border-color: var(--stamp-gold);
  color: var(--stamp-gold);
  background: rgba(181,132,42,0.05);
}

.hero-stamps .stamp {
  position: absolute;
  width: 128px;
}
.hs-1 { top: 6%;  left: 4%;   --tilt: -10deg; }
.hs-2 { top: 40%; left: 42%;  --tilt: 6deg;  width: 150px !important; }
.hs-3 { top: 2%;  right: 2%;  --tilt: 9deg;  }
.hs-4 { bottom: 4%; left: 14%; --tilt: -4deg; }
.hs-5 { bottom: 0%; right: 10%; --tilt: 12deg; }

/* Strip of small stamps (used on home + as nav motif) */
.stamp-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding: 36px 0 44px;
}
.stamp-strip .stamp { width: 100%; }
.stamp-strip a.stamp-link {
  display: block;
  text-align: center;
}
.stamp-strip .label {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--ink);
}

/* ---------- Trust strip ---------- */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: rgba(22,35,43,0.7);
}
.trust-strip span::before {
  content: "✦ ";
  color: var(--stamp-gold);
}

/* ---------- Sections ---------- */

section { padding: 64px 0; }
section.deep { background: var(--paper-deep); }

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

/* Sequence steps (journey) — numbers ARE meaningful here */
.journey {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.journey-step {
  border-top: 2px solid var(--stamp-red);
  padding-top: 14px;
}
.journey-step .num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--stamp-red);
  display: block;
  margin-bottom: 10px;
}

/* Cards (non-sequential lists: services, values) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px 24px;
}
section.deep .card { background: var(--paper); }
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.96rem; color: rgba(22,35,43,0.78); }

/* ---------- Country stamp cards ---------- */

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.country-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 24px;
  background: var(--paper);
  position: relative;
}

.country-card .stamp {
  width: 78px;
  margin-bottom: 18px;
}

.country-card h3 { margin-bottom: 6px; }
.country-card .visa-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--navy);
  letter-spacing: 0.02em;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--navy);
  color: var(--paper);
  border-radius: 8px;
  padding: 48px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-banner h2 { margin: 0; color: var(--paper); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--navy-deep);
  color: rgba(241,234,217,0.75);
  padding: 44px 0 30px;
  font-size: 0.9rem;
}
footer.site-footer .foot-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(241,234,217,0.15);
  margin-bottom: 20px;
}
footer.site-footer .foot-brand {
  font-family: var(--font-display);
  color: var(--paper);
  font-size: 1.1rem;
}
footer.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer.site-footer a:hover { color: var(--paper); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  opacity: 0.7;
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: rgba(22,35,43,0.7);
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.contact-info .row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info .row .k {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--stamp-red);
  min-width: 90px;
}

/* ---------- About page bits ---------- */

.about-hero { padding-bottom: 20px; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stamps { height: 220px; margin-top: 20px; }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .stamp-strip { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  nav.main-nav { display: none; }
  .cta-banner { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--stamp-gold);
  outline-offset: 2px;
}
