/* =============================================================
   PRIME CARCLEAN — Light Design System
   Fonts: Inter (Google Fonts)
   Colors: Material 3 Tokens (primary #003f87)
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg:           #f8f9fb;
  --white:        #ffffff;
  --primary:      #003f87;
  --primary-mid:  #0056b3;
  --primary-tint: rgba(0,63,135,0.06);
  --on-primary:   #ffffff;
  --text:         #191c1e;
  --text-2:       #424752;
  --text-3:       #727784;
  --border:       #c2c6d4;
  --border-light: #e1e2e4;
  --surface-low:  #f3f4f6;
  --surface-mid:  #edeef0;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 12px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:    0 8px 32px rgba(0,63,135,0.12);
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-xl:    24px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── Typography ──────────────────────────────────────────── */
.t-display  { font-size: clamp(36px,5vw,56px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--primary); }
.t-h1       { font-size: clamp(28px,4vw,40px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.t-h2       { font-size: clamp(22px,3vw,32px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.t-h3       { font-size: 20px; font-weight: 600; line-height: 1.4; }
.t-body-lg  { font-size: 18px; line-height: 1.7; color: var(--text-2); }
.t-body     { font-size: 16px; line-height: 1.65; color: var(--text-2); }
.t-label    { font-size: 14px; font-weight: 600; letter-spacing: 0.01em; }
.t-caption  { font-size: 12px; font-weight: 500; letter-spacing: 0.03em; color: var(--text-3); }

/* ── Navigation ──────────────────────────────────────────── */
.pcc-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 80px;
  background: rgba(248,249,251,0.85);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid rgba(194,198,212,0.4);
  transition: background .3s, box-shadow .3s;
}
.pcc-nav.scrolled { background: rgba(255,255,255,0.96); box-shadow: var(--shadow-sm); }
.pcc-nav-inner {
  max-width: 1280px; width: 100%; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.pcc-logo img { height: 56px; width: auto; object-fit: contain; }
.pcc-nav-links { display: flex; align-items: center; gap: 32px; }
.pcc-nav-link {
  font-size: 15px; font-weight: 500; color: var(--text-2);
  transition: color .2s; position: relative; padding-bottom: 2px;
}
.pcc-nav-link:hover { color: var(--primary); }
.pcc-nav-link.active { color: var(--primary); font-weight: 600; }
.pcc-nav-link.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--primary); border-radius: 2px;
}

.pcc-mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.pcc-mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: .3s; }
.pcc-mobile-menu {
  display: none; position: fixed; top: 80px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border-light);
  padding: 16px 24px 24px; z-index: 99; box-shadow: var(--shadow-md);
}
.pcc-mobile-menu.open { display: block; }
.pcc-mobile-menu .pcc-nav-link { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--surface-mid); }
.pcc-mobile-menu .btn-primary { margin-top: 16px; display: block; text-align: center; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  background: var(--primary); color: var(--white);
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  border: none; cursor: pointer; transition: all .2s; display: inline-block;
  box-shadow: 0 2px 8px rgba(0,63,135,0.25);
}
.btn-primary:hover { background: var(--primary-mid); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,63,135,0.3); }
.btn-primary:active { transform: scale(0.98); }

.btn-outline {
  background: transparent; color: var(--primary);
  padding: 11px 22px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  border: 1.5px solid var(--primary); cursor: pointer; transition: all .2s; display: inline-block;
}
.btn-outline:hover { background: var(--primary-tint); }

.btn-ghost {
  background: transparent; color: var(--text-2);
  padding: 11px 22px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; border: 1.5px solid var(--border);
  cursor: pointer; transition: all .2s; display: inline-block;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-tint); }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card-lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ── Section label ────────────────────────────────────────── */
.pcc-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }

/* ── Reveal animation ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Footer ───────────────────────────────────────────────── */
.pcc-footer { background: var(--surface-low); border-top: 1px solid var(--border-light); padding: 72px 0 32px; }
.pcc-footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.pcc-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; }
.pcc-footer-brand img { height: 56px; width: auto; margin-bottom: 16px; }
.pcc-footer-brand p { font-size: 14px; color: var(--text-3); line-height: 1.75; max-width: 260px; }
.pcc-footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: 20px; }
.pcc-footer-col ul { list-style: none; }
.pcc-footer-col li { margin-bottom: 10px; }
.pcc-footer-col a { font-size: 14px; color: var(--text-3); transition: color .2s; }
.pcc-footer-col a:hover { color: var(--primary); }
.pcc-footer-contact { font-size: 14px; color: var(--text-3); line-height: 2; }
.pcc-footer-bottom { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--border-light); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-3); flex-wrap: wrap; gap: 12px; }
.pcc-footer-bottom a { color: var(--text-3); transition: color .2s; }
.pcc-footer-bottom a:hover { color: var(--primary); }
.footer-socials { display: flex; gap: 10px; }
.footer-social { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; color: var(--text-3); transition: all .2s; }
.footer-social:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-tint); }
.footer-social svg { width: 16px; height: 16px; }

/* ── Newsletter input ─────────────────────────────────────── */
.newsletter-form { display: flex; margin-top: 12px; }
.newsletter-form input { flex: 1; padding: 9px 12px; border: 1px solid var(--border); border-right: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm); font-size: 14px; outline: none; background: var(--white); color: var(--text); }
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form button { background: var(--primary); color: var(--white); padding: 9px 14px; border: none; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; cursor: pointer; }

/* ── Divider ──────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border-light); }

/* ── Badge / Chip ─────────────────────────────────────────── */
.badge { display: inline-block; padding: 4px 12px; border-radius: 9999px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.badge-primary { background: var(--primary-tint); color: var(--primary); border: 1px solid rgba(0,63,135,0.15); }
.badge-success { background: #dcfce7; color: #16a34a; }
.badge-warn { background: #fef9c3; color: #ca8a04; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) { .pcc-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 768px) {
  .pcc-nav-links, .pcc-nav > .btn-primary { display: none; }
  .pcc-mobile-toggle { display: flex; }
  .pcc-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .pcc-footer-bottom { flex-direction: column; text-align: center; }
}
