/* ============================================================
   ALEX MORGAN — styles.css
   Stack: Inter (all weights) — neutral, readable, developer-standard
   Palette: Off-white #F7F6F4 + Near-black #111 + Blue #2563EB
   Philosophy: calm, structured, human-tuned spacing
============================================================ */

/* ── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  --bg:           #F7F6F4;
  --bg-alt:       #EFEDE9;
  --surface:      #FFFFFF;
  --border:       #E0DDD8;
  --border-light: #E8E5E0;

  --text-primary:   #111111;
  --text-secondary: #444444;
  --text-muted:     #777777;
  --text-faint:     #AAAAAA;

  --accent:       #2563EB;
  --accent-hover: #1D4ED8;
  --accent-light: #EFF6FF;
  --accent-muted: #BFDBFE;
  --green:        #16A34A;

  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Type scale — realistic, not oversized */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.8125rem;  /* 13px */
  --text-base: 0.9375rem;  /* 15px */
  --text-md:   1rem;       /* 16px */
  --text-lg:   1.0625rem;  /* 17px */
  --text-xl:   1.1875rem;  /* 19px */
  --text-2xl:  1.375rem;   /* 22px */
  --text-3xl:  1.625rem;   /* 26px */
  --text-4xl:  2rem;       /* 32px */
  --text-5xl:  2.5rem;     /* 40px */

  /* Spacing — 4px base grid */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  --radius-sm: 3px;
  --radius:    6px;
  --radius-lg: 10px;

  /* Shadows — restrained, no glow */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow:    0 2px 8px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);

  /* Transitions */
  --t-fast: 140ms cubic-bezier(0.25, 0.1, 0.25, 1);
  --t-std:  200ms cubic-bezier(0.25, 0.1, 0.25, 1);
  --t-out:  260ms cubic-bezier(0.0, 0.0, 0.2, 1);
  --t-reveal: 500ms cubic-bezier(0.16, 1, 0.3, 1);
  --t-menu:   220ms cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 60px;
  --container:  1080px;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 600; }

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

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.section     { padding: var(--sp-20) 0; }
.section--alt { background: var(--bg-alt); }

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity   var(--t-reveal),
    transform var(--t-reveal);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}
.reveal--delay-1 { transition-delay: 55ms; }
.reveal--delay-2 { transition-delay: 100ms; }
.reveal--delay-3 { transition-delay: 140ms; }
.reveal--delay-4 { transition-delay: 175ms; }

/* ── NAVIGATION ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(247,246,244,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--t-out),
    background   var(--t-out);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(247,246,244,0.97);
}
.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  transition: opacity var(--t-fast);
}
.nav-logo:hover { opacity: 0.7; }
.logo-mark {
  width: 30px; height: 30px;
  background: var(--text-primary);
  color: var(--bg);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.logo-text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  transition:
    color      var(--t-fast),
    background var(--t-fast);
}
.nav-link:hover { color: var(--text-primary); background: rgba(0,0,0,0.04); }
.nav-link--active { color: var(--text-primary); }
.nav-link--cta {
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 6px var(--sp-4);
  margin-left: var(--sp-2);
  border-radius: var(--radius);
  transition:
    background   var(--t-fast),
    border-color var(--t-fast);
}
.nav-link--cta:hover {
  background: var(--text-primary);
  color: var(--bg);
  border-color: var(--text-primary);
}
.nav-link--cta::after { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
}
.nav-toggle:hover { background: rgba(0,0,0,0.05); }
.hamburger-line {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition:
    transform var(--t-menu),
    opacity   var(--t-menu);
  transform-origin: center;
}
.nav-toggle.is-open .hamburger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open .hamburger-line:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .hamburger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background   var(--t-fast),
    border-color var(--t-fast),
    color        var(--t-fast),
    box-shadow   var(--t-out),
    transform    var(--t-out);
}
.btn:active { transform: scale(0.975); transition-duration: 80ms; }

.btn--primary {
  background: var(--text-primary);
  color: var(--bg);
  border: 1px solid var(--text-primary);
}
.btn--primary:hover {
  background: #222;
  border-color: #222;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}
.btn--primary:active { transform: scale(0.975) translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: #999;
  background: rgba(0,0,0,0.03);
}
.btn--full { width: 100%; justify-content: center; }

.btn svg {
  transition: transform var(--t-std);
  flex-shrink: 0;
}
.btn:hover svg { transform: translateX(2px); }
.btn:active svg { transform: translateX(0); }

/* ── SECTION HEADERS ────────────────────────────────────────── */
.section-header { margin-bottom: var(--sp-10); }
.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.section-title {
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--sp-3);
}
.section-subtitle {
  font-size: var(--text-base);
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.65;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + var(--sp-16));
  padding-bottom: var(--sp-20);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--sp-16);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}
