/* =========================================================
   BLink Solutions OPC — single-page brand landing
   Content aligned to the official Company Profile
   ========================================================= */

:root {
  /* brand */
  --navy: #1E3A8A;
  --blue-900: #0a3f7d;
  --blue-700: #125aa8;
  --blue-600: #1560ad;
  --blue-500: #1f83d6;
  --green: #3fae4a;
  --green-600: #2f9a3a;
  --gold: #F0A81E;
  --gold-600: #d9930b;

  /* neutrals */
  --ink: #26303d;
  --muted: #5b6673;
  --line: #e5ecf4;
  --bg: #ffffff;
  --bg-soft: #eef4fb;
  --bg-soft-2: #f4f8fc;

  --container: 1180px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 6px 18px rgba(16, 52, 96, .07);
  --shadow-md: 0 14px 34px rgba(16, 52, 96, .12);
  --header-h: 68px;

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

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

h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--navy); color: #fff; padding: 10px 16px;
  border-radius: 8px; z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  border: 0; border-radius: 10px; cursor: pointer;
  padding: 12px 22px; min-height: 44px;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-primary {
  background: var(--gold); color: #3a2a00;
  box-shadow: 0 10px 22px rgba(240, 168, 30, .38);
}
.btn-primary:hover { background: var(--gold-600); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255, 255, 255, .12); color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .6);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.btn-ghost-light {
  background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .7);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.btn-send {
  width: 100%; background: var(--gold); color: #3a2a00; margin-top: 6px;
  box-shadow: 0 8px 18px rgba(240, 168, 30, .35);
}
.btn-send:hover { background: var(--gold-600); transform: translateY(-2px); }
.btn-send[disabled] { opacity: .75; cursor: default; transform: none; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { height: 48px; width: auto; display: block; }
.brand-fallback { display: none; align-items: center; gap: 10px; }
.brand-text {
  font-family: var(--font-head); font-size: 20px; color: var(--muted); font-weight: 500;
}
.brand-text strong { color: var(--navy); font-weight: 700; }

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative; font-family: var(--font-head); font-weight: 500;
  font-size: 15px; color: #3d4653; padding: 6px 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 3px; width: 0;
  background: var(--gold); border-radius: 2px; transition: width .2s ease;
}
.nav-link:hover { color: var(--navy); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--navy); }

.nav-cta {
  padding: 9px 18px; border-radius: 9px; background: var(--gold); color: #3a2a00; font-weight: 600;
  transition: background-color .18s ease;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold-600); color: #3a2a00; }
.nav-cta.active { color: #3a2a00; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle-bar { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(440px, 46vw, 590px);
  display: flex; align-items: center;
  background: #0c4f9c;
  color: #fff;
  --hero-tint: .1;
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; z-index: 1; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(95deg, rgba(6, 40, 88, .88) 0%, rgba(6, 40, 88, .52) 42%, rgba(6, 40, 88, .30) 100%),
    linear-gradient(0deg, rgba(6, 40, 88, var(--hero-tint)), rgba(6, 40, 88, calc(var(--hero-tint) * .45)));
}
.hero-grid { position: relative; z-index: 3; width: 100%; padding-block: 48px; }
.hero-copy { max-width: 580px; }
.hero-copy h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 800; letter-spacing: -.5px;
  text-shadow: 0 2px 18px rgba(4, 24, 58, .45);
}
.hero-sub {
  margin: 14px 0 12px; font-size: clamp(1rem, 2vw, 1.25rem);
  color: #eaf2fb; font-weight: 500; text-shadow: 0 1px 10px rgba(4, 24, 58, .4);
}
.hero-lead {
  margin: 0 0 28px; max-width: 480px; color: #dceaf8;
  font-size: clamp(.98rem, 1.6vw, 1.08rem); text-shadow: 0 1px 10px rgba(4, 24, 58, .4);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------- Section scaffolding ---------------- */
.section { padding-block: 78px; }
.section-head { text-align: center; margin-bottom: 44px; max-width: 720px; margin-inline: auto; }
.kicker {
  display: block; font-family: var(--font-head); font-weight: 600;
  color: var(--gold-600); letter-spacing: 1px; margin-bottom: 10px; font-size: .82rem;
  text-transform: uppercase;
}
.section-title {
  position: relative; display: inline-block;
  font-size: clamp(1.7rem, 3.4vw, 2.2rem); font-weight: 700; color: var(--navy);
  padding-bottom: 14px;
}
.section-title::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 66px; height: 3px; background: var(--gold); border-radius: 2px;
}
.section-lead { margin-top: 20px; color: var(--muted); font-size: 1.05rem; }
.accent-green { color: var(--green-600); }

