/* =========================================
   NordCore IT — Shared Website Styles
   ========================================= */

@font-face {
  font-family: "Pally";
  src: url("../fonts/Pally-Regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Pally";
  src: url("../fonts/Pally-Medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Pally";
  src: url("../fonts/Pally-Bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --nc-orange-50:  #fff4ec;
  --nc-orange-100: #ffe2cc;
  --nc-orange-200: #ffc59a;
  --nc-orange-400: #ff9858;
  --nc-orange-500: #ff873c;
  --nc-orange-600: #e86d22;
  --nc-orange-700: #c25410;
  --nc-gray-50:    #f6f4f2;
  --nc-gray-100:   #ecebe8;
  --nc-gray-200:   #d8d6d3;
  --nc-gray-300:   #bcbab7;
  --nc-gray-400:   #9a9896;
  --nc-gray-500:   #7b7a7a;
  --nc-gray-600:   #5d5b5a;
  --nc-gray-700:   #46443f;
  --nc-gray-800:   #2a2825;
  --nc-gray-900:   #1a1816;
  --nc-paper:      #efebea;
  --nc-cream:      #f7f4f1;
  --nc-white:      #ffffff;

  --fg:            var(--nc-gray-900);
  --fg-muted:      var(--nc-gray-600);
  --fg-subtle:     var(--nc-gray-500);
  --border-subtle: var(--nc-gray-200);

  --font: "Pally", system-ui, sans-serif;

  --shadow-sm:     0 2px 6px rgba(26,24,22,.06);
  --shadow-md:     0 8px 20px rgba(26,24,22,.09);
  --shadow-lg:     0 16px 40px rgba(26,24,22,.11);
  --shadow-orange: 0 8px 28px rgba(255,135,60,.28);

  --ease-out: cubic-bezier(0.22,1,0.36,1); /* @kind other */
}

/* ---- RESET ---- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: var(--font); color: var(--fg); background: var(--nc-white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul { list-style: none; }

/* ---- LAYOUT ---- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---- EYEBROW ---- */
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--nc-orange-600);
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--nc-orange-500); color: var(--nc-white);
  font-family: var(--font); font-weight: 700; font-size: 15px;
  letter-spacing: .02em; box-shadow: var(--shadow-orange);
  transition: all 200ms var(--ease-out); white-space: nowrap; border: none;
}
.btn-primary:hover { background: var(--nc-orange-600); transform: translateY(-1px); box-shadow: 0 12px 32px rgba(255,135,60,.38); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 23px; border-radius: 999px;
  background: transparent; color: var(--fg);
  font-family: var(--font); font-weight: 700; font-size: 15px;
  letter-spacing: .02em; border: 1.5px solid var(--nc-gray-300);
  transition: all 200ms var(--ease-out); white-space: nowrap;
}
.btn-secondary:hover { border-color: var(--nc-gray-900); background: var(--nc-gray-50); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--nc-orange-600); font-family: var(--font);
  font-weight: 600; font-size: 14px; letter-spacing: .02em;
  transition: gap 200ms var(--ease-out);
}
.btn-ghost:hover { gap: 10px; }