.availability-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse-dot 3s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.hero-heading {
  font-size: clamp(2rem, 4.5vw, var(--text-5xl));
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
}
.hero-heading em {
  font-style: normal;
  color: var(--text-muted);
  font-weight: 400;
}
.hero-subtext {
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: var(--sp-8);
}
.hero-actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-10);
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border);
}
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-number {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}
.trust-label { font-size: var(--text-xs); color: var(--text-muted); }
.trust-divider { width: 1px; height: 28px; background: var(--border); flex-shrink: 0; }

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.portrait-frame { position: relative; width: 100%; }
.portrait-placeholder {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  aspect-ratio: 5/6;
}
.portrait-placeholder svg { width: 100%; height: 100%; }
.portrait-badge {
  position: absolute;
  bottom: var(--sp-4); left: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px var(--sp-3);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  box-shadow: var(--shadow-sm);
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-sm);
}
.card-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-bottom: var(--sp-3);
}
.stack-pills { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.pill {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 9px;
  transition:
    border-color var(--t-fast),
    color        var(--t-fast);
}
.pill:hover {
  border-color: var(--accent-muted);
  color: var(--accent);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: var(--sp-8); left: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity var(--t-out);
}
.hero-scroll-hint.is-hidden { opacity: 0; }
.scroll-line {
  width: 32px; height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--text-faint);
  animation: scroll-shimmer 2.6s ease-in-out infinite;
}
@keyframes scroll-shimmer {
  0%   { left: -100%; }
  50%  { left: 100%; }
  100% { left: 100%; }
}

/* ── ABOUT ──────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--sp-16);
  align-items: start;
}
.about-heading {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: var(--sp-5);
  color: var(--text-primary);
}
.about-heading em {
  font-style: italic;
  color: var(--text-muted);
  font-weight: 400;
}
.about-story p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--sp-4);
  max-width: 540px;
}
.inline-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition:
    gap   var(--t-std),
    color var(--t-fast);
}
.inline-link:hover { gap: var(--sp-2); color: var(--accent-hover); }
.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding-top: var(--sp-1);
}
.skills-group { border-top: 1px solid var(--border); padding-top: var(--sp-4); }
.skills-group-title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-3);
}
.skills-list { display: flex; flex-direction: column; gap: 7px; }
.skills-list li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding-left: var(--sp-3);
  position: relative;
  transition: color var(--t-fast);
}
.skills-list li:hover { color: var(--text-primary); }
.skills-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--border);
  transition: background var(--t-fast);
}
.skills-list li:hover::before { background: var(--accent); }

/* ── SERVICES ───────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--surface);
  padding: var(--sp-8) var(--sp-6);
  transition:
    background var(--t-std);
}
.service-card:hover { background: #FAFAF9; }
.service-icon {
  width: 36px; height: 36px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
  transition:
    background   var(--t-std),
    border-color var(--t-std),
    color        var(--t-std);
}
.service-card:hover .service-icon {
  background: var(--accent-light);
  border-color: var(--accent-muted);
  color: var(--accent);
}
.service-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
  letter-spacing: -0.01em;
}
.service-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}
.service-outcomes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--border-light);
  padding-top: var(--sp-4);
}
.service-outcomes li {
  font-size: var(--text-xs);
  color: var(--text-muted);
  padding-left: var(--sp-4);
  position: relative;
  line-height: 1.5;
}
.service-outcomes li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--text-faint);
  font-size: 10px;
  top: 1px;
}

/* ── PROJECTS ───────────────────────────────────────────────── */
.projects-list { display: flex; flex-direction: column; }
.project-item {
  padding: var(--sp-10) 0;
  border-bottom: 1px solid var(--border);
}
.project-item:first-child { border-top: 1px solid var(--border); }
.project-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.project-type {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 3px;
}
.project-year { font-size: var(--text-xs); color: var(--text-faint); }
.project-body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-10);
  align-items: start;
}
.project-title {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
  line-height: 1.25;
}
.project-brief {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-3);
}
.project-outcome {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}
.project-tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.tag {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  transition:
    border-color var(--t-fast),
    color        var(--t-fast);
}
.tag:hover {
  border-color: var(--accent-muted);
  color: var(--accent);
}

