/* QPC Group Website — UI Kit base styles */
@import url("../../colors_and_type.css");

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: var(--font-sans);
  color: var(--fg-1);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* Section base */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
section.dark { background: var(--qpc-black); color: white; }
section.cream { background: var(--bg-2); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--qpc-gold-dark);
}
.section .dark .eyebrow, section.dark .eyebrow { color: var(--qpc-gold); }

.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; max-width: 720px; }
.section-head h2 {
  font-family: var(--font-display); font-size: 42px; font-weight: 700;
  line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance;
}
.section-head p { font-size: 17px; line-height: 1.6; color: var(--fg-2); max-width: 620px; }

.gold-rule { width: 56px; height: 3px; background: var(--qpc-gold); border-radius: 999px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.01em;
  padding: 14px 24px; border-radius: 6px;
  border: 1.5px solid transparent;
  transition: background 220ms var(--ease-out), color 220ms var(--ease-out),
              border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.btn .arrow { display: inline-block; transition: transform 220ms var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn.primary { background: var(--qpc-gold); color: var(--qpc-black); box-shadow: 0 4px 14px rgba(201,166,70,0.32); }
.btn.primary:hover { background: var(--qpc-gold-light); }
.btn.primary:active { background: var(--qpc-gold-dark); }
.btn.dark { background: var(--qpc-black); color: white; }
.btn.dark:hover { background: var(--qpc-charcoal); }
.btn.outline-light { background: transparent; color: white; border-color: rgba(255,255,255,0.4); }
.btn.outline-light:hover { background: white; color: var(--qpc-black); border-color: white; }
.btn.outline-dark { background: transparent; color: var(--qpc-black); border-color: var(--qpc-black); }
.btn.outline-dark:hover { background: var(--qpc-black); color: white; }
.btn.gold-outline { background: transparent; color: var(--qpc-gold-dark); border-color: var(--qpc-gold); }
.btn.gold-outline:hover { background: var(--qpc-gold); color: var(--qpc-black); }
.btn.sm { padding: 8px 16px; font-size: 12px; }
.btn.link {
  padding: 0; background: transparent; color: var(--qpc-gold-dark); font-weight: 700; font-size: 13px;
  letter-spacing: 0.04em;
}
section.dark .btn.link { color: var(--qpc-gold); }
.btn.link:hover { color: var(--qpc-black); }
section.dark .btn.link:hover { color: var(--qpc-gold-light); }

/* Card surface */
.card {
  background: white;
  border: 1px solid var(--border-1);
  border-radius: 10px;
  transition: box-shadow 220ms var(--ease-out), transform 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.card.hoverable:hover { box-shadow: 0 12px 30px rgba(11,11,11,0.10); border-color: var(--qpc-gold); }

/* Chip — icon container */
.icon-chip {
  width: 48px; height: 48px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--qpc-gold-pale); color: var(--qpc-gold-dark);
  flex-shrink: 0;
}
.icon-chip.dark { background: rgba(201,166,70,0.18); color: var(--qpc-gold); }
.icon-chip.lg { width: 56px; height: 56px; }

/* Tagline shine — matches the logos' metallic look */
.shine {
  background: linear-gradient(135deg, #F6E1A0 0%, #C9A646 40%, #8C6B1E 80%, #C9A646 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; opacity: 0; pointer-events: none; transition: opacity 220ms var(--ease-out);
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  background: white; border-radius: 12px; max-width: 480px; width: 90%;
  padding: 32px; box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  display: flex; flex-direction: column; gap: 16px;
}
.modal h3 { font-size: 24px; font-weight: 700; }
.modal input, .modal select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border-1);
  border-radius: 6px; font-family: inherit; font-size: 14px; outline: none;
}
.modal input:focus, .modal select:focus { border-color: var(--qpc-gold); box-shadow: 0 0 0 3px rgba(201,166,70,0.18); }
.modal-close { position: absolute; top: 14px; right: 14px; font-size: 20px; color: var(--fg-3); }
