/* =========================================================
   COMPONENTS
   ========================================================= */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--r-md);
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(14,165,233,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14,165,233,0.35);
}

.btn-secondary {
  background: transparent;
  color: rgba(226,232,240,0.90);
  border: 1.5px solid rgba(148,163,184,0.30);
}

.btn-secondary:hover {
  background: rgba(148,163,184,0.10);
  border-color: rgba(148,163,184,0.50);
  color: #fff;
}

.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--blue-border);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
  border-radius: var(--r-sm);
}

.btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink-muted);
  border: 1.5px solid var(--border);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--t-fast) var(--ease);
}

.btn-ghost-sm:hover {
  color: var(--ink);
  border-color: var(--blue-border);
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-8);
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-border);
}

.card-accent::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--purple-light) 100%);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}

.card-accent:hover::after { opacity: 1; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: var(--space-5); }

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: var(--space-1);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--ink-faint); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.15);
}

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

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238E9BAA' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

/* ---------- Tags & Labels ---------- */
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--blue-pale);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  margin-bottom: var(--space-4);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 5px 10px;
}

/* ---------- Dividers ---------- */
.divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: var(--space-8) 0;
}

/* ---------- Accordion ---------- */
.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.accordion-trigger svg {
  width: 18px;
  height: 18px;
  color: var(--ink-faint);
  transition: transform var(--t-base) var(--ease);
  flex-shrink: 0;
  margin-left: var(--space-4);
}

.accordion-item.open .accordion-trigger svg {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease);
}

.accordion-item.open .accordion-body {
  max-height: 400px;
}

.accordion-content {
  padding: 0 0 var(--space-5);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.72;
  max-width: 720px;
}

/* ---------- Section Eyebrow ---------- */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--blue-pale);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  margin-bottom: var(--space-4);
}

/* ---------- Portfolio Hero ---------- */
.port-hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 60px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.port-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.port-hero-h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 12px 0 16px;
  line-height: 1.08;
}
.port-hero-sub {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.75;
  max-width: 480px;
}
.port-hero-stats {
  display: flex;
  gap: 0;
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  flex-shrink: 0;
}
.ph-stat {
  padding: 20px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ph-stat:last-child { border-right: none; }
.ph-num {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--blue);
  font-weight: 500;
  line-height: 1;
}
.ph-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Filter Tabs ---------- */
.port-filters-wrap {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.port-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.port-filters::-webkit-scrollbar { display: none; }
.pf-btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  padding: 7px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.pf-btn:hover {
  border-color: var(--blue-border);
  color: var(--blue-dark);
  background: var(--blue-pale);
}
.pf-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ---------- Tech Pack Cards ---------- */
.port-section { padding: 80px 0; }
.section-alt { background: var(--off); }
.port-section-head {
  margin-bottom: 48px;
}
.port-section-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 10px 0 12px;
}
.port-section-sub {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.75;
  max-width: 520px;
}

.tp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
}

.tp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(14,165,233,0.14);
  border-color: var(--blue-border);
}

/* Card preview area -- top half */
.tp-card-preview {
  position: relative;
  background: var(--off);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  min-height: 180px;
  overflow: hidden;
}

.tp-preview-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tp-preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--off);
  border-bottom: 1px solid var(--border);
}

.tp-preview-dots {
  display: flex; gap: 4px;
}
.tp-preview-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
}
.tp-preview-dots span:nth-child(1) { background: #FF5F57; }
.tp-preview-dots span:nth-child(2) { background: #FEBC2E; }
.tp-preview-dots span:nth-child(3) { background: #28C840; }

.tp-preview-filename {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  flex: 1;
}

.tp-preview-pages {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-ghost);
  background: var(--border);
  border-radius: var(--r-full);
  padding: 2px 7px;
}

.tp-preview-body {
  padding: 14px;
}

.tp-preview-line {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 8px;
}
.tp-preview-line.w80 { width: 80%; }
.tp-preview-line.w60 { width: 60%; }
.tp-preview-line.w50 { width: 50%; }

.tp-preview-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

.tp-preview-specs-mock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tp-mock-label {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--ink-ghost);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tp-mock-val {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
}

/* Hover overlay */
.tp-preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,165,233,0.88);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}

.tp-card:hover .tp-preview-overlay {
  opacity: 1;
}

.tp-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: all var(--t-fast);
}
.tp-open-btn:hover {
  background: var(--blue-pale);
  transform: translateY(-1px);
}

/* Card info bottom */
.tp-card-info {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tp-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.tp-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: var(--blue-pale);
  color: var(--blue-dark);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-full);
  padding: 3px 10px;
}

.tp-season {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
}

.tp-brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 3px;
}

.tp-style {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.tp-spec-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.tp-spec-row:first-of-type {
  border-top: 1px solid var(--border);
}

.tp-spec-k {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--ink-faint);
  width: 80px;
  flex-shrink: 0;
}