/* Project Mockups */
.project-mockup {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  transition:
    transform  360ms cubic-bezier(0.0, 0.0, 0.2, 1),
    box-shadow 360ms cubic-bezier(0.0, 0.0, 0.2, 1);
  will-change: transform;
}
.project-mockup--blue    { background: #EFF6FF; }
.project-mockup--warm    { background: #FFF7ED; }
.project-mockup--neutral { background: var(--bg-alt); }
.mockup-bar {
  height: 26px;
  background: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex; align-items: center;
  gap: 5px; padding: 0 10px;
  flex-shrink: 0;
}
.mockup-bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }
.mockup-bar span:nth-child(1) { background: #FC5F57; }
.mockup-bar span:nth-child(2) { background: #FDBC2C; }
.mockup-bar span:nth-child(3) { background: #33C748; }
.mockup-content { flex: 1; display: flex; padding: 10px; gap: 8px; overflow: hidden; }
.mockup-sidebar {
  width: 34px;
  background: rgba(255,255,255,0.45);
  border-radius: 5px;
  padding: 8px 6px;
  display: flex; flex-direction: column; gap: 6px;
  flex-shrink: 0;
}
.mockup-nav-item { height: 5px; background: var(--border); border-radius: 3px; opacity: 0.6; }
.mockup-nav-item--active { background: var(--accent); opacity: 1; }
.mockup-main { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.mockup-stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.mockup-stat {
  height: 32px;
  background: rgba(255,255,255,0.65);
  border-radius: 5px;
  border: 1px solid rgba(0,0,0,0.05);
}
.mockup-table {
  flex: 1;
  background: rgba(255,255,255,0.45);
  border-radius: 5px;
  padding: 6px;
  display: flex; flex-direction: column; gap: 4px;
}
.mockup-row { height: 9px; background: var(--border-light); border-radius: 3px; }
.mockup-row:nth-child(odd) { opacity: 0.65; }
.mockup-content--dashboard { flex-direction: column; gap: 8px; }
.mockup-kpi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.mockup-kpi {
  height: 36px;
  background: rgba(255,255,255,0.65);
  border-radius: 5px;
  border: 1px solid rgba(0,0,0,0.05);
}
.mockup-chart-area { flex: 1; display: grid; grid-template-columns: 1fr 72px; gap: 8px; }
.mockup-bar-chart {
  background: rgba(255,255,255,0.45);
  border-radius: 5px;
  padding: 8px 6px 4px;
  display: flex; align-items: flex-end; gap: 4px;
}
.mockup-bar-item { flex: 1; background: var(--accent-muted); border-radius: 2px 2px 0 0; min-height: 8px; }
.mockup-bar-item:nth-child(4) { background: var(--accent); }
.mockup-donut {
  background: rgba(255,255,255,0.45);
  border-radius: 5px;
  position: relative; overflow: hidden;
}
.mockup-donut::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 9px solid var(--accent-muted);
  border-top-color: var(--accent);
}
.mockup-content--site { flex-direction: column; gap: 8px; }
.mockup-hero-block { height: 46px; background: rgba(255,255,255,0.55); border-radius: 5px; }
.mockup-text-block { padding: 4px 0; display: flex; flex-direction: column; gap: 5px; }
.mockup-line { height: 5px; background: var(--border); border-radius: 3px; width: 70%; }
.mockup-line--wide { width: 90%; }
.mockup-line--short { width: 45%; }
.mockup-card-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; flex: 1; }
.mockup-mini-card {
  background: rgba(255,255,255,0.55);
  border-radius: 5px;
  border: 1px solid rgba(0,0,0,0.05);
}

/* ── PROCESS ────────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.process-step {
  background: var(--surface);
  padding: var(--sp-6) var(--sp-6);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  transition: background var(--t-std);
}
.process-step:hover { background: #FAFAF9; }
.step-number {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-faint);
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
  transition: color var(--t-std);
}
.process-step:hover .step-number { color: var(--accent); }
.step-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--sp-3);
}
.step-duration {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.03em;
}

/* ── TECH STACK ─────────────────────────────────────────────── */
.stack-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-10);
}
.stack-cat-title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
}
.stack-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}
.stack-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition:
    border-color var(--t-fast),
    color        var(--t-fast);
}
.stack-item:hover {
  border-color: #C8C4BE;
  color: var(--text-primary);
}
.stack-item-icon {
  width: 18px; height: 18px;
  color: var(--text-faint);
  flex-shrink: 0;
  transition: color var(--t-fast);
}
.stack-item:hover .stack-item-icon { color: var(--text-muted); }
.stack-item-icon svg { width: 100%; height: 100%; }

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-6);
}
.testimonial-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--sp-5);
}
.testimonial-footer { display: flex; align-items: center; gap: var(--sp-3); }
.testimonial-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}
.testimonial-name {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}
.testimonial-role { display: block; font-size: var(--text-xs); color: var(--text-faint); }