/* ---- HEADER ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 200ms var(--ease-out);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(26,24,22,.07); }

.hdr-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 14px 28px; max-width: 1180px; margin: 0 auto;
}
.hdr-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.hdr-brand img { width: 40px; height: 40px; }
.hdr-wm { font-weight: 700; font-size: 22px; letter-spacing: .02em; line-height: 1; color: var(--nc-gray-500); }
.hdr-wm span { color: var(--nc-orange-500); }
.hdr-eb { font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-subtle); margin-top: 3px; }

.hdr-nav { display: flex; align-items: center; gap: 28px; }
.nav-link { font-weight: 500; font-size: 14px; color: var(--fg); letter-spacing: .01em; transition: color 200ms var(--ease-out); }
.nav-link:hover, .nav-link.active { color: var(--nc-orange-500); }

.nav-toggle { display: none; padding: 6px; color: var(--fg); }

/* ---- FOOTER ---- */
.site-footer { background: var(--nc-gray-900); color: var(--nc-white); padding: 64px 0 40px; }
.ftr-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1); flex-wrap: wrap;
}
.ftr-brand { max-width: 300px; }
.ftr-logo { display: flex; align-items: center; gap: 12px; }
.ftr-logo img { width: 36px; height: 36px; }
.ftr-wm { font-weight: 700; font-size: 18px; letter-spacing: .02em; color: var(--nc-white); }
.ftr-wm span { color: var(--nc-orange-500); }
.ftr-eb { font-size: 9px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.38); margin-top: 3px; }
.ftr-tagline { font-size: 14px; color: rgba(255,255,255,.5); margin-top: 14px; line-height: 1.65; }
.ftr-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.ftr-contact a { font-size: 14px; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 8px; transition: color 200ms var(--ease-out); }
.ftr-contact a:hover { color: var(--nc-white); }

.ftr-nav { display: flex; gap: 48px; flex-wrap: wrap; }
.ftr-nav-group h4 { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.38); margin-bottom: 16px; }
.ftr-nav-group ul { display: flex; flex-direction: column; gap: 11px; }
.ftr-nav-group a { font-size: 14px; color: rgba(255,255,255,.62); transition: color 200ms var(--ease-out); }
.ftr-nav-group a:hover { color: var(--nc-white); }

.ftr-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding-top: 28px; flex-wrap: wrap;
}
.ftr-bottom small { font-size: 13px; color: rgba(255,255,255,.28); }
.ftr-legal { display: flex; gap: 20px; }
.ftr-legal a { font-size: 13px; color: rgba(255,255,255,.38); transition: color 200ms var(--ease-out); }
.ftr-legal a:hover { color: rgba(255,255,255,.7); }

/* ---- CARD ---- */
.card {
  background: var(--nc-white); border-radius: 20px;
  border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm);
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.card:hover { border-color: var(--nc-orange-400); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.icon-chip {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--nc-orange-50); color: var(--nc-orange-600);
  display: grid; place-items: center; flex-shrink: 0;
}

/* ---- PAGE BANNER ---- */
.page-banner {
  background: var(--nc-paper); padding: 72px 0 64px;
}
.page-banner .eyebrow { margin-bottom: 12px; }
.page-banner h1 {
  font-size: clamp(36px, 5vw, 54px); font-weight: 700;
  letter-spacing: -.015em; line-height: 1.1; color: var(--fg);
  max-width: 720px; margin-bottom: 16px;
}
.page-banner p {
  font-size: 18px; line-height: 1.6; color: var(--fg-muted); max-width: 560px;
}

/* ---- CTA STRIP ---- */
.cta-strip {
  background: var(--nc-gray-900); padding: 72px 0;
  text-align: center;
}
.cta-strip h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; color: var(--nc-white); margin-bottom: 14px; }
.cta-strip p { font-size: 17px; color: rgba(255,255,255,.6); margin-bottom: 32px; }
.cta-strip-btns { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hdr-nav {
    display: none; position: fixed; inset: 0; top: 68px;
    background: rgba(255,255,255,.98); backdrop-filter: blur(16px);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 32px; padding: 40px; border-top: 1px solid var(--border-subtle);
  }
  .hdr-nav.open { display: flex; }
  .nav-link { font-size: 20px; }
  .nav-toggle { display: flex; }
  .hdr-inner { padding: 12px 20px; }
  .wrap { padding: 0 20px; }
}

@media (max-width: 640px) {
  .ftr-top { flex-direction: column; }
  .ftr-nav { gap: 32px; }
  .ftr-bottom { flex-direction: column; text-align: center; }
  .page-banner { padding: 48px 0 40px; }
  .cta-strip { padding: 56px 0; }
}
