/* ============================================================
   USPP — Universal Secure Poly Pack
   Design System: Refined Minimal / Banking Premium
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ---- Tokens ---- */
:root {
  --navy:       #0D1F3C;
  --navy-mid:   #162d57;
  --navy-light: #1e3a6e;
  --gold:       #B8923A;
  --gold-light: #d4a955;
  --gold-pale:  #f5eddc;
  --white:      #FFFFFF;
  --off-white:  #F8F8F6;
  --grey-50:    #F2F2EF;
  --grey-100:   #E5E5E0;
  --grey-300:   #B0B0A8;
  --grey-500:   #737369;
  --grey-700:   #3D3D38;
  --text:       #1A1A18;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(13,31,60,0.08);
  --shadow:    0 4px 20px rgba(13,31,60,0.10);
  --shadow-lg: 0 12px 48px rgba(13,31,60,0.14);

  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --max-w: 1200px;
  --section-py: 96px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; }

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: var(--section-py) 0; }
.section--alt { background: var(--off-white); }
.section--navy { background: var(--navy); color: var(--white); }

/* ---- Typography ---- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
.lead { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--grey-500); line-height: 1.7; }
.label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: var(--transition);
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
  background: transparent;
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-100);
  transition: var(--transition);
}
.nav.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav__logo-main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: 0.05em;
}
.nav__logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-top: 1px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-700);
  transition: color var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 1.5px;
  background: var(--gold);
  transition: right var(--transition);
}
.nav__links a:hover, .nav__links a.active { color: var(--navy); }
.nav__links a:hover::after, .nav__links a.active::after { right: 0; }
.nav__cta { margin-left: 8px; }

/* Mobile nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--grey-100);
  gap: 4px;
}
.nav__mobile a {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--grey-700);
  border-bottom: 1px solid var(--grey-50);
}
.nav__mobile.open { display: flex; }

/* ---- Section Headers ---- */
.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header .label { margin-bottom: 12px; display: block; }
.section-header h2 { font-family: var(--font-display); margin-bottom: 16px; color: var(--navy); }
.section-header p  { max-width: 560px; }
.section-header--center p { margin: 0 auto; }

/* ---- Stat Strip ---- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--grey-100);
}
.stat-item:last-child { border-right: none; }
.stat-item__num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-item__label {
  font-size: 0.8rem;
  color: var(--grey-500);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.card__img { width: 100%; height: 220px; object-fit: cover; background: var(--grey-50); }
.card__img-placeholder {
  width: 100%; height: 220px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card__body { padding: 28px; }
.card__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.card__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.card__text { color: var(--grey-500); font-size: 0.9rem; line-height: 1.7; }
.card__features { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.card__feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.875rem; color: var(--grey-700);
}
.card__feature::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.card__footer { padding: 20px 28px; border-top: 1px solid var(--grey-100); }

/* ---- Icon Boxes ---- */
.icon-box { display: flex; gap: 20px; align-items: flex-start; }
.icon-box__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.icon-box__title { font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.icon-box__text  { font-size: 0.875rem; color: var(--grey-500); line-height: 1.6; }

/* ---- Divider ---- */
.divider-gold {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 16px 0;
}
.divider-gold--center { margin: 16px auto; }

/* ---- Process Steps ---- */
.process-steps { display: grid; gap: 0; }
.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--grey-100);
  align-items: start;
}
.process-step:last-child { border-bottom: none; }
.process-step__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--grey-100);
  line-height: 1;
}
.process-step__title { font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.process-step__text  { font-size: 0.875rem; color: var(--grey-500); }

/* ---- Client Logos strip ---- */
.clients-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.client-badge {
  padding: 10px 20px;
  border: 1px solid var(--grey-100);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--grey-700);
  background: var(--white);
  transition: var(--transition);
}
.client-badge:hover {
  border-color: var(--gold);
  color: var(--navy);
}

/* ---- Form ---- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; color: var(--grey-700); letter-spacing: 0.02em; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--grey-100);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--navy);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- Footer ---- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__logo-main { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--white); letter-spacing: 0.05em; }
.footer__logo-sub  { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 16px; }
.footer__desc { font-size: 0.85rem; line-height: 1.7; max-width: 260px; }
.footer__heading { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 0.85rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--gold); }
.footer__contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; margin-bottom: 12px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 0.78rem; flex-wrap: wrap; gap: 8px; }
.footer__bottom a { color: var(--gold); }

/* ---- WhatsApp Float ---- */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 200;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
  background: var(--off-white);
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__eyebrow { margin-bottom: 20px; }
.hero__eyebrow .label { color: var(--gold); }
.hero__title { color: var(--navy); margin-bottom: 24px; }
.hero__body { color: var(--grey-500); max-width: 480px; margin-bottom: 36px; font-size: 1.05rem; line-height: 1.75; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 48px 0 48px 40px;
}
.hero__trust {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--white);
}
.hero__trust-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.hero__trust-label { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 4px; }