.tp-spec-v {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.tp-note {
  display: flex;
  gap: 10px;
  background: var(--off);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  margin: 14px 0;
  flex: 1;
}

.tp-note-bar {
  width: 3px;
  border-radius: 2px;
  background: var(--blue);
  flex-shrink: 0;
}

.tp-note p {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-muted);
  line-height: 1.65;
  letter-spacing: 0.02em;
}

.tp-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.tp-view {
  flex: 1;
  font-size: 13px;
  padding: 10px 16px;
}

/* CLO 3D Cards */
.clo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.clo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}

.clo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(14,165,233,0.14);
}

.clo-video-wrap {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.clo-video {
  width: auto;
  height: 500px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.clo-video-label {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-full);
}

.clo-label-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

.clo-card-info {
  padding: 22px 24px 24px;
}

.clo-desc {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.72;
  margin: 12px 0 16px;
}

.clo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.clo-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--blue-pale);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-full);
  padding: 4px 10px;
}

/* CLO Info Strip */
.clo-info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.clo-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: var(--white);
}

.clo-info-icon {
  width: 32px; height: 32px;
  background: var(--blue-pale);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.clo-info-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}

.clo-info-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* ---------- Bottom CTA ---------- */
.port-cta {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.port-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.port-cta-h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.port-cta-p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* ---------- PDF Modal ---------- */
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.pdf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 25, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.pdf-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  height: 90vh;
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
  animation: slideUp 0.3s var(--ease-out);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--off);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.pdf-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pdf-modal-dots {
  display: flex;
  gap: 5px;
}
.pdf-modal-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.pdf-modal-dots span:nth-child(1) { background: #FF5F57; }
.pdf-modal-dots span:nth-child(2) { background: #FEBC2E; }
.pdf-modal-dots span:nth-child(3) { background: #28C840; }

.pdf-modal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.pdf-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdf-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 6px 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-fast);
  letter-spacing: 0.04em;
}
.pdf-action-btn:hover {
  border-color: var(--blue-border);
  color: var(--blue-dark);
  background: var(--blue-pale);
}

.pdf-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--ink-muted);
  cursor: pointer;
  transition: all var(--t-fast);
}
.pdf-close-btn:hover {
  background: #FFF0F0;
  border-color: #FFD0D0;
  color: #E53E3E;
}

.pdf-modal-body {
  flex: 1;
  overflow: hidden;
  background: #525659;
}

.pdf-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ---------- Filter ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  background: var(--off);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ---------- Marquee ---------- */
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  animation: marquee 35s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 28px;
  cursor: default;
  white-space: nowrap;
  flex-shrink: 0;
}

.strip-icon {
  width: 18px;
  height: 18px;
  color: var(--blue-light);
  flex-shrink: 0;
}

.strip-label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-muted);
  letter-spacing: 0.02em;
}

.strip-sep {
  width: 1px;
  height: 18px;
  background: var(--dark-border);
  flex-shrink: 0;
}

/* ---------- Service Card Content ---------- */
.service-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.service-text {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.service-link {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-dark);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: gap var(--t-fast) var(--ease);
}

.service-link:hover {
  gap: var(--space-2);
}

.service-icon {
  width: 36px;
  height: 36px;
  color: var(--blue-dark);
  margin-bottom: var(--space-4);
}

/* ---------- Portfolio Card ---------- */
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-8);
  transition: all var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-border);
}

.portfolio-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.portfolio-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ---------- Testimonial ---------- */
.testimonial-card {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-8);
}

.testimonial-text {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: var(--space-6);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.testimonial-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

/* ---------- Stats ---------- */
.stat-number {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--blue-dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ---------- Workflow ---------- */
.workflow-section {
  background: var(--off);
}

.wf-list {
  max-width: 700px;
  margin: 0 auto;
}

.wf-item {
  display: flex;
  gap: var(--space-6);
}

.wf-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40px;
  flex-shrink: 0;
}

.wf-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-dark);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.wf-line {
  width: 1px;
  min-height: 40px;
  flex: 1;
  background: linear-gradient(to bottom, var(--border) 0%, transparent 100%);
  margin: 6px 0;
}

.wf-body {
  padding: 4px 0 44px;
  flex: 1;
}

.wf-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 7px;
}

.wf-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.72;
}

/* ---------- Services Two-Card Premium Layout ---------- */
.services-two-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.srv2-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}

/* Accent line on left side */
.srv2-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    var(--blue) 0%,
    var(--purple-light) 100%
  );
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}

.srv2-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(14,165,233,0.14);
  border-color: var(--blue-border);
}

.srv2-card:hover::before {
  opacity: 1;
}

/* Card top row */
.srv2-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.srv2-number {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--ink-ghost);
  line-height: 1;
  padding-top: 2px;
}

.srv2-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-pale);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  transition: background var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}

.srv2-card:hover .srv2-icon {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue-dark);
}

.srv2-title {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 12px;
}

.srv2-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.78;
  margin-bottom: 0;
}

.srv2-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