/* ── CONTACT ────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}
.contact-intro .section-label { display: block; margin-bottom: var(--sp-3); }
.contact-heading {
  font-size: var(--text-4xl);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}
.contact-heading em {
  font-style: italic;
  color: var(--text-muted);
  font-weight: 400;
}
.contact-subtext {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
  max-width: 380px;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}
.contact-method {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: fit-content;
  transition:
    border-color var(--t-fast),
    color        var(--t-fast),
    transform    var(--t-out);
}
.contact-method:hover {
  border-color: #C8C4BE;
  color: var(--text-primary);
  transform: translateX(2px);
}
.contact-method--whatsapp:hover {
  border-color: #86EFAC;
  color: #16A34A;
}
.social-links { display: flex; gap: var(--sp-2); }
.social-link {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  transition:
    border-color var(--t-fast),
    color        var(--t-fast),
    background   var(--t-fast);
}
.social-link:hover {
  border-color: #C8C4BE;
  color: var(--text-primary);
  background: var(--surface);
}
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
}
.contact-form { display: flex; flex-direction: column; gap: var(--sp-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.form-input {
  width: 100%;
  padding: 0.6rem var(--sp-3);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  color: var(--text-primary);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition:
    border-color var(--t-fast),
    box-shadow   var(--t-fast),
    background   var(--t-fast);
}
.form-input::placeholder { color: var(--text-faint); }
.form-input:hover:not(:focus) { border-color: #C8C4BE; }
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.09);
  background: var(--surface);
}
.form-input.has-error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.09);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23AAAAAA' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
  cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: var(--text-xs); color: var(--text-faint); text-align: center; line-height: 1.5; }
.btn--loading { pointer-events: none; opacity: 0.65; }

/* Form success */
.form-success {
  text-align: center;
  padding: var(--sp-10) var(--sp-8);
  animation: fade-up var(--t-reveal) both;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.form-success-icon {
  width: 44px; height: 44px;
  background: #DCFCE7;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-4);
  color: #16A34A;
}
.form-success h3 { font-size: var(--text-lg); font-weight: 600; color: var(--text-primary); margin-bottom: var(--sp-2); }
.form-success p { font-size: var(--text-sm); color: var(--text-muted); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--text-primary);
  color: var(--bg);
  padding: var(--sp-12) 0 var(--sp-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--sp-16);
  margin-bottom: var(--sp-10);
  align-items: start;
}
.footer-logo .logo-mark { background: var(--bg); color: var(--text-primary); }
.footer-logo .logo-text { color: var(--bg); }
.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(247,246,244,0.45);
  line-height: 1.65;
  margin-top: var(--sp-4);
  max-width: 240px;
}
.footer-nav-title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(247,246,244,0.35);
  margin-bottom: var(--sp-4);
}
.footer-nav ul, .footer-contact ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-nav a, .footer-contact a {
  font-size: var(--text-sm);
  color: rgba(247,246,244,0.6);
  transition: color var(--t-fast);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--bg); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(247,246,244,0.08);
}
.footer-copy, .footer-built { font-size: var(--text-xs); color: rgba(247,246,244,0.3); }

