/* =============================================================================
   鎧硯科技資訊有限公司 — C@YENNE TECHNOLOGY INFORMATION
   Stylesheet
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. CSS Variables (Design Tokens)
   ----------------------------------------------------------------------------- */
:root {
  --color-bg:           #0d1420;
  --color-bg-alt:       rgba(19, 28, 43, 0.25);
  --color-card:         #131c2b;
  --color-border:       rgba(255, 255, 255, 0.08);
  --color-primary:      #D4821E;
  --color-primary-dim:  rgba(212, 130, 30, 0.12);
  --color-text:         #e8edf5;
  --color-muted:        #6b7f96;

  --font-main: 'Plus Jakarta Sans', 'Noto Sans TC', sans-serif;

  --container-max: 1200px;
  --container-pad: 24px;

  --transition-fast: 0.2s ease;
  --transition-mid:  0.3s ease;
  --transition-slow: 0.6s ease;
}


/* -----------------------------------------------------------------------------
   2. Reset & Base
   ----------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font-main);
}

/* Scrollbar */
::-webkit-scrollbar        { width: 4px; }
::-webkit-scrollbar-track  { background: var(--color-bg); }
::-webkit-scrollbar-thumb  { background: var(--color-primary); border-radius: 2px; }


/* -----------------------------------------------------------------------------
   3. Layout Utilities
   ----------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}


/* -----------------------------------------------------------------------------
   4. Scroll-Reveal Animations
   ----------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}


/* -----------------------------------------------------------------------------
   5. Buttons
   ----------------------------------------------------------------------------- */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-outline {
  display: inline-block;
  padding: 14px 30px;
  background: transparent;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
}


/* -----------------------------------------------------------------------------
   6. Navigation
   ----------------------------------------------------------------------------- */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, padding 0.3s, border-color 0.3s;
}

#nav.scrolled {
  background: rgba(13, 20, 32, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  border-color: var(--color-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo link */
.nav-logo {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.nav-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: #fff;
}

.nav-links .btn-nav-cta {
  padding: 8px 22px;
  font-size: 12px;
  font-weight: 700;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity var(--transition-fast);
}

.nav-links .btn-nav-cta:hover {
  opacity: 0.88;
  color: #fff;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 4px;
}

.nav-toggle svg {
  display: block;
}

/* Mobile dropdown menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-card);
  border-bottom: 1px solid var(--color-border);
  flex-direction: column;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: color var(--transition-fast);
}

.mobile-menu a:hover {
  color: #fff;
}


/* -----------------------------------------------------------------------------
   7. Hero Section
   ----------------------------------------------------------------------------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 20, 32, 0.5),
    rgba(13, 20, 32, 0.75),
    var(--color-bg)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 112px 0 80px;
}

/* Tagline row */
.hero-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s 0.2s both;
}

.hero-tag-line {
  width: 40px;
  height: 2px;
  background: var(--color-primary);
  flex-shrink: 0;
}

.hero-tag-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--color-primary);
  text-transform: uppercase;
}

/* Main headline */
.hero-heading {
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.35s both;
}

.hero-heading span {
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtext */
.hero-sub {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeInUp 0.7s 0.5s both;
}

/* CTA buttons */
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
  animation: fadeInUp 0.7s 0.65s both;
}

/* Stats row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 560px;
  animation: fadeInUp 0.7s 0.8s both;
}

.stat-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(19, 28, 43, 0.4);
  backdrop-filter: blur(8px);
  padding: 16px;
}

.stat-num   { font-size: 28px; font-weight: 700; color: var(--color-primary); margin-bottom: 4px; }
.stat-label { font-size: 11px; color: var(--color-muted); letter-spacing: 0.05em; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.scroll-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateX(4px);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: var(--color-border);
  overflow: hidden;
  position: relative;
}

.scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  height: 50%;
  animation: scrollBar 1.5s linear infinite;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollBar {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}


/* -----------------------------------------------------------------------------
   8. About Section
   ----------------------------------------------------------------------------- */
