/* ================================================================
   AUR371 — 2026 Design System
   Direction: Precision Digital
   ================================================================ */

:root {
  --bg:         #f4f3ef;
  --bg-card:    #ffffff;
  --ink:        #0a0a0a;
  --ink-2:      #3a3a3a;
  --muted:      #8a8a8a;
  --border:     rgba(0, 0, 0, 0.07);
  --border-strong: rgba(0, 0, 0, 0.14);
  --nav-bg:     rgba(244, 243, 239, 0.88);

  --brand-1: #6366f1;
  --brand-2: #0ea5e9;
  --brand-3: #10b981;

  --mono: 'SF Mono', 'Fira Code', 'Cascadia Code', ui-monospace, monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std: cubic-bezier(0, 0, 0.2, 1);

  --r-card: 20px;
  --r-sm:   12px;
  --r-pill: 999px;

  --shadow-card:  0 1px 2px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.04);

  /* card brand color (set per nth-child) */
  --card-brand: var(--brand-1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:           #0d0d0d;
    --bg-card:      #161616;
    --ink:          #f0ede8;
    --ink-2:        #b0aca6;
    --muted:        #5a5a5a;
    --border:       rgba(255, 255, 255, 0.07);
    --border-strong:rgba(255, 255, 255, 0.13);
    --nav-bg:       rgba(13, 13, 13, 0.88);
    --brand-1: #818cf8;
    --brand-2: #38bdf8;
    --brand-3: #34d399;
    --shadow-card:  0 1px 2px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.25);
    --shadow-hover: 0 8px 32px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
  }
}

[data-theme="dark"] {
  --bg:           #0d0d0d;
  --bg-card:      #161616;
  --ink:          #f0ede8;
  --ink-2:        #b0aca6;
  --muted:        #5a5a5a;
  --border:       rgba(255, 255, 255, 0.07);
  --border-strong:rgba(255, 255, 255, 0.13);
  --nav-bg:       rgba(13, 13, 13, 0.88);
  --brand-1: #818cf8;
  --brand-2: #38bdf8;
  --brand-3: #34d399;
  --shadow-card:  0 1px 2px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.25);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
}

/* ================================================================
   RESET
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

html, body { min-height: 100vh; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

/* alias for Google Translate */
body { top: 0 !important; }

*:focus-visible {
  outline: 2px solid var(--brand-1);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ================================================================
   SCROLL PROGRESS
   ================================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--brand-1);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ================================================================
   DESKTOP NAV — floating pill
   ================================================================ */
.top-header {
  display: none;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--nav-bg);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.05);
  white-space: nowrap;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.top-nav-container {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 18px;
}

.top-logo {
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: -0.04em;
  line-height: 1;
  padding-right: 12px;
  border-right: 1px solid var(--border-strong);
  margin-right: 4px;
  transition: opacity 0.2s ease;
}
.top-logo:hover { opacity: 0.6; }

.top-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-nav-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  transition: color 0.18s ease, background 0.18s ease;
  letter-spacing: -0.01em;
}
.top-nav-link:hover { color: var(--ink); background: var(--border); }
.top-nav-link.active {
  color: var(--ink);
  background: var(--bg-card);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.top-theme-toggle {
  background: none;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  margin-left: 4px;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.top-theme-toggle:hover {
  color: var(--ink);
  background: var(--bg-card);
}
.top-theme-toggle svg { width: 15px; height: 15px; }
.top-theme-toggle .sun  { display: none; }
[data-theme="dark"] .top-theme-toggle .moon { display: none; }
[data-theme="dark"] .top-theme-toggle .sun  { display: block; }

/* nav active colors — desktop */
.top-nav-links li:nth-child(1) .top-nav-link.active,
.top-nav-links li:nth-child(1) .top-nav-link:hover { color: var(--brand-1); }
.top-nav-links li:nth-child(2) .top-nav-link.active,
.top-nav-links li:nth-child(2) .top-nav-link:hover { color: var(--brand-2); }
.top-nav-links li:nth-child(3) .top-nav-link.active,
.top-nav-links li:nth-child(3) .top-nav-link:hover { color: var(--brand-3); }
.top-nav-links li:nth-child(4) .top-nav-link.active,
.top-nav-links li:nth-child(4) .top-nav-link:hover { color: var(--brand-1); }
.top-nav-links li:nth-child(5) .top-nav-link.active,
.top-nav-links li:nth-child(5) .top-nav-link:hover { color: var(--brand-2); }
.top-nav-links li:nth-child(6) .top-nav-link.active,
.top-nav-links li:nth-child(6) .top-nav-link:hover { color: var(--brand-3); }

/* ================================================================
   MOBILE HEADER
   ================================================================ */
.mobile-header {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 58px;
  transition: background 0.35s var(--ease);
}

.mobile-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  height: 100%;
}

.hamburger {
  width: 34px; height: 34px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--r-sm);
  position: relative;
  z-index: 202;
  padding: 0;
  transition: background 0.2s ease;
}
.hamburger:hover { background: var(--bg); }

