/* ============================================================
   Z PLUS ENTERPRISES — COMPONENTS
   components.css
   ============================================================ */

/* ── BUTTONS ────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--f-sans);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-xs);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
  position: relative;
}

.btn:focus-visible {
  outline: 2px solid var(--c-focus);
  outline-offset: 3px;
}

/* Primary — navy fill */
.btn--primary {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}

.btn--primary:hover {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22, 43, 82, 0.28);
}

/* Outline navy */
.btn--outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}

.btn--outline:hover {
  background: var(--c-primary);
  color: #fff;
}

/* Outline white — for dark backgrounds */
.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn--outline-white:hover {
  background: #fff;
  color: var(--c-ink);
  border-color: #fff;
}

/* White fill — for dark backgrounds */
.btn--white {
  background: #fff;
  color: var(--c-ink);
  border-color: #fff;
}

.btn--white:hover {
  background: var(--c-bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--c-ink);
}

/* Ghost / text link */
.btn--ghost {
  background: none;
  border: none;
  color: var(--c-primary);
  padding-inline: 0;
  font-size: var(--fs-sm);
}

.btn--ghost:hover {
  color: var(--c-primary-dark);
  gap: var(--sp-3);
}

/* Arrow suffix for ghost links */
.btn--ghost .arrow {
  transition: transform var(--t-base);
}

.btn--ghost:hover .arrow {
  transform: translateX(4px);
}

/* Sizes */
.btn--sm { padding: 10px 20px; font-size: var(--fs-xs); }
.btn--lg { padding: 18px 36px; font-size: var(--fs-base); }

/* ── LABELS / TAGS ──────────────────────────────────────────── */

.tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--c-border);
  color: var(--c-muted);
  background: transparent;
}

.tag--thinklane {
  color: var(--c-thinklane);
  border-color: rgba(26, 59, 175, 0.25);
  background: rgba(26, 59, 175, 0.05);
}

.tag--security {
  color: #4A8EC4;
  border-color: rgba(74, 142, 196, 0.25);
  background: rgba(15, 34, 52, 0.05);
}

/* ── SECTION LABEL ──────────────────────────────────────────── */

.section-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-accent);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--c-accent);
  flex-shrink: 0;
}

.section-label--light {
  color: rgba(255,255,255,0.5);
}

.section-label--light::before {
  background: rgba(255,255,255,0.4);
}

/* ── CARDS ──────────────────────────────────────────────────── */

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card__body {
  padding: var(--sp-6) var(--sp-6) var(--sp-8);
}

.card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slower);
}

.card:hover .card__image img {
  transform: scale(1.04);
}

/* ── INLINE DIVIDER ─────────────────────────────────────────── */

.divider {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--c-accent);
  margin-bottom: var(--sp-6);
}

/* ── BREADCRUMBS ────────────────────────────────────────────── */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin-bottom: var(--sp-8);
}

.breadcrumb a {
  color: var(--c-muted);
}

.breadcrumb a:hover {
  color: var(--c-primary);
}

.breadcrumb__sep {
  color: var(--c-subtle);
}

.breadcrumb__current {
  color: var(--c-body);
}

/* ── PILL FILTER TABS ───────────────────────────────────────── */

.filter-tabs {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.filter-tab {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--c-border);
  color: var(--c-muted);
  background: transparent;
  cursor: pointer;
  transition: all var(--t-base);
}

.filter-tab:hover,
.filter-tab.active {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: var(--c-primary-lt);
}

/* ── STAT BLOCK ─────────────────────────────────────────────── */

.stat-block {
  border-left: 2px solid var(--c-accent);
  padding-left: var(--sp-5);
}

.stat-block__number {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--c-ink);
  letter-spacing: var(--ls-tight);
}

.stat-block__label {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  margin-top: var(--sp-1);
}

/* ── NOTIFICATION BANNER ─────────────────────────────────────── */

.notice {
  padding: var(--sp-4) var(--sp-6);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  border-left: 3px solid;
}

.notice--success {
  background: #F0FAF4;
  color: var(--c-success);
  border-color: var(--c-success);
}

.notice--error {
  background: #FEF2F2;
  color: var(--c-error);
  border-color: var(--c-error);
}

/* ── FORM COMPONENTS ─────────────────────────────────────────── */

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-ink);
}

.form-label--required::after {
  content: ' *';
  color: var(--c-error);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  color: var(--c-ink);
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-base), box-shadow var(--t-base);
  outline: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--c-subtle);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(22, 43, 82, 0.1);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--c-error);
}

.form-error {
  font-size: var(--fs-xs);
  color: var(--c-error);
  margin-top: var(--sp-1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A7A75' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* ── PROCESS STEPS ──────────────────────────────────────────── */

.process-steps {
  display: flex;
  gap: 0;
  position: relative;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
  position: relative;
}

.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-4);
}

.process-step__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-ink);
}

/* ── FAQ ────────────────────────────────────────────────────── */

.faq-item {
  border-bottom: 1px solid var(--c-border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-4);
  width: 100%;
  padding: var(--sp-6) 0;
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--c-ink);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--f-sans);
  transition: color var(--t-base);
}

.faq-question:hover {
  color: var(--c-primary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform var(--t-base), opacity var(--t-base);
}

.faq-icon::before { width: 12px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 1.5px; height: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--t-slow), padding var(--t-base);
}

.faq-answer p {
  padding-bottom: var(--sp-6);
  color: var(--c-body);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* ── WHATSAPP FLOAT ─────────────────────────────────────────── */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: var(--z-sticky);
  width: 52px;
  height: 52px;
  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: transform var(--t-base), box-shadow var(--t-base);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}