#about {
  padding: 112px 0;
  border-top: 1px solid var(--color-border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.about-stat-num   { font-size: 36px; font-weight: 300; color: var(--color-primary); margin-bottom: 4px; }
.about-stat-label { font-size: 11px; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.08em; }

.about-img-wrap {
  position: relative;
  height: 520px;
  border: 1px solid var(--color-border);
  padding: 8px;
  background: rgba(19, 28, 43, 0.3);
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(0.9);
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(212, 130, 30, 0.08);
  mix-blend-mode: overlay;
  pointer-events: none;
}


/* -----------------------------------------------------------------------------
   9. Services Section
   ----------------------------------------------------------------------------- */
#services {
  padding: 112px 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.services-header {
  max-width: 600px;
  margin-bottom: 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  padding: 32px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-mid);
  cursor: default;
}

/* Top accent line that slides in on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.service-card:hover              { border-color: rgba(212, 130, 30, 0.5); }
.service-card:hover::before      { transform: scaleX(1); }

.service-icon {
  color: var(--color-primary);
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-title { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.service-desc  { font-size: 13px; color: var(--color-muted); line-height: 1.75; }


/* -----------------------------------------------------------------------------
   10. Service Process Section
   ----------------------------------------------------------------------------- */
#process {
  padding: 112px 0;
  border-bottom: 1px solid var(--color-border);
}

.process-header {
  max-width: 600px;
  margin-bottom: 64px;
}

.process-wrap {
  position: relative;
}

/* Horizontal connector line (desktop only) */
.process-connector {
  display: none;
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--color-border);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-circle {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  z-index: 1;
  color: var(--color-muted);
  transition: border-color var(--transition-mid), color var(--transition-mid);
}

.step-circle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-step:hover .step-circle {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.step-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.step-desc  { font-size: 11px; color: var(--color-muted); line-height: 1.7; }


/* -----------------------------------------------------------------------------
   11. Why Choose Us Section
   ----------------------------------------------------------------------------- */
#why {
  padding: 112px 0;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-intro p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.8;
  margin-top: 24px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition-mid);
}

.why-item:hover {
  border-color: rgba(212, 130, 30, 0.4);
}

.why-item-icon {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}

.why-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-item-title { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.why-item-desc  { font-size: 12px; color: var(--color-muted); line-height: 1.7; }


/* -----------------------------------------------------------------------------
   12. Products Section
   ----------------------------------------------------------------------------- */
#products {
  padding: 112px 0;
  border-bottom: 1px solid var(--color-border);
}

.products-header {
  margin-bottom: 48px;
}

.product-tabs {
  display: flex;
  gap: 4px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  padding: 6px;
  width: fit-content;
  margin-top: 32px;
}

.tab-btn {
  padding: 10px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: transparent;
  color: var(--color-muted);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.tab-btn.active {
  background: var(--color-primary);
  color: #fff;
}

.tab-btn:not(.active):hover {
  color: #fff;
}

/* Tab panels — only the active one is visible */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  animation: fadeInUp 0.3s ease both;
}

.product-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  padding: 24px;
  transition: border-color var(--transition-mid);
}

.product-card:hover {
  border-color: rgba(212, 130, 30, 0.4);
}

.product-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-primary-dim);
  color: var(--color-primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.product-name {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.product-card:hover .product-name {
  color: var(--color-primary);
}

.product-desc { font-size: 11px; color: var(--color-muted); line-height: 1.75; }


/* -----------------------------------------------------------------------------
   13. Partners Section
   ----------------------------------------------------------------------------- */
#partners {
  padding: 112px 0;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.partners-header {
  max-width: 700px;
  margin-bottom: 64px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  transition: border-color var(--transition-mid), color var(--transition-mid);
  cursor: default;
}

.partner-card:hover {
  border-color: rgba(212, 130, 30, 0.35);
  color: var(--color-primary);
}

.partner-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}


/* -----------------------------------------------------------------------------
   14. Contact Section
   ----------------------------------------------------------------------------- */
#contact {
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient glow at the bottom */
#contact::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 400px;
  background: linear-gradient(to top, rgba(212, 130, 30, 0.04), transparent);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  position: relative;
  z-index: 1;
}