.hamburger span {
  display: block;
  width: 15px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 201;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.35s;
}
.mobile-drawer.open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.mobile-drawer.open .mobile-drawer-overlay { opacity: 1; }

.mobile-drawer-content {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 78%;
  max-width: 270px;
  background: var(--bg);
  border-left: 1px solid var(--border-strong);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 70px 20px 36px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.mobile-drawer-content::-webkit-scrollbar { display: none; }
.mobile-drawer.open .mobile-drawer-content { transform: translateX(0); }

.drawer-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  border-radius: 50%;
  font-size: 17px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.3s var(--ease);
}
.drawer-close:hover { color: var(--ink); transform: rotate(90deg); }

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  letter-spacing: -0.01em;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--ink);
  background: var(--bg-card);
  border-color: var(--border);
}
.mobile-nav-link::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--border-strong);
  flex-shrink: 0;
  transition: background 0.2s ease;
}

/* nav active colors — mobile */
.mobile-nav-link:nth-of-type(1).active, .mobile-nav-link:nth-of-type(1):hover { color: var(--brand-1); border-color: color-mix(in srgb, var(--brand-1) 20%, transparent); }
.mobile-nav-link:nth-of-type(1).active::before, .mobile-nav-link:nth-of-type(1):hover::before { background: var(--brand-1); }
.mobile-nav-link:nth-of-type(2).active, .mobile-nav-link:nth-of-type(2):hover { color: var(--brand-2); border-color: color-mix(in srgb, var(--brand-2) 20%, transparent); }
.mobile-nav-link:nth-of-type(2).active::before, .mobile-nav-link:nth-of-type(2):hover::before { background: var(--brand-2); }
.mobile-nav-link:nth-of-type(3).active, .mobile-nav-link:nth-of-type(3):hover { color: var(--brand-3); border-color: color-mix(in srgb, var(--brand-3) 20%, transparent); }
.mobile-nav-link:nth-of-type(3).active::before, .mobile-nav-link:nth-of-type(3):hover::before { background: var(--brand-3); }
.mobile-nav-link:nth-of-type(4).active, .mobile-nav-link:nth-of-type(4):hover { color: var(--brand-1); border-color: color-mix(in srgb, var(--brand-1) 20%, transparent); }
.mobile-nav-link:nth-of-type(4).active::before, .mobile-nav-link:nth-of-type(4):hover::before { background: var(--brand-1); }
.mobile-nav-link:nth-of-type(5).active, .mobile-nav-link:nth-of-type(5):hover { color: var(--brand-2); border-color: color-mix(in srgb, var(--brand-2) 20%, transparent); }
.mobile-nav-link:nth-of-type(5).active::before, .mobile-nav-link:nth-of-type(5):hover::before { background: var(--brand-2); }
.mobile-nav-link:nth-of-type(6).active, .mobile-nav-link:nth-of-type(6):hover { color: var(--brand-3); border-color: color-mix(in srgb, var(--brand-3) 20%, transparent); }
.mobile-nav-link:nth-of-type(6).active::before, .mobile-nav-link:nth-of-type(6):hover::before { background: var(--brand-3); }