/* Deliverables */
.srv2-deliverables {
  margin-bottom: 24px;
}

.srv2-del-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 12px;
}

.srv2-del-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.srv2-del-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.del-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 6px;
}

/* Meta row */
.srv2-meta-row {
  display: flex;
  gap: 0;
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 24px;
}

.srv2-meta-item {
  flex: 1;
  padding: 14px 16px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.srv2-meta-item:last-child {
  border-right: none;
}

.srv2-meta-k {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
}

.srv2-meta-v {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  display: block;
  line-height: 1.3;
}

/* Action buttons */
.srv2-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.srv2-btn-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 18px;
  border-radius: var(--r-md);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(14,165,233,0.30);
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
}

.srv2-btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(14,165,233,0.40);
}

.srv2-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 18px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
}

.srv2-btn-ghost:hover {
  border-color: var(--blue-border);
  color: var(--blue-dark);
  background: var(--blue-pale);
}

/* Responsive */
@media (max-width: 768px) {
  .services-two-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .srv2-card {
    padding: 24px;
  }

  .srv2-del-grid {
    grid-template-columns: 1fr;
  }

  .srv2-meta-row {
    flex-direction: column;
  }

  .srv2-meta-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .srv2-meta-item:last-child {
    border-bottom: none;
  }

  .srv2-actions {
    flex-direction: column;
  }

  .srv2-btn-primary,
  .srv2-btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   PRICING / PACKAGES
   ========================================================= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: 1040px;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(15, 23, 42, 0.60);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14,165,233,0.30);
  box-shadow: 0 20px 56px rgba(2,6,23,0.35);
}

.pricing-popular {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(14,165,233,0.35);
  box-shadow: 0 8px 32px rgba(14,165,233,0.10);
}

.pricing-popular:hover {
  border-color: rgba(14,165,233,0.50);
  box-shadow: 0 20px 56px rgba(14,165,233,0.18);
}

.pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: 0 4px 12px rgba(14,165,233,0.25);
}

.pricing-top {
  margin-bottom: var(--space-5);
}

.pricing-name {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.pricing-desc {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--dark-muted);
}

.pricing-price {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-6);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-currency {
  font-size: 24px;
  font-weight: 500;
  color: var(--dark-muted);
}

.pricing-period {
  font-size: 14px;
  font-weight: 400;
  color: var(--dark-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--dark-ink);
  line-height: 1.4;
}

.pricing-features li svg {
  flex-shrink: 0;
  color: var(--blue);
}

.pricing-features .pricing-na {
  color: var(--ink-muted);
}

.pricing-features .pricing-na svg {
  color: var(--ink-muted);
}

.pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
}

.pricing-btn-solid {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(14,165,233,0.25);
}

.pricing-btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14,165,233,0.35);
}

.pricing-btn-outline {
  background: transparent;
  color: var(--dark-ink);
  border: 1.5px solid var(--dark-border);
}

.pricing-btn-outline:hover {
  border-color: var(--blue);
  color: #fff;
  background: rgba(14,165,233,0.08);
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

/* ---------- About Page ---------- */

.about-img-frame {
  background: rgba(15, 23, 42, 0.80);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-xl);
  padding: var(--space-6);
  box-shadow: 0 24px 64px rgba(2,6,23,0.35);
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}

.about-img-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(2,6,23,0.45);
}

.about-img-frame img {
  border-radius: var(--r-lg);
  width: 100%;
  display: block;
}

.about-dark-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}

.about-dark-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14,165,233,0.25);
  box-shadow: 0 20px 56px rgba(2,6,23,0.35);
}

.about-dark-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--purple-light) 100%);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}

.about-dark-card:hover::before {
  opacity: 1;
}

.about-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(14,165,233,0.10);
  border: 1px solid rgba(14,165,233,0.15);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.about-card-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.about-card-text {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--dark-muted);
  line-height: 1.7;
  margin: 0;
}

.about-stat-value {
  font-family: var(--font-sans);
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-2);
  background: linear-gradient(135deg, #fff 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-stat-label {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-muted);
  letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
  .about-img-frame {
    padding: var(--space-4);
    margin-top: var(--space-6);
  }
}

/* ---------- Contact Page ---------- */

.contact-info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-xl);
  padding: var(--space-8) var(--space-6);
  text-decoration: none;
  transition: transform var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}

.contact-info-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14,165,233,0.25);
  box-shadow: 0 20px 56px rgba(2,6,23,0.35);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: rgba(14,165,233,0.10);
  border: 1px solid rgba(14,165,233,0.15);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.contact-info-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark-muted);
  margin-bottom: var(--space-2);
}

.contact-info-value {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.contact-address-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-xl);
  padding: var(--space-8) var(--space-10);
  transition: transform var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}

.contact-address-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168,85,247,0.25);
}

.contact-form-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-xl);
  padding: var(--space-8);
}

@media (max-width: 1024px) {
  .contact-address-card {
    padding: var(--space-6) var(--space-5);
    width: 100%;
  }
}