/* ---- Tyvek Badge ---- */
.tyvek-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 8px;
}
.tyvek-badge__logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.tyvek-badge__text { font-size: 0.82rem; color: var(--grey-700); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 48px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero.alt::after { background: var(--off-white); }
.page-hero__label { color: var(--gold-light); margin-bottom: 12px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.page-hero__title { font-family: var(--font-display); color: var(--white); margin-bottom: 16px; }
.page-hero__body { color: rgba(255,255,255,0.65); max-width: 560px; font-size: 1.05rem; line-height: 1.7; }

/* ---- Grids ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: center; }

/* ---- Quote / Highlight Block ---- */
.highlight-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.highlight-box::before {
  content: '"';
  position: absolute;
  top: -20px; left: 20px;
  font-family: var(--font-display);
  font-size: 12rem;
  color: rgba(255,255,255,0.04);
  line-height: 1;
}
.highlight-box__text { font-family: var(--font-display); font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-style: italic; line-height: 1.4; position: relative; margin-bottom: 20px; }
.highlight-box__attr { font-size: 0.82rem; color: var(--gold-light); letter-spacing: 0.08em; }

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate { opacity: 0; }
.animate.in { animation: fadeUp 0.6s ease forwards; }
.animate-d1 { animation-delay: 0.1s; }
.animate-d2 { animation-delay: 0.2s; }
.animate-d3 { animation-delay: 0.3s; }
.animate-d4 { animation-delay: 0.4s; }

/* ---- Success message ---- */
.form-success {
  display: none;
  padding: 20px;
  background: #f0faf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  color: #166534;
  text-align: center;
  font-weight: 500;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero::before { display: none; }
  .hero { background: linear-gradient(180deg, var(--off-white) 60%, var(--navy) 60%); }
  .hero__right { padding: 0; }
  .hero__title { color: var(--navy); }
  .grid-2, .grid-3, .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--grey-100); }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .highlight-box { padding: 32px 24px; }
  .process-step { grid-template-columns: 48px 1fr; }
}

@media (max-width: 480px) {
  .stats-strip { grid-template-columns: 1fr; }
  .stat-item { border-right: none; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; justify-content: center; }
}

/* ---- Clients Showcase ---- */
.clients-section { }

.client-category {
  margin-bottom: 52px;
}
.client-category__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--grey-100);
}
.client-category__icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.client-category__icon--bank { background: #e8f0fc; }
.client-category__icon--edu  { background: #fdf3e0; }

.client-category__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-500);
}
.client-category__product {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  font-weight: 600;
  margin-top: 1px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.client-card {
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  background: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.client-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grey-100);
  transition: var(--transition);
}
.client-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.client-card:hover::before { background: var(--gold); }

.client-card__abbr {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--grey-100);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.client-card--bank .client-card__abbr { color: #c7d9f7; }
.client-card--edu  .client-card__abbr { color: #f5dfa8; }

.client-card__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  flex: 1;
}
.client-card__location {
  font-size: 0.7rem;
  color: var(--grey-300);
  margin-top: 6px;
  letter-spacing: 0.03em;
}

/* Dark variant for navy backgrounds */
.client-card--dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}
.client-card--dark::before { background: rgba(255,255,255,0.1); }
.client-card--dark:hover { border-color: var(--gold-light); background: rgba(255,255,255,0.1); }
.client-card--dark:hover::before { background: var(--gold-light); }
.client-card--dark .client-card__name { color: rgba(255,255,255,0.9); }
.client-card--dark .client-card__location { color: rgba(255,255,255,0.35); }
.client-card--dark .client-card__abbr { color: rgba(255,255,255,0.08); }

/* Count badge */
.client-count-strip {
  display: flex;
  gap: 32px;
  padding: 28px 32px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  flex-wrap: wrap;
  margin-top: 48px;
}
.client-count-item {}
.client-count-item__num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.client-count-item__label {
  font-size: 0.78rem;
  color: var(--grey-500);
  margin-top: 4px;
}

@media (max-width: 600px) {
  .client-grid { grid-template-columns: 1fr 1fr; }
}
