/* ============================================================
   COMPONENTS: BUTTONS, CARDS, FORMS, ICONS
   ============================================================ */

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-8);
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  transition: all var(--ease-mid);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  min-height: 48px;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--ease-fast);
}

.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active { transform: translateY(1px); }

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

/* Primary CTA */
.btn--primary {
  background: var(--g-teal);
  color: var(--c-white);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border-color: transparent;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(13,122,110,0.40);
}

/* Secondary / Outline */
.btn--secondary {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}

.btn--secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-2px);
}

/* Gold CTA */
.btn--gold {
  background: var(--g-gold);
  color: var(--c-navy);
  box-shadow: var(--shadow-md), var(--shadow-gold);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(200,146,42,0.40);
}

/* Ghost dark */
.btn--ghost {
  background: transparent;
  color: var(--c-teal-mid);
  border-color: var(--c-teal-mid);
}

.btn--ghost:hover {
  background: var(--c-teal-mid);
  color: var(--c-white);
  transform: translateY(-2px);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--c-text);
  border-color: rgba(10,22,40,0.25);
}

.btn--ghost-dark:hover {
  background: var(--c-text);
  color: var(--c-white);
}

/* WhatsApp btn */
.btn--whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--c-white);
  box-shadow: 0 4px 15px rgba(37,211,102,0.35);
}

.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.45);
}

.btn--email {
  background: linear-gradient(135deg, #4285F4 0%, #1A73E8 100%);
  color: var(--c-white);
  box-shadow: 0 4px 15px rgba(66,133,244,0.30);
}

.btn--email:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(66,133,244,0.40);
}

.btn--lg {
  padding: var(--sp-4) var(--sp-10);
  font-size: var(--fs-md);
  min-height: 56px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}

/* ─── CARDS ─── */
.card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--ease-mid), box-shadow var(--ease-mid);
  overflow: hidden;
}

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

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

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  background: linear-gradient(135deg, rgba(13,155,138,0.12) 0%, rgba(13,122,110,0.08) 100%);
}

.card__icon svg {
  width: 28px; height: 28px;
  color: var(--c-teal-mid);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-3);
  color: var(--c-text);
}

.card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* Glass card (dark bg) */
.card--glass {
  background: var(--g-glass);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), var(--shadow-lg);
}

.card--glass:hover {
  border-color: rgba(18,196,174,0.30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), var(--shadow-xl), 0 0 20px rgba(13,155,138,0.15);
}

.card--glass .card__title   { color: var(--c-white); }
.card--glass .card__desc    { color: var(--c-mid-gray); }

/* ─── FEATURE ICON ─── */
.feature-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-teal-mid) 100%);
  box-shadow: 0 8px 20px rgba(13,122,110,0.30);
}

.feature-icon svg {
  width: 30px; height: 30px;
  color: var(--c-white);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── STAT CARD ─── */
.stat-card {
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-3xl), 4vw, var(--fs-5xl));
  font-weight: var(--fw-black);
  background: var(--g-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat-card__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-mid-gray);
  letter-spacing: 0.05em;
}

/* ─── PROCESS STEP ─── */
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.process-step__num {
  width: 60px; height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  font-weight: var(--fw-black);
  font-family: var(--font-display);
  background: var(--g-gold);
  color: var(--c-navy);
  box-shadow: var(--shadow-gold);
  margin-bottom: var(--sp-5);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-step__icon {
  width: 48px; height: 48px;
  margin-bottom: var(--sp-4);
  color: var(--c-teal-light);
}

.process-step__icon svg {
  width: 100%; height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-step__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--c-white);
  margin-bottom: var(--sp-2);
}

.process-step__desc {
  font-size: var(--fs-sm);
  color: var(--c-mid-gray);
}

/* ─── ORG CHART ─── */
.org-card {
  background: var(--c-white);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-light-gray);
  transition: all var(--ease-mid);
  position: relative;
  overflow: hidden;
}

.org-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--g-teal);
}

.org-card--chief::before { background: var(--g-gold); }

.org-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--c-teal-light);
}

.org-card__avatar {
  width: 80px; height: 80px;
  border-radius: var(--radius-full);
  margin: 0 auto var(--sp-4);
  background: linear-gradient(135deg, var(--c-navy-light) 0%, var(--c-teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  border: 3px solid var(--c-light-gray);
}

.org-card--chief .org-card__avatar {
  width: 96px; height: 96px;
  background: var(--g-gold);
  color: var(--c-navy);
  border-color: var(--c-gold-light);
  font-size: var(--fs-3xl);
}

.org-card__role {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-teal-mid);
  background: rgba(13,155,138,0.10);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-3);
}

.org-card--chief .org-card__role {
  color: var(--c-gold);
  background: rgba(200,146,42,0.12);
}

.org-card__name {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}

.org-card--chief .org-card__name { font-size: var(--fs-xl); }

.org-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}

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

.form-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.form-label .required {
  color: #E74C3C;
  font-weight: var(--fw-bold);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--c-light-gray);
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-white);
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
  min-height: 48px;
  outline: none;
}

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

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--c-teal-mid);
  box-shadow: 0 0 0 3px rgba(13,155,138,0.15);
}

.form-input.error,
.form-textarea.error,
.form-select.error {
  border-color: #E74C3C;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.12);
}

.form-error {
  font-size: var(--fs-xs);
  color: #E74C3C;
  display: none;
}

.form-error.visible { display: block; }

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5A70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-3) center;
  background-size: 16px;
  padding-right: var(--sp-10);
}

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

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

@media (max-width: 640px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* ─── CERTIFICATION / TRUST BADGES ─── */
.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
}

.trust-badge__icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  color: var(--c-gold-light);
}

.trust-badge__icon svg {
  width: 100%; height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-badge__text {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

/* ─── MARKET TAG ─── */
.market-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.85);
  transition: all var(--ease-fast);
}

.market-tag:hover {
  background: rgba(13,155,138,0.20);
  border-color: var(--c-teal-light);
}

/* ─── STEP INDICATOR (How to Start) ─── */
.cooperation-step {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-5);
}

.cooperation-step__num {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--g-teal);
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-md);
  flex-shrink: 0;
  box-shadow: var(--shadow-glow);
}

.cooperation-step__content h4 {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-1);
  color: var(--c-text);
}

.cooperation-step__content p {
  font-size: var(--fs-sm);
}

/* ─── TIMELINE ─── */
.timeline {
  position: relative;
  padding-left: var(--sp-8);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-teal-mid), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--sp-8);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--c-teal-mid);
  border: 2px solid var(--c-white);
  box-shadow: 0 0 0 3px rgba(13,155,138,0.2);
}

/* ─── NOTIFICATION BOX ─── */
.notification-box {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.notification-box--info {
  background: rgba(13,155,138,0.10);
  border: 1px solid rgba(18,196,174,0.25);
  color: var(--c-teal);
}

.notification-box__icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