.mobile-theme-section {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.mobile-theme-toggle {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s ease;
}
.mobile-theme-toggle:hover { border-color: var(--brand-1); }
.mobile-theme-toggle svg { width: 17px; height: 17px; stroke: var(--muted); }
.mobile-theme-toggle .sun  { display: none; }
[data-theme="dark"] .mobile-theme-toggle .moon { display: none; }
[data-theme="dark"] .mobile-theme-toggle .sun  { display: block; }

/* ================================================================
   RESPONSIVE BREAKPOINTS
   ================================================================ */
@media (min-width: 768px) {
  .top-header { display: block; }
  .mobile-header, .mobile-drawer { display: none !important; }
  .section-card { scroll-margin-top: 96px; }
}
@media (max-width: 767px) {
  .mobile-header { display: block; }
  .top-header { display: none !important; }
  .section-card { scroll-margin-top: 68px; }
}

/* ================================================================
   LAYOUT
   ================================================================ */
.page {
  display: flex;
  justify-content: center;
  padding: 112px 20px 56px;
}
@media (max-width: 767px) {
  .page { padding: 76px 14px 48px; }
}

.wrap {
  width: min(720px, 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: section-counter;
}

/* ================================================================
   SECTION CARDS
   ================================================================ */
.section-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
@media (max-width: 767px) {
  .section-card { padding: 28px 20px; }
}


/* Subtle glow on hero */
#p-chi::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-1) 7%, transparent), transparent 68%);
  pointer-events: none;
  border-radius: 50%;
}

/* ================================================================
   HERO
   ================================================================ */
.home-header {
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--brand-1);
  flex-shrink: 0;
}

.headline {
  margin: 0 0 20px;
  font-size: clamp(30px, 6.5vw, 56px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-3);
  background: color-mix(in srgb, var(--brand-3) 9%, transparent);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid color-mix(in srgb, var(--brand-3) 22%, transparent);
}

.bio {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.75;
  max-width: 560px;
}

/* ================================================================
   SECTION HEADINGS
   ================================================================ */
.sectionTitle {
  margin: 0 0 6px;
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.sectionText {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ================================================================
   GRID
   ================================================================ */
.grid-2 {
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}
@media (min-width: 540px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

/* ================================================================
   UI CARDS (inner)
   ================================================================ */
.ui-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 18px;
  transition:
    border-color 0.22s var(--ease),
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}
.ui-card:hover {
  border-color: var(--card-brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Brand color rotation */
.ui-card:nth-child(3n+1) { --card-brand: var(--brand-1); }
.ui-card:nth-child(3n+2) { --card-brand: var(--brand-2); }
.ui-card:nth-child(3n+3) { --card-brand: var(--brand-3); }

/* Top accent line */
.ui-card::before {
  content: '';
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 2px;
  background: var(--card-brand);
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.ui-card:hover::before { opacity: 1; }

/* ================================================================
   FEATURE CARDS (hero grid)
   ================================================================ */
.projTitle {
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 5px;
  color: var(--card-brand);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
}
.projMeta {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.feature-icon {
  width: 15px; height: 15px;
  stroke-width: 2.2px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--card-brand);
}

/* ================================================================
   SERVICE CARDS
   ================================================================ */
.serviceCard {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.badge {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--mono);
  font-size: 9px; font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--card-brand) 10%, transparent);
  color: var(--card-brand);
  letter-spacing: 0.14em;
  border: 1px solid color-mix(in srgb, var(--card-brand) 22%, transparent);
}

.serviceHead {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 64px;
  margin-bottom: 12px;
}

.serviceIco {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--card-brand) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-brand) 18%, transparent);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.ui-card:hover .serviceIco { transform: scale(1.06) rotate(-4deg); }
.serviceIco svg { width: 17px; height: 17px; stroke-width: 2px; fill: none; stroke: var(--card-brand); }

.serviceTitle { font-weight: 800; font-size: 16px; margin: 0; color: var(--card-brand); line-height: 1.2; }
.serviceDesc { color: var(--muted); font-size: 13px; margin: 0 0 10px; line-height: 1.65; }
.serviceList { margin: 0; padding-left: 16px; color: var(--ink-2); font-size: 13px; line-height: 1.9; }
.serviceList li::marker { color: var(--card-brand); }

.serviceMoreContent {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* ================================================================
   PRICE CARDS
   ================================================================ */
.priceCard {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.priceHead {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 48px;
  margin-bottom: 14px;
}

.priceTitle {
  font-weight: 800;
  font-size: 16px;
  margin: 0;
  color: var(--card-brand);
  line-height: 1.2;
}

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

.priceFrom {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  font-family: var(--mono);
}

.priceAmount {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  color: var(--card-brand);
  letter-spacing: -0.02em;
}

.priceAmount--custom {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

/* ================================================================
   MINI BUTTONS
   ================================================================ */
.miniCtas { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.miniBtn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--ink-2);
  font-family: var(--sans);
  font-weight: 600; font-size: 12px;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}
.miniBtn:hover {
  border-color: var(--card-brand);
  color: var(--card-brand);
  background: color-mix(in srgb, var(--card-brand) 6%, transparent);
  transform: translateY(-1px);
}

/* ================================================================
   TERMS BLOCK
   ================================================================ */
.terms-block {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--brand-1) 4%, transparent);
}

.terms-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-family: var(--mono);
  margin: 0 0 16px;
}

