/* ==========================================================================
   BorderoPro — Global stylesheet (reset, tokens, nav, footer, components)
   ========================================================================== */

:root {
  --navy-900: #0b1f33;
  --navy-800: #0f2b46;
  --navy-700: #16385a;
  --navy-600: #1f4a73;
  --gold-500: #c8973a;
  --gold-400: #dcae5c;
  --ink-900: #101418;
  --ink-700: #3a4552;
  --ink-500: #6b7684;
  --line-200: #e3e7ec;
  --line-100: #eef1f4;
  --bg-000: #ffffff;
  --bg-050: #f7f8fa;
  --bg-navy-tint: #eef2f6;

  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 20, 24, 0.06), 0 1px 1px rgba(16, 20, 24, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 31, 51, 0.10);
  --shadow-lg: 0 20px 48px rgba(11, 31, 51, 0.16);

  --container: 1120px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--bg-000);
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--ink-700); }

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

ul { margin: 0; padding: 0; list-style: none; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
}

.section {
  padding: 88px 0;
}
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-050); }
.section--navy {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff;
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: rgba(255,255,255,0.78); }

.section-head {
  max-width: 680px;
  margin: 0 0 48px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--gold {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.btn--gold:hover { background: var(--gold-400); box-shadow: var(--shadow-md); }

.btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn--outline:hover { background: rgba(255,255,255,0.1); }

.btn--navy-outline {
  background: transparent;
  border-color: var(--navy-700);
  color: var(--navy-800);
}
.btn--navy-outline:hover { background: var(--navy-800); color: #fff; }

.btn--block { width: 100%; justify-content: center; }

/* ---------------------------------- Header / Nav ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 31, 51, 0.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  object-fit: cover;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand small {
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--gold-500);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav { padding: 12px 20px; flex-wrap: nowrap; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-900);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 16px;
    display: none;
    max-height: calc(100vh - 100%);
    overflow-y: auto;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { width: 100%; padding: 14px 0 4px; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 1rem; }
  .nav-cta { display: none; }
  .brand { gap: 10px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-text { font-size: 0.95rem; }
}

@media (max-width: 400px) {
  .brand small { display: none; }
}

/* ---------------------------------- Cards ---------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

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

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-navy-tint);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 20px;
}

.card--link {
  display: block;
  cursor: pointer;
}
.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-800);
}
.card:hover .card-arrow { color: var(--gold-500); }

/* Numbered list rows (Why Experience Matters, service bullets, etc.) */
.numbered-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.numbered-item {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
}
.numbered-item .num {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-500);
  margin-bottom: 10px;
  display: block;
}

.check-list li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: var(--ink-700);
}
.cta-banner .check-list li,
.section--navy .check-list li {
  color: rgba(255,255,255,0.82);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--gold-500);
}

.tag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  color: var(--ink-500);
  font-size: 0.95rem;
}
.tag-strip span:not(:last-child)::after {
  content: "|";
  margin: 0 12px;
  color: var(--line-200);
}

.strapline {
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: 0.01em;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius-lg);
  padding: 56px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.78); margin-bottom: 0; max-width: 480px; }

/* ---------------------------------- Footer ---------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid a, .footer-grid p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid li a:hover { color: var(--gold-400); }
.footer-brand {
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  object-fit: cover;
}
.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 24px; }
  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }
  .section-head { margin-bottom: 32px; }
  .card-grid { grid-template-columns: 1fr; gap: 16px; }
  .numbered-grid { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 24px; }
  .numbered-item { padding: 22px; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 44px 0; }
  h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .btn { padding: 13px 22px; font-size: 0.9rem; }
  .hero-actions .btn,
  .cta-banner .btn { width: 100%; justify-content: center; }
}

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.eyebrow--light { color: var(--gold-400); }
