/* ============================================================
   Claristone Design System - shared across all pages
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0b1120;
  --navy-mid:    #162035;
  --navy-light:  #1e2d4a;
  --blue:        #2563eb;
  --blue-light:  #3b82f6;
  --blue-pale:   #eff6ff;
  --blue-bright: #60a5fa;
  --slate:       #64748b;
  --slate-light: #94a3b8;
  --offwhite:    #f8fafc;
  --white:       #ffffff;
  --text:        #1e293b;
  --border:      #e2e8f0;
  --serif:       'DM Serif Display', Georgia, serif;
  --sans:        'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11,17,32,0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 68px;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo {
  font-family: var(--serif); font-size: 26px; color: var(--white);
  text-decoration: none; letter-spacing: -0.3px; display: flex; align-items: center;
}
.nav-logo-dot { color: var(--blue-bright); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.65);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--blue); color: var(--white) !important;
  padding: 10px 22px; border-radius: 6px;
  font-weight: 600 !important; font-size: 14px !important;
  transition: background 0.2s !important; white-space: nowrap;
  text-decoration: none;
}
.nav-cta:hover { background: var(--blue-light) !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.7); border-radius: 2px; transition: all 0.25s; }
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 20px 28px 28px; flex-direction: column; gap: 4px; z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem; font-weight: 500; color: rgba(255,255,255,0.75);
  text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu a:last-child { border-bottom: none; margin-top: 8px; }
.mobile-menu .btn-mob {
  display: block; text-align: center; background: var(--blue); color: white;
  padding: 13px; border-radius: 6px; font-weight: 600; text-decoration: none; margin-top: 8px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: var(--white);
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  padding: 15px 32px; border-radius: 6px; text-decoration: none;
  transition: all 0.2s; letter-spacing: 0.2px; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,0.4); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: rgba(255,255,255,0.8);
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  padding: 15px 32px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.22); text-decoration: none; transition: all 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: var(--white); background: rgba(255,255,255,0.06); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--blue);
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  padding: 14px 30px; border-radius: 6px; text-decoration: none;
  border: 2px solid var(--blue); transition: all 0.2s;
}
.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-1px); }
.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--white);
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  padding: 14px 30px; border-radius: 6px; text-decoration: none; transition: all 0.2s;
}
.btn-dark:hover { background: var(--blue); transform: translateY(-1px); }
.btn-blue {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: var(--white);
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  padding: 16px 36px; border-radius: 6px; text-decoration: none;
  white-space: nowrap; transition: all 0.2s; flex-shrink: 0;
}
.btn-blue:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,0.35); }

/* ── LAYOUT COMMON ── */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
section { padding: 100px 0; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px; display: block;
}
.section-title {
  font-family: var(--serif); font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1; color: var(--navy); margin-bottom: 20px;
}
.section-sub {
  font-size: 17px; color: var(--slate); line-height: 1.75; max-width: 560px;
}
.section-header { margin-bottom: 64px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* Inline page-hero label variant (on dark) */
.section-label-light {
  font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue-bright); margin-bottom: 14px; display: block;
}

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  background: var(--navy);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-header-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 30%, transparent 100%);
}
.page-header-glow {
  position: absolute; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
  top: -100px; right: -60px; border-radius: 50%; pointer-events: none;
}
.page-header-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
}
.page-header h1 {
  font-family: var(--serif); font-size: clamp(36px, 4.5vw, 60px);
  color: var(--white); line-height: 1.08; margin-bottom: 20px;
}
.page-header h1 em { font-style: italic; color: var(--blue-bright); }
.page-header p {
  font-size: 17px; color: rgba(255,255,255,0.6); line-height: 1.75; max-width: 540px;
}
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.38);
  margin-bottom: 20px; list-style: none;
}
.breadcrumb a { color: rgba(255,255,255,0.38); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.breadcrumb span { color: rgba(255,255,255,0.2); }

/* ── DARK CTA SECTION ── */
.cta-dark {
  background: var(--navy);
  padding: 100px 28px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-dark-glow {
  position: absolute; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none;
}
.cta-dark-inner { position: relative; z-index: 1; max-width: 580px; margin: 0 auto; }
.cta-dark h2 {
  font-family: var(--serif); font-size: clamp(32px, 4vw, 52px);
  color: var(--white); line-height: 1.1; margin-bottom: 20px;
}
.cta-dark p { font-size: 17px; color: rgba(255,255,255,0.58); line-height: 1.75; margin-bottom: 40px; }
.cta-dark-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-dark-sub { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.32); }
.cta-dark-sub a { color: rgba(255,255,255,0.42); text-decoration: none; }

/* ── FOOTER ── */
footer { background: #060c18; padding: 64px 28px 32px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 56px; }
.footer-brand-name { font-family: var(--serif); font-size: 22px; color: var(--white); margin-bottom: 14px; }
.footer-brand-name span { color: var(--blue-bright); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.38); line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.45);
  text-decoration: none; transition: all 0.2s;
}
.footer-socials a:hover { background: var(--blue); color: white; }
.footer-email { font-size: 14px; color: var(--blue-bright); text-decoration: none; transition: opacity 0.2s; }
.footer-email:hover { opacity: 0.75; }
.footer-col h4 {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.32);
  text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.28); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.28); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }
.footer-nz { font-size: 13px; color: rgba(255,255,255,0.28); display: flex; align-items: center; gap: 6px; }

/* ── PHOSPHOR ICON CONTAINER ── */
.icon-wrap {
  width: 60px; height: 60px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; flex-shrink: 0;
}
.icon-wrap i { font-size: 28px; }
.icon-wrap.blue { background: #dbeafe; color: var(--blue); }
.icon-wrap.navy { background: rgba(37,99,235,0.2); color: var(--blue-bright); }

.icon-wrap-sm {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-wrap-sm i { font-size: 24px; }
.icon-wrap-sm.blue { background: #dbeafe; color: var(--blue); }

/* ── FADE UP ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  section { padding: 72px 0; }
  .page-header { padding: 120px 0 64px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; }
  .cta-dark-actions { flex-direction: column; align-items: center; }
}