/* ---------------- About / Who We Are ---------------- */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.about-intro p { color: var(--muted); font-size: 1.06rem; margin-bottom: 16px; }
.about-intro p:last-child { margin-bottom: 0; }
.mv-cards { display: grid; gap: 18px; }
.mv-card {
  background: var(--bg-soft-2); border: 1px solid var(--line);
  border-left: 4px solid var(--blue-500); border-radius: var(--radius); padding: 22px 24px;
}
.mv-card.vision { border-left-color: var(--green); }
.mv-card h3 { display: flex; align-items: center; gap: 12px; color: var(--navy); font-size: 1.15rem; margin-bottom: 10px; }
.mv-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #e3f0fb; color: var(--blue-600); flex: 0 0 auto; }
.mv-card.vision .mv-icon { background: #e5f6e6; color: var(--green-600); }
.mv-icon svg { width: 20px; height: 20px; }
.mv-card p { color: var(--muted); font-size: .98rem; line-height: 1.6; }

/* ---------------- LINK Framework ---------------- */
.values { background: var(--bg-soft); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 22px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-badge {
  width: 60px; height: 60px; margin: 0 auto 16px; display: grid; place-items: center;
  border-radius: 16px; font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: #fff;
}
.value-card:nth-child(1) .value-badge { background: linear-gradient(135deg, #1E3A8A, #2b57c9); }
.value-card:nth-child(2) .value-badge { background: linear-gradient(135deg, #2f9a3a, #57bd47); }
.value-card:nth-child(3) .value-badge { background: linear-gradient(135deg, #1560ad, #1f83d6); }
.value-card:nth-child(4) .value-badge { background: linear-gradient(135deg, #d9930b, #F0A81E); }
.value-card h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: .92rem; line-height: 1.55; }

/* ---------------- Services ---------------- */
.services { background: var(--bg); }
.service-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.service-card {
  flex: 0 1 262px;
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: left; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--green));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #d3e2f2; }
.service-card:hover::before { transform: scaleX(1); }
.svc-icon { width: 60px; height: 60px; margin: 0 0 16px; display: grid; place-items: center; background: var(--bg-soft-2); border-radius: 14px; }
.svc-icon svg { width: 38px; height: 38px; }
.service-card h3 { font-size: 1.04rem; color: var(--navy); font-weight: 600; margin-bottom: 8px; }
.svc-tag { font-size: .74rem; font-weight: 600; color: var(--gold-600); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.svc-desc { font-size: .92rem; color: var(--muted); line-height: 1.58; }

/* ---------------- Brand Philosophy ---------------- */
.philosophy { background: var(--bg-soft); }
.phil-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1000px; margin: 0 auto; }
.phil-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.phil-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.phil-icon { height: 72px; display: grid; place-items: center; margin-bottom: 18px; }
.phil-img { max-height: 72px; width: auto; object-fit: contain; }
.phil-card h3 { font-size: 1.2rem; color: var(--navy); font-weight: 700; margin-bottom: 10px; }
.phil-card p { color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* ---------------- CTA band ---------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #0c4f9c 0%, #1a73c9 100%);
  color: #fff;
}
.cta-wave { position: absolute; top: 0; left: 0; right: 0; transform: translateY(-99%); color: #0c4f9c; line-height: 0; pointer-events: none; }
.cta-wave svg { width: 100%; height: 80px; }
.cta-inner { text-align: center; padding-block: 66px; max-width: 760px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 700; margin-bottom: 14px; }
.cta-inner p { color: #e4eef8; font-size: 1.06rem; margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------------- Footer ---------------- */
.site-footer { position: relative; background: linear-gradient(180deg, #0f5aa8 0%, #0a4788 100%); color: #eaf2fb; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gold); }
.footer-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; padding-block: 58px 40px; }

.footer-logo { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: #fff; }
.footer-logo span { color: #bcd6f0; font-weight: 600; }
.footer-tagline { color: var(--gold); font-weight: 600; font-size: .95rem; margin: 6px 0 14px; }
.footer-blurb { color: #c7dcf1; max-width: 46ch; font-size: .95rem; line-height: 1.6; }

.footer-info-cols { display: grid; grid-template-columns: 150px 1fr; gap: 30px; margin-top: 28px; }
.footer-h { font-size: 1rem; color: #fff; font-weight: 600; margin-bottom: 14px; letter-spacing: .3px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: #cfe1f4; font-size: .95rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: #d5e5f5; font-size: .92rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: 0 0 auto; margin-top: 2px; }
.footer-contact a { color: #d5e5f5; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }

.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.social-link {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px;
  background: rgba(255, 255, 255, .12); color: #fff;
  transition: background-color .18s ease, transform .18s ease, color .18s ease;
}
.social-link:hover { background: var(--gold); color: #3a2a00; transform: translateY(-2px); }
.social-link svg { width: 20px; height: 20px; }

/* contact form */
.footer-formcol .footer-h { margin-bottom: 12px; }
.contact-form { display: grid; gap: 6px; }
.contact-form label { font-size: .82rem; font-weight: 500; color: #cfe1f4; margin-top: 8px; }
.contact-form label span { color: var(--gold); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  background: #fff; border: 1px solid transparent; border-radius: 8px;
  padding: 12px 14px; resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #8b96a4; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(240, 168, 30, .3); }

.footer-disclaimer-strip { background: rgba(0, 0, 0, .16); border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-disclaimer-strip p { padding-block: 22px; color: #a9c4e0; font-size: .8rem; line-height: 1.65; }
.footer-disclaimer-strip strong { color: #cfe1f4; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding-block: 18px; }
.footer-bottom-inner p { color: #b9d0e8; font-size: .85rem; }

/* ---------------- Scroll reveal (no-JS safe) ---------------- */
.reveal { opacity: 1; }
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 360px; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-link { display: block; padding: 14px 0; }
  .nav-link::after { display: none; }
  .nav-cta { background: none; color: #3d4653; padding: 14px 0; border-radius: 0; }
  .nav-cta:hover { background: none; color: var(--navy); }

  .hero { min-height: 410px; }
  .hero-scrim { background: linear-gradient(120deg, rgba(5, 38, 84, .84) 0%, rgba(5, 38, 84, .52) 50%, rgba(5, 38, 84, .3) 100%); }
}

@media (max-width: 620px) {
  .section { padding-block: 56px; }
  .values-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .phil-grid { grid-template-columns: 1fr; max-width: 380px; }
  .service-card { flex-basis: 100%; max-width: 380px; }
  .footer-info-cols { grid-template-columns: 1fr; gap: 26px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