/* ── MOBILE MENU ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0 var(--sp-6);
    gap: 2px;
    box-shadow: var(--shadow-md);
    z-index: 99;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
      max-height var(--t-menu),
      opacity    var(--t-menu),
      padding    var(--t-menu);
  }
  .nav-links.is-open {
    max-height: 360px;
    opacity: 1;
    pointer-events: auto;
    padding-top: var(--sp-3);
    padding-bottom: var(--sp-5);
  }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-container       { grid-template-columns: 1fr 280px; gap: var(--sp-10); }
  .about-grid           { grid-template-columns: 1fr 240px; gap: var(--sp-10); }
  .services-grid        { grid-template-columns: repeat(2, 1fr); }
  .project-body         { grid-template-columns: 1fr 260px; gap: var(--sp-8); }
  .stack-categories     { gap: var(--sp-8); }
  .contact-grid         { gap: var(--sp-10); }
}

@media (max-width: 768px) {
  :root { --nav-height: 56px; }
  .section { padding: var(--sp-16) 0; }

  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding-top: calc(var(--nav-height) + var(--sp-10)); padding-bottom: var(--sp-16); }
  .hero-container { grid-template-columns: 1fr; gap: var(--sp-8); }
  .hero-visual { flex-direction: row; align-items: flex-start; }
  .portrait-frame { max-width: 160px; }
  .hero-card { flex: 1; }
  .hero-heading { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .hero-trust { gap: var(--sp-4); }
  .hero-scroll-hint { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .about-sidebar { flex-direction: row; flex-wrap: wrap; gap: var(--sp-4); }
  .skills-group { flex: 1; min-width: 130px; }

  .services-grid { grid-template-columns: 1fr; }

  .project-body { grid-template-columns: 1fr; }
  .project-visual { order: -1; }
  .project-mockup { max-height: 180px; }

  .process-grid { grid-template-columns: 1fr; }

  .stack-categories { grid-template-columns: 1fr; gap: var(--sp-8); }
  .stack-items { grid-template-columns: repeat(2, 1fr); }

  .testimonials-grid { grid-template-columns: 1fr; gap: var(--sp-4); }

  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .contact-heading { font-size: var(--text-3xl); }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-bottom { flex-direction: column; gap: var(--sp-2); text-align: center; }

  .section-title { font-size: var(--text-2xl); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--sp-4); }
  .hero-visual { flex-direction: column; }
  .portrait-frame { max-width: 100%; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-wrap: wrap; gap: var(--sp-4); }
  .trust-divider { display: none; }
  .contact-form-wrap { padding: var(--sp-5); }
}