.terms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 540px) {
  .terms-grid { grid-template-columns: 1fr; }
}

.terms-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.terms-icon {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.4;
}

.terms-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-1);
  margin-bottom: 3px;
}

.terms-item p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* ================================================================
   STEP CARDS
   ================================================================ */
.stepCard { display: flex; flex-direction: column; gap: 8px; }

.stepNum {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--card-brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-weight: 700; font-size: 12px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
[data-theme="dark"] .stepNum { color: #0d0d0d; }
.stepCard:hover .stepNum { transform: scale(1.18) rotate(6deg); }

.stepTitle { font-weight: 800; font-size: 15px; margin: 0; color: var(--card-brand); line-height: 1.2; }
.stepDesc  { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ================================================================
   PORTFOLIO / CONTACT LINKS
   ================================================================ */
.contactBtn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  padding: 16px 18px;
  transition: color 0.2s ease;
}
.contactBtn span:last-child {
  color: var(--muted);
  font-weight: 400;
  font-size: 19px;
  transition: transform 0.22s var(--ease), color 0.22s ease;
}
.contactBtn:hover span:last-child {
  transform: translateX(5px);
  color: var(--card-brand);
}

.contact-left { display: flex; align-items: center; gap: 10px; }
.contact-icon { width: 19px; height: 19px; stroke-width: 2px; fill: none; stroke: var(--card-brand); }

/* ================================================================
   LEGAL
   ================================================================ */
.legal-container {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.legal-item { margin-bottom: 4px; }

.legal-btn {
  background: none; border: none; padding: 11px 0;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  color: var(--muted); cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  width: 100%; text-align: left;
  transition: color 0.18s ease;
  letter-spacing: 0.01em;
}
.legal-icon { width: 15px; height: 15px; stroke-width: 2px; flex-shrink: 0; stroke: var(--muted); fill: none; transition: stroke 0.18s ease; }
.legal-btn:hover { color: var(--ink); }
.legal-btn:hover .legal-icon { stroke: var(--ink); }

.legal-btn::after {
  content: '+';
  margin-left: auto;
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1;
  transition: transform 0.25s var(--ease);
}
.legal-item.expanded .legal-btn::after { transform: rotate(45deg); }

.legal-text-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease-std);
}
.legal-item.expanded .legal-text-wrap { grid-template-rows: 1fr; }
.legal-text-inner { overflow: hidden; }
.legal-text {
  padding: 12px 0 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  border-top: 1px solid var(--border);
  margin-top: 2px;
}

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  text-align: center;
  padding: 20px 24px 52px;
  color: var(--muted);
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.05em;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Google Translate */
.goog-te-gadget { font-family: inherit !important; color: var(--muted) !important; }
.goog-te-gadget .goog-te-combo {
  margin: 0 !important;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  outline: none;
}
.goog-logo-link, .goog-te-gadget span { display: none !important; }
.goog-te-banner-frame { display: none !important; }

/* ================================================================
   WHATSAPP FLOAT BUTTON
   ================================================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.3s ease;
  text-decoration: none;
}
.wa-float svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
  fill: none;
}
.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}
.wa-float.hidden {
  opacity: 0;
  pointer-events: none;
}