.contact-header p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.8;
  max-width: 400px;
  margin: 20px 0 40px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-info-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-label { font-size: 9px; font-weight: 700; letter-spacing: 0.15em; color: var(--color-muted); text-transform: uppercase; margin-bottom: 4px; }
.contact-info-value { font-size: 14px; font-style: normal; }
.contact-info-value a { color: var(--color-primary); text-decoration: none; }
.contact-info-value a:hover { text-decoration: underline; }
address.contact-info-value { font-style: normal; margin: 0; }

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin: 8px 0;
}

/* Contact form */
.contact-form-wrap {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  padding: 40px;
}

.contact-form-wrap h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--font-main);
  outline: none;
  width: 100%;
  transition: border-color var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(107, 127, 150, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(212, 130, 30, 0.5);
}

.form-group textarea {
  min-height: 130px;
  resize: none;
}

.form-botcheck {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin: 0 0 16px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  border: 1px solid transparent;
}

.form-status--success {
  color: #b8f0c8;
  background: rgba(46, 160, 90, 0.12);
  border-color: rgba(46, 160, 90, 0.35);
}

.form-status--error {
  color: #f5b5b5;
  background: rgba(200, 60, 60, 0.12);
  border-color: rgba(200, 60, 60, 0.35);
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity var(--transition-fast);
}

.btn-submit:hover:not(:disabled) {
  opacity: 0.88;
}

.btn-submit:disabled,
.btn-submit.is-loading {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-submit svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-form-wrap form {
  position: relative;
}


/* -----------------------------------------------------------------------------
   15. Footer
   ----------------------------------------------------------------------------- */
footer {
  background: var(--color-card);
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-inner img    { height: 32px; width: auto; object-fit: contain; margin-bottom: 4px; }
.footer-company      { font-size: 10px; color: var(--color-muted); letter-spacing: 0.15em; text-transform: uppercase; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-top: 4px;
  flex-wrap: wrap;
}

.footer-copy,
.d_credit {
  font-size: 12px;
  color: var(--color-muted);
}

.d_credit {
  margin-left: auto;
  white-space: nowrap;
}

.d_credit a {
  color: inherit;
  text-decoration: none;
}

.d_credit a:hover {
  text-decoration: underline;
}


/* -----------------------------------------------------------------------------
   16. Responsive — Tablet (≤ 1024px)
   ----------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .services-grid      { grid-template-columns: 1fr 1fr; }
  .process-grid       { grid-template-columns: 1fr; }
  .process-connector  { display: none !important; }
  .process-step       { flex-direction: row; text-align: left; gap: 20px; align-items: flex-start; }
  .step-circle        { margin-bottom: 0; flex-shrink: 0; }
  .tab-panel.active   { grid-template-columns: 1fr 1fr; }
  .partners-grid      { grid-template-columns: repeat(3, 1fr); }
}


/* -----------------------------------------------------------------------------
   17. Responsive — Mobile (≤ 768px)
   ----------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  .nav-links   { display: none; }
  .nav-toggle  { display: block; }

  .hero-stats  { grid-template-columns: 1fr 1fr; }
  .about-grid  { grid-template-columns: 1fr; }
  .about-img-wrap { height: 300px; }
  .services-grid  { grid-template-columns: 1fr; }
  .why-grid       { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .partners-grid  { grid-template-columns: repeat(2, 1fr); }
  .tab-panel.active { grid-template-columns: 1fr; }
  .product-tabs   { flex-wrap: wrap; }
  .contact-form-wrap { padding: 24px; }
}


/* -----------------------------------------------------------------------------
   18. Responsive — Small Mobile (≤ 480px)
   ----------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
}